From 2eccbc868cb9c0155b76d503037bcb313d3d4952 Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 1 Nov 2022 12:56:21 +0000 Subject: [PATCH 1/5] Parameterise execution of runner --- action.yml | 4 ++++ package-lock.json | 2 +- package.json | 2 +- src/aws.js | 14 ++++++++++---- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index ea032bbd..eb8436cd 100644 --- a/action.yml +++ b/action.yml @@ -86,6 +86,10 @@ inputs: startup-timeout-seconds: description: >- Specifies the timeout in seconds to register the runner after the quiet period. + run-runner-as-service: + type: boolean + description: >- + Start the runner as a service rather than using ./run.sh as root. required: false outputs: label: diff --git a/package-lock.json b/package-lock.json index 8c8e5494..0910c991 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2733,4 +2733,4 @@ "dev": true } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index e560f3bd..382c351e 100644 --- a/package.json +++ b/package.json @@ -27,4 +27,4 @@ "dotenv": "^8.6.0", "eslint": "^7.32.0" } -} +} \ No newline at end of file diff --git a/src/aws.js b/src/aws.js index ac83394a..90f7089e 100644 --- a/src/aws.js +++ b/src/aws.js @@ -5,20 +5,20 @@ const config = require('./config'); // User data scripts are run as the root user function buildUserDataScript(githubRegistrationToken, label) { + let userData; if (config.input.runnerHomeDir) { // If runner home directory is specified, we expect the actions-runner software (and dependencies) // to be pre-installed in the AMI, so we simply cd into that directory and then start the runner - return [ + userData = [ '#!/bin/bash', `cd "${config.input.runnerHomeDir}"`, `echo "${config.input.preRunnerScript}" > pre-runner-script.sh`, 'source pre-runner-script.sh', 'export RUNNER_ALLOW_RUNASROOT=1', `./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`, - './run.sh', ]; } else { - return [ + userData = [ '#!/bin/bash', 'mkdir actions-runner && cd actions-runner', `echo "${config.input.preRunnerScript}" > pre-runner-script.sh`, @@ -28,9 +28,15 @@ function buildUserDataScript(githubRegistrationToken, label) { 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz', 'export RUNNER_ALLOW_RUNASROOT=1', `./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`, - './run.sh', ]; } + if (config.input.runAsService) { + userData.push('./svc.sh install'); + userData.push('./svc.sh start'); + } else { + userData.push('./run.sh'); + } + return userData; } function buildMarketOptions() { From 8dd46f6e9d0465e0f4a3e941ad54b2fae6af236e Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 1 Nov 2022 15:08:07 +0000 Subject: [PATCH 2/5] Add new parm to config --- src/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.js b/src/config.js index 53dc7f07..d8ea1df8 100644 --- a/src/config.js +++ b/src/config.js @@ -19,6 +19,7 @@ class Config { startupRetryIntervalSeconds: core.getInput('startup-retry-interval-seconds'), startupTimeoutMinutes: core.getInput('startup-timeout-minutes'), subnetId: core.getInput('subnet-id'), + runAsService: core.getInput('run-runner-as-service') }; const tags = JSON.parse(core.getInput('aws-resource-tags')); From 339e46727ff38f1b87e717827994f8a224909e56 Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 1 Nov 2022 21:39:52 +0000 Subject: [PATCH 3/5] Add ability to specify user --- action.yml | 3 +++ src/aws.js | 9 +++++++-- src/config.js | 3 ++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index eb8436cd..d251568b 100644 --- a/action.yml +++ b/action.yml @@ -91,6 +91,9 @@ inputs: description: >- Start the runner as a service rather than using ./run.sh as root. required: false + run-runner-as-user: + description: >- + Specify user under whom the runner service should run outputs: label: description: >- diff --git a/src/aws.js b/src/aws.js index 90f7089e..9118f7f7 100644 --- a/src/aws.js +++ b/src/aws.js @@ -11,6 +11,7 @@ function buildUserDataScript(githubRegistrationToken, label) { // to be pre-installed in the AMI, so we simply cd into that directory and then start the runner userData = [ '#!/bin/bash', + 'exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1', `cd "${config.input.runnerHomeDir}"`, `echo "${config.input.preRunnerScript}" > pre-runner-script.sh`, 'source pre-runner-script.sh', @@ -20,6 +21,7 @@ function buildUserDataScript(githubRegistrationToken, label) { } else { userData = [ '#!/bin/bash', + 'exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1', 'mkdir actions-runner && cd actions-runner', `echo "${config.input.preRunnerScript}" > pre-runner-script.sh`, 'source pre-runner-script.sh', @@ -30,11 +32,14 @@ function buildUserDataScript(githubRegistrationToken, label) { `./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`, ]; } + if (config.input.runAsUser) { + userData.push(`chown -R ${config.input.runAsUser} ${config.input.runnerHomeDir}`); + } if (config.input.runAsService) { - userData.push('./svc.sh install'); + userData.push(`./svc.sh install ${config.input.runAsUser || ''}`); userData.push('./svc.sh start'); } else { - userData.push('./run.sh'); + userData.push(`${config.input.runAsUser ? `su ${config.input.runAsUser} -c` : ''} ./run.sh`); } return userData; } diff --git a/src/config.js b/src/config.js index d8ea1df8..59f1d17b 100644 --- a/src/config.js +++ b/src/config.js @@ -19,7 +19,8 @@ class Config { startupRetryIntervalSeconds: core.getInput('startup-retry-interval-seconds'), startupTimeoutMinutes: core.getInput('startup-timeout-minutes'), subnetId: core.getInput('subnet-id'), - runAsService: core.getInput('run-runner-as-service') + runAsService: core.getInput('run-runner-as-service') === 'true', + runAsUser: core.getInput('run-runner-as-user') }; const tags = JSON.parse(core.getInput('aws-resource-tags')); From a36f21d870e1df9132ec749204fcde2146c6fa34 Mon Sep 17 00:00:00 2001 From: Esteve Fernandez Date: Wed, 3 May 2023 15:04:24 +0200 Subject: [PATCH 4/5] Run npm run package. Fix ownership of the directory where actions are installed. --- dist/index.js | 165153 +++++++---------------------------------------- src/aws.js | 4 +- 2 files changed, 22437 insertions(+), 142720 deletions(-) diff --git a/dist/index.js b/dist/index.js index a60ce0aa..e2fefa2e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,8 +1,9 @@ +module.exports = /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 7351: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; @@ -27,8 +28,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.issue = exports.issueCommand = void 0; -const os = __importStar(__nccwpck_require__(2037)); -const utils_1 = __nccwpck_require__(5278); +const os = __importStar(__webpack_require__(2087)); +const utils_1 = __webpack_require__(5278); /** * Commands * @@ -101,7 +102,7 @@ function escapeProperty(s) { /***/ }), /***/ 2186: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; @@ -135,12 +136,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; -const command_1 = __nccwpck_require__(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); +const command_1 = __webpack_require__(7351); +const file_command_1 = __webpack_require__(717); +const utils_1 = __webpack_require__(5278); +const os = __importStar(__webpack_require__(2087)); +const path = __importStar(__webpack_require__(5622)); +const oidc_utils_1 = __webpack_require__(8041); /** * The code to exit an action */ @@ -425,17 +426,17 @@ exports.getIDToken = getIDToken; /** * Summary exports */ -var summary_1 = __nccwpck_require__(1327); +var summary_1 = __webpack_require__(1327); Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } })); /** * @deprecated use core.summary */ -var summary_2 = __nccwpck_require__(1327); +var summary_2 = __webpack_require__(1327); Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } })); /** * Path exports */ -var path_utils_1 = __nccwpck_require__(2981); +var path_utils_1 = __webpack_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; } })); @@ -444,7 +445,7 @@ Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: funct /***/ }), /***/ 717: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; @@ -472,10 +473,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.prepareKeyValueMessage = exports.issueFileCommand = void 0; // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ -const fs = __importStar(__nccwpck_require__(7147)); -const os = __importStar(__nccwpck_require__(2037)); -const uuid_1 = __nccwpck_require__(5840); -const utils_1 = __nccwpck_require__(5278); +const fs = __importStar(__webpack_require__(5747)); +const os = __importStar(__webpack_require__(2087)); +const uuid_1 = __webpack_require__(9521); +const utils_1 = __webpack_require__(5278); function issueFileCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) { @@ -509,7 +510,7 @@ exports.prepareKeyValueMessage = prepareKeyValueMessage; /***/ }), /***/ 8041: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; @@ -524,9 +525,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.OidcClient = void 0; -const http_client_1 = __nccwpck_require__(6255); -const auth_1 = __nccwpck_require__(5526); -const core_1 = __nccwpck_require__(2186); +const http_client_1 = __webpack_require__(6255); +const auth_1 = __webpack_require__(5526); +const core_1 = __webpack_require__(2186); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { const requestOptions = { @@ -558,7 +559,7 @@ class OidcClient { .catch(error => { throw new Error(`Failed to get ID Token. \n Error Code : ${error.statusCode}\n - Error Message: ${error.message}`); + Error Message: ${error.result.message}`); }); const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; if (!id_token) { @@ -593,7 +594,7 @@ exports.OidcClient = OidcClient; /***/ }), /***/ 2981: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; @@ -618,7 +619,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0; -const path = __importStar(__nccwpck_require__(1017)); +const path = __importStar(__webpack_require__(5622)); /** * toPosixPath converts the given path to the posix form. On Windows, \\ will be * replaced with /. @@ -658,7 +659,7 @@ exports.toPlatformPath = toPlatformPath; /***/ }), /***/ 1327: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; @@ -673,8 +674,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0; -const os_1 = __nccwpck_require__(2037); -const fs_1 = __nccwpck_require__(7147); +const os_1 = __webpack_require__(2087); +const fs_1 = __webpack_require__(5747); 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'; @@ -995,14 +996,14 @@ exports.toCommandProperties = toCommandProperties; /***/ }), /***/ 4087: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.Context = void 0; -const fs_1 = __nccwpck_require__(7147); -const os_1 = __nccwpck_require__(2037); +const fs_1 = __webpack_require__(5747); +const os_1 = __webpack_require__(2087); class Context { /** * Hydrate the context from the environment @@ -1011,8 +1012,8 @@ class Context { var _a, _b, _c; this.payload = {}; if (process.env.GITHUB_EVENT_PATH) { - if ((0, fs_1.existsSync)(process.env.GITHUB_EVENT_PATH)) { - this.payload = JSON.parse((0, fs_1.readFileSync)(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' })); + if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) { + this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' })); } else { const path = process.env.GITHUB_EVENT_PATH; @@ -1030,8 +1031,7 @@ class Context { this.runId = parseInt(process.env.GITHUB_RUN_ID, 10); this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`; this.serverUrl = (_b = process.env.GITHUB_SERVER_URL) !== null && _b !== void 0 ? _b : `https://github.com`; - this.graphqlUrl = - (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`; + this.graphqlUrl = (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`; } get issue() { const payload = this.payload; @@ -1057,17 +1057,13 @@ exports.Context = Context; /***/ }), /***/ 5438: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __webpack_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); + 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]; @@ -1080,14 +1076,14 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( 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); + 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; }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getOctokit = exports.context = void 0; -const Context = __importStar(__nccwpck_require__(4087)); -const utils_1 = __nccwpck_require__(3030); +const Context = __importStar(__webpack_require__(4087)); +const utils_1 = __webpack_require__(3030); exports.context = new Context.Context(); /** * Returns a hydrated octokit ready to use for GitHub Actions @@ -1097,7 +1093,7 @@ exports.context = new Context.Context(); */ function getOctokit(token, options, ...additionalPlugins) { const GitHubWithPlugins = utils_1.GitHub.plugin(...additionalPlugins); - return new GitHubWithPlugins((0, utils_1.getOctokitOptions)(token, options)); + return new GitHubWithPlugins(utils_1.getOctokitOptions(token, options)); } exports.getOctokit = getOctokit; //# sourceMappingURL=github.js.map @@ -1105,17 +1101,13 @@ exports.getOctokit = getOctokit; /***/ }), /***/ 7914: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __webpack_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); + 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]; @@ -1128,23 +1120,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( 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); + 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.getApiBaseUrl = exports.getProxyFetch = exports.getProxyAgentDispatcher = exports.getProxyAgent = exports.getAuthString = void 0; -const httpClient = __importStar(__nccwpck_require__(6255)); -const undici_1 = __nccwpck_require__(1773); +exports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0; +const httpClient = __importStar(__webpack_require__(6255)); function getAuthString(token, options) { if (!token && !options.auth) { throw new Error('Parameter token or opts.auth is required'); @@ -1160,19 +1142,6 @@ function getProxyAgent(destinationUrl) { return hc.getAgent(destinationUrl); } exports.getProxyAgent = getProxyAgent; -function getProxyAgentDispatcher(destinationUrl) { - const hc = new httpClient.HttpClient(); - return hc.getAgentDispatcher(destinationUrl); -} -exports.getProxyAgentDispatcher = getProxyAgentDispatcher; -function getProxyFetch(destinationUrl) { - const httpDispatcher = getProxyAgentDispatcher(destinationUrl); - const proxyFetch = (url, opts) => __awaiter(this, void 0, void 0, function* () { - return (0, undici_1.fetch)(url, Object.assign(Object.assign({}, opts), { dispatcher: httpDispatcher })); - }); - return proxyFetch; -} -exports.getProxyFetch = getProxyFetch; function getApiBaseUrl() { return process.env['GITHUB_API_URL'] || 'https://api.github.com'; } @@ -1182,17 +1151,13 @@ exports.getApiBaseUrl = getApiBaseUrl; /***/ }), /***/ 3030: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __webpack_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); + 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]; @@ -1205,25 +1170,24 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( 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); + 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; }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getOctokitOptions = exports.GitHub = exports.defaults = exports.context = void 0; -const Context = __importStar(__nccwpck_require__(4087)); -const Utils = __importStar(__nccwpck_require__(7914)); +const Context = __importStar(__webpack_require__(4087)); +const Utils = __importStar(__webpack_require__(7914)); // octokit + plugins -const core_1 = __nccwpck_require__(6762); -const plugin_rest_endpoint_methods_1 = __nccwpck_require__(3044); -const plugin_paginate_rest_1 = __nccwpck_require__(4193); +const core_1 = __webpack_require__(6762); +const plugin_rest_endpoint_methods_1 = __webpack_require__(3044); +const plugin_paginate_rest_1 = __webpack_require__(4193); exports.context = new Context.Context(); const baseUrl = Utils.getApiBaseUrl(); exports.defaults = { baseUrl, request: { - agent: Utils.getProxyAgent(baseUrl), - fetch: Utils.getProxyFetch(baseUrl) + agent: Utils.getProxyAgent(baseUrl) } }; exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(exports.defaults); @@ -1336,18 +1300,14 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand /***/ }), /***/ 6255: -/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { +/***/ (function(__unused_webpack_module, exports, __webpack_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); + 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]; @@ -1360,7 +1320,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( 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); + 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; }; @@ -1375,11 +1335,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0; -const http = __importStar(__nccwpck_require__(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); +const http = __importStar(__webpack_require__(8605)); +const https = __importStar(__webpack_require__(7211)); +const pm = __importStar(__webpack_require__(9835)); +const tunnel = __importStar(__webpack_require__(4294)); var HttpCodes; (function (HttpCodes) { HttpCodes[HttpCodes["OK"] = 200] = "OK"; @@ -1409,16 +1368,16 @@ var HttpCodes; HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; -})(HttpCodes || (exports.HttpCodes = HttpCodes = {})); +})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); var Headers; (function (Headers) { Headers["Accept"] = "accept"; Headers["ContentType"] = "content-type"; -})(Headers || (exports.Headers = Headers = {})); +})(Headers = exports.Headers || (exports.Headers = {})); var MediaTypes; (function (MediaTypes) { MediaTypes["ApplicationJson"] = "application/json"; -})(MediaTypes || (exports.MediaTypes = MediaTypes = {})); +})(MediaTypes = exports.MediaTypes || (exports.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 @@ -1469,19 +1428,6 @@ class HttpClientResponse { })); }); } - 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) { @@ -1787,15 +1733,6 @@ class HttpClient { 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; @@ -1843,7 +1780,7 @@ class HttpClient { if (this._keepAlive && useProxy) { agent = this._proxyAgent; } - if (!useProxy) { + if (this._keepAlive && !useProxy) { agent = this._agent; } // if agent is already assigned use that agent. @@ -1875,12 +1812,16 @@ class HttpClient { agent = tunnelAgent(agentOptions); this._proxyAgent = agent; } - // if tunneling agent isn't assigned create a new agent - if (!agent) { + // if reusing agent across request and tunneling agent isn't assigned create a new agent + if (this._keepAlive && !agent) { const options = { keepAlive: this._keepAlive, maxSockets }; agent = usingSsl ? new https.Agent(options) : new http.Agent(options); this._agent = agent; } + // if not using private agent and tunnel agent isn't setup then use global agent + if (!agent) { + agent = usingSsl ? https.globalAgent : http.globalAgent; + } 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 @@ -1891,30 +1832,6 @@ class HttpClient { } 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: `${proxyUrl.username}:${proxyUrl.password}` - }))); - 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); @@ -2015,13 +1932,7 @@ function getProxyUrl(reqUrl) { } })(); if (proxyVar) { - try { - return new URL(proxyVar); - } - catch (_a) { - if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://')) - return new URL(`http://${proxyVar}`); - } + return new URL(proxyVar); } else { return undefined; @@ -2032,10 +1943,6 @@ 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; @@ -2061,142232 +1968,22086 @@ function checkBypass(reqUrl) { .split(',') .map(x => x.trim().toUpperCase()) .filter(x => x)) { - if (upperNoProxyItem === '*' || - upperReqHosts.some(x => x === upperNoProxyItem || - x.endsWith(`.${upperNoProxyItem}`) || - (upperNoProxyItem.startsWith('.') && - x.endsWith(`${upperNoProxyItem}`)))) { + if (upperReqHosts.some(x => x === 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]')); -} //# sourceMappingURL=proxy.js.map /***/ }), -/***/ 6874: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 334: +/***/ ((__unused_webpack_module, exports) => { "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 REGEX_IS_INSTALLATION_LEGACY = /^v1\./; +const REGEX_IS_INSTALLATION = /^ghs_/; +const REGEX_IS_USER_TO_SERVER = /^ghu_/; +async function auth(token) { + const isApp = token.split(/\./).length === 3; + const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || REGEX_IS_INSTALLATION.test(token); + const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token); + const tokenType = isApp ? "app" : isInstallation ? "installation" : isUserToServer ? "user-to-server" : "oauth"; + return { + type: "token", + token: token, + tokenType + }; } -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; +/** + * Prefix token for usage in the Authorization header + * + * @param token OAuth token or JSON Web Token + */ +function withAuthorizationPrefix(token) { + if (token.split(/\./).length === 3) { + return `bearer ${token}`; + } + + return `token ${token}`; +} -/***/ }), +async function hook(token, request, route, parameters) { + const endpoint = request.endpoint.merge(route, parameters); + endpoint.headers.authorization = withAuthorizationPrefix(token); + return request(endpoint); +} -/***/ 6305: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +const createTokenAuth = function createTokenAuth(token) { + if (!token) { + throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); + } -"use strict"; + if (typeof token !== "string") { + throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); + } -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.defaultEndpointResolver = void 0; -const util_endpoints_1 = __nccwpck_require__(3350); -const util_endpoints_2 = __nccwpck_require__(5473); -const ruleset_1 = __nccwpck_require__(9599); -const defaultEndpointResolver = (endpointParams, context = {}) => { - return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { - endpointParams: endpointParams, - logger: context.logger, - }); + token = token.replace(/^(token|bearer) +/i, ""); + return Object.assign(auth.bind(null, token), { + hook: hook.bind(null, token) + }); }; -exports.defaultEndpointResolver = defaultEndpointResolver; -util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; + +exports.createTokenAuth = createTokenAuth; +//# sourceMappingURL=index.js.map /***/ }), -/***/ 9599: -/***/ ((__unused_webpack_module, exports) => { +/***/ 6762: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { "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; +var universalUserAgent = __webpack_require__(5030); +var beforeAfterHook = __webpack_require__(3682); +var request = __webpack_require__(6234); +var graphql = __webpack_require__(8467); +var authToken = __webpack_require__(334); -/***/ }), +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; -/***/ 3802: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } -"use strict"; + return target; +} -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 }); +function _objectWithoutProperties(source, excluded) { + if (source == null) return {}; + + var target = _objectWithoutPropertiesLoose(source, excluded); + + var key, i; + + if (Object.getOwnPropertySymbols) { + var sourceSymbolKeys = Object.getOwnPropertySymbols(source); + + for (i = 0; i < sourceSymbolKeys.length; i++) { + key = sourceSymbolKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; + target[key] = source[key]; + } } - 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, - AcceptReservedInstancesExchangeQuoteCommand: () => AcceptReservedInstancesExchangeQuoteCommand, - AcceptTransitGatewayMulticastDomainAssociationsCommand: () => AcceptTransitGatewayMulticastDomainAssociationsCommand, - AcceptTransitGatewayPeeringAttachmentCommand: () => AcceptTransitGatewayPeeringAttachmentCommand, - AcceptTransitGatewayVpcAttachmentCommand: () => AcceptTransitGatewayVpcAttachmentCommand, - AcceptVpcEndpointConnectionsCommand: () => AcceptVpcEndpointConnectionsCommand, - AcceptVpcPeeringConnectionCommand: () => AcceptVpcPeeringConnectionCommand, - AccountAttributeName: () => AccountAttributeName, - ActivityStatus: () => ActivityStatus, - AddressAttributeName: () => AddressAttributeName, - AddressFamily: () => AddressFamily, - AddressTransferStatus: () => AddressTransferStatus, - AdvertiseByoipCidrCommand: () => AdvertiseByoipCidrCommand, - Affinity: () => Affinity, - AllocateAddressCommand: () => AllocateAddressCommand, - AllocateHostsCommand: () => AllocateHostsCommand, - AllocateIpamPoolCidrCommand: () => AllocateIpamPoolCidrCommand, - AllocationState: () => AllocationState, - AllocationStrategy: () => AllocationStrategy, - AllocationType: () => AllocationType, - AllowsMultipleInstanceTypes: () => AllowsMultipleInstanceTypes, - AmdSevSnpSpecification: () => AmdSevSnpSpecification, - AnalysisStatus: () => AnalysisStatus, - ApplianceModeSupportValue: () => ApplianceModeSupportValue, - ApplySecurityGroupsToClientVpnTargetNetworkCommand: () => ApplySecurityGroupsToClientVpnTargetNetworkCommand, - ArchitectureType: () => ArchitectureType, - ArchitectureValues: () => ArchitectureValues, - AsnAssociationState: () => AsnAssociationState, - AsnState: () => AsnState, - AssignIpv6AddressesCommand: () => AssignIpv6AddressesCommand, - AssignPrivateIpAddressesCommand: () => AssignPrivateIpAddressesCommand, - AssignPrivateNatGatewayAddressCommand: () => AssignPrivateNatGatewayAddressCommand, - AssociateAddressCommand: () => AssociateAddressCommand, - AssociateClientVpnTargetNetworkCommand: () => AssociateClientVpnTargetNetworkCommand, - AssociateDhcpOptionsCommand: () => AssociateDhcpOptionsCommand, - AssociateEnclaveCertificateIamRoleCommand: () => AssociateEnclaveCertificateIamRoleCommand, - AssociateIamInstanceProfileCommand: () => AssociateIamInstanceProfileCommand, - AssociateInstanceEventWindowCommand: () => AssociateInstanceEventWindowCommand, - AssociateIpamByoasnCommand: () => AssociateIpamByoasnCommand, - AssociateIpamResourceDiscoveryCommand: () => AssociateIpamResourceDiscoveryCommand, - AssociateNatGatewayAddressCommand: () => AssociateNatGatewayAddressCommand, - AssociateRouteTableCommand: () => AssociateRouteTableCommand, - AssociateSubnetCidrBlockCommand: () => AssociateSubnetCidrBlockCommand, - AssociateTransitGatewayMulticastDomainCommand: () => AssociateTransitGatewayMulticastDomainCommand, - AssociateTransitGatewayPolicyTableCommand: () => AssociateTransitGatewayPolicyTableCommand, - AssociateTransitGatewayRouteTableCommand: () => AssociateTransitGatewayRouteTableCommand, - AssociateTrunkInterfaceCommand: () => AssociateTrunkInterfaceCommand, - AssociateVpcCidrBlockCommand: () => AssociateVpcCidrBlockCommand, - AssociatedNetworkType: () => AssociatedNetworkType, - AssociationStatusCode: () => AssociationStatusCode, - AttachClassicLinkVpcCommand: () => AttachClassicLinkVpcCommand, - AttachInternetGatewayCommand: () => AttachInternetGatewayCommand, - AttachNetworkInterfaceCommand: () => AttachNetworkInterfaceCommand, - AttachVerifiedAccessTrustProviderCommand: () => AttachVerifiedAccessTrustProviderCommand, - AttachVerifiedAccessTrustProviderResultFilterSensitiveLog: () => AttachVerifiedAccessTrustProviderResultFilterSensitiveLog, - AttachVolumeCommand: () => AttachVolumeCommand, - AttachVpnGatewayCommand: () => AttachVpnGatewayCommand, - AttachmentStatus: () => AttachmentStatus, - AuthorizeClientVpnIngressCommand: () => AuthorizeClientVpnIngressCommand, - AuthorizeSecurityGroupEgressCommand: () => AuthorizeSecurityGroupEgressCommand, - AuthorizeSecurityGroupIngressCommand: () => AuthorizeSecurityGroupIngressCommand, - AutoAcceptSharedAssociationsValue: () => AutoAcceptSharedAssociationsValue, - AutoAcceptSharedAttachmentsValue: () => AutoAcceptSharedAttachmentsValue, - AutoPlacement: () => AutoPlacement, - AvailabilityZoneOptInStatus: () => AvailabilityZoneOptInStatus, - AvailabilityZoneState: () => AvailabilityZoneState, - BareMetal: () => BareMetal, - BatchState: () => BatchState, - BgpStatus: () => BgpStatus, - BootModeType: () => BootModeType, - BootModeValues: () => BootModeValues, - BundleInstanceCommand: () => BundleInstanceCommand, - BundleInstanceRequestFilterSensitiveLog: () => BundleInstanceRequestFilterSensitiveLog, - BundleInstanceResultFilterSensitiveLog: () => BundleInstanceResultFilterSensitiveLog, - BundleTaskFilterSensitiveLog: () => BundleTaskFilterSensitiveLog, - BundleTaskState: () => BundleTaskState, - BurstablePerformance: () => BurstablePerformance, - ByoipCidrState: () => ByoipCidrState, - CancelBatchErrorCode: () => CancelBatchErrorCode, - CancelBundleTaskCommand: () => CancelBundleTaskCommand, - CancelBundleTaskResultFilterSensitiveLog: () => CancelBundleTaskResultFilterSensitiveLog, - CancelCapacityReservationCommand: () => CancelCapacityReservationCommand, - CancelCapacityReservationFleetsCommand: () => CancelCapacityReservationFleetsCommand, - CancelConversionTaskCommand: () => CancelConversionTaskCommand, - CancelExportTaskCommand: () => CancelExportTaskCommand, - CancelImageLaunchPermissionCommand: () => CancelImageLaunchPermissionCommand, - CancelImportTaskCommand: () => CancelImportTaskCommand, - CancelReservedInstancesListingCommand: () => CancelReservedInstancesListingCommand, - CancelSpotFleetRequestsCommand: () => CancelSpotFleetRequestsCommand, - CancelSpotInstanceRequestState: () => CancelSpotInstanceRequestState, - CancelSpotInstanceRequestsCommand: () => CancelSpotInstanceRequestsCommand, - CapacityReservationFleetState: () => CapacityReservationFleetState, - CapacityReservationInstancePlatform: () => CapacityReservationInstancePlatform, - CapacityReservationPreference: () => CapacityReservationPreference, - CapacityReservationState: () => CapacityReservationState, - CapacityReservationTenancy: () => CapacityReservationTenancy, - CapacityReservationType: () => CapacityReservationType, - CarrierGatewayState: () => CarrierGatewayState, - ClientCertificateRevocationListStatusCode: () => ClientCertificateRevocationListStatusCode, - ClientVpnAuthenticationType: () => ClientVpnAuthenticationType, - ClientVpnAuthorizationRuleStatusCode: () => ClientVpnAuthorizationRuleStatusCode, - ClientVpnConnectionStatusCode: () => ClientVpnConnectionStatusCode, - ClientVpnEndpointAttributeStatusCode: () => ClientVpnEndpointAttributeStatusCode, - ClientVpnEndpointStatusCode: () => ClientVpnEndpointStatusCode, - ClientVpnRouteStatusCode: () => ClientVpnRouteStatusCode, - ConfirmProductInstanceCommand: () => ConfirmProductInstanceCommand, - ConnectionNotificationState: () => ConnectionNotificationState, - ConnectionNotificationType: () => ConnectionNotificationType, - ConnectivityType: () => ConnectivityType, - ContainerFormat: () => ContainerFormat, - ConversionTaskFilterSensitiveLog: () => ConversionTaskFilterSensitiveLog, - ConversionTaskState: () => ConversionTaskState, - CopyFpgaImageCommand: () => CopyFpgaImageCommand, - CopyImageCommand: () => CopyImageCommand, - CopySnapshotCommand: () => CopySnapshotCommand, - CopySnapshotRequestFilterSensitiveLog: () => CopySnapshotRequestFilterSensitiveLog, - CopyTagsFromSource: () => CopyTagsFromSource, - CpuManufacturer: () => CpuManufacturer, - CreateCapacityReservationCommand: () => CreateCapacityReservationCommand, - CreateCapacityReservationFleetCommand: () => CreateCapacityReservationFleetCommand, - CreateCarrierGatewayCommand: () => CreateCarrierGatewayCommand, - CreateClientVpnEndpointCommand: () => CreateClientVpnEndpointCommand, - CreateClientVpnRouteCommand: () => CreateClientVpnRouteCommand, - CreateCoipCidrCommand: () => CreateCoipCidrCommand, - CreateCoipPoolCommand: () => CreateCoipPoolCommand, - CreateCustomerGatewayCommand: () => CreateCustomerGatewayCommand, - CreateDefaultSubnetCommand: () => CreateDefaultSubnetCommand, - CreateDefaultVpcCommand: () => CreateDefaultVpcCommand, - CreateDhcpOptionsCommand: () => CreateDhcpOptionsCommand, - CreateEgressOnlyInternetGatewayCommand: () => CreateEgressOnlyInternetGatewayCommand, - CreateFleetCommand: () => CreateFleetCommand, - CreateFlowLogsCommand: () => CreateFlowLogsCommand, - CreateFpgaImageCommand: () => CreateFpgaImageCommand, - CreateImageCommand: () => CreateImageCommand, - CreateInstanceConnectEndpointCommand: () => CreateInstanceConnectEndpointCommand, - CreateInstanceEventWindowCommand: () => CreateInstanceEventWindowCommand, - CreateInstanceExportTaskCommand: () => CreateInstanceExportTaskCommand, - CreateInternetGatewayCommand: () => CreateInternetGatewayCommand, - CreateIpamCommand: () => CreateIpamCommand, - CreateIpamPoolCommand: () => CreateIpamPoolCommand, - CreateIpamResourceDiscoveryCommand: () => CreateIpamResourceDiscoveryCommand, - CreateIpamScopeCommand: () => CreateIpamScopeCommand, - CreateKeyPairCommand: () => CreateKeyPairCommand, - CreateLaunchTemplateCommand: () => CreateLaunchTemplateCommand, - CreateLaunchTemplateRequestFilterSensitiveLog: () => CreateLaunchTemplateRequestFilterSensitiveLog, - CreateLaunchTemplateVersionCommand: () => CreateLaunchTemplateVersionCommand, - CreateLaunchTemplateVersionRequestFilterSensitiveLog: () => CreateLaunchTemplateVersionRequestFilterSensitiveLog, - CreateLaunchTemplateVersionResultFilterSensitiveLog: () => CreateLaunchTemplateVersionResultFilterSensitiveLog, - CreateLocalGatewayRouteCommand: () => CreateLocalGatewayRouteCommand, - CreateLocalGatewayRouteTableCommand: () => CreateLocalGatewayRouteTableCommand, - CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand: () => CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand, - CreateLocalGatewayRouteTableVpcAssociationCommand: () => CreateLocalGatewayRouteTableVpcAssociationCommand, - CreateManagedPrefixListCommand: () => CreateManagedPrefixListCommand, - CreateNatGatewayCommand: () => CreateNatGatewayCommand, - CreateNetworkAclCommand: () => CreateNetworkAclCommand, - CreateNetworkAclEntryCommand: () => CreateNetworkAclEntryCommand, - CreateNetworkInsightsAccessScopeCommand: () => CreateNetworkInsightsAccessScopeCommand, - CreateNetworkInsightsPathCommand: () => CreateNetworkInsightsPathCommand, - CreateNetworkInterfaceCommand: () => CreateNetworkInterfaceCommand, - CreateNetworkInterfacePermissionCommand: () => CreateNetworkInterfacePermissionCommand, - CreatePlacementGroupCommand: () => CreatePlacementGroupCommand, - CreatePublicIpv4PoolCommand: () => CreatePublicIpv4PoolCommand, - CreateReplaceRootVolumeTaskCommand: () => CreateReplaceRootVolumeTaskCommand, - CreateReservedInstancesListingCommand: () => CreateReservedInstancesListingCommand, - CreateRestoreImageTaskCommand: () => CreateRestoreImageTaskCommand, - CreateRouteCommand: () => CreateRouteCommand, - CreateRouteTableCommand: () => CreateRouteTableCommand, - CreateSecurityGroupCommand: () => CreateSecurityGroupCommand, - CreateSnapshotCommand: () => CreateSnapshotCommand, - CreateSnapshotsCommand: () => CreateSnapshotsCommand, - CreateSpotDatafeedSubscriptionCommand: () => CreateSpotDatafeedSubscriptionCommand, - CreateStoreImageTaskCommand: () => CreateStoreImageTaskCommand, - CreateSubnetCidrReservationCommand: () => CreateSubnetCidrReservationCommand, - CreateSubnetCommand: () => CreateSubnetCommand, - CreateTagsCommand: () => CreateTagsCommand, - CreateTrafficMirrorFilterCommand: () => CreateTrafficMirrorFilterCommand, - CreateTrafficMirrorFilterRuleCommand: () => CreateTrafficMirrorFilterRuleCommand, - CreateTrafficMirrorSessionCommand: () => CreateTrafficMirrorSessionCommand, - CreateTrafficMirrorTargetCommand: () => CreateTrafficMirrorTargetCommand, - CreateTransitGatewayCommand: () => CreateTransitGatewayCommand, - CreateTransitGatewayConnectCommand: () => CreateTransitGatewayConnectCommand, - CreateTransitGatewayConnectPeerCommand: () => CreateTransitGatewayConnectPeerCommand, - CreateTransitGatewayMulticastDomainCommand: () => CreateTransitGatewayMulticastDomainCommand, - CreateTransitGatewayPeeringAttachmentCommand: () => CreateTransitGatewayPeeringAttachmentCommand, - CreateTransitGatewayPolicyTableCommand: () => CreateTransitGatewayPolicyTableCommand, - CreateTransitGatewayPrefixListReferenceCommand: () => CreateTransitGatewayPrefixListReferenceCommand, - CreateTransitGatewayRouteCommand: () => CreateTransitGatewayRouteCommand, - CreateTransitGatewayRouteTableAnnouncementCommand: () => CreateTransitGatewayRouteTableAnnouncementCommand, - CreateTransitGatewayRouteTableCommand: () => CreateTransitGatewayRouteTableCommand, - CreateTransitGatewayVpcAttachmentCommand: () => CreateTransitGatewayVpcAttachmentCommand, - CreateVerifiedAccessEndpointCommand: () => CreateVerifiedAccessEndpointCommand, - CreateVerifiedAccessGroupCommand: () => CreateVerifiedAccessGroupCommand, - CreateVerifiedAccessInstanceCommand: () => CreateVerifiedAccessInstanceCommand, - CreateVerifiedAccessTrustProviderCommand: () => CreateVerifiedAccessTrustProviderCommand, - CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog, - CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog, - CreateVerifiedAccessTrustProviderResultFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderResultFilterSensitiveLog, - CreateVolumeCommand: () => CreateVolumeCommand, - CreateVpcCommand: () => CreateVpcCommand, - CreateVpcEndpointCommand: () => CreateVpcEndpointCommand, - CreateVpcEndpointConnectionNotificationCommand: () => CreateVpcEndpointConnectionNotificationCommand, - CreateVpcEndpointServiceConfigurationCommand: () => CreateVpcEndpointServiceConfigurationCommand, - CreateVpcPeeringConnectionCommand: () => CreateVpcPeeringConnectionCommand, - CreateVpnConnectionCommand: () => CreateVpnConnectionCommand, - CreateVpnConnectionRequestFilterSensitiveLog: () => CreateVpnConnectionRequestFilterSensitiveLog, - CreateVpnConnectionResultFilterSensitiveLog: () => CreateVpnConnectionResultFilterSensitiveLog, - CreateVpnConnectionRouteCommand: () => CreateVpnConnectionRouteCommand, - CreateVpnGatewayCommand: () => CreateVpnGatewayCommand, - CurrencyCodeValues: () => CurrencyCodeValues, - DatafeedSubscriptionState: () => DatafeedSubscriptionState, - DefaultInstanceMetadataEndpointState: () => DefaultInstanceMetadataEndpointState, - DefaultInstanceMetadataTagsState: () => DefaultInstanceMetadataTagsState, - DefaultRouteTableAssociationValue: () => DefaultRouteTableAssociationValue, - DefaultRouteTablePropagationValue: () => DefaultRouteTablePropagationValue, - DefaultTargetCapacityType: () => DefaultTargetCapacityType, - DeleteCarrierGatewayCommand: () => DeleteCarrierGatewayCommand, - DeleteClientVpnEndpointCommand: () => DeleteClientVpnEndpointCommand, - DeleteClientVpnRouteCommand: () => DeleteClientVpnRouteCommand, - DeleteCoipCidrCommand: () => DeleteCoipCidrCommand, - DeleteCoipPoolCommand: () => DeleteCoipPoolCommand, - DeleteCustomerGatewayCommand: () => DeleteCustomerGatewayCommand, - DeleteDhcpOptionsCommand: () => DeleteDhcpOptionsCommand, - DeleteEgressOnlyInternetGatewayCommand: () => DeleteEgressOnlyInternetGatewayCommand, - DeleteFleetErrorCode: () => DeleteFleetErrorCode, - DeleteFleetsCommand: () => DeleteFleetsCommand, - DeleteFlowLogsCommand: () => DeleteFlowLogsCommand, - DeleteFpgaImageCommand: () => DeleteFpgaImageCommand, - DeleteInstanceConnectEndpointCommand: () => DeleteInstanceConnectEndpointCommand, - DeleteInstanceEventWindowCommand: () => DeleteInstanceEventWindowCommand, - DeleteInternetGatewayCommand: () => DeleteInternetGatewayCommand, - DeleteIpamCommand: () => DeleteIpamCommand, - DeleteIpamPoolCommand: () => DeleteIpamPoolCommand, - DeleteIpamResourceDiscoveryCommand: () => DeleteIpamResourceDiscoveryCommand, - DeleteIpamScopeCommand: () => DeleteIpamScopeCommand, - DeleteKeyPairCommand: () => DeleteKeyPairCommand, - DeleteLaunchTemplateCommand: () => DeleteLaunchTemplateCommand, - DeleteLaunchTemplateVersionsCommand: () => DeleteLaunchTemplateVersionsCommand, - DeleteLocalGatewayRouteCommand: () => DeleteLocalGatewayRouteCommand, - DeleteLocalGatewayRouteTableCommand: () => DeleteLocalGatewayRouteTableCommand, - DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand: () => DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand, - DeleteLocalGatewayRouteTableVpcAssociationCommand: () => DeleteLocalGatewayRouteTableVpcAssociationCommand, - DeleteManagedPrefixListCommand: () => DeleteManagedPrefixListCommand, - DeleteNatGatewayCommand: () => DeleteNatGatewayCommand, - DeleteNetworkAclCommand: () => DeleteNetworkAclCommand, - DeleteNetworkAclEntryCommand: () => DeleteNetworkAclEntryCommand, - DeleteNetworkInsightsAccessScopeAnalysisCommand: () => DeleteNetworkInsightsAccessScopeAnalysisCommand, - DeleteNetworkInsightsAccessScopeCommand: () => DeleteNetworkInsightsAccessScopeCommand, - DeleteNetworkInsightsAnalysisCommand: () => DeleteNetworkInsightsAnalysisCommand, - DeleteNetworkInsightsPathCommand: () => DeleteNetworkInsightsPathCommand, - DeleteNetworkInterfaceCommand: () => DeleteNetworkInterfaceCommand, - DeleteNetworkInterfacePermissionCommand: () => DeleteNetworkInterfacePermissionCommand, - DeletePlacementGroupCommand: () => DeletePlacementGroupCommand, - DeletePublicIpv4PoolCommand: () => DeletePublicIpv4PoolCommand, - DeleteQueuedReservedInstancesCommand: () => DeleteQueuedReservedInstancesCommand, - DeleteQueuedReservedInstancesErrorCode: () => DeleteQueuedReservedInstancesErrorCode, - DeleteRouteCommand: () => DeleteRouteCommand, - DeleteRouteTableCommand: () => DeleteRouteTableCommand, - DeleteSecurityGroupCommand: () => DeleteSecurityGroupCommand, - DeleteSnapshotCommand: () => DeleteSnapshotCommand, - DeleteSpotDatafeedSubscriptionCommand: () => DeleteSpotDatafeedSubscriptionCommand, - DeleteSubnetCidrReservationCommand: () => DeleteSubnetCidrReservationCommand, - DeleteSubnetCommand: () => DeleteSubnetCommand, - DeleteTagsCommand: () => DeleteTagsCommand, - DeleteTrafficMirrorFilterCommand: () => DeleteTrafficMirrorFilterCommand, - DeleteTrafficMirrorFilterRuleCommand: () => DeleteTrafficMirrorFilterRuleCommand, - DeleteTrafficMirrorSessionCommand: () => DeleteTrafficMirrorSessionCommand, - DeleteTrafficMirrorTargetCommand: () => DeleteTrafficMirrorTargetCommand, - DeleteTransitGatewayCommand: () => DeleteTransitGatewayCommand, - DeleteTransitGatewayConnectCommand: () => DeleteTransitGatewayConnectCommand, - DeleteTransitGatewayConnectPeerCommand: () => DeleteTransitGatewayConnectPeerCommand, - DeleteTransitGatewayMulticastDomainCommand: () => DeleteTransitGatewayMulticastDomainCommand, - DeleteTransitGatewayPeeringAttachmentCommand: () => DeleteTransitGatewayPeeringAttachmentCommand, - DeleteTransitGatewayPolicyTableCommand: () => DeleteTransitGatewayPolicyTableCommand, - DeleteTransitGatewayPrefixListReferenceCommand: () => DeleteTransitGatewayPrefixListReferenceCommand, - DeleteTransitGatewayRouteCommand: () => DeleteTransitGatewayRouteCommand, - DeleteTransitGatewayRouteTableAnnouncementCommand: () => DeleteTransitGatewayRouteTableAnnouncementCommand, - DeleteTransitGatewayRouteTableCommand: () => DeleteTransitGatewayRouteTableCommand, - DeleteTransitGatewayVpcAttachmentCommand: () => DeleteTransitGatewayVpcAttachmentCommand, - DeleteVerifiedAccessEndpointCommand: () => DeleteVerifiedAccessEndpointCommand, - DeleteVerifiedAccessGroupCommand: () => DeleteVerifiedAccessGroupCommand, - DeleteVerifiedAccessInstanceCommand: () => DeleteVerifiedAccessInstanceCommand, - DeleteVerifiedAccessTrustProviderCommand: () => DeleteVerifiedAccessTrustProviderCommand, - DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: () => DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog, - DeleteVolumeCommand: () => DeleteVolumeCommand, - DeleteVpcCommand: () => DeleteVpcCommand, - DeleteVpcEndpointConnectionNotificationsCommand: () => DeleteVpcEndpointConnectionNotificationsCommand, - DeleteVpcEndpointServiceConfigurationsCommand: () => DeleteVpcEndpointServiceConfigurationsCommand, - DeleteVpcEndpointsCommand: () => DeleteVpcEndpointsCommand, - DeleteVpcPeeringConnectionCommand: () => DeleteVpcPeeringConnectionCommand, - DeleteVpnConnectionCommand: () => DeleteVpnConnectionCommand, - DeleteVpnConnectionRouteCommand: () => DeleteVpnConnectionRouteCommand, - DeleteVpnGatewayCommand: () => DeleteVpnGatewayCommand, - DeprovisionByoipCidrCommand: () => DeprovisionByoipCidrCommand, - DeprovisionIpamByoasnCommand: () => DeprovisionIpamByoasnCommand, - DeprovisionIpamPoolCidrCommand: () => DeprovisionIpamPoolCidrCommand, - DeprovisionPublicIpv4PoolCidrCommand: () => DeprovisionPublicIpv4PoolCidrCommand, - DeregisterImageCommand: () => DeregisterImageCommand, - DeregisterInstanceEventNotificationAttributesCommand: () => DeregisterInstanceEventNotificationAttributesCommand, - DeregisterTransitGatewayMulticastGroupMembersCommand: () => DeregisterTransitGatewayMulticastGroupMembersCommand, - DeregisterTransitGatewayMulticastGroupSourcesCommand: () => DeregisterTransitGatewayMulticastGroupSourcesCommand, - DescribeAccountAttributesCommand: () => DescribeAccountAttributesCommand, - DescribeAddressTransfersCommand: () => DescribeAddressTransfersCommand, - DescribeAddressesAttributeCommand: () => DescribeAddressesAttributeCommand, - DescribeAddressesCommand: () => DescribeAddressesCommand, - DescribeAggregateIdFormatCommand: () => DescribeAggregateIdFormatCommand, - DescribeAvailabilityZonesCommand: () => DescribeAvailabilityZonesCommand, - DescribeAwsNetworkPerformanceMetricSubscriptionsCommand: () => DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, - DescribeBundleTasksCommand: () => DescribeBundleTasksCommand, - DescribeBundleTasksResultFilterSensitiveLog: () => DescribeBundleTasksResultFilterSensitiveLog, - DescribeByoipCidrsCommand: () => DescribeByoipCidrsCommand, - DescribeCapacityBlockOfferingsCommand: () => DescribeCapacityBlockOfferingsCommand, - DescribeCapacityReservationFleetsCommand: () => DescribeCapacityReservationFleetsCommand, - DescribeCapacityReservationsCommand: () => DescribeCapacityReservationsCommand, - DescribeCarrierGatewaysCommand: () => DescribeCarrierGatewaysCommand, - DescribeClassicLinkInstancesCommand: () => DescribeClassicLinkInstancesCommand, - DescribeClientVpnAuthorizationRulesCommand: () => DescribeClientVpnAuthorizationRulesCommand, - DescribeClientVpnConnectionsCommand: () => DescribeClientVpnConnectionsCommand, - DescribeClientVpnEndpointsCommand: () => DescribeClientVpnEndpointsCommand, - DescribeClientVpnRoutesCommand: () => DescribeClientVpnRoutesCommand, - DescribeClientVpnTargetNetworksCommand: () => DescribeClientVpnTargetNetworksCommand, - DescribeCoipPoolsCommand: () => DescribeCoipPoolsCommand, - DescribeConversionTasksCommand: () => DescribeConversionTasksCommand, - DescribeConversionTasksResultFilterSensitiveLog: () => DescribeConversionTasksResultFilterSensitiveLog, - DescribeCustomerGatewaysCommand: () => DescribeCustomerGatewaysCommand, - DescribeDhcpOptionsCommand: () => DescribeDhcpOptionsCommand, - DescribeEgressOnlyInternetGatewaysCommand: () => DescribeEgressOnlyInternetGatewaysCommand, - DescribeElasticGpusCommand: () => DescribeElasticGpusCommand, - DescribeExportImageTasksCommand: () => DescribeExportImageTasksCommand, - DescribeExportTasksCommand: () => DescribeExportTasksCommand, - DescribeFastLaunchImagesCommand: () => DescribeFastLaunchImagesCommand, - DescribeFastSnapshotRestoresCommand: () => DescribeFastSnapshotRestoresCommand, - DescribeFleetHistoryCommand: () => DescribeFleetHistoryCommand, - DescribeFleetInstancesCommand: () => DescribeFleetInstancesCommand, - DescribeFleetsCommand: () => DescribeFleetsCommand, - DescribeFlowLogsCommand: () => DescribeFlowLogsCommand, - DescribeFpgaImageAttributeCommand: () => DescribeFpgaImageAttributeCommand, - DescribeFpgaImagesCommand: () => DescribeFpgaImagesCommand, - DescribeHostReservationOfferingsCommand: () => DescribeHostReservationOfferingsCommand, - DescribeHostReservationsCommand: () => DescribeHostReservationsCommand, - DescribeHostsCommand: () => DescribeHostsCommand, - DescribeIamInstanceProfileAssociationsCommand: () => DescribeIamInstanceProfileAssociationsCommand, - DescribeIdFormatCommand: () => DescribeIdFormatCommand, - DescribeIdentityIdFormatCommand: () => DescribeIdentityIdFormatCommand, - DescribeImageAttributeCommand: () => DescribeImageAttributeCommand, - DescribeImagesCommand: () => DescribeImagesCommand, - DescribeImportImageTasksCommand: () => DescribeImportImageTasksCommand, - DescribeImportImageTasksResultFilterSensitiveLog: () => DescribeImportImageTasksResultFilterSensitiveLog, - DescribeImportSnapshotTasksCommand: () => DescribeImportSnapshotTasksCommand, - DescribeImportSnapshotTasksResultFilterSensitiveLog: () => DescribeImportSnapshotTasksResultFilterSensitiveLog, - DescribeInstanceAttributeCommand: () => DescribeInstanceAttributeCommand, - DescribeInstanceConnectEndpointsCommand: () => DescribeInstanceConnectEndpointsCommand, - DescribeInstanceCreditSpecificationsCommand: () => DescribeInstanceCreditSpecificationsCommand, - DescribeInstanceEventNotificationAttributesCommand: () => DescribeInstanceEventNotificationAttributesCommand, - DescribeInstanceEventWindowsCommand: () => DescribeInstanceEventWindowsCommand, - DescribeInstanceStatusCommand: () => DescribeInstanceStatusCommand, - DescribeInstanceTopologyCommand: () => DescribeInstanceTopologyCommand, - DescribeInstanceTypeOfferingsCommand: () => DescribeInstanceTypeOfferingsCommand, - DescribeInstanceTypesCommand: () => DescribeInstanceTypesCommand, - DescribeInstancesCommand: () => DescribeInstancesCommand, - DescribeInternetGatewaysCommand: () => DescribeInternetGatewaysCommand, - DescribeIpamByoasnCommand: () => DescribeIpamByoasnCommand, - DescribeIpamPoolsCommand: () => DescribeIpamPoolsCommand, - DescribeIpamResourceDiscoveriesCommand: () => DescribeIpamResourceDiscoveriesCommand, - DescribeIpamResourceDiscoveryAssociationsCommand: () => DescribeIpamResourceDiscoveryAssociationsCommand, - DescribeIpamScopesCommand: () => DescribeIpamScopesCommand, - DescribeIpamsCommand: () => DescribeIpamsCommand, - DescribeIpv6PoolsCommand: () => DescribeIpv6PoolsCommand, - DescribeKeyPairsCommand: () => DescribeKeyPairsCommand, - DescribeLaunchTemplateVersionsCommand: () => DescribeLaunchTemplateVersionsCommand, - DescribeLaunchTemplateVersionsResultFilterSensitiveLog: () => DescribeLaunchTemplateVersionsResultFilterSensitiveLog, - DescribeLaunchTemplatesCommand: () => DescribeLaunchTemplatesCommand, - DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand: () => DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand, - DescribeLocalGatewayRouteTableVpcAssociationsCommand: () => DescribeLocalGatewayRouteTableVpcAssociationsCommand, - DescribeLocalGatewayRouteTablesCommand: () => DescribeLocalGatewayRouteTablesCommand, - DescribeLocalGatewayVirtualInterfaceGroupsCommand: () => DescribeLocalGatewayVirtualInterfaceGroupsCommand, - DescribeLocalGatewayVirtualInterfacesCommand: () => DescribeLocalGatewayVirtualInterfacesCommand, - DescribeLocalGatewaysCommand: () => DescribeLocalGatewaysCommand, - DescribeLockedSnapshotsCommand: () => DescribeLockedSnapshotsCommand, - DescribeMacHostsCommand: () => DescribeMacHostsCommand, - DescribeManagedPrefixListsCommand: () => DescribeManagedPrefixListsCommand, - DescribeMovingAddressesCommand: () => DescribeMovingAddressesCommand, - DescribeNatGatewaysCommand: () => DescribeNatGatewaysCommand, - DescribeNetworkAclsCommand: () => DescribeNetworkAclsCommand, - DescribeNetworkInsightsAccessScopeAnalysesCommand: () => DescribeNetworkInsightsAccessScopeAnalysesCommand, - DescribeNetworkInsightsAccessScopesCommand: () => DescribeNetworkInsightsAccessScopesCommand, - DescribeNetworkInsightsAnalysesCommand: () => DescribeNetworkInsightsAnalysesCommand, - DescribeNetworkInsightsPathsCommand: () => DescribeNetworkInsightsPathsCommand, - DescribeNetworkInterfaceAttributeCommand: () => DescribeNetworkInterfaceAttributeCommand, - DescribeNetworkInterfacePermissionsCommand: () => DescribeNetworkInterfacePermissionsCommand, - DescribeNetworkInterfacesCommand: () => DescribeNetworkInterfacesCommand, - DescribePlacementGroupsCommand: () => DescribePlacementGroupsCommand, - DescribePrefixListsCommand: () => DescribePrefixListsCommand, - DescribePrincipalIdFormatCommand: () => DescribePrincipalIdFormatCommand, - DescribePublicIpv4PoolsCommand: () => DescribePublicIpv4PoolsCommand, - DescribeRegionsCommand: () => DescribeRegionsCommand, - DescribeReplaceRootVolumeTasksCommand: () => DescribeReplaceRootVolumeTasksCommand, - DescribeReservedInstancesCommand: () => DescribeReservedInstancesCommand, - DescribeReservedInstancesListingsCommand: () => DescribeReservedInstancesListingsCommand, - DescribeReservedInstancesModificationsCommand: () => DescribeReservedInstancesModificationsCommand, - DescribeReservedInstancesOfferingsCommand: () => DescribeReservedInstancesOfferingsCommand, - DescribeRouteTablesCommand: () => DescribeRouteTablesCommand, - DescribeScheduledInstanceAvailabilityCommand: () => DescribeScheduledInstanceAvailabilityCommand, - DescribeScheduledInstancesCommand: () => DescribeScheduledInstancesCommand, - DescribeSecurityGroupReferencesCommand: () => DescribeSecurityGroupReferencesCommand, - DescribeSecurityGroupRulesCommand: () => DescribeSecurityGroupRulesCommand, - DescribeSecurityGroupsCommand: () => DescribeSecurityGroupsCommand, - DescribeSnapshotAttributeCommand: () => DescribeSnapshotAttributeCommand, - DescribeSnapshotTierStatusCommand: () => DescribeSnapshotTierStatusCommand, - DescribeSnapshotsCommand: () => DescribeSnapshotsCommand, - DescribeSpotDatafeedSubscriptionCommand: () => DescribeSpotDatafeedSubscriptionCommand, - DescribeSpotFleetInstancesCommand: () => DescribeSpotFleetInstancesCommand, - DescribeSpotFleetRequestHistoryCommand: () => DescribeSpotFleetRequestHistoryCommand, - DescribeSpotFleetRequestsCommand: () => DescribeSpotFleetRequestsCommand, - DescribeSpotFleetRequestsResponseFilterSensitiveLog: () => DescribeSpotFleetRequestsResponseFilterSensitiveLog, - DescribeSpotInstanceRequestsCommand: () => DescribeSpotInstanceRequestsCommand, - DescribeSpotInstanceRequestsResultFilterSensitiveLog: () => DescribeSpotInstanceRequestsResultFilterSensitiveLog, - DescribeSpotPriceHistoryCommand: () => DescribeSpotPriceHistoryCommand, - DescribeStaleSecurityGroupsCommand: () => DescribeStaleSecurityGroupsCommand, - DescribeStoreImageTasksCommand: () => DescribeStoreImageTasksCommand, - DescribeSubnetsCommand: () => DescribeSubnetsCommand, - DescribeTagsCommand: () => DescribeTagsCommand, - DescribeTrafficMirrorFiltersCommand: () => DescribeTrafficMirrorFiltersCommand, - DescribeTrafficMirrorSessionsCommand: () => DescribeTrafficMirrorSessionsCommand, - DescribeTrafficMirrorTargetsCommand: () => DescribeTrafficMirrorTargetsCommand, - DescribeTransitGatewayAttachmentsCommand: () => DescribeTransitGatewayAttachmentsCommand, - DescribeTransitGatewayConnectPeersCommand: () => DescribeTransitGatewayConnectPeersCommand, - DescribeTransitGatewayConnectsCommand: () => DescribeTransitGatewayConnectsCommand, - DescribeTransitGatewayMulticastDomainsCommand: () => DescribeTransitGatewayMulticastDomainsCommand, - DescribeTransitGatewayPeeringAttachmentsCommand: () => DescribeTransitGatewayPeeringAttachmentsCommand, - DescribeTransitGatewayPolicyTablesCommand: () => DescribeTransitGatewayPolicyTablesCommand, - DescribeTransitGatewayRouteTableAnnouncementsCommand: () => DescribeTransitGatewayRouteTableAnnouncementsCommand, - DescribeTransitGatewayRouteTablesCommand: () => DescribeTransitGatewayRouteTablesCommand, - DescribeTransitGatewayVpcAttachmentsCommand: () => DescribeTransitGatewayVpcAttachmentsCommand, - DescribeTransitGatewaysCommand: () => DescribeTransitGatewaysCommand, - DescribeTrunkInterfaceAssociationsCommand: () => DescribeTrunkInterfaceAssociationsCommand, - DescribeVerifiedAccessEndpointsCommand: () => DescribeVerifiedAccessEndpointsCommand, - DescribeVerifiedAccessGroupsCommand: () => DescribeVerifiedAccessGroupsCommand, - DescribeVerifiedAccessInstanceLoggingConfigurationsCommand: () => DescribeVerifiedAccessInstanceLoggingConfigurationsCommand, - DescribeVerifiedAccessInstancesCommand: () => DescribeVerifiedAccessInstancesCommand, - DescribeVerifiedAccessTrustProvidersCommand: () => DescribeVerifiedAccessTrustProvidersCommand, - DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: () => DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog, - DescribeVolumeAttributeCommand: () => DescribeVolumeAttributeCommand, - DescribeVolumeStatusCommand: () => DescribeVolumeStatusCommand, - DescribeVolumesCommand: () => DescribeVolumesCommand, - DescribeVolumesModificationsCommand: () => DescribeVolumesModificationsCommand, - DescribeVpcAttributeCommand: () => DescribeVpcAttributeCommand, - DescribeVpcClassicLinkCommand: () => DescribeVpcClassicLinkCommand, - DescribeVpcClassicLinkDnsSupportCommand: () => DescribeVpcClassicLinkDnsSupportCommand, - DescribeVpcEndpointConnectionNotificationsCommand: () => DescribeVpcEndpointConnectionNotificationsCommand, - DescribeVpcEndpointConnectionsCommand: () => DescribeVpcEndpointConnectionsCommand, - DescribeVpcEndpointServiceConfigurationsCommand: () => DescribeVpcEndpointServiceConfigurationsCommand, - DescribeVpcEndpointServicePermissionsCommand: () => DescribeVpcEndpointServicePermissionsCommand, - DescribeVpcEndpointServicesCommand: () => DescribeVpcEndpointServicesCommand, - DescribeVpcEndpointsCommand: () => DescribeVpcEndpointsCommand, - DescribeVpcPeeringConnectionsCommand: () => DescribeVpcPeeringConnectionsCommand, - DescribeVpcsCommand: () => DescribeVpcsCommand, - DescribeVpnConnectionsCommand: () => DescribeVpnConnectionsCommand, - DescribeVpnConnectionsResultFilterSensitiveLog: () => DescribeVpnConnectionsResultFilterSensitiveLog, - DescribeVpnGatewaysCommand: () => DescribeVpnGatewaysCommand, - DestinationFileFormat: () => DestinationFileFormat, - DetachClassicLinkVpcCommand: () => DetachClassicLinkVpcCommand, - DetachInternetGatewayCommand: () => DetachInternetGatewayCommand, - DetachNetworkInterfaceCommand: () => DetachNetworkInterfaceCommand, - DetachVerifiedAccessTrustProviderCommand: () => DetachVerifiedAccessTrustProviderCommand, - DetachVerifiedAccessTrustProviderResultFilterSensitiveLog: () => DetachVerifiedAccessTrustProviderResultFilterSensitiveLog, - DetachVolumeCommand: () => DetachVolumeCommand, - DetachVpnGatewayCommand: () => DetachVpnGatewayCommand, - DeviceTrustProviderType: () => DeviceTrustProviderType, - DeviceType: () => DeviceType, - DisableAddressTransferCommand: () => DisableAddressTransferCommand, - DisableAwsNetworkPerformanceMetricSubscriptionCommand: () => DisableAwsNetworkPerformanceMetricSubscriptionCommand, - DisableEbsEncryptionByDefaultCommand: () => DisableEbsEncryptionByDefaultCommand, - DisableFastLaunchCommand: () => DisableFastLaunchCommand, - DisableFastSnapshotRestoresCommand: () => DisableFastSnapshotRestoresCommand, - DisableImageBlockPublicAccessCommand: () => DisableImageBlockPublicAccessCommand, - DisableImageCommand: () => DisableImageCommand, - DisableImageDeprecationCommand: () => DisableImageDeprecationCommand, - DisableIpamOrganizationAdminAccountCommand: () => DisableIpamOrganizationAdminAccountCommand, - DisableSerialConsoleAccessCommand: () => DisableSerialConsoleAccessCommand, - DisableSnapshotBlockPublicAccessCommand: () => DisableSnapshotBlockPublicAccessCommand, - DisableTransitGatewayRouteTablePropagationCommand: () => DisableTransitGatewayRouteTablePropagationCommand, - DisableVgwRoutePropagationCommand: () => DisableVgwRoutePropagationCommand, - DisableVpcClassicLinkCommand: () => DisableVpcClassicLinkCommand, - DisableVpcClassicLinkDnsSupportCommand: () => DisableVpcClassicLinkDnsSupportCommand, - DisassociateAddressCommand: () => DisassociateAddressCommand, - DisassociateClientVpnTargetNetworkCommand: () => DisassociateClientVpnTargetNetworkCommand, - DisassociateEnclaveCertificateIamRoleCommand: () => DisassociateEnclaveCertificateIamRoleCommand, - DisassociateIamInstanceProfileCommand: () => DisassociateIamInstanceProfileCommand, - DisassociateInstanceEventWindowCommand: () => DisassociateInstanceEventWindowCommand, - DisassociateIpamByoasnCommand: () => DisassociateIpamByoasnCommand, - DisassociateIpamResourceDiscoveryCommand: () => DisassociateIpamResourceDiscoveryCommand, - DisassociateNatGatewayAddressCommand: () => DisassociateNatGatewayAddressCommand, - DisassociateRouteTableCommand: () => DisassociateRouteTableCommand, - DisassociateSubnetCidrBlockCommand: () => DisassociateSubnetCidrBlockCommand, - DisassociateTransitGatewayMulticastDomainCommand: () => DisassociateTransitGatewayMulticastDomainCommand, - DisassociateTransitGatewayPolicyTableCommand: () => DisassociateTransitGatewayPolicyTableCommand, - DisassociateTransitGatewayRouteTableCommand: () => DisassociateTransitGatewayRouteTableCommand, - DisassociateTrunkInterfaceCommand: () => DisassociateTrunkInterfaceCommand, - DisassociateVpcCidrBlockCommand: () => DisassociateVpcCidrBlockCommand, - DiskImageDescriptionFilterSensitiveLog: () => DiskImageDescriptionFilterSensitiveLog, - DiskImageDetailFilterSensitiveLog: () => DiskImageDetailFilterSensitiveLog, - DiskImageFilterSensitiveLog: () => DiskImageFilterSensitiveLog, - DiskImageFormat: () => DiskImageFormat, - DiskType: () => DiskType, - DnsNameState: () => DnsNameState, - DnsRecordIpType: () => DnsRecordIpType, - DnsSupportValue: () => DnsSupportValue, - DomainType: () => DomainType, - DynamicRoutingValue: () => DynamicRoutingValue, - EC2: () => EC2, - EC2Client: () => EC2Client, - EC2ServiceException: () => EC2ServiceException, - EbsEncryptionSupport: () => EbsEncryptionSupport, - EbsNvmeSupport: () => EbsNvmeSupport, - EbsOptimizedSupport: () => EbsOptimizedSupport, - Ec2InstanceConnectEndpointState: () => Ec2InstanceConnectEndpointState, - ElasticGpuState: () => ElasticGpuState, - ElasticGpuStatus: () => ElasticGpuStatus, - EnaSupport: () => EnaSupport, - EnableAddressTransferCommand: () => EnableAddressTransferCommand, - EnableAwsNetworkPerformanceMetricSubscriptionCommand: () => EnableAwsNetworkPerformanceMetricSubscriptionCommand, - EnableEbsEncryptionByDefaultCommand: () => EnableEbsEncryptionByDefaultCommand, - EnableFastLaunchCommand: () => EnableFastLaunchCommand, - EnableFastSnapshotRestoresCommand: () => EnableFastSnapshotRestoresCommand, - EnableImageBlockPublicAccessCommand: () => EnableImageBlockPublicAccessCommand, - EnableImageCommand: () => EnableImageCommand, - EnableImageDeprecationCommand: () => EnableImageDeprecationCommand, - EnableIpamOrganizationAdminAccountCommand: () => EnableIpamOrganizationAdminAccountCommand, - EnableReachabilityAnalyzerOrganizationSharingCommand: () => EnableReachabilityAnalyzerOrganizationSharingCommand, - EnableSerialConsoleAccessCommand: () => EnableSerialConsoleAccessCommand, - EnableSnapshotBlockPublicAccessCommand: () => EnableSnapshotBlockPublicAccessCommand, - EnableTransitGatewayRouteTablePropagationCommand: () => EnableTransitGatewayRouteTablePropagationCommand, - EnableVgwRoutePropagationCommand: () => EnableVgwRoutePropagationCommand, - EnableVolumeIOCommand: () => EnableVolumeIOCommand, - EnableVpcClassicLinkCommand: () => EnableVpcClassicLinkCommand, - EnableVpcClassicLinkDnsSupportCommand: () => EnableVpcClassicLinkDnsSupportCommand, - EndDateType: () => EndDateType, - EphemeralNvmeSupport: () => EphemeralNvmeSupport, - EventCode: () => EventCode, - EventType: () => EventType, - ExcessCapacityTerminationPolicy: () => ExcessCapacityTerminationPolicy, - ExportClientVpnClientCertificateRevocationListCommand: () => ExportClientVpnClientCertificateRevocationListCommand, - ExportClientVpnClientConfigurationCommand: () => ExportClientVpnClientConfigurationCommand, - ExportEnvironment: () => ExportEnvironment, - ExportImageCommand: () => ExportImageCommand, - ExportTaskState: () => ExportTaskState, - ExportTransitGatewayRoutesCommand: () => ExportTransitGatewayRoutesCommand, - FastLaunchResourceType: () => FastLaunchResourceType, - FastLaunchStateCode: () => FastLaunchStateCode, - FastSnapshotRestoreStateCode: () => FastSnapshotRestoreStateCode, - FindingsFound: () => FindingsFound, - FleetActivityStatus: () => FleetActivityStatus, - FleetCapacityReservationTenancy: () => FleetCapacityReservationTenancy, - FleetCapacityReservationUsageStrategy: () => FleetCapacityReservationUsageStrategy, - FleetEventType: () => FleetEventType, - FleetExcessCapacityTerminationPolicy: () => FleetExcessCapacityTerminationPolicy, - FleetInstanceMatchCriteria: () => FleetInstanceMatchCriteria, - FleetOnDemandAllocationStrategy: () => FleetOnDemandAllocationStrategy, - FleetReplacementStrategy: () => FleetReplacementStrategy, - FleetStateCode: () => FleetStateCode, - FleetType: () => FleetType, - FlowLogsResourceType: () => FlowLogsResourceType, - FpgaImageAttributeName: () => FpgaImageAttributeName, - FpgaImageStateCode: () => FpgaImageStateCode, - GatewayAssociationState: () => GatewayAssociationState, - GatewayType: () => GatewayType, - GetAssociatedEnclaveCertificateIamRolesCommand: () => GetAssociatedEnclaveCertificateIamRolesCommand, - GetAssociatedIpv6PoolCidrsCommand: () => GetAssociatedIpv6PoolCidrsCommand, - GetAwsNetworkPerformanceDataCommand: () => GetAwsNetworkPerformanceDataCommand, - GetCapacityReservationUsageCommand: () => GetCapacityReservationUsageCommand, - GetCoipPoolUsageCommand: () => GetCoipPoolUsageCommand, - GetConsoleOutputCommand: () => GetConsoleOutputCommand, - GetConsoleScreenshotCommand: () => GetConsoleScreenshotCommand, - GetDefaultCreditSpecificationCommand: () => GetDefaultCreditSpecificationCommand, - GetEbsDefaultKmsKeyIdCommand: () => GetEbsDefaultKmsKeyIdCommand, - GetEbsEncryptionByDefaultCommand: () => GetEbsEncryptionByDefaultCommand, - GetFlowLogsIntegrationTemplateCommand: () => GetFlowLogsIntegrationTemplateCommand, - GetGroupsForCapacityReservationCommand: () => GetGroupsForCapacityReservationCommand, - GetHostReservationPurchasePreviewCommand: () => GetHostReservationPurchasePreviewCommand, - GetImageBlockPublicAccessStateCommand: () => GetImageBlockPublicAccessStateCommand, - GetInstanceMetadataDefaultsCommand: () => GetInstanceMetadataDefaultsCommand, - GetInstanceTypesFromInstanceRequirementsCommand: () => GetInstanceTypesFromInstanceRequirementsCommand, - GetInstanceUefiDataCommand: () => GetInstanceUefiDataCommand, - GetIpamAddressHistoryCommand: () => GetIpamAddressHistoryCommand, - GetIpamDiscoveredAccountsCommand: () => GetIpamDiscoveredAccountsCommand, - GetIpamDiscoveredPublicAddressesCommand: () => GetIpamDiscoveredPublicAddressesCommand, - GetIpamDiscoveredResourceCidrsCommand: () => GetIpamDiscoveredResourceCidrsCommand, - GetIpamPoolAllocationsCommand: () => GetIpamPoolAllocationsCommand, - GetIpamPoolCidrsCommand: () => GetIpamPoolCidrsCommand, - GetIpamResourceCidrsCommand: () => GetIpamResourceCidrsCommand, - GetLaunchTemplateDataCommand: () => GetLaunchTemplateDataCommand, - GetLaunchTemplateDataResultFilterSensitiveLog: () => GetLaunchTemplateDataResultFilterSensitiveLog, - GetManagedPrefixListAssociationsCommand: () => GetManagedPrefixListAssociationsCommand, - GetManagedPrefixListEntriesCommand: () => GetManagedPrefixListEntriesCommand, - GetNetworkInsightsAccessScopeAnalysisFindingsCommand: () => GetNetworkInsightsAccessScopeAnalysisFindingsCommand, - GetNetworkInsightsAccessScopeContentCommand: () => GetNetworkInsightsAccessScopeContentCommand, - GetPasswordDataCommand: () => GetPasswordDataCommand, - GetPasswordDataResultFilterSensitiveLog: () => GetPasswordDataResultFilterSensitiveLog, - GetReservedInstancesExchangeQuoteCommand: () => GetReservedInstancesExchangeQuoteCommand, - GetSecurityGroupsForVpcCommand: () => GetSecurityGroupsForVpcCommand, - GetSerialConsoleAccessStatusCommand: () => GetSerialConsoleAccessStatusCommand, - GetSnapshotBlockPublicAccessStateCommand: () => GetSnapshotBlockPublicAccessStateCommand, - GetSpotPlacementScoresCommand: () => GetSpotPlacementScoresCommand, - GetSubnetCidrReservationsCommand: () => GetSubnetCidrReservationsCommand, - GetTransitGatewayAttachmentPropagationsCommand: () => GetTransitGatewayAttachmentPropagationsCommand, - GetTransitGatewayMulticastDomainAssociationsCommand: () => GetTransitGatewayMulticastDomainAssociationsCommand, - GetTransitGatewayPolicyTableAssociationsCommand: () => GetTransitGatewayPolicyTableAssociationsCommand, - GetTransitGatewayPolicyTableEntriesCommand: () => GetTransitGatewayPolicyTableEntriesCommand, - GetTransitGatewayPrefixListReferencesCommand: () => GetTransitGatewayPrefixListReferencesCommand, - GetTransitGatewayRouteTableAssociationsCommand: () => GetTransitGatewayRouteTableAssociationsCommand, - GetTransitGatewayRouteTablePropagationsCommand: () => GetTransitGatewayRouteTablePropagationsCommand, - GetVerifiedAccessEndpointPolicyCommand: () => GetVerifiedAccessEndpointPolicyCommand, - GetVerifiedAccessGroupPolicyCommand: () => GetVerifiedAccessGroupPolicyCommand, - GetVpnConnectionDeviceSampleConfigurationCommand: () => GetVpnConnectionDeviceSampleConfigurationCommand, - GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: () => GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog, - GetVpnConnectionDeviceTypesCommand: () => GetVpnConnectionDeviceTypesCommand, - GetVpnTunnelReplacementStatusCommand: () => GetVpnTunnelReplacementStatusCommand, - HostMaintenance: () => HostMaintenance, - HostRecovery: () => HostRecovery, - HostTenancy: () => HostTenancy, - HostnameType: () => HostnameType, - HttpTokensState: () => HttpTokensState, - HypervisorType: () => HypervisorType, - IamInstanceProfileAssociationState: () => IamInstanceProfileAssociationState, - Igmpv2SupportValue: () => Igmpv2SupportValue, - ImageAttributeName: () => ImageAttributeName, - ImageBlockPublicAccessDisabledState: () => ImageBlockPublicAccessDisabledState, - ImageBlockPublicAccessEnabledState: () => ImageBlockPublicAccessEnabledState, - ImageDiskContainerFilterSensitiveLog: () => ImageDiskContainerFilterSensitiveLog, - ImageState: () => ImageState, - ImageTypeValues: () => ImageTypeValues, - ImdsSupportValues: () => ImdsSupportValues, - ImportClientVpnClientCertificateRevocationListCommand: () => ImportClientVpnClientCertificateRevocationListCommand, - ImportImageCommand: () => ImportImageCommand, - ImportImageRequestFilterSensitiveLog: () => ImportImageRequestFilterSensitiveLog, - ImportImageResultFilterSensitiveLog: () => ImportImageResultFilterSensitiveLog, - ImportImageTaskFilterSensitiveLog: () => ImportImageTaskFilterSensitiveLog, - ImportInstanceCommand: () => ImportInstanceCommand, - ImportInstanceLaunchSpecificationFilterSensitiveLog: () => ImportInstanceLaunchSpecificationFilterSensitiveLog, - ImportInstanceRequestFilterSensitiveLog: () => ImportInstanceRequestFilterSensitiveLog, - ImportInstanceResultFilterSensitiveLog: () => ImportInstanceResultFilterSensitiveLog, - ImportInstanceTaskDetailsFilterSensitiveLog: () => ImportInstanceTaskDetailsFilterSensitiveLog, - ImportInstanceVolumeDetailItemFilterSensitiveLog: () => ImportInstanceVolumeDetailItemFilterSensitiveLog, - ImportKeyPairCommand: () => ImportKeyPairCommand, - ImportSnapshotCommand: () => ImportSnapshotCommand, - ImportSnapshotRequestFilterSensitiveLog: () => ImportSnapshotRequestFilterSensitiveLog, - ImportSnapshotResultFilterSensitiveLog: () => ImportSnapshotResultFilterSensitiveLog, - ImportSnapshotTaskFilterSensitiveLog: () => ImportSnapshotTaskFilterSensitiveLog, - ImportVolumeCommand: () => ImportVolumeCommand, - ImportVolumeRequestFilterSensitiveLog: () => ImportVolumeRequestFilterSensitiveLog, - ImportVolumeResultFilterSensitiveLog: () => ImportVolumeResultFilterSensitiveLog, - ImportVolumeTaskDetailsFilterSensitiveLog: () => ImportVolumeTaskDetailsFilterSensitiveLog, - InstanceAttributeName: () => InstanceAttributeName, - InstanceAutoRecoveryState: () => InstanceAutoRecoveryState, - InstanceBootModeValues: () => InstanceBootModeValues, - InstanceEventWindowState: () => InstanceEventWindowState, - InstanceGeneration: () => InstanceGeneration, - InstanceHealthStatus: () => InstanceHealthStatus, - InstanceInterruptionBehavior: () => InstanceInterruptionBehavior, - InstanceLifecycle: () => InstanceLifecycle, - InstanceLifecycleType: () => InstanceLifecycleType, - InstanceMatchCriteria: () => InstanceMatchCriteria, - InstanceMetadataEndpointState: () => InstanceMetadataEndpointState, - InstanceMetadataOptionsState: () => InstanceMetadataOptionsState, - InstanceMetadataProtocolState: () => InstanceMetadataProtocolState, - InstanceMetadataTagsState: () => InstanceMetadataTagsState, - InstanceStateName: () => InstanceStateName, - InstanceStorageEncryptionSupport: () => InstanceStorageEncryptionSupport, - InstanceTypeHypervisor: () => InstanceTypeHypervisor, - InterfacePermissionType: () => InterfacePermissionType, - InterfaceProtocolType: () => InterfaceProtocolType, - IpAddressType: () => IpAddressType, - IpamAddressHistoryResourceType: () => IpamAddressHistoryResourceType, - IpamAssociatedResourceDiscoveryStatus: () => IpamAssociatedResourceDiscoveryStatus, - IpamComplianceStatus: () => IpamComplianceStatus, - IpamDiscoveryFailureCode: () => IpamDiscoveryFailureCode, - IpamManagementState: () => IpamManagementState, - IpamOverlapStatus: () => IpamOverlapStatus, - IpamPoolAllocationResourceType: () => IpamPoolAllocationResourceType, - IpamPoolAwsService: () => IpamPoolAwsService, - IpamPoolCidrFailureCode: () => IpamPoolCidrFailureCode, - IpamPoolCidrState: () => IpamPoolCidrState, - IpamPoolPublicIpSource: () => IpamPoolPublicIpSource, - IpamPoolSourceResourceType: () => IpamPoolSourceResourceType, - IpamPoolState: () => IpamPoolState, - IpamPublicAddressAssociationStatus: () => IpamPublicAddressAssociationStatus, - IpamPublicAddressAwsService: () => IpamPublicAddressAwsService, - IpamPublicAddressType: () => IpamPublicAddressType, - IpamResourceDiscoveryAssociationState: () => IpamResourceDiscoveryAssociationState, - IpamResourceDiscoveryState: () => IpamResourceDiscoveryState, - IpamResourceType: () => IpamResourceType, - IpamScopeState: () => IpamScopeState, - IpamScopeType: () => IpamScopeType, - IpamState: () => IpamState, - IpamTier: () => IpamTier, - Ipv6SupportValue: () => Ipv6SupportValue, - KeyFormat: () => KeyFormat, - KeyPairFilterSensitiveLog: () => KeyPairFilterSensitiveLog, - KeyType: () => KeyType, - LaunchSpecificationFilterSensitiveLog: () => LaunchSpecificationFilterSensitiveLog, - LaunchTemplateAutoRecoveryState: () => LaunchTemplateAutoRecoveryState, - LaunchTemplateErrorCode: () => LaunchTemplateErrorCode, - LaunchTemplateHttpTokensState: () => LaunchTemplateHttpTokensState, - LaunchTemplateInstanceMetadataEndpointState: () => LaunchTemplateInstanceMetadataEndpointState, - LaunchTemplateInstanceMetadataOptionsState: () => LaunchTemplateInstanceMetadataOptionsState, - LaunchTemplateInstanceMetadataProtocolIpv6: () => LaunchTemplateInstanceMetadataProtocolIpv6, - LaunchTemplateInstanceMetadataTagsState: () => LaunchTemplateInstanceMetadataTagsState, - LaunchTemplateVersionFilterSensitiveLog: () => LaunchTemplateVersionFilterSensitiveLog, - ListImagesInRecycleBinCommand: () => ListImagesInRecycleBinCommand, - ListSnapshotsInRecycleBinCommand: () => ListSnapshotsInRecycleBinCommand, - ListingState: () => ListingState, - ListingStatus: () => ListingStatus, - LocalGatewayRouteState: () => LocalGatewayRouteState, - LocalGatewayRouteTableMode: () => LocalGatewayRouteTableMode, - LocalGatewayRouteType: () => LocalGatewayRouteType, - LocalStorage: () => LocalStorage, - LocalStorageType: () => LocalStorageType, - LocationType: () => LocationType, - LockMode: () => LockMode, - LockSnapshotCommand: () => LockSnapshotCommand, - LockState: () => LockState, - LogDestinationType: () => LogDestinationType, - MarketType: () => MarketType, - MembershipType: () => MembershipType, - MetadataDefaultHttpTokensState: () => MetadataDefaultHttpTokensState, - MetricType: () => MetricType, - ModifyAddressAttributeCommand: () => ModifyAddressAttributeCommand, - ModifyAvailabilityZoneGroupCommand: () => ModifyAvailabilityZoneGroupCommand, - ModifyAvailabilityZoneOptInStatus: () => ModifyAvailabilityZoneOptInStatus, - ModifyCapacityReservationCommand: () => ModifyCapacityReservationCommand, - ModifyCapacityReservationFleetCommand: () => ModifyCapacityReservationFleetCommand, - ModifyClientVpnEndpointCommand: () => ModifyClientVpnEndpointCommand, - ModifyDefaultCreditSpecificationCommand: () => ModifyDefaultCreditSpecificationCommand, - ModifyEbsDefaultKmsKeyIdCommand: () => ModifyEbsDefaultKmsKeyIdCommand, - ModifyFleetCommand: () => ModifyFleetCommand, - ModifyFpgaImageAttributeCommand: () => ModifyFpgaImageAttributeCommand, - ModifyHostsCommand: () => ModifyHostsCommand, - ModifyIdFormatCommand: () => ModifyIdFormatCommand, - ModifyIdentityIdFormatCommand: () => ModifyIdentityIdFormatCommand, - ModifyImageAttributeCommand: () => ModifyImageAttributeCommand, - ModifyInstanceAttributeCommand: () => ModifyInstanceAttributeCommand, - ModifyInstanceCapacityReservationAttributesCommand: () => ModifyInstanceCapacityReservationAttributesCommand, - ModifyInstanceCreditSpecificationCommand: () => ModifyInstanceCreditSpecificationCommand, - ModifyInstanceEventStartTimeCommand: () => ModifyInstanceEventStartTimeCommand, - ModifyInstanceEventWindowCommand: () => ModifyInstanceEventWindowCommand, - ModifyInstanceMaintenanceOptionsCommand: () => ModifyInstanceMaintenanceOptionsCommand, - ModifyInstanceMetadataDefaultsCommand: () => ModifyInstanceMetadataDefaultsCommand, - ModifyInstanceMetadataOptionsCommand: () => ModifyInstanceMetadataOptionsCommand, - ModifyInstancePlacementCommand: () => ModifyInstancePlacementCommand, - ModifyIpamCommand: () => ModifyIpamCommand, - ModifyIpamPoolCommand: () => ModifyIpamPoolCommand, - ModifyIpamResourceCidrCommand: () => ModifyIpamResourceCidrCommand, - ModifyIpamResourceDiscoveryCommand: () => ModifyIpamResourceDiscoveryCommand, - ModifyIpamScopeCommand: () => ModifyIpamScopeCommand, - ModifyLaunchTemplateCommand: () => ModifyLaunchTemplateCommand, - ModifyLocalGatewayRouteCommand: () => ModifyLocalGatewayRouteCommand, - ModifyManagedPrefixListCommand: () => ModifyManagedPrefixListCommand, - ModifyNetworkInterfaceAttributeCommand: () => ModifyNetworkInterfaceAttributeCommand, - ModifyPrivateDnsNameOptionsCommand: () => ModifyPrivateDnsNameOptionsCommand, - ModifyReservedInstancesCommand: () => ModifyReservedInstancesCommand, - ModifySecurityGroupRulesCommand: () => ModifySecurityGroupRulesCommand, - ModifySnapshotAttributeCommand: () => ModifySnapshotAttributeCommand, - ModifySnapshotTierCommand: () => ModifySnapshotTierCommand, - ModifySpotFleetRequestCommand: () => ModifySpotFleetRequestCommand, - ModifySubnetAttributeCommand: () => ModifySubnetAttributeCommand, - ModifyTrafficMirrorFilterNetworkServicesCommand: () => ModifyTrafficMirrorFilterNetworkServicesCommand, - ModifyTrafficMirrorFilterRuleCommand: () => ModifyTrafficMirrorFilterRuleCommand, - ModifyTrafficMirrorSessionCommand: () => ModifyTrafficMirrorSessionCommand, - ModifyTransitGatewayCommand: () => ModifyTransitGatewayCommand, - ModifyTransitGatewayPrefixListReferenceCommand: () => ModifyTransitGatewayPrefixListReferenceCommand, - ModifyTransitGatewayVpcAttachmentCommand: () => ModifyTransitGatewayVpcAttachmentCommand, - ModifyVerifiedAccessEndpointCommand: () => ModifyVerifiedAccessEndpointCommand, - ModifyVerifiedAccessEndpointPolicyCommand: () => ModifyVerifiedAccessEndpointPolicyCommand, - ModifyVerifiedAccessGroupCommand: () => ModifyVerifiedAccessGroupCommand, - ModifyVerifiedAccessGroupPolicyCommand: () => ModifyVerifiedAccessGroupPolicyCommand, - ModifyVerifiedAccessInstanceCommand: () => ModifyVerifiedAccessInstanceCommand, - ModifyVerifiedAccessInstanceLoggingConfigurationCommand: () => ModifyVerifiedAccessInstanceLoggingConfigurationCommand, - ModifyVerifiedAccessTrustProviderCommand: () => ModifyVerifiedAccessTrustProviderCommand, - ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog, - ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog, - ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog, - ModifyVolumeAttributeCommand: () => ModifyVolumeAttributeCommand, - ModifyVolumeCommand: () => ModifyVolumeCommand, - ModifyVpcAttributeCommand: () => ModifyVpcAttributeCommand, - ModifyVpcEndpointCommand: () => ModifyVpcEndpointCommand, - ModifyVpcEndpointConnectionNotificationCommand: () => ModifyVpcEndpointConnectionNotificationCommand, - ModifyVpcEndpointServiceConfigurationCommand: () => ModifyVpcEndpointServiceConfigurationCommand, - ModifyVpcEndpointServicePayerResponsibilityCommand: () => ModifyVpcEndpointServicePayerResponsibilityCommand, - ModifyVpcEndpointServicePermissionsCommand: () => ModifyVpcEndpointServicePermissionsCommand, - ModifyVpcPeeringConnectionOptionsCommand: () => ModifyVpcPeeringConnectionOptionsCommand, - ModifyVpcTenancyCommand: () => ModifyVpcTenancyCommand, - ModifyVpnConnectionCommand: () => ModifyVpnConnectionCommand, - ModifyVpnConnectionOptionsCommand: () => ModifyVpnConnectionOptionsCommand, - ModifyVpnConnectionOptionsResultFilterSensitiveLog: () => ModifyVpnConnectionOptionsResultFilterSensitiveLog, - ModifyVpnConnectionResultFilterSensitiveLog: () => ModifyVpnConnectionResultFilterSensitiveLog, - ModifyVpnTunnelCertificateCommand: () => ModifyVpnTunnelCertificateCommand, - ModifyVpnTunnelCertificateResultFilterSensitiveLog: () => ModifyVpnTunnelCertificateResultFilterSensitiveLog, - ModifyVpnTunnelOptionsCommand: () => ModifyVpnTunnelOptionsCommand, - ModifyVpnTunnelOptionsRequestFilterSensitiveLog: () => ModifyVpnTunnelOptionsRequestFilterSensitiveLog, - ModifyVpnTunnelOptionsResultFilterSensitiveLog: () => ModifyVpnTunnelOptionsResultFilterSensitiveLog, - ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog: () => ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog, - MonitorInstancesCommand: () => MonitorInstancesCommand, - MonitoringState: () => MonitoringState, - MoveAddressToVpcCommand: () => MoveAddressToVpcCommand, - MoveByoipCidrToIpamCommand: () => MoveByoipCidrToIpamCommand, - MoveStatus: () => MoveStatus, - MulticastSupportValue: () => MulticastSupportValue, - NatGatewayAddressStatus: () => NatGatewayAddressStatus, - NatGatewayState: () => NatGatewayState, - NetworkInterfaceAttribute: () => NetworkInterfaceAttribute, - NetworkInterfaceCreationType: () => NetworkInterfaceCreationType, - NetworkInterfacePermissionStateCode: () => NetworkInterfacePermissionStateCode, - NetworkInterfaceStatus: () => NetworkInterfaceStatus, - NetworkInterfaceType: () => NetworkInterfaceType, - NitroEnclavesSupport: () => NitroEnclavesSupport, - NitroTpmSupport: () => NitroTpmSupport, - OfferingClassType: () => OfferingClassType, - OfferingTypeValues: () => OfferingTypeValues, - OidcOptionsFilterSensitiveLog: () => OidcOptionsFilterSensitiveLog, - OnDemandAllocationStrategy: () => OnDemandAllocationStrategy, - OperationType: () => OperationType, - PartitionLoadFrequency: () => PartitionLoadFrequency, - PayerResponsibility: () => PayerResponsibility, - PaymentOption: () => PaymentOption, - PeriodType: () => PeriodType, - PermissionGroup: () => PermissionGroup, - PlacementGroupState: () => PlacementGroupState, - PlacementGroupStrategy: () => PlacementGroupStrategy, - PlacementStrategy: () => PlacementStrategy, - PlatformValues: () => PlatformValues, - PrefixListState: () => PrefixListState, - PrincipalType: () => PrincipalType, - ProductCodeValues: () => ProductCodeValues, - Protocol: () => Protocol, - ProtocolValue: () => ProtocolValue, - ProvisionByoipCidrCommand: () => ProvisionByoipCidrCommand, - ProvisionIpamByoasnCommand: () => ProvisionIpamByoasnCommand, - ProvisionIpamPoolCidrCommand: () => ProvisionIpamPoolCidrCommand, - ProvisionPublicIpv4PoolCidrCommand: () => ProvisionPublicIpv4PoolCidrCommand, - PurchaseCapacityBlockCommand: () => PurchaseCapacityBlockCommand, - PurchaseHostReservationCommand: () => PurchaseHostReservationCommand, - PurchaseReservedInstancesOfferingCommand: () => PurchaseReservedInstancesOfferingCommand, - PurchaseScheduledInstancesCommand: () => PurchaseScheduledInstancesCommand, - RIProductDescription: () => RIProductDescription, - RebootInstancesCommand: () => RebootInstancesCommand, - RecurringChargeFrequency: () => RecurringChargeFrequency, - RegisterImageCommand: () => RegisterImageCommand, - RegisterInstanceEventNotificationAttributesCommand: () => RegisterInstanceEventNotificationAttributesCommand, - RegisterTransitGatewayMulticastGroupMembersCommand: () => RegisterTransitGatewayMulticastGroupMembersCommand, - RegisterTransitGatewayMulticastGroupSourcesCommand: () => RegisterTransitGatewayMulticastGroupSourcesCommand, - RejectTransitGatewayMulticastDomainAssociationsCommand: () => RejectTransitGatewayMulticastDomainAssociationsCommand, - RejectTransitGatewayPeeringAttachmentCommand: () => RejectTransitGatewayPeeringAttachmentCommand, - RejectTransitGatewayVpcAttachmentCommand: () => RejectTransitGatewayVpcAttachmentCommand, - RejectVpcEndpointConnectionsCommand: () => RejectVpcEndpointConnectionsCommand, - RejectVpcPeeringConnectionCommand: () => RejectVpcPeeringConnectionCommand, - ReleaseAddressCommand: () => ReleaseAddressCommand, - ReleaseHostsCommand: () => ReleaseHostsCommand, - ReleaseIpamPoolAllocationCommand: () => ReleaseIpamPoolAllocationCommand, - ReplaceIamInstanceProfileAssociationCommand: () => ReplaceIamInstanceProfileAssociationCommand, - ReplaceNetworkAclAssociationCommand: () => ReplaceNetworkAclAssociationCommand, - ReplaceNetworkAclEntryCommand: () => ReplaceNetworkAclEntryCommand, - ReplaceRootVolumeTaskState: () => ReplaceRootVolumeTaskState, - ReplaceRouteCommand: () => ReplaceRouteCommand, - ReplaceRouteTableAssociationCommand: () => ReplaceRouteTableAssociationCommand, - ReplaceTransitGatewayRouteCommand: () => ReplaceTransitGatewayRouteCommand, - ReplaceVpnTunnelCommand: () => ReplaceVpnTunnelCommand, - ReplacementStrategy: () => ReplacementStrategy, - ReportInstanceReasonCodes: () => ReportInstanceReasonCodes, - ReportInstanceStatusCommand: () => ReportInstanceStatusCommand, - ReportStatusType: () => ReportStatusType, - RequestLaunchTemplateDataFilterSensitiveLog: () => RequestLaunchTemplateDataFilterSensitiveLog, - RequestSpotFleetCommand: () => RequestSpotFleetCommand, - RequestSpotFleetRequestFilterSensitiveLog: () => RequestSpotFleetRequestFilterSensitiveLog, - RequestSpotInstancesCommand: () => RequestSpotInstancesCommand, - RequestSpotInstancesRequestFilterSensitiveLog: () => RequestSpotInstancesRequestFilterSensitiveLog, - RequestSpotInstancesResultFilterSensitiveLog: () => RequestSpotInstancesResultFilterSensitiveLog, - RequestSpotLaunchSpecificationFilterSensitiveLog: () => RequestSpotLaunchSpecificationFilterSensitiveLog, - ReservationState: () => ReservationState, - ReservedInstanceState: () => ReservedInstanceState, - ResetAddressAttributeCommand: () => ResetAddressAttributeCommand, - ResetEbsDefaultKmsKeyIdCommand: () => ResetEbsDefaultKmsKeyIdCommand, - ResetFpgaImageAttributeCommand: () => ResetFpgaImageAttributeCommand, - ResetFpgaImageAttributeName: () => ResetFpgaImageAttributeName, - ResetImageAttributeCommand: () => ResetImageAttributeCommand, - ResetImageAttributeName: () => ResetImageAttributeName, - ResetInstanceAttributeCommand: () => ResetInstanceAttributeCommand, - ResetNetworkInterfaceAttributeCommand: () => ResetNetworkInterfaceAttributeCommand, - ResetSnapshotAttributeCommand: () => ResetSnapshotAttributeCommand, - ResourceType: () => ResourceType, - ResponseLaunchTemplateDataFilterSensitiveLog: () => ResponseLaunchTemplateDataFilterSensitiveLog, - RestoreAddressToClassicCommand: () => RestoreAddressToClassicCommand, - RestoreImageFromRecycleBinCommand: () => RestoreImageFromRecycleBinCommand, - RestoreManagedPrefixListVersionCommand: () => RestoreManagedPrefixListVersionCommand, - RestoreSnapshotFromRecycleBinCommand: () => RestoreSnapshotFromRecycleBinCommand, - RestoreSnapshotTierCommand: () => RestoreSnapshotTierCommand, - RevokeClientVpnIngressCommand: () => RevokeClientVpnIngressCommand, - RevokeSecurityGroupEgressCommand: () => RevokeSecurityGroupEgressCommand, - RevokeSecurityGroupIngressCommand: () => RevokeSecurityGroupIngressCommand, - RootDeviceType: () => RootDeviceType, - RouteOrigin: () => RouteOrigin, - RouteState: () => RouteState, - RouteTableAssociationStateCode: () => RouteTableAssociationStateCode, - RuleAction: () => RuleAction, - RunInstancesCommand: () => RunInstancesCommand, - RunInstancesRequestFilterSensitiveLog: () => RunInstancesRequestFilterSensitiveLog, - RunScheduledInstancesCommand: () => RunScheduledInstancesCommand, - RunScheduledInstancesRequestFilterSensitiveLog: () => RunScheduledInstancesRequestFilterSensitiveLog, - S3StorageFilterSensitiveLog: () => S3StorageFilterSensitiveLog, - SSEType: () => SSEType, - ScheduledInstancesLaunchSpecificationFilterSensitiveLog: () => ScheduledInstancesLaunchSpecificationFilterSensitiveLog, - Scope: () => Scope, - SearchLocalGatewayRoutesCommand: () => SearchLocalGatewayRoutesCommand, - SearchTransitGatewayMulticastGroupsCommand: () => SearchTransitGatewayMulticastGroupsCommand, - SearchTransitGatewayRoutesCommand: () => SearchTransitGatewayRoutesCommand, - SecurityGroupReferencingSupportValue: () => SecurityGroupReferencingSupportValue, - SelfServicePortal: () => SelfServicePortal, - SendDiagnosticInterruptCommand: () => SendDiagnosticInterruptCommand, - ServiceConnectivityType: () => ServiceConnectivityType, - ServiceState: () => ServiceState, - ServiceType: () => ServiceType, - ShutdownBehavior: () => ShutdownBehavior, - SnapshotAttributeName: () => SnapshotAttributeName, - SnapshotBlockPublicAccessState: () => SnapshotBlockPublicAccessState, - SnapshotDetailFilterSensitiveLog: () => SnapshotDetailFilterSensitiveLog, - SnapshotDiskContainerFilterSensitiveLog: () => SnapshotDiskContainerFilterSensitiveLog, - SnapshotState: () => SnapshotState, - SnapshotTaskDetailFilterSensitiveLog: () => SnapshotTaskDetailFilterSensitiveLog, - SpotAllocationStrategy: () => SpotAllocationStrategy, - SpotFleetLaunchSpecificationFilterSensitiveLog: () => SpotFleetLaunchSpecificationFilterSensitiveLog, - SpotFleetRequestConfigDataFilterSensitiveLog: () => SpotFleetRequestConfigDataFilterSensitiveLog, - SpotFleetRequestConfigFilterSensitiveLog: () => SpotFleetRequestConfigFilterSensitiveLog, - SpotInstanceInterruptionBehavior: () => SpotInstanceInterruptionBehavior, - SpotInstanceRequestFilterSensitiveLog: () => SpotInstanceRequestFilterSensitiveLog, - SpotInstanceState: () => SpotInstanceState, - SpotInstanceType: () => SpotInstanceType, - SpreadLevel: () => SpreadLevel, - StartInstancesCommand: () => StartInstancesCommand, - StartNetworkInsightsAccessScopeAnalysisCommand: () => StartNetworkInsightsAccessScopeAnalysisCommand, - StartNetworkInsightsAnalysisCommand: () => StartNetworkInsightsAnalysisCommand, - StartVpcEndpointServicePrivateDnsVerificationCommand: () => StartVpcEndpointServicePrivateDnsVerificationCommand, - State: () => State, - StaticSourcesSupportValue: () => StaticSourcesSupportValue, - StatisticType: () => StatisticType, - Status: () => Status, - StatusName: () => StatusName, - StatusType: () => StatusType, - StopInstancesCommand: () => StopInstancesCommand, - StorageFilterSensitiveLog: () => StorageFilterSensitiveLog, - StorageTier: () => StorageTier, - SubnetCidrBlockStateCode: () => SubnetCidrBlockStateCode, - SubnetCidrReservationType: () => SubnetCidrReservationType, - SubnetState: () => SubnetState, - SummaryStatus: () => SummaryStatus, - SupportedAdditionalProcessorFeature: () => SupportedAdditionalProcessorFeature, - TargetCapacityUnitType: () => TargetCapacityUnitType, - TargetStorageTier: () => TargetStorageTier, - TelemetryStatus: () => TelemetryStatus, - Tenancy: () => Tenancy, - TerminateClientVpnConnectionsCommand: () => TerminateClientVpnConnectionsCommand, - TerminateInstancesCommand: () => TerminateInstancesCommand, - TieringOperationStatus: () => TieringOperationStatus, - TpmSupportValues: () => TpmSupportValues, - TrafficDirection: () => TrafficDirection, - TrafficMirrorFilterRuleField: () => TrafficMirrorFilterRuleField, - TrafficMirrorNetworkService: () => TrafficMirrorNetworkService, - TrafficMirrorRuleAction: () => TrafficMirrorRuleAction, - TrafficMirrorSessionField: () => TrafficMirrorSessionField, - TrafficMirrorTargetType: () => TrafficMirrorTargetType, - TrafficType: () => TrafficType, - TransitGatewayAssociationState: () => TransitGatewayAssociationState, - TransitGatewayAttachmentResourceType: () => TransitGatewayAttachmentResourceType, - TransitGatewayAttachmentState: () => TransitGatewayAttachmentState, - TransitGatewayConnectPeerState: () => TransitGatewayConnectPeerState, - TransitGatewayMulitcastDomainAssociationState: () => TransitGatewayMulitcastDomainAssociationState, - TransitGatewayMulticastDomainState: () => TransitGatewayMulticastDomainState, - TransitGatewayPolicyTableState: () => TransitGatewayPolicyTableState, - TransitGatewayPrefixListReferenceState: () => TransitGatewayPrefixListReferenceState, - TransitGatewayPropagationState: () => TransitGatewayPropagationState, - TransitGatewayRouteState: () => TransitGatewayRouteState, - TransitGatewayRouteTableAnnouncementDirection: () => TransitGatewayRouteTableAnnouncementDirection, - TransitGatewayRouteTableAnnouncementState: () => TransitGatewayRouteTableAnnouncementState, - TransitGatewayRouteTableState: () => TransitGatewayRouteTableState, - TransitGatewayRouteType: () => TransitGatewayRouteType, - TransitGatewayState: () => TransitGatewayState, - TransportProtocol: () => TransportProtocol, - TrustProviderType: () => TrustProviderType, - TunnelInsideIpVersion: () => TunnelInsideIpVersion, - TunnelOptionFilterSensitiveLog: () => TunnelOptionFilterSensitiveLog, - UnassignIpv6AddressesCommand: () => UnassignIpv6AddressesCommand, - UnassignPrivateIpAddressesCommand: () => UnassignPrivateIpAddressesCommand, - UnassignPrivateNatGatewayAddressCommand: () => UnassignPrivateNatGatewayAddressCommand, - UnlimitedSupportedInstanceFamily: () => UnlimitedSupportedInstanceFamily, - UnlockSnapshotCommand: () => UnlockSnapshotCommand, - UnmonitorInstancesCommand: () => UnmonitorInstancesCommand, - UnsuccessfulInstanceCreditSpecificationErrorCode: () => UnsuccessfulInstanceCreditSpecificationErrorCode, - UpdateSecurityGroupRuleDescriptionsEgressCommand: () => UpdateSecurityGroupRuleDescriptionsEgressCommand, - UpdateSecurityGroupRuleDescriptionsIngressCommand: () => UpdateSecurityGroupRuleDescriptionsIngressCommand, - UsageClassType: () => UsageClassType, - UserDataFilterSensitiveLog: () => UserDataFilterSensitiveLog, - UserTrustProviderType: () => UserTrustProviderType, - VerifiedAccessEndpointAttachmentType: () => VerifiedAccessEndpointAttachmentType, - VerifiedAccessEndpointProtocol: () => VerifiedAccessEndpointProtocol, - VerifiedAccessEndpointStatusCode: () => VerifiedAccessEndpointStatusCode, - VerifiedAccessEndpointType: () => VerifiedAccessEndpointType, - VerifiedAccessLogDeliveryStatusCode: () => VerifiedAccessLogDeliveryStatusCode, - VerifiedAccessTrustProviderFilterSensitiveLog: () => VerifiedAccessTrustProviderFilterSensitiveLog, - VirtualizationType: () => VirtualizationType, - VolumeAttachmentState: () => VolumeAttachmentState, - VolumeAttributeName: () => VolumeAttributeName, - VolumeModificationState: () => VolumeModificationState, - VolumeState: () => VolumeState, - VolumeStatusInfoStatus: () => VolumeStatusInfoStatus, - VolumeStatusName: () => VolumeStatusName, - VolumeType: () => VolumeType, - VpcAttributeName: () => VpcAttributeName, - VpcCidrBlockStateCode: () => VpcCidrBlockStateCode, - VpcEndpointType: () => VpcEndpointType, - VpcPeeringConnectionStateReasonCode: () => VpcPeeringConnectionStateReasonCode, - VpcState: () => VpcState, - VpcTenancy: () => VpcTenancy, - VpnConnectionFilterSensitiveLog: () => VpnConnectionFilterSensitiveLog, - VpnConnectionOptionsFilterSensitiveLog: () => VpnConnectionOptionsFilterSensitiveLog, - VpnConnectionOptionsSpecificationFilterSensitiveLog: () => VpnConnectionOptionsSpecificationFilterSensitiveLog, - VpnEcmpSupportValue: () => VpnEcmpSupportValue, - VpnProtocol: () => VpnProtocol, - VpnState: () => VpnState, - VpnStaticRouteSource: () => VpnStaticRouteSource, - VpnTunnelOptionsSpecificationFilterSensitiveLog: () => VpnTunnelOptionsSpecificationFilterSensitiveLog, - WeekDay: () => WeekDay, - WithdrawByoipCidrCommand: () => WithdrawByoipCidrCommand, - _InstanceType: () => _InstanceType, - __Client: () => import_smithy_client.Client, - paginateDescribeAddressTransfers: () => paginateDescribeAddressTransfers, - paginateDescribeAddressesAttribute: () => paginateDescribeAddressesAttribute, - paginateDescribeAwsNetworkPerformanceMetricSubscriptions: () => paginateDescribeAwsNetworkPerformanceMetricSubscriptions, - paginateDescribeByoipCidrs: () => paginateDescribeByoipCidrs, - paginateDescribeCapacityBlockOfferings: () => paginateDescribeCapacityBlockOfferings, - paginateDescribeCapacityReservationFleets: () => paginateDescribeCapacityReservationFleets, - paginateDescribeCapacityReservations: () => paginateDescribeCapacityReservations, - paginateDescribeCarrierGateways: () => paginateDescribeCarrierGateways, - paginateDescribeClassicLinkInstances: () => paginateDescribeClassicLinkInstances, - paginateDescribeClientVpnAuthorizationRules: () => paginateDescribeClientVpnAuthorizationRules, - paginateDescribeClientVpnConnections: () => paginateDescribeClientVpnConnections, - paginateDescribeClientVpnEndpoints: () => paginateDescribeClientVpnEndpoints, - paginateDescribeClientVpnRoutes: () => paginateDescribeClientVpnRoutes, - paginateDescribeClientVpnTargetNetworks: () => paginateDescribeClientVpnTargetNetworks, - paginateDescribeCoipPools: () => paginateDescribeCoipPools, - paginateDescribeDhcpOptions: () => paginateDescribeDhcpOptions, - paginateDescribeEgressOnlyInternetGateways: () => paginateDescribeEgressOnlyInternetGateways, - paginateDescribeExportImageTasks: () => paginateDescribeExportImageTasks, - paginateDescribeFastLaunchImages: () => paginateDescribeFastLaunchImages, - paginateDescribeFastSnapshotRestores: () => paginateDescribeFastSnapshotRestores, - paginateDescribeFleets: () => paginateDescribeFleets, - paginateDescribeFlowLogs: () => paginateDescribeFlowLogs, - paginateDescribeFpgaImages: () => paginateDescribeFpgaImages, - paginateDescribeHostReservationOfferings: () => paginateDescribeHostReservationOfferings, - paginateDescribeHostReservations: () => paginateDescribeHostReservations, - paginateDescribeHosts: () => paginateDescribeHosts, - paginateDescribeIamInstanceProfileAssociations: () => paginateDescribeIamInstanceProfileAssociations, - paginateDescribeImages: () => paginateDescribeImages, - paginateDescribeImportImageTasks: () => paginateDescribeImportImageTasks, - paginateDescribeImportSnapshotTasks: () => paginateDescribeImportSnapshotTasks, - paginateDescribeInstanceConnectEndpoints: () => paginateDescribeInstanceConnectEndpoints, - paginateDescribeInstanceCreditSpecifications: () => paginateDescribeInstanceCreditSpecifications, - paginateDescribeInstanceEventWindows: () => paginateDescribeInstanceEventWindows, - paginateDescribeInstanceStatus: () => paginateDescribeInstanceStatus, - paginateDescribeInstanceTopology: () => paginateDescribeInstanceTopology, - paginateDescribeInstanceTypeOfferings: () => paginateDescribeInstanceTypeOfferings, - paginateDescribeInstanceTypes: () => paginateDescribeInstanceTypes, - paginateDescribeInstances: () => paginateDescribeInstances, - paginateDescribeInternetGateways: () => paginateDescribeInternetGateways, - paginateDescribeIpamPools: () => paginateDescribeIpamPools, - paginateDescribeIpamResourceDiscoveries: () => paginateDescribeIpamResourceDiscoveries, - paginateDescribeIpamResourceDiscoveryAssociations: () => paginateDescribeIpamResourceDiscoveryAssociations, - paginateDescribeIpamScopes: () => paginateDescribeIpamScopes, - paginateDescribeIpams: () => paginateDescribeIpams, - paginateDescribeIpv6Pools: () => paginateDescribeIpv6Pools, - paginateDescribeLaunchTemplateVersions: () => paginateDescribeLaunchTemplateVersions, - paginateDescribeLaunchTemplates: () => paginateDescribeLaunchTemplates, - paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations: () => paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations, - paginateDescribeLocalGatewayRouteTableVpcAssociations: () => paginateDescribeLocalGatewayRouteTableVpcAssociations, - paginateDescribeLocalGatewayRouteTables: () => paginateDescribeLocalGatewayRouteTables, - paginateDescribeLocalGatewayVirtualInterfaceGroups: () => paginateDescribeLocalGatewayVirtualInterfaceGroups, - paginateDescribeLocalGatewayVirtualInterfaces: () => paginateDescribeLocalGatewayVirtualInterfaces, - paginateDescribeLocalGateways: () => paginateDescribeLocalGateways, - paginateDescribeMacHosts: () => paginateDescribeMacHosts, - paginateDescribeManagedPrefixLists: () => paginateDescribeManagedPrefixLists, - paginateDescribeMovingAddresses: () => paginateDescribeMovingAddresses, - paginateDescribeNatGateways: () => paginateDescribeNatGateways, - paginateDescribeNetworkAcls: () => paginateDescribeNetworkAcls, - paginateDescribeNetworkInsightsAccessScopeAnalyses: () => paginateDescribeNetworkInsightsAccessScopeAnalyses, - paginateDescribeNetworkInsightsAccessScopes: () => paginateDescribeNetworkInsightsAccessScopes, - paginateDescribeNetworkInsightsAnalyses: () => paginateDescribeNetworkInsightsAnalyses, - paginateDescribeNetworkInsightsPaths: () => paginateDescribeNetworkInsightsPaths, - paginateDescribeNetworkInterfacePermissions: () => paginateDescribeNetworkInterfacePermissions, - paginateDescribeNetworkInterfaces: () => paginateDescribeNetworkInterfaces, - paginateDescribePrefixLists: () => paginateDescribePrefixLists, - paginateDescribePrincipalIdFormat: () => paginateDescribePrincipalIdFormat, - paginateDescribePublicIpv4Pools: () => paginateDescribePublicIpv4Pools, - paginateDescribeReplaceRootVolumeTasks: () => paginateDescribeReplaceRootVolumeTasks, - paginateDescribeReservedInstancesModifications: () => paginateDescribeReservedInstancesModifications, - paginateDescribeReservedInstancesOfferings: () => paginateDescribeReservedInstancesOfferings, - paginateDescribeRouteTables: () => paginateDescribeRouteTables, - paginateDescribeScheduledInstanceAvailability: () => paginateDescribeScheduledInstanceAvailability, - paginateDescribeScheduledInstances: () => paginateDescribeScheduledInstances, - paginateDescribeSecurityGroupRules: () => paginateDescribeSecurityGroupRules, - paginateDescribeSecurityGroups: () => paginateDescribeSecurityGroups, - paginateDescribeSnapshotTierStatus: () => paginateDescribeSnapshotTierStatus, - paginateDescribeSnapshots: () => paginateDescribeSnapshots, - paginateDescribeSpotFleetRequests: () => paginateDescribeSpotFleetRequests, - paginateDescribeSpotInstanceRequests: () => paginateDescribeSpotInstanceRequests, - paginateDescribeSpotPriceHistory: () => paginateDescribeSpotPriceHistory, - paginateDescribeStaleSecurityGroups: () => paginateDescribeStaleSecurityGroups, - paginateDescribeStoreImageTasks: () => paginateDescribeStoreImageTasks, - paginateDescribeSubnets: () => paginateDescribeSubnets, - paginateDescribeTags: () => paginateDescribeTags, - paginateDescribeTrafficMirrorFilters: () => paginateDescribeTrafficMirrorFilters, - paginateDescribeTrafficMirrorSessions: () => paginateDescribeTrafficMirrorSessions, - paginateDescribeTrafficMirrorTargets: () => paginateDescribeTrafficMirrorTargets, - paginateDescribeTransitGatewayAttachments: () => paginateDescribeTransitGatewayAttachments, - paginateDescribeTransitGatewayConnectPeers: () => paginateDescribeTransitGatewayConnectPeers, - paginateDescribeTransitGatewayConnects: () => paginateDescribeTransitGatewayConnects, - paginateDescribeTransitGatewayMulticastDomains: () => paginateDescribeTransitGatewayMulticastDomains, - paginateDescribeTransitGatewayPeeringAttachments: () => paginateDescribeTransitGatewayPeeringAttachments, - paginateDescribeTransitGatewayPolicyTables: () => paginateDescribeTransitGatewayPolicyTables, - paginateDescribeTransitGatewayRouteTableAnnouncements: () => paginateDescribeTransitGatewayRouteTableAnnouncements, - paginateDescribeTransitGatewayRouteTables: () => paginateDescribeTransitGatewayRouteTables, - paginateDescribeTransitGatewayVpcAttachments: () => paginateDescribeTransitGatewayVpcAttachments, - paginateDescribeTransitGateways: () => paginateDescribeTransitGateways, - paginateDescribeTrunkInterfaceAssociations: () => paginateDescribeTrunkInterfaceAssociations, - paginateDescribeVerifiedAccessEndpoints: () => paginateDescribeVerifiedAccessEndpoints, - paginateDescribeVerifiedAccessGroups: () => paginateDescribeVerifiedAccessGroups, - paginateDescribeVerifiedAccessInstanceLoggingConfigurations: () => paginateDescribeVerifiedAccessInstanceLoggingConfigurations, - paginateDescribeVerifiedAccessInstances: () => paginateDescribeVerifiedAccessInstances, - paginateDescribeVerifiedAccessTrustProviders: () => paginateDescribeVerifiedAccessTrustProviders, - paginateDescribeVolumeStatus: () => paginateDescribeVolumeStatus, - paginateDescribeVolumes: () => paginateDescribeVolumes, - paginateDescribeVolumesModifications: () => paginateDescribeVolumesModifications, - paginateDescribeVpcClassicLinkDnsSupport: () => paginateDescribeVpcClassicLinkDnsSupport, - paginateDescribeVpcEndpointConnectionNotifications: () => paginateDescribeVpcEndpointConnectionNotifications, - paginateDescribeVpcEndpointConnections: () => paginateDescribeVpcEndpointConnections, - paginateDescribeVpcEndpointServiceConfigurations: () => paginateDescribeVpcEndpointServiceConfigurations, - paginateDescribeVpcEndpointServicePermissions: () => paginateDescribeVpcEndpointServicePermissions, - paginateDescribeVpcEndpoints: () => paginateDescribeVpcEndpoints, - paginateDescribeVpcPeeringConnections: () => paginateDescribeVpcPeeringConnections, - paginateDescribeVpcs: () => paginateDescribeVpcs, - paginateGetAssociatedIpv6PoolCidrs: () => paginateGetAssociatedIpv6PoolCidrs, - paginateGetAwsNetworkPerformanceData: () => paginateGetAwsNetworkPerformanceData, - paginateGetGroupsForCapacityReservation: () => paginateGetGroupsForCapacityReservation, - paginateGetInstanceTypesFromInstanceRequirements: () => paginateGetInstanceTypesFromInstanceRequirements, - paginateGetIpamAddressHistory: () => paginateGetIpamAddressHistory, - paginateGetIpamDiscoveredAccounts: () => paginateGetIpamDiscoveredAccounts, - paginateGetIpamDiscoveredResourceCidrs: () => paginateGetIpamDiscoveredResourceCidrs, - paginateGetIpamPoolAllocations: () => paginateGetIpamPoolAllocations, - paginateGetIpamPoolCidrs: () => paginateGetIpamPoolCidrs, - paginateGetIpamResourceCidrs: () => paginateGetIpamResourceCidrs, - paginateGetManagedPrefixListAssociations: () => paginateGetManagedPrefixListAssociations, - paginateGetManagedPrefixListEntries: () => paginateGetManagedPrefixListEntries, - paginateGetNetworkInsightsAccessScopeAnalysisFindings: () => paginateGetNetworkInsightsAccessScopeAnalysisFindings, - paginateGetSecurityGroupsForVpc: () => paginateGetSecurityGroupsForVpc, - paginateGetSpotPlacementScores: () => paginateGetSpotPlacementScores, - paginateGetTransitGatewayAttachmentPropagations: () => paginateGetTransitGatewayAttachmentPropagations, - paginateGetTransitGatewayMulticastDomainAssociations: () => paginateGetTransitGatewayMulticastDomainAssociations, - paginateGetTransitGatewayPolicyTableAssociations: () => paginateGetTransitGatewayPolicyTableAssociations, - paginateGetTransitGatewayPrefixListReferences: () => paginateGetTransitGatewayPrefixListReferences, - paginateGetTransitGatewayRouteTableAssociations: () => paginateGetTransitGatewayRouteTableAssociations, - paginateGetTransitGatewayRouteTablePropagations: () => paginateGetTransitGatewayRouteTablePropagations, - paginateGetVpnConnectionDeviceTypes: () => paginateGetVpnConnectionDeviceTypes, - paginateListImagesInRecycleBin: () => paginateListImagesInRecycleBin, - paginateListSnapshotsInRecycleBin: () => paginateListSnapshotsInRecycleBin, - paginateSearchLocalGatewayRoutes: () => paginateSearchLocalGatewayRoutes, - paginateSearchTransitGatewayMulticastGroups: () => paginateSearchTransitGatewayMulticastGroups, - waitForBundleTaskComplete: () => waitForBundleTaskComplete, - waitForConversionTaskCancelled: () => waitForConversionTaskCancelled, - waitForConversionTaskCompleted: () => waitForConversionTaskCompleted, - waitForConversionTaskDeleted: () => waitForConversionTaskDeleted, - waitForCustomerGatewayAvailable: () => waitForCustomerGatewayAvailable, - waitForExportTaskCancelled: () => waitForExportTaskCancelled, - waitForExportTaskCompleted: () => waitForExportTaskCompleted, - waitForImageAvailable: () => waitForImageAvailable, - waitForImageExists: () => waitForImageExists, - waitForInstanceExists: () => waitForInstanceExists, - waitForInstanceRunning: () => waitForInstanceRunning, - waitForInstanceStatusOk: () => waitForInstanceStatusOk, - waitForInstanceStopped: () => waitForInstanceStopped, - waitForInstanceTerminated: () => waitForInstanceTerminated, - waitForInternetGatewayExists: () => waitForInternetGatewayExists, - waitForKeyPairExists: () => waitForKeyPairExists, - waitForNatGatewayAvailable: () => waitForNatGatewayAvailable, - waitForNatGatewayDeleted: () => waitForNatGatewayDeleted, - waitForNetworkInterfaceAvailable: () => waitForNetworkInterfaceAvailable, - waitForPasswordDataAvailable: () => waitForPasswordDataAvailable, - waitForSecurityGroupExists: () => waitForSecurityGroupExists, - waitForSnapshotCompleted: () => waitForSnapshotCompleted, - waitForSnapshotImported: () => waitForSnapshotImported, - waitForSpotInstanceRequestFulfilled: () => waitForSpotInstanceRequestFulfilled, - waitForStoreImageTaskComplete: () => waitForStoreImageTaskComplete, - waitForSubnetAvailable: () => waitForSubnetAvailable, - waitForSystemStatusOk: () => waitForSystemStatusOk, - waitForVolumeAvailable: () => waitForVolumeAvailable, - waitForVolumeDeleted: () => waitForVolumeDeleted, - waitForVolumeInUse: () => waitForVolumeInUse, - waitForVpcAvailable: () => waitForVpcAvailable, - waitForVpcExists: () => waitForVpcExists, - waitForVpcPeeringConnectionDeleted: () => waitForVpcPeeringConnectionDeleted, - waitForVpcPeeringConnectionExists: () => waitForVpcPeeringConnectionExists, - waitForVpnConnectionAvailable: () => waitForVpnConnectionAvailable, - waitForVpnConnectionDeleted: () => waitForVpnConnectionDeleted, - waitUntilBundleTaskComplete: () => waitUntilBundleTaskComplete, - waitUntilConversionTaskCancelled: () => waitUntilConversionTaskCancelled, - waitUntilConversionTaskCompleted: () => waitUntilConversionTaskCompleted, - waitUntilConversionTaskDeleted: () => waitUntilConversionTaskDeleted, - waitUntilCustomerGatewayAvailable: () => waitUntilCustomerGatewayAvailable, - waitUntilExportTaskCancelled: () => waitUntilExportTaskCancelled, - waitUntilExportTaskCompleted: () => waitUntilExportTaskCompleted, - waitUntilImageAvailable: () => waitUntilImageAvailable, - waitUntilImageExists: () => waitUntilImageExists, - waitUntilInstanceExists: () => waitUntilInstanceExists, - waitUntilInstanceRunning: () => waitUntilInstanceRunning, - waitUntilInstanceStatusOk: () => waitUntilInstanceStatusOk, - waitUntilInstanceStopped: () => waitUntilInstanceStopped, - waitUntilInstanceTerminated: () => waitUntilInstanceTerminated, - waitUntilInternetGatewayExists: () => waitUntilInternetGatewayExists, - waitUntilKeyPairExists: () => waitUntilKeyPairExists, - waitUntilNatGatewayAvailable: () => waitUntilNatGatewayAvailable, - waitUntilNatGatewayDeleted: () => waitUntilNatGatewayDeleted, - waitUntilNetworkInterfaceAvailable: () => waitUntilNetworkInterfaceAvailable, - waitUntilPasswordDataAvailable: () => waitUntilPasswordDataAvailable, - waitUntilSecurityGroupExists: () => waitUntilSecurityGroupExists, - waitUntilSnapshotCompleted: () => waitUntilSnapshotCompleted, - waitUntilSnapshotImported: () => waitUntilSnapshotImported, - waitUntilSpotInstanceRequestFulfilled: () => waitUntilSpotInstanceRequestFulfilled, - waitUntilStoreImageTaskComplete: () => waitUntilStoreImageTaskComplete, - waitUntilSubnetAvailable: () => waitUntilSubnetAvailable, - waitUntilSystemStatusOk: () => waitUntilSystemStatusOk, - waitUntilVolumeAvailable: () => waitUntilVolumeAvailable, - waitUntilVolumeDeleted: () => waitUntilVolumeDeleted, - waitUntilVolumeInUse: () => waitUntilVolumeInUse, - waitUntilVpcAvailable: () => waitUntilVpcAvailable, - waitUntilVpcExists: () => waitUntilVpcExists, - waitUntilVpcPeeringConnectionDeleted: () => waitUntilVpcPeeringConnectionDeleted, - waitUntilVpcPeeringConnectionExists: () => waitUntilVpcPeeringConnectionExists, - waitUntilVpnConnectionAvailable: () => waitUntilVpnConnectionAvailable, - waitUntilVpnConnectionDeleted: () => waitUntilVpnConnectionDeleted -}); -module.exports = __toCommonJS(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); + return target; +} -// 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); +const VERSION = "3.6.0"; -// 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); +const _excluded = ["authStrategy"]; +class Octokit { + constructor(options = {}) { + const hook = new beforeAfterHook.Collection(); + const requestDefaults = { + baseUrl: request.request.endpoint.DEFAULTS.baseUrl, + headers: {}, + request: Object.assign({}, options.request, { + // @ts-ignore internal usage only, no need to type + hook: hook.bind(null, "request") + }), + mediaType: { + previews: [], + format: "" } - }, - httpAuthSchemes() { - return _httpAuthSchemes; - }, - setHttpAuthSchemeProvider(httpAuthSchemeProvider) { - _httpAuthSchemeProvider = httpAuthSchemeProvider; - }, - httpAuthSchemeProvider() { - return _httpAuthSchemeProvider; - }, - setCredentials(credentials) { - _credentials = credentials; - }, - credentials() { - return _credentials; + }; // prepend default user agent with `options.userAgent` if set + + requestDefaults.headers["user-agent"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(" "); + + if (options.baseUrl) { + requestDefaults.baseUrl = options.baseUrl; } - }; -}, "getHttpAuthExtensionConfiguration"); -var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { - return { - httpAuthSchemes: config.httpAuthSchemes(), - httpAuthSchemeProvider: config.httpAuthSchemeProvider(), - credentials: config.credentials() - }; -}, "resolveHttpAuthRuntimeConfig"); - -// src/runtimeExtensions.ts -var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial"); -var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { - const extensionConfiguration = { - ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)), - ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)), - ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)), - ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)) - }; - extensions.forEach((extension) => extension.configure(extensionConfiguration)); - return { - ...runtimeConfig, - ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), - ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), - ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), - ...resolveHttpAuthRuntimeConfig(extensionConfiguration) - }; -}, "resolveRuntimeExtensions"); - -// src/EC2Client.ts -var _EC2Client = class _EC2Client extends import_smithy_client.Client { - constructor(...[configuration]) { - const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); - const _config_1 = resolveClientEndpointParameters(_config_0); - const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1); - const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2); - const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3); - const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); - const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5); - const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); - const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []); - super(_config_8); - this.config = _config_8; - this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); - this.middlewareStack.use( - (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { - httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(), - identityProviderConfigProvider: this.getIdentityProviderConfigProvider() - }) - ); - this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); + + if (options.previews) { + requestDefaults.mediaType.previews = options.previews; + } + + if (options.timeZone) { + requestDefaults.headers["time-zone"] = options.timeZone; + } + + this.request = request.request.defaults(requestDefaults); + this.graphql = graphql.withCustomRequest(this.request).defaults(requestDefaults); + this.log = Object.assign({ + debug: () => {}, + info: () => {}, + warn: console.warn.bind(console), + error: console.error.bind(console) + }, options.log); + this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance + // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered. + // (2) If only `options.auth` is set, use the default token authentication strategy. + // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance. + // TODO: type `options.auth` based on `options.authStrategy`. + + if (!options.authStrategy) { + if (!options.auth) { + // (1) + this.auth = async () => ({ + type: "unauthenticated" + }); + } else { + // (2) + const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\_(ツ)_/¯ + + hook.wrap("request", auth.hook); + this.auth = auth; + } + } else { + const { + authStrategy + } = options, + otherOptions = _objectWithoutProperties(options, _excluded); + + const auth = authStrategy(Object.assign({ + request: this.request, + log: this.log, + // we pass the current octokit instance as well as its constructor options + // to allow for authentication strategies that return a new octokit instance + // that shares the same internal state as the current one. The original + // requirement for this was the "event-octokit" authentication strategy + // of https://github.com/probot/octokit-auth-probot. + octokit: this, + octokitOptions: otherOptions + }, options.auth)); // @ts-ignore ¯\_(ツ)_/¯ + + hook.wrap("request", auth.hook); + this.auth = auth; + } // apply plugins + // https://stackoverflow.com/a/16345172 + + + const classConstructor = this.constructor; + classConstructor.plugins.forEach(plugin => { + Object.assign(this, plugin(this, options)); + }); + } + + static defaults(defaults) { + const OctokitWithDefaults = class extends this { + constructor(...args) { + const options = args[0] || {}; + + if (typeof defaults === "function") { + super(defaults(options)); + return; + } + + super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent ? { + userAgent: `${options.userAgent} ${defaults.userAgent}` + } : null)); + } + + }; + return OctokitWithDefaults; } /** - * 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. + * Attach a plugin (or many) to your Octokit instance. + * + * @example + * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) */ - destroy() { - super.destroy(); + + + static plugin(...newPlugins) { + var _a; + + const currentPlugins = this.plugins; + const NewOctokit = (_a = class extends this {}, _a.plugins = currentPlugins.concat(newPlugins.filter(plugin => !currentPlugins.includes(plugin))), _a); + return NewOctokit; } - getDefaultHttpAuthSchemeParametersProvider() { - return import_httpAuthSchemeProvider.defaultEC2HttpAuthSchemeParametersProvider; + +} +Octokit.VERSION = VERSION; +Octokit.plugins = []; + +exports.Octokit = Octokit; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 9440: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +var isPlainObject = __webpack_require__(3287); +var universalUserAgent = __webpack_require__(5030); + +function lowercaseKeys(object) { + if (!object) { + return {}; } - getIdentityProviderConfigProvider() { - return async (config) => new import_core.DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials - }); + + return Object.keys(object).reduce((newObj, key) => { + newObj[key.toLowerCase()] = object[key]; + return newObj; + }, {}); +} + +function mergeDeep(defaults, options) { + const result = Object.assign({}, defaults); + Object.keys(options).forEach(key => { + if (isPlainObject.isPlainObject(options[key])) { + if (!(key in defaults)) Object.assign(result, { + [key]: options[key] + });else result[key] = mergeDeep(defaults[key], options[key]); + } else { + Object.assign(result, { + [key]: options[key] + }); + } + }); + return result; +} + +function removeUndefinedProperties(obj) { + for (const key in obj) { + if (obj[key] === undefined) { + delete obj[key]; + } } -}; -__name(_EC2Client, "EC2Client"); -var EC2Client = _EC2Client; -// src/EC2.ts + return obj; +} + +function merge(defaults, route, options) { + if (typeof route === "string") { + let [method, url] = route.split(" "); + options = Object.assign(url ? { + method, + url + } : { + url: method + }, options); + } else { + options = Object.assign({}, route); + } // lowercase header names before merging with defaults to avoid duplicates -// src/commands/AcceptAddressTransferCommand.ts + options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging -var import_middleware_serde = __nccwpck_require__(1238); + removeUndefinedProperties(options); + removeUndefinedProperties(options.headers); + const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten -var import_types = __nccwpck_require__(5756); + if (defaults && defaults.mediaType.previews.length) { + mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews); + } -// src/protocols/Aws_ec2.ts -var import_core2 = __nccwpck_require__(9963); + mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, "")); + return mergedOptions; +} +function addQueryParameters(url, parameters) { + const separator = /\?/.test(url) ? "&" : "?"; + const names = Object.keys(parameters); -var import_uuid = __nccwpck_require__(4034); + if (names.length === 0) { + return url; + } -// src/models/EC2ServiceException.ts + return url + separator + names.map(name => { + if (name === "q") { + return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+"); + } -var _EC2ServiceException = class _EC2ServiceException extends import_smithy_client.ServiceException { - /** - * @internal - */ - constructor(options) { - super(options); - Object.setPrototypeOf(this, _EC2ServiceException.prototype); + return `${name}=${encodeURIComponent(parameters[name])}`; + }).join("&"); +} + +const urlVariableRegex = /\{[^}]+\}/g; + +function removeNonChars(variableName) { + return variableName.replace(/^\W+|\W+$/g, "").split(/,/); +} + +function extractUrlVariableNames(url) { + const matches = url.match(urlVariableRegex); + + if (!matches) { + return []; } -}; -__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_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_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 matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); +} + +function omit(object, keysToOmit) { + return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => { + obj[key] = object[key]; + return obj; + }, {}); +} + +// Based on https://github.com/bramstein/url-template, licensed under BSD +// TODO: create separate package. +// +// Copyright (c) 2012-2014, Bram Stein +// All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions +// are met: +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// 3. The name of the author may not be used to endorse or promote products +// derived from this software without specific prior written permission. +// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +/* istanbul ignore file */ +function encodeReserved(str) { + return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) { + if (!/%[0-9A-Fa-f]/.test(part)) { + part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]"); + } + + return part; + }).join(""); +} + +function encodeUnreserved(str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { + return "%" + c.charCodeAt(0).toString(16).toUpperCase(); }); - 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]: _ +} + +function encodeValue(operator, value, key) { + value = operator === "+" || operator === "#" ? encodeReserved(value) : encodeUnreserved(value); + + if (key) { + return encodeUnreserved(key) + "=" + value; + } else { + return value; + } +} + +function isDefined(value) { + return value !== undefined && value !== null; +} + +function isKeyOperator(operator) { + return operator === ";" || operator === "&" || operator === "?"; +} + +function getValues(context, operator, key, modifier) { + var value = context[key], + result = []; + + if (isDefined(value) && value !== "") { + if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") { + value = value.toString(); + + if (modifier && modifier !== "*") { + value = value.substring(0, parseInt(modifier, 10)); + } + + result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); + } else { + if (modifier === "*") { + if (Array.isArray(value)) { + value.filter(isDefined).forEach(function (value) { + result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); + }); + } else { + Object.keys(value).forEach(function (k) { + if (isDefined(value[k])) { + result.push(encodeValue(operator, value[k], k)); + } + }); + } + } else { + const tmp = []; + + if (Array.isArray(value)) { + value.filter(isDefined).forEach(function (value) { + tmp.push(encodeValue(operator, value)); + }); + } else { + Object.keys(value).forEach(function (k) { + if (isDefined(value[k])) { + tmp.push(encodeUnreserved(k)); + tmp.push(encodeValue(operator, value[k].toString())); + } + }); + } + + if (isKeyOperator(operator)) { + result.push(encodeUnreserved(key) + "=" + tmp.join(",")); + } else if (tmp.length !== 0) { + result.push(tmp.join(",")); + } + } + } + } else { + if (operator === ";") { + if (isDefined(value)) { + result.push(encodeUnreserved(key)); + } + } else if (value === "" && (operator === "&" || operator === "?")) { + result.push(encodeUnreserved(key) + "="); + } else if (value === "") { + result.push(""); + } + } + + return result; +} + +function parseUrl(template) { + return { + expand: expand.bind(null, template) + }; +} + +function expand(template, context) { + var operators = ["+", "#", ".", "/", ";", "?", "&"]; + return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) { + if (expression) { + let operator = ""; + const values = []; + + if (operators.indexOf(expression.charAt(0)) !== -1) { + operator = expression.charAt(0); + expression = expression.substr(1); + } + + expression.split(/,/g).forEach(function (variable) { + var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); + values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3])); + }); + + if (operator && operator !== "+") { + var separator = ","; + + if (operator === "?") { + separator = "&"; + } else if (operator !== "#") { + separator = operator; + } + + return (values.length !== 0 ? operator : "") + values.join(separator); + } else { + return values.join(","); + } + } else { + return encodeReserved(literal); + } }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateIpamResourceDiscoveryCommand"); -var se_AssociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; +} + +function parse(options) { + // https://fetch.spec.whatwg.org/#methods + let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible + + let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); + let headers = Object.assign({}, options.headers); let body; - body = buildFormUrlencodedString({ - ...se_AssociateNatGatewayAddressRequest(input, context), - [_A]: _ANGA, - [_V]: _ + let parameters = omit(options, ["method", "baseUrl", "url", "headers", "request", "mediaType"]); // extract variable names from URL to calculate remaining variables later + + const urlVariableNames = extractUrlVariableNames(url); + url = parseUrl(url).expand(parameters); + + if (!/^http/.test(url)) { + url = options.baseUrl + url; + } + + const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat("baseUrl"); + const remainingParameters = omit(parameters, omittedParameters); + const isBinaryRequest = /application\/octet-stream/i.test(headers.accept); + + if (!isBinaryRequest) { + if (options.mediaType.format) { + // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw + headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(","); + } + + if (options.mediaType.previews.length) { + const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || []; + headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => { + const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json"; + return `application/vnd.github.${preview}-preview${format}`; + }).join(","); + } + } // for GET/HEAD requests, set URL query parameters from remaining parameters + // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters + + + if (["GET", "HEAD"].includes(method)) { + url = addQueryParameters(url, remainingParameters); + } else { + if ("data" in remainingParameters) { + body = remainingParameters.data; + } else { + if (Object.keys(remainingParameters).length) { + body = remainingParameters; + } else { + headers["content-length"] = 0; + } + } + } // default content-type for JSON if body is set + + + if (!headers["content-type"] && typeof body !== "undefined") { + headers["content-type"] = "application/json; charset=utf-8"; + } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body. + // fetch does not allow to set `content-length` header, but we can set body to an empty string + + + if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { + body = ""; + } // Only return body/request keys if present + + + return Object.assign({ + method, + url, + headers + }, typeof body !== "undefined" ? { + body + } : null, options.request ? { + request: options.request + } : null); +} + +function endpointWithDefaults(defaults, route, options) { + return parse(merge(defaults, route, options)); +} + +function withDefaults(oldDefaults, newDefaults) { + const DEFAULTS = merge(oldDefaults, newDefaults); + const endpoint = endpointWithDefaults.bind(null, DEFAULTS); + return Object.assign(endpoint, { + DEFAULTS, + defaults: withDefaults.bind(null, DEFAULTS), + merge: merge.bind(null, DEFAULTS), + parse }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateNatGatewayAddressCommand"); -var se_AssociateRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateRouteTableRequest(input, context), - [_A]: _ART, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateRouteTableCommand"); -var se_AssociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateSubnetCidrBlockRequest(input, context), - [_A]: _ASCB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateSubnetCidrBlockCommand"); -var se_AssociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateTransitGatewayMulticastDomainRequest(input, context), - [_A]: _ATGMD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateTransitGatewayMulticastDomainCommand"); -var se_AssociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateTransitGatewayPolicyTableRequest(input, context), - [_A]: _ATGPT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateTransitGatewayPolicyTableCommand"); -var se_AssociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateTransitGatewayRouteTableRequest(input, context), - [_A]: _ATGRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateTransitGatewayRouteTableCommand"); -var se_AssociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateTrunkInterfaceRequest(input, context), - [_A]: _ATI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateTrunkInterfaceCommand"); -var se_AssociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateVpcCidrBlockRequest(input, context), - [_A]: _AVCB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateVpcCidrBlockCommand"); -var se_AttachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachClassicLinkVpcRequest(input, context), - [_A]: _ACLV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachClassicLinkVpcCommand"); -var se_AttachInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachInternetGatewayRequest(input, context), - [_A]: _AIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachInternetGatewayCommand"); -var se_AttachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachNetworkInterfaceRequest(input, context), - [_A]: _ANI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachNetworkInterfaceCommand"); -var se_AttachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachVerifiedAccessTrustProviderRequest(input, context), - [_A]: _AVATP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachVerifiedAccessTrustProviderCommand"); -var se_AttachVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachVolumeRequest(input, context), - [_A]: _AV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachVolumeCommand"); -var se_AttachVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachVpnGatewayRequest(input, context), - [_A]: _AVG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachVpnGatewayCommand"); -var se_AuthorizeClientVpnIngressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AuthorizeClientVpnIngressRequest(input, context), - [_A]: _ACVI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AuthorizeClientVpnIngressCommand"); -var se_AuthorizeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AuthorizeSecurityGroupEgressRequest(input, context), - [_A]: _ASGE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AuthorizeSecurityGroupEgressCommand"); -var se_AuthorizeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AuthorizeSecurityGroupIngressRequest(input, context), - [_A]: _ASGI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AuthorizeSecurityGroupIngressCommand"); -var se_BundleInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_BundleInstanceRequest(input, context), - [_A]: _BI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_BundleInstanceCommand"); -var se_CancelBundleTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelBundleTaskRequest(input, context), - [_A]: _CBT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelBundleTaskCommand"); -var se_CancelCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelCapacityReservationRequest(input, context), - [_A]: _CCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelCapacityReservationCommand"); -var se_CancelCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelCapacityReservationFleetsRequest(input, context), - [_A]: _CCRF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelCapacityReservationFleetsCommand"); -var se_CancelConversionTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelConversionRequest(input, context), - [_A]: _CCT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelConversionTaskCommand"); -var se_CancelExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelExportTaskRequest(input, context), - [_A]: _CET, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelExportTaskCommand"); -var se_CancelImageLaunchPermissionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelImageLaunchPermissionRequest(input, context), - [_A]: _CILP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelImageLaunchPermissionCommand"); -var se_CancelImportTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelImportTaskRequest(input, context), - [_A]: _CIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelImportTaskCommand"); -var se_CancelReservedInstancesListingCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelReservedInstancesListingRequest(input, context), - [_A]: _CRIL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelReservedInstancesListingCommand"); -var se_CancelSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelSpotFleetRequestsRequest(input, context), - [_A]: _CSFR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelSpotFleetRequestsCommand"); -var se_CancelSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelSpotInstanceRequestsRequest(input, context), - [_A]: _CSIR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelSpotInstanceRequestsCommand"); -var se_ConfirmProductInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ConfirmProductInstanceRequest(input, context), - [_A]: _CPI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ConfirmProductInstanceCommand"); -var se_CopyFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CopyFpgaImageRequest(input, context), - [_A]: _CFI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CopyFpgaImageCommand"); -var se_CopyImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CopyImageRequest(input, context), - [_A]: _CI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CopyImageCommand"); -var se_CopySnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CopySnapshotRequest(input, context), - [_A]: _CS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CopySnapshotCommand"); -var se_CreateCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCapacityReservationRequest(input, context), - [_A]: _CCRr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCapacityReservationCommand"); -var se_CreateCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCapacityReservationFleetRequest(input, context), - [_A]: _CCRFr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCapacityReservationFleetCommand"); -var se_CreateCarrierGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCarrierGatewayRequest(input, context), - [_A]: _CCG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCarrierGatewayCommand"); -var se_CreateClientVpnEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateClientVpnEndpointRequest(input, context), - [_A]: _CCVE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateClientVpnEndpointCommand"); -var se_CreateClientVpnRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateClientVpnRouteRequest(input, context), - [_A]: _CCVR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateClientVpnRouteCommand"); -var se_CreateCoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCoipCidrRequest(input, context), - [_A]: _CCC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCoipCidrCommand"); -var se_CreateCoipPoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCoipPoolRequest(input, context), - [_A]: _CCP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCoipPoolCommand"); -var se_CreateCustomerGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCustomerGatewayRequest(input, context), - [_A]: _CCGr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCustomerGatewayCommand"); -var se_CreateDefaultSubnetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateDefaultSubnetRequest(input, context), - [_A]: _CDS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateDefaultSubnetCommand"); -var se_CreateDefaultVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateDefaultVpcRequest(input, context), - [_A]: _CDV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateDefaultVpcCommand"); -var se_CreateDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateDhcpOptionsRequest(input, context), - [_A]: _CDO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateDhcpOptionsCommand"); -var se_CreateEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateEgressOnlyInternetGatewayRequest(input, context), - [_A]: _CEOIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateEgressOnlyInternetGatewayCommand"); -var se_CreateFleetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateFleetRequest(input, context), - [_A]: _CF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateFleetCommand"); -var se_CreateFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateFlowLogsRequest(input, context), - [_A]: _CFL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateFlowLogsCommand"); -var se_CreateFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateFpgaImageRequest(input, context), - [_A]: _CFIr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateFpgaImageCommand"); -var se_CreateImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateImageRequest(input, context), - [_A]: _CIr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateImageCommand"); -var se_CreateInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateInstanceConnectEndpointRequest(input, context), - [_A]: _CICE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateInstanceConnectEndpointCommand"); -var se_CreateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateInstanceEventWindowRequest(input, context), - [_A]: _CIEW, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateInstanceEventWindowCommand"); -var se_CreateInstanceExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateInstanceExportTaskRequest(input, context), - [_A]: _CIET, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateInstanceExportTaskCommand"); -var se_CreateInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateInternetGatewayRequest(input, context), - [_A]: _CIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateInternetGatewayCommand"); -var se_CreateIpamCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateIpamRequest(input, context), - [_A]: _CIre, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateIpamCommand"); -var se_CreateIpamPoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateIpamPoolRequest(input, context), - [_A]: _CIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateIpamPoolCommand"); -var se_CreateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateIpamResourceDiscoveryRequest(input, context), - [_A]: _CIRD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateIpamResourceDiscoveryCommand"); -var se_CreateIpamScopeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateIpamScopeRequest(input, context), - [_A]: _CIS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateIpamScopeCommand"); -var se_CreateKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateKeyPairRequest(input, context), - [_A]: _CKP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateKeyPairCommand"); -var se_CreateLaunchTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLaunchTemplateRequest(input, context), - [_A]: _CLT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLaunchTemplateCommand"); -var se_CreateLaunchTemplateVersionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLaunchTemplateVersionRequest(input, context), - [_A]: _CLTV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLaunchTemplateVersionCommand"); -var se_CreateLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLocalGatewayRouteRequest(input, context), - [_A]: _CLGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLocalGatewayRouteCommand"); -var se_CreateLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLocalGatewayRouteTableRequest(input, context), - [_A]: _CLGRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLocalGatewayRouteTableCommand"); -var se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest(input, context), - [_A]: _CLGRTVIGA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); -var se_CreateLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLocalGatewayRouteTableVpcAssociationRequest(input, context), - [_A]: _CLGRTVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLocalGatewayRouteTableVpcAssociationCommand"); -var se_CreateManagedPrefixListCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateManagedPrefixListRequest(input, context), - [_A]: _CMPL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateManagedPrefixListCommand"); -var se_CreateNatGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNatGatewayRequest(input, context), - [_A]: _CNG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNatGatewayCommand"); -var se_CreateNetworkAclCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkAclRequest(input, context), - [_A]: _CNA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkAclCommand"); -var se_CreateNetworkAclEntryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkAclEntryRequest(input, context), - [_A]: _CNAE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkAclEntryCommand"); -var se_CreateNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkInsightsAccessScopeRequest(input, context), - [_A]: _CNIAS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkInsightsAccessScopeCommand"); -var se_CreateNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkInsightsPathRequest(input, context), - [_A]: _CNIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkInsightsPathCommand"); -var se_CreateNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkInterfaceRequest(input, context), - [_A]: _CNI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkInterfaceCommand"); -var se_CreateNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkInterfacePermissionRequest(input, context), - [_A]: _CNIPr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkInterfacePermissionCommand"); -var se_CreatePlacementGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreatePlacementGroupRequest(input, context), - [_A]: _CPG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreatePlacementGroupCommand"); -var se_CreatePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreatePublicIpv4PoolRequest(input, context), - [_A]: _CPIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreatePublicIpv4PoolCommand"); -var se_CreateReplaceRootVolumeTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateReplaceRootVolumeTaskRequest(input, context), - [_A]: _CRRVT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateReplaceRootVolumeTaskCommand"); -var se_CreateReservedInstancesListingCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateReservedInstancesListingRequest(input, context), - [_A]: _CRILr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateReservedInstancesListingCommand"); -var se_CreateRestoreImageTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateRestoreImageTaskRequest(input, context), - [_A]: _CRIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateRestoreImageTaskCommand"); -var se_CreateRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateRouteRequest(input, context), - [_A]: _CR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateRouteCommand"); -var se_CreateRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateRouteTableRequest(input, context), - [_A]: _CRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateRouteTableCommand"); -var se_CreateSecurityGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSecurityGroupRequest(input, context), - [_A]: _CSG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSecurityGroupCommand"); -var se_CreateSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSnapshotRequest(input, context), - [_A]: _CSr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSnapshotCommand"); -var se_CreateSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSnapshotsRequest(input, context), - [_A]: _CSre, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSnapshotsCommand"); -var se_CreateSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSpotDatafeedSubscriptionRequest(input, context), - [_A]: _CSDS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSpotDatafeedSubscriptionCommand"); -var se_CreateStoreImageTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateStoreImageTaskRequest(input, context), - [_A]: _CSIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateStoreImageTaskCommand"); -var se_CreateSubnetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSubnetRequest(input, context), - [_A]: _CSrea, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSubnetCommand"); -var se_CreateSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSubnetCidrReservationRequest(input, context), - [_A]: _CSCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSubnetCidrReservationCommand"); -var se_CreateTagsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTagsRequest(input, context), - [_A]: _CT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTagsCommand"); -var se_CreateTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTrafficMirrorFilterRequest(input, context), - [_A]: _CTMF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTrafficMirrorFilterCommand"); -var se_CreateTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTrafficMirrorFilterRuleRequest(input, context), - [_A]: _CTMFR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTrafficMirrorFilterRuleCommand"); -var se_CreateTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTrafficMirrorSessionRequest(input, context), - [_A]: _CTMS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTrafficMirrorSessionCommand"); -var se_CreateTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTrafficMirrorTargetRequest(input, context), - [_A]: _CTMT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTrafficMirrorTargetCommand"); -var se_CreateTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayRequest(input, context), - [_A]: _CTG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayCommand"); -var se_CreateTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayConnectRequest(input, context), - [_A]: _CTGC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayConnectCommand"); -var se_CreateTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayConnectPeerRequest(input, context), - [_A]: _CTGCP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayConnectPeerCommand"); -var se_CreateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayMulticastDomainRequest(input, context), - [_A]: _CTGMD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayMulticastDomainCommand"); -var se_CreateTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayPeeringAttachmentRequest(input, context), - [_A]: _CTGPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayPeeringAttachmentCommand"); -var se_CreateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayPolicyTableRequest(input, context), - [_A]: _CTGPT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayPolicyTableCommand"); -var se_CreateTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayPrefixListReferenceRequest(input, context), - [_A]: _CTGPLR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayPrefixListReferenceCommand"); -var se_CreateTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayRouteRequest(input, context), - [_A]: _CTGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayRouteCommand"); -var se_CreateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayRouteTableRequest(input, context), - [_A]: _CTGRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayRouteTableCommand"); -var se_CreateTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayRouteTableAnnouncementRequest(input, context), - [_A]: _CTGRTA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayRouteTableAnnouncementCommand"); -var se_CreateTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayVpcAttachmentRequest(input, context), - [_A]: _CTGVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayVpcAttachmentCommand"); -var se_CreateVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVerifiedAccessEndpointRequest(input, context), - [_A]: _CVAE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVerifiedAccessEndpointCommand"); -var se_CreateVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVerifiedAccessGroupRequest(input, context), - [_A]: _CVAG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVerifiedAccessGroupCommand"); -var se_CreateVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVerifiedAccessInstanceRequest(input, context), - [_A]: _CVAI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVerifiedAccessInstanceCommand"); -var se_CreateVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVerifiedAccessTrustProviderRequest(input, context), - [_A]: _CVATP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVerifiedAccessTrustProviderCommand"); -var se_CreateVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVolumeRequest(input, context), - [_A]: _CV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVolumeCommand"); -var se_CreateVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpcRequest(input, context), - [_A]: _CVr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpcCommand"); -var se_CreateVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpcEndpointRequest(input, context), - [_A]: _CVE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpcEndpointCommand"); -var se_CreateVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpcEndpointConnectionNotificationRequest(input, context), - [_A]: _CVECN, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpcEndpointConnectionNotificationCommand"); -var se_CreateVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpcEndpointServiceConfigurationRequest(input, context), - [_A]: _CVESC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpcEndpointServiceConfigurationCommand"); -var se_CreateVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpcPeeringConnectionRequest(input, context), - [_A]: _CVPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpcPeeringConnectionCommand"); -var se_CreateVpnConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpnConnectionRequest(input, context), - [_A]: _CVC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpnConnectionCommand"); -var se_CreateVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpnConnectionRouteRequest(input, context), - [_A]: _CVCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpnConnectionRouteCommand"); -var se_CreateVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpnGatewayRequest(input, context), - [_A]: _CVG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpnGatewayCommand"); -var se_DeleteCarrierGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteCarrierGatewayRequest(input, context), - [_A]: _DCG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteCarrierGatewayCommand"); -var se_DeleteClientVpnEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteClientVpnEndpointRequest(input, context), - [_A]: _DCVE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteClientVpnEndpointCommand"); -var se_DeleteClientVpnRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteClientVpnRouteRequest(input, context), - [_A]: _DCVR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteClientVpnRouteCommand"); -var se_DeleteCoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteCoipCidrRequest(input, context), - [_A]: _DCC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteCoipCidrCommand"); -var se_DeleteCoipPoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteCoipPoolRequest(input, context), - [_A]: _DCP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteCoipPoolCommand"); -var se_DeleteCustomerGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteCustomerGatewayRequest(input, context), - [_A]: _DCGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteCustomerGatewayCommand"); -var se_DeleteDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteDhcpOptionsRequest(input, context), - [_A]: _DDO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteDhcpOptionsCommand"); -var se_DeleteEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteEgressOnlyInternetGatewayRequest(input, context), - [_A]: _DEOIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteEgressOnlyInternetGatewayCommand"); -var se_DeleteFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteFleetsRequest(input, context), - [_A]: _DF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteFleetsCommand"); -var se_DeleteFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteFlowLogsRequest(input, context), - [_A]: _DFL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteFlowLogsCommand"); -var se_DeleteFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteFpgaImageRequest(input, context), - [_A]: _DFI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteFpgaImageCommand"); -var se_DeleteInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteInstanceConnectEndpointRequest(input, context), - [_A]: _DICE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteInstanceConnectEndpointCommand"); -var se_DeleteInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteInstanceEventWindowRequest(input, context), - [_A]: _DIEW, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteInstanceEventWindowCommand"); -var se_DeleteInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteInternetGatewayRequest(input, context), - [_A]: _DIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteInternetGatewayCommand"); -var se_DeleteIpamCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteIpamRequest(input, context), - [_A]: _DI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteIpamCommand"); -var se_DeleteIpamPoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteIpamPoolRequest(input, context), - [_A]: _DIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteIpamPoolCommand"); -var se_DeleteIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteIpamResourceDiscoveryRequest(input, context), - [_A]: _DIRD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteIpamResourceDiscoveryCommand"); -var se_DeleteIpamScopeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteIpamScopeRequest(input, context), - [_A]: _DIS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteIpamScopeCommand"); -var se_DeleteKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteKeyPairRequest(input, context), - [_A]: _DKP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteKeyPairCommand"); -var se_DeleteLaunchTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLaunchTemplateRequest(input, context), - [_A]: _DLT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLaunchTemplateCommand"); -var se_DeleteLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLaunchTemplateVersionsRequest(input, context), - [_A]: _DLTV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLaunchTemplateVersionsCommand"); -var se_DeleteLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLocalGatewayRouteRequest(input, context), - [_A]: _DLGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLocalGatewayRouteCommand"); -var se_DeleteLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLocalGatewayRouteTableRequest(input, context), - [_A]: _DLGRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLocalGatewayRouteTableCommand"); -var se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest(input, context), - [_A]: _DLGRTVIGA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); -var se_DeleteLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLocalGatewayRouteTableVpcAssociationRequest(input, context), - [_A]: _DLGRTVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLocalGatewayRouteTableVpcAssociationCommand"); -var se_DeleteManagedPrefixListCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteManagedPrefixListRequest(input, context), - [_A]: _DMPL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteManagedPrefixListCommand"); -var se_DeleteNatGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNatGatewayRequest(input, context), - [_A]: _DNG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNatGatewayCommand"); -var se_DeleteNetworkAclCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkAclRequest(input, context), - [_A]: _DNA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkAclCommand"); -var se_DeleteNetworkAclEntryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkAclEntryRequest(input, context), - [_A]: _DNAE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkAclEntryCommand"); -var se_DeleteNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInsightsAccessScopeRequest(input, context), - [_A]: _DNIAS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInsightsAccessScopeCommand"); -var se_DeleteNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInsightsAccessScopeAnalysisRequest(input, context), - [_A]: _DNIASA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInsightsAccessScopeAnalysisCommand"); -var se_DeleteNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInsightsAnalysisRequest(input, context), - [_A]: _DNIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInsightsAnalysisCommand"); -var se_DeleteNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInsightsPathRequest(input, context), - [_A]: _DNIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInsightsPathCommand"); -var se_DeleteNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInterfaceRequest(input, context), - [_A]: _DNI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInterfaceCommand"); -var se_DeleteNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInterfacePermissionRequest(input, context), - [_A]: _DNIPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInterfacePermissionCommand"); -var se_DeletePlacementGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeletePlacementGroupRequest(input, context), - [_A]: _DPG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeletePlacementGroupCommand"); -var se_DeletePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeletePublicIpv4PoolRequest(input, context), - [_A]: _DPIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeletePublicIpv4PoolCommand"); -var se_DeleteQueuedReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteQueuedReservedInstancesRequest(input, context), - [_A]: _DQRI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteQueuedReservedInstancesCommand"); -var se_DeleteRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteRouteRequest(input, context), - [_A]: _DR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteRouteCommand"); -var se_DeleteRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteRouteTableRequest(input, context), - [_A]: _DRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteRouteTableCommand"); -var se_DeleteSecurityGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteSecurityGroupRequest(input, context), - [_A]: _DSG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteSecurityGroupCommand"); -var se_DeleteSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteSnapshotRequest(input, context), - [_A]: _DS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteSnapshotCommand"); -var se_DeleteSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteSpotDatafeedSubscriptionRequest(input, context), - [_A]: _DSDS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteSpotDatafeedSubscriptionCommand"); -var se_DeleteSubnetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteSubnetRequest(input, context), - [_A]: _DSe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteSubnetCommand"); -var se_DeleteSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteSubnetCidrReservationRequest(input, context), - [_A]: _DSCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteSubnetCidrReservationCommand"); -var se_DeleteTagsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTagsRequest(input, context), - [_A]: _DT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTagsCommand"); -var se_DeleteTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTrafficMirrorFilterRequest(input, context), - [_A]: _DTMF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTrafficMirrorFilterCommand"); -var se_DeleteTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTrafficMirrorFilterRuleRequest(input, context), - [_A]: _DTMFR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTrafficMirrorFilterRuleCommand"); -var se_DeleteTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTrafficMirrorSessionRequest(input, context), - [_A]: _DTMS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTrafficMirrorSessionCommand"); -var se_DeleteTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTrafficMirrorTargetRequest(input, context), - [_A]: _DTMT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTrafficMirrorTargetCommand"); -var se_DeleteTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayRequest(input, context), - [_A]: _DTG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayCommand"); -var se_DeleteTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayConnectRequest(input, context), - [_A]: _DTGC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayConnectCommand"); -var se_DeleteTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayConnectPeerRequest(input, context), - [_A]: _DTGCP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayConnectPeerCommand"); -var se_DeleteTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayMulticastDomainRequest(input, context), - [_A]: _DTGMD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayMulticastDomainCommand"); -var se_DeleteTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayPeeringAttachmentRequest(input, context), - [_A]: _DTGPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayPeeringAttachmentCommand"); -var se_DeleteTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayPolicyTableRequest(input, context), - [_A]: _DTGPT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayPolicyTableCommand"); -var se_DeleteTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayPrefixListReferenceRequest(input, context), - [_A]: _DTGPLR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayPrefixListReferenceCommand"); -var se_DeleteTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayRouteRequest(input, context), - [_A]: _DTGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayRouteCommand"); -var se_DeleteTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayRouteTableRequest(input, context), - [_A]: _DTGRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayRouteTableCommand"); -var se_DeleteTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayRouteTableAnnouncementRequest(input, context), - [_A]: _DTGRTA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayRouteTableAnnouncementCommand"); -var se_DeleteTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayVpcAttachmentRequest(input, context), - [_A]: _DTGVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayVpcAttachmentCommand"); -var se_DeleteVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVerifiedAccessEndpointRequest(input, context), - [_A]: _DVAE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVerifiedAccessEndpointCommand"); -var se_DeleteVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVerifiedAccessGroupRequest(input, context), - [_A]: _DVAG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVerifiedAccessGroupCommand"); -var se_DeleteVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVerifiedAccessInstanceRequest(input, context), - [_A]: _DVAI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVerifiedAccessInstanceCommand"); -var se_DeleteVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVerifiedAccessTrustProviderRequest(input, context), - [_A]: _DVATP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVerifiedAccessTrustProviderCommand"); -var se_DeleteVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVolumeRequest(input, context), - [_A]: _DV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVolumeCommand"); -var se_DeleteVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpcRequest(input, context), - [_A]: _DVe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpcCommand"); -var se_DeleteVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpcEndpointConnectionNotificationsRequest(input, context), - [_A]: _DVECN, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpcEndpointConnectionNotificationsCommand"); -var se_DeleteVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpcEndpointsRequest(input, context), - [_A]: _DVE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpcEndpointsCommand"); -var se_DeleteVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpcEndpointServiceConfigurationsRequest(input, context), - [_A]: _DVESC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpcEndpointServiceConfigurationsCommand"); -var se_DeleteVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpcPeeringConnectionRequest(input, context), - [_A]: _DVPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpcPeeringConnectionCommand"); -var se_DeleteVpnConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpnConnectionRequest(input, context), - [_A]: _DVC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpnConnectionCommand"); -var se_DeleteVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpnConnectionRouteRequest(input, context), - [_A]: _DVCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpnConnectionRouteCommand"); -var se_DeleteVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpnGatewayRequest(input, context), - [_A]: _DVG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpnGatewayCommand"); -var se_DeprovisionByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeprovisionByoipCidrRequest(input, context), - [_A]: _DBC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeprovisionByoipCidrCommand"); -var se_DeprovisionIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeprovisionIpamByoasnRequest(input, context), - [_A]: _DIB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeprovisionIpamByoasnCommand"); -var se_DeprovisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeprovisionIpamPoolCidrRequest(input, context), - [_A]: _DIPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeprovisionIpamPoolCidrCommand"); -var se_DeprovisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeprovisionPublicIpv4PoolCidrRequest(input, context), - [_A]: _DPIPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeprovisionPublicIpv4PoolCidrCommand"); -var se_DeregisterImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeregisterImageRequest(input, context), - [_A]: _DIe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeregisterImageCommand"); -var se_DeregisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeregisterInstanceEventNotificationAttributesRequest(input, context), - [_A]: _DIENA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeregisterInstanceEventNotificationAttributesCommand"); -var se_DeregisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeregisterTransitGatewayMulticastGroupMembersRequest(input, context), - [_A]: _DTGMGM, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeregisterTransitGatewayMulticastGroupMembersCommand"); -var se_DeregisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeregisterTransitGatewayMulticastGroupSourcesRequest(input, context), - [_A]: _DTGMGS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeregisterTransitGatewayMulticastGroupSourcesCommand"); -var se_DescribeAccountAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAccountAttributesRequest(input, context), - [_A]: _DAA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAccountAttributesCommand"); -var se_DescribeAddressesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAddressesRequest(input, context), - [_A]: _DA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAddressesCommand"); -var se_DescribeAddressesAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAddressesAttributeRequest(input, context), - [_A]: _DAAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAddressesAttributeCommand"); -var se_DescribeAddressTransfersCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAddressTransfersRequest(input, context), - [_A]: _DAT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAddressTransfersCommand"); -var se_DescribeAggregateIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAggregateIdFormatRequest(input, context), - [_A]: _DAIF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAggregateIdFormatCommand"); -var se_DescribeAvailabilityZonesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAvailabilityZonesRequest(input, context), - [_A]: _DAZ, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAvailabilityZonesCommand"); -var se_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAwsNetworkPerformanceMetricSubscriptionsRequest(input, context), - [_A]: _DANPMS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand"); -var se_DescribeBundleTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeBundleTasksRequest(input, context), - [_A]: _DBT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeBundleTasksCommand"); -var se_DescribeByoipCidrsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeByoipCidrsRequest(input, context), - [_A]: _DBCe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeByoipCidrsCommand"); -var se_DescribeCapacityBlockOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCapacityBlockOfferingsRequest(input, context), - [_A]: _DCBO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCapacityBlockOfferingsCommand"); -var se_DescribeCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCapacityReservationFleetsRequest(input, context), - [_A]: _DCRF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCapacityReservationFleetsCommand"); -var se_DescribeCapacityReservationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCapacityReservationsRequest(input, context), - [_A]: _DCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCapacityReservationsCommand"); -var se_DescribeCarrierGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCarrierGatewaysRequest(input, context), - [_A]: _DCGes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCarrierGatewaysCommand"); -var se_DescribeClassicLinkInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClassicLinkInstancesRequest(input, context), - [_A]: _DCLI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClassicLinkInstancesCommand"); -var se_DescribeClientVpnAuthorizationRulesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClientVpnAuthorizationRulesRequest(input, context), - [_A]: _DCVAR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClientVpnAuthorizationRulesCommand"); -var se_DescribeClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClientVpnConnectionsRequest(input, context), - [_A]: _DCVC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClientVpnConnectionsCommand"); -var se_DescribeClientVpnEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClientVpnEndpointsRequest(input, context), - [_A]: _DCVEe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClientVpnEndpointsCommand"); -var se_DescribeClientVpnRoutesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClientVpnRoutesRequest(input, context), - [_A]: _DCVRe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClientVpnRoutesCommand"); -var se_DescribeClientVpnTargetNetworksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClientVpnTargetNetworksRequest(input, context), - [_A]: _DCVTN, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClientVpnTargetNetworksCommand"); -var se_DescribeCoipPoolsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCoipPoolsRequest(input, context), - [_A]: _DCPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCoipPoolsCommand"); -var se_DescribeConversionTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeConversionTasksRequest(input, context), - [_A]: _DCT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeConversionTasksCommand"); -var se_DescribeCustomerGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCustomerGatewaysRequest(input, context), - [_A]: _DCGesc, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCustomerGatewaysCommand"); -var se_DescribeDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeDhcpOptionsRequest(input, context), - [_A]: _DDOe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeDhcpOptionsCommand"); -var se_DescribeEgressOnlyInternetGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeEgressOnlyInternetGatewaysRequest(input, context), - [_A]: _DEOIGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeEgressOnlyInternetGatewaysCommand"); -var se_DescribeElasticGpusCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeElasticGpusRequest(input, context), - [_A]: _DEG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeElasticGpusCommand"); -var se_DescribeExportImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeExportImageTasksRequest(input, context), - [_A]: _DEIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeExportImageTasksCommand"); -var se_DescribeExportTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeExportTasksRequest(input, context), - [_A]: _DET, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeExportTasksCommand"); -var se_DescribeFastLaunchImagesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFastLaunchImagesRequest(input, context), - [_A]: _DFLI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFastLaunchImagesCommand"); -var se_DescribeFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFastSnapshotRestoresRequest(input, context), - [_A]: _DFSR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFastSnapshotRestoresCommand"); -var se_DescribeFleetHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFleetHistoryRequest(input, context), - [_A]: _DFH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFleetHistoryCommand"); -var se_DescribeFleetInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFleetInstancesRequest(input, context), - [_A]: _DFIe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFleetInstancesCommand"); -var se_DescribeFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFleetsRequest(input, context), - [_A]: _DFe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFleetsCommand"); -var se_DescribeFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFlowLogsRequest(input, context), - [_A]: _DFLe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFlowLogsCommand"); -var se_DescribeFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFpgaImageAttributeRequest(input, context), - [_A]: _DFIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFpgaImageAttributeCommand"); -var se_DescribeFpgaImagesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFpgaImagesRequest(input, context), - [_A]: _DFIes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFpgaImagesCommand"); -var se_DescribeHostReservationOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeHostReservationOfferingsRequest(input, context), - [_A]: _DHRO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeHostReservationOfferingsCommand"); -var se_DescribeHostReservationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeHostReservationsRequest(input, context), - [_A]: _DHR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeHostReservationsCommand"); -var se_DescribeHostsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeHostsRequest(input, context), - [_A]: _DH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeHostsCommand"); -var se_DescribeIamInstanceProfileAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIamInstanceProfileAssociationsRequest(input, context), - [_A]: _DIIPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIamInstanceProfileAssociationsCommand"); -var se_DescribeIdentityIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIdentityIdFormatRequest(input, context), - [_A]: _DIIF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIdentityIdFormatCommand"); -var se_DescribeIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIdFormatRequest(input, context), - [_A]: _DIF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIdFormatCommand"); -var se_DescribeImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeImageAttributeRequest(input, context), - [_A]: _DIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeImageAttributeCommand"); -var se_DescribeImagesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeImagesRequest(input, context), - [_A]: _DIes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeImagesCommand"); -var se_DescribeImportImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeImportImageTasksRequest(input, context), - [_A]: _DIIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeImportImageTasksCommand"); -var se_DescribeImportSnapshotTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeImportSnapshotTasksRequest(input, context), - [_A]: _DIST, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeImportSnapshotTasksCommand"); -var se_DescribeInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceAttributeRequest(input, context), - [_A]: _DIAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceAttributeCommand"); -var se_DescribeInstanceConnectEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceConnectEndpointsRequest(input, context), - [_A]: _DICEe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceConnectEndpointsCommand"); -var se_DescribeInstanceCreditSpecificationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceCreditSpecificationsRequest(input, context), - [_A]: _DICS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceCreditSpecificationsCommand"); -var se_DescribeInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceEventNotificationAttributesRequest(input, context), - [_A]: _DIENAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceEventNotificationAttributesCommand"); -var se_DescribeInstanceEventWindowsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceEventWindowsRequest(input, context), - [_A]: _DIEWe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceEventWindowsCommand"); -var se_DescribeInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstancesRequest(input, context), - [_A]: _DIesc, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstancesCommand"); -var se_DescribeInstanceStatusCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceStatusRequest(input, context), - [_A]: _DISe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceStatusCommand"); -var se_DescribeInstanceTopologyCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceTopologyRequest(input, context), - [_A]: _DIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceTopologyCommand"); -var se_DescribeInstanceTypeOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceTypeOfferingsRequest(input, context), - [_A]: _DITO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceTypeOfferingsCommand"); -var se_DescribeInstanceTypesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceTypesRequest(input, context), - [_A]: _DITe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceTypesCommand"); -var se_DescribeInternetGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInternetGatewaysRequest(input, context), - [_A]: _DIGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInternetGatewaysCommand"); -var se_DescribeIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamByoasnRequest(input, context), - [_A]: _DIBe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamByoasnCommand"); -var se_DescribeIpamPoolsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamPoolsRequest(input, context), - [_A]: _DIPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamPoolsCommand"); -var se_DescribeIpamResourceDiscoveriesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamResourceDiscoveriesRequest(input, context), - [_A]: _DIRDe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamResourceDiscoveriesCommand"); -var se_DescribeIpamResourceDiscoveryAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamResourceDiscoveryAssociationsRequest(input, context), - [_A]: _DIRDA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamResourceDiscoveryAssociationsCommand"); -var se_DescribeIpamsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamsRequest(input, context), - [_A]: _DIescr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamsCommand"); -var se_DescribeIpamScopesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamScopesRequest(input, context), - [_A]: _DISes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamScopesCommand"); -var se_DescribeIpv6PoolsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpv6PoolsRequest(input, context), - [_A]: _DIPes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpv6PoolsCommand"); -var se_DescribeKeyPairsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeKeyPairsRequest(input, context), - [_A]: _DKPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeKeyPairsCommand"); -var se_DescribeLaunchTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLaunchTemplatesRequest(input, context), - [_A]: _DLTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLaunchTemplatesCommand"); -var se_DescribeLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLaunchTemplateVersionsRequest(input, context), - [_A]: _DLTVe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLaunchTemplateVersionsCommand"); -var se_DescribeLocalGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewayRouteTablesRequest(input, context), - [_A]: _DLGRTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewayRouteTablesCommand"); -var se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest(input, context), - [_A]: _DLGRTVIGAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand"); -var se_DescribeLocalGatewayRouteTableVpcAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewayRouteTableVpcAssociationsRequest(input, context), - [_A]: _DLGRTVAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewayRouteTableVpcAssociationsCommand"); -var se_DescribeLocalGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewaysRequest(input, context), - [_A]: _DLG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewaysCommand"); -var se_DescribeLocalGatewayVirtualInterfaceGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewayVirtualInterfaceGroupsRequest(input, context), - [_A]: _DLGVIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewayVirtualInterfaceGroupsCommand"); -var se_DescribeLocalGatewayVirtualInterfacesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewayVirtualInterfacesRequest(input, context), - [_A]: _DLGVI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewayVirtualInterfacesCommand"); -var se_DescribeLockedSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLockedSnapshotsRequest(input, context), - [_A]: _DLS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLockedSnapshotsCommand"); -var se_DescribeMacHostsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeMacHostsRequest(input, context), - [_A]: _DMH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeMacHostsCommand"); -var se_DescribeManagedPrefixListsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeManagedPrefixListsRequest(input, context), - [_A]: _DMPLe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeManagedPrefixListsCommand"); -var se_DescribeMovingAddressesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeMovingAddressesRequest(input, context), - [_A]: _DMA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeMovingAddressesCommand"); -var se_DescribeNatGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNatGatewaysRequest(input, context), - [_A]: _DNGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNatGatewaysCommand"); -var se_DescribeNetworkAclsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkAclsRequest(input, context), - [_A]: _DNAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkAclsCommand"); -var se_DescribeNetworkInsightsAccessScopeAnalysesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInsightsAccessScopeAnalysesRequest(input, context), - [_A]: _DNIASAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInsightsAccessScopeAnalysesCommand"); -var se_DescribeNetworkInsightsAccessScopesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInsightsAccessScopesRequest(input, context), - [_A]: _DNIASe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInsightsAccessScopesCommand"); -var se_DescribeNetworkInsightsAnalysesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInsightsAnalysesRequest(input, context), - [_A]: _DNIAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInsightsAnalysesCommand"); -var se_DescribeNetworkInsightsPathsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInsightsPathsRequest(input, context), - [_A]: _DNIPes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInsightsPathsCommand"); -var se_DescribeNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInterfaceAttributeRequest(input, context), - [_A]: _DNIAes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInterfaceAttributeCommand"); -var se_DescribeNetworkInterfacePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInterfacePermissionsRequest(input, context), - [_A]: _DNIPesc, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInterfacePermissionsCommand"); -var se_DescribeNetworkInterfacesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInterfacesRequest(input, context), - [_A]: _DNIe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInterfacesCommand"); -var se_DescribePlacementGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribePlacementGroupsRequest(input, context), - [_A]: _DPGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribePlacementGroupsCommand"); -var se_DescribePrefixListsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribePrefixListsRequest(input, context), - [_A]: _DPL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribePrefixListsCommand"); -var se_DescribePrincipalIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribePrincipalIdFormatRequest(input, context), - [_A]: _DPIF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribePrincipalIdFormatCommand"); -var se_DescribePublicIpv4PoolsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribePublicIpv4PoolsRequest(input, context), - [_A]: _DPIPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribePublicIpv4PoolsCommand"); -var se_DescribeRegionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeRegionsRequest(input, context), - [_A]: _DRe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeRegionsCommand"); -var se_DescribeReplaceRootVolumeTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeReplaceRootVolumeTasksRequest(input, context), - [_A]: _DRRVT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeReplaceRootVolumeTasksCommand"); -var se_DescribeReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeReservedInstancesRequest(input, context), - [_A]: _DRI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeReservedInstancesCommand"); -var se_DescribeReservedInstancesListingsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeReservedInstancesListingsRequest(input, context), - [_A]: _DRIL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeReservedInstancesListingsCommand"); -var se_DescribeReservedInstancesModificationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeReservedInstancesModificationsRequest(input, context), - [_A]: _DRIM, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeReservedInstancesModificationsCommand"); -var se_DescribeReservedInstancesOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeReservedInstancesOfferingsRequest(input, context), - [_A]: _DRIO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeReservedInstancesOfferingsCommand"); -var se_DescribeRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeRouteTablesRequest(input, context), - [_A]: _DRTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeRouteTablesCommand"); -var se_DescribeScheduledInstanceAvailabilityCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeScheduledInstanceAvailabilityRequest(input, context), - [_A]: _DSIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeScheduledInstanceAvailabilityCommand"); -var se_DescribeScheduledInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeScheduledInstancesRequest(input, context), - [_A]: _DSI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeScheduledInstancesCommand"); -var se_DescribeSecurityGroupReferencesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSecurityGroupReferencesRequest(input, context), - [_A]: _DSGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSecurityGroupReferencesCommand"); -var se_DescribeSecurityGroupRulesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSecurityGroupRulesRequest(input, context), - [_A]: _DSGRe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSecurityGroupRulesCommand"); -var se_DescribeSecurityGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSecurityGroupsRequest(input, context), - [_A]: _DSGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSecurityGroupsCommand"); -var se_DescribeSnapshotAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSnapshotAttributeRequest(input, context), - [_A]: _DSA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSnapshotAttributeCommand"); -var se_DescribeSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSnapshotsRequest(input, context), - [_A]: _DSes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSnapshotsCommand"); -var se_DescribeSnapshotTierStatusCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSnapshotTierStatusRequest(input, context), - [_A]: _DSTS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSnapshotTierStatusCommand"); -var se_DescribeSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotDatafeedSubscriptionRequest(input, context), - [_A]: _DSDSe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotDatafeedSubscriptionCommand"); -var se_DescribeSpotFleetInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotFleetInstancesRequest(input, context), - [_A]: _DSFI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotFleetInstancesCommand"); -var se_DescribeSpotFleetRequestHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotFleetRequestHistoryRequest(input, context), - [_A]: _DSFRH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotFleetRequestHistoryCommand"); -var se_DescribeSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotFleetRequestsRequest(input, context), - [_A]: _DSFR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotFleetRequestsCommand"); -var se_DescribeSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotInstanceRequestsRequest(input, context), - [_A]: _DSIR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotInstanceRequestsCommand"); -var se_DescribeSpotPriceHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotPriceHistoryRequest(input, context), - [_A]: _DSPH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotPriceHistoryCommand"); -var se_DescribeStaleSecurityGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeStaleSecurityGroupsRequest(input, context), - [_A]: _DSSG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeStaleSecurityGroupsCommand"); -var se_DescribeStoreImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeStoreImageTasksRequest(input, context), - [_A]: _DSIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeStoreImageTasksCommand"); -var se_DescribeSubnetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSubnetsRequest(input, context), - [_A]: _DSesc, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSubnetsCommand"); -var se_DescribeTagsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTagsRequest(input, context), - [_A]: _DTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTagsCommand"); -var se_DescribeTrafficMirrorFiltersCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTrafficMirrorFiltersRequest(input, context), - [_A]: _DTMFe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTrafficMirrorFiltersCommand"); -var se_DescribeTrafficMirrorSessionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTrafficMirrorSessionsRequest(input, context), - [_A]: _DTMSe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTrafficMirrorSessionsCommand"); -var se_DescribeTrafficMirrorTargetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTrafficMirrorTargetsRequest(input, context), - [_A]: _DTMTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTrafficMirrorTargetsCommand"); -var se_DescribeTransitGatewayAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayAttachmentsRequest(input, context), - [_A]: _DTGA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayAttachmentsCommand"); -var se_DescribeTransitGatewayConnectPeersCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayConnectPeersRequest(input, context), - [_A]: _DTGCPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayConnectPeersCommand"); -var se_DescribeTransitGatewayConnectsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayConnectsRequest(input, context), - [_A]: _DTGCe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayConnectsCommand"); -var se_DescribeTransitGatewayMulticastDomainsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayMulticastDomainsRequest(input, context), - [_A]: _DTGMDe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayMulticastDomainsCommand"); -var se_DescribeTransitGatewayPeeringAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayPeeringAttachmentsRequest(input, context), - [_A]: _DTGPAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayPeeringAttachmentsCommand"); -var se_DescribeTransitGatewayPolicyTablesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayPolicyTablesRequest(input, context), - [_A]: _DTGPTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayPolicyTablesCommand"); -var se_DescribeTransitGatewayRouteTableAnnouncementsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayRouteTableAnnouncementsRequest(input, context), - [_A]: _DTGRTAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayRouteTableAnnouncementsCommand"); -var se_DescribeTransitGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayRouteTablesRequest(input, context), - [_A]: _DTGRTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayRouteTablesCommand"); -var se_DescribeTransitGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewaysRequest(input, context), - [_A]: _DTGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewaysCommand"); -var se_DescribeTransitGatewayVpcAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayVpcAttachmentsRequest(input, context), - [_A]: _DTGVAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayVpcAttachmentsCommand"); -var se_DescribeTrunkInterfaceAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTrunkInterfaceAssociationsRequest(input, context), - [_A]: _DTIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTrunkInterfaceAssociationsCommand"); -var se_DescribeVerifiedAccessEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVerifiedAccessEndpointsRequest(input, context), - [_A]: _DVAEe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVerifiedAccessEndpointsCommand"); -var se_DescribeVerifiedAccessGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVerifiedAccessGroupsRequest(input, context), - [_A]: _DVAGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVerifiedAccessGroupsCommand"); -var se_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(input, context), - [_A]: _DVAILC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand"); -var se_DescribeVerifiedAccessInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVerifiedAccessInstancesRequest(input, context), - [_A]: _DVAIe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVerifiedAccessInstancesCommand"); -var se_DescribeVerifiedAccessTrustProvidersCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVerifiedAccessTrustProvidersRequest(input, context), - [_A]: _DVATPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVerifiedAccessTrustProvidersCommand"); -var se_DescribeVolumeAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVolumeAttributeRequest(input, context), - [_A]: _DVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVolumeAttributeCommand"); -var se_DescribeVolumesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVolumesRequest(input, context), - [_A]: _DVes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVolumesCommand"); -var se_DescribeVolumesModificationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVolumesModificationsRequest(input, context), - [_A]: _DVM, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVolumesModificationsCommand"); -var se_DescribeVolumeStatusCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVolumeStatusRequest(input, context), - [_A]: _DVS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVolumeStatusCommand"); -var se_DescribeVpcAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcAttributeRequest(input, context), - [_A]: _DVAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcAttributeCommand"); -var se_DescribeVpcClassicLinkCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcClassicLinkRequest(input, context), - [_A]: _DVCL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcClassicLinkCommand"); -var se_DescribeVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcClassicLinkDnsSupportRequest(input, context), - [_A]: _DVCLDS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcClassicLinkDnsSupportCommand"); -var se_DescribeVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointConnectionNotificationsRequest(input, context), - [_A]: _DVECNe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointConnectionNotificationsCommand"); -var se_DescribeVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointConnectionsRequest(input, context), - [_A]: _DVEC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointConnectionsCommand"); -var se_DescribeVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointsRequest(input, context), - [_A]: _DVEe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointsCommand"); -var se_DescribeVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointServiceConfigurationsRequest(input, context), - [_A]: _DVESCe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointServiceConfigurationsCommand"); -var se_DescribeVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointServicePermissionsRequest(input, context), - [_A]: _DVESP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointServicePermissionsCommand"); -var se_DescribeVpcEndpointServicesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointServicesRequest(input, context), - [_A]: _DVES, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointServicesCommand"); -var se_DescribeVpcPeeringConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcPeeringConnectionsRequest(input, context), - [_A]: _DVPCe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcPeeringConnectionsCommand"); -var se_DescribeVpcsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcsRequest(input, context), - [_A]: _DVesc, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcsCommand"); -var se_DescribeVpnConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpnConnectionsRequest(input, context), - [_A]: _DVCe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpnConnectionsCommand"); -var se_DescribeVpnGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpnGatewaysRequest(input, context), - [_A]: _DVGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpnGatewaysCommand"); -var se_DetachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachClassicLinkVpcRequest(input, context), - [_A]: _DCLV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachClassicLinkVpcCommand"); -var se_DetachInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachInternetGatewayRequest(input, context), - [_A]: _DIGet, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachInternetGatewayCommand"); -var se_DetachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachNetworkInterfaceRequest(input, context), - [_A]: _DNIet, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachNetworkInterfaceCommand"); -var se_DetachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachVerifiedAccessTrustProviderRequest(input, context), - [_A]: _DVATPet, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachVerifiedAccessTrustProviderCommand"); -var se_DetachVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachVolumeRequest(input, context), - [_A]: _DVet, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachVolumeCommand"); -var se_DetachVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachVpnGatewayRequest(input, context), - [_A]: _DVGet, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachVpnGatewayCommand"); -var se_DisableAddressTransferCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableAddressTransferRequest(input, context), - [_A]: _DATi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableAddressTransferCommand"); -var se_DisableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableAwsNetworkPerformanceMetricSubscriptionRequest(input, context), - [_A]: _DANPMSi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableAwsNetworkPerformanceMetricSubscriptionCommand"); -var se_DisableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableEbsEncryptionByDefaultRequest(input, context), - [_A]: _DEEBD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableEbsEncryptionByDefaultCommand"); -var se_DisableFastLaunchCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableFastLaunchRequest(input, context), - [_A]: _DFLi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableFastLaunchCommand"); -var se_DisableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableFastSnapshotRestoresRequest(input, context), - [_A]: _DFSRi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableFastSnapshotRestoresCommand"); -var se_DisableImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableImageRequest(input, context), - [_A]: _DIi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableImageCommand"); -var se_DisableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableImageBlockPublicAccessRequest(input, context), - [_A]: _DIBPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableImageBlockPublicAccessCommand"); -var se_DisableImageDeprecationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableImageDeprecationRequest(input, context), - [_A]: _DID, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableImageDeprecationCommand"); -var se_DisableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableIpamOrganizationAdminAccountRequest(input, context), - [_A]: _DIOAA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableIpamOrganizationAdminAccountCommand"); -var se_DisableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableSerialConsoleAccessRequest(input, context), - [_A]: _DSCA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableSerialConsoleAccessCommand"); -var se_DisableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableSnapshotBlockPublicAccessRequest(input, context), - [_A]: _DSBPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableSnapshotBlockPublicAccessCommand"); -var se_DisableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableTransitGatewayRouteTablePropagationRequest(input, context), - [_A]: _DTGRTP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableTransitGatewayRouteTablePropagationCommand"); -var se_DisableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableVgwRoutePropagationRequest(input, context), - [_A]: _DVRP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableVgwRoutePropagationCommand"); -var se_DisableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableVpcClassicLinkRequest(input, context), - [_A]: _DVCLi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableVpcClassicLinkCommand"); -var se_DisableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableVpcClassicLinkDnsSupportRequest(input, context), - [_A]: _DVCLDSi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableVpcClassicLinkDnsSupportCommand"); -var se_DisassociateAddressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateAddressRequest(input, context), - [_A]: _DAi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateAddressCommand"); -var se_DisassociateClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateClientVpnTargetNetworkRequest(input, context), - [_A]: _DCVTNi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateClientVpnTargetNetworkCommand"); -var se_DisassociateEnclaveCertificateIamRoleCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateEnclaveCertificateIamRoleRequest(input, context), - [_A]: _DECIR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateEnclaveCertificateIamRoleCommand"); -var se_DisassociateIamInstanceProfileCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateIamInstanceProfileRequest(input, context), - [_A]: _DIIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateIamInstanceProfileCommand"); -var se_DisassociateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateInstanceEventWindowRequest(input, context), - [_A]: _DIEWi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateInstanceEventWindowCommand"); -var se_DisassociateIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateIpamByoasnRequest(input, context), - [_A]: _DIBi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateIpamByoasnCommand"); -var se_DisassociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateIpamResourceDiscoveryRequest(input, context), - [_A]: _DIRDi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateIpamResourceDiscoveryCommand"); -var se_DisassociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateNatGatewayAddressRequest(input, context), - [_A]: _DNGA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateNatGatewayAddressCommand"); -var se_DisassociateRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateRouteTableRequest(input, context), - [_A]: _DRTi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateRouteTableCommand"); -var se_DisassociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateSubnetCidrBlockRequest(input, context), - [_A]: _DSCB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateSubnetCidrBlockCommand"); -var se_DisassociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateTransitGatewayMulticastDomainRequest(input, context), - [_A]: _DTGMDi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateTransitGatewayMulticastDomainCommand"); -var se_DisassociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateTransitGatewayPolicyTableRequest(input, context), - [_A]: _DTGPTi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateTransitGatewayPolicyTableCommand"); -var se_DisassociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateTransitGatewayRouteTableRequest(input, context), - [_A]: _DTGRTi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateTransitGatewayRouteTableCommand"); -var se_DisassociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateTrunkInterfaceRequest(input, context), - [_A]: _DTI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateTrunkInterfaceCommand"); -var se_DisassociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisassociateVpcCidrBlockRequest(input, context), - [_A]: _DVCB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisassociateVpcCidrBlockCommand"); -var se_EnableAddressTransferCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableAddressTransferRequest(input, context), - [_A]: _EAT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableAddressTransferCommand"); -var se_EnableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableAwsNetworkPerformanceMetricSubscriptionRequest(input, context), - [_A]: _EANPMS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableAwsNetworkPerformanceMetricSubscriptionCommand"); -var se_EnableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableEbsEncryptionByDefaultRequest(input, context), - [_A]: _EEEBD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableEbsEncryptionByDefaultCommand"); -var se_EnableFastLaunchCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableFastLaunchRequest(input, context), - [_A]: _EFL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableFastLaunchCommand"); -var se_EnableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableFastSnapshotRestoresRequest(input, context), - [_A]: _EFSR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableFastSnapshotRestoresCommand"); -var se_EnableImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableImageRequest(input, context), - [_A]: _EI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableImageCommand"); -var se_EnableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableImageBlockPublicAccessRequest(input, context), - [_A]: _EIBPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableImageBlockPublicAccessCommand"); -var se_EnableImageDeprecationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableImageDeprecationRequest(input, context), - [_A]: _EID, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableImageDeprecationCommand"); -var se_EnableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableIpamOrganizationAdminAccountRequest(input, context), - [_A]: _EIOAA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableIpamOrganizationAdminAccountCommand"); -var se_EnableReachabilityAnalyzerOrganizationSharingCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableReachabilityAnalyzerOrganizationSharingRequest(input, context), - [_A]: _ERAOS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableReachabilityAnalyzerOrganizationSharingCommand"); -var se_EnableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableSerialConsoleAccessRequest(input, context), - [_A]: _ESCA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableSerialConsoleAccessCommand"); -var se_EnableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableSnapshotBlockPublicAccessRequest(input, context), - [_A]: _ESBPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableSnapshotBlockPublicAccessCommand"); -var se_EnableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableTransitGatewayRouteTablePropagationRequest(input, context), - [_A]: _ETGRTP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableTransitGatewayRouteTablePropagationCommand"); -var se_EnableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableVgwRoutePropagationRequest(input, context), - [_A]: _EVRP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableVgwRoutePropagationCommand"); -var se_EnableVolumeIOCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableVolumeIORequest(input, context), - [_A]: _EVIO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableVolumeIOCommand"); -var se_EnableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableVpcClassicLinkRequest(input, context), - [_A]: _EVCL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableVpcClassicLinkCommand"); -var se_EnableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_EnableVpcClassicLinkDnsSupportRequest(input, context), - [_A]: _EVCLDS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_EnableVpcClassicLinkDnsSupportCommand"); -var se_ExportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ExportClientVpnClientCertificateRevocationListRequest(input, context), - [_A]: _ECVCCRL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ExportClientVpnClientCertificateRevocationListCommand"); -var se_ExportClientVpnClientConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ExportClientVpnClientConfigurationRequest(input, context), - [_A]: _ECVCC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ExportClientVpnClientConfigurationCommand"); -var se_ExportImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ExportImageRequest(input, context), - [_A]: _EIx, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ExportImageCommand"); -var se_ExportTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ExportTransitGatewayRoutesRequest(input, context), - [_A]: _ETGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ExportTransitGatewayRoutesCommand"); -var se_GetAssociatedEnclaveCertificateIamRolesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetAssociatedEnclaveCertificateIamRolesRequest(input, context), - [_A]: _GAECIR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetAssociatedEnclaveCertificateIamRolesCommand"); -var se_GetAssociatedIpv6PoolCidrsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetAssociatedIpv6PoolCidrsRequest(input, context), - [_A]: _GAIPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetAssociatedIpv6PoolCidrsCommand"); -var se_GetAwsNetworkPerformanceDataCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetAwsNetworkPerformanceDataRequest(input, context), - [_A]: _GANPD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetAwsNetworkPerformanceDataCommand"); -var se_GetCapacityReservationUsageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetCapacityReservationUsageRequest(input, context), - [_A]: _GCRU, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetCapacityReservationUsageCommand"); -var se_GetCoipPoolUsageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetCoipPoolUsageRequest(input, context), - [_A]: _GCPU, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetCoipPoolUsageCommand"); -var se_GetConsoleOutputCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetConsoleOutputRequest(input, context), - [_A]: _GCO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetConsoleOutputCommand"); -var se_GetConsoleScreenshotCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetConsoleScreenshotRequest(input, context), - [_A]: _GCS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetConsoleScreenshotCommand"); -var se_GetDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetDefaultCreditSpecificationRequest(input, context), - [_A]: _GDCS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetDefaultCreditSpecificationCommand"); -var se_GetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetEbsDefaultKmsKeyIdRequest(input, context), - [_A]: _GEDKKI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetEbsDefaultKmsKeyIdCommand"); -var se_GetEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetEbsEncryptionByDefaultRequest(input, context), - [_A]: _GEEBD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetEbsEncryptionByDefaultCommand"); -var se_GetFlowLogsIntegrationTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetFlowLogsIntegrationTemplateRequest(input, context), - [_A]: _GFLIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetFlowLogsIntegrationTemplateCommand"); -var se_GetGroupsForCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetGroupsForCapacityReservationRequest(input, context), - [_A]: _GGFCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetGroupsForCapacityReservationCommand"); -var se_GetHostReservationPurchasePreviewCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetHostReservationPurchasePreviewRequest(input, context), - [_A]: _GHRPP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetHostReservationPurchasePreviewCommand"); -var se_GetImageBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetImageBlockPublicAccessStateRequest(input, context), - [_A]: _GIBPAS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetImageBlockPublicAccessStateCommand"); -var se_GetInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetInstanceMetadataDefaultsRequest(input, context), - [_A]: _GIMD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetInstanceMetadataDefaultsCommand"); -var se_GetInstanceTypesFromInstanceRequirementsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetInstanceTypesFromInstanceRequirementsRequest(input, context), - [_A]: _GITFIR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetInstanceTypesFromInstanceRequirementsCommand"); -var se_GetInstanceUefiDataCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetInstanceUefiDataRequest(input, context), - [_A]: _GIUD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetInstanceUefiDataCommand"); -var se_GetIpamAddressHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetIpamAddressHistoryRequest(input, context), - [_A]: _GIAH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetIpamAddressHistoryCommand"); -var se_GetIpamDiscoveredAccountsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetIpamDiscoveredAccountsRequest(input, context), - [_A]: _GIDA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetIpamDiscoveredAccountsCommand"); -var se_GetIpamDiscoveredPublicAddressesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetIpamDiscoveredPublicAddressesRequest(input, context), - [_A]: _GIDPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetIpamDiscoveredPublicAddressesCommand"); -var se_GetIpamDiscoveredResourceCidrsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetIpamDiscoveredResourceCidrsRequest(input, context), - [_A]: _GIDRC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetIpamDiscoveredResourceCidrsCommand"); -var se_GetIpamPoolAllocationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetIpamPoolAllocationsRequest(input, context), - [_A]: _GIPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetIpamPoolAllocationsCommand"); -var se_GetIpamPoolCidrsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetIpamPoolCidrsRequest(input, context), - [_A]: _GIPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetIpamPoolCidrsCommand"); -var se_GetIpamResourceCidrsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetIpamResourceCidrsRequest(input, context), - [_A]: _GIRC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetIpamResourceCidrsCommand"); -var se_GetLaunchTemplateDataCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetLaunchTemplateDataRequest(input, context), - [_A]: _GLTD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetLaunchTemplateDataCommand"); -var se_GetManagedPrefixListAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetManagedPrefixListAssociationsRequest(input, context), - [_A]: _GMPLA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetManagedPrefixListAssociationsCommand"); -var se_GetManagedPrefixListEntriesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetManagedPrefixListEntriesRequest(input, context), - [_A]: _GMPLE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetManagedPrefixListEntriesCommand"); -var se_GetNetworkInsightsAccessScopeAnalysisFindingsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetNetworkInsightsAccessScopeAnalysisFindingsRequest(input, context), - [_A]: _GNIASAF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetNetworkInsightsAccessScopeAnalysisFindingsCommand"); -var se_GetNetworkInsightsAccessScopeContentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetNetworkInsightsAccessScopeContentRequest(input, context), - [_A]: _GNIASC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetNetworkInsightsAccessScopeContentCommand"); -var se_GetPasswordDataCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetPasswordDataRequest(input, context), - [_A]: _GPD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetPasswordDataCommand"); -var se_GetReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetReservedInstancesExchangeQuoteRequest(input, context), - [_A]: _GRIEQ, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetReservedInstancesExchangeQuoteCommand"); -var se_GetSecurityGroupsForVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetSecurityGroupsForVpcRequest(input, context), - [_A]: _GSGFV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetSecurityGroupsForVpcCommand"); -var se_GetSerialConsoleAccessStatusCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetSerialConsoleAccessStatusRequest(input, context), - [_A]: _GSCAS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetSerialConsoleAccessStatusCommand"); -var se_GetSnapshotBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetSnapshotBlockPublicAccessStateRequest(input, context), - [_A]: _GSBPAS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetSnapshotBlockPublicAccessStateCommand"); -var se_GetSpotPlacementScoresCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetSpotPlacementScoresRequest(input, context), - [_A]: _GSPS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetSpotPlacementScoresCommand"); -var se_GetSubnetCidrReservationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetSubnetCidrReservationsRequest(input, context), - [_A]: _GSCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetSubnetCidrReservationsCommand"); -var se_GetTransitGatewayAttachmentPropagationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetTransitGatewayAttachmentPropagationsRequest(input, context), - [_A]: _GTGAP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetTransitGatewayAttachmentPropagationsCommand"); -var se_GetTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetTransitGatewayMulticastDomainAssociationsRequest(input, context), - [_A]: _GTGMDA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetTransitGatewayMulticastDomainAssociationsCommand"); -var se_GetTransitGatewayPolicyTableAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetTransitGatewayPolicyTableAssociationsRequest(input, context), - [_A]: _GTGPTA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetTransitGatewayPolicyTableAssociationsCommand"); -var se_GetTransitGatewayPolicyTableEntriesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetTransitGatewayPolicyTableEntriesRequest(input, context), - [_A]: _GTGPTE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetTransitGatewayPolicyTableEntriesCommand"); -var se_GetTransitGatewayPrefixListReferencesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetTransitGatewayPrefixListReferencesRequest(input, context), - [_A]: _GTGPLR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetTransitGatewayPrefixListReferencesCommand"); -var se_GetTransitGatewayRouteTableAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetTransitGatewayRouteTableAssociationsRequest(input, context), - [_A]: _GTGRTA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetTransitGatewayRouteTableAssociationsCommand"); -var se_GetTransitGatewayRouteTablePropagationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetTransitGatewayRouteTablePropagationsRequest(input, context), - [_A]: _GTGRTP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetTransitGatewayRouteTablePropagationsCommand"); -var se_GetVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetVerifiedAccessEndpointPolicyRequest(input, context), - [_A]: _GVAEP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetVerifiedAccessEndpointPolicyCommand"); -var se_GetVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetVerifiedAccessGroupPolicyRequest(input, context), - [_A]: _GVAGP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetVerifiedAccessGroupPolicyCommand"); -var se_GetVpnConnectionDeviceSampleConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetVpnConnectionDeviceSampleConfigurationRequest(input, context), - [_A]: _GVCDSC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetVpnConnectionDeviceSampleConfigurationCommand"); -var se_GetVpnConnectionDeviceTypesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetVpnConnectionDeviceTypesRequest(input, context), - [_A]: _GVCDT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetVpnConnectionDeviceTypesCommand"); -var se_GetVpnTunnelReplacementStatusCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_GetVpnTunnelReplacementStatusRequest(input, context), - [_A]: _GVTRS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_GetVpnTunnelReplacementStatusCommand"); -var se_ImportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ImportClientVpnClientCertificateRevocationListRequest(input, context), - [_A]: _ICVCCRL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ImportClientVpnClientCertificateRevocationListCommand"); -var se_ImportImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ImportImageRequest(input, context), - [_A]: _II, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ImportImageCommand"); -var se_ImportInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ImportInstanceRequest(input, context), - [_A]: _IIm, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ImportInstanceCommand"); -var se_ImportKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ImportKeyPairRequest(input, context), - [_A]: _IKP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ImportKeyPairCommand"); -var se_ImportSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ImportSnapshotRequest(input, context), - [_A]: _IS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ImportSnapshotCommand"); -var se_ImportVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ImportVolumeRequest(input, context), - [_A]: _IV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ImportVolumeCommand"); -var se_ListImagesInRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ListImagesInRecycleBinRequest(input, context), - [_A]: _LIIRB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ListImagesInRecycleBinCommand"); -var se_ListSnapshotsInRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ListSnapshotsInRecycleBinRequest(input, context), - [_A]: _LSIRB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ListSnapshotsInRecycleBinCommand"); -var se_LockSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_LockSnapshotRequest(input, context), - [_A]: _LS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_LockSnapshotCommand"); -var se_ModifyAddressAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyAddressAttributeRequest(input, context), - [_A]: _MAA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyAddressAttributeCommand"); -var se_ModifyAvailabilityZoneGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyAvailabilityZoneGroupRequest(input, context), - [_A]: _MAZG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyAvailabilityZoneGroupCommand"); -var se_ModifyCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyCapacityReservationRequest(input, context), - [_A]: _MCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyCapacityReservationCommand"); -var se_ModifyCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyCapacityReservationFleetRequest(input, context), - [_A]: _MCRF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyCapacityReservationFleetCommand"); -var se_ModifyClientVpnEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyClientVpnEndpointRequest(input, context), - [_A]: _MCVE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyClientVpnEndpointCommand"); -var se_ModifyDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyDefaultCreditSpecificationRequest(input, context), - [_A]: _MDCS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyDefaultCreditSpecificationCommand"); -var se_ModifyEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyEbsDefaultKmsKeyIdRequest(input, context), - [_A]: _MEDKKI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyEbsDefaultKmsKeyIdCommand"); -var se_ModifyFleetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyFleetRequest(input, context), - [_A]: _MF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyFleetCommand"); -var se_ModifyFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyFpgaImageAttributeRequest(input, context), - [_A]: _MFIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyFpgaImageAttributeCommand"); -var se_ModifyHostsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyHostsRequest(input, context), - [_A]: _MH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyHostsCommand"); -var se_ModifyIdentityIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyIdentityIdFormatRequest(input, context), - [_A]: _MIIF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyIdentityIdFormatCommand"); -var se_ModifyIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyIdFormatRequest(input, context), - [_A]: _MIF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyIdFormatCommand"); -var se_ModifyImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyImageAttributeRequest(input, context), - [_A]: _MIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyImageAttributeCommand"); -var se_ModifyInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyInstanceAttributeRequest(input, context), - [_A]: _MIAo, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyInstanceAttributeCommand"); -var se_ModifyInstanceCapacityReservationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyInstanceCapacityReservationAttributesRequest(input, context), - [_A]: _MICRA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyInstanceCapacityReservationAttributesCommand"); -var se_ModifyInstanceCreditSpecificationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyInstanceCreditSpecificationRequest(input, context), - [_A]: _MICS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyInstanceCreditSpecificationCommand"); -var se_ModifyInstanceEventStartTimeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyInstanceEventStartTimeRequest(input, context), - [_A]: _MIEST, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyInstanceEventStartTimeCommand"); -var se_ModifyInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyInstanceEventWindowRequest(input, context), - [_A]: _MIEW, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyInstanceEventWindowCommand"); -var se_ModifyInstanceMaintenanceOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyInstanceMaintenanceOptionsRequest(input, context), - [_A]: _MIMO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyInstanceMaintenanceOptionsCommand"); -var se_ModifyInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyInstanceMetadataDefaultsRequest(input, context), - [_A]: _MIMD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyInstanceMetadataDefaultsCommand"); -var se_ModifyInstanceMetadataOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyInstanceMetadataOptionsRequest(input, context), - [_A]: _MIMOo, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyInstanceMetadataOptionsCommand"); -var se_ModifyInstancePlacementCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyInstancePlacementRequest(input, context), - [_A]: _MIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyInstancePlacementCommand"); -var se_ModifyIpamCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyIpamRequest(input, context), - [_A]: _MI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyIpamCommand"); -var se_ModifyIpamPoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyIpamPoolRequest(input, context), - [_A]: _MIPo, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyIpamPoolCommand"); -var se_ModifyIpamResourceCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyIpamResourceCidrRequest(input, context), - [_A]: _MIRC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyIpamResourceCidrCommand"); -var se_ModifyIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyIpamResourceDiscoveryRequest(input, context), - [_A]: _MIRD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyIpamResourceDiscoveryCommand"); -var se_ModifyIpamScopeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyIpamScopeRequest(input, context), - [_A]: _MIS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyIpamScopeCommand"); -var se_ModifyLaunchTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyLaunchTemplateRequest(input, context), - [_A]: _MLT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyLaunchTemplateCommand"); -var se_ModifyLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyLocalGatewayRouteRequest(input, context), - [_A]: _MLGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyLocalGatewayRouteCommand"); -var se_ModifyManagedPrefixListCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyManagedPrefixListRequest(input, context), - [_A]: _MMPL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyManagedPrefixListCommand"); -var se_ModifyNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyNetworkInterfaceAttributeRequest(input, context), - [_A]: _MNIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyNetworkInterfaceAttributeCommand"); -var se_ModifyPrivateDnsNameOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyPrivateDnsNameOptionsRequest(input, context), - [_A]: _MPDNO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyPrivateDnsNameOptionsCommand"); -var se_ModifyReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyReservedInstancesRequest(input, context), - [_A]: _MRI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyReservedInstancesCommand"); -var se_ModifySecurityGroupRulesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifySecurityGroupRulesRequest(input, context), - [_A]: _MSGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifySecurityGroupRulesCommand"); -var se_ModifySnapshotAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifySnapshotAttributeRequest(input, context), - [_A]: _MSA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifySnapshotAttributeCommand"); -var se_ModifySnapshotTierCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifySnapshotTierRequest(input, context), - [_A]: _MST, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifySnapshotTierCommand"); -var se_ModifySpotFleetRequestCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifySpotFleetRequestRequest(input, context), - [_A]: _MSFR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifySpotFleetRequestCommand"); -var se_ModifySubnetAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifySubnetAttributeRequest(input, context), - [_A]: _MSAo, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifySubnetAttributeCommand"); -var se_ModifyTrafficMirrorFilterNetworkServicesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyTrafficMirrorFilterNetworkServicesRequest(input, context), - [_A]: _MTMFNS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyTrafficMirrorFilterNetworkServicesCommand"); -var se_ModifyTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyTrafficMirrorFilterRuleRequest(input, context), - [_A]: _MTMFR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyTrafficMirrorFilterRuleCommand"); -var se_ModifyTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyTrafficMirrorSessionRequest(input, context), - [_A]: _MTMS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyTrafficMirrorSessionCommand"); -var se_ModifyTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyTransitGatewayRequest(input, context), - [_A]: _MTG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyTransitGatewayCommand"); -var se_ModifyTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyTransitGatewayPrefixListReferenceRequest(input, context), - [_A]: _MTGPLR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyTransitGatewayPrefixListReferenceCommand"); -var se_ModifyTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyTransitGatewayVpcAttachmentRequest(input, context), - [_A]: _MTGVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyTransitGatewayVpcAttachmentCommand"); -var se_ModifyVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVerifiedAccessEndpointRequest(input, context), - [_A]: _MVAE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVerifiedAccessEndpointCommand"); -var se_ModifyVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVerifiedAccessEndpointPolicyRequest(input, context), - [_A]: _MVAEP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVerifiedAccessEndpointPolicyCommand"); -var se_ModifyVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVerifiedAccessGroupRequest(input, context), - [_A]: _MVAG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVerifiedAccessGroupCommand"); -var se_ModifyVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVerifiedAccessGroupPolicyRequest(input, context), - [_A]: _MVAGP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVerifiedAccessGroupPolicyCommand"); -var se_ModifyVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVerifiedAccessInstanceRequest(input, context), - [_A]: _MVAI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVerifiedAccessInstanceCommand"); -var se_ModifyVerifiedAccessInstanceLoggingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVerifiedAccessInstanceLoggingConfigurationRequest(input, context), - [_A]: _MVAILC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVerifiedAccessInstanceLoggingConfigurationCommand"); -var se_ModifyVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVerifiedAccessTrustProviderRequest(input, context), - [_A]: _MVATP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVerifiedAccessTrustProviderCommand"); -var se_ModifyVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVolumeRequest(input, context), - [_A]: _MV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVolumeCommand"); -var se_ModifyVolumeAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVolumeAttributeRequest(input, context), - [_A]: _MVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVolumeAttributeCommand"); -var se_ModifyVpcAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpcAttributeRequest(input, context), - [_A]: _MVAo, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpcAttributeCommand"); -var se_ModifyVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpcEndpointRequest(input, context), - [_A]: _MVE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpcEndpointCommand"); -var se_ModifyVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpcEndpointConnectionNotificationRequest(input, context), - [_A]: _MVECN, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpcEndpointConnectionNotificationCommand"); -var se_ModifyVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpcEndpointServiceConfigurationRequest(input, context), - [_A]: _MVESC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpcEndpointServiceConfigurationCommand"); -var se_ModifyVpcEndpointServicePayerResponsibilityCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpcEndpointServicePayerResponsibilityRequest(input, context), - [_A]: _MVESPR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpcEndpointServicePayerResponsibilityCommand"); -var se_ModifyVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpcEndpointServicePermissionsRequest(input, context), - [_A]: _MVESP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpcEndpointServicePermissionsCommand"); -var se_ModifyVpcPeeringConnectionOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpcPeeringConnectionOptionsRequest(input, context), - [_A]: _MVPCO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpcPeeringConnectionOptionsCommand"); -var se_ModifyVpcTenancyCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpcTenancyRequest(input, context), - [_A]: _MVT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpcTenancyCommand"); -var se_ModifyVpnConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpnConnectionRequest(input, context), - [_A]: _MVC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpnConnectionCommand"); -var se_ModifyVpnConnectionOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpnConnectionOptionsRequest(input, context), - [_A]: _MVCO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpnConnectionOptionsCommand"); -var se_ModifyVpnTunnelCertificateCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpnTunnelCertificateRequest(input, context), - [_A]: _MVTC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpnTunnelCertificateCommand"); -var se_ModifyVpnTunnelOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ModifyVpnTunnelOptionsRequest(input, context), - [_A]: _MVTO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ModifyVpnTunnelOptionsCommand"); -var se_MonitorInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_MonitorInstancesRequest(input, context), - [_A]: _MIo, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_MonitorInstancesCommand"); -var se_MoveAddressToVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_MoveAddressToVpcRequest(input, context), - [_A]: _MATV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_MoveAddressToVpcCommand"); -var se_MoveByoipCidrToIpamCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_MoveByoipCidrToIpamRequest(input, context), - [_A]: _MBCTI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_MoveByoipCidrToIpamCommand"); -var se_ProvisionByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ProvisionByoipCidrRequest(input, context), - [_A]: _PBC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ProvisionByoipCidrCommand"); -var se_ProvisionIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ProvisionIpamByoasnRequest(input, context), - [_A]: _PIB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ProvisionIpamByoasnCommand"); -var se_ProvisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ProvisionIpamPoolCidrRequest(input, context), - [_A]: _PIPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ProvisionIpamPoolCidrCommand"); -var se_ProvisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ProvisionPublicIpv4PoolCidrRequest(input, context), - [_A]: _PPIPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ProvisionPublicIpv4PoolCidrCommand"); -var se_PurchaseCapacityBlockCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_PurchaseCapacityBlockRequest(input, context), - [_A]: _PCB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_PurchaseCapacityBlockCommand"); -var se_PurchaseHostReservationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_PurchaseHostReservationRequest(input, context), - [_A]: _PHR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_PurchaseHostReservationCommand"); -var se_PurchaseReservedInstancesOfferingCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_PurchaseReservedInstancesOfferingRequest(input, context), - [_A]: _PRIO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_PurchaseReservedInstancesOfferingCommand"); -var se_PurchaseScheduledInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_PurchaseScheduledInstancesRequest(input, context), - [_A]: _PSI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_PurchaseScheduledInstancesCommand"); -var se_RebootInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RebootInstancesRequest(input, context), - [_A]: _RI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RebootInstancesCommand"); -var se_RegisterImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RegisterImageRequest(input, context), - [_A]: _RIe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RegisterImageCommand"); -var se_RegisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RegisterInstanceEventNotificationAttributesRequest(input, context), - [_A]: _RIENA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RegisterInstanceEventNotificationAttributesCommand"); -var se_RegisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RegisterTransitGatewayMulticastGroupMembersRequest(input, context), - [_A]: _RTGMGM, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RegisterTransitGatewayMulticastGroupMembersCommand"); -var se_RegisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RegisterTransitGatewayMulticastGroupSourcesRequest(input, context), - [_A]: _RTGMGS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RegisterTransitGatewayMulticastGroupSourcesCommand"); -var se_RejectTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RejectTransitGatewayMulticastDomainAssociationsRequest(input, context), - [_A]: _RTGMDA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RejectTransitGatewayMulticastDomainAssociationsCommand"); -var se_RejectTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RejectTransitGatewayPeeringAttachmentRequest(input, context), - [_A]: _RTGPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RejectTransitGatewayPeeringAttachmentCommand"); -var se_RejectTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RejectTransitGatewayVpcAttachmentRequest(input, context), - [_A]: _RTGVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RejectTransitGatewayVpcAttachmentCommand"); -var se_RejectVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RejectVpcEndpointConnectionsRequest(input, context), - [_A]: _RVEC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RejectVpcEndpointConnectionsCommand"); -var se_RejectVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RejectVpcPeeringConnectionRequest(input, context), - [_A]: _RVPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RejectVpcPeeringConnectionCommand"); -var se_ReleaseAddressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ReleaseAddressRequest(input, context), - [_A]: _RA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ReleaseAddressCommand"); -var se_ReleaseHostsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ReleaseHostsRequest(input, context), - [_A]: _RH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ReleaseHostsCommand"); -var se_ReleaseIpamPoolAllocationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ReleaseIpamPoolAllocationRequest(input, context), - [_A]: _RIPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ReleaseIpamPoolAllocationCommand"); -var se_ReplaceIamInstanceProfileAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ReplaceIamInstanceProfileAssociationRequest(input, context), - [_A]: _RIIPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ReplaceIamInstanceProfileAssociationCommand"); -var se_ReplaceNetworkAclAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ReplaceNetworkAclAssociationRequest(input, context), - [_A]: _RNAA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ReplaceNetworkAclAssociationCommand"); -var se_ReplaceNetworkAclEntryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ReplaceNetworkAclEntryRequest(input, context), - [_A]: _RNAE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ReplaceNetworkAclEntryCommand"); -var se_ReplaceRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ReplaceRouteRequest(input, context), - [_A]: _RR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ReplaceRouteCommand"); -var se_ReplaceRouteTableAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ReplaceRouteTableAssociationRequest(input, context), - [_A]: _RRTA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ReplaceRouteTableAssociationCommand"); -var se_ReplaceTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ReplaceTransitGatewayRouteRequest(input, context), - [_A]: _RTGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ReplaceTransitGatewayRouteCommand"); -var se_ReplaceVpnTunnelCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ReplaceVpnTunnelRequest(input, context), - [_A]: _RVT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ReplaceVpnTunnelCommand"); -var se_ReportInstanceStatusCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ReportInstanceStatusRequest(input, context), - [_A]: _RIS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ReportInstanceStatusCommand"); -var se_RequestSpotFleetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RequestSpotFleetRequest(input, context), - [_A]: _RSF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RequestSpotFleetCommand"); -var se_RequestSpotInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RequestSpotInstancesRequest(input, context), - [_A]: _RSI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RequestSpotInstancesCommand"); -var se_ResetAddressAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ResetAddressAttributeRequest(input, context), - [_A]: _RAA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ResetAddressAttributeCommand"); -var se_ResetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ResetEbsDefaultKmsKeyIdRequest(input, context), - [_A]: _REDKKI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ResetEbsDefaultKmsKeyIdCommand"); -var se_ResetFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ResetFpgaImageAttributeRequest(input, context), - [_A]: _RFIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ResetFpgaImageAttributeCommand"); -var se_ResetImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ResetImageAttributeRequest(input, context), - [_A]: _RIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ResetImageAttributeCommand"); -var se_ResetInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ResetInstanceAttributeRequest(input, context), - [_A]: _RIAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ResetInstanceAttributeCommand"); -var se_ResetNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ResetNetworkInterfaceAttributeRequest(input, context), - [_A]: _RNIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ResetNetworkInterfaceAttributeCommand"); -var se_ResetSnapshotAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ResetSnapshotAttributeRequest(input, context), - [_A]: _RSA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ResetSnapshotAttributeCommand"); -var se_RestoreAddressToClassicCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RestoreAddressToClassicRequest(input, context), - [_A]: _RATC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RestoreAddressToClassicCommand"); -var se_RestoreImageFromRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RestoreImageFromRecycleBinRequest(input, context), - [_A]: _RIFRB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RestoreImageFromRecycleBinCommand"); -var se_RestoreManagedPrefixListVersionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RestoreManagedPrefixListVersionRequest(input, context), - [_A]: _RMPLV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RestoreManagedPrefixListVersionCommand"); -var se_RestoreSnapshotFromRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RestoreSnapshotFromRecycleBinRequest(input, context), - [_A]: _RSFRB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RestoreSnapshotFromRecycleBinCommand"); -var se_RestoreSnapshotTierCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RestoreSnapshotTierRequest(input, context), - [_A]: _RST, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RestoreSnapshotTierCommand"); -var se_RevokeClientVpnIngressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RevokeClientVpnIngressRequest(input, context), - [_A]: _RCVI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RevokeClientVpnIngressCommand"); -var se_RevokeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RevokeSecurityGroupEgressRequest(input, context), - [_A]: _RSGE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RevokeSecurityGroupEgressCommand"); -var se_RevokeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RevokeSecurityGroupIngressRequest(input, context), - [_A]: _RSGI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RevokeSecurityGroupIngressCommand"); -var se_RunInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RunInstancesRequest(input, context), - [_A]: _RIu, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RunInstancesCommand"); -var se_RunScheduledInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_RunScheduledInstancesRequest(input, context), - [_A]: _RSIu, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_RunScheduledInstancesCommand"); -var se_SearchLocalGatewayRoutesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_SearchLocalGatewayRoutesRequest(input, context), - [_A]: _SLGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_SearchLocalGatewayRoutesCommand"); -var se_SearchTransitGatewayMulticastGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_SearchTransitGatewayMulticastGroupsRequest(input, context), - [_A]: _STGMG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_SearchTransitGatewayMulticastGroupsCommand"); -var se_SearchTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_SearchTransitGatewayRoutesRequest(input, context), - [_A]: _STGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_SearchTransitGatewayRoutesCommand"); -var se_SendDiagnosticInterruptCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_SendDiagnosticInterruptRequest(input, context), - [_A]: _SDI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_SendDiagnosticInterruptCommand"); -var se_StartInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_StartInstancesRequest(input, context), - [_A]: _SI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_StartInstancesCommand"); -var se_StartNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_StartNetworkInsightsAccessScopeAnalysisRequest(input, context), - [_A]: _SNIASA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_StartNetworkInsightsAccessScopeAnalysisCommand"); -var se_StartNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_StartNetworkInsightsAnalysisRequest(input, context), - [_A]: _SNIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_StartNetworkInsightsAnalysisCommand"); -var se_StartVpcEndpointServicePrivateDnsVerificationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_StartVpcEndpointServicePrivateDnsVerificationRequest(input, context), - [_A]: _SVESPDV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_StartVpcEndpointServicePrivateDnsVerificationCommand"); -var se_StopInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_StopInstancesRequest(input, context), - [_A]: _SIt, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_StopInstancesCommand"); -var se_TerminateClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_TerminateClientVpnConnectionsRequest(input, context), - [_A]: _TCVC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_TerminateClientVpnConnectionsCommand"); -var se_TerminateInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_TerminateInstancesRequest(input, context), - [_A]: _TI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_TerminateInstancesCommand"); -var se_UnassignIpv6AddressesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_UnassignIpv6AddressesRequest(input, context), - [_A]: _UIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_UnassignIpv6AddressesCommand"); -var se_UnassignPrivateIpAddressesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_UnassignPrivateIpAddressesRequest(input, context), - [_A]: _UPIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_UnassignPrivateIpAddressesCommand"); -var se_UnassignPrivateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_UnassignPrivateNatGatewayAddressRequest(input, context), - [_A]: _UPNGA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_UnassignPrivateNatGatewayAddressCommand"); -var se_UnlockSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_UnlockSnapshotRequest(input, context), - [_A]: _US, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_UnlockSnapshotCommand"); -var se_UnmonitorInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_UnmonitorInstancesRequest(input, context), - [_A]: _UI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_UnmonitorInstancesCommand"); -var se_UpdateSecurityGroupRuleDescriptionsEgressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_UpdateSecurityGroupRuleDescriptionsEgressRequest(input, context), - [_A]: _USGRDE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_UpdateSecurityGroupRuleDescriptionsEgressCommand"); -var se_UpdateSecurityGroupRuleDescriptionsIngressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_UpdateSecurityGroupRuleDescriptionsIngressRequest(input, context), - [_A]: _USGRDI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_UpdateSecurityGroupRuleDescriptionsIngressCommand"); -var se_WithdrawByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_WithdrawByoipCidrRequest(input, context), - [_A]: _WBC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_WithdrawByoipCidrCommand"); -var de_AcceptAddressTransferCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AcceptAddressTransferResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AcceptAddressTransferCommand"); -var de_AcceptReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AcceptReservedInstancesExchangeQuoteResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AcceptReservedInstancesExchangeQuoteCommand"); -var de_AcceptTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AcceptTransitGatewayMulticastDomainAssociationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AcceptTransitGatewayMulticastDomainAssociationsCommand"); -var de_AcceptTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AcceptTransitGatewayPeeringAttachmentResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AcceptTransitGatewayPeeringAttachmentCommand"); -var de_AcceptTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AcceptTransitGatewayVpcAttachmentResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AcceptTransitGatewayVpcAttachmentCommand"); -var de_AcceptVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AcceptVpcEndpointConnectionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AcceptVpcEndpointConnectionsCommand"); -var de_AcceptVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AcceptVpcPeeringConnectionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AcceptVpcPeeringConnectionCommand"); -var de_AdvertiseByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AdvertiseByoipCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AdvertiseByoipCidrCommand"); -var de_AllocateAddressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AllocateAddressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AllocateAddressCommand"); -var de_AllocateHostsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AllocateHostsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AllocateHostsCommand"); -var de_AllocateIpamPoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AllocateIpamPoolCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AllocateIpamPoolCidrCommand"); -var de_ApplySecurityGroupsToClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ApplySecurityGroupsToClientVpnTargetNetworkResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ApplySecurityGroupsToClientVpnTargetNetworkCommand"); -var de_AssignIpv6AddressesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssignIpv6AddressesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssignIpv6AddressesCommand"); -var de_AssignPrivateIpAddressesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssignPrivateIpAddressesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssignPrivateIpAddressesCommand"); -var de_AssignPrivateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssignPrivateNatGatewayAddressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssignPrivateNatGatewayAddressCommand"); -var de_AssociateAddressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateAddressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateAddressCommand"); -var de_AssociateClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateClientVpnTargetNetworkResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateClientVpnTargetNetworkCommand"); -var de_AssociateDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_AssociateDhcpOptionsCommand"); -var de_AssociateEnclaveCertificateIamRoleCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateEnclaveCertificateIamRoleResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateEnclaveCertificateIamRoleCommand"); -var de_AssociateIamInstanceProfileCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateIamInstanceProfileResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateIamInstanceProfileCommand"); -var de_AssociateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateInstanceEventWindowResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateInstanceEventWindowCommand"); -var de_AssociateIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateIpamByoasnResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateIpamByoasnCommand"); -var de_AssociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateIpamResourceDiscoveryResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateIpamResourceDiscoveryCommand"); -var de_AssociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateNatGatewayAddressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateNatGatewayAddressCommand"); -var de_AssociateRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateRouteTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateRouteTableCommand"); -var de_AssociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateSubnetCidrBlockResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateSubnetCidrBlockCommand"); -var de_AssociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateTransitGatewayMulticastDomainResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateTransitGatewayMulticastDomainCommand"); -var de_AssociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateTransitGatewayPolicyTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateTransitGatewayPolicyTableCommand"); -var de_AssociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateTransitGatewayRouteTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateTransitGatewayRouteTableCommand"); -var de_AssociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateTrunkInterfaceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateTrunkInterfaceCommand"); -var de_AssociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AssociateVpcCidrBlockResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AssociateVpcCidrBlockCommand"); -var de_AttachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AttachClassicLinkVpcResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AttachClassicLinkVpcCommand"); -var de_AttachInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_AttachInternetGatewayCommand"); -var de_AttachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AttachNetworkInterfaceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AttachNetworkInterfaceCommand"); -var de_AttachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AttachVerifiedAccessTrustProviderResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AttachVerifiedAccessTrustProviderCommand"); -var de_AttachVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_VolumeAttachment(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AttachVolumeCommand"); -var de_AttachVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AttachVpnGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AttachVpnGatewayCommand"); -var de_AuthorizeClientVpnIngressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AuthorizeClientVpnIngressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AuthorizeClientVpnIngressCommand"); -var de_AuthorizeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AuthorizeSecurityGroupEgressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AuthorizeSecurityGroupEgressCommand"); -var de_AuthorizeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_AuthorizeSecurityGroupIngressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_AuthorizeSecurityGroupIngressCommand"); -var de_BundleInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_BundleInstanceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_BundleInstanceCommand"); -var de_CancelBundleTaskCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CancelBundleTaskResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CancelBundleTaskCommand"); -var de_CancelCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CancelCapacityReservationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CancelCapacityReservationCommand"); -var de_CancelCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CancelCapacityReservationFleetsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CancelCapacityReservationFleetsCommand"); -var de_CancelConversionTaskCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_CancelConversionTaskCommand"); -var de_CancelExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_CancelExportTaskCommand"); -var de_CancelImageLaunchPermissionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CancelImageLaunchPermissionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CancelImageLaunchPermissionCommand"); -var de_CancelImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CancelImportTaskResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CancelImportTaskCommand"); -var de_CancelReservedInstancesListingCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CancelReservedInstancesListingResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CancelReservedInstancesListingCommand"); -var de_CancelSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CancelSpotFleetRequestsResponse(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CancelSpotFleetRequestsCommand"); -var de_CancelSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CancelSpotInstanceRequestsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CancelSpotInstanceRequestsCommand"); -var de_ConfirmProductInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ConfirmProductInstanceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ConfirmProductInstanceCommand"); -var de_CopyFpgaImageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CopyFpgaImageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CopyFpgaImageCommand"); -var de_CopyImageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CopyImageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CopyImageCommand"); -var de_CopySnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CopySnapshotResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CopySnapshotCommand"); -var de_CreateCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateCapacityReservationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateCapacityReservationCommand"); -var de_CreateCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateCapacityReservationFleetResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateCapacityReservationFleetCommand"); -var de_CreateCarrierGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateCarrierGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateCarrierGatewayCommand"); -var de_CreateClientVpnEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateClientVpnEndpointResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateClientVpnEndpointCommand"); -var de_CreateClientVpnRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateClientVpnRouteResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateClientVpnRouteCommand"); -var de_CreateCoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateCoipCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateCoipCidrCommand"); -var de_CreateCoipPoolCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateCoipPoolResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateCoipPoolCommand"); -var de_CreateCustomerGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateCustomerGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateCustomerGatewayCommand"); -var de_CreateDefaultSubnetCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateDefaultSubnetResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateDefaultSubnetCommand"); -var de_CreateDefaultVpcCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateDefaultVpcResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateDefaultVpcCommand"); -var de_CreateDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateDhcpOptionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateDhcpOptionsCommand"); -var de_CreateEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateEgressOnlyInternetGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateEgressOnlyInternetGatewayCommand"); -var de_CreateFleetCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateFleetResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateFleetCommand"); -var de_CreateFlowLogsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateFlowLogsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateFlowLogsCommand"); -var de_CreateFpgaImageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateFpgaImageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateFpgaImageCommand"); -var de_CreateImageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateImageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateImageCommand"); -var de_CreateInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateInstanceConnectEndpointResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateInstanceConnectEndpointCommand"); -var de_CreateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateInstanceEventWindowResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateInstanceEventWindowCommand"); -var de_CreateInstanceExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateInstanceExportTaskResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateInstanceExportTaskCommand"); -var de_CreateInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateInternetGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateInternetGatewayCommand"); -var de_CreateIpamCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateIpamResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateIpamCommand"); -var de_CreateIpamPoolCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateIpamPoolResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateIpamPoolCommand"); -var de_CreateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateIpamResourceDiscoveryResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateIpamResourceDiscoveryCommand"); -var de_CreateIpamScopeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateIpamScopeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateIpamScopeCommand"); -var de_CreateKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_KeyPair(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateKeyPairCommand"); -var de_CreateLaunchTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateLaunchTemplateResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateLaunchTemplateCommand"); -var de_CreateLaunchTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateLaunchTemplateVersionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateLaunchTemplateVersionCommand"); -var de_CreateLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateLocalGatewayRouteResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateLocalGatewayRouteCommand"); -var de_CreateLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateLocalGatewayRouteTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateLocalGatewayRouteTableCommand"); -var de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); -var de_CreateLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateLocalGatewayRouteTableVpcAssociationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateLocalGatewayRouteTableVpcAssociationCommand"); -var de_CreateManagedPrefixListCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateManagedPrefixListResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateManagedPrefixListCommand"); -var de_CreateNatGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateNatGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateNatGatewayCommand"); -var de_CreateNetworkAclCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateNetworkAclResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateNetworkAclCommand"); -var de_CreateNetworkAclEntryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_CreateNetworkAclEntryCommand"); -var de_CreateNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateNetworkInsightsAccessScopeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateNetworkInsightsAccessScopeCommand"); -var de_CreateNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateNetworkInsightsPathResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateNetworkInsightsPathCommand"); -var de_CreateNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateNetworkInterfaceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateNetworkInterfaceCommand"); -var de_CreateNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateNetworkInterfacePermissionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateNetworkInterfacePermissionCommand"); -var de_CreatePlacementGroupCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreatePlacementGroupResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreatePlacementGroupCommand"); -var de_CreatePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreatePublicIpv4PoolResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreatePublicIpv4PoolCommand"); -var de_CreateReplaceRootVolumeTaskCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateReplaceRootVolumeTaskResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateReplaceRootVolumeTaskCommand"); -var de_CreateReservedInstancesListingCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateReservedInstancesListingResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateReservedInstancesListingCommand"); -var de_CreateRestoreImageTaskCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateRestoreImageTaskResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateRestoreImageTaskCommand"); -var de_CreateRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateRouteResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateRouteCommand"); -var de_CreateRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateRouteTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateRouteTableCommand"); -var de_CreateSecurityGroupCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateSecurityGroupResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateSecurityGroupCommand"); -var de_CreateSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_Snapshot(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateSnapshotCommand"); -var de_CreateSnapshotsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateSnapshotsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateSnapshotsCommand"); -var de_CreateSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateSpotDatafeedSubscriptionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateSpotDatafeedSubscriptionCommand"); -var de_CreateStoreImageTaskCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateStoreImageTaskResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateStoreImageTaskCommand"); -var de_CreateSubnetCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateSubnetResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateSubnetCommand"); -var de_CreateSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateSubnetCidrReservationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateSubnetCidrReservationCommand"); -var de_CreateTagsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_CreateTagsCommand"); -var de_CreateTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTrafficMirrorFilterResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTrafficMirrorFilterCommand"); -var de_CreateTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTrafficMirrorFilterRuleResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTrafficMirrorFilterRuleCommand"); -var de_CreateTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTrafficMirrorSessionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTrafficMirrorSessionCommand"); -var de_CreateTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTrafficMirrorTargetResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTrafficMirrorTargetCommand"); -var de_CreateTransitGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTransitGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTransitGatewayCommand"); -var de_CreateTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTransitGatewayConnectResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTransitGatewayConnectCommand"); -var de_CreateTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTransitGatewayConnectPeerResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTransitGatewayConnectPeerCommand"); -var de_CreateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTransitGatewayMulticastDomainResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTransitGatewayMulticastDomainCommand"); -var de_CreateTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTransitGatewayPeeringAttachmentResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTransitGatewayPeeringAttachmentCommand"); -var de_CreateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTransitGatewayPolicyTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTransitGatewayPolicyTableCommand"); -var de_CreateTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTransitGatewayPrefixListReferenceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTransitGatewayPrefixListReferenceCommand"); -var de_CreateTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTransitGatewayRouteResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTransitGatewayRouteCommand"); -var de_CreateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTransitGatewayRouteTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTransitGatewayRouteTableCommand"); -var de_CreateTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTransitGatewayRouteTableAnnouncementResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTransitGatewayRouteTableAnnouncementCommand"); -var de_CreateTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateTransitGatewayVpcAttachmentResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateTransitGatewayVpcAttachmentCommand"); -var de_CreateVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateVerifiedAccessEndpointResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVerifiedAccessEndpointCommand"); -var de_CreateVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateVerifiedAccessGroupResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVerifiedAccessGroupCommand"); -var de_CreateVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateVerifiedAccessInstanceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVerifiedAccessInstanceCommand"); -var de_CreateVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateVerifiedAccessTrustProviderResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVerifiedAccessTrustProviderCommand"); -var de_CreateVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_Volume(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVolumeCommand"); -var de_CreateVpcCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateVpcResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVpcCommand"); -var de_CreateVpcEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateVpcEndpointResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVpcEndpointCommand"); -var de_CreateVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateVpcEndpointConnectionNotificationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVpcEndpointConnectionNotificationCommand"); -var de_CreateVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateVpcEndpointServiceConfigurationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVpcEndpointServiceConfigurationCommand"); -var de_CreateVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateVpcPeeringConnectionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVpcPeeringConnectionCommand"); -var de_CreateVpnConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateVpnConnectionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVpnConnectionCommand"); -var de_CreateVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_CreateVpnConnectionRouteCommand"); -var de_CreateVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_CreateVpnGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_CreateVpnGatewayCommand"); -var de_DeleteCarrierGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteCarrierGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteCarrierGatewayCommand"); -var de_DeleteClientVpnEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteClientVpnEndpointResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteClientVpnEndpointCommand"); -var de_DeleteClientVpnRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteClientVpnRouteResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteClientVpnRouteCommand"); -var de_DeleteCoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteCoipCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteCoipCidrCommand"); -var de_DeleteCoipPoolCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteCoipPoolResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteCoipPoolCommand"); -var de_DeleteCustomerGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteCustomerGatewayCommand"); -var de_DeleteDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteDhcpOptionsCommand"); -var de_DeleteEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteEgressOnlyInternetGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteEgressOnlyInternetGatewayCommand"); -var de_DeleteFleetsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteFleetsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteFleetsCommand"); -var de_DeleteFlowLogsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteFlowLogsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteFlowLogsCommand"); -var de_DeleteFpgaImageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteFpgaImageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteFpgaImageCommand"); -var de_DeleteInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteInstanceConnectEndpointResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteInstanceConnectEndpointCommand"); -var de_DeleteInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteInstanceEventWindowResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteInstanceEventWindowCommand"); -var de_DeleteInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteInternetGatewayCommand"); -var de_DeleteIpamCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteIpamResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteIpamCommand"); -var de_DeleteIpamPoolCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteIpamPoolResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteIpamPoolCommand"); -var de_DeleteIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteIpamResourceDiscoveryResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteIpamResourceDiscoveryCommand"); -var de_DeleteIpamScopeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteIpamScopeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteIpamScopeCommand"); -var de_DeleteKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteKeyPairResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteKeyPairCommand"); -var de_DeleteLaunchTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteLaunchTemplateResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteLaunchTemplateCommand"); -var de_DeleteLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteLaunchTemplateVersionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteLaunchTemplateVersionsCommand"); -var de_DeleteLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteLocalGatewayRouteResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteLocalGatewayRouteCommand"); -var de_DeleteLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteLocalGatewayRouteTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteLocalGatewayRouteTableCommand"); -var de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); -var de_DeleteLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteLocalGatewayRouteTableVpcAssociationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteLocalGatewayRouteTableVpcAssociationCommand"); -var de_DeleteManagedPrefixListCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteManagedPrefixListResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteManagedPrefixListCommand"); -var de_DeleteNatGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteNatGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteNatGatewayCommand"); -var de_DeleteNetworkAclCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteNetworkAclCommand"); -var de_DeleteNetworkAclEntryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteNetworkAclEntryCommand"); -var de_DeleteNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteNetworkInsightsAccessScopeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteNetworkInsightsAccessScopeCommand"); -var de_DeleteNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteNetworkInsightsAccessScopeAnalysisResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteNetworkInsightsAccessScopeAnalysisCommand"); -var de_DeleteNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteNetworkInsightsAnalysisResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteNetworkInsightsAnalysisCommand"); -var de_DeleteNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteNetworkInsightsPathResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteNetworkInsightsPathCommand"); -var de_DeleteNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteNetworkInterfaceCommand"); -var de_DeleteNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteNetworkInterfacePermissionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteNetworkInterfacePermissionCommand"); -var de_DeletePlacementGroupCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeletePlacementGroupCommand"); -var de_DeletePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeletePublicIpv4PoolResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeletePublicIpv4PoolCommand"); -var de_DeleteQueuedReservedInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteQueuedReservedInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteQueuedReservedInstancesCommand"); -var de_DeleteRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteRouteCommand"); -var de_DeleteRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteRouteTableCommand"); -var de_DeleteSecurityGroupCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteSecurityGroupCommand"); -var de_DeleteSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteSnapshotCommand"); -var de_DeleteSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteSpotDatafeedSubscriptionCommand"); -var de_DeleteSubnetCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteSubnetCommand"); -var de_DeleteSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteSubnetCidrReservationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteSubnetCidrReservationCommand"); -var de_DeleteTagsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteTagsCommand"); -var de_DeleteTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTrafficMirrorFilterResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTrafficMirrorFilterCommand"); -var de_DeleteTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTrafficMirrorFilterRuleResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTrafficMirrorFilterRuleCommand"); -var de_DeleteTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTrafficMirrorSessionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTrafficMirrorSessionCommand"); -var de_DeleteTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTrafficMirrorTargetResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTrafficMirrorTargetCommand"); -var de_DeleteTransitGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTransitGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTransitGatewayCommand"); -var de_DeleteTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTransitGatewayConnectResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTransitGatewayConnectCommand"); -var de_DeleteTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTransitGatewayConnectPeerResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTransitGatewayConnectPeerCommand"); -var de_DeleteTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTransitGatewayMulticastDomainResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTransitGatewayMulticastDomainCommand"); -var de_DeleteTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTransitGatewayPeeringAttachmentResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTransitGatewayPeeringAttachmentCommand"); -var de_DeleteTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTransitGatewayPolicyTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTransitGatewayPolicyTableCommand"); -var de_DeleteTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTransitGatewayPrefixListReferenceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTransitGatewayPrefixListReferenceCommand"); -var de_DeleteTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTransitGatewayRouteResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTransitGatewayRouteCommand"); -var de_DeleteTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTransitGatewayRouteTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTransitGatewayRouteTableCommand"); -var de_DeleteTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTransitGatewayRouteTableAnnouncementResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTransitGatewayRouteTableAnnouncementCommand"); -var de_DeleteTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteTransitGatewayVpcAttachmentResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteTransitGatewayVpcAttachmentCommand"); -var de_DeleteVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteVerifiedAccessEndpointResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteVerifiedAccessEndpointCommand"); -var de_DeleteVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteVerifiedAccessGroupResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteVerifiedAccessGroupCommand"); -var de_DeleteVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteVerifiedAccessInstanceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteVerifiedAccessInstanceCommand"); -var de_DeleteVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteVerifiedAccessTrustProviderResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteVerifiedAccessTrustProviderCommand"); -var de_DeleteVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteVolumeCommand"); -var de_DeleteVpcCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteVpcCommand"); -var de_DeleteVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteVpcEndpointConnectionNotificationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteVpcEndpointConnectionNotificationsCommand"); -var de_DeleteVpcEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteVpcEndpointsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteVpcEndpointsCommand"); -var de_DeleteVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteVpcEndpointServiceConfigurationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteVpcEndpointServiceConfigurationsCommand"); -var de_DeleteVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeleteVpcPeeringConnectionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeleteVpcPeeringConnectionCommand"); -var de_DeleteVpnConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteVpnConnectionCommand"); -var de_DeleteVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteVpnConnectionRouteCommand"); -var de_DeleteVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeleteVpnGatewayCommand"); -var de_DeprovisionByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeprovisionByoipCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeprovisionByoipCidrCommand"); -var de_DeprovisionIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeprovisionIpamByoasnResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeprovisionIpamByoasnCommand"); -var de_DeprovisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeprovisionIpamPoolCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeprovisionIpamPoolCidrCommand"); -var de_DeprovisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeprovisionPublicIpv4PoolCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeprovisionPublicIpv4PoolCidrCommand"); -var de_DeregisterImageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DeregisterImageCommand"); -var de_DeregisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeregisterInstanceEventNotificationAttributesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeregisterInstanceEventNotificationAttributesCommand"); -var de_DeregisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeregisterTransitGatewayMulticastGroupMembersResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeregisterTransitGatewayMulticastGroupMembersCommand"); -var de_DeregisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DeregisterTransitGatewayMulticastGroupSourcesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DeregisterTransitGatewayMulticastGroupSourcesCommand"); -var de_DescribeAccountAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeAccountAttributesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeAccountAttributesCommand"); -var de_DescribeAddressesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeAddressesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeAddressesCommand"); -var de_DescribeAddressesAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeAddressesAttributeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeAddressesAttributeCommand"); -var de_DescribeAddressTransfersCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeAddressTransfersResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeAddressTransfersCommand"); -var de_DescribeAggregateIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeAggregateIdFormatResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeAggregateIdFormatCommand"); -var de_DescribeAvailabilityZonesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeAvailabilityZonesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeAvailabilityZonesCommand"); -var de_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeAwsNetworkPerformanceMetricSubscriptionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand"); -var de_DescribeBundleTasksCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeBundleTasksResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeBundleTasksCommand"); -var de_DescribeByoipCidrsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeByoipCidrsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeByoipCidrsCommand"); -var de_DescribeCapacityBlockOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeCapacityBlockOfferingsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeCapacityBlockOfferingsCommand"); -var de_DescribeCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeCapacityReservationFleetsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeCapacityReservationFleetsCommand"); -var de_DescribeCapacityReservationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeCapacityReservationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeCapacityReservationsCommand"); -var de_DescribeCarrierGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeCarrierGatewaysResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeCarrierGatewaysCommand"); -var de_DescribeClassicLinkInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeClassicLinkInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeClassicLinkInstancesCommand"); -var de_DescribeClientVpnAuthorizationRulesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeClientVpnAuthorizationRulesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeClientVpnAuthorizationRulesCommand"); -var de_DescribeClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeClientVpnConnectionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeClientVpnConnectionsCommand"); -var de_DescribeClientVpnEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeClientVpnEndpointsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeClientVpnEndpointsCommand"); -var de_DescribeClientVpnRoutesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeClientVpnRoutesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeClientVpnRoutesCommand"); -var de_DescribeClientVpnTargetNetworksCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeClientVpnTargetNetworksResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeClientVpnTargetNetworksCommand"); -var de_DescribeCoipPoolsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeCoipPoolsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeCoipPoolsCommand"); -var de_DescribeConversionTasksCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeConversionTasksResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeConversionTasksCommand"); -var de_DescribeCustomerGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeCustomerGatewaysResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeCustomerGatewaysCommand"); -var de_DescribeDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeDhcpOptionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeDhcpOptionsCommand"); -var de_DescribeEgressOnlyInternetGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeEgressOnlyInternetGatewaysResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeEgressOnlyInternetGatewaysCommand"); -var de_DescribeElasticGpusCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeElasticGpusResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeElasticGpusCommand"); -var de_DescribeExportImageTasksCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeExportImageTasksResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeExportImageTasksCommand"); -var de_DescribeExportTasksCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeExportTasksResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeExportTasksCommand"); -var de_DescribeFastLaunchImagesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeFastLaunchImagesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeFastLaunchImagesCommand"); -var de_DescribeFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeFastSnapshotRestoresResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeFastSnapshotRestoresCommand"); -var de_DescribeFleetHistoryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeFleetHistoryResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeFleetHistoryCommand"); -var de_DescribeFleetInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeFleetInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeFleetInstancesCommand"); -var de_DescribeFleetsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeFleetsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeFleetsCommand"); -var de_DescribeFlowLogsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeFlowLogsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeFlowLogsCommand"); -var de_DescribeFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeFpgaImageAttributeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeFpgaImageAttributeCommand"); -var de_DescribeFpgaImagesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeFpgaImagesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeFpgaImagesCommand"); -var de_DescribeHostReservationOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeHostReservationOfferingsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeHostReservationOfferingsCommand"); -var de_DescribeHostReservationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeHostReservationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeHostReservationsCommand"); -var de_DescribeHostsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeHostsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeHostsCommand"); -var de_DescribeIamInstanceProfileAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeIamInstanceProfileAssociationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeIamInstanceProfileAssociationsCommand"); -var de_DescribeIdentityIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeIdentityIdFormatResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeIdentityIdFormatCommand"); -var de_DescribeIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeIdFormatResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeIdFormatCommand"); -var de_DescribeImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ImageAttribute(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeImageAttributeCommand"); -var de_DescribeImagesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeImagesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeImagesCommand"); -var de_DescribeImportImageTasksCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeImportImageTasksResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeImportImageTasksCommand"); -var de_DescribeImportSnapshotTasksCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeImportSnapshotTasksResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeImportSnapshotTasksCommand"); -var de_DescribeInstanceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_InstanceAttribute(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeInstanceAttributeCommand"); -var de_DescribeInstanceConnectEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeInstanceConnectEndpointsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeInstanceConnectEndpointsCommand"); -var de_DescribeInstanceCreditSpecificationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeInstanceCreditSpecificationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeInstanceCreditSpecificationsCommand"); -var de_DescribeInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeInstanceEventNotificationAttributesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeInstanceEventNotificationAttributesCommand"); -var de_DescribeInstanceEventWindowsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeInstanceEventWindowsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeInstanceEventWindowsCommand"); -var de_DescribeInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeInstancesCommand"); -var de_DescribeInstanceStatusCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeInstanceStatusResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeInstanceStatusCommand"); -var de_DescribeInstanceTopologyCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeInstanceTopologyResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeInstanceTopologyCommand"); -var de_DescribeInstanceTypeOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeInstanceTypeOfferingsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeInstanceTypeOfferingsCommand"); -var de_DescribeInstanceTypesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeInstanceTypesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeInstanceTypesCommand"); -var de_DescribeInternetGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeInternetGatewaysResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeInternetGatewaysCommand"); -var de_DescribeIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeIpamByoasnResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeIpamByoasnCommand"); -var de_DescribeIpamPoolsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeIpamPoolsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeIpamPoolsCommand"); -var de_DescribeIpamResourceDiscoveriesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeIpamResourceDiscoveriesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeIpamResourceDiscoveriesCommand"); -var de_DescribeIpamResourceDiscoveryAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeIpamResourceDiscoveryAssociationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeIpamResourceDiscoveryAssociationsCommand"); -var de_DescribeIpamsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeIpamsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeIpamsCommand"); -var de_DescribeIpamScopesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeIpamScopesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeIpamScopesCommand"); -var de_DescribeIpv6PoolsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeIpv6PoolsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeIpv6PoolsCommand"); -var de_DescribeKeyPairsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeKeyPairsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeKeyPairsCommand"); -var de_DescribeLaunchTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeLaunchTemplatesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeLaunchTemplatesCommand"); -var de_DescribeLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeLaunchTemplateVersionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeLaunchTemplateVersionsCommand"); -var de_DescribeLocalGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeLocalGatewayRouteTablesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeLocalGatewayRouteTablesCommand"); -var de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand"); -var de_DescribeLocalGatewayRouteTableVpcAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeLocalGatewayRouteTableVpcAssociationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeLocalGatewayRouteTableVpcAssociationsCommand"); -var de_DescribeLocalGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeLocalGatewaysResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeLocalGatewaysCommand"); -var de_DescribeLocalGatewayVirtualInterfaceGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeLocalGatewayVirtualInterfaceGroupsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeLocalGatewayVirtualInterfaceGroupsCommand"); -var de_DescribeLocalGatewayVirtualInterfacesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeLocalGatewayVirtualInterfacesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeLocalGatewayVirtualInterfacesCommand"); -var de_DescribeLockedSnapshotsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeLockedSnapshotsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeLockedSnapshotsCommand"); -var de_DescribeMacHostsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeMacHostsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeMacHostsCommand"); -var de_DescribeManagedPrefixListsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeManagedPrefixListsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeManagedPrefixListsCommand"); -var de_DescribeMovingAddressesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeMovingAddressesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeMovingAddressesCommand"); -var de_DescribeNatGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeNatGatewaysResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeNatGatewaysCommand"); -var de_DescribeNetworkAclsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeNetworkAclsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeNetworkAclsCommand"); -var de_DescribeNetworkInsightsAccessScopeAnalysesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeNetworkInsightsAccessScopeAnalysesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeNetworkInsightsAccessScopeAnalysesCommand"); -var de_DescribeNetworkInsightsAccessScopesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeNetworkInsightsAccessScopesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeNetworkInsightsAccessScopesCommand"); -var de_DescribeNetworkInsightsAnalysesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeNetworkInsightsAnalysesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeNetworkInsightsAnalysesCommand"); -var de_DescribeNetworkInsightsPathsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeNetworkInsightsPathsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeNetworkInsightsPathsCommand"); -var de_DescribeNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeNetworkInterfaceAttributeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeNetworkInterfaceAttributeCommand"); -var de_DescribeNetworkInterfacePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeNetworkInterfacePermissionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeNetworkInterfacePermissionsCommand"); -var de_DescribeNetworkInterfacesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeNetworkInterfacesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeNetworkInterfacesCommand"); -var de_DescribePlacementGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribePlacementGroupsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribePlacementGroupsCommand"); -var de_DescribePrefixListsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribePrefixListsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribePrefixListsCommand"); -var de_DescribePrincipalIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribePrincipalIdFormatResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribePrincipalIdFormatCommand"); -var de_DescribePublicIpv4PoolsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribePublicIpv4PoolsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribePublicIpv4PoolsCommand"); -var de_DescribeRegionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeRegionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeRegionsCommand"); -var de_DescribeReplaceRootVolumeTasksCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeReplaceRootVolumeTasksResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeReplaceRootVolumeTasksCommand"); -var de_DescribeReservedInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeReservedInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeReservedInstancesCommand"); -var de_DescribeReservedInstancesListingsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeReservedInstancesListingsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeReservedInstancesListingsCommand"); -var de_DescribeReservedInstancesModificationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeReservedInstancesModificationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeReservedInstancesModificationsCommand"); -var de_DescribeReservedInstancesOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeReservedInstancesOfferingsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeReservedInstancesOfferingsCommand"); -var de_DescribeRouteTablesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeRouteTablesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeRouteTablesCommand"); -var de_DescribeScheduledInstanceAvailabilityCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeScheduledInstanceAvailabilityResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeScheduledInstanceAvailabilityCommand"); -var de_DescribeScheduledInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeScheduledInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeScheduledInstancesCommand"); -var de_DescribeSecurityGroupReferencesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSecurityGroupReferencesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSecurityGroupReferencesCommand"); -var de_DescribeSecurityGroupRulesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSecurityGroupRulesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSecurityGroupRulesCommand"); -var de_DescribeSecurityGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSecurityGroupsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSecurityGroupsCommand"); -var de_DescribeSnapshotAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSnapshotAttributeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSnapshotAttributeCommand"); -var de_DescribeSnapshotsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSnapshotsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSnapshotsCommand"); -var de_DescribeSnapshotTierStatusCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSnapshotTierStatusResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSnapshotTierStatusCommand"); -var de_DescribeSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSpotDatafeedSubscriptionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSpotDatafeedSubscriptionCommand"); -var de_DescribeSpotFleetInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSpotFleetInstancesResponse(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSpotFleetInstancesCommand"); -var de_DescribeSpotFleetRequestHistoryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSpotFleetRequestHistoryResponse(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSpotFleetRequestHistoryCommand"); -var de_DescribeSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSpotFleetRequestsResponse(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSpotFleetRequestsCommand"); -var de_DescribeSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSpotInstanceRequestsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSpotInstanceRequestsCommand"); -var de_DescribeSpotPriceHistoryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSpotPriceHistoryResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSpotPriceHistoryCommand"); -var de_DescribeStaleSecurityGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeStaleSecurityGroupsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeStaleSecurityGroupsCommand"); -var de_DescribeStoreImageTasksCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeStoreImageTasksResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeStoreImageTasksCommand"); -var de_DescribeSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeSubnetsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeSubnetsCommand"); -var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTagsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTagsCommand"); -var de_DescribeTrafficMirrorFiltersCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTrafficMirrorFiltersResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTrafficMirrorFiltersCommand"); -var de_DescribeTrafficMirrorSessionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTrafficMirrorSessionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTrafficMirrorSessionsCommand"); -var de_DescribeTrafficMirrorTargetsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTrafficMirrorTargetsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTrafficMirrorTargetsCommand"); -var de_DescribeTransitGatewayAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTransitGatewayAttachmentsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTransitGatewayAttachmentsCommand"); -var de_DescribeTransitGatewayConnectPeersCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTransitGatewayConnectPeersResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTransitGatewayConnectPeersCommand"); -var de_DescribeTransitGatewayConnectsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTransitGatewayConnectsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTransitGatewayConnectsCommand"); -var de_DescribeTransitGatewayMulticastDomainsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTransitGatewayMulticastDomainsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTransitGatewayMulticastDomainsCommand"); -var de_DescribeTransitGatewayPeeringAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTransitGatewayPeeringAttachmentsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTransitGatewayPeeringAttachmentsCommand"); -var de_DescribeTransitGatewayPolicyTablesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTransitGatewayPolicyTablesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTransitGatewayPolicyTablesCommand"); -var de_DescribeTransitGatewayRouteTableAnnouncementsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTransitGatewayRouteTableAnnouncementsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTransitGatewayRouteTableAnnouncementsCommand"); -var de_DescribeTransitGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTransitGatewayRouteTablesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTransitGatewayRouteTablesCommand"); -var de_DescribeTransitGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTransitGatewaysResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTransitGatewaysCommand"); -var de_DescribeTransitGatewayVpcAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTransitGatewayVpcAttachmentsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTransitGatewayVpcAttachmentsCommand"); -var de_DescribeTrunkInterfaceAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeTrunkInterfaceAssociationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeTrunkInterfaceAssociationsCommand"); -var de_DescribeVerifiedAccessEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVerifiedAccessEndpointsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVerifiedAccessEndpointsCommand"); -var de_DescribeVerifiedAccessGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVerifiedAccessGroupsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVerifiedAccessGroupsCommand"); -var de_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVerifiedAccessInstanceLoggingConfigurationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand"); -var de_DescribeVerifiedAccessInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVerifiedAccessInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVerifiedAccessInstancesCommand"); -var de_DescribeVerifiedAccessTrustProvidersCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVerifiedAccessTrustProvidersResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVerifiedAccessTrustProvidersCommand"); -var de_DescribeVolumeAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVolumeAttributeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVolumeAttributeCommand"); -var de_DescribeVolumesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVolumesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVolumesCommand"); -var de_DescribeVolumesModificationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVolumesModificationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVolumesModificationsCommand"); -var de_DescribeVolumeStatusCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVolumeStatusResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVolumeStatusCommand"); -var de_DescribeVpcAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpcAttributeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpcAttributeCommand"); -var de_DescribeVpcClassicLinkCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpcClassicLinkResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpcClassicLinkCommand"); -var de_DescribeVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpcClassicLinkDnsSupportResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpcClassicLinkDnsSupportCommand"); -var de_DescribeVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpcEndpointConnectionNotificationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpcEndpointConnectionNotificationsCommand"); -var de_DescribeVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpcEndpointConnectionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpcEndpointConnectionsCommand"); -var de_DescribeVpcEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpcEndpointsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpcEndpointsCommand"); -var de_DescribeVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpcEndpointServiceConfigurationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpcEndpointServiceConfigurationsCommand"); -var de_DescribeVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpcEndpointServicePermissionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpcEndpointServicePermissionsCommand"); -var de_DescribeVpcEndpointServicesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpcEndpointServicesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpcEndpointServicesCommand"); -var de_DescribeVpcPeeringConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpcPeeringConnectionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpcPeeringConnectionsCommand"); -var de_DescribeVpcsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpcsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpcsCommand"); -var de_DescribeVpnConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpnConnectionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpnConnectionsCommand"); -var de_DescribeVpnGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DescribeVpnGatewaysResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DescribeVpnGatewaysCommand"); -var de_DetachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DetachClassicLinkVpcResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DetachClassicLinkVpcCommand"); -var de_DetachInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DetachInternetGatewayCommand"); -var de_DetachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DetachNetworkInterfaceCommand"); -var de_DetachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DetachVerifiedAccessTrustProviderResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DetachVerifiedAccessTrustProviderCommand"); -var de_DetachVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_VolumeAttachment(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DetachVolumeCommand"); -var de_DetachVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DetachVpnGatewayCommand"); -var de_DisableAddressTransferCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableAddressTransferResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableAddressTransferCommand"); -var de_DisableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableAwsNetworkPerformanceMetricSubscriptionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableAwsNetworkPerformanceMetricSubscriptionCommand"); -var de_DisableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableEbsEncryptionByDefaultResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableEbsEncryptionByDefaultCommand"); -var de_DisableFastLaunchCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableFastLaunchResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableFastLaunchCommand"); -var de_DisableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableFastSnapshotRestoresResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableFastSnapshotRestoresCommand"); -var de_DisableImageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableImageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableImageCommand"); -var de_DisableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableImageBlockPublicAccessResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableImageBlockPublicAccessCommand"); -var de_DisableImageDeprecationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableImageDeprecationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableImageDeprecationCommand"); -var de_DisableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableIpamOrganizationAdminAccountResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableIpamOrganizationAdminAccountCommand"); -var de_DisableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableSerialConsoleAccessResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableSerialConsoleAccessCommand"); -var de_DisableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableSnapshotBlockPublicAccessResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableSnapshotBlockPublicAccessCommand"); -var de_DisableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableTransitGatewayRouteTablePropagationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableTransitGatewayRouteTablePropagationCommand"); -var de_DisableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DisableVgwRoutePropagationCommand"); -var de_DisableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableVpcClassicLinkResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableVpcClassicLinkCommand"); -var de_DisableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisableVpcClassicLinkDnsSupportResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisableVpcClassicLinkDnsSupportCommand"); -var de_DisassociateAddressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DisassociateAddressCommand"); -var de_DisassociateClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateClientVpnTargetNetworkResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateClientVpnTargetNetworkCommand"); -var de_DisassociateEnclaveCertificateIamRoleCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateEnclaveCertificateIamRoleResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateEnclaveCertificateIamRoleCommand"); -var de_DisassociateIamInstanceProfileCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateIamInstanceProfileResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateIamInstanceProfileCommand"); -var de_DisassociateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateInstanceEventWindowResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateInstanceEventWindowCommand"); -var de_DisassociateIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateIpamByoasnResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateIpamByoasnCommand"); -var de_DisassociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateIpamResourceDiscoveryResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateIpamResourceDiscoveryCommand"); -var de_DisassociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateNatGatewayAddressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateNatGatewayAddressCommand"); -var de_DisassociateRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_DisassociateRouteTableCommand"); -var de_DisassociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateSubnetCidrBlockResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateSubnetCidrBlockCommand"); -var de_DisassociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateTransitGatewayMulticastDomainResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateTransitGatewayMulticastDomainCommand"); -var de_DisassociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateTransitGatewayPolicyTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateTransitGatewayPolicyTableCommand"); -var de_DisassociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateTransitGatewayRouteTableResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateTransitGatewayRouteTableCommand"); -var de_DisassociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateTrunkInterfaceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateTrunkInterfaceCommand"); -var de_DisassociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_DisassociateVpcCidrBlockResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_DisassociateVpcCidrBlockCommand"); -var de_EnableAddressTransferCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableAddressTransferResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableAddressTransferCommand"); -var de_EnableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableAwsNetworkPerformanceMetricSubscriptionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableAwsNetworkPerformanceMetricSubscriptionCommand"); -var de_EnableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableEbsEncryptionByDefaultResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableEbsEncryptionByDefaultCommand"); -var de_EnableFastLaunchCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableFastLaunchResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableFastLaunchCommand"); -var de_EnableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableFastSnapshotRestoresResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableFastSnapshotRestoresCommand"); -var de_EnableImageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableImageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableImageCommand"); -var de_EnableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableImageBlockPublicAccessResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableImageBlockPublicAccessCommand"); -var de_EnableImageDeprecationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableImageDeprecationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableImageDeprecationCommand"); -var de_EnableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableIpamOrganizationAdminAccountResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableIpamOrganizationAdminAccountCommand"); -var de_EnableReachabilityAnalyzerOrganizationSharingCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableReachabilityAnalyzerOrganizationSharingResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableReachabilityAnalyzerOrganizationSharingCommand"); -var de_EnableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableSerialConsoleAccessResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableSerialConsoleAccessCommand"); -var de_EnableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableSnapshotBlockPublicAccessResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableSnapshotBlockPublicAccessCommand"); -var de_EnableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableTransitGatewayRouteTablePropagationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableTransitGatewayRouteTablePropagationCommand"); -var de_EnableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_EnableVgwRoutePropagationCommand"); -var de_EnableVolumeIOCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_EnableVolumeIOCommand"); -var de_EnableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableVpcClassicLinkResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableVpcClassicLinkCommand"); -var de_EnableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_EnableVpcClassicLinkDnsSupportResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_EnableVpcClassicLinkDnsSupportCommand"); -var de_ExportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ExportClientVpnClientCertificateRevocationListResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ExportClientVpnClientCertificateRevocationListCommand"); -var de_ExportClientVpnClientConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ExportClientVpnClientConfigurationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ExportClientVpnClientConfigurationCommand"); -var de_ExportImageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ExportImageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ExportImageCommand"); -var de_ExportTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ExportTransitGatewayRoutesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ExportTransitGatewayRoutesCommand"); -var de_GetAssociatedEnclaveCertificateIamRolesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetAssociatedEnclaveCertificateIamRolesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetAssociatedEnclaveCertificateIamRolesCommand"); -var de_GetAssociatedIpv6PoolCidrsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetAssociatedIpv6PoolCidrsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetAssociatedIpv6PoolCidrsCommand"); -var de_GetAwsNetworkPerformanceDataCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetAwsNetworkPerformanceDataResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetAwsNetworkPerformanceDataCommand"); -var de_GetCapacityReservationUsageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetCapacityReservationUsageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetCapacityReservationUsageCommand"); -var de_GetCoipPoolUsageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetCoipPoolUsageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetCoipPoolUsageCommand"); -var de_GetConsoleOutputCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetConsoleOutputResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetConsoleOutputCommand"); -var de_GetConsoleScreenshotCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetConsoleScreenshotResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetConsoleScreenshotCommand"); -var de_GetDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetDefaultCreditSpecificationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetDefaultCreditSpecificationCommand"); -var de_GetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetEbsDefaultKmsKeyIdResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetEbsDefaultKmsKeyIdCommand"); -var de_GetEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetEbsEncryptionByDefaultResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetEbsEncryptionByDefaultCommand"); -var de_GetFlowLogsIntegrationTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetFlowLogsIntegrationTemplateResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetFlowLogsIntegrationTemplateCommand"); -var de_GetGroupsForCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetGroupsForCapacityReservationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetGroupsForCapacityReservationCommand"); -var de_GetHostReservationPurchasePreviewCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetHostReservationPurchasePreviewResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetHostReservationPurchasePreviewCommand"); -var de_GetImageBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetImageBlockPublicAccessStateResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetImageBlockPublicAccessStateCommand"); -var de_GetInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetInstanceMetadataDefaultsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetInstanceMetadataDefaultsCommand"); -var de_GetInstanceTypesFromInstanceRequirementsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetInstanceTypesFromInstanceRequirementsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetInstanceTypesFromInstanceRequirementsCommand"); -var de_GetInstanceUefiDataCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetInstanceUefiDataResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetInstanceUefiDataCommand"); -var de_GetIpamAddressHistoryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetIpamAddressHistoryResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetIpamAddressHistoryCommand"); -var de_GetIpamDiscoveredAccountsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetIpamDiscoveredAccountsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetIpamDiscoveredAccountsCommand"); -var de_GetIpamDiscoveredPublicAddressesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetIpamDiscoveredPublicAddressesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetIpamDiscoveredPublicAddressesCommand"); -var de_GetIpamDiscoveredResourceCidrsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetIpamDiscoveredResourceCidrsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetIpamDiscoveredResourceCidrsCommand"); -var de_GetIpamPoolAllocationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetIpamPoolAllocationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetIpamPoolAllocationsCommand"); -var de_GetIpamPoolCidrsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetIpamPoolCidrsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetIpamPoolCidrsCommand"); -var de_GetIpamResourceCidrsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetIpamResourceCidrsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetIpamResourceCidrsCommand"); -var de_GetLaunchTemplateDataCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetLaunchTemplateDataResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetLaunchTemplateDataCommand"); -var de_GetManagedPrefixListAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetManagedPrefixListAssociationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetManagedPrefixListAssociationsCommand"); -var de_GetManagedPrefixListEntriesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetManagedPrefixListEntriesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetManagedPrefixListEntriesCommand"); -var de_GetNetworkInsightsAccessScopeAnalysisFindingsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetNetworkInsightsAccessScopeAnalysisFindingsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetNetworkInsightsAccessScopeAnalysisFindingsCommand"); -var de_GetNetworkInsightsAccessScopeContentCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetNetworkInsightsAccessScopeContentResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetNetworkInsightsAccessScopeContentCommand"); -var de_GetPasswordDataCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetPasswordDataResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetPasswordDataCommand"); -var de_GetReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetReservedInstancesExchangeQuoteResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetReservedInstancesExchangeQuoteCommand"); -var de_GetSecurityGroupsForVpcCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetSecurityGroupsForVpcResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetSecurityGroupsForVpcCommand"); -var de_GetSerialConsoleAccessStatusCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetSerialConsoleAccessStatusResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetSerialConsoleAccessStatusCommand"); -var de_GetSnapshotBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetSnapshotBlockPublicAccessStateResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetSnapshotBlockPublicAccessStateCommand"); -var de_GetSpotPlacementScoresCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetSpotPlacementScoresResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetSpotPlacementScoresCommand"); -var de_GetSubnetCidrReservationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetSubnetCidrReservationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetSubnetCidrReservationsCommand"); -var de_GetTransitGatewayAttachmentPropagationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetTransitGatewayAttachmentPropagationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetTransitGatewayAttachmentPropagationsCommand"); -var de_GetTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetTransitGatewayMulticastDomainAssociationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetTransitGatewayMulticastDomainAssociationsCommand"); -var de_GetTransitGatewayPolicyTableAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetTransitGatewayPolicyTableAssociationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetTransitGatewayPolicyTableAssociationsCommand"); -var de_GetTransitGatewayPolicyTableEntriesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetTransitGatewayPolicyTableEntriesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetTransitGatewayPolicyTableEntriesCommand"); -var de_GetTransitGatewayPrefixListReferencesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetTransitGatewayPrefixListReferencesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetTransitGatewayPrefixListReferencesCommand"); -var de_GetTransitGatewayRouteTableAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetTransitGatewayRouteTableAssociationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetTransitGatewayRouteTableAssociationsCommand"); -var de_GetTransitGatewayRouteTablePropagationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetTransitGatewayRouteTablePropagationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetTransitGatewayRouteTablePropagationsCommand"); -var de_GetVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetVerifiedAccessEndpointPolicyResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetVerifiedAccessEndpointPolicyCommand"); -var de_GetVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetVerifiedAccessGroupPolicyResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetVerifiedAccessGroupPolicyCommand"); -var de_GetVpnConnectionDeviceSampleConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetVpnConnectionDeviceSampleConfigurationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetVpnConnectionDeviceSampleConfigurationCommand"); -var de_GetVpnConnectionDeviceTypesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetVpnConnectionDeviceTypesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetVpnConnectionDeviceTypesCommand"); -var de_GetVpnTunnelReplacementStatusCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_GetVpnTunnelReplacementStatusResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_GetVpnTunnelReplacementStatusCommand"); -var de_ImportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ImportClientVpnClientCertificateRevocationListResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ImportClientVpnClientCertificateRevocationListCommand"); -var de_ImportImageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ImportImageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ImportImageCommand"); -var de_ImportInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ImportInstanceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ImportInstanceCommand"); -var de_ImportKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ImportKeyPairResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ImportKeyPairCommand"); -var de_ImportSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ImportSnapshotResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ImportSnapshotCommand"); -var de_ImportVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ImportVolumeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ImportVolumeCommand"); -var de_ListImagesInRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ListImagesInRecycleBinResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ListImagesInRecycleBinCommand"); -var de_ListSnapshotsInRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ListSnapshotsInRecycleBinResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ListSnapshotsInRecycleBinCommand"); -var de_LockSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_LockSnapshotResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_LockSnapshotCommand"); -var de_ModifyAddressAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyAddressAttributeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyAddressAttributeCommand"); -var de_ModifyAvailabilityZoneGroupCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyAvailabilityZoneGroupResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyAvailabilityZoneGroupCommand"); -var de_ModifyCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyCapacityReservationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyCapacityReservationCommand"); -var de_ModifyCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyCapacityReservationFleetResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyCapacityReservationFleetCommand"); -var de_ModifyClientVpnEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyClientVpnEndpointResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyClientVpnEndpointCommand"); -var de_ModifyDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyDefaultCreditSpecificationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyDefaultCreditSpecificationCommand"); -var de_ModifyEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyEbsDefaultKmsKeyIdResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyEbsDefaultKmsKeyIdCommand"); -var de_ModifyFleetCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyFleetResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyFleetCommand"); -var de_ModifyFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyFpgaImageAttributeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyFpgaImageAttributeCommand"); -var de_ModifyHostsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyHostsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyHostsCommand"); -var de_ModifyIdentityIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ModifyIdentityIdFormatCommand"); -var de_ModifyIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ModifyIdFormatCommand"); -var de_ModifyImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ModifyImageAttributeCommand"); -var de_ModifyInstanceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ModifyInstanceAttributeCommand"); -var de_ModifyInstanceCapacityReservationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyInstanceCapacityReservationAttributesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyInstanceCapacityReservationAttributesCommand"); -var de_ModifyInstanceCreditSpecificationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyInstanceCreditSpecificationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyInstanceCreditSpecificationCommand"); -var de_ModifyInstanceEventStartTimeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyInstanceEventStartTimeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyInstanceEventStartTimeCommand"); -var de_ModifyInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyInstanceEventWindowResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyInstanceEventWindowCommand"); -var de_ModifyInstanceMaintenanceOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyInstanceMaintenanceOptionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyInstanceMaintenanceOptionsCommand"); -var de_ModifyInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyInstanceMetadataDefaultsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyInstanceMetadataDefaultsCommand"); -var de_ModifyInstanceMetadataOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyInstanceMetadataOptionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyInstanceMetadataOptionsCommand"); -var de_ModifyInstancePlacementCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyInstancePlacementResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyInstancePlacementCommand"); -var de_ModifyIpamCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyIpamResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyIpamCommand"); -var de_ModifyIpamPoolCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyIpamPoolResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyIpamPoolCommand"); -var de_ModifyIpamResourceCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyIpamResourceCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyIpamResourceCidrCommand"); -var de_ModifyIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyIpamResourceDiscoveryResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyIpamResourceDiscoveryCommand"); -var de_ModifyIpamScopeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyIpamScopeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyIpamScopeCommand"); -var de_ModifyLaunchTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyLaunchTemplateResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyLaunchTemplateCommand"); -var de_ModifyLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyLocalGatewayRouteResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyLocalGatewayRouteCommand"); -var de_ModifyManagedPrefixListCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyManagedPrefixListResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyManagedPrefixListCommand"); -var de_ModifyNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ModifyNetworkInterfaceAttributeCommand"); -var de_ModifyPrivateDnsNameOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyPrivateDnsNameOptionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyPrivateDnsNameOptionsCommand"); -var de_ModifyReservedInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyReservedInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyReservedInstancesCommand"); -var de_ModifySecurityGroupRulesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifySecurityGroupRulesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifySecurityGroupRulesCommand"); -var de_ModifySnapshotAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ModifySnapshotAttributeCommand"); -var de_ModifySnapshotTierCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifySnapshotTierResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifySnapshotTierCommand"); -var de_ModifySpotFleetRequestCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifySpotFleetRequestResponse(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifySpotFleetRequestCommand"); -var de_ModifySubnetAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ModifySubnetAttributeCommand"); -var de_ModifyTrafficMirrorFilterNetworkServicesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyTrafficMirrorFilterNetworkServicesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyTrafficMirrorFilterNetworkServicesCommand"); -var de_ModifyTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyTrafficMirrorFilterRuleResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyTrafficMirrorFilterRuleCommand"); -var de_ModifyTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyTrafficMirrorSessionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyTrafficMirrorSessionCommand"); -var de_ModifyTransitGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyTransitGatewayResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyTransitGatewayCommand"); -var de_ModifyTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyTransitGatewayPrefixListReferenceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyTransitGatewayPrefixListReferenceCommand"); -var de_ModifyTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyTransitGatewayVpcAttachmentResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyTransitGatewayVpcAttachmentCommand"); -var de_ModifyVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVerifiedAccessEndpointResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVerifiedAccessEndpointCommand"); -var de_ModifyVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVerifiedAccessEndpointPolicyResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVerifiedAccessEndpointPolicyCommand"); -var de_ModifyVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVerifiedAccessGroupResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVerifiedAccessGroupCommand"); -var de_ModifyVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVerifiedAccessGroupPolicyResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVerifiedAccessGroupPolicyCommand"); -var de_ModifyVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVerifiedAccessInstanceResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVerifiedAccessInstanceCommand"); -var de_ModifyVerifiedAccessInstanceLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVerifiedAccessInstanceLoggingConfigurationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVerifiedAccessInstanceLoggingConfigurationCommand"); -var de_ModifyVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVerifiedAccessTrustProviderResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVerifiedAccessTrustProviderCommand"); -var de_ModifyVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVolumeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVolumeCommand"); -var de_ModifyVolumeAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ModifyVolumeAttributeCommand"); -var de_ModifyVpcAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ModifyVpcAttributeCommand"); -var de_ModifyVpcEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVpcEndpointResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVpcEndpointCommand"); -var de_ModifyVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVpcEndpointConnectionNotificationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVpcEndpointConnectionNotificationCommand"); -var de_ModifyVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVpcEndpointServiceConfigurationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVpcEndpointServiceConfigurationCommand"); -var de_ModifyVpcEndpointServicePayerResponsibilityCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVpcEndpointServicePayerResponsibilityResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVpcEndpointServicePayerResponsibilityCommand"); -var de_ModifyVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVpcEndpointServicePermissionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVpcEndpointServicePermissionsCommand"); -var de_ModifyVpcPeeringConnectionOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVpcPeeringConnectionOptionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVpcPeeringConnectionOptionsCommand"); -var de_ModifyVpcTenancyCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVpcTenancyResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVpcTenancyCommand"); -var de_ModifyVpnConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVpnConnectionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVpnConnectionCommand"); -var de_ModifyVpnConnectionOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVpnConnectionOptionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVpnConnectionOptionsCommand"); -var de_ModifyVpnTunnelCertificateCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVpnTunnelCertificateResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVpnTunnelCertificateCommand"); -var de_ModifyVpnTunnelOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ModifyVpnTunnelOptionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ModifyVpnTunnelOptionsCommand"); -var de_MonitorInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_MonitorInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_MonitorInstancesCommand"); -var de_MoveAddressToVpcCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_MoveAddressToVpcResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_MoveAddressToVpcCommand"); -var de_MoveByoipCidrToIpamCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_MoveByoipCidrToIpamResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_MoveByoipCidrToIpamCommand"); -var de_ProvisionByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ProvisionByoipCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ProvisionByoipCidrCommand"); -var de_ProvisionIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ProvisionIpamByoasnResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ProvisionIpamByoasnCommand"); -var de_ProvisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ProvisionIpamPoolCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ProvisionIpamPoolCidrCommand"); -var de_ProvisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ProvisionPublicIpv4PoolCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ProvisionPublicIpv4PoolCidrCommand"); -var de_PurchaseCapacityBlockCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_PurchaseCapacityBlockResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_PurchaseCapacityBlockCommand"); -var de_PurchaseHostReservationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_PurchaseHostReservationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_PurchaseHostReservationCommand"); -var de_PurchaseReservedInstancesOfferingCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_PurchaseReservedInstancesOfferingResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_PurchaseReservedInstancesOfferingCommand"); -var de_PurchaseScheduledInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_PurchaseScheduledInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_PurchaseScheduledInstancesCommand"); -var de_RebootInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_RebootInstancesCommand"); -var de_RegisterImageCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RegisterImageResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RegisterImageCommand"); -var de_RegisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RegisterInstanceEventNotificationAttributesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RegisterInstanceEventNotificationAttributesCommand"); -var de_RegisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RegisterTransitGatewayMulticastGroupMembersResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RegisterTransitGatewayMulticastGroupMembersCommand"); -var de_RegisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RegisterTransitGatewayMulticastGroupSourcesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RegisterTransitGatewayMulticastGroupSourcesCommand"); -var de_RejectTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RejectTransitGatewayMulticastDomainAssociationsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RejectTransitGatewayMulticastDomainAssociationsCommand"); -var de_RejectTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RejectTransitGatewayPeeringAttachmentResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RejectTransitGatewayPeeringAttachmentCommand"); -var de_RejectTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RejectTransitGatewayVpcAttachmentResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RejectTransitGatewayVpcAttachmentCommand"); -var de_RejectVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RejectVpcEndpointConnectionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RejectVpcEndpointConnectionsCommand"); -var de_RejectVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RejectVpcPeeringConnectionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RejectVpcPeeringConnectionCommand"); -var de_ReleaseAddressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ReleaseAddressCommand"); -var de_ReleaseHostsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ReleaseHostsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ReleaseHostsCommand"); -var de_ReleaseIpamPoolAllocationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ReleaseIpamPoolAllocationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ReleaseIpamPoolAllocationCommand"); -var de_ReplaceIamInstanceProfileAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ReplaceIamInstanceProfileAssociationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ReplaceIamInstanceProfileAssociationCommand"); -var de_ReplaceNetworkAclAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ReplaceNetworkAclAssociationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ReplaceNetworkAclAssociationCommand"); -var de_ReplaceNetworkAclEntryCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ReplaceNetworkAclEntryCommand"); -var de_ReplaceRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ReplaceRouteCommand"); -var de_ReplaceRouteTableAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ReplaceRouteTableAssociationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ReplaceRouteTableAssociationCommand"); -var de_ReplaceTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ReplaceTransitGatewayRouteResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ReplaceTransitGatewayRouteCommand"); -var de_ReplaceVpnTunnelCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ReplaceVpnTunnelResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ReplaceVpnTunnelCommand"); -var de_ReportInstanceStatusCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ReportInstanceStatusCommand"); -var de_RequestSpotFleetCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RequestSpotFleetResponse(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RequestSpotFleetCommand"); -var de_RequestSpotInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RequestSpotInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RequestSpotInstancesCommand"); -var de_ResetAddressAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ResetAddressAttributeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ResetAddressAttributeCommand"); -var de_ResetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ResetEbsDefaultKmsKeyIdResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ResetEbsDefaultKmsKeyIdCommand"); -var de_ResetFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_ResetFpgaImageAttributeResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_ResetFpgaImageAttributeCommand"); -var de_ResetImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ResetImageAttributeCommand"); -var de_ResetInstanceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ResetInstanceAttributeCommand"); -var de_ResetNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ResetNetworkInterfaceAttributeCommand"); -var de_ResetSnapshotAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_ResetSnapshotAttributeCommand"); -var de_RestoreAddressToClassicCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RestoreAddressToClassicResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RestoreAddressToClassicCommand"); -var de_RestoreImageFromRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RestoreImageFromRecycleBinResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RestoreImageFromRecycleBinCommand"); -var de_RestoreManagedPrefixListVersionCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RestoreManagedPrefixListVersionResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RestoreManagedPrefixListVersionCommand"); -var de_RestoreSnapshotFromRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RestoreSnapshotFromRecycleBinResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RestoreSnapshotFromRecycleBinCommand"); -var de_RestoreSnapshotTierCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RestoreSnapshotTierResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RestoreSnapshotTierCommand"); -var de_RevokeClientVpnIngressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RevokeClientVpnIngressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RevokeClientVpnIngressCommand"); -var de_RevokeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RevokeSecurityGroupEgressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RevokeSecurityGroupEgressCommand"); -var de_RevokeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RevokeSecurityGroupIngressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RevokeSecurityGroupIngressCommand"); -var de_RunInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_Reservation(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RunInstancesCommand"); -var de_RunScheduledInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_RunScheduledInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_RunScheduledInstancesCommand"); -var de_SearchLocalGatewayRoutesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_SearchLocalGatewayRoutesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_SearchLocalGatewayRoutesCommand"); -var de_SearchTransitGatewayMulticastGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_SearchTransitGatewayMulticastGroupsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_SearchTransitGatewayMulticastGroupsCommand"); -var de_SearchTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_SearchTransitGatewayRoutesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_SearchTransitGatewayRoutesCommand"); -var de_SendDiagnosticInterruptCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_SendDiagnosticInterruptCommand"); -var de_StartInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_StartInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_StartInstancesCommand"); -var de_StartNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_StartNetworkInsightsAccessScopeAnalysisResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_StartNetworkInsightsAccessScopeAnalysisCommand"); -var de_StartNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_StartNetworkInsightsAnalysisResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_StartNetworkInsightsAnalysisCommand"); -var de_StartVpcEndpointServicePrivateDnsVerificationCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_StartVpcEndpointServicePrivateDnsVerificationResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_StartVpcEndpointServicePrivateDnsVerificationCommand"); -var de_StopInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_StopInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_StopInstancesCommand"); -var de_TerminateClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_TerminateClientVpnConnectionsResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_TerminateClientVpnConnectionsCommand"); -var de_TerminateInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_TerminateInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_TerminateInstancesCommand"); -var de_UnassignIpv6AddressesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_UnassignIpv6AddressesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_UnassignIpv6AddressesCommand"); -var de_UnassignPrivateIpAddressesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - await (0, import_smithy_client.collectBody)(output.body, context); - const response = { - $metadata: deserializeMetadata(output) - }; - return response; -}, "de_UnassignPrivateIpAddressesCommand"); -var de_UnassignPrivateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_UnassignPrivateNatGatewayAddressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_UnassignPrivateNatGatewayAddressCommand"); -var de_UnlockSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_UnlockSnapshotResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_UnlockSnapshotCommand"); -var de_UnmonitorInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_UnmonitorInstancesResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_UnmonitorInstancesCommand"); -var de_UpdateSecurityGroupRuleDescriptionsEgressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_UpdateSecurityGroupRuleDescriptionsEgressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_UpdateSecurityGroupRuleDescriptionsEgressCommand"); -var de_UpdateSecurityGroupRuleDescriptionsIngressCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_UpdateSecurityGroupRuleDescriptionsIngressResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_UpdateSecurityGroupRuleDescriptionsIngressCommand"); -var de_WithdrawByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { - if (output.statusCode >= 300) { - return de_CommandError(output, context); - } - const data = await (0, import_core2.parseXmlBody)(output.body, context); - let contents = {}; - contents = de_WithdrawByoipCidrResult(data, context); - const response = { - $metadata: deserializeMetadata(output), - ...contents - }; - return response; -}, "de_WithdrawByoipCidrCommand"); -var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { - const parsedOutput = { - ...output, - body: await (0, import_core2.parseXmlErrorBody)(output.body, context) - }; - const errorCode = loadEc2ErrorCode(output, parsedOutput.body); - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody: parsedBody.Errors.Error, - errorCode - }); -}, "de_CommandError"); -var se_AcceleratorCount = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_AcceleratorCount"); -var se_AcceleratorCountRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_AcceleratorCountRequest"); -var se_AcceleratorManufacturerSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_AcceleratorManufacturerSet"); -var se_AcceleratorNameSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_AcceleratorNameSet"); -var se_AcceleratorTotalMemoryMiB = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_AcceleratorTotalMemoryMiB"); -var se_AcceleratorTotalMemoryMiBRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_AcceleratorTotalMemoryMiBRequest"); -var se_AcceleratorTypeSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_AcceleratorTypeSet"); -var se_AcceptAddressTransferRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_Ad] != null) { - entries[_Ad] = input[_Ad]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AcceptAddressTransferRequest"); -var se_AcceptReservedInstancesExchangeQuoteRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RII] != null) { - const memberEntries = se_ReservedInstanceIdSet(input[_RII], context); - if (((_a2 = input[_RII]) == null ? void 0 : _a2.length) === 0) { - entries.ReservedInstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ReservedInstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TC] != null) { - const memberEntries = se_TargetConfigurationRequestSet(input[_TC], context); - if (((_b2 = input[_TC]) == null ? void 0 : _b2.length) === 0) { - entries.TargetConfiguration = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TargetConfiguration.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_AcceptReservedInstancesExchangeQuoteRequest"); -var se_AcceptTransitGatewayMulticastDomainAssociationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGMDI] != null) { - entries[_TGMDI] = input[_TGMDI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_SIu] != null) { - const memberEntries = se_ValueStringList(input[_SIu], context); - if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { - entries.SubnetIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AcceptTransitGatewayMulticastDomainAssociationsRequest"); -var se_AcceptTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AcceptTransitGatewayPeeringAttachmentRequest"); -var se_AcceptTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AcceptTransitGatewayVpcAttachmentRequest"); -var se_AcceptVpcEndpointConnectionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIe] != null) { - entries[_SIe] = input[_SIe]; - } - if (input[_VEI] != null) { - const memberEntries = se_VpcEndpointIdList(input[_VEI], context); - if (((_a2 = input[_VEI]) == null ? void 0 : _a2.length) === 0) { - entries.VpcEndpointId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VpcEndpointId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_AcceptVpcEndpointConnectionsRequest"); -var se_AcceptVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VPCI] != null) { - entries[_VPCI] = input[_VPCI]; - } - return entries; -}, "se_AcceptVpcPeeringConnectionRequest"); -var se_AccessScopePathListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_AccessScopePathRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_AccessScopePathListRequest"); -var se_AccessScopePathRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_S] != null) { - const memberEntries = se_PathStatementRequest(input[_S], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Source.${key}`; - entries[loc] = value; - }); - } - if (input[_D] != null) { - const memberEntries = se_PathStatementRequest(input[_D], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Destination.${key}`; - entries[loc] = value; - }); - } - if (input[_TR] != null) { - const memberEntries = se_ThroughResourcesStatementRequestList(input[_TR], context); - if (((_a2 = input[_TR]) == null ? void 0 : _a2.length) === 0) { - entries.ThroughResource = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ThroughResource.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_AccessScopePathRequest"); -var se_AccountAttributeNameStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`AttributeName.${counter}`] = entry; - counter++; - } - return entries; -}, "se_AccountAttributeNameStringList"); -var se_AddIpamOperatingRegion = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_RN] != null) { - entries[_RN] = input[_RN]; - } - return entries; -}, "se_AddIpamOperatingRegion"); -var se_AddIpamOperatingRegionSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_AddIpamOperatingRegion(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Member.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_AddIpamOperatingRegionSet"); -var se_AddPrefixListEntries = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_AddPrefixListEntry(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Member.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_AddPrefixListEntries"); -var se_AddPrefixListEntry = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - return entries; -}, "se_AddPrefixListEntry"); -var se_AdvertiseByoipCidrRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_As] != null) { - entries[_As] = input[_As]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NBG] != null) { - entries[_NBG] = input[_NBG]; - } - return entries; -}, "se_AdvertiseByoipCidrRequest"); -var se_AllocateAddressRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_Do] != null) { - entries[_Do] = input[_Do]; - } - if (input[_Ad] != null) { - entries[_Ad] = input[_Ad]; - } - if (input[_PIP] != null) { - entries[_PIP] = input[_PIP]; - } - if (input[_NBG] != null) { - entries[_NBG] = input[_NBG]; - } - if (input[_COIP] != null) { - entries[_COIP] = input[_COIP]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_AllocateAddressRequest"); -var se_AllocateHostsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_AP] != null) { - entries[_AP] = input[_AP]; - } - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_IF] != null) { - entries[_IF] = input[_IF]; - } - if (input[_Q] != null) { - entries[_Q] = input[_Q]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_HR] != null) { - entries[_HR] = input[_HR]; - } - if (input[_OA] != null) { - entries[_OA] = input[_OA]; - } - if (input[_HM] != null) { - entries[_HM] = input[_HM]; - } - if (input[_AI] != null) { - const memberEntries = se_AssetIdList(input[_AI], context); - if (((_b2 = input[_AI]) == null ? void 0 : _b2.length) === 0) { - entries.AssetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AssetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_AllocateHostsRequest"); -var se_AllocateIpamPoolCidrRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IPI] != null) { - entries[_IPI] = input[_IPI]; - } - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_NL] != null) { - entries[_NL] = input[_NL]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_PNC] != null) { - entries[_PNC] = input[_PNC]; - } - if (input[_AC] != null) { - const memberEntries = se_IpamPoolAllocationAllowedCidrs(input[_AC], context); - if (((_a2 = input[_AC]) == null ? void 0 : _a2.length) === 0) { - entries.AllowedCidr = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AllowedCidr.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DC] != null) { - const memberEntries = se_IpamPoolAllocationDisallowedCidrs(input[_DC], context); - if (((_b2 = input[_DC]) == null ? void 0 : _b2.length) === 0) { - entries.DisallowedCidr = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DisallowedCidr.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_AllocateIpamPoolCidrRequest"); -var se_AllocationIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`AllocationId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_AllocationIdList"); -var se_AllocationIds = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_AllocationIds"); -var se_AllowedInstanceTypeSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_AllowedInstanceTypeSet"); -var se_ApplySecurityGroupsToClientVpnTargetNetworkRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_SGI] != null) { - const memberEntries = se_ClientVpnSecurityGroupIdSet(input[_SGI], context); - if (((_a2 = input[_SGI]) == null ? void 0 : _a2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ApplySecurityGroupsToClientVpnTargetNetworkRequest"); -var se_ArchitectureTypeSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ArchitectureTypeSet"); -var se_ArnList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ArnList"); -var se_AsnAuthorizationContext = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Me] != null) { - entries[_Me] = input[_Me]; - } - if (input[_Si] != null) { - entries[_Si] = input[_Si]; - } - return entries; -}, "se_AsnAuthorizationContext"); -var se_AssetIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_AssetIdList"); -var se_AssignIpv6AddressesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_IAC] != null) { - entries[_IAC] = input[_IAC]; - } - if (input[_IA] != null) { - const memberEntries = se_Ipv6AddressList(input[_IA], context); - if (((_a2 = input[_IA]) == null ? void 0 : _a2.length) === 0) { - entries.Ipv6Addresses = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IPC] != null) { - entries[_IPC] = input[_IPC]; - } - if (input[_IP] != null) { - const memberEntries = se_IpPrefixList(input[_IP], context); - if (((_b2 = input[_IP]) == null ? void 0 : _b2.length) === 0) { - entries.Ipv6Prefix = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Prefix.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - return entries; -}, "se_AssignIpv6AddressesRequest"); -var se_AssignPrivateIpAddressesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_AR] != null) { - entries[_AR] = input[_AR]; - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_PIA] != null) { - const memberEntries = se_PrivateIpAddressStringList(input[_PIA], context); - if (((_a2 = input[_PIA]) == null ? void 0 : _a2.length) === 0) { - entries.PrivateIpAddress = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SPIAC] != null) { - entries[_SPIAC] = input[_SPIAC]; - } - if (input[_IPp] != null) { - const memberEntries = se_IpPrefixList(input[_IPp], context); - if (((_b2 = input[_IPp]) == null ? void 0 : _b2.length) === 0) { - entries.Ipv4Prefix = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv4Prefix.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IPCp] != null) { - entries[_IPCp] = input[_IPCp]; - } - return entries; -}, "se_AssignPrivateIpAddressesRequest"); -var se_AssignPrivateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_NGI] != null) { - entries[_NGI] = input[_NGI]; - } - if (input[_PIA] != null) { - const memberEntries = se_IpList(input[_PIA], context); - if (((_a2 = input[_PIA]) == null ? void 0 : _a2.length) === 0) { - entries.PrivateIpAddress = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PIAC] != null) { - entries[_PIAC] = input[_PIAC]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AssignPrivateNatGatewayAddressRequest"); -var se_AssociateAddressRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIl] != null) { - entries[_AIl] = input[_AIl]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_PI] != null) { - entries[_PI] = input[_PI]; - } - if (input[_ARl] != null) { - entries[_ARl] = input[_ARl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_PIAr] != null) { - entries[_PIAr] = input[_PIAr]; - } - return entries; -}, "se_AssociateAddressRequest"); -var se_AssociateClientVpnTargetNetworkRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AssociateClientVpnTargetNetworkRequest"); -var se_AssociateDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DOI] != null) { - entries[_DOI] = input[_DOI]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AssociateDhcpOptionsRequest"); -var se_AssociateEnclaveCertificateIamRoleRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CA] != null) { - entries[_CA] = input[_CA]; - } - if (input[_RAo] != null) { - entries[_RAo] = input[_RAo]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AssociateEnclaveCertificateIamRoleRequest"); -var se_AssociateIamInstanceProfileRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIP] != null) { - const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IamInstanceProfile.${key}`; - entries[loc] = value; - }); - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - return entries; -}, "se_AssociateIamInstanceProfileRequest"); -var se_AssociateInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IEWI] != null) { - entries[_IEWI] = input[_IEWI]; - } - if (input[_AT] != null) { - const memberEntries = se_InstanceEventWindowAssociationRequest(input[_AT], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AssociationTarget.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_AssociateInstanceEventWindowRequest"); -var se_AssociateIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_As] != null) { - entries[_As] = input[_As]; - } - if (input[_C] != null) { - entries[_C] = input[_C]; - } - return entries; -}, "se_AssociateIpamByoasnRequest"); -var se_AssociateIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIp] != null) { - entries[_IIp] = input[_IIp]; - } - if (input[_IRDI] != null) { - entries[_IRDI] = input[_IRDI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_AssociateIpamResourceDiscoveryRequest"); -var se_AssociateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_NGI] != null) { - entries[_NGI] = input[_NGI]; - } - if (input[_AIll] != null) { - const memberEntries = se_AllocationIdList(input[_AIll], context); - if (((_a2 = input[_AIll]) == null ? void 0 : _a2.length) === 0) { - entries.AllocationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AllocationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PIA] != null) { - const memberEntries = se_IpList(input[_PIA], context); - if (((_b2 = input[_PIA]) == null ? void 0 : _b2.length) === 0) { - entries.PrivateIpAddress = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AssociateNatGatewayAddressRequest"); -var se_AssociateRouteTableRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RTI] != null) { - entries[_RTI] = input[_RTI]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_GI] != null) { - entries[_GI] = input[_GI]; - } - return entries; -}, "se_AssociateRouteTableRequest"); -var se_AssociateSubnetCidrBlockRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ICB] != null) { - entries[_ICB] = input[_ICB]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_IIPI] != null) { - entries[_IIPI] = input[_IIPI]; - } - if (input[_INL] != null) { - entries[_INL] = input[_INL]; - } - return entries; -}, "se_AssociateSubnetCidrBlockRequest"); -var se_AssociateTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGMDI] != null) { - entries[_TGMDI] = input[_TGMDI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_SIu] != null) { - const memberEntries = se_TransitGatewaySubnetIdList(input[_SIu], context); - if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { - entries.SubnetIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AssociateTransitGatewayMulticastDomainRequest"); -var se_AssociateTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGPTI] != null) { - entries[_TGPTI] = input[_TGPTI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AssociateTransitGatewayPolicyTableRequest"); -var se_AssociateTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AssociateTransitGatewayRouteTableRequest"); -var se_AssociateTrunkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_BII] != null) { - entries[_BII] = input[_BII]; - } - if (input[_TII] != null) { - entries[_TII] = input[_TII]; - } - if (input[_VIl] != null) { - entries[_VIl] = input[_VIl]; - } - if (input[_GK] != null) { - entries[_GK] = input[_GK]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AssociateTrunkInterfaceRequest"); -var se_AssociateVpcCidrBlockRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_APICB] != null) { - entries[_APICB] = input[_APICB]; - } - if (input[_CB] != null) { - entries[_CB] = input[_CB]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_ICBNBG] != null) { - entries[_ICBNBG] = input[_ICBNBG]; - } - if (input[_IPpv] != null) { - entries[_IPpv] = input[_IPpv]; - } - if (input[_ICB] != null) { - entries[_ICB] = input[_ICB]; - } - if (input[_IIPIp] != null) { - entries[_IIPIp] = input[_IIPIp]; - } - if (input[_INLp] != null) { - entries[_INLp] = input[_INLp]; - } - if (input[_IIPI] != null) { - entries[_IIPI] = input[_IIPI]; - } - if (input[_INL] != null) { - entries[_INL] = input[_INL]; - } - return entries; -}, "se_AssociateVpcCidrBlockRequest"); -var se_AssociationIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`AssociationId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_AssociationIdList"); -var se_AthenaIntegration = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IRSDA] != null) { - entries[_IRSDA] = input[_IRSDA]; - } - if (input[_PLF] != null) { - entries[_PLF] = input[_PLF]; - } - if (input[_PSD] != null) { - entries[_PSD] = input[_PSD].toISOString().split(".")[0] + "Z"; - } - if (input[_PED] != null) { - entries[_PED] = input[_PED].toISOString().split(".")[0] + "Z"; - } - return entries; -}, "se_AthenaIntegration"); -var se_AthenaIntegrationsSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_AthenaIntegration(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_AthenaIntegrationsSet"); -var se_AttachClassicLinkVpcRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_G] != null) { - const memberEntries = se_GroupIdStringList(input[_G], context); - if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - return entries; -}, "se_AttachClassicLinkVpcRequest"); -var se_AttachInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IGI] != null) { - entries[_IGI] = input[_IGI]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - return entries; -}, "se_AttachInternetGatewayRequest"); -var se_AttachNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DIev] != null) { - entries[_DIev] = input[_DIev]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_NCI] != null) { - entries[_NCI] = input[_NCI]; - } - if (input[_ESS] != null) { - const memberEntries = se_EnaSrdSpecification(input[_ESS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnaSrdSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_AttachNetworkInterfaceRequest"); -var se_AttachVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAII] != null) { - entries[_VAII] = input[_VAII]; - } - if (input[_VATPI] != null) { - entries[_VATPI] = input[_VATPI]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AttachVerifiedAccessTrustProviderRequest"); -var se_AttachVolumeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Dev] != null) { - entries[_Dev] = input[_Dev]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_VIo] != null) { - entries[_VIo] = input[_VIo]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AttachVolumeRequest"); -var se_AttachVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_VGI] != null) { - entries[_VGI] = input[_VGI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AttachVpnGatewayRequest"); -var se_AttributeBooleanValue = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_AttributeBooleanValue"); -var se_AttributeValue = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_AttributeValue"); -var se_AuthorizeClientVpnIngressRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_TNC] != null) { - entries[_TNC] = input[_TNC]; - } - if (input[_AGI] != null) { - entries[_AGI] = input[_AGI]; - } - if (input[_AAG] != null) { - entries[_AAG] = input[_AAG]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_AuthorizeClientVpnIngressRequest"); -var se_AuthorizeSecurityGroupEgressRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - if (input[_IPpe] != null) { - const memberEntries = se_IpPermissionList(input[_IPpe], context); - if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { - entries.IpPermissions = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CIi] != null) { - entries[_CIi] = input[_CIi]; - } - if (input[_FP] != null) { - entries[_FP] = input[_FP]; - } - if (input[_IPpr] != null) { - entries[_IPpr] = input[_IPpr]; - } - if (input[_TP] != null) { - entries[_TP] = input[_TP]; - } - if (input[_SSGN] != null) { - entries[_SSGN] = input[_SSGN]; - } - if (input[_SSGOI] != null) { - entries[_SSGOI] = input[_SSGOI]; - } - return entries; -}, "se_AuthorizeSecurityGroupEgressRequest"); -var se_AuthorizeSecurityGroupIngressRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_CIi] != null) { - entries[_CIi] = input[_CIi]; - } - if (input[_FP] != null) { - entries[_FP] = input[_FP]; - } - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_IPpe] != null) { - const memberEntries = se_IpPermissionList(input[_IPpe], context); - if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { - entries.IpPermissions = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IPpr] != null) { - entries[_IPpr] = input[_IPpr]; - } - if (input[_SSGN] != null) { - entries[_SSGN] = input[_SSGN]; - } - if (input[_SSGOI] != null) { - entries[_SSGOI] = input[_SSGOI]; - } - if (input[_TP] != null) { - entries[_TP] = input[_TP]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_AuthorizeSecurityGroupIngressRequest"); -var se_AvailabilityZoneStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`AvailabilityZone.${counter}`] = entry; - counter++; - } - return entries; -}, "se_AvailabilityZoneStringList"); -var se_BaselineEbsBandwidthMbps = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_BaselineEbsBandwidthMbps"); -var se_BaselineEbsBandwidthMbpsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_BaselineEbsBandwidthMbpsRequest"); -var se_BillingProductList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_BillingProductList"); -var se_BlobAttributeValue = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Va] != null) { - entries[_Va] = context.base64Encoder(input[_Va]); - } - return entries; -}, "se_BlobAttributeValue"); -var se_BlockDeviceMapping = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DN] != null) { - entries[_DN] = input[_DN]; - } - if (input[_VN] != null) { - entries[_VN] = input[_VN]; - } - if (input[_E] != null) { - const memberEntries = se_EbsBlockDevice(input[_E], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ebs.${key}`; - entries[loc] = value; - }); - } - if (input[_ND] != null) { - entries[_ND] = input[_ND]; - } - return entries; -}, "se_BlockDeviceMapping"); -var se_BlockDeviceMappingList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_BlockDeviceMapping(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_BlockDeviceMappingList"); -var se_BlockDeviceMappingRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_BlockDeviceMapping(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`BlockDeviceMapping.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_BlockDeviceMappingRequestList"); -var se_BundleIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`BundleId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_BundleIdStringList"); -var se_BundleInstanceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_St] != null) { - const memberEntries = se_Storage(input[_St], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Storage.${key}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_BundleInstanceRequest"); -var se_CancelBundleTaskRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_BIu] != null) { - entries[_BIu] = input[_BIu]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CancelBundleTaskRequest"); -var se_CancelCapacityReservationFleetsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CRFI] != null) { - const memberEntries = se_CapacityReservationFleetIdSet(input[_CRFI], context); - if (((_a2 = input[_CRFI]) == null ? void 0 : _a2.length) === 0) { - entries.CapacityReservationFleetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CapacityReservationFleetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CancelCapacityReservationFleetsRequest"); -var se_CancelCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRI] != null) { - entries[_CRI] = input[_CRI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CancelCapacityReservationRequest"); -var se_CancelConversionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CTI] != null) { - entries[_CTI] = input[_CTI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RM] != null) { - entries[_RM] = input[_RM]; - } - return entries; -}, "se_CancelConversionRequest"); -var se_CancelExportTaskRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ETI] != null) { - entries[_ETI] = input[_ETI]; - } - return entries; -}, "se_CancelExportTaskRequest"); -var se_CancelImageLaunchPermissionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CancelImageLaunchPermissionRequest"); -var se_CancelImportTaskRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRa] != null) { - entries[_CRa] = input[_CRa]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ITI] != null) { - entries[_ITI] = input[_ITI]; - } - return entries; -}, "se_CancelImportTaskRequest"); -var se_CancelReservedInstancesListingRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_RILI] != null) { - entries[_RILI] = input[_RILI]; - } - return entries; -}, "se_CancelReservedInstancesListingRequest"); -var se_CancelSpotFleetRequestsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SFRI] != null) { - const memberEntries = se_SpotFleetRequestIdList(input[_SFRI], context); - if (((_a2 = input[_SFRI]) == null ? void 0 : _a2.length) === 0) { - entries.SpotFleetRequestId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SpotFleetRequestId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TI] != null) { - entries[_TI] = input[_TI]; - } - return entries; -}, "se_CancelSpotFleetRequestsRequest"); -var se_CancelSpotInstanceRequestsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIRI] != null) { - const memberEntries = se_SpotInstanceRequestIdList(input[_SIRI], context); - if (((_a2 = input[_SIRI]) == null ? void 0 : _a2.length) === 0) { - entries.SpotInstanceRequestId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SpotInstanceRequestId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CancelSpotInstanceRequestsRequest"); -var se_CapacityReservationFleetIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_CapacityReservationFleetIdSet"); -var se_CapacityReservationIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_CapacityReservationIdSet"); -var se_CapacityReservationOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_USs] != null) { - entries[_USs] = input[_USs]; - } - return entries; -}, "se_CapacityReservationOptionsRequest"); -var se_CapacityReservationSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRP] != null) { - entries[_CRP] = input[_CRP]; - } - if (input[_CRTa] != null) { - const memberEntries = se_CapacityReservationTarget(input[_CRTa], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CapacityReservationTarget.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CapacityReservationSpecification"); -var se_CapacityReservationTarget = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRI] != null) { - entries[_CRI] = input[_CRI]; - } - if (input[_CRRGA] != null) { - entries[_CRRGA] = input[_CRRGA]; - } - return entries; -}, "se_CapacityReservationTarget"); -var se_CarrierGatewayIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_CarrierGatewayIdSet"); -var se_CertificateAuthenticationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRCCA] != null) { - entries[_CRCCA] = input[_CRCCA]; - } - return entries; -}, "se_CertificateAuthenticationRequest"); -var se_CidrAuthorizationContext = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Me] != null) { - entries[_Me] = input[_Me]; - } - if (input[_Si] != null) { - entries[_Si] = input[_Si]; - } - return entries; -}, "se_CidrAuthorizationContext"); -var se_ClassicLoadBalancer = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_N] != null) { - entries[_N] = input[_N]; - } - return entries; -}, "se_ClassicLoadBalancer"); -var se_ClassicLoadBalancers = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ClassicLoadBalancer(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ClassicLoadBalancers"); -var se_ClassicLoadBalancersConfig = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CLB] != null) { - const memberEntries = se_ClassicLoadBalancers(input[_CLB], context); - if (((_a2 = input[_CLB]) == null ? void 0 : _a2.length) === 0) { - entries.ClassicLoadBalancers = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ClassicLoadBalancers.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ClassicLoadBalancersConfig"); -var se_ClientConnectOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - if (input[_LFA] != null) { - entries[_LFA] = input[_LFA]; - } - return entries; -}, "se_ClientConnectOptions"); -var se_ClientData = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Co] != null) { - entries[_Co] = input[_Co]; - } - if (input[_UE] != null) { - entries[_UE] = input[_UE].toISOString().split(".")[0] + "Z"; - } - if (input[_USp] != null) { - entries[_USp] = (0, import_smithy_client.serializeFloat)(input[_USp]); - } - if (input[_USpl] != null) { - entries[_USpl] = input[_USpl].toISOString().split(".")[0] + "Z"; - } - return entries; -}, "se_ClientData"); -var se_ClientLoginBannerOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - if (input[_BT] != null) { - entries[_BT] = input[_BT]; - } - return entries; -}, "se_ClientLoginBannerOptions"); -var se_ClientVpnAuthenticationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_T] != null) { - entries[_T] = input[_T]; - } - if (input[_AD] != null) { - const memberEntries = se_DirectoryServiceAuthenticationRequest(input[_AD], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ActiveDirectory.${key}`; - entries[loc] = value; - }); - } - if (input[_MA] != null) { - const memberEntries = se_CertificateAuthenticationRequest(input[_MA], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MutualAuthentication.${key}`; - entries[loc] = value; - }); - } - if (input[_FA] != null) { - const memberEntries = se_FederatedAuthenticationRequest(input[_FA], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `FederatedAuthentication.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ClientVpnAuthenticationRequest"); -var se_ClientVpnAuthenticationRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ClientVpnAuthenticationRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Member.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ClientVpnAuthenticationRequestList"); -var se_ClientVpnEndpointIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ClientVpnEndpointIdList"); -var se_ClientVpnSecurityGroupIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ClientVpnSecurityGroupIdSet"); -var se_CloudWatchLogOptionsSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_LE] != null) { - entries[_LE] = input[_LE]; - } - if (input[_LGA] != null) { - entries[_LGA] = input[_LGA]; - } - if (input[_LOF] != null) { - entries[_LOF] = input[_LOF]; - } - return entries; -}, "se_CloudWatchLogOptionsSpecification"); -var se_CoipPoolIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_CoipPoolIdSet"); -var se_ConfirmProductInstanceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_PC] != null) { - entries[_PC] = input[_PC]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ConfirmProductInstanceRequest"); -var se_ConnectionLogOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - if (input[_CLG] != null) { - entries[_CLG] = input[_CLG]; - } - if (input[_CLS] != null) { - entries[_CLS] = input[_CLS]; - } - return entries; -}, "se_ConnectionLogOptions"); -var se_ConnectionNotificationIdsList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ConnectionNotificationIdsList"); -var se_ConnectionTrackingSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TET] != null) { - entries[_TET] = input[_TET]; - } - if (input[_UST] != null) { - entries[_UST] = input[_UST]; - } - if (input[_UT] != null) { - entries[_UT] = input[_UT]; - } - return entries; -}, "se_ConnectionTrackingSpecificationRequest"); -var se_ConversionIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ConversionIdStringList"); -var se_CopyFpgaImageRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SFII] != null) { - entries[_SFII] = input[_SFII]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - if (input[_SR] != null) { - entries[_SR] = input[_SR]; - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CopyFpgaImageRequest"); -var se_CopyImageRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_Enc] != null) { - entries[_Enc] = input[_Enc]; - } - if (input[_KKI] != null) { - entries[_KKI] = input[_KKI]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - if (input[_SII] != null) { - entries[_SII] = input[_SII]; - } - if (input[_SR] != null) { - entries[_SR] = input[_SR]; - } - if (input[_DOA] != null) { - entries[_DOA] = input[_DOA]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CITo] != null) { - entries[_CITo] = input[_CITo]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CopyImageRequest"); -var se_CopySnapshotRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DOA] != null) { - entries[_DOA] = input[_DOA]; - } - if (input[_DRes] != null) { - entries[_DRes] = input[_DRes]; - } - if (input[_Enc] != null) { - entries[_Enc] = input[_Enc]; - } - if (input[_KKI] != null) { - entries[_KKI] = input[_KKI]; - } - if (input[_PU] != null) { - entries[_PU] = input[_PU]; - } - if (input[_SR] != null) { - entries[_SR] = input[_SR]; - } - if (input[_SSI] != null) { - entries[_SSI] = input[_SSI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CopySnapshotRequest"); -var se_CpuManufacturerSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_CpuManufacturerSet"); -var se_CpuOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CC] != null) { - entries[_CC] = input[_CC]; - } - if (input[_TPC] != null) { - entries[_TPC] = input[_TPC]; - } - if (input[_ASS] != null) { - entries[_ASS] = input[_ASS]; - } - return entries; -}, "se_CpuOptionsRequest"); -var se_CreateCapacityReservationFleetRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_AS] != null) { - entries[_AS] = input[_AS]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_ITS] != null) { - const memberEntries = se_ReservationFleetInstanceSpecificationList(input[_ITS], context); - if (((_a2 = input[_ITS]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceTypeSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceTypeSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Te] != null) { - entries[_Te] = input[_Te]; - } - if (input[_TTC] != null) { - entries[_TTC] = input[_TTC]; - } - if (input[_ED] != null) { - entries[_ED] = input[_ED].toISOString().split(".")[0] + "Z"; - } - if (input[_IMC] != null) { - entries[_IMC] = input[_IMC]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateCapacityReservationFleetRequest"); -var se_CreateCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_IPn] != null) { - entries[_IPn] = input[_IPn]; - } - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_AZI] != null) { - entries[_AZI] = input[_AZI]; - } - if (input[_Te] != null) { - entries[_Te] = input[_Te]; - } - if (input[_IC] != null) { - entries[_IC] = input[_IC]; - } - if (input[_EO] != null) { - entries[_EO] = input[_EO]; - } - if (input[_ES] != null) { - entries[_ES] = input[_ES]; - } - if (input[_ED] != null) { - entries[_ED] = input[_ED].toISOString().split(".")[0] + "Z"; - } - if (input[_EDT] != null) { - entries[_EDT] = input[_EDT]; - } - if (input[_IMC] != null) { - entries[_IMC] = input[_IMC]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecifications = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecifications.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_OA] != null) { - entries[_OA] = input[_OA]; - } - if (input[_PGA] != null) { - entries[_PGA] = input[_PGA]; - } - return entries; -}, "se_CreateCapacityReservationRequest"); -var se_CreateCarrierGatewayRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CreateCarrierGatewayRequest"); -var se_CreateClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2; - const entries = {}; - if (input[_CCB] != null) { - entries[_CCB] = input[_CCB]; - } - if (input[_SCA] != null) { - entries[_SCA] = input[_SCA]; - } - if (input[_AO] != null) { - const memberEntries = se_ClientVpnAuthenticationRequestList(input[_AO], context); - if (((_a2 = input[_AO]) == null ? void 0 : _a2.length) === 0) { - entries.Authentication = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Authentication.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CLO] != null) { - const memberEntries = se_ConnectionLogOptions(input[_CLO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ConnectionLogOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_DSn] != null) { - const memberEntries = se_ValueStringList(input[_DSn], context); - if (((_b2 = input[_DSn]) == null ? void 0 : _b2.length) === 0) { - entries.DnsServers = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DnsServers.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TPr] != null) { - entries[_TPr] = input[_TPr]; - } - if (input[_VP] != null) { - entries[_VP] = input[_VP]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_ST] != null) { - entries[_ST] = input[_ST]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SGI] != null) { - const memberEntries = se_ClientVpnSecurityGroupIdSet(input[_SGI], context); - if (((_d2 = input[_SGI]) == null ? void 0 : _d2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_SSP] != null) { - entries[_SSP] = input[_SSP]; - } - if (input[_CCO] != null) { - const memberEntries = se_ClientConnectOptions(input[_CCO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ClientConnectOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_STH] != null) { - entries[_STH] = input[_STH]; - } - if (input[_CLBO] != null) { - const memberEntries = se_ClientLoginBannerOptions(input[_CLBO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ClientLoginBannerOptions.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateClientVpnEndpointRequest"); -var se_CreateClientVpnRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_TVSI] != null) { - entries[_TVSI] = input[_TVSI]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateClientVpnRouteRequest"); -var se_CreateCoipCidrRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_CPIo] != null) { - entries[_CPIo] = input[_CPIo]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateCoipCidrRequest"); -var se_CreateCoipPoolRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_LGRTI] != null) { - entries[_LGRTI] = input[_LGRTI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateCoipPoolRequest"); -var se_CreateCustomerGatewayRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_BA] != null) { - entries[_BA] = input[_BA]; - } - if (input[_PI] != null) { - entries[_PI] = input[_PI]; - } - if (input[_CA] != null) { - entries[_CA] = input[_CA]; - } - if (input[_T] != null) { - entries[_T] = input[_T]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DN] != null) { - entries[_DN] = input[_DN]; - } - if (input[_IAp] != null) { - entries[_IAp] = input[_IAp]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateCustomerGatewayRequest"); -var se_CreateDefaultSubnetRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IN] != null) { - entries[_IN] = input[_IN]; - } - return entries; -}, "se_CreateDefaultSubnetRequest"); -var se_CreateDefaultVpcRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateDefaultVpcRequest"); -var se_CreateDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DCh] != null) { - const memberEntries = se_NewDhcpConfigurationList(input[_DCh], context); - if (((_a2 = input[_DCh]) == null ? void 0 : _a2.length) === 0) { - entries.DhcpConfiguration = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DhcpConfiguration.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateDhcpOptionsRequest"); -var se_CreateEgressOnlyInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateEgressOnlyInternetGatewayRequest"); -var se_CreateFleetRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_SO] != null) { - const memberEntries = se_SpotOptionsRequest(input[_SO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SpotOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_ODO] != null) { - const memberEntries = se_OnDemandOptionsRequest(input[_ODO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `OnDemandOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_ECTP] != null) { - entries[_ECTP] = input[_ECTP]; - } - if (input[_LTC] != null) { - const memberEntries = se_FleetLaunchTemplateConfigListRequest(input[_LTC], context); - if (((_a2 = input[_LTC]) == null ? void 0 : _a2.length) === 0) { - entries.LaunchTemplateConfigs = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateConfigs.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TCS] != null) { - const memberEntries = se_TargetCapacitySpecificationRequest(input[_TCS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TargetCapacitySpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_TIWE] != null) { - entries[_TIWE] = input[_TIWE]; - } - if (input[_T] != null) { - entries[_T] = input[_T]; - } - if (input[_VF] != null) { - entries[_VF] = input[_VF].toISOString().split(".")[0] + "Z"; - } - if (input[_VU] != null) { - entries[_VU] = input[_VU].toISOString().split(".")[0] + "Z"; - } - if (input[_RUI] != null) { - entries[_RUI] = input[_RUI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Con] != null) { - entries[_Con] = input[_Con]; - } - return entries; -}, "se_CreateFleetRequest"); -var se_CreateFlowLogsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DLPA] != null) { - entries[_DLPA] = input[_DLPA]; - } - if (input[_DCAR] != null) { - entries[_DCAR] = input[_DCAR]; - } - if (input[_LGN] != null) { - entries[_LGN] = input[_LGN]; - } - if (input[_RIes] != null) { - const memberEntries = se_FlowLogResourceIds(input[_RIes], context); - if (((_a2 = input[_RIes]) == null ? void 0 : _a2.length) === 0) { - entries.ResourceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ResourceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RT] != null) { - entries[_RT] = input[_RT]; - } - if (input[_TT] != null) { - entries[_TT] = input[_TT]; - } - if (input[_LDT] != null) { - entries[_LDT] = input[_LDT]; - } - if (input[_LD] != null) { - entries[_LD] = input[_LD]; - } - if (input[_LF] != null) { - entries[_LF] = input[_LF]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MAI] != null) { - entries[_MAI] = input[_MAI]; - } - if (input[_DO] != null) { - const memberEntries = se_DestinationOptionsRequest(input[_DO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DestinationOptions.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateFlowLogsRequest"); -var se_CreateFpgaImageRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ISL] != null) { - const memberEntries = se_StorageLocation(input[_ISL], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InputStorageLocation.${key}`; - entries[loc] = value; - }); - } - if (input[_LSL] != null) { - const memberEntries = se_StorageLocation(input[_LSL], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LogsStorageLocation.${key}`; - entries[loc] = value; - }); - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateFpgaImageRequest"); -var se_CreateImageRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_BDM] != null) { - const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context); - if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { - entries.BlockDeviceMapping = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - if (input[_NR] != null) { - entries[_NR] = input[_NR]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateImageRequest"); -var se_CreateInstanceConnectEndpointRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_SGI] != null) { - const memberEntries = se_SecurityGroupIdStringListRequest(input[_SGI], context); - if (((_a2 = input[_SGI]) == null ? void 0 : _a2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PCI] != null) { - entries[_PCI] = input[_PCI]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateInstanceConnectEndpointRequest"); -var se_CreateInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - if (input[_TRi] != null) { - const memberEntries = se_InstanceEventWindowTimeRangeRequestSet(input[_TRi], context); - if (((_a2 = input[_TRi]) == null ? void 0 : _a2.length) === 0) { - entries.TimeRange = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TimeRange.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CE] != null) { - entries[_CE] = input[_CE]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateInstanceEventWindowRequest"); -var se_CreateInstanceExportTaskRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_ETST] != null) { - const memberEntries = se_ExportToS3TaskSpecification(input[_ETST], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ExportToS3.${key}`; - entries[loc] = value; - }); - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_TE] != null) { - entries[_TE] = input[_TE]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateInstanceExportTaskRequest"); -var se_CreateInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateInternetGatewayRequest"); -var se_CreateIpamPoolRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ISI] != null) { - entries[_ISI] = input[_ISI]; - } - if (input[_L] != null) { - entries[_L] = input[_L]; - } - if (input[_SIPI] != null) { - entries[_SIPI] = input[_SIPI]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_AF] != null) { - entries[_AF] = input[_AF]; - } - if (input[_AIu] != null) { - entries[_AIu] = input[_AIu]; - } - if (input[_PA] != null) { - entries[_PA] = input[_PA]; - } - if (input[_AMNL] != null) { - entries[_AMNL] = input[_AMNL]; - } - if (input[_AMNLl] != null) { - entries[_AMNLl] = input[_AMNLl]; - } - if (input[_ADNL] != null) { - entries[_ADNL] = input[_ADNL]; - } - if (input[_ARTl] != null) { - const memberEntries = se_RequestIpamResourceTagList(input[_ARTl], context); - if (((_a2 = input[_ARTl]) == null ? void 0 : _a2.length) === 0) { - entries.AllocationResourceTag = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AllocationResourceTag.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_ASw] != null) { - entries[_ASw] = input[_ASw]; - } - if (input[_PIS] != null) { - entries[_PIS] = input[_PIS]; - } - if (input[_SRo] != null) { - const memberEntries = se_IpamPoolSourceResourceRequest(input[_SRo], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourceResource.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateIpamPoolRequest"); -var se_CreateIpamRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_OR] != null) { - const memberEntries = se_AddIpamOperatingRegionSet(input[_OR], context); - if (((_a2 = input[_OR]) == null ? void 0 : _a2.length) === 0) { - entries.OperatingRegion = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `OperatingRegion.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_Ti] != null) { - entries[_Ti] = input[_Ti]; - } - return entries; -}, "se_CreateIpamRequest"); -var se_CreateIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_OR] != null) { - const memberEntries = se_AddIpamOperatingRegionSet(input[_OR], context); - if (((_a2 = input[_OR]) == null ? void 0 : _a2.length) === 0) { - entries.OperatingRegion = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `OperatingRegion.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CreateIpamResourceDiscoveryRequest"); -var se_CreateIpamScopeRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIp] != null) { - entries[_IIp] = input[_IIp]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CreateIpamScopeRequest"); -var se_CreateKeyPairRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_KN] != null) { - entries[_KN] = input[_KN]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_KT] != null) { - entries[_KT] = input[_KT]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_KF] != null) { - entries[_KF] = input[_KF]; - } - return entries; -}, "se_CreateKeyPairRequest"); -var se_CreateLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_LTN] != null) { - entries[_LTN] = input[_LTN]; - } - if (input[_VD] != null) { - entries[_VD] = input[_VD]; - } - if (input[_LTD] != null) { - const memberEntries = se_RequestLaunchTemplateData(input[_LTD], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateData.${key}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateLaunchTemplateRequest"); -var se_CreateLaunchTemplateVersionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_LTI] != null) { - entries[_LTI] = input[_LTI]; - } - if (input[_LTN] != null) { - entries[_LTN] = input[_LTN]; - } - if (input[_SV] != null) { - entries[_SV] = input[_SV]; - } - if (input[_VD] != null) { - entries[_VD] = input[_VD]; - } - if (input[_LTD] != null) { - const memberEntries = se_RequestLaunchTemplateData(input[_LTD], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateData.${key}`; - entries[loc] = value; - }); - } - if (input[_RAe] != null) { - entries[_RAe] = input[_RAe]; - } - return entries; -}, "se_CreateLaunchTemplateVersionRequest"); -var se_CreateLocalGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_LGRTI] != null) { - entries[_LGRTI] = input[_LGRTI]; - } - if (input[_LGVIGI] != null) { - entries[_LGVIGI] = input[_LGVIGI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_DPLI] != null) { - entries[_DPLI] = input[_DPLI]; - } - return entries; -}, "se_CreateLocalGatewayRouteRequest"); -var se_CreateLocalGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_LGI] != null) { - entries[_LGI] = input[_LGI]; - } - if (input[_Mo] != null) { - entries[_Mo] = input[_Mo]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateLocalGatewayRouteTableRequest"); -var se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_LGRTI] != null) { - entries[_LGRTI] = input[_LGRTI]; - } - if (input[_LGVIGI] != null) { - entries[_LGVIGI] = input[_LGVIGI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest"); -var se_CreateLocalGatewayRouteTableVpcAssociationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_LGRTI] != null) { - entries[_LGRTI] = input[_LGRTI]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateLocalGatewayRouteTableVpcAssociationRequest"); -var se_CreateManagedPrefixListRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PLN] != null) { - entries[_PLN] = input[_PLN]; - } - if (input[_Ent] != null) { - const memberEntries = se_AddPrefixListEntries(input[_Ent], context); - if (((_a2 = input[_Ent]) == null ? void 0 : _a2.length) === 0) { - entries.Entry = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Entry.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ME] != null) { - entries[_ME] = input[_ME]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_AF] != null) { - entries[_AF] = input[_AF]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CreateManagedPrefixListRequest"); -var se_CreateNatGatewayRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_AIl] != null) { - entries[_AIl] = input[_AIl]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTo] != null) { - entries[_CTo] = input[_CTo]; - } - if (input[_PIAr] != null) { - entries[_PIAr] = input[_PIAr]; - } - if (input[_SAI] != null) { - const memberEntries = se_AllocationIdList(input[_SAI], context); - if (((_b2 = input[_SAI]) == null ? void 0 : _b2.length) === 0) { - entries.SecondaryAllocationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecondaryAllocationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SPIA] != null) { - const memberEntries = se_IpList(input[_SPIA], context); - if (((_c2 = input[_SPIA]) == null ? void 0 : _c2.length) === 0) { - entries.SecondaryPrivateIpAddress = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecondaryPrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SPIAC] != null) { - entries[_SPIAC] = input[_SPIAC]; - } - return entries; -}, "se_CreateNatGatewayRequest"); -var se_CreateNetworkAclEntryRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CB] != null) { - entries[_CB] = input[_CB]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Eg] != null) { - entries[_Eg] = input[_Eg]; - } - if (input[_ITC] != null) { - const memberEntries = se_IcmpTypeCode(input[_ITC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Icmp.${key}`; - entries[loc] = value; - }); - } - if (input[_ICB] != null) { - entries[_ICB] = input[_ICB]; - } - if (input[_NAI] != null) { - entries[_NAI] = input[_NAI]; - } - if (input[_PR] != null) { - const memberEntries = se_PortRange(input[_PR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PortRange.${key}`; - entries[loc] = value; - }); - } - if (input[_P] != null) { - entries[_P] = input[_P]; - } - if (input[_RAu] != null) { - entries[_RAu] = input[_RAu]; - } - if (input[_RNu] != null) { - entries[_RNu] = input[_RNu]; - } - return entries; -}, "se_CreateNetworkAclEntryRequest"); -var se_CreateNetworkAclRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CreateNetworkAclRequest"); -var se_CreateNetworkInsightsAccessScopeRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_MP] != null) { - const memberEntries = se_AccessScopePathListRequest(input[_MP], context); - if (((_a2 = input[_MP]) == null ? void 0 : _a2.length) === 0) { - entries.MatchPath = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MatchPath.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_EP] != null) { - const memberEntries = se_AccessScopePathListRequest(input[_EP], context); - if (((_b2 = input[_EP]) == null ? void 0 : _b2.length) === 0) { - entries.ExcludePath = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ExcludePath.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateNetworkInsightsAccessScopeRequest"); -var se_CreateNetworkInsightsPathRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_SIo] != null) { - entries[_SIo] = input[_SIo]; - } - if (input[_DIest] != null) { - entries[_DIest] = input[_DIest]; - } - if (input[_S] != null) { - entries[_S] = input[_S]; - } - if (input[_D] != null) { - entries[_D] = input[_D]; - } - if (input[_P] != null) { - entries[_P] = input[_P]; - } - if (input[_DP] != null) { - entries[_DP] = input[_DP]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_FAS] != null) { - const memberEntries = se_PathRequestFilter(input[_FAS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `FilterAtSource.${key}`; - entries[loc] = value; - }); - } - if (input[_FAD] != null) { - const memberEntries = se_PathRequestFilter(input[_FAD], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `FilterAtDestination.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateNetworkInsightsPathRequest"); -var se_CreateNetworkInterfacePermissionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_AAI] != null) { - entries[_AAI] = input[_AAI]; - } - if (input[_ASw] != null) { - entries[_ASw] = input[_ASw]; - } - if (input[_Pe] != null) { - entries[_Pe] = input[_Pe]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateNetworkInterfacePermissionRequest"); -var se_CreateNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2, _f2; - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_G] != null) { - const memberEntries = se_SecurityGroupIdStringList(input[_G], context); - if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IAC] != null) { - entries[_IAC] = input[_IAC]; - } - if (input[_IA] != null) { - const memberEntries = se_InstanceIpv6AddressList(input[_IA], context); - if (((_b2 = input[_IA]) == null ? void 0 : _b2.length) === 0) { - entries.Ipv6Addresses = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PIAr] != null) { - entries[_PIAr] = input[_PIAr]; - } - if (input[_PIA] != null) { - const memberEntries = se_PrivateIpAddressSpecificationList(input[_PIA], context); - if (((_c2 = input[_PIA]) == null ? void 0 : _c2.length) === 0) { - entries.PrivateIpAddresses = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrivateIpAddresses.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SPIAC] != null) { - entries[_SPIAC] = input[_SPIAC]; - } - if (input[_IPp] != null) { - const memberEntries = se_Ipv4PrefixList(input[_IPp], context); - if (((_d2 = input[_IPp]) == null ? void 0 : _d2.length) === 0) { - entries.Ipv4Prefix = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv4Prefix.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IPCp] != null) { - entries[_IPCp] = input[_IPCp]; - } - if (input[_IP] != null) { - const memberEntries = se_Ipv6PrefixList(input[_IP], context); - if (((_e2 = input[_IP]) == null ? void 0 : _e2.length) === 0) { - entries.Ipv6Prefix = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Prefix.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IPC] != null) { - entries[_IPC] = input[_IPC]; - } - if (input[_ITn] != null) { - entries[_ITn] = input[_ITn]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_f2 = input[_TS]) == null ? void 0 : _f2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_EPI] != null) { - entries[_EPI] = input[_EPI]; - } - if (input[_CTS] != null) { - const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ConnectionTrackingSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateNetworkInterfaceRequest"); -var se_CreatePlacementGroupRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_Str] != null) { - entries[_Str] = input[_Str]; - } - if (input[_PCa] != null) { - entries[_PCa] = input[_PCa]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SL] != null) { - entries[_SL] = input[_SL]; - } - return entries; -}, "se_CreatePlacementGroupRequest"); -var se_CreatePublicIpv4PoolRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreatePublicIpv4PoolRequest"); -var se_CreateReplaceRootVolumeTaskRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_DRRV] != null) { - entries[_DRRV] = input[_DRRV]; - } - return entries; -}, "se_CreateReplaceRootVolumeTaskRequest"); -var se_CreateReservedInstancesListingRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_IC] != null) { - entries[_IC] = input[_IC]; - } - if (input[_PS] != null) { - const memberEntries = se_PriceScheduleSpecificationList(input[_PS], context); - if (((_a2 = input[_PS]) == null ? void 0 : _a2.length) === 0) { - entries.PriceSchedules = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PriceSchedules.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RIIe] != null) { - entries[_RIIe] = input[_RIIe]; - } - return entries; -}, "se_CreateReservedInstancesListingRequest"); -var se_CreateRestoreImageTaskRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_B] != null) { - entries[_B] = input[_B]; - } - if (input[_OK] != null) { - entries[_OK] = input[_OK]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateRestoreImageTaskRequest"); -var se_CreateRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_DICB] != null) { - entries[_DICB] = input[_DICB]; - } - if (input[_DPLI] != null) { - entries[_DPLI] = input[_DPLI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VEIp] != null) { - entries[_VEIp] = input[_VEIp]; - } - if (input[_EOIGI] != null) { - entries[_EOIGI] = input[_EOIGI]; - } - if (input[_GI] != null) { - entries[_GI] = input[_GI]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_NGI] != null) { - entries[_NGI] = input[_NGI]; - } - if (input[_TGI] != null) { - entries[_TGI] = input[_TGI]; - } - if (input[_LGI] != null) { - entries[_LGI] = input[_LGI]; - } - if (input[_CGI] != null) { - entries[_CGI] = input[_CGI]; - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_RTI] != null) { - entries[_RTI] = input[_RTI]; - } - if (input[_VPCI] != null) { - entries[_VPCI] = input[_VPCI]; - } - if (input[_CNAo] != null) { - entries[_CNAo] = input[_CNAo]; - } - return entries; -}, "se_CreateRouteRequest"); -var se_CreateRouteTableRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CreateRouteTableRequest"); -var se_CreateSecurityGroupRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_De] != null) { - entries[_GD] = input[_De]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateSecurityGroupRequest"); -var se_CreateSnapshotRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_OA] != null) { - entries[_OA] = input[_OA]; - } - if (input[_VIo] != null) { - entries[_VIo] = input[_VIo]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateSnapshotRequest"); -var se_CreateSnapshotsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_ISn] != null) { - const memberEntries = se_InstanceSpecification(input[_ISn], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_OA] != null) { - entries[_OA] = input[_OA]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTFS] != null) { - entries[_CTFS] = input[_CTFS]; - } - return entries; -}, "se_CreateSnapshotsRequest"); -var se_CreateSpotDatafeedSubscriptionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_B] != null) { - entries[_B] = input[_B]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Pr] != null) { - entries[_Pr] = input[_Pr]; - } - return entries; -}, "se_CreateSpotDatafeedSubscriptionRequest"); -var se_CreateStoreImageTaskRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_B] != null) { - entries[_B] = input[_B]; - } - if (input[_SOT] != null) { - const memberEntries = se_S3ObjectTagList(input[_SOT], context); - if (((_a2 = input[_SOT]) == null ? void 0 : _a2.length) === 0) { - entries.S3ObjectTag = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `S3ObjectTag.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateStoreImageTaskRequest"); -var se_CreateSubnetCidrReservationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_RTe] != null) { - entries[_RTe] = input[_RTe]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateSubnetCidrReservationRequest"); -var se_CreateSubnetRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_AZI] != null) { - entries[_AZI] = input[_AZI]; - } - if (input[_CB] != null) { - entries[_CB] = input[_CB]; - } - if (input[_ICB] != null) { - entries[_ICB] = input[_ICB]; - } - if (input[_OA] != null) { - entries[_OA] = input[_OA]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IN] != null) { - entries[_IN] = input[_IN]; - } - if (input[_IIPIp] != null) { - entries[_IIPIp] = input[_IIPIp]; - } - if (input[_INLp] != null) { - entries[_INLp] = input[_INLp]; - } - if (input[_IIPI] != null) { - entries[_IIPI] = input[_IIPI]; - } - if (input[_INL] != null) { - entries[_INL] = input[_INL]; - } - return entries; -}, "se_CreateSubnetRequest"); -var se_CreateTagsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_R] != null) { - const memberEntries = se_ResourceIdList(input[_R], context); - if (((_a2 = input[_R]) == null ? void 0 : _a2.length) === 0) { - entries.ResourceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ResourceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Ta] != null) { - const memberEntries = se_TagList(input[_Ta], context); - if (((_b2 = input[_Ta]) == null ? void 0 : _b2.length) === 0) { - entries.Tag = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Tag.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateTagsRequest"); -var se_CreateTrafficMirrorFilterRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CreateTrafficMirrorFilterRequest"); -var se_CreateTrafficMirrorFilterRuleRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TMFI] != null) { - entries[_TMFI] = input[_TMFI]; - } - if (input[_TD] != null) { - entries[_TD] = input[_TD]; - } - if (input[_RNu] != null) { - entries[_RNu] = input[_RNu]; - } - if (input[_RAu] != null) { - entries[_RAu] = input[_RAu]; - } - if (input[_DPR] != null) { - const memberEntries = se_TrafficMirrorPortRangeRequest(input[_DPR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DestinationPortRange.${key}`; - entries[loc] = value; - }); - } - if (input[_SPR] != null) { - const memberEntries = se_TrafficMirrorPortRangeRequest(input[_SPR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourcePortRange.${key}`; - entries[loc] = value; - }); - } - if (input[_P] != null) { - entries[_P] = input[_P]; - } - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_SCB] != null) { - entries[_SCB] = input[_SCB]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CreateTrafficMirrorFilterRuleRequest"); -var se_CreateTrafficMirrorSessionRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_TMTI] != null) { - entries[_TMTI] = input[_TMTI]; - } - if (input[_TMFI] != null) { - entries[_TMFI] = input[_TMFI]; - } - if (input[_PL] != null) { - entries[_PL] = input[_PL]; - } - if (input[_SN] != null) { - entries[_SN] = input[_SN]; - } - if (input[_VNI] != null) { - entries[_VNI] = input[_VNI]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CreateTrafficMirrorSessionRequest"); -var se_CreateTrafficMirrorTargetRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_NLBA] != null) { - entries[_NLBA] = input[_NLBA]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_GLBEI] != null) { - entries[_GLBEI] = input[_GLBEI]; - } - return entries; -}, "se_CreateTrafficMirrorTargetRequest"); -var se_CreateTransitGatewayConnectPeerRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_TGA] != null) { - entries[_TGA] = input[_TGA]; - } - if (input[_PAe] != null) { - entries[_PAe] = input[_PAe]; - } - if (input[_BO] != null) { - const memberEntries = se_TransitGatewayConnectRequestBgpOptions(input[_BO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BgpOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_ICBn] != null) { - const memberEntries = se_InsideCidrBlocksStringList(input[_ICBn], context); - if (((_a2 = input[_ICBn]) == null ? void 0 : _a2.length) === 0) { - entries.InsideCidrBlocks = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InsideCidrBlocks.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateTransitGatewayConnectPeerRequest"); -var se_CreateTransitGatewayConnectRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TTGAI] != null) { - entries[_TTGAI] = input[_TTGAI]; - } - if (input[_O] != null) { - const memberEntries = se_CreateTransitGatewayConnectRequestOptions(input[_O], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Options.${key}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateTransitGatewayConnectRequest"); -var se_CreateTransitGatewayConnectRequestOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_P] != null) { - entries[_P] = input[_P]; - } - return entries; -}, "se_CreateTransitGatewayConnectRequestOptions"); -var se_CreateTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGI] != null) { - entries[_TGI] = input[_TGI]; - } - if (input[_O] != null) { - const memberEntries = se_CreateTransitGatewayMulticastDomainRequestOptions(input[_O], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Options.${key}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateTransitGatewayMulticastDomainRequest"); -var se_CreateTransitGatewayMulticastDomainRequestOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ISg] != null) { - entries[_ISg] = input[_ISg]; - } - if (input[_SSS] != null) { - entries[_SSS] = input[_SSS]; - } - if (input[_AASA] != null) { - entries[_AASA] = input[_AASA]; - } - return entries; -}, "se_CreateTransitGatewayMulticastDomainRequestOptions"); -var se_CreateTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGI] != null) { - entries[_TGI] = input[_TGI]; - } - if (input[_PTGI] != null) { - entries[_PTGI] = input[_PTGI]; - } - if (input[_PAI] != null) { - entries[_PAI] = input[_PAI]; - } - if (input[_PRe] != null) { - entries[_PRe] = input[_PRe]; - } - if (input[_O] != null) { - const memberEntries = se_CreateTransitGatewayPeeringAttachmentRequestOptions(input[_O], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Options.${key}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateTransitGatewayPeeringAttachmentRequest"); -var se_CreateTransitGatewayPeeringAttachmentRequestOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRy] != null) { - entries[_DRy] = input[_DRy]; - } - return entries; -}, "se_CreateTransitGatewayPeeringAttachmentRequestOptions"); -var se_CreateTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGI] != null) { - entries[_TGI] = input[_TGI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecifications = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecifications.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateTransitGatewayPolicyTableRequest"); -var se_CreateTransitGatewayPrefixListReferenceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_PLI] != null) { - entries[_PLI] = input[_PLI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_Bl] != null) { - entries[_Bl] = input[_Bl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateTransitGatewayPrefixListReferenceRequest"); -var se_CreateTransitGatewayRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_O] != null) { - const memberEntries = se_TransitGatewayRequestOptions(input[_O], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Options.${key}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateTransitGatewayRequest"); -var se_CreateTransitGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_Bl] != null) { - entries[_Bl] = input[_Bl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateTransitGatewayRouteRequest"); -var se_CreateTransitGatewayRouteTableAnnouncementRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_PAIe] != null) { - entries[_PAIe] = input[_PAIe]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateTransitGatewayRouteTableAnnouncementRequest"); -var se_CreateTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGI] != null) { - entries[_TGI] = input[_TGI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecifications = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecifications.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateTransitGatewayRouteTableRequest"); -var se_CreateTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGI] != null) { - entries[_TGI] = input[_TGI]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_SIu] != null) { - const memberEntries = se_TransitGatewaySubnetIdList(input[_SIu], context); - if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { - entries.SubnetIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_O] != null) { - const memberEntries = se_CreateTransitGatewayVpcAttachmentRequestOptions(input[_O], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Options.${key}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecifications = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecifications.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateTransitGatewayVpcAttachmentRequest"); -var se_CreateTransitGatewayVpcAttachmentRequestOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DSns] != null) { - entries[_DSns] = input[_DSns]; - } - if (input[_SGRS] != null) { - entries[_SGRS] = input[_SGRS]; - } - if (input[_ISp] != null) { - entries[_ISp] = input[_ISp]; - } - if (input[_AMS] != null) { - entries[_AMS] = input[_AMS]; - } - return entries; -}, "se_CreateTransitGatewayVpcAttachmentRequestOptions"); -var se_CreateVerifiedAccessEndpointEniOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_P] != null) { - entries[_P] = input[_P]; - } - if (input[_Po] != null) { - entries[_Po] = input[_Po]; - } - return entries; -}, "se_CreateVerifiedAccessEndpointEniOptions"); -var se_CreateVerifiedAccessEndpointLoadBalancerOptions = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_P] != null) { - entries[_P] = input[_P]; - } - if (input[_Po] != null) { - entries[_Po] = input[_Po]; - } - if (input[_LBA] != null) { - entries[_LBA] = input[_LBA]; - } - if (input[_SIu] != null) { - const memberEntries = se_CreateVerifiedAccessEndpointSubnetIdList(input[_SIu], context); - if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { - entries.SubnetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateVerifiedAccessEndpointLoadBalancerOptions"); -var se_CreateVerifiedAccessEndpointRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_VAGI] != null) { - entries[_VAGI] = input[_VAGI]; - } - if (input[_ET] != null) { - entries[_ET] = input[_ET]; - } - if (input[_ATt] != null) { - entries[_ATt] = input[_ATt]; - } - if (input[_DCA] != null) { - entries[_DCA] = input[_DCA]; - } - if (input[_ADp] != null) { - entries[_ADp] = input[_ADp]; - } - if (input[_EDP] != null) { - entries[_EDP] = input[_EDP]; - } - if (input[_SGI] != null) { - const memberEntries = se_SecurityGroupIdList(input[_SGI], context); - if (((_a2 = input[_SGI]) == null ? void 0 : _a2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_LBO] != null) { - const memberEntries = se_CreateVerifiedAccessEndpointLoadBalancerOptions(input[_LBO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LoadBalancerOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_NIO] != null) { - const memberEntries = se_CreateVerifiedAccessEndpointEniOptions(input[_NIO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterfaceOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_PD] != null) { - entries[_PD] = input[_PD]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SS] != null) { - const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SseSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateVerifiedAccessEndpointRequest"); -var se_CreateVerifiedAccessEndpointSubnetIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_CreateVerifiedAccessEndpointSubnetIdList"); -var se_CreateVerifiedAccessGroupRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_VAII] != null) { - entries[_VAII] = input[_VAII]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_PD] != null) { - entries[_PD] = input[_PD]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SS] != null) { - const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SseSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateVerifiedAccessGroupRequest"); -var se_CreateVerifiedAccessInstanceRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_FIPSE] != null) { - entries[_FIPSE] = input[_FIPSE]; - } - return entries; -}, "se_CreateVerifiedAccessInstanceRequest"); -var se_CreateVerifiedAccessTrustProviderDeviceOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TIe] != null) { - entries[_TIe] = input[_TIe]; - } - if (input[_PSKU] != null) { - entries[_PSKU] = input[_PSKU]; - } - return entries; -}, "se_CreateVerifiedAccessTrustProviderDeviceOptions"); -var se_CreateVerifiedAccessTrustProviderOidcOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_I] != null) { - entries[_I] = input[_I]; - } - if (input[_AE] != null) { - entries[_AE] = input[_AE]; - } - if (input[_TEo] != null) { - entries[_TEo] = input[_TEo]; - } - if (input[_UIE] != null) { - entries[_UIE] = input[_UIE]; - } - if (input[_CIl] != null) { - entries[_CIl] = input[_CIl]; - } - if (input[_CSl] != null) { - entries[_CSl] = input[_CSl]; - } - if (input[_Sc] != null) { - entries[_Sc] = input[_Sc]; - } - return entries; -}, "se_CreateVerifiedAccessTrustProviderOidcOptions"); -var se_CreateVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TPT] != null) { - entries[_TPT] = input[_TPT]; - } - if (input[_UTPT] != null) { - entries[_UTPT] = input[_UTPT]; - } - if (input[_DTPT] != null) { - entries[_DTPT] = input[_DTPT]; - } - if (input[_OO] != null) { - const memberEntries = se_CreateVerifiedAccessTrustProviderOidcOptions(input[_OO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `OidcOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_DOe] != null) { - const memberEntries = se_CreateVerifiedAccessTrustProviderDeviceOptions(input[_DOe], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DeviceOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_PRN] != null) { - entries[_PRN] = input[_PRN]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SS] != null) { - const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SseSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateVerifiedAccessTrustProviderRequest"); -var se_CreateVolumePermission = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Gr] != null) { - entries[_Gr] = input[_Gr]; - } - if (input[_UIs] != null) { - entries[_UIs] = input[_UIs]; - } - return entries; -}, "se_CreateVolumePermission"); -var se_CreateVolumePermissionList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_CreateVolumePermission(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_CreateVolumePermissionList"); -var se_CreateVolumePermissionModifications = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Add] != null) { - const memberEntries = se_CreateVolumePermissionList(input[_Add], context); - if (((_a2 = input[_Add]) == null ? void 0 : _a2.length) === 0) { - entries.Add = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Add.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Re] != null) { - const memberEntries = se_CreateVolumePermissionList(input[_Re], context); - if (((_b2 = input[_Re]) == null ? void 0 : _b2.length) === 0) { - entries.Remove = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Remove.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateVolumePermissionModifications"); -var se_CreateVolumeRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_Enc] != null) { - entries[_Enc] = input[_Enc]; - } - if (input[_Io] != null) { - entries[_Io] = input[_Io]; - } - if (input[_KKI] != null) { - entries[_KKI] = input[_KKI]; - } - if (input[_OA] != null) { - entries[_OA] = input[_OA]; - } - if (input[_Siz] != null) { - entries[_Siz] = input[_Siz]; - } - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_VT] != null) { - entries[_VT] = input[_VT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MAE] != null) { - entries[_MAE] = input[_MAE]; - } - if (input[_Th] != null) { - entries[_Th] = input[_Th]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CreateVolumeRequest"); -var se_CreateVpcEndpointConnectionNotificationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIe] != null) { - entries[_SIe] = input[_SIe]; - } - if (input[_VEIp] != null) { - entries[_VEIp] = input[_VEIp]; - } - if (input[_CNAon] != null) { - entries[_CNAon] = input[_CNAon]; - } - if (input[_CEo] != null) { - const memberEntries = se_ValueStringList(input[_CEo], context); - if (((_a2 = input[_CEo]) == null ? void 0 : _a2.length) === 0) { - entries.ConnectionEvents = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ConnectionEvents.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_CreateVpcEndpointConnectionNotificationRequest"); -var se_CreateVpcEndpointRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VET] != null) { - entries[_VET] = input[_VET]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_SNe] != null) { - entries[_SNe] = input[_SNe]; - } - if (input[_PD] != null) { - entries[_PD] = input[_PD]; - } - if (input[_RTIo] != null) { - const memberEntries = se_VpcEndpointRouteTableIdList(input[_RTIo], context); - if (((_a2 = input[_RTIo]) == null ? void 0 : _a2.length) === 0) { - entries.RouteTableId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RouteTableId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SIu] != null) { - const memberEntries = se_VpcEndpointSubnetIdList(input[_SIu], context); - if (((_b2 = input[_SIu]) == null ? void 0 : _b2.length) === 0) { - entries.SubnetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SGI] != null) { - const memberEntries = se_VpcEndpointSecurityGroupIdList(input[_SGI], context); - if (((_c2 = input[_SGI]) == null ? void 0 : _c2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IAT] != null) { - entries[_IAT] = input[_IAT]; - } - if (input[_DOn] != null) { - const memberEntries = se_DnsOptionsSpecification(input[_DOn], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DnsOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_PDE] != null) { - entries[_PDE] = input[_PDE]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_d2 = input[_TS]) == null ? void 0 : _d2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SC] != null) { - const memberEntries = se_SubnetConfigurationsList(input[_SC], context); - if (((_e2 = input[_SC]) == null ? void 0 : _e2.length) === 0) { - entries.SubnetConfiguration = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetConfiguration.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateVpcEndpointRequest"); -var se_CreateVpcEndpointServiceConfigurationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ARc] != null) { - entries[_ARc] = input[_ARc]; - } - if (input[_PDN] != null) { - entries[_PDN] = input[_PDN]; - } - if (input[_NLBAe] != null) { - const memberEntries = se_ValueStringList(input[_NLBAe], context); - if (((_a2 = input[_NLBAe]) == null ? void 0 : _a2.length) === 0) { - entries.NetworkLoadBalancerArn = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_GLBA] != null) { - const memberEntries = se_ValueStringList(input[_GLBA], context); - if (((_b2 = input[_GLBA]) == null ? void 0 : _b2.length) === 0) { - entries.GatewayLoadBalancerArn = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `GatewayLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SIAT] != null) { - const memberEntries = se_ValueStringList(input[_SIAT], context); - if (((_c2 = input[_SIAT]) == null ? void 0 : _c2.length) === 0) { - entries.SupportedIpAddressType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SupportedIpAddressType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_d2 = input[_TS]) == null ? void 0 : _d2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateVpcEndpointServiceConfigurationRequest"); -var se_CreateVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_POI] != null) { - entries[_POI] = input[_POI]; - } - if (input[_PVI] != null) { - entries[_PVI] = input[_PVI]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_PRe] != null) { - entries[_PRe] = input[_PRe]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateVpcPeeringConnectionRequest"); -var se_CreateVpcRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CB] != null) { - entries[_CB] = input[_CB]; - } - if (input[_APICB] != null) { - entries[_APICB] = input[_APICB]; - } - if (input[_IPpv] != null) { - entries[_IPpv] = input[_IPpv]; - } - if (input[_ICB] != null) { - entries[_ICB] = input[_ICB]; - } - if (input[_IIPIp] != null) { - entries[_IIPIp] = input[_IIPIp]; - } - if (input[_INLp] != null) { - entries[_INLp] = input[_INLp]; - } - if (input[_IIPI] != null) { - entries[_IIPI] = input[_IIPI]; - } - if (input[_INL] != null) { - entries[_INL] = input[_INL]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ITns] != null) { - entries[_ITns] = input[_ITns]; - } - if (input[_ICBNBG] != null) { - entries[_ICBNBG] = input[_ICBNBG]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateVpcRequest"); -var se_CreateVpnConnectionRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CGIu] != null) { - entries[_CGIu] = input[_CGIu]; - } - if (input[_T] != null) { - entries[_T] = input[_T]; - } - if (input[_VGI] != null) { - entries[_VGI] = input[_VGI]; - } - if (input[_TGI] != null) { - entries[_TGI] = input[_TGI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_O] != null) { - const memberEntries = se_VpnConnectionOptionsSpecification(input[_O], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Options.${key}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_CreateVpnConnectionRequest"); -var se_CreateVpnConnectionRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_VCI] != null) { - entries[_VCI] = input[_VCI]; - } - return entries; -}, "se_CreateVpnConnectionRouteRequest"); -var se_CreateVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_T] != null) { - entries[_T] = input[_T]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ASA] != null) { - entries[_ASA] = input[_ASA]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_CreateVpnGatewayRequest"); -var se_CreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CCp] != null) { - entries[_CCp] = input[_CCp]; - } - return entries; -}, "se_CreditSpecificationRequest"); -var se_CustomerGatewayIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`CustomerGatewayId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_CustomerGatewayIdStringList"); -var se_DataQueries = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_DataQuery(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Member.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_DataQueries"); -var se_DataQuery = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Id] != null) { - entries[_Id] = input[_Id]; - } - if (input[_S] != null) { - entries[_S] = input[_S]; - } - if (input[_D] != null) { - entries[_D] = input[_D]; - } - if (input[_Met] != null) { - entries[_Met] = input[_Met]; - } - if (input[_Sta] != null) { - entries[_Sta] = input[_Sta]; - } - if (input[_Per] != null) { - entries[_Per] = input[_Per]; - } - return entries; -}, "se_DataQuery"); -var se_DedicatedHostIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_DedicatedHostIdList"); -var se_DeleteCarrierGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CGI] != null) { - entries[_CGI] = input[_CGI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteCarrierGatewayRequest"); -var se_DeleteClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteClientVpnEndpointRequest"); -var se_DeleteClientVpnRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_TVSI] != null) { - entries[_TVSI] = input[_TVSI]; - } - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteClientVpnRouteRequest"); -var se_DeleteCoipCidrRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_CPIo] != null) { - entries[_CPIo] = input[_CPIo]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteCoipCidrRequest"); -var se_DeleteCoipPoolRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CPIo] != null) { - entries[_CPIo] = input[_CPIo]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteCoipPoolRequest"); -var se_DeleteCustomerGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CGIu] != null) { - entries[_CGIu] = input[_CGIu]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteCustomerGatewayRequest"); -var se_DeleteDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DOI] != null) { - entries[_DOI] = input[_DOI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteDhcpOptionsRequest"); -var se_DeleteEgressOnlyInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_EOIGI] != null) { - entries[_EOIGI] = input[_EOIGI]; - } - return entries; -}, "se_DeleteEgressOnlyInternetGatewayRequest"); -var se_DeleteFleetsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_FI] != null) { - const memberEntries = se_FleetIdSet(input[_FI], context); - if (((_a2 = input[_FI]) == null ? void 0 : _a2.length) === 0) { - entries.FleetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `FleetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TI] != null) { - entries[_TI] = input[_TI]; - } - return entries; -}, "se_DeleteFleetsRequest"); -var se_DeleteFlowLogsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_FLI] != null) { - const memberEntries = se_FlowLogIdList(input[_FLI], context); - if (((_a2 = input[_FLI]) == null ? void 0 : _a2.length) === 0) { - entries.FlowLogId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `FlowLogId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DeleteFlowLogsRequest"); -var se_DeleteFpgaImageRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_FII] != null) { - entries[_FII] = input[_FII]; - } - return entries; -}, "se_DeleteFpgaImageRequest"); -var se_DeleteInstanceConnectEndpointRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ICEI] != null) { - entries[_ICEI] = input[_ICEI]; - } - return entries; -}, "se_DeleteInstanceConnectEndpointRequest"); -var se_DeleteInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_FD] != null) { - entries[_FD] = input[_FD]; - } - if (input[_IEWI] != null) { - entries[_IEWI] = input[_IEWI]; - } - return entries; -}, "se_DeleteInstanceEventWindowRequest"); -var se_DeleteInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IGI] != null) { - entries[_IGI] = input[_IGI]; - } - return entries; -}, "se_DeleteInternetGatewayRequest"); -var se_DeleteIpamPoolRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IPI] != null) { - entries[_IPI] = input[_IPI]; - } - if (input[_Ca] != null) { - entries[_Ca] = input[_Ca]; - } - return entries; -}, "se_DeleteIpamPoolRequest"); -var se_DeleteIpamRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIp] != null) { - entries[_IIp] = input[_IIp]; - } - if (input[_Ca] != null) { - entries[_Ca] = input[_Ca]; - } - return entries; -}, "se_DeleteIpamRequest"); -var se_DeleteIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IRDI] != null) { - entries[_IRDI] = input[_IRDI]; - } - return entries; -}, "se_DeleteIpamResourceDiscoveryRequest"); -var se_DeleteIpamScopeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ISI] != null) { - entries[_ISI] = input[_ISI]; - } - return entries; -}, "se_DeleteIpamScopeRequest"); -var se_DeleteKeyPairRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_KN] != null) { - entries[_KN] = input[_KN]; - } - if (input[_KPI] != null) { - entries[_KPI] = input[_KPI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteKeyPairRequest"); -var se_DeleteLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_LTI] != null) { - entries[_LTI] = input[_LTI]; - } - if (input[_LTN] != null) { - entries[_LTN] = input[_LTN]; - } - return entries; -}, "se_DeleteLaunchTemplateRequest"); -var se_DeleteLaunchTemplateVersionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_LTI] != null) { - entries[_LTI] = input[_LTI]; - } - if (input[_LTN] != null) { - entries[_LTN] = input[_LTN]; - } - if (input[_Ve] != null) { - const memberEntries = se_VersionStringList(input[_Ve], context); - if (((_a2 = input[_Ve]) == null ? void 0 : _a2.length) === 0) { - entries.LaunchTemplateVersion = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateVersion.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DeleteLaunchTemplateVersionsRequest"); -var se_DeleteLocalGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_LGRTI] != null) { - entries[_LGRTI] = input[_LGRTI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_DPLI] != null) { - entries[_DPLI] = input[_DPLI]; - } - return entries; -}, "se_DeleteLocalGatewayRouteRequest"); -var se_DeleteLocalGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_LGRTI] != null) { - entries[_LGRTI] = input[_LGRTI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteLocalGatewayRouteTableRequest"); -var se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_LGRTVIGAI] != null) { - entries[_LGRTVIGAI] = input[_LGRTVIGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest"); -var se_DeleteLocalGatewayRouteTableVpcAssociationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_LGRTVAI] != null) { - entries[_LGRTVAI] = input[_LGRTVAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteLocalGatewayRouteTableVpcAssociationRequest"); -var se_DeleteManagedPrefixListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PLI] != null) { - entries[_PLI] = input[_PLI]; - } - return entries; -}, "se_DeleteManagedPrefixListRequest"); -var se_DeleteNatGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NGI] != null) { - entries[_NGI] = input[_NGI]; - } - return entries; -}, "se_DeleteNatGatewayRequest"); -var se_DeleteNetworkAclEntryRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Eg] != null) { - entries[_Eg] = input[_Eg]; - } - if (input[_NAI] != null) { - entries[_NAI] = input[_NAI]; - } - if (input[_RNu] != null) { - entries[_RNu] = input[_RNu]; - } - return entries; -}, "se_DeleteNetworkAclEntryRequest"); -var se_DeleteNetworkAclRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NAI] != null) { - entries[_NAI] = input[_NAI]; - } - return entries; -}, "se_DeleteNetworkAclRequest"); -var se_DeleteNetworkInsightsAccessScopeAnalysisRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_NIASAI] != null) { - entries[_NIASAI] = input[_NIASAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteNetworkInsightsAccessScopeAnalysisRequest"); -var se_DeleteNetworkInsightsAccessScopeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NIASI] != null) { - entries[_NIASI] = input[_NIASI]; - } - return entries; -}, "se_DeleteNetworkInsightsAccessScopeRequest"); -var se_DeleteNetworkInsightsAnalysisRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NIAI] != null) { - entries[_NIAI] = input[_NIAI]; - } - return entries; -}, "se_DeleteNetworkInsightsAnalysisRequest"); -var se_DeleteNetworkInsightsPathRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NIPI] != null) { - entries[_NIPI] = input[_NIPI]; - } - return entries; -}, "se_DeleteNetworkInsightsPathRequest"); -var se_DeleteNetworkInterfacePermissionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_NIPIe] != null) { - entries[_NIPIe] = input[_NIPIe]; - } - if (input[_F] != null) { - entries[_F] = input[_F]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteNetworkInterfacePermissionRequest"); -var se_DeleteNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - return entries; -}, "se_DeleteNetworkInterfaceRequest"); -var se_DeletePlacementGroupRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - return entries; -}, "se_DeletePlacementGroupRequest"); -var se_DeletePublicIpv4PoolRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PIo] != null) { - entries[_PIo] = input[_PIo]; - } - return entries; -}, "se_DeletePublicIpv4PoolRequest"); -var se_DeleteQueuedReservedInstancesIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_DeleteQueuedReservedInstancesIdList"); -var se_DeleteQueuedReservedInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RIIes] != null) { - const memberEntries = se_DeleteQueuedReservedInstancesIdList(input[_RIIes], context); - if (((_a2 = input[_RIIes]) == null ? void 0 : _a2.length) === 0) { - entries.ReservedInstancesId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ReservedInstancesId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DeleteQueuedReservedInstancesRequest"); -var se_DeleteRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_DICB] != null) { - entries[_DICB] = input[_DICB]; - } - if (input[_DPLI] != null) { - entries[_DPLI] = input[_DPLI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RTI] != null) { - entries[_RTI] = input[_RTI]; - } - return entries; -}, "se_DeleteRouteRequest"); -var se_DeleteRouteTableRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RTI] != null) { - entries[_RTI] = input[_RTI]; - } - return entries; -}, "se_DeleteRouteTableRequest"); -var se_DeleteSecurityGroupRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteSecurityGroupRequest"); -var se_DeleteSnapshotRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteSnapshotRequest"); -var se_DeleteSpotDatafeedSubscriptionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteSpotDatafeedSubscriptionRequest"); -var se_DeleteSubnetCidrReservationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SCRI] != null) { - entries[_SCRI] = input[_SCRI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteSubnetCidrReservationRequest"); -var se_DeleteSubnetRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteSubnetRequest"); -var se_DeleteTagsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_R] != null) { - const memberEntries = se_ResourceIdList(input[_R], context); - if (((_a2 = input[_R]) == null ? void 0 : _a2.length) === 0) { - entries.ResourceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ResourceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Ta] != null) { - const memberEntries = se_TagList(input[_Ta], context); - if (((_b2 = input[_Ta]) == null ? void 0 : _b2.length) === 0) { - entries.Tag = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Tag.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DeleteTagsRequest"); -var se_DeleteTrafficMirrorFilterRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TMFI] != null) { - entries[_TMFI] = input[_TMFI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTrafficMirrorFilterRequest"); -var se_DeleteTrafficMirrorFilterRuleRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TMFRI] != null) { - entries[_TMFRI] = input[_TMFRI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTrafficMirrorFilterRuleRequest"); -var se_DeleteTrafficMirrorSessionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TMSI] != null) { - entries[_TMSI] = input[_TMSI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTrafficMirrorSessionRequest"); -var se_DeleteTrafficMirrorTargetRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TMTI] != null) { - entries[_TMTI] = input[_TMTI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTrafficMirrorTargetRequest"); -var se_DeleteTransitGatewayConnectPeerRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGCPI] != null) { - entries[_TGCPI] = input[_TGCPI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTransitGatewayConnectPeerRequest"); -var se_DeleteTransitGatewayConnectRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTransitGatewayConnectRequest"); -var se_DeleteTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGMDI] != null) { - entries[_TGMDI] = input[_TGMDI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTransitGatewayMulticastDomainRequest"); -var se_DeleteTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTransitGatewayPeeringAttachmentRequest"); -var se_DeleteTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGPTI] != null) { - entries[_TGPTI] = input[_TGPTI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTransitGatewayPolicyTableRequest"); -var se_DeleteTransitGatewayPrefixListReferenceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_PLI] != null) { - entries[_PLI] = input[_PLI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTransitGatewayPrefixListReferenceRequest"); -var se_DeleteTransitGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGI] != null) { - entries[_TGI] = input[_TGI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTransitGatewayRequest"); -var se_DeleteTransitGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTransitGatewayRouteRequest"); -var se_DeleteTransitGatewayRouteTableAnnouncementRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGRTAI] != null) { - entries[_TGRTAI] = input[_TGRTAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTransitGatewayRouteTableAnnouncementRequest"); -var se_DeleteTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTransitGatewayRouteTableRequest"); -var se_DeleteTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteTransitGatewayVpcAttachmentRequest"); -var se_DeleteVerifiedAccessEndpointRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAEI] != null) { - entries[_VAEI] = input[_VAEI]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteVerifiedAccessEndpointRequest"); -var se_DeleteVerifiedAccessGroupRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAGI] != null) { - entries[_VAGI] = input[_VAGI]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteVerifiedAccessGroupRequest"); -var se_DeleteVerifiedAccessInstanceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAII] != null) { - entries[_VAII] = input[_VAII]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_DeleteVerifiedAccessInstanceRequest"); -var se_DeleteVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VATPI] != null) { - entries[_VATPI] = input[_VATPI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_DeleteVerifiedAccessTrustProviderRequest"); -var se_DeleteVolumeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VIo] != null) { - entries[_VIo] = input[_VIo]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteVolumeRequest"); -var se_DeleteVpcEndpointConnectionNotificationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CNIo] != null) { - const memberEntries = se_ConnectionNotificationIdsList(input[_CNIo], context); - if (((_a2 = input[_CNIo]) == null ? void 0 : _a2.length) === 0) { - entries.ConnectionNotificationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ConnectionNotificationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DeleteVpcEndpointConnectionNotificationsRequest"); -var se_DeleteVpcEndpointServiceConfigurationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIer] != null) { - const memberEntries = se_VpcEndpointServiceIdList(input[_SIer], context); - if (((_a2 = input[_SIer]) == null ? void 0 : _a2.length) === 0) { - entries.ServiceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ServiceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DeleteVpcEndpointServiceConfigurationsRequest"); -var se_DeleteVpcEndpointsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VEI] != null) { - const memberEntries = se_VpcEndpointIdList(input[_VEI], context); - if (((_a2 = input[_VEI]) == null ? void 0 : _a2.length) === 0) { - entries.VpcEndpointId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VpcEndpointId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DeleteVpcEndpointsRequest"); -var se_DeleteVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VPCI] != null) { - entries[_VPCI] = input[_VPCI]; - } - return entries; -}, "se_DeleteVpcPeeringConnectionRequest"); -var se_DeleteVpcRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteVpcRequest"); -var se_DeleteVpnConnectionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VCI] != null) { - entries[_VCI] = input[_VCI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteVpnConnectionRequest"); -var se_DeleteVpnConnectionRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_VCI] != null) { - entries[_VCI] = input[_VCI]; - } - return entries; -}, "se_DeleteVpnConnectionRouteRequest"); -var se_DeleteVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VGI] != null) { - entries[_VGI] = input[_VGI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeleteVpnGatewayRequest"); -var se_DeprovisionByoipCidrRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeprovisionByoipCidrRequest"); -var se_DeprovisionIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIp] != null) { - entries[_IIp] = input[_IIp]; - } - if (input[_As] != null) { - entries[_As] = input[_As]; - } - return entries; -}, "se_DeprovisionIpamByoasnRequest"); -var se_DeprovisionIpamPoolCidrRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IPI] != null) { - entries[_IPI] = input[_IPI]; - } - if (input[_C] != null) { - entries[_C] = input[_C]; - } - return entries; -}, "se_DeprovisionIpamPoolCidrRequest"); -var se_DeprovisionPublicIpv4PoolCidrRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PIo] != null) { - entries[_PIo] = input[_PIo]; - } - if (input[_C] != null) { - entries[_C] = input[_C]; - } - return entries; -}, "se_DeprovisionPublicIpv4PoolCidrRequest"); -var se_DeregisterImageRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeregisterImageRequest"); -var se_DeregisterInstanceEventNotificationAttributesRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ITA] != null) { - const memberEntries = se_DeregisterInstanceTagAttributeRequest(input[_ITA], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceTagAttribute.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DeregisterInstanceEventNotificationAttributesRequest"); -var se_DeregisterInstanceTagAttributeRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IATOI] != null) { - entries[_IATOI] = input[_IATOI]; - } - if (input[_ITK] != null) { - const memberEntries = se_InstanceTagKeySet(input[_ITK], context); - if (((_a2 = input[_ITK]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceTagKey = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceTagKey.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DeregisterInstanceTagAttributeRequest"); -var se_DeregisterTransitGatewayMulticastGroupMembersRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGMDI] != null) { - entries[_TGMDI] = input[_TGMDI]; - } - if (input[_GIA] != null) { - entries[_GIA] = input[_GIA]; - } - if (input[_NIIe] != null) { - const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context); - if (((_a2 = input[_NIIe]) == null ? void 0 : _a2.length) === 0) { - entries.NetworkInterfaceIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeregisterTransitGatewayMulticastGroupMembersRequest"); -var se_DeregisterTransitGatewayMulticastGroupSourcesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGMDI] != null) { - entries[_TGMDI] = input[_TGMDI]; - } - if (input[_GIA] != null) { - entries[_GIA] = input[_GIA]; - } - if (input[_NIIe] != null) { - const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context); - if (((_a2 = input[_NIIe]) == null ? void 0 : _a2.length) === 0) { - entries.NetworkInterfaceIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DeregisterTransitGatewayMulticastGroupSourcesRequest"); -var se_DescribeAccountAttributesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_AN] != null) { - const memberEntries = se_AccountAttributeNameStringList(input[_AN], context); - if (((_a2 = input[_AN]) == null ? void 0 : _a2.length) === 0) { - entries.AttributeName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AttributeName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeAccountAttributesRequest"); -var se_DescribeAddressesAttributeRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_AIll] != null) { - const memberEntries = se_AllocationIds(input[_AIll], context); - if (((_a2 = input[_AIll]) == null ? void 0 : _a2.length) === 0) { - entries.AllocationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AllocationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeAddressesAttributeRequest"); -var se_DescribeAddressesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PIu] != null) { - const memberEntries = se_PublicIpStringList(input[_PIu], context); - if (((_b2 = input[_PIu]) == null ? void 0 : _b2.length) === 0) { - entries.PublicIp = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PublicIp.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_AIll] != null) { - const memberEntries = se_AllocationIdList(input[_AIll], context); - if (((_c2 = input[_AIll]) == null ? void 0 : _c2.length) === 0) { - entries.AllocationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AllocationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeAddressesRequest"); -var se_DescribeAddressTransfersRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_AIll] != null) { - const memberEntries = se_AllocationIdList(input[_AIll], context); - if (((_a2 = input[_AIll]) == null ? void 0 : _a2.length) === 0) { - entries.AllocationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AllocationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeAddressTransfersRequest"); -var se_DescribeAggregateIdFormatRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeAggregateIdFormatRequest"); -var se_DescribeAvailabilityZonesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ZN] != null) { - const memberEntries = se_ZoneNameStringList(input[_ZN], context); - if (((_b2 = input[_ZN]) == null ? void 0 : _b2.length) === 0) { - entries.ZoneName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ZoneName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ZI] != null) { - const memberEntries = se_ZoneIdStringList(input[_ZI], context); - if (((_c2 = input[_ZI]) == null ? void 0 : _c2.length) === 0) { - entries.ZoneId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ZoneId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_AAZ] != null) { - entries[_AAZ] = input[_AAZ]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeAvailabilityZonesRequest"); -var se_DescribeAwsNetworkPerformanceMetricSubscriptionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeAwsNetworkPerformanceMetricSubscriptionsRequest"); -var se_DescribeBundleTasksRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_BIun] != null) { - const memberEntries = se_BundleIdStringList(input[_BIun], context); - if (((_a2 = input[_BIun]) == null ? void 0 : _a2.length) === 0) { - entries.BundleId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BundleId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeBundleTasksRequest"); -var se_DescribeByoipCidrsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeByoipCidrsRequest"); -var se_DescribeCapacityBlockOfferingsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_IC] != null) { - entries[_IC] = input[_IC]; - } - if (input[_SDR] != null) { - entries[_SDR] = input[_SDR].toISOString().split(".")[0] + "Z"; - } - if (input[_EDR] != null) { - entries[_EDR] = input[_EDR].toISOString().split(".")[0] + "Z"; - } - if (input[_CDH] != null) { - entries[_CDH] = input[_CDH]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeCapacityBlockOfferingsRequest"); -var se_DescribeCapacityReservationFleetsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_CRFI] != null) { - const memberEntries = se_CapacityReservationFleetIdSet(input[_CRFI], context); - if (((_a2 = input[_CRFI]) == null ? void 0 : _a2.length) === 0) { - entries.CapacityReservationFleetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CapacityReservationFleetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeCapacityReservationFleetsRequest"); -var se_DescribeCapacityReservationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_CRIa] != null) { - const memberEntries = se_CapacityReservationIdSet(input[_CRIa], context); - if (((_a2 = input[_CRIa]) == null ? void 0 : _a2.length) === 0) { - entries.CapacityReservationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CapacityReservationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeCapacityReservationsRequest"); -var se_DescribeCarrierGatewaysRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_CGIa] != null) { - const memberEntries = se_CarrierGatewayIdSet(input[_CGIa], context); - if (((_a2 = input[_CGIa]) == null ? void 0 : _a2.length) === 0) { - entries.CarrierGatewayId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CarrierGatewayId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeCarrierGatewaysRequest"); -var se_DescribeClassicLinkInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdStringList(input[_IIns], context); - if (((_b2 = input[_IIns]) == null ? void 0 : _b2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeClassicLinkInstancesRequest"); -var se_DescribeClientVpnAuthorizationRulesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeClientVpnAuthorizationRulesRequest"); -var se_DescribeClientVpnConnectionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeClientVpnConnectionsRequest"); -var se_DescribeClientVpnEndpointsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_CVEIl] != null) { - const memberEntries = se_ClientVpnEndpointIdList(input[_CVEIl], context); - if (((_a2 = input[_CVEIl]) == null ? void 0 : _a2.length) === 0) { - entries.ClientVpnEndpointId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ClientVpnEndpointId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeClientVpnEndpointsRequest"); -var se_DescribeClientVpnRoutesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeClientVpnRoutesRequest"); -var se_DescribeClientVpnTargetNetworksRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_AIs] != null) { - const memberEntries = se_ValueStringList(input[_AIs], context); - if (((_a2 = input[_AIs]) == null ? void 0 : _a2.length) === 0) { - entries.AssociationIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AssociationIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeClientVpnTargetNetworksRequest"); -var se_DescribeCoipPoolsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_PIoo] != null) { - const memberEntries = se_CoipPoolIdSet(input[_PIoo], context); - if (((_a2 = input[_PIoo]) == null ? void 0 : _a2.length) === 0) { - entries.PoolId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PoolId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeCoipPoolsRequest"); -var se_DescribeConversionTasksRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CTIo] != null) { - const memberEntries = se_ConversionIdStringList(input[_CTIo], context); - if (((_a2 = input[_CTIo]) == null ? void 0 : _a2.length) === 0) { - entries.ConversionTaskId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ConversionTaskId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeConversionTasksRequest"); -var se_DescribeCustomerGatewaysRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_CGIus] != null) { - const memberEntries = se_CustomerGatewayIdStringList(input[_CGIus], context); - if (((_a2 = input[_CGIus]) == null ? void 0 : _a2.length) === 0) { - entries.CustomerGatewayId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CustomerGatewayId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeCustomerGatewaysRequest"); -var se_DescribeDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DOIh] != null) { - const memberEntries = se_DhcpOptionsIdStringList(input[_DOIh], context); - if (((_a2 = input[_DOIh]) == null ? void 0 : _a2.length) === 0) { - entries.DhcpOptionsId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DhcpOptionsId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeDhcpOptionsRequest"); -var se_DescribeEgressOnlyInternetGatewaysRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_EOIGIg] != null) { - const memberEntries = se_EgressOnlyInternetGatewayIdList(input[_EOIGIg], context); - if (((_a2 = input[_EOIGIg]) == null ? void 0 : _a2.length) === 0) { - entries.EgressOnlyInternetGatewayId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EgressOnlyInternetGatewayId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeEgressOnlyInternetGatewaysRequest"); -var se_DescribeElasticGpusRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_EGI] != null) { - const memberEntries = se_ElasticGpuIdSet(input[_EGI], context); - if (((_a2 = input[_EGI]) == null ? void 0 : _a2.length) === 0) { - entries.ElasticGpuId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ElasticGpuId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeElasticGpusRequest"); -var se_DescribeExportImageTasksRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_EITI] != null) { - const memberEntries = se_ExportImageTaskIdList(input[_EITI], context); - if (((_b2 = input[_EITI]) == null ? void 0 : _b2.length) === 0) { - entries.ExportImageTaskId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ExportImageTaskId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeExportImageTasksRequest"); -var se_DescribeExportTasksRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_ETIx] != null) { - const memberEntries = se_ExportTaskIdStringList(input[_ETIx], context); - if (((_a2 = input[_ETIx]) == null ? void 0 : _a2.length) === 0) { - entries.ExportTaskId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ExportTaskId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeExportTasksRequest"); -var se_DescribeFastLaunchImagesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_IImag] != null) { - const memberEntries = se_FastLaunchImageIdList(input[_IImag], context); - if (((_a2 = input[_IImag]) == null ? void 0 : _a2.length) === 0) { - entries.ImageId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ImageId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeFastLaunchImagesRequest"); -var se_DescribeFastSnapshotRestoresRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeFastSnapshotRestoresRequest"); -var se_DescribeFleetHistoryRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ETv] != null) { - entries[_ETv] = input[_ETv]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_FIl] != null) { - entries[_FIl] = input[_FIl]; - } - if (input[_STt] != null) { - entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; - } - return entries; -}, "se_DescribeFleetHistoryRequest"); -var se_DescribeFleetInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_FIl] != null) { - entries[_FIl] = input[_FIl]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeFleetInstancesRequest"); -var se_DescribeFleetsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_FI] != null) { - const memberEntries = se_FleetIdSet(input[_FI], context); - if (((_a2 = input[_FI]) == null ? void 0 : _a2.length) === 0) { - entries.FleetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `FleetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeFleetsRequest"); -var se_DescribeFlowLogsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fil] != null) { - const memberEntries = se_FilterList(input[_Fil], context); - if (((_a2 = input[_Fil]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_FLI] != null) { - const memberEntries = se_FlowLogIdList(input[_FLI], context); - if (((_b2 = input[_FLI]) == null ? void 0 : _b2.length) === 0) { - entries.FlowLogId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `FlowLogId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeFlowLogsRequest"); -var se_DescribeFpgaImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_FII] != null) { - entries[_FII] = input[_FII]; - } - if (input[_At] != null) { - entries[_At] = input[_At]; - } - return entries; -}, "se_DescribeFpgaImageAttributeRequest"); -var se_DescribeFpgaImagesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_FIIp] != null) { - const memberEntries = se_FpgaImageIdList(input[_FIIp], context); - if (((_a2 = input[_FIIp]) == null ? void 0 : _a2.length) === 0) { - entries.FpgaImageId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `FpgaImageId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Ow] != null) { - const memberEntries = se_OwnerStringList(input[_Ow], context); - if (((_b2 = input[_Ow]) == null ? void 0 : _b2.length) === 0) { - entries.Owner = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Owner.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_c2 = input[_Fi]) == null ? void 0 : _c2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeFpgaImagesRequest"); -var se_DescribeHostReservationOfferingsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_Fil] != null) { - const memberEntries = se_FilterList(input[_Fil], context); - if (((_a2 = input[_Fil]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MD] != null) { - entries[_MD] = input[_MD]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_MDi] != null) { - entries[_MDi] = input[_MDi]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_OI] != null) { - entries[_OI] = input[_OI]; - } - return entries; -}, "se_DescribeHostReservationOfferingsRequest"); -var se_DescribeHostReservationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fil] != null) { - const memberEntries = se_FilterList(input[_Fil], context); - if (((_a2 = input[_Fil]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_HRIS] != null) { - const memberEntries = se_HostReservationIdSet(input[_HRIS], context); - if (((_b2 = input[_HRIS]) == null ? void 0 : _b2.length) === 0) { - entries.HostReservationIdSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `HostReservationIdSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeHostReservationsRequest"); -var se_DescribeHostsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fil] != null) { - const memberEntries = se_FilterList(input[_Fil], context); - if (((_a2 = input[_Fil]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_HI] != null) { - const memberEntries = se_RequestHostIdList(input[_HI], context); - if (((_b2 = input[_HI]) == null ? void 0 : _b2.length) === 0) { - entries.HostId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `HostId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeHostsRequest"); -var se_DescribeIamInstanceProfileAssociationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_AIs] != null) { - const memberEntries = se_AssociationIdList(input[_AIs], context); - if (((_a2 = input[_AIs]) == null ? void 0 : _a2.length) === 0) { - entries.AssociationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AssociationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeIamInstanceProfileAssociationsRequest"); -var se_DescribeIdentityIdFormatRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_PAr] != null) { - entries[_PAr] = input[_PAr]; - } - if (input[_Res] != null) { - entries[_Res] = input[_Res]; - } - return entries; -}, "se_DescribeIdentityIdFormatRequest"); -var se_DescribeIdFormatRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Res] != null) { - entries[_Res] = input[_Res]; - } - return entries; -}, "se_DescribeIdFormatRequest"); -var se_DescribeImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeImageAttributeRequest"); -var se_DescribeImagesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2; - const entries = {}; - if (input[_EU] != null) { - const memberEntries = se_ExecutableByStringList(input[_EU], context); - if (((_a2 = input[_EU]) == null ? void 0 : _a2.length) === 0) { - entries.ExecutableBy = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ExecutableBy.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IImag] != null) { - const memberEntries = se_ImageIdStringList(input[_IImag], context); - if (((_c2 = input[_IImag]) == null ? void 0 : _c2.length) === 0) { - entries.ImageId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ImageId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Ow] != null) { - const memberEntries = se_OwnerStringList(input[_Ow], context); - if (((_d2 = input[_Ow]) == null ? void 0 : _d2.length) === 0) { - entries.Owner = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Owner.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ID] != null) { - entries[_ID] = input[_ID]; - } - if (input[_IDn] != null) { - entries[_IDn] = input[_IDn]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeImagesRequest"); -var se_DescribeImportImageTasksRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filters = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filters.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ITIm] != null) { - const memberEntries = se_ImportTaskIdList(input[_ITIm], context); - if (((_b2 = input[_ITIm]) == null ? void 0 : _b2.length) === 0) { - entries.ImportTaskId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ImportTaskId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeImportImageTasksRequest"); -var se_DescribeImportSnapshotTasksRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filters = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filters.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ITIm] != null) { - const memberEntries = se_ImportSnapshotTaskIdList(input[_ITIm], context); - if (((_b2 = input[_ITIm]) == null ? void 0 : _b2.length) === 0) { - entries.ImportTaskId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ImportTaskId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeImportSnapshotTasksRequest"); -var se_DescribeInstanceAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - return entries; -}, "se_DescribeInstanceAttributeRequest"); -var se_DescribeInstanceConnectEndpointsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ICEIn] != null) { - const memberEntries = se_ValueStringList(input[_ICEIn], context); - if (((_b2 = input[_ICEIn]) == null ? void 0 : _b2.length) === 0) { - entries.InstanceConnectEndpointId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceConnectEndpointId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeInstanceConnectEndpointsRequest"); -var se_DescribeInstanceCreditSpecificationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdStringList(input[_IIns], context); - if (((_b2 = input[_IIns]) == null ? void 0 : _b2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeInstanceCreditSpecificationsRequest"); -var se_DescribeInstanceEventNotificationAttributesRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeInstanceEventNotificationAttributesRequest"); -var se_DescribeInstanceEventWindowsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IEWIn] != null) { - const memberEntries = se_InstanceEventWindowIdSet(input[_IEWIn], context); - if (((_a2 = input[_IEWIn]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceEventWindowId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceEventWindowId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeInstanceEventWindowsRequest"); -var se_DescribeInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdStringList(input[_IIns], context); - if (((_b2 = input[_IIns]) == null ? void 0 : _b2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeInstancesRequest"); -var se_DescribeInstanceStatusRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdStringList(input[_IIns], context); - if (((_b2 = input[_IIns]) == null ? void 0 : _b2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IAI] != null) { - entries[_IAI] = input[_IAI]; - } - return entries; -}, "se_DescribeInstanceStatusRequest"); -var se_DescribeInstanceTopologyGroupNameSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_DescribeInstanceTopologyGroupNameSet"); -var se_DescribeInstanceTopologyInstanceIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_DescribeInstanceTopologyInstanceIdSet"); -var se_DescribeInstanceTopologyRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_IIns] != null) { - const memberEntries = se_DescribeInstanceTopologyInstanceIdSet(input[_IIns], context); - if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_GNr] != null) { - const memberEntries = se_DescribeInstanceTopologyGroupNameSet(input[_GNr], context); - if (((_b2 = input[_GNr]) == null ? void 0 : _b2.length) === 0) { - entries.GroupName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `GroupName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_c2 = input[_Fi]) == null ? void 0 : _c2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeInstanceTopologyRequest"); -var se_DescribeInstanceTypeOfferingsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_LT] != null) { - entries[_LT] = input[_LT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeInstanceTypeOfferingsRequest"); -var se_DescribeInstanceTypesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ITnst] != null) { - const memberEntries = se_RequestInstanceTypeList(input[_ITnst], context); - if (((_a2 = input[_ITnst]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeInstanceTypesRequest"); -var se_DescribeInternetGatewaysRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IGIn] != null) { - const memberEntries = se_InternetGatewayIdList(input[_IGIn], context); - if (((_b2 = input[_IGIn]) == null ? void 0 : _b2.length) === 0) { - entries.InternetGatewayId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InternetGatewayId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeInternetGatewaysRequest"); -var se_DescribeIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeIpamByoasnRequest"); -var se_DescribeIpamPoolsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_IPIp] != null) { - const memberEntries = se_ValueStringList(input[_IPIp], context); - if (((_b2 = input[_IPIp]) == null ? void 0 : _b2.length) === 0) { - entries.IpamPoolId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpamPoolId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeIpamPoolsRequest"); -var se_DescribeIpamResourceDiscoveriesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IRDIp] != null) { - const memberEntries = se_ValueStringList(input[_IRDIp], context); - if (((_a2 = input[_IRDIp]) == null ? void 0 : _a2.length) === 0) { - entries.IpamResourceDiscoveryId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpamResourceDiscoveryId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeIpamResourceDiscoveriesRequest"); -var se_DescribeIpamResourceDiscoveryAssociationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IRDAI] != null) { - const memberEntries = se_ValueStringList(input[_IRDAI], context); - if (((_a2 = input[_IRDAI]) == null ? void 0 : _a2.length) === 0) { - entries.IpamResourceDiscoveryAssociationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpamResourceDiscoveryAssociationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeIpamResourceDiscoveryAssociationsRequest"); -var se_DescribeIpamScopesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_ISIp] != null) { - const memberEntries = se_ValueStringList(input[_ISIp], context); - if (((_b2 = input[_ISIp]) == null ? void 0 : _b2.length) === 0) { - entries.IpamScopeId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpamScopeId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeIpamScopesRequest"); -var se_DescribeIpamsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_IIpa] != null) { - const memberEntries = se_ValueStringList(input[_IIpa], context); - if (((_b2 = input[_IIpa]) == null ? void 0 : _b2.length) === 0) { - entries.IpamId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpamId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeIpamsRequest"); -var se_DescribeIpv6PoolsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_PIoo] != null) { - const memberEntries = se_Ipv6PoolIdList(input[_PIoo], context); - if (((_a2 = input[_PIoo]) == null ? void 0 : _a2.length) === 0) { - entries.PoolId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PoolId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeIpv6PoolsRequest"); -var se_DescribeKeyPairsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_KNe] != null) { - const memberEntries = se_KeyNameStringList(input[_KNe], context); - if (((_b2 = input[_KNe]) == null ? void 0 : _b2.length) === 0) { - entries.KeyName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `KeyName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_KPIe] != null) { - const memberEntries = se_KeyPairIdStringList(input[_KPIe], context); - if (((_c2 = input[_KPIe]) == null ? void 0 : _c2.length) === 0) { - entries.KeyPairId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `KeyPairId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IPK] != null) { - entries[_IPK] = input[_IPK]; - } - return entries; -}, "se_DescribeKeyPairsRequest"); -var se_DescribeLaunchTemplatesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_LTIa] != null) { - const memberEntries = se_LaunchTemplateIdStringList(input[_LTIa], context); - if (((_a2 = input[_LTIa]) == null ? void 0 : _a2.length) === 0) { - entries.LaunchTemplateId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_LTNa] != null) { - const memberEntries = se_LaunchTemplateNameStringList(input[_LTNa], context); - if (((_b2 = input[_LTNa]) == null ? void 0 : _b2.length) === 0) { - entries.LaunchTemplateName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_c2 = input[_Fi]) == null ? void 0 : _c2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeLaunchTemplatesRequest"); -var se_DescribeLaunchTemplateVersionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_LTI] != null) { - entries[_LTI] = input[_LTI]; - } - if (input[_LTN] != null) { - entries[_LTN] = input[_LTN]; - } - if (input[_Ve] != null) { - const memberEntries = se_VersionStringList(input[_Ve], context); - if (((_a2 = input[_Ve]) == null ? void 0 : _a2.length) === 0) { - entries.LaunchTemplateVersion = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateVersion.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MVi] != null) { - entries[_MVi] = input[_MVi]; - } - if (input[_MVa] != null) { - entries[_MVa] = input[_MVa]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RAe] != null) { - entries[_RAe] = input[_RAe]; - } - return entries; -}, "se_DescribeLaunchTemplateVersionsRequest"); -var se_DescribeLocalGatewayRouteTablesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_LGRTIo] != null) { - const memberEntries = se_LocalGatewayRouteTableIdSet(input[_LGRTIo], context); - if (((_a2 = input[_LGRTIo]) == null ? void 0 : _a2.length) === 0) { - entries.LocalGatewayRouteTableId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LocalGatewayRouteTableId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeLocalGatewayRouteTablesRequest"); -var se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_LGRTVIGAIo] != null) { - const memberEntries = se_LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet(input[_LGRTVIGAIo], context); - if (((_a2 = input[_LGRTVIGAIo]) == null ? void 0 : _a2.length) === 0) { - entries.LocalGatewayRouteTableVirtualInterfaceGroupAssociationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LocalGatewayRouteTableVirtualInterfaceGroupAssociationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest"); -var se_DescribeLocalGatewayRouteTableVpcAssociationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_LGRTVAIo] != null) { - const memberEntries = se_LocalGatewayRouteTableVpcAssociationIdSet(input[_LGRTVAIo], context); - if (((_a2 = input[_LGRTVAIo]) == null ? void 0 : _a2.length) === 0) { - entries.LocalGatewayRouteTableVpcAssociationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LocalGatewayRouteTableVpcAssociationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeLocalGatewayRouteTableVpcAssociationsRequest"); -var se_DescribeLocalGatewaysRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_LGIo] != null) { - const memberEntries = se_LocalGatewayIdSet(input[_LGIo], context); - if (((_a2 = input[_LGIo]) == null ? void 0 : _a2.length) === 0) { - entries.LocalGatewayId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LocalGatewayId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeLocalGatewaysRequest"); -var se_DescribeLocalGatewayVirtualInterfaceGroupsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_LGVIGIo] != null) { - const memberEntries = se_LocalGatewayVirtualInterfaceGroupIdSet(input[_LGVIGIo], context); - if (((_a2 = input[_LGVIGIo]) == null ? void 0 : _a2.length) === 0) { - entries.LocalGatewayVirtualInterfaceGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LocalGatewayVirtualInterfaceGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeLocalGatewayVirtualInterfaceGroupsRequest"); -var se_DescribeLocalGatewayVirtualInterfacesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_LGVII] != null) { - const memberEntries = se_LocalGatewayVirtualInterfaceIdSet(input[_LGVII], context); - if (((_a2 = input[_LGVII]) == null ? void 0 : _a2.length) === 0) { - entries.LocalGatewayVirtualInterfaceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LocalGatewayVirtualInterfaceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeLocalGatewayVirtualInterfacesRequest"); -var se_DescribeLockedSnapshotsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_SIna] != null) { - const memberEntries = se_SnapshotIdStringList(input[_SIna], context); - if (((_b2 = input[_SIna]) == null ? void 0 : _b2.length) === 0) { - entries.SnapshotId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SnapshotId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeLockedSnapshotsRequest"); -var se_DescribeMacHostsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_HI] != null) { - const memberEntries = se_RequestHostIdList(input[_HI], context); - if (((_b2 = input[_HI]) == null ? void 0 : _b2.length) === 0) { - entries.HostId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `HostId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeMacHostsRequest"); -var se_DescribeManagedPrefixListsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_PLIr] != null) { - const memberEntries = se_ValueStringList(input[_PLIr], context); - if (((_b2 = input[_PLIr]) == null ? void 0 : _b2.length) === 0) { - entries.PrefixListId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrefixListId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeManagedPrefixListsRequest"); -var se_DescribeMovingAddressesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_PIu] != null) { - const memberEntries = se_ValueStringList(input[_PIu], context); - if (((_b2 = input[_PIu]) == null ? void 0 : _b2.length) === 0) { - entries.PublicIp = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PublicIp.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeMovingAddressesRequest"); -var se_DescribeNatGatewaysRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fil] != null) { - const memberEntries = se_FilterList(input[_Fil], context); - if (((_a2 = input[_Fil]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NGIa] != null) { - const memberEntries = se_NatGatewayIdStringList(input[_NGIa], context); - if (((_b2 = input[_NGIa]) == null ? void 0 : _b2.length) === 0) { - entries.NatGatewayId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NatGatewayId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeNatGatewaysRequest"); -var se_DescribeNetworkAclsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NAIe] != null) { - const memberEntries = se_NetworkAclIdStringList(input[_NAIe], context); - if (((_b2 = input[_NAIe]) == null ? void 0 : _b2.length) === 0) { - entries.NetworkAclId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkAclId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeNetworkAclsRequest"); -var se_DescribeNetworkInsightsAccessScopeAnalysesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_NIASAIe] != null) { - const memberEntries = se_NetworkInsightsAccessScopeAnalysisIdList(input[_NIASAIe], context); - if (((_a2 = input[_NIASAIe]) == null ? void 0 : _a2.length) === 0) { - entries.NetworkInsightsAccessScopeAnalysisId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInsightsAccessScopeAnalysisId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NIASI] != null) { - entries[_NIASI] = input[_NIASI]; - } - if (input[_ASTB] != null) { - entries[_ASTB] = input[_ASTB].toISOString().split(".")[0] + "Z"; - } - if (input[_ASTE] != null) { - entries[_ASTE] = input[_ASTE].toISOString().split(".")[0] + "Z"; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeNetworkInsightsAccessScopeAnalysesRequest"); -var se_DescribeNetworkInsightsAccessScopesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_NIASIe] != null) { - const memberEntries = se_NetworkInsightsAccessScopeIdList(input[_NIASIe], context); - if (((_a2 = input[_NIASIe]) == null ? void 0 : _a2.length) === 0) { - entries.NetworkInsightsAccessScopeId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInsightsAccessScopeId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeNetworkInsightsAccessScopesRequest"); -var se_DescribeNetworkInsightsAnalysesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_NIAIe] != null) { - const memberEntries = se_NetworkInsightsAnalysisIdList(input[_NIAIe], context); - if (((_a2 = input[_NIAIe]) == null ? void 0 : _a2.length) === 0) { - entries.NetworkInsightsAnalysisId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInsightsAnalysisId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NIPI] != null) { - entries[_NIPI] = input[_NIPI]; - } - if (input[_AST] != null) { - entries[_AST] = input[_AST].toISOString().split(".")[0] + "Z"; - } - if (input[_AET] != null) { - entries[_AET] = input[_AET].toISOString().split(".")[0] + "Z"; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeNetworkInsightsAnalysesRequest"); -var se_DescribeNetworkInsightsPathsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_NIPIet] != null) { - const memberEntries = se_NetworkInsightsPathIdList(input[_NIPIet], context); - if (((_a2 = input[_NIPIet]) == null ? void 0 : _a2.length) === 0) { - entries.NetworkInsightsPathId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInsightsPathId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeNetworkInsightsPathsRequest"); -var se_DescribeNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - return entries; -}, "se_DescribeNetworkInterfaceAttributeRequest"); -var se_DescribeNetworkInterfacePermissionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_NIPIetw] != null) { - const memberEntries = se_NetworkInterfacePermissionIdList(input[_NIPIetw], context); - if (((_a2 = input[_NIPIetw]) == null ? void 0 : _a2.length) === 0) { - entries.NetworkInterfacePermissionId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterfacePermissionId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeNetworkInterfacePermissionsRequest"); -var se_DescribeNetworkInterfacesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NIIe] != null) { - const memberEntries = se_NetworkInterfaceIdList(input[_NIIe], context); - if (((_b2 = input[_NIIe]) == null ? void 0 : _b2.length) === 0) { - entries.NetworkInterfaceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterfaceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeNetworkInterfacesRequest"); -var se_DescribePlacementGroupsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_GNr] != null) { - const memberEntries = se_PlacementGroupStringList(input[_GNr], context); - if (((_b2 = input[_GNr]) == null ? void 0 : _b2.length) === 0) { - entries.GroupName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `GroupName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_GIro] != null) { - const memberEntries = se_PlacementGroupIdStringList(input[_GIro], context); - if (((_c2 = input[_GIro]) == null ? void 0 : _c2.length) === 0) { - entries.GroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribePlacementGroupsRequest"); -var se_DescribePrefixListsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_PLIr] != null) { - const memberEntries = se_PrefixListResourceIdStringList(input[_PLIr], context); - if (((_b2 = input[_PLIr]) == null ? void 0 : _b2.length) === 0) { - entries.PrefixListId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrefixListId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribePrefixListsRequest"); -var se_DescribePrincipalIdFormatRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_R] != null) { - const memberEntries = se_ResourceList(input[_R], context); - if (((_a2 = input[_R]) == null ? void 0 : _a2.length) === 0) { - entries.Resource = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Resource.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribePrincipalIdFormatRequest"); -var se_DescribePublicIpv4PoolsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_PIoo] != null) { - const memberEntries = se_PublicIpv4PoolIdStringList(input[_PIoo], context); - if (((_a2 = input[_PIoo]) == null ? void 0 : _a2.length) === 0) { - entries.PoolId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PoolId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribePublicIpv4PoolsRequest"); -var se_DescribeRegionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RNe] != null) { - const memberEntries = se_RegionNameStringList(input[_RNe], context); - if (((_b2 = input[_RNe]) == null ? void 0 : _b2.length) === 0) { - entries.RegionName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RegionName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ARll] != null) { - entries[_ARll] = input[_ARll]; - } - return entries; -}, "se_DescribeRegionsRequest"); -var se_DescribeReplaceRootVolumeTasksRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_RRVTI] != null) { - const memberEntries = se_ReplaceRootVolumeTaskIds(input[_RRVTI], context); - if (((_a2 = input[_RRVTI]) == null ? void 0 : _a2.length) === 0) { - entries.ReplaceRootVolumeTaskId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ReplaceRootVolumeTaskId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeReplaceRootVolumeTasksRequest"); -var se_DescribeReservedInstancesListingsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RIIe] != null) { - entries[_RIIe] = input[_RIIe]; - } - if (input[_RILI] != null) { - entries[_RILI] = input[_RILI]; - } - return entries; -}, "se_DescribeReservedInstancesListingsRequest"); -var se_DescribeReservedInstancesModificationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RIMI] != null) { - const memberEntries = se_ReservedInstancesModificationIdStringList(input[_RIMI], context); - if (((_b2 = input[_RIMI]) == null ? void 0 : _b2.length) === 0) { - entries.ReservedInstancesModificationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ReservedInstancesModificationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeReservedInstancesModificationsRequest"); -var se_DescribeReservedInstancesOfferingsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IM] != null) { - entries[_IM] = input[_IM]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_MD] != null) { - entries[_MD] = input[_MD]; - } - if (input[_MIC] != null) { - entries[_MIC] = input[_MIC]; - } - if (input[_MDi] != null) { - entries[_MDi] = input[_MDi]; - } - if (input[_OC] != null) { - entries[_OC] = input[_OC]; - } - if (input[_PDr] != null) { - entries[_PDr] = input[_PDr]; - } - if (input[_RIOI] != null) { - const memberEntries = se_ReservedInstancesOfferingIdStringList(input[_RIOI], context); - if (((_b2 = input[_RIOI]) == null ? void 0 : _b2.length) === 0) { - entries.ReservedInstancesOfferingId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ReservedInstancesOfferingId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ITns] != null) { - entries[_ITns] = input[_ITns]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_OT] != null) { - entries[_OT] = input[_OT]; - } - return entries; -}, "se_DescribeReservedInstancesOfferingsRequest"); -var se_DescribeReservedInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_OC] != null) { - entries[_OC] = input[_OC]; - } - if (input[_RIIes] != null) { - const memberEntries = se_ReservedInstancesIdStringList(input[_RIIes], context); - if (((_b2 = input[_RIIes]) == null ? void 0 : _b2.length) === 0) { - entries.ReservedInstancesId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ReservedInstancesId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_OT] != null) { - entries[_OT] = input[_OT]; - } - return entries; -}, "se_DescribeReservedInstancesRequest"); -var se_DescribeRouteTablesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RTIo] != null) { - const memberEntries = se_RouteTableIdStringList(input[_RTIo], context); - if (((_b2 = input[_RTIo]) == null ? void 0 : _b2.length) === 0) { - entries.RouteTableId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RouteTableId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeRouteTablesRequest"); -var se_DescribeScheduledInstanceAvailabilityRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_FSSTR] != null) { - const memberEntries = se_SlotDateTimeRangeRequest(input[_FSSTR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `FirstSlotStartTimeRange.${key}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_MSDIH] != null) { - entries[_MSDIH] = input[_MSDIH]; - } - if (input[_MSDIHi] != null) { - entries[_MSDIHi] = input[_MSDIHi]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Rec] != null) { - const memberEntries = se_ScheduledInstanceRecurrenceRequest(input[_Rec], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Recurrence.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeScheduledInstanceAvailabilityRequest"); -var se_DescribeScheduledInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_SIIc] != null) { - const memberEntries = se_ScheduledInstanceIdRequestSet(input[_SIIc], context); - if (((_b2 = input[_SIIc]) == null ? void 0 : _b2.length) === 0) { - entries.ScheduledInstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ScheduledInstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SSTR] != null) { - const memberEntries = se_SlotStartTimeRangeRequest(input[_SSTR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SlotStartTimeRange.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeScheduledInstancesRequest"); -var se_DescribeSecurityGroupReferencesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_GIr] != null) { - const memberEntries = se_GroupIds(input[_GIr], context); - if (((_a2 = input[_GIr]) == null ? void 0 : _a2.length) === 0) { - entries.GroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeSecurityGroupReferencesRequest"); -var se_DescribeSecurityGroupRulesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SGRI] != null) { - const memberEntries = se_SecurityGroupRuleIdList(input[_SGRI], context); - if (((_b2 = input[_SGRI]) == null ? void 0 : _b2.length) === 0) { - entries.SecurityGroupRuleId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupRuleId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeSecurityGroupRulesRequest"); -var se_DescribeSecurityGroupsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_GIro] != null) { - const memberEntries = se_GroupIdStringList(input[_GIro], context); - if (((_b2 = input[_GIro]) == null ? void 0 : _b2.length) === 0) { - entries.GroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_GNr] != null) { - const memberEntries = se_GroupNameStringList(input[_GNr], context); - if (((_c2 = input[_GNr]) == null ? void 0 : _c2.length) === 0) { - entries.GroupName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `GroupName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeSecurityGroupsRequest"); -var se_DescribeSnapshotAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeSnapshotAttributeRequest"); -var se_DescribeSnapshotsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_OIw] != null) { - const memberEntries = se_OwnerStringList(input[_OIw], context); - if (((_b2 = input[_OIw]) == null ? void 0 : _b2.length) === 0) { - entries.Owner = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Owner.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RBUI] != null) { - const memberEntries = se_RestorableByStringList(input[_RBUI], context); - if (((_c2 = input[_RBUI]) == null ? void 0 : _c2.length) === 0) { - entries.RestorableBy = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RestorableBy.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SIna] != null) { - const memberEntries = se_SnapshotIdStringList(input[_SIna], context); - if (((_d2 = input[_SIna]) == null ? void 0 : _d2.length) === 0) { - entries.SnapshotId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SnapshotId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeSnapshotsRequest"); -var se_DescribeSnapshotTierStatusRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeSnapshotTierStatusRequest"); -var se_DescribeSpotDatafeedSubscriptionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeSpotDatafeedSubscriptionRequest"); -var se_DescribeSpotFleetInstancesRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_SFRIp] != null) { - entries[_SFRIp] = input[_SFRIp]; - } - return entries; -}, "se_DescribeSpotFleetInstancesRequest"); -var se_DescribeSpotFleetRequestHistoryRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ETv] != null) { - entries[_ETv] = input[_ETv]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_SFRIp] != null) { - entries[_SFRIp] = input[_SFRIp]; - } - if (input[_STt] != null) { - entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; - } - return entries; -}, "se_DescribeSpotFleetRequestHistoryRequest"); -var se_DescribeSpotFleetRequestsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_SFRI] != null) { - const memberEntries = se_SpotFleetRequestIdList(input[_SFRI], context); - if (((_a2 = input[_SFRI]) == null ? void 0 : _a2.length) === 0) { - entries.SpotFleetRequestId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SpotFleetRequestId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeSpotFleetRequestsRequest"); -var se_DescribeSpotInstanceRequestsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIRI] != null) { - const memberEntries = se_SpotInstanceRequestIdList(input[_SIRI], context); - if (((_b2 = input[_SIRI]) == null ? void 0 : _b2.length) === 0) { - entries.SpotInstanceRequestId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SpotInstanceRequestId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeSpotInstanceRequestsRequest"); -var se_DescribeSpotPriceHistoryRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ETn] != null) { - entries[_ETn] = input[_ETn].toISOString().split(".")[0] + "Z"; - } - if (input[_ITnst] != null) { - const memberEntries = se_InstanceTypeList(input[_ITnst], context); - if (((_b2 = input[_ITnst]) == null ? void 0 : _b2.length) === 0) { - entries.InstanceType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_PDro] != null) { - const memberEntries = se_ProductDescriptionList(input[_PDro], context); - if (((_c2 = input[_PDro]) == null ? void 0 : _c2.length) === 0) { - entries.ProductDescription = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ProductDescription.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_STt] != null) { - entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; - } - return entries; -}, "se_DescribeSpotPriceHistoryRequest"); -var se_DescribeStaleSecurityGroupsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - return entries; -}, "se_DescribeStaleSecurityGroupsRequest"); -var se_DescribeStoreImageTasksRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_IImag] != null) { - const memberEntries = se_ImageIdList(input[_IImag], context); - if (((_a2 = input[_IImag]) == null ? void 0 : _a2.length) === 0) { - entries.ImageId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ImageId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeStoreImageTasksRequest"); -var se_DescribeSubnetsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SIu] != null) { - const memberEntries = se_SubnetIdStringList(input[_SIu], context); - if (((_b2 = input[_SIu]) == null ? void 0 : _b2.length) === 0) { - entries.SubnetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeSubnetsRequest"); -var se_DescribeTagsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeTagsRequest"); -var se_DescribeTrafficMirrorFiltersRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TMFIr] != null) { - const memberEntries = se_TrafficMirrorFilterIdList(input[_TMFIr], context); - if (((_a2 = input[_TMFIr]) == null ? void 0 : _a2.length) === 0) { - entries.TrafficMirrorFilterId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TrafficMirrorFilterId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeTrafficMirrorFiltersRequest"); -var se_DescribeTrafficMirrorSessionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TMSIr] != null) { - const memberEntries = se_TrafficMirrorSessionIdList(input[_TMSIr], context); - if (((_a2 = input[_TMSIr]) == null ? void 0 : _a2.length) === 0) { - entries.TrafficMirrorSessionId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TrafficMirrorSessionId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeTrafficMirrorSessionsRequest"); -var se_DescribeTrafficMirrorTargetsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TMTIr] != null) { - const memberEntries = se_TrafficMirrorTargetIdList(input[_TMTIr], context); - if (((_a2 = input[_TMTIr]) == null ? void 0 : _a2.length) === 0) { - entries.TrafficMirrorTargetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TrafficMirrorTargetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeTrafficMirrorTargetsRequest"); -var se_DescribeTransitGatewayAttachmentsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGAIr] != null) { - const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); - if (((_a2 = input[_TGAIr]) == null ? void 0 : _a2.length) === 0) { - entries.TransitGatewayAttachmentIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeTransitGatewayAttachmentsRequest"); -var se_DescribeTransitGatewayConnectPeersRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGCPIr] != null) { - const memberEntries = se_TransitGatewayConnectPeerIdStringList(input[_TGCPIr], context); - if (((_a2 = input[_TGCPIr]) == null ? void 0 : _a2.length) === 0) { - entries.TransitGatewayConnectPeerIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitGatewayConnectPeerIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeTransitGatewayConnectPeersRequest"); -var se_DescribeTransitGatewayConnectsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGAIr] != null) { - const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); - if (((_a2 = input[_TGAIr]) == null ? void 0 : _a2.length) === 0) { - entries.TransitGatewayAttachmentIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeTransitGatewayConnectsRequest"); -var se_DescribeTransitGatewayMulticastDomainsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGMDIr] != null) { - const memberEntries = se_TransitGatewayMulticastDomainIdStringList(input[_TGMDIr], context); - if (((_a2 = input[_TGMDIr]) == null ? void 0 : _a2.length) === 0) { - entries.TransitGatewayMulticastDomainIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitGatewayMulticastDomainIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeTransitGatewayMulticastDomainsRequest"); -var se_DescribeTransitGatewayPeeringAttachmentsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGAIr] != null) { - const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); - if (((_a2 = input[_TGAIr]) == null ? void 0 : _a2.length) === 0) { - entries.TransitGatewayAttachmentIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeTransitGatewayPeeringAttachmentsRequest"); -var se_DescribeTransitGatewayPolicyTablesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGPTIr] != null) { - const memberEntries = se_TransitGatewayPolicyTableIdStringList(input[_TGPTIr], context); - if (((_a2 = input[_TGPTIr]) == null ? void 0 : _a2.length) === 0) { - entries.TransitGatewayPolicyTableIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitGatewayPolicyTableIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeTransitGatewayPolicyTablesRequest"); -var se_DescribeTransitGatewayRouteTableAnnouncementsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGRTAIr] != null) { - const memberEntries = se_TransitGatewayRouteTableAnnouncementIdStringList(input[_TGRTAIr], context); - if (((_a2 = input[_TGRTAIr]) == null ? void 0 : _a2.length) === 0) { - entries.TransitGatewayRouteTableAnnouncementIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitGatewayRouteTableAnnouncementIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeTransitGatewayRouteTableAnnouncementsRequest"); -var se_DescribeTransitGatewayRouteTablesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGRTIr] != null) { - const memberEntries = se_TransitGatewayRouteTableIdStringList(input[_TGRTIr], context); - if (((_a2 = input[_TGRTIr]) == null ? void 0 : _a2.length) === 0) { - entries.TransitGatewayRouteTableIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitGatewayRouteTableIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeTransitGatewayRouteTablesRequest"); -var se_DescribeTransitGatewaysRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGIr] != null) { - const memberEntries = se_TransitGatewayIdStringList(input[_TGIr], context); - if (((_a2 = input[_TGIr]) == null ? void 0 : _a2.length) === 0) { - entries.TransitGatewayIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitGatewayIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeTransitGatewaysRequest"); -var se_DescribeTransitGatewayVpcAttachmentsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGAIr] != null) { - const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); - if (((_a2 = input[_TGAIr]) == null ? void 0 : _a2.length) === 0) { - entries.TransitGatewayAttachmentIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeTransitGatewayVpcAttachmentsRequest"); -var se_DescribeTrunkInterfaceAssociationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_AIs] != null) { - const memberEntries = se_TrunkInterfaceAssociationIdList(input[_AIs], context); - if (((_a2 = input[_AIs]) == null ? void 0 : _a2.length) === 0) { - entries.AssociationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AssociationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeTrunkInterfaceAssociationsRequest"); -var se_DescribeVerifiedAccessEndpointsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_VAEIe] != null) { - const memberEntries = se_VerifiedAccessEndpointIdList(input[_VAEIe], context); - if (((_a2 = input[_VAEIe]) == null ? void 0 : _a2.length) === 0) { - entries.VerifiedAccessEndpointId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VerifiedAccessEndpointId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_VAII] != null) { - entries[_VAII] = input[_VAII]; - } - if (input[_VAGI] != null) { - entries[_VAGI] = input[_VAGI]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeVerifiedAccessEndpointsRequest"); -var se_DescribeVerifiedAccessGroupsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_VAGIe] != null) { - const memberEntries = se_VerifiedAccessGroupIdList(input[_VAGIe], context); - if (((_a2 = input[_VAGIe]) == null ? void 0 : _a2.length) === 0) { - entries.VerifiedAccessGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VerifiedAccessGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_VAII] != null) { - entries[_VAII] = input[_VAII]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeVerifiedAccessGroupsRequest"); -var se_DescribeVerifiedAccessInstanceLoggingConfigurationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_VAIIe] != null) { - const memberEntries = se_VerifiedAccessInstanceIdList(input[_VAIIe], context); - if (((_a2 = input[_VAIIe]) == null ? void 0 : _a2.length) === 0) { - entries.VerifiedAccessInstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VerifiedAccessInstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeVerifiedAccessInstanceLoggingConfigurationsRequest"); -var se_DescribeVerifiedAccessInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_VAIIe] != null) { - const memberEntries = se_VerifiedAccessInstanceIdList(input[_VAIIe], context); - if (((_a2 = input[_VAIIe]) == null ? void 0 : _a2.length) === 0) { - entries.VerifiedAccessInstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VerifiedAccessInstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeVerifiedAccessInstancesRequest"); -var se_DescribeVerifiedAccessTrustProvidersRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_VATPIe] != null) { - const memberEntries = se_VerifiedAccessTrustProviderIdList(input[_VATPIe], context); - if (((_a2 = input[_VATPIe]) == null ? void 0 : _a2.length) === 0) { - entries.VerifiedAccessTrustProviderId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VerifiedAccessTrustProviderId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeVerifiedAccessTrustProvidersRequest"); -var se_DescribeVolumeAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_VIo] != null) { - entries[_VIo] = input[_VIo]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeVolumeAttributeRequest"); -var se_DescribeVolumesModificationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VIol] != null) { - const memberEntries = se_VolumeIdStringList(input[_VIol], context); - if (((_a2 = input[_VIol]) == null ? void 0 : _a2.length) === 0) { - entries.VolumeId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VolumeId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeVolumesModificationsRequest"); -var se_DescribeVolumesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_VIol] != null) { - const memberEntries = se_VolumeIdStringList(input[_VIol], context); - if (((_b2 = input[_VIol]) == null ? void 0 : _b2.length) === 0) { - entries.VolumeId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VolumeId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeVolumesRequest"); -var se_DescribeVolumeStatusRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_VIol] != null) { - const memberEntries = se_VolumeIdStringList(input[_VIol], context); - if (((_b2 = input[_VIol]) == null ? void 0 : _b2.length) === 0) { - entries.VolumeId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VolumeId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeVolumeStatusRequest"); -var se_DescribeVpcAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeVpcAttributeRequest"); -var se_DescribeVpcClassicLinkDnsSupportRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_VIp] != null) { - const memberEntries = se_VpcClassicLinkIdList(input[_VIp], context); - if (((_a2 = input[_VIp]) == null ? void 0 : _a2.length) === 0) { - entries.VpcIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VpcIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeVpcClassicLinkDnsSupportRequest"); -var se_DescribeVpcClassicLinkRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VIp] != null) { - const memberEntries = se_VpcClassicLinkIdList(input[_VIp], context); - if (((_b2 = input[_VIp]) == null ? void 0 : _b2.length) === 0) { - entries.VpcId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VpcId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DescribeVpcClassicLinkRequest"); -var se_DescribeVpcEndpointConnectionNotificationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CNIon] != null) { - entries[_CNIon] = input[_CNIon]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeVpcEndpointConnectionNotificationsRequest"); -var se_DescribeVpcEndpointConnectionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeVpcEndpointConnectionsRequest"); -var se_DescribeVpcEndpointServiceConfigurationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIer] != null) { - const memberEntries = se_VpcEndpointServiceIdList(input[_SIer], context); - if (((_a2 = input[_SIer]) == null ? void 0 : _a2.length) === 0) { - entries.ServiceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ServiceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeVpcEndpointServiceConfigurationsRequest"); -var se_DescribeVpcEndpointServicePermissionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIe] != null) { - entries[_SIe] = input[_SIe]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeVpcEndpointServicePermissionsRequest"); -var se_DescribeVpcEndpointServicesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SNer] != null) { - const memberEntries = se_ValueStringList(input[_SNer], context); - if (((_a2 = input[_SNer]) == null ? void 0 : _a2.length) === 0) { - entries.ServiceName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ServiceName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeVpcEndpointServicesRequest"); -var se_DescribeVpcEndpointsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VEI] != null) { - const memberEntries = se_VpcEndpointIdList(input[_VEI], context); - if (((_a2 = input[_VEI]) == null ? void 0 : _a2.length) === 0) { - entries.VpcEndpointId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VpcEndpointId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_DescribeVpcEndpointsRequest"); -var se_DescribeVpcPeeringConnectionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VPCIp] != null) { - const memberEntries = se_VpcPeeringConnectionIdList(input[_VPCIp], context); - if (((_b2 = input[_VPCIp]) == null ? void 0 : _b2.length) === 0) { - entries.VpcPeeringConnectionId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VpcPeeringConnectionId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeVpcPeeringConnectionsRequest"); -var se_DescribeVpcsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_VIp] != null) { - const memberEntries = se_VpcIdStringList(input[_VIp], context); - if (((_b2 = input[_VIp]) == null ? void 0 : _b2.length) === 0) { - entries.VpcId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VpcId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_DescribeVpcsRequest"); -var se_DescribeVpnConnectionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_VCIp] != null) { - const memberEntries = se_VpnConnectionIdStringList(input[_VCIp], context); - if (((_b2 = input[_VCIp]) == null ? void 0 : _b2.length) === 0) { - entries.VpnConnectionId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VpnConnectionId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeVpnConnectionsRequest"); -var se_DescribeVpnGatewaysRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_VGIp] != null) { - const memberEntries = se_VpnGatewayIdStringList(input[_VGIp], context); - if (((_b2 = input[_VGIp]) == null ? void 0 : _b2.length) === 0) { - entries.VpnGatewayId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VpnGatewayId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DescribeVpnGatewaysRequest"); -var se_DestinationOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_FF] != null) { - entries[_FF] = input[_FF]; - } - if (input[_HCP] != null) { - entries[_HCP] = input[_HCP]; - } - if (input[_PHP] != null) { - entries[_PHP] = input[_PHP]; - } - return entries; -}, "se_DestinationOptionsRequest"); -var se_DetachClassicLinkVpcRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - return entries; -}, "se_DetachClassicLinkVpcRequest"); -var se_DetachInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IGI] != null) { - entries[_IGI] = input[_IGI]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - return entries; -}, "se_DetachInternetGatewayRequest"); -var se_DetachNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIt] != null) { - entries[_AIt] = input[_AIt]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_F] != null) { - entries[_F] = input[_F]; - } - return entries; -}, "se_DetachNetworkInterfaceRequest"); -var se_DetachVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAII] != null) { - entries[_VAII] = input[_VAII]; - } - if (input[_VATPI] != null) { - entries[_VATPI] = input[_VATPI]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DetachVerifiedAccessTrustProviderRequest"); -var se_DetachVolumeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Dev] != null) { - entries[_Dev] = input[_Dev]; - } - if (input[_F] != null) { - entries[_F] = input[_F]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_VIo] != null) { - entries[_VIo] = input[_VIo]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DetachVolumeRequest"); -var se_DetachVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_VGI] != null) { - entries[_VGI] = input[_VGI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DetachVpnGatewayRequest"); -var se_DhcpOptionsIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`DhcpOptionsId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_DhcpOptionsIdStringList"); -var se_DirectoryServiceAuthenticationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DIir] != null) { - entries[_DIir] = input[_DIir]; - } - return entries; -}, "se_DirectoryServiceAuthenticationRequest"); -var se_DisableAddressTransferRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIl] != null) { - entries[_AIl] = input[_AIl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisableAddressTransferRequest"); -var se_DisableAwsNetworkPerformanceMetricSubscriptionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_S] != null) { - entries[_S] = input[_S]; - } - if (input[_D] != null) { - entries[_D] = input[_D]; - } - if (input[_Met] != null) { - entries[_Met] = input[_Met]; - } - if (input[_Sta] != null) { - entries[_Sta] = input[_Sta]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisableAwsNetworkPerformanceMetricSubscriptionRequest"); -var se_DisableEbsEncryptionByDefaultRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisableEbsEncryptionByDefaultRequest"); -var se_DisableFastLaunchRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_F] != null) { - entries[_F] = input[_F]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisableFastLaunchRequest"); -var se_DisableFastSnapshotRestoresRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_AZv] != null) { - const memberEntries = se_AvailabilityZoneStringList(input[_AZv], context); - if (((_a2 = input[_AZv]) == null ? void 0 : _a2.length) === 0) { - entries.AvailabilityZone = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AvailabilityZone.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SSIo] != null) { - const memberEntries = se_SnapshotIdStringList(input[_SSIo], context); - if (((_b2 = input[_SSIo]) == null ? void 0 : _b2.length) === 0) { - entries.SourceSnapshotId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourceSnapshotId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisableFastSnapshotRestoresRequest"); -var se_DisableImageBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisableImageBlockPublicAccessRequest"); -var se_DisableImageDeprecationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisableImageDeprecationRequest"); -var se_DisableImageRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisableImageRequest"); -var se_DisableIpamOrganizationAdminAccountRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_DAAI] != null) { - entries[_DAAI] = input[_DAAI]; - } - return entries; -}, "se_DisableIpamOrganizationAdminAccountRequest"); -var se_DisableSerialConsoleAccessRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisableSerialConsoleAccessRequest"); -var se_DisableSnapshotBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisableSnapshotBlockPublicAccessRequest"); -var se_DisableTransitGatewayRouteTablePropagationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_TGRTAI] != null) { - entries[_TGRTAI] = input[_TGRTAI]; - } - return entries; -}, "se_DisableTransitGatewayRouteTablePropagationRequest"); -var se_DisableVgwRoutePropagationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_GI] != null) { - entries[_GI] = input[_GI]; - } - if (input[_RTI] != null) { - entries[_RTI] = input[_RTI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisableVgwRoutePropagationRequest"); -var se_DisableVpcClassicLinkDnsSupportRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - return entries; -}, "se_DisableVpcClassicLinkDnsSupportRequest"); -var se_DisableVpcClassicLinkRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - return entries; -}, "se_DisableVpcClassicLinkRequest"); -var se_DisassociateAddressRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIss] != null) { - entries[_AIss] = input[_AIss]; - } - if (input[_PI] != null) { - entries[_PI] = input[_PI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisassociateAddressRequest"); -var se_DisassociateClientVpnTargetNetworkRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_AIss] != null) { - entries[_AIss] = input[_AIss]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisassociateClientVpnTargetNetworkRequest"); -var se_DisassociateEnclaveCertificateIamRoleRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CA] != null) { - entries[_CA] = input[_CA]; - } - if (input[_RAo] != null) { - entries[_RAo] = input[_RAo]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisassociateEnclaveCertificateIamRoleRequest"); -var se_DisassociateIamInstanceProfileRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIss] != null) { - entries[_AIss] = input[_AIss]; - } - return entries; -}, "se_DisassociateIamInstanceProfileRequest"); -var se_DisassociateInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IEWI] != null) { - entries[_IEWI] = input[_IEWI]; - } - if (input[_AT] != null) { - const memberEntries = se_InstanceEventWindowDisassociationRequest(input[_AT], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AssociationTarget.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DisassociateInstanceEventWindowRequest"); -var se_DisassociateIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_As] != null) { - entries[_As] = input[_As]; - } - if (input[_C] != null) { - entries[_C] = input[_C]; - } - return entries; -}, "se_DisassociateIpamByoasnRequest"); -var se_DisassociateIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IRDAIp] != null) { - entries[_IRDAIp] = input[_IRDAIp]; - } - return entries; -}, "se_DisassociateIpamResourceDiscoveryRequest"); -var se_DisassociateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_NGI] != null) { - entries[_NGI] = input[_NGI]; - } - if (input[_AIs] != null) { - const memberEntries = se_EipAssociationIdList(input[_AIs], context); - if (((_a2 = input[_AIs]) == null ? void 0 : _a2.length) === 0) { - entries.AssociationId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AssociationId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MDDS] != null) { - entries[_MDDS] = input[_MDDS]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisassociateNatGatewayAddressRequest"); -var se_DisassociateRouteTableRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIss] != null) { - entries[_AIss] = input[_AIss]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisassociateRouteTableRequest"); -var se_DisassociateSubnetCidrBlockRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIss] != null) { - entries[_AIss] = input[_AIss]; - } - return entries; -}, "se_DisassociateSubnetCidrBlockRequest"); -var se_DisassociateTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGMDI] != null) { - entries[_TGMDI] = input[_TGMDI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_SIu] != null) { - const memberEntries = se_TransitGatewaySubnetIdList(input[_SIu], context); - if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { - entries.SubnetIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisassociateTransitGatewayMulticastDomainRequest"); -var se_DisassociateTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGPTI] != null) { - entries[_TGPTI] = input[_TGPTI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisassociateTransitGatewayPolicyTableRequest"); -var se_DisassociateTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisassociateTransitGatewayRouteTableRequest"); -var se_DisassociateTrunkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIss] != null) { - entries[_AIss] = input[_AIss]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_DisassociateTrunkInterfaceRequest"); -var se_DisassociateVpcCidrBlockRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIss] != null) { - entries[_AIss] = input[_AIss]; - } - return entries; -}, "se_DisassociateVpcCidrBlockRequest"); -var se_DiskImage = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_Im] != null) { - const memberEntries = se_DiskImageDetail(input[_Im], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Image.${key}`; - entries[loc] = value; - }); - } - if (input[_Vo] != null) { - const memberEntries = se_VolumeDetail(input[_Vo], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Volume.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_DiskImage"); -var se_DiskImageDetail = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_By] != null) { - entries[_By] = input[_By]; - } - if (input[_Fo] != null) { - entries[_Fo] = input[_Fo]; - } - if (input[_IMU] != null) { - entries[_IMU] = input[_IMU]; - } - return entries; -}, "se_DiskImageDetail"); -var se_DiskImageList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_DiskImage(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Member.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_DiskImageList"); -var se_DnsOptionsSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRIT] != null) { - entries[_DRIT] = input[_DRIT]; - } - if (input[_PDOFIRE] != null) { - entries[_PDOFIRE] = input[_PDOFIRE]; - } - return entries; -}, "se_DnsOptionsSpecification"); -var se_DnsServersOptionsModifyStructure = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CDSu] != null) { - const memberEntries = se_ValueStringList(input[_CDSu], context); - if (((_a2 = input[_CDSu]) == null ? void 0 : _a2.length) === 0) { - entries.CustomDnsServers = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CustomDnsServers.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_En] != null) { - entries[_En] = input[_En]; - } - return entries; -}, "se_DnsServersOptionsModifyStructure"); -var se_EbsBlockDevice = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DOT] != null) { - entries[_DOT] = input[_DOT]; - } - if (input[_Io] != null) { - entries[_Io] = input[_Io]; - } - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_VS] != null) { - entries[_VS] = input[_VS]; - } - if (input[_VT] != null) { - entries[_VT] = input[_VT]; - } - if (input[_KKI] != null) { - entries[_KKI] = input[_KKI]; - } - if (input[_Th] != null) { - entries[_Th] = input[_Th]; - } - if (input[_OA] != null) { - entries[_OA] = input[_OA]; - } - if (input[_Enc] != null) { - entries[_Enc] = input[_Enc]; - } - return entries; -}, "se_EbsBlockDevice"); -var se_EbsInstanceBlockDeviceSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DOT] != null) { - entries[_DOT] = input[_DOT]; - } - if (input[_VIo] != null) { - entries[_VIo] = input[_VIo]; - } - return entries; -}, "se_EbsInstanceBlockDeviceSpecification"); -var se_EgressOnlyInternetGatewayIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_EgressOnlyInternetGatewayIdList"); -var se_EipAssociationIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_EipAssociationIdList"); -var se_ElasticGpuIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ElasticGpuIdSet"); -var se_ElasticGpuSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_T] != null) { - entries[_T] = input[_T]; - } - return entries; -}, "se_ElasticGpuSpecification"); -var se_ElasticGpuSpecificationList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ElasticGpuSpecification(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`ElasticGpuSpecification.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ElasticGpuSpecificationList"); -var se_ElasticGpuSpecifications = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ElasticGpuSpecification(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ElasticGpuSpecifications"); -var se_ElasticInferenceAccelerator = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_T] != null) { - entries[_T] = input[_T]; - } - if (input[_Cou] != null) { - entries[_Cou] = input[_Cou]; - } - return entries; -}, "se_ElasticInferenceAccelerator"); -var se_ElasticInferenceAccelerators = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ElasticInferenceAccelerator(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ElasticInferenceAccelerators"); -var se_EnableAddressTransferRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIl] != null) { - entries[_AIl] = input[_AIl]; - } - if (input[_TAI] != null) { - entries[_TAI] = input[_TAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableAddressTransferRequest"); -var se_EnableAwsNetworkPerformanceMetricSubscriptionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_S] != null) { - entries[_S] = input[_S]; - } - if (input[_D] != null) { - entries[_D] = input[_D]; - } - if (input[_Met] != null) { - entries[_Met] = input[_Met]; - } - if (input[_Sta] != null) { - entries[_Sta] = input[_Sta]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableAwsNetworkPerformanceMetricSubscriptionRequest"); -var se_EnableEbsEncryptionByDefaultRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableEbsEncryptionByDefaultRequest"); -var se_EnableFastLaunchRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_RT] != null) { - entries[_RT] = input[_RT]; - } - if (input[_SCn] != null) { - const memberEntries = se_FastLaunchSnapshotConfigurationRequest(input[_SCn], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SnapshotConfiguration.${key}`; - entries[loc] = value; - }); - } - if (input[_LTa] != null) { - const memberEntries = se_FastLaunchLaunchTemplateSpecificationRequest(input[_LTa], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplate.${key}`; - entries[loc] = value; - }); - } - if (input[_MPL] != null) { - entries[_MPL] = input[_MPL]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableFastLaunchRequest"); -var se_EnableFastSnapshotRestoresRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_AZv] != null) { - const memberEntries = se_AvailabilityZoneStringList(input[_AZv], context); - if (((_a2 = input[_AZv]) == null ? void 0 : _a2.length) === 0) { - entries.AvailabilityZone = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AvailabilityZone.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SSIo] != null) { - const memberEntries = se_SnapshotIdStringList(input[_SSIo], context); - if (((_b2 = input[_SSIo]) == null ? void 0 : _b2.length) === 0) { - entries.SourceSnapshotId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourceSnapshotId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableFastSnapshotRestoresRequest"); -var se_EnableImageBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IBPAS] != null) { - entries[_IBPAS] = input[_IBPAS]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableImageBlockPublicAccessRequest"); -var se_EnableImageDeprecationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_DAe] != null) { - entries[_DAe] = input[_DAe].toISOString().split(".")[0] + "Z"; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableImageDeprecationRequest"); -var se_EnableImageRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableImageRequest"); -var se_EnableIpamOrganizationAdminAccountRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_DAAI] != null) { - entries[_DAAI] = input[_DAAI]; - } - return entries; -}, "se_EnableIpamOrganizationAdminAccountRequest"); -var se_EnableReachabilityAnalyzerOrganizationSharingRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableReachabilityAnalyzerOrganizationSharingRequest"); -var se_EnableSerialConsoleAccessRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableSerialConsoleAccessRequest"); -var se_EnableSnapshotBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Stat] != null) { - entries[_Stat] = input[_Stat]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableSnapshotBlockPublicAccessRequest"); -var se_EnableTransitGatewayRouteTablePropagationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_TGRTAI] != null) { - entries[_TGRTAI] = input[_TGRTAI]; - } - return entries; -}, "se_EnableTransitGatewayRouteTablePropagationRequest"); -var se_EnableVgwRoutePropagationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_GI] != null) { - entries[_GI] = input[_GI]; - } - if (input[_RTI] != null) { - entries[_RTI] = input[_RTI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_EnableVgwRoutePropagationRequest"); -var se_EnableVolumeIORequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VIo] != null) { - entries[_VIo] = input[_VIo]; - } - return entries; -}, "se_EnableVolumeIORequest"); -var se_EnableVpcClassicLinkDnsSupportRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - return entries; -}, "se_EnableVpcClassicLinkDnsSupportRequest"); -var se_EnableVpcClassicLinkRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - return entries; -}, "se_EnableVpcClassicLinkRequest"); -var se_EnaSrdSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ESE] != null) { - entries[_ESE] = input[_ESE]; - } - if (input[_ESUS] != null) { - const memberEntries = se_EnaSrdUdpSpecification(input[_ESUS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnaSrdUdpSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_EnaSrdSpecification"); -var se_EnaSrdSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ESE] != null) { - entries[_ESE] = input[_ESE]; - } - if (input[_ESUS] != null) { - const memberEntries = se_EnaSrdUdpSpecificationRequest(input[_ESUS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnaSrdUdpSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_EnaSrdSpecificationRequest"); -var se_EnaSrdUdpSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ESUE] != null) { - entries[_ESUE] = input[_ESUE]; - } - return entries; -}, "se_EnaSrdUdpSpecification"); -var se_EnaSrdUdpSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ESUE] != null) { - entries[_ESUE] = input[_ESUE]; - } - return entries; -}, "se_EnaSrdUdpSpecificationRequest"); -var se_EnclaveOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - return entries; -}, "se_EnclaveOptionsRequest"); -var se_ExcludedInstanceTypeSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ExcludedInstanceTypeSet"); -var se_ExecutableByStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ExecutableBy.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ExecutableByStringList"); -var se_ExportClientVpnClientCertificateRevocationListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ExportClientVpnClientCertificateRevocationListRequest"); -var se_ExportClientVpnClientConfigurationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ExportClientVpnClientConfigurationRequest"); -var se_ExportImageRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DIFi] != null) { - entries[_DIFi] = input[_DIFi]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_SEL] != null) { - const memberEntries = se_ExportTaskS3LocationRequest(input[_SEL], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `S3ExportLocation.${key}`; - entries[loc] = value; - }); - } - if (input[_RNo] != null) { - entries[_RNo] = input[_RNo]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ExportImageRequest"); -var se_ExportImageTaskIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ExportImageTaskId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ExportImageTaskIdList"); -var se_ExportTaskIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ExportTaskId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ExportTaskIdStringList"); -var se_ExportTaskS3LocationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SB] != null) { - entries[_SB] = input[_SB]; - } - if (input[_SP] != null) { - entries[_SP] = input[_SP]; - } - return entries; -}, "se_ExportTaskS3LocationRequest"); -var se_ExportToS3TaskSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CFo] != null) { - entries[_CFo] = input[_CFo]; - } - if (input[_DIFi] != null) { - entries[_DIFi] = input[_DIFi]; - } - if (input[_SB] != null) { - entries[_SB] = input[_SB]; - } - if (input[_SP] != null) { - entries[_SP] = input[_SP]; - } - return entries; -}, "se_ExportToS3TaskSpecification"); -var se_ExportTransitGatewayRoutesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SB] != null) { - entries[_SB] = input[_SB]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ExportTransitGatewayRoutesRequest"); -var se_FastLaunchImageIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ImageId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_FastLaunchImageIdList"); -var se_FastLaunchLaunchTemplateSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_LTI] != null) { - entries[_LTI] = input[_LTI]; - } - if (input[_LTN] != null) { - entries[_LTN] = input[_LTN]; - } - if (input[_V] != null) { - entries[_V] = input[_V]; - } - return entries; -}, "se_FastLaunchLaunchTemplateSpecificationRequest"); -var se_FastLaunchSnapshotConfigurationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TRC] != null) { - entries[_TRC] = input[_TRC]; - } - return entries; -}, "se_FastLaunchSnapshotConfigurationRequest"); -var se_FederatedAuthenticationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SAMLPA] != null) { - entries[_SAMLPA] = input[_SAMLPA]; - } - if (input[_SSSAMLPA] != null) { - entries[_SSSAMLPA] = input[_SSSAMLPA]; - } - return entries; -}, "se_FederatedAuthenticationRequest"); -var se_Filter = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_N] != null) { - entries[_N] = input[_N]; - } - if (input[_Val] != null) { - const memberEntries = se_ValueStringList(input[_Val], context); - if (((_a2 = input[_Val]) == null ? void 0 : _a2.length) === 0) { - entries.Value = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Value.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_Filter"); -var se_FilterList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Filter(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Filter.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_FilterList"); -var se_FleetIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_FleetIdSet"); -var se_FleetLaunchTemplateConfigListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_FleetLaunchTemplateConfigRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_FleetLaunchTemplateConfigListRequest"); -var se_FleetLaunchTemplateConfigRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_LTS] != null) { - const memberEntries = se_FleetLaunchTemplateSpecificationRequest(input[_LTS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_Ov] != null) { - const memberEntries = se_FleetLaunchTemplateOverridesListRequest(input[_Ov], context); - if (((_a2 = input[_Ov]) == null ? void 0 : _a2.length) === 0) { - entries.Overrides = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Overrides.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_FleetLaunchTemplateConfigRequest"); -var se_FleetLaunchTemplateOverridesListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_FleetLaunchTemplateOverridesRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_FleetLaunchTemplateOverridesListRequest"); -var se_FleetLaunchTemplateOverridesRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_MPa] != null) { - entries[_MPa] = input[_MPa]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_WC] != null) { - entries[_WC] = (0, import_smithy_client.serializeFloat)(input[_WC]); - } - if (input[_Pri] != null) { - entries[_Pri] = (0, import_smithy_client.serializeFloat)(input[_Pri]); - } - if (input[_Pl] != null) { - const memberEntries = se_Placement(input[_Pl], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Placement.${key}`; - entries[loc] = value; - }); - } - if (input[_IR] != null) { - const memberEntries = se_InstanceRequirementsRequest(input[_IR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceRequirements.${key}`; - entries[loc] = value; - }); - } - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - return entries; -}, "se_FleetLaunchTemplateOverridesRequest"); -var se_FleetLaunchTemplateSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_LTI] != null) { - entries[_LTI] = input[_LTI]; - } - if (input[_LTN] != null) { - entries[_LTN] = input[_LTN]; - } - if (input[_V] != null) { - entries[_V] = input[_V]; - } - return entries; -}, "se_FleetLaunchTemplateSpecification"); -var se_FleetLaunchTemplateSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_LTI] != null) { - entries[_LTI] = input[_LTI]; - } - if (input[_LTN] != null) { - entries[_LTN] = input[_LTN]; - } - if (input[_V] != null) { - entries[_V] = input[_V]; - } - return entries; -}, "se_FleetLaunchTemplateSpecificationRequest"); -var se_FleetSpotCapacityRebalanceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_RS] != null) { - entries[_RS] = input[_RS]; - } - if (input[_TDe] != null) { - entries[_TDe] = input[_TDe]; - } - return entries; -}, "se_FleetSpotCapacityRebalanceRequest"); -var se_FleetSpotMaintenanceStrategiesRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRap] != null) { - const memberEntries = se_FleetSpotCapacityRebalanceRequest(input[_CRap], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CapacityRebalance.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_FleetSpotMaintenanceStrategiesRequest"); -var se_FlowLogIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_FlowLogIdList"); -var se_FlowLogResourceIds = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_FlowLogResourceIds"); -var se_FpgaImageIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_FpgaImageIdList"); -var se_GetAssociatedEnclaveCertificateIamRolesRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CA] != null) { - entries[_CA] = input[_CA]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetAssociatedEnclaveCertificateIamRolesRequest"); -var se_GetAssociatedIpv6PoolCidrsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_PIo] != null) { - entries[_PIo] = input[_PIo]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetAssociatedIpv6PoolCidrsRequest"); -var se_GetAwsNetworkPerformanceDataRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DQ] != null) { - const memberEntries = se_DataQueries(input[_DQ], context); - if (((_a2 = input[_DQ]) == null ? void 0 : _a2.length) === 0) { - entries.DataQuery = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DataQuery.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_STt] != null) { - entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; - } - if (input[_ETn] != null) { - entries[_ETn] = input[_ETn].toISOString().split(".")[0] + "Z"; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetAwsNetworkPerformanceDataRequest"); -var se_GetCapacityReservationUsageRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRI] != null) { - entries[_CRI] = input[_CRI]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetCapacityReservationUsageRequest"); -var se_GetCoipPoolUsageRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_PIo] != null) { - entries[_PIo] = input[_PIo]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetCoipPoolUsageRequest"); -var se_GetConsoleOutputRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_La] != null) { - entries[_La] = input[_La]; - } - return entries; -}, "se_GetConsoleOutputRequest"); -var se_GetConsoleScreenshotRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_WU] != null) { - entries[_WU] = input[_WU]; - } - return entries; -}, "se_GetConsoleScreenshotRequest"); -var se_GetDefaultCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IF] != null) { - entries[_IF] = input[_IF]; - } - return entries; -}, "se_GetDefaultCreditSpecificationRequest"); -var se_GetEbsDefaultKmsKeyIdRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetEbsDefaultKmsKeyIdRequest"); -var se_GetEbsEncryptionByDefaultRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetEbsEncryptionByDefaultRequest"); -var se_GetFlowLogsIntegrationTemplateRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_FLIl] != null) { - entries[_FLIl] = input[_FLIl]; - } - if (input[_CDSDA] != null) { - entries[_CDSDA] = input[_CDSDA]; - } - if (input[_ISnt] != null) { - const memberEntries = se_IntegrateServices(input[_ISnt], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IntegrateService.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_GetFlowLogsIntegrationTemplateRequest"); -var se_GetGroupsForCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRI] != null) { - entries[_CRI] = input[_CRI]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetGroupsForCapacityReservationRequest"); -var se_GetHostReservationPurchasePreviewRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_HIS] != null) { - const memberEntries = se_RequestHostIdSet(input[_HIS], context); - if (((_a2 = input[_HIS]) == null ? void 0 : _a2.length) === 0) { - entries.HostIdSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `HostIdSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_OI] != null) { - entries[_OI] = input[_OI]; - } - return entries; -}, "se_GetHostReservationPurchasePreviewRequest"); -var se_GetImageBlockPublicAccessStateRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetImageBlockPublicAccessStateRequest"); -var se_GetInstanceMetadataDefaultsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetInstanceMetadataDefaultsRequest"); -var se_GetInstanceTypesFromInstanceRequirementsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ATr] != null) { - const memberEntries = se_ArchitectureTypeSet(input[_ATr], context); - if (((_a2 = input[_ATr]) == null ? void 0 : _a2.length) === 0) { - entries.ArchitectureType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ArchitectureType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_VTi] != null) { - const memberEntries = se_VirtualizationTypeSet(input[_VTi], context); - if (((_b2 = input[_VTi]) == null ? void 0 : _b2.length) === 0) { - entries.VirtualizationType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VirtualizationType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IR] != null) { - const memberEntries = se_InstanceRequirementsRequest(input[_IR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceRequirements.${key}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_GetInstanceTypesFromInstanceRequirementsRequest"); -var se_GetInstanceUefiDataRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetInstanceUefiDataRequest"); -var se_GetIpamAddressHistoryRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_ISI] != null) { - entries[_ISI] = input[_ISI]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_STt] != null) { - entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; - } - if (input[_ETn] != null) { - entries[_ETn] = input[_ETn].toISOString().split(".")[0] + "Z"; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_GetIpamAddressHistoryRequest"); -var se_GetIpamDiscoveredAccountsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IRDI] != null) { - entries[_IRDI] = input[_IRDI]; - } - if (input[_DRi] != null) { - entries[_DRi] = input[_DRi]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_GetIpamDiscoveredAccountsRequest"); -var se_GetIpamDiscoveredPublicAddressesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IRDI] != null) { - entries[_IRDI] = input[_IRDI]; - } - if (input[_ARd] != null) { - entries[_ARd] = input[_ARd]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_GetIpamDiscoveredPublicAddressesRequest"); -var se_GetIpamDiscoveredResourceCidrsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IRDI] != null) { - entries[_IRDI] = input[_IRDI]; - } - if (input[_RRe] != null) { - entries[_RRe] = input[_RRe]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_GetIpamDiscoveredResourceCidrsRequest"); -var se_GetIpamPoolAllocationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IPI] != null) { - entries[_IPI] = input[_IPI]; - } - if (input[_IPAI] != null) { - entries[_IPAI] = input[_IPAI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_GetIpamPoolAllocationsRequest"); -var se_GetIpamPoolCidrsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IPI] != null) { - entries[_IPI] = input[_IPI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_GetIpamPoolCidrsRequest"); -var se_GetIpamResourceCidrsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_ISI] != null) { - entries[_ISI] = input[_ISI]; - } - if (input[_IPI] != null) { - entries[_IPI] = input[_IPI]; - } - if (input[_RIeso] != null) { - entries[_RIeso] = input[_RIeso]; - } - if (input[_RT] != null) { - entries[_RT] = input[_RT]; - } - if (input[_RTes] != null) { - const memberEntries = se_RequestIpamResourceTag(input[_RTes], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ResourceTag.${key}`; - entries[loc] = value; - }); - } - if (input[_RO] != null) { - entries[_RO] = input[_RO]; - } - return entries; -}, "se_GetIpamResourceCidrsRequest"); -var se_GetLaunchTemplateDataRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - return entries; -}, "se_GetLaunchTemplateDataRequest"); -var se_GetManagedPrefixListAssociationsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PLI] != null) { - entries[_PLI] = input[_PLI]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_GetManagedPrefixListAssociationsRequest"); -var se_GetManagedPrefixListEntriesRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PLI] != null) { - entries[_PLI] = input[_PLI]; - } - if (input[_TV] != null) { - entries[_TV] = input[_TV]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_GetManagedPrefixListEntriesRequest"); -var se_GetNetworkInsightsAccessScopeAnalysisFindingsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_NIASAI] != null) { - entries[_NIASAI] = input[_NIASAI]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetNetworkInsightsAccessScopeAnalysisFindingsRequest"); -var se_GetNetworkInsightsAccessScopeContentRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_NIASI] != null) { - entries[_NIASI] = input[_NIASI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetNetworkInsightsAccessScopeContentRequest"); -var se_GetPasswordDataRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetPasswordDataRequest"); -var se_GetReservedInstancesExchangeQuoteRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RII] != null) { - const memberEntries = se_ReservedInstanceIdSet(input[_RII], context); - if (((_a2 = input[_RII]) == null ? void 0 : _a2.length) === 0) { - entries.ReservedInstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ReservedInstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TC] != null) { - const memberEntries = se_TargetConfigurationRequestSet(input[_TC], context); - if (((_b2 = input[_TC]) == null ? void 0 : _b2.length) === 0) { - entries.TargetConfiguration = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TargetConfiguration.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_GetReservedInstancesExchangeQuoteRequest"); -var se_GetSecurityGroupsForVpcRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetSecurityGroupsForVpcRequest"); -var se_GetSerialConsoleAccessStatusRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetSerialConsoleAccessStatusRequest"); -var se_GetSnapshotBlockPublicAccessStateRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetSnapshotBlockPublicAccessStateRequest"); -var se_GetSpotPlacementScoresRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_ITnst] != null) { - const memberEntries = se_InstanceTypes(input[_ITnst], context); - if (((_a2 = input[_ITnst]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TCa] != null) { - entries[_TCa] = input[_TCa]; - } - if (input[_TCUT] != null) { - entries[_TCUT] = input[_TCUT]; - } - if (input[_SAZ] != null) { - entries[_SAZ] = input[_SAZ]; - } - if (input[_RNe] != null) { - const memberEntries = se_RegionNames(input[_RNe], context); - if (((_b2 = input[_RNe]) == null ? void 0 : _b2.length) === 0) { - entries.RegionName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RegionName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IRWM] != null) { - const memberEntries = se_InstanceRequirementsWithMetadataRequest(input[_IRWM], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceRequirementsWithMetadata.${key}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - return entries; -}, "se_GetSpotPlacementScoresRequest"); -var se_GetSubnetCidrReservationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - return entries; -}, "se_GetSubnetCidrReservationsRequest"); -var se_GetTransitGatewayAttachmentPropagationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetTransitGatewayAttachmentPropagationsRequest"); -var se_GetTransitGatewayMulticastDomainAssociationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGMDI] != null) { - entries[_TGMDI] = input[_TGMDI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetTransitGatewayMulticastDomainAssociationsRequest"); -var se_GetTransitGatewayPolicyTableAssociationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGPTI] != null) { - entries[_TGPTI] = input[_TGPTI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetTransitGatewayPolicyTableAssociationsRequest"); -var se_GetTransitGatewayPolicyTableEntriesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGPTI] != null) { - entries[_TGPTI] = input[_TGPTI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetTransitGatewayPolicyTableEntriesRequest"); -var se_GetTransitGatewayPrefixListReferencesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetTransitGatewayPrefixListReferencesRequest"); -var se_GetTransitGatewayRouteTableAssociationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetTransitGatewayRouteTableAssociationsRequest"); -var se_GetTransitGatewayRouteTablePropagationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetTransitGatewayRouteTablePropagationsRequest"); -var se_GetVerifiedAccessEndpointPolicyRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAEI] != null) { - entries[_VAEI] = input[_VAEI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetVerifiedAccessEndpointPolicyRequest"); -var se_GetVerifiedAccessGroupPolicyRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAGI] != null) { - entries[_VAGI] = input[_VAGI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetVerifiedAccessGroupPolicyRequest"); -var se_GetVpnConnectionDeviceSampleConfigurationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VCI] != null) { - entries[_VCI] = input[_VCI]; - } - if (input[_VCDTI] != null) { - entries[_VCDTI] = input[_VCDTI]; - } - if (input[_IKEV] != null) { - entries[_IKEV] = input[_IKEV]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetVpnConnectionDeviceSampleConfigurationRequest"); -var se_GetVpnConnectionDeviceTypesRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetVpnConnectionDeviceTypesRequest"); -var se_GetVpnTunnelReplacementStatusRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VCI] != null) { - entries[_VCI] = input[_VCI]; - } - if (input[_VTOIA] != null) { - entries[_VTOIA] = input[_VTOIA]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_GetVpnTunnelReplacementStatusRequest"); -var se_GroupIdentifier = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - return entries; -}, "se_GroupIdentifier"); -var se_GroupIdentifierList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_GroupIdentifier(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_GroupIdentifierList"); -var se_GroupIds = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_GroupIds"); -var se_GroupIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`GroupId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_GroupIdStringList"); -var se_GroupNameStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`GroupName.${counter}`] = entry; - counter++; - } - return entries; -}, "se_GroupNameStringList"); -var se_HibernationOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Conf] != null) { - entries[_Conf] = input[_Conf]; - } - return entries; -}, "se_HibernationOptionsRequest"); -var se_HostReservationIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_HostReservationIdSet"); -var se_IamInstanceProfileSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Ar] != null) { - entries[_Ar] = input[_Ar]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - return entries; -}, "se_IamInstanceProfileSpecification"); -var se_IcmpTypeCode = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Cod] != null) { - entries[_Cod] = input[_Cod]; - } - if (input[_T] != null) { - entries[_T] = input[_T]; - } - return entries; -}, "se_IcmpTypeCode"); -var se_IKEVersionsRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_IKEVersionsRequestListValue(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_IKEVersionsRequestList"); -var se_IKEVersionsRequestListValue = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_IKEVersionsRequestListValue"); -var se_ImageDiskContainer = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DN] != null) { - entries[_DN] = input[_DN]; - } - if (input[_Fo] != null) { - entries[_Fo] = input[_Fo]; - } - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_U] != null) { - entries[_U] = input[_U]; - } - if (input[_UB] != null) { - const memberEntries = se_UserBucket(input[_UB], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `UserBucket.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ImageDiskContainer"); -var se_ImageDiskContainerList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ImageDiskContainer(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ImageDiskContainerList"); -var se_ImageIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ImageIdList"); -var se_ImageIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ImageId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ImageIdStringList"); -var se_ImportClientVpnClientCertificateRevocationListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_CRL] != null) { - entries[_CRL] = input[_CRL]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ImportClientVpnClientCertificateRevocationListRequest"); -var se_ImportImageLicenseConfigurationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_LCA] != null) { - entries[_LCA] = input[_LCA]; - } - return entries; -}, "se_ImportImageLicenseConfigurationRequest"); -var se_ImportImageLicenseSpecificationListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ImportImageLicenseConfigurationRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ImportImageLicenseSpecificationListRequest"); -var se_ImportImageRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_Arc] != null) { - entries[_Arc] = input[_Arc]; - } - if (input[_CD] != null) { - const memberEntries = se_ClientData(input[_CD], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ClientData.${key}`; - entries[loc] = value; - }); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DCi] != null) { - const memberEntries = se_ImageDiskContainerList(input[_DCi], context); - if (((_a2 = input[_DCi]) == null ? void 0 : _a2.length) === 0) { - entries.DiskContainer = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DiskContainer.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Enc] != null) { - entries[_Enc] = input[_Enc]; - } - if (input[_H] != null) { - entries[_H] = input[_H]; - } - if (input[_KKI] != null) { - entries[_KKI] = input[_KKI]; - } - if (input[_LTi] != null) { - entries[_LTi] = input[_LTi]; - } - if (input[_Pla] != null) { - entries[_Pla] = input[_Pla]; - } - if (input[_RNo] != null) { - entries[_RNo] = input[_RNo]; - } - if (input[_LSi] != null) { - const memberEntries = se_ImportImageLicenseSpecificationListRequest(input[_LSi], context); - if (((_b2 = input[_LSi]) == null ? void 0 : _b2.length) === 0) { - entries.LicenseSpecifications = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LicenseSpecifications.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_UO] != null) { - entries[_UO] = input[_UO]; - } - if (input[_BM] != null) { - entries[_BM] = input[_BM]; - } - return entries; -}, "se_ImportImageRequest"); -var se_ImportInstanceLaunchSpecification = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_AId] != null) { - entries[_AId] = input[_AId]; - } - if (input[_Arc] != null) { - entries[_Arc] = input[_Arc]; - } - if (input[_GIro] != null) { - const memberEntries = se_SecurityGroupIdStringList(input[_GIro], context); - if (((_a2 = input[_GIro]) == null ? void 0 : _a2.length) === 0) { - entries.GroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_GNr] != null) { - const memberEntries = se_SecurityGroupStringList(input[_GNr], context); - if (((_b2 = input[_GNr]) == null ? void 0 : _b2.length) === 0) { - entries.GroupName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `GroupName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IISB] != null) { - entries[_IISB] = input[_IISB]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_Mon] != null) { - entries[_Mon] = input[_Mon]; - } - if (input[_Pl] != null) { - const memberEntries = se_Placement(input[_Pl], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Placement.${key}`; - entries[loc] = value; - }); - } - if (input[_PIAr] != null) { - entries[_PIAr] = input[_PIAr]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_UD] != null) { - const memberEntries = se_UserData(input[_UD], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `UserData.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ImportInstanceLaunchSpecification"); -var se_ImportInstanceRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DIis] != null) { - const memberEntries = se_DiskImageList(input[_DIis], context); - if (((_a2 = input[_DIis]) == null ? void 0 : _a2.length) === 0) { - entries.DiskImage = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DiskImage.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_LSa] != null) { - const memberEntries = se_ImportInstanceLaunchSpecification(input[_LSa], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_Pla] != null) { - entries[_Pla] = input[_Pla]; - } - return entries; -}, "se_ImportInstanceRequest"); -var se_ImportKeyPairRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_KN] != null) { - entries[_KN] = input[_KN]; - } - if (input[_PKM] != null) { - entries[_PKM] = context.base64Encoder(input[_PKM]); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ImportKeyPairRequest"); -var se_ImportSnapshotRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CD] != null) { - const memberEntries = se_ClientData(input[_CD], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ClientData.${key}`; - entries[loc] = value; - }); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DCis] != null) { - const memberEntries = se_SnapshotDiskContainer(input[_DCis], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DiskContainer.${key}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Enc] != null) { - entries[_Enc] = input[_Enc]; - } - if (input[_KKI] != null) { - entries[_KKI] = input[_KKI]; - } - if (input[_RNo] != null) { - entries[_RNo] = input[_RNo]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ImportSnapshotRequest"); -var se_ImportSnapshotTaskIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ImportTaskId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ImportSnapshotTaskIdList"); -var se_ImportTaskIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ImportTaskId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ImportTaskIdList"); -var se_ImportVolumeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Im] != null) { - const memberEntries = se_DiskImageDetail(input[_Im], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Image.${key}`; - entries[loc] = value; - }); - } - if (input[_Vo] != null) { - const memberEntries = se_VolumeDetail(input[_Vo], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Volume.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ImportVolumeRequest"); -var se_InsideCidrBlocksStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_InsideCidrBlocksStringList"); -var se_InstanceBlockDeviceMappingSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DN] != null) { - entries[_DN] = input[_DN]; - } - if (input[_E] != null) { - const memberEntries = se_EbsInstanceBlockDeviceSpecification(input[_E], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ebs.${key}`; - entries[loc] = value; - }); - } - if (input[_ND] != null) { - entries[_ND] = input[_ND]; - } - if (input[_VN] != null) { - entries[_VN] = input[_VN]; - } - return entries; -}, "se_InstanceBlockDeviceMappingSpecification"); -var se_InstanceBlockDeviceMappingSpecificationList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_InstanceBlockDeviceMappingSpecification(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_InstanceBlockDeviceMappingSpecificationList"); -var se_InstanceCreditSpecificationListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_InstanceCreditSpecificationRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_InstanceCreditSpecificationListRequest"); -var se_InstanceCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_CCp] != null) { - entries[_CCp] = input[_CCp]; - } - return entries; -}, "se_InstanceCreditSpecificationRequest"); -var se_InstanceEventWindowAssociationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdList(input[_IIns], context); - if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ITnsta] != null) { - const memberEntries = se_TagList(input[_ITnsta], context); - if (((_b2 = input[_ITnsta]) == null ? void 0 : _b2.length) === 0) { - entries.InstanceTag = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceTag.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DHI] != null) { - const memberEntries = se_DedicatedHostIdList(input[_DHI], context); - if (((_c2 = input[_DHI]) == null ? void 0 : _c2.length) === 0) { - entries.DedicatedHostId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DedicatedHostId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_InstanceEventWindowAssociationRequest"); -var se_InstanceEventWindowDisassociationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdList(input[_IIns], context); - if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ITnsta] != null) { - const memberEntries = se_TagList(input[_ITnsta], context); - if (((_b2 = input[_ITnsta]) == null ? void 0 : _b2.length) === 0) { - entries.InstanceTag = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceTag.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DHI] != null) { - const memberEntries = se_DedicatedHostIdList(input[_DHI], context); - if (((_c2 = input[_DHI]) == null ? void 0 : _c2.length) === 0) { - entries.DedicatedHostId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DedicatedHostId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_InstanceEventWindowDisassociationRequest"); -var se_InstanceEventWindowIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`InstanceEventWindowId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_InstanceEventWindowIdSet"); -var se_InstanceEventWindowTimeRangeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SWD] != null) { - entries[_SWD] = input[_SWD]; - } - if (input[_SH] != null) { - entries[_SH] = input[_SH]; - } - if (input[_EWD] != null) { - entries[_EWD] = input[_EWD]; - } - if (input[_EH] != null) { - entries[_EH] = input[_EH]; - } - return entries; -}, "se_InstanceEventWindowTimeRangeRequest"); -var se_InstanceEventWindowTimeRangeRequestSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_InstanceEventWindowTimeRangeRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Member.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_InstanceEventWindowTimeRangeRequestSet"); -var se_InstanceGenerationSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_InstanceGenerationSet"); -var se_InstanceIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_InstanceIdList"); -var se_InstanceIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`InstanceId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_InstanceIdStringList"); -var se_InstanceIpv6Address = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IApv] != null) { - entries[_IApv] = input[_IApv]; - } - if (input[_IPIs] != null) { - entries[_IPIs] = input[_IPIs]; - } - return entries; -}, "se_InstanceIpv6Address"); -var se_InstanceIpv6AddressList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_InstanceIpv6Address(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_InstanceIpv6AddressList"); -var se_InstanceIpv6AddressListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_InstanceIpv6AddressRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`InstanceIpv6Address.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_InstanceIpv6AddressListRequest"); -var se_InstanceIpv6AddressRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IApv] != null) { - entries[_IApv] = input[_IApv]; - } - return entries; -}, "se_InstanceIpv6AddressRequest"); -var se_InstanceMaintenanceOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ARu] != null) { - entries[_ARu] = input[_ARu]; - } - return entries; -}, "se_InstanceMaintenanceOptionsRequest"); -var se_InstanceMarketOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_MT] != null) { - entries[_MT] = input[_MT]; - } - if (input[_SO] != null) { - const memberEntries = se_SpotMarketOptions(input[_SO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SpotOptions.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_InstanceMarketOptionsRequest"); -var se_InstanceMetadataOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_HT] != null) { - entries[_HT] = input[_HT]; - } - if (input[_HPRHL] != null) { - entries[_HPRHL] = input[_HPRHL]; - } - if (input[_HE] != null) { - entries[_HE] = input[_HE]; - } - if (input[_HPI] != null) { - entries[_HPI] = input[_HPI]; - } - if (input[_IMT] != null) { - entries[_IMT] = input[_IMT]; - } - return entries; -}, "se_InstanceMetadataOptionsRequest"); -var se_InstanceNetworkInterfaceSpecification = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2; - const entries = {}; - if (input[_APIAs] != null) { - entries[_APIAs] = input[_APIAs]; - } - if (input[_DOT] != null) { - entries[_DOT] = input[_DOT]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DIev] != null) { - entries[_DIev] = input[_DIev]; - } - if (input[_G] != null) { - const memberEntries = se_SecurityGroupIdStringList(input[_G], context); - if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IAC] != null) { - entries[_IAC] = input[_IAC]; - } - if (input[_IA] != null) { - const memberEntries = se_InstanceIpv6AddressList(input[_IA], context); - if (((_b2 = input[_IA]) == null ? void 0 : _b2.length) === 0) { - entries.Ipv6Addresses = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_PIAr] != null) { - entries[_PIAr] = input[_PIAr]; - } - if (input[_PIA] != null) { - const memberEntries = se_PrivateIpAddressSpecificationList(input[_PIA], context); - if (((_c2 = input[_PIA]) == null ? void 0 : _c2.length) === 0) { - entries.PrivateIpAddresses = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrivateIpAddresses.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SPIAC] != null) { - entries[_SPIAC] = input[_SPIAC]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_ACIA] != null) { - entries[_ACIA] = input[_ACIA]; - } - if (input[_ITn] != null) { - entries[_ITn] = input[_ITn]; - } - if (input[_NCI] != null) { - entries[_NCI] = input[_NCI]; - } - if (input[_IPp] != null) { - const memberEntries = se_Ipv4PrefixList(input[_IPp], context); - if (((_d2 = input[_IPp]) == null ? void 0 : _d2.length) === 0) { - entries.Ipv4Prefix = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv4Prefix.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IPCp] != null) { - entries[_IPCp] = input[_IPCp]; - } - if (input[_IP] != null) { - const memberEntries = se_Ipv6PrefixList(input[_IP], context); - if (((_e2 = input[_IP]) == null ? void 0 : _e2.length) === 0) { - entries.Ipv6Prefix = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Prefix.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IPC] != null) { - entries[_IPC] = input[_IPC]; - } - if (input[_PIr] != null) { - entries[_PIr] = input[_PIr]; - } - if (input[_ESS] != null) { - const memberEntries = se_EnaSrdSpecificationRequest(input[_ESS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnaSrdSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_CTS] != null) { - const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ConnectionTrackingSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_InstanceNetworkInterfaceSpecification"); -var se_InstanceNetworkInterfaceSpecificationList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_InstanceNetworkInterfaceSpecification(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_InstanceNetworkInterfaceSpecificationList"); -var se_InstanceRequirements = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2; - const entries = {}; - if (input[_VCC] != null) { - const memberEntries = se_VCpuCountRange(input[_VCC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VCpuCount.${key}`; - entries[loc] = value; - }); - } - if (input[_MMB] != null) { - const memberEntries = se_MemoryMiB(input[_MMB], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MemoryMiB.${key}`; - entries[loc] = value; - }); - } - if (input[_CM] != null) { - const memberEntries = se_CpuManufacturerSet(input[_CM], context); - if (((_a2 = input[_CM]) == null ? void 0 : _a2.length) === 0) { - entries.CpuManufacturerSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CpuManufacturerSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MGBPVC] != null) { - const memberEntries = se_MemoryGiBPerVCpu(input[_MGBPVC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MemoryGiBPerVCpu.${key}`; - entries[loc] = value; - }); - } - if (input[_EIT] != null) { - const memberEntries = se_ExcludedInstanceTypeSet(input[_EIT], context); - if (((_b2 = input[_EIT]) == null ? void 0 : _b2.length) === 0) { - entries.ExcludedInstanceTypeSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ExcludedInstanceTypeSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IG] != null) { - const memberEntries = se_InstanceGenerationSet(input[_IG], context); - if (((_c2 = input[_IG]) == null ? void 0 : _c2.length) === 0) { - entries.InstanceGenerationSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceGenerationSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SMPPOLP] != null) { - entries[_SMPPOLP] = input[_SMPPOLP]; - } - if (input[_ODMPPOLP] != null) { - entries[_ODMPPOLP] = input[_ODMPPOLP]; - } - if (input[_BMa] != null) { - entries[_BMa] = input[_BMa]; - } - if (input[_BP] != null) { - entries[_BP] = input[_BP]; - } - if (input[_RHS] != null) { - entries[_RHS] = input[_RHS]; - } - if (input[_NIC] != null) { - const memberEntries = se_NetworkInterfaceCount(input[_NIC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterfaceCount.${key}`; - entries[loc] = value; - }); - } - if (input[_LSo] != null) { - entries[_LSo] = input[_LSo]; - } - if (input[_LST] != null) { - const memberEntries = se_LocalStorageTypeSet(input[_LST], context); - if (((_d2 = input[_LST]) == null ? void 0 : _d2.length) === 0) { - entries.LocalStorageTypeSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LocalStorageTypeSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TLSGB] != null) { - const memberEntries = se_TotalLocalStorageGB(input[_TLSGB], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TotalLocalStorageGB.${key}`; - entries[loc] = value; - }); - } - if (input[_BEBM] != null) { - const memberEntries = se_BaselineEbsBandwidthMbps(input[_BEBM], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BaselineEbsBandwidthMbps.${key}`; - entries[loc] = value; - }); - } - if (input[_ATc] != null) { - const memberEntries = se_AcceleratorTypeSet(input[_ATc], context); - if (((_e2 = input[_ATc]) == null ? void 0 : _e2.length) === 0) { - entries.AcceleratorTypeSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AcceleratorTypeSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ACc] != null) { - const memberEntries = se_AcceleratorCount(input[_ACc], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AcceleratorCount.${key}`; - entries[loc] = value; - }); - } - if (input[_AM] != null) { - const memberEntries = se_AcceleratorManufacturerSet(input[_AM], context); - if (((_f2 = input[_AM]) == null ? void 0 : _f2.length) === 0) { - entries.AcceleratorManufacturerSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AcceleratorManufacturerSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ANc] != null) { - const memberEntries = se_AcceleratorNameSet(input[_ANc], context); - if (((_g2 = input[_ANc]) == null ? void 0 : _g2.length) === 0) { - entries.AcceleratorNameSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AcceleratorNameSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ATMMB] != null) { - const memberEntries = se_AcceleratorTotalMemoryMiB(input[_ATMMB], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AcceleratorTotalMemoryMiB.${key}`; - entries[loc] = value; - }); - } - if (input[_NBGe] != null) { - const memberEntries = se_NetworkBandwidthGbps(input[_NBGe], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkBandwidthGbps.${key}`; - entries[loc] = value; - }); - } - if (input[_AIT] != null) { - const memberEntries = se_AllowedInstanceTypeSet(input[_AIT], context); - if (((_h2 = input[_AIT]) == null ? void 0 : _h2.length) === 0) { - entries.AllowedInstanceTypeSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AllowedInstanceTypeSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MSPAPOOODP] != null) { - entries[_MSPAPOOODP] = input[_MSPAPOOODP]; - } - return entries; -}, "se_InstanceRequirements"); -var se_InstanceRequirementsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2; - const entries = {}; - if (input[_VCC] != null) { - const memberEntries = se_VCpuCountRangeRequest(input[_VCC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VCpuCount.${key}`; - entries[loc] = value; - }); - } - if (input[_MMB] != null) { - const memberEntries = se_MemoryMiBRequest(input[_MMB], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MemoryMiB.${key}`; - entries[loc] = value; - }); - } - if (input[_CM] != null) { - const memberEntries = se_CpuManufacturerSet(input[_CM], context); - if (((_a2 = input[_CM]) == null ? void 0 : _a2.length) === 0) { - entries.CpuManufacturer = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CpuManufacturer.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MGBPVC] != null) { - const memberEntries = se_MemoryGiBPerVCpuRequest(input[_MGBPVC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MemoryGiBPerVCpu.${key}`; - entries[loc] = value; - }); - } - if (input[_EIT] != null) { - const memberEntries = se_ExcludedInstanceTypeSet(input[_EIT], context); - if (((_b2 = input[_EIT]) == null ? void 0 : _b2.length) === 0) { - entries.ExcludedInstanceType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ExcludedInstanceType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IG] != null) { - const memberEntries = se_InstanceGenerationSet(input[_IG], context); - if (((_c2 = input[_IG]) == null ? void 0 : _c2.length) === 0) { - entries.InstanceGeneration = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceGeneration.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SMPPOLP] != null) { - entries[_SMPPOLP] = input[_SMPPOLP]; - } - if (input[_ODMPPOLP] != null) { - entries[_ODMPPOLP] = input[_ODMPPOLP]; - } - if (input[_BMa] != null) { - entries[_BMa] = input[_BMa]; - } - if (input[_BP] != null) { - entries[_BP] = input[_BP]; - } - if (input[_RHS] != null) { - entries[_RHS] = input[_RHS]; - } - if (input[_NIC] != null) { - const memberEntries = se_NetworkInterfaceCountRequest(input[_NIC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterfaceCount.${key}`; - entries[loc] = value; - }); - } - if (input[_LSo] != null) { - entries[_LSo] = input[_LSo]; - } - if (input[_LST] != null) { - const memberEntries = se_LocalStorageTypeSet(input[_LST], context); - if (((_d2 = input[_LST]) == null ? void 0 : _d2.length) === 0) { - entries.LocalStorageType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LocalStorageType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TLSGB] != null) { - const memberEntries = se_TotalLocalStorageGBRequest(input[_TLSGB], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TotalLocalStorageGB.${key}`; - entries[loc] = value; - }); - } - if (input[_BEBM] != null) { - const memberEntries = se_BaselineEbsBandwidthMbpsRequest(input[_BEBM], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BaselineEbsBandwidthMbps.${key}`; - entries[loc] = value; - }); - } - if (input[_ATc] != null) { - const memberEntries = se_AcceleratorTypeSet(input[_ATc], context); - if (((_e2 = input[_ATc]) == null ? void 0 : _e2.length) === 0) { - entries.AcceleratorType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AcceleratorType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ACc] != null) { - const memberEntries = se_AcceleratorCountRequest(input[_ACc], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AcceleratorCount.${key}`; - entries[loc] = value; - }); - } - if (input[_AM] != null) { - const memberEntries = se_AcceleratorManufacturerSet(input[_AM], context); - if (((_f2 = input[_AM]) == null ? void 0 : _f2.length) === 0) { - entries.AcceleratorManufacturer = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AcceleratorManufacturer.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ANc] != null) { - const memberEntries = se_AcceleratorNameSet(input[_ANc], context); - if (((_g2 = input[_ANc]) == null ? void 0 : _g2.length) === 0) { - entries.AcceleratorName = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AcceleratorName.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ATMMB] != null) { - const memberEntries = se_AcceleratorTotalMemoryMiBRequest(input[_ATMMB], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AcceleratorTotalMemoryMiB.${key}`; - entries[loc] = value; - }); - } - if (input[_NBGe] != null) { - const memberEntries = se_NetworkBandwidthGbpsRequest(input[_NBGe], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkBandwidthGbps.${key}`; - entries[loc] = value; - }); - } - if (input[_AIT] != null) { - const memberEntries = se_AllowedInstanceTypeSet(input[_AIT], context); - if (((_h2 = input[_AIT]) == null ? void 0 : _h2.length) === 0) { - entries.AllowedInstanceType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AllowedInstanceType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MSPAPOOODP] != null) { - entries[_MSPAPOOODP] = input[_MSPAPOOODP]; - } - return entries; -}, "se_InstanceRequirementsRequest"); -var se_InstanceRequirementsWithMetadataRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_ATr] != null) { - const memberEntries = se_ArchitectureTypeSet(input[_ATr], context); - if (((_a2 = input[_ATr]) == null ? void 0 : _a2.length) === 0) { - entries.ArchitectureType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ArchitectureType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_VTi] != null) { - const memberEntries = se_VirtualizationTypeSet(input[_VTi], context); - if (((_b2 = input[_VTi]) == null ? void 0 : _b2.length) === 0) { - entries.VirtualizationType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VirtualizationType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IR] != null) { - const memberEntries = se_InstanceRequirementsRequest(input[_IR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceRequirements.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_InstanceRequirementsWithMetadataRequest"); -var se_InstanceSpecification = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_EBV] != null) { - entries[_EBV] = input[_EBV]; - } - if (input[_EDVI] != null) { - const memberEntries = se_VolumeIdStringList(input[_EDVI], context); - if (((_a2 = input[_EDVI]) == null ? void 0 : _a2.length) === 0) { - entries.ExcludeDataVolumeId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ExcludeDataVolumeId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_InstanceSpecification"); -var se_InstanceTagKeySet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_InstanceTagKeySet"); -var se_InstanceTypeList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_InstanceTypeList"); -var se_InstanceTypes = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_InstanceTypes"); -var se_IntegrateServices = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_AIth] != null) { - const memberEntries = se_AthenaIntegrationsSet(input[_AIth], context); - if (((_a2 = input[_AIth]) == null ? void 0 : _a2.length) === 0) { - entries.AthenaIntegration = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AthenaIntegration.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_IntegrateServices"); -var se_InternetGatewayIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_InternetGatewayIdList"); -var se_IpamCidrAuthorizationContext = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Me] != null) { - entries[_Me] = input[_Me]; - } - if (input[_Si] != null) { - entries[_Si] = input[_Si]; - } - return entries; -}, "se_IpamCidrAuthorizationContext"); -var se_IpamPoolAllocationAllowedCidrs = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_IpamPoolAllocationAllowedCidrs"); -var se_IpamPoolAllocationDisallowedCidrs = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_IpamPoolAllocationDisallowedCidrs"); -var se_IpamPoolSourceResourceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_RIeso] != null) { - entries[_RIeso] = input[_RIeso]; - } - if (input[_RT] != null) { - entries[_RT] = input[_RT]; - } - if (input[_RRe] != null) { - entries[_RRe] = input[_RRe]; - } - if (input[_RO] != null) { - entries[_RO] = input[_RO]; - } - return entries; -}, "se_IpamPoolSourceResourceRequest"); -var se_IpList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_IpList"); -var se_IpPermission = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2; - const entries = {}; - if (input[_FP] != null) { - entries[_FP] = input[_FP]; - } - if (input[_IPpr] != null) { - entries[_IPpr] = input[_IPpr]; - } - if (input[_IRp] != null) { - const memberEntries = se_IpRangeList(input[_IRp], context); - if (((_a2 = input[_IRp]) == null ? void 0 : _a2.length) === 0) { - entries.IpRanges = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpRanges.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IRpv] != null) { - const memberEntries = se_Ipv6RangeList(input[_IRpv], context); - if (((_b2 = input[_IRpv]) == null ? void 0 : _b2.length) === 0) { - entries.Ipv6Ranges = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Ranges.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PLIr] != null) { - const memberEntries = se_PrefixListIdList(input[_PLIr], context); - if (((_c2 = input[_PLIr]) == null ? void 0 : _c2.length) === 0) { - entries.PrefixListIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrefixListIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TP] != null) { - entries[_TP] = input[_TP]; - } - if (input[_UIGP] != null) { - const memberEntries = se_UserIdGroupPairList(input[_UIGP], context); - if (((_d2 = input[_UIGP]) == null ? void 0 : _d2.length) === 0) { - entries.Groups = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Groups.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_IpPermission"); -var se_IpPermissionList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_IpPermission(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_IpPermissionList"); -var se_IpPrefixList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_IpPrefixList"); -var se_IpRange = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CIi] != null) { - entries[_CIi] = input[_CIi]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - return entries; -}, "se_IpRange"); -var se_IpRangeList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_IpRange(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_IpRangeList"); -var se_Ipv4PrefixList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Ipv4PrefixSpecificationRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_Ipv4PrefixList"); -var se_Ipv4PrefixSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IPpvr] != null) { - entries[_IPpvr] = input[_IPpvr]; - } - return entries; -}, "se_Ipv4PrefixSpecificationRequest"); -var se_Ipv6AddressList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_Ipv6AddressList"); -var se_Ipv6PoolIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_Ipv6PoolIdList"); -var se_Ipv6PrefixList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Ipv6PrefixSpecificationRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_Ipv6PrefixList"); -var se_Ipv6PrefixSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IPpvre] != null) { - entries[_IPpvre] = input[_IPpvre]; - } - return entries; -}, "se_Ipv6PrefixSpecificationRequest"); -var se_Ipv6Range = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CIid] != null) { - entries[_CIid] = input[_CIid]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - return entries; -}, "se_Ipv6Range"); -var se_Ipv6RangeList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Ipv6Range(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_Ipv6RangeList"); -var se_KeyNameStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`KeyName.${counter}`] = entry; - counter++; - } - return entries; -}, "se_KeyNameStringList"); -var se_KeyPairIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`KeyPairId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_KeyPairIdStringList"); -var se_LaunchPermission = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Gr] != null) { - entries[_Gr] = input[_Gr]; - } - if (input[_UIs] != null) { - entries[_UIs] = input[_UIs]; - } - if (input[_OAr] != null) { - entries[_OAr] = input[_OAr]; - } - if (input[_OUA] != null) { - entries[_OUA] = input[_OUA]; - } - return entries; -}, "se_LaunchPermission"); -var se_LaunchPermissionList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_LaunchPermission(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_LaunchPermissionList"); -var se_LaunchPermissionModifications = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Add] != null) { - const memberEntries = se_LaunchPermissionList(input[_Add], context); - if (((_a2 = input[_Add]) == null ? void 0 : _a2.length) === 0) { - entries.Add = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Add.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Re] != null) { - const memberEntries = se_LaunchPermissionList(input[_Re], context); - if (((_b2 = input[_Re]) == null ? void 0 : _b2.length) === 0) { - entries.Remove = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Remove.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_LaunchPermissionModifications"); -var se_LaunchSpecsList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_SpotFleetLaunchSpecification(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_LaunchSpecsList"); -var se_LaunchTemplateBlockDeviceMappingRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DN] != null) { - entries[_DN] = input[_DN]; - } - if (input[_VN] != null) { - entries[_VN] = input[_VN]; - } - if (input[_E] != null) { - const memberEntries = se_LaunchTemplateEbsBlockDeviceRequest(input[_E], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ebs.${key}`; - entries[loc] = value; - }); - } - if (input[_ND] != null) { - entries[_ND] = input[_ND]; - } - return entries; -}, "se_LaunchTemplateBlockDeviceMappingRequest"); -var se_LaunchTemplateBlockDeviceMappingRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_LaunchTemplateBlockDeviceMappingRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`BlockDeviceMapping.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_LaunchTemplateBlockDeviceMappingRequestList"); -var se_LaunchTemplateCapacityReservationSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRP] != null) { - entries[_CRP] = input[_CRP]; - } - if (input[_CRTa] != null) { - const memberEntries = se_CapacityReservationTarget(input[_CRTa], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CapacityReservationTarget.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_LaunchTemplateCapacityReservationSpecificationRequest"); -var se_LaunchTemplateConfig = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_LTS] != null) { - const memberEntries = se_FleetLaunchTemplateSpecification(input[_LTS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_Ov] != null) { - const memberEntries = se_LaunchTemplateOverridesList(input[_Ov], context); - if (((_a2 = input[_Ov]) == null ? void 0 : _a2.length) === 0) { - entries.Overrides = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Overrides.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_LaunchTemplateConfig"); -var se_LaunchTemplateConfigList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_LaunchTemplateConfig(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_LaunchTemplateConfigList"); -var se_LaunchTemplateCpuOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CC] != null) { - entries[_CC] = input[_CC]; - } - if (input[_TPC] != null) { - entries[_TPC] = input[_TPC]; - } - if (input[_ASS] != null) { - entries[_ASS] = input[_ASS]; - } - return entries; -}, "se_LaunchTemplateCpuOptionsRequest"); -var se_LaunchTemplateEbsBlockDeviceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Enc] != null) { - entries[_Enc] = input[_Enc]; - } - if (input[_DOT] != null) { - entries[_DOT] = input[_DOT]; - } - if (input[_Io] != null) { - entries[_Io] = input[_Io]; - } - if (input[_KKI] != null) { - entries[_KKI] = input[_KKI]; - } - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_VS] != null) { - entries[_VS] = input[_VS]; - } - if (input[_VT] != null) { - entries[_VT] = input[_VT]; - } - if (input[_Th] != null) { - entries[_Th] = input[_Th]; - } - return entries; -}, "se_LaunchTemplateEbsBlockDeviceRequest"); -var se_LaunchTemplateElasticInferenceAccelerator = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_T] != null) { - entries[_T] = input[_T]; - } - if (input[_Cou] != null) { - entries[_Cou] = input[_Cou]; - } - return entries; -}, "se_LaunchTemplateElasticInferenceAccelerator"); -var se_LaunchTemplateElasticInferenceAcceleratorList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_LaunchTemplateElasticInferenceAccelerator(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_LaunchTemplateElasticInferenceAcceleratorList"); -var se_LaunchTemplateEnclaveOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - return entries; -}, "se_LaunchTemplateEnclaveOptionsRequest"); -var se_LaunchTemplateHibernationOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Conf] != null) { - entries[_Conf] = input[_Conf]; - } - return entries; -}, "se_LaunchTemplateHibernationOptionsRequest"); -var se_LaunchTemplateIamInstanceProfileSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Ar] != null) { - entries[_Ar] = input[_Ar]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - return entries; -}, "se_LaunchTemplateIamInstanceProfileSpecificationRequest"); -var se_LaunchTemplateIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_LaunchTemplateIdStringList"); -var se_LaunchTemplateInstanceMaintenanceOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ARu] != null) { - entries[_ARu] = input[_ARu]; - } - return entries; -}, "se_LaunchTemplateInstanceMaintenanceOptionsRequest"); -var se_LaunchTemplateInstanceMarketOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_MT] != null) { - entries[_MT] = input[_MT]; - } - if (input[_SO] != null) { - const memberEntries = se_LaunchTemplateSpotMarketOptionsRequest(input[_SO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SpotOptions.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_LaunchTemplateInstanceMarketOptionsRequest"); -var se_LaunchTemplateInstanceMetadataOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_HT] != null) { - entries[_HT] = input[_HT]; - } - if (input[_HPRHL] != null) { - entries[_HPRHL] = input[_HPRHL]; - } - if (input[_HE] != null) { - entries[_HE] = input[_HE]; - } - if (input[_HPI] != null) { - entries[_HPI] = input[_HPI]; - } - if (input[_IMT] != null) { - entries[_IMT] = input[_IMT]; - } - return entries; -}, "se_LaunchTemplateInstanceMetadataOptionsRequest"); -var se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2; - const entries = {}; - if (input[_ACIA] != null) { - entries[_ACIA] = input[_ACIA]; - } - if (input[_APIAs] != null) { - entries[_APIAs] = input[_APIAs]; - } - if (input[_DOT] != null) { - entries[_DOT] = input[_DOT]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DIev] != null) { - entries[_DIev] = input[_DIev]; - } - if (input[_G] != null) { - const memberEntries = se_SecurityGroupIdStringList(input[_G], context); - if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ITn] != null) { - entries[_ITn] = input[_ITn]; - } - if (input[_IAC] != null) { - entries[_IAC] = input[_IAC]; - } - if (input[_IA] != null) { - const memberEntries = se_InstanceIpv6AddressListRequest(input[_IA], context); - if (((_b2 = input[_IA]) == null ? void 0 : _b2.length) === 0) { - entries.Ipv6Addresses = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_PIAr] != null) { - entries[_PIAr] = input[_PIAr]; - } - if (input[_PIA] != null) { - const memberEntries = se_PrivateIpAddressSpecificationList(input[_PIA], context); - if (((_c2 = input[_PIA]) == null ? void 0 : _c2.length) === 0) { - entries.PrivateIpAddresses = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrivateIpAddresses.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SPIAC] != null) { - entries[_SPIAC] = input[_SPIAC]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_NCI] != null) { - entries[_NCI] = input[_NCI]; - } - if (input[_IPp] != null) { - const memberEntries = se_Ipv4PrefixList(input[_IPp], context); - if (((_d2 = input[_IPp]) == null ? void 0 : _d2.length) === 0) { - entries.Ipv4Prefix = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv4Prefix.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IPCp] != null) { - entries[_IPCp] = input[_IPCp]; - } - if (input[_IP] != null) { - const memberEntries = se_Ipv6PrefixList(input[_IP], context); - if (((_e2 = input[_IP]) == null ? void 0 : _e2.length) === 0) { - entries.Ipv6Prefix = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Prefix.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IPC] != null) { - entries[_IPC] = input[_IPC]; - } - if (input[_PIr] != null) { - entries[_PIr] = input[_PIr]; - } - if (input[_ESS] != null) { - const memberEntries = se_EnaSrdSpecificationRequest(input[_ESS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnaSrdSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_CTS] != null) { - const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ConnectionTrackingSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest"); -var se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`InstanceNetworkInterfaceSpecification.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList"); -var se_LaunchTemplateLicenseConfigurationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_LCA] != null) { - entries[_LCA] = input[_LCA]; - } - return entries; -}, "se_LaunchTemplateLicenseConfigurationRequest"); -var se_LaunchTemplateLicenseSpecificationListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_LaunchTemplateLicenseConfigurationRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_LaunchTemplateLicenseSpecificationListRequest"); -var se_LaunchTemplateNameStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_LaunchTemplateNameStringList"); -var se_LaunchTemplateOverrides = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_SPp] != null) { - entries[_SPp] = input[_SPp]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_WC] != null) { - entries[_WC] = (0, import_smithy_client.serializeFloat)(input[_WC]); - } - if (input[_Pri] != null) { - entries[_Pri] = (0, import_smithy_client.serializeFloat)(input[_Pri]); - } - if (input[_IR] != null) { - const memberEntries = se_InstanceRequirements(input[_IR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceRequirements.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_LaunchTemplateOverrides"); -var se_LaunchTemplateOverridesList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_LaunchTemplateOverrides(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_LaunchTemplateOverridesList"); -var se_LaunchTemplatePlacementRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_Af] != null) { - entries[_Af] = input[_Af]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_HIo] != null) { - entries[_HIo] = input[_HIo]; - } - if (input[_Te] != null) { - entries[_Te] = input[_Te]; - } - if (input[_SD] != null) { - entries[_SD] = input[_SD]; - } - if (input[_HRGA] != null) { - entries[_HRGA] = input[_HRGA]; - } - if (input[_PN] != null) { - entries[_PN] = input[_PN]; - } - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - return entries; -}, "se_LaunchTemplatePlacementRequest"); -var se_LaunchTemplatePrivateDnsNameOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_HTo] != null) { - entries[_HTo] = input[_HTo]; - } - if (input[_ERNDAR] != null) { - entries[_ERNDAR] = input[_ERNDAR]; - } - if (input[_ERNDAAAAR] != null) { - entries[_ERNDAAAAR] = input[_ERNDAAAAR]; - } - return entries; -}, "se_LaunchTemplatePrivateDnsNameOptionsRequest"); -var se_LaunchTemplatesMonitoringRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - return entries; -}, "se_LaunchTemplatesMonitoringRequest"); -var se_LaunchTemplateSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_LTI] != null) { - entries[_LTI] = input[_LTI]; - } - if (input[_LTN] != null) { - entries[_LTN] = input[_LTN]; - } - if (input[_V] != null) { - entries[_V] = input[_V]; - } - return entries; -}, "se_LaunchTemplateSpecification"); -var se_LaunchTemplateSpotMarketOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_MPa] != null) { - entries[_MPa] = input[_MPa]; - } - if (input[_SIT] != null) { - entries[_SIT] = input[_SIT]; - } - if (input[_BDMl] != null) { - entries[_BDMl] = input[_BDMl]; - } - if (input[_VU] != null) { - entries[_VU] = input[_VU].toISOString().split(".")[0] + "Z"; - } - if (input[_IIB] != null) { - entries[_IIB] = input[_IIB]; - } - return entries; -}, "se_LaunchTemplateSpotMarketOptionsRequest"); -var se_LaunchTemplateTagSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_RT] != null) { - entries[_RT] = input[_RT]; - } - if (input[_Ta] != null) { - const memberEntries = se_TagList(input[_Ta], context); - if (((_a2 = input[_Ta]) == null ? void 0 : _a2.length) === 0) { - entries.Tag = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Tag.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_LaunchTemplateTagSpecificationRequest"); -var se_LaunchTemplateTagSpecificationRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_LaunchTemplateTagSpecificationRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`LaunchTemplateTagSpecificationRequest.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_LaunchTemplateTagSpecificationRequestList"); -var se_LicenseConfigurationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_LCA] != null) { - entries[_LCA] = input[_LCA]; - } - return entries; -}, "se_LicenseConfigurationRequest"); -var se_LicenseSpecificationListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_LicenseConfigurationRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_LicenseSpecificationListRequest"); -var se_ListImagesInRecycleBinRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IImag] != null) { - const memberEntries = se_ImageIdStringList(input[_IImag], context); - if (((_a2 = input[_IImag]) == null ? void 0 : _a2.length) === 0) { - entries.ImageId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ImageId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ListImagesInRecycleBinRequest"); -var se_ListSnapshotsInRecycleBinRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_SIna] != null) { - const memberEntries = se_SnapshotIdStringList(input[_SIna], context); - if (((_a2 = input[_SIna]) == null ? void 0 : _a2.length) === 0) { - entries.SnapshotId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SnapshotId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ListSnapshotsInRecycleBinRequest"); -var se_LoadBalancersConfig = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CLBC] != null) { - const memberEntries = se_ClassicLoadBalancersConfig(input[_CLBC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ClassicLoadBalancersConfig.${key}`; - entries[loc] = value; - }); - } - if (input[_TGC] != null) { - const memberEntries = se_TargetGroupsConfig(input[_TGC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TargetGroupsConfig.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_LoadBalancersConfig"); -var se_LoadPermissionListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_LoadPermissionRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_LoadPermissionListRequest"); -var se_LoadPermissionModifications = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_Add] != null) { - const memberEntries = se_LoadPermissionListRequest(input[_Add], context); - if (((_a2 = input[_Add]) == null ? void 0 : _a2.length) === 0) { - entries.Add = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Add.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Re] != null) { - const memberEntries = se_LoadPermissionListRequest(input[_Re], context); - if (((_b2 = input[_Re]) == null ? void 0 : _b2.length) === 0) { - entries.Remove = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Remove.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_LoadPermissionModifications"); -var se_LoadPermissionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Gr] != null) { - entries[_Gr] = input[_Gr]; - } - if (input[_UIs] != null) { - entries[_UIs] = input[_UIs]; - } - return entries; -}, "se_LoadPermissionRequest"); -var se_LocalGatewayIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_LocalGatewayIdSet"); -var se_LocalGatewayRouteTableIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_LocalGatewayRouteTableIdSet"); -var se_LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet"); -var se_LocalGatewayRouteTableVpcAssociationIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_LocalGatewayRouteTableVpcAssociationIdSet"); -var se_LocalGatewayVirtualInterfaceGroupIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_LocalGatewayVirtualInterfaceGroupIdSet"); -var se_LocalGatewayVirtualInterfaceIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_LocalGatewayVirtualInterfaceIdSet"); -var se_LocalStorageTypeSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_LocalStorageTypeSet"); -var se_LockSnapshotRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_LM] != null) { - entries[_LM] = input[_LM]; - } - if (input[_COP] != null) { - entries[_COP] = input[_COP]; - } - if (input[_LDo] != null) { - entries[_LDo] = input[_LDo]; - } - if (input[_EDx] != null) { - entries[_EDx] = input[_EDx].toISOString().split(".")[0] + "Z"; - } - return entries; -}, "se_LockSnapshotRequest"); -var se_MemoryGiBPerVCpu = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); - } - if (input[_Ma] != null) { - entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); - } - return entries; -}, "se_MemoryGiBPerVCpu"); -var se_MemoryGiBPerVCpuRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); - } - if (input[_Ma] != null) { - entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); - } - return entries; -}, "se_MemoryGiBPerVCpuRequest"); -var se_MemoryMiB = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_MemoryMiB"); -var se_MemoryMiBRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_MemoryMiBRequest"); -var se_ModifyAddressAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIl] != null) { - entries[_AIl] = input[_AIl]; - } - if (input[_DNo] != null) { - entries[_DNo] = input[_DNo]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyAddressAttributeRequest"); -var se_ModifyAvailabilityZoneGroupRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_OIS] != null) { - entries[_OIS] = input[_OIS]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyAvailabilityZoneGroupRequest"); -var se_ModifyCapacityReservationFleetRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRFIa] != null) { - entries[_CRFIa] = input[_CRFIa]; - } - if (input[_TTC] != null) { - entries[_TTC] = input[_TTC]; - } - if (input[_ED] != null) { - entries[_ED] = input[_ED].toISOString().split(".")[0] + "Z"; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RED] != null) { - entries[_RED] = input[_RED]; - } - return entries; -}, "se_ModifyCapacityReservationFleetRequest"); -var se_ModifyCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRI] != null) { - entries[_CRI] = input[_CRI]; - } - if (input[_IC] != null) { - entries[_IC] = input[_IC]; - } - if (input[_ED] != null) { - entries[_ED] = input[_ED].toISOString().split(".")[0] + "Z"; - } - if (input[_EDT] != null) { - entries[_EDT] = input[_EDT]; - } - if (input[_Ac] != null) { - entries[_Ac] = input[_Ac]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_AId] != null) { - entries[_AId] = input[_AId]; - } - return entries; -}, "se_ModifyCapacityReservationRequest"); -var se_ModifyClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_SCA] != null) { - entries[_SCA] = input[_SCA]; - } - if (input[_CLO] != null) { - const memberEntries = se_ConnectionLogOptions(input[_CLO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ConnectionLogOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_DSn] != null) { - const memberEntries = se_DnsServersOptionsModifyStructure(input[_DSn], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DnsServers.${key}`; - entries[loc] = value; - }); - } - if (input[_VP] != null) { - entries[_VP] = input[_VP]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_ST] != null) { - entries[_ST] = input[_ST]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SGI] != null) { - const memberEntries = se_ClientVpnSecurityGroupIdSet(input[_SGI], context); - if (((_a2 = input[_SGI]) == null ? void 0 : _a2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_SSP] != null) { - entries[_SSP] = input[_SSP]; - } - if (input[_CCO] != null) { - const memberEntries = se_ClientConnectOptions(input[_CCO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ClientConnectOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_STH] != null) { - entries[_STH] = input[_STH]; - } - if (input[_CLBO] != null) { - const memberEntries = se_ClientLoginBannerOptions(input[_CLBO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ClientLoginBannerOptions.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyClientVpnEndpointRequest"); -var se_ModifyDefaultCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IF] != null) { - entries[_IF] = input[_IF]; - } - if (input[_CCp] != null) { - entries[_CCp] = input[_CCp]; - } - return entries; -}, "se_ModifyDefaultCreditSpecificationRequest"); -var se_ModifyEbsDefaultKmsKeyIdRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_KKI] != null) { - entries[_KKI] = input[_KKI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyEbsDefaultKmsKeyIdRequest"); -var se_ModifyFleetRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ECTP] != null) { - entries[_ECTP] = input[_ECTP]; - } - if (input[_LTC] != null) { - const memberEntries = se_FleetLaunchTemplateConfigListRequest(input[_LTC], context); - if (((_a2 = input[_LTC]) == null ? void 0 : _a2.length) === 0) { - entries.LaunchTemplateConfig = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateConfig.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_FIl] != null) { - entries[_FIl] = input[_FIl]; - } - if (input[_TCS] != null) { - const memberEntries = se_TargetCapacitySpecificationRequest(input[_TCS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TargetCapacitySpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_Con] != null) { - entries[_Con] = input[_Con]; - } - return entries; -}, "se_ModifyFleetRequest"); -var se_ModifyFpgaImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_FII] != null) { - entries[_FII] = input[_FII]; - } - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_OTp] != null) { - entries[_OTp] = input[_OTp]; - } - if (input[_UIse] != null) { - const memberEntries = se_UserIdStringList(input[_UIse], context); - if (((_a2 = input[_UIse]) == null ? void 0 : _a2.length) === 0) { - entries.UserId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `UserId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_UG] != null) { - const memberEntries = se_UserGroupStringList(input[_UG], context); - if (((_b2 = input[_UG]) == null ? void 0 : _b2.length) === 0) { - entries.UserGroup = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `UserGroup.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PCr] != null) { - const memberEntries = se_ProductCodeStringList(input[_PCr], context); - if (((_c2 = input[_PCr]) == null ? void 0 : _c2.length) === 0) { - entries.ProductCode = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ProductCode.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_LP] != null) { - const memberEntries = se_LoadPermissionModifications(input[_LP], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LoadPermission.${key}`; - entries[loc] = value; - }); - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - return entries; -}, "se_ModifyFpgaImageAttributeRequest"); -var se_ModifyHostsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_AP] != null) { - entries[_AP] = input[_AP]; - } - if (input[_HI] != null) { - const memberEntries = se_RequestHostIdList(input[_HI], context); - if (((_a2 = input[_HI]) == null ? void 0 : _a2.length) === 0) { - entries.HostId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `HostId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_HR] != null) { - entries[_HR] = input[_HR]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_IF] != null) { - entries[_IF] = input[_IF]; - } - if (input[_HM] != null) { - entries[_HM] = input[_HM]; - } - return entries; -}, "se_ModifyHostsRequest"); -var se_ModifyIdentityIdFormatRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_PAr] != null) { - entries[_PAr] = input[_PAr]; - } - if (input[_Res] != null) { - entries[_Res] = input[_Res]; - } - if (input[_ULI] != null) { - entries[_ULI] = input[_ULI]; - } - return entries; -}, "se_ModifyIdentityIdFormatRequest"); -var se_ModifyIdFormatRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Res] != null) { - entries[_Res] = input[_Res]; - } - if (input[_ULI] != null) { - entries[_ULI] = input[_ULI]; - } - return entries; -}, "se_ModifyIdFormatRequest"); -var se_ModifyImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2; - const entries = {}; - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_De] != null) { - const memberEntries = se_AttributeValue(input[_De], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Description.${key}`; - entries[loc] = value; - }); - } - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_LPa] != null) { - const memberEntries = se_LaunchPermissionModifications(input[_LPa], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchPermission.${key}`; - entries[loc] = value; - }); - } - if (input[_OTp] != null) { - entries[_OTp] = input[_OTp]; - } - if (input[_PCr] != null) { - const memberEntries = se_ProductCodeStringList(input[_PCr], context); - if (((_a2 = input[_PCr]) == null ? void 0 : _a2.length) === 0) { - entries.ProductCode = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ProductCode.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_UG] != null) { - const memberEntries = se_UserGroupStringList(input[_UG], context); - if (((_b2 = input[_UG]) == null ? void 0 : _b2.length) === 0) { - entries.UserGroup = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `UserGroup.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_UIse] != null) { - const memberEntries = se_UserIdStringList(input[_UIse], context); - if (((_c2 = input[_UIse]) == null ? void 0 : _c2.length) === 0) { - entries.UserId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `UserId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_OArg] != null) { - const memberEntries = se_OrganizationArnStringList(input[_OArg], context); - if (((_d2 = input[_OArg]) == null ? void 0 : _d2.length) === 0) { - entries.OrganizationArn = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `OrganizationArn.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_OUAr] != null) { - const memberEntries = se_OrganizationalUnitArnStringList(input[_OUAr], context); - if (((_e2 = input[_OUAr]) == null ? void 0 : _e2.length) === 0) { - entries.OrganizationalUnitArn = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `OrganizationalUnitArn.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ISm] != null) { - const memberEntries = se_AttributeValue(input[_ISm], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ImdsSupport.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyImageAttributeRequest"); -var se_ModifyInstanceAttributeRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_SDC] != null) { - const memberEntries = se_AttributeBooleanValue(input[_SDC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourceDestCheck.${key}`; - entries[loc] = value; - }); - } - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_BDM] != null) { - const memberEntries = se_InstanceBlockDeviceMappingSpecificationList(input[_BDM], context); - if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { - entries.BlockDeviceMapping = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DATis] != null) { - const memberEntries = se_AttributeBooleanValue(input[_DATis], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DisableApiTermination.${key}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_EO] != null) { - const memberEntries = se_AttributeBooleanValue(input[_EO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EbsOptimized.${key}`; - entries[loc] = value; - }); - } - if (input[_ESn] != null) { - const memberEntries = se_AttributeBooleanValue(input[_ESn], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnaSupport.${key}`; - entries[loc] = value; - }); - } - if (input[_G] != null) { - const memberEntries = se_GroupIdStringList(input[_G], context); - if (((_b2 = input[_G]) == null ? void 0 : _b2.length) === 0) { - entries.GroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_IISB] != null) { - const memberEntries = se_AttributeValue(input[_IISB], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceInitiatedShutdownBehavior.${key}`; - entries[loc] = value; - }); - } - if (input[_IT] != null) { - const memberEntries = se_AttributeValue(input[_IT], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceType.${key}`; - entries[loc] = value; - }); - } - if (input[_K] != null) { - const memberEntries = se_AttributeValue(input[_K], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Kernel.${key}`; - entries[loc] = value; - }); - } - if (input[_Ra] != null) { - const memberEntries = se_AttributeValue(input[_Ra], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ramdisk.${key}`; - entries[loc] = value; - }); - } - if (input[_SNS] != null) { - const memberEntries = se_AttributeValue(input[_SNS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SriovNetSupport.${key}`; - entries[loc] = value; - }); - } - if (input[_UD] != null) { - const memberEntries = se_BlobAttributeValue(input[_UD], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `UserData.${key}`; - entries[loc] = value; - }); - } - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - if (input[_DAS] != null) { - const memberEntries = se_AttributeBooleanValue(input[_DAS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DisableApiStop.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyInstanceAttributeRequest"); -var se_ModifyInstanceCapacityReservationAttributesRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_CRS] != null) { - const memberEntries = se_CapacityReservationSpecification(input[_CRS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CapacityReservationSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyInstanceCapacityReservationAttributesRequest"); -var se_ModifyInstanceCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_ICS] != null) { - const memberEntries = se_InstanceCreditSpecificationListRequest(input[_ICS], context); - if (((_a2 = input[_ICS]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceCreditSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceCreditSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyInstanceCreditSpecificationRequest"); -var se_ModifyInstanceEventStartTimeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_IEI] != null) { - entries[_IEI] = input[_IEI]; - } - if (input[_NB] != null) { - entries[_NB] = input[_NB].toISOString().split(".")[0] + "Z"; - } - return entries; -}, "se_ModifyInstanceEventStartTimeRequest"); -var se_ModifyInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - if (input[_IEWI] != null) { - entries[_IEWI] = input[_IEWI]; - } - if (input[_TRi] != null) { - const memberEntries = se_InstanceEventWindowTimeRangeRequestSet(input[_TRi], context); - if (((_a2 = input[_TRi]) == null ? void 0 : _a2.length) === 0) { - entries.TimeRange = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TimeRange.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CE] != null) { - entries[_CE] = input[_CE]; - } - return entries; -}, "se_ModifyInstanceEventWindowRequest"); -var se_ModifyInstanceMaintenanceOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_ARu] != null) { - entries[_ARu] = input[_ARu]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyInstanceMaintenanceOptionsRequest"); -var se_ModifyInstanceMetadataDefaultsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_HT] != null) { - entries[_HT] = input[_HT]; - } - if (input[_HPRHL] != null) { - entries[_HPRHL] = input[_HPRHL]; - } - if (input[_HE] != null) { - entries[_HE] = input[_HE]; - } - if (input[_IMT] != null) { - entries[_IMT] = input[_IMT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyInstanceMetadataDefaultsRequest"); -var se_ModifyInstanceMetadataOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_HT] != null) { - entries[_HT] = input[_HT]; - } - if (input[_HPRHL] != null) { - entries[_HPRHL] = input[_HPRHL]; - } - if (input[_HE] != null) { - entries[_HE] = input[_HE]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_HPI] != null) { - entries[_HPI] = input[_HPI]; - } - if (input[_IMT] != null) { - entries[_IMT] = input[_IMT]; - } - return entries; -}, "se_ModifyInstanceMetadataOptionsRequest"); -var se_ModifyInstancePlacementRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Af] != null) { - entries[_Af] = input[_Af]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_HIo] != null) { - entries[_HIo] = input[_HIo]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_Te] != null) { - entries[_Te] = input[_Te]; - } - if (input[_PN] != null) { - entries[_PN] = input[_PN]; - } - if (input[_HRGA] != null) { - entries[_HRGA] = input[_HRGA]; - } - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - return entries; -}, "se_ModifyInstancePlacementRequest"); -var se_ModifyIpamPoolRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IPI] != null) { - entries[_IPI] = input[_IPI]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_AIu] != null) { - entries[_AIu] = input[_AIu]; - } - if (input[_AMNL] != null) { - entries[_AMNL] = input[_AMNL]; - } - if (input[_AMNLl] != null) { - entries[_AMNLl] = input[_AMNLl]; - } - if (input[_ADNL] != null) { - entries[_ADNL] = input[_ADNL]; - } - if (input[_CADNL] != null) { - entries[_CADNL] = input[_CADNL]; - } - if (input[_AART] != null) { - const memberEntries = se_RequestIpamResourceTagList(input[_AART], context); - if (((_a2 = input[_AART]) == null ? void 0 : _a2.length) === 0) { - entries.AddAllocationResourceTag = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddAllocationResourceTag.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RART] != null) { - const memberEntries = se_RequestIpamResourceTagList(input[_RART], context); - if (((_b2 = input[_RART]) == null ? void 0 : _b2.length) === 0) { - entries.RemoveAllocationResourceTag = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveAllocationResourceTag.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyIpamPoolRequest"); -var se_ModifyIpamRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIp] != null) { - entries[_IIp] = input[_IIp]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_AOR] != null) { - const memberEntries = se_AddIpamOperatingRegionSet(input[_AOR], context); - if (((_a2 = input[_AOR]) == null ? void 0 : _a2.length) === 0) { - entries.AddOperatingRegion = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddOperatingRegion.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ROR] != null) { - const memberEntries = se_RemoveIpamOperatingRegionSet(input[_ROR], context); - if (((_b2 = input[_ROR]) == null ? void 0 : _b2.length) === 0) { - entries.RemoveOperatingRegion = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveOperatingRegion.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Ti] != null) { - entries[_Ti] = input[_Ti]; - } - return entries; -}, "se_ModifyIpamRequest"); -var se_ModifyIpamResourceCidrRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RIeso] != null) { - entries[_RIeso] = input[_RIeso]; - } - if (input[_RC] != null) { - entries[_RC] = input[_RC]; - } - if (input[_RRe] != null) { - entries[_RRe] = input[_RRe]; - } - if (input[_CISI] != null) { - entries[_CISI] = input[_CISI]; - } - if (input[_DISI] != null) { - entries[_DISI] = input[_DISI]; - } - if (input[_Moni] != null) { - entries[_Moni] = input[_Moni]; - } - return entries; -}, "se_ModifyIpamResourceCidrRequest"); -var se_ModifyIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IRDI] != null) { - entries[_IRDI] = input[_IRDI]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_AOR] != null) { - const memberEntries = se_AddIpamOperatingRegionSet(input[_AOR], context); - if (((_a2 = input[_AOR]) == null ? void 0 : _a2.length) === 0) { - entries.AddOperatingRegion = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddOperatingRegion.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ROR] != null) { - const memberEntries = se_RemoveIpamOperatingRegionSet(input[_ROR], context); - if (((_b2 = input[_ROR]) == null ? void 0 : _b2.length) === 0) { - entries.RemoveOperatingRegion = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveOperatingRegion.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyIpamResourceDiscoveryRequest"); -var se_ModifyIpamScopeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ISI] != null) { - entries[_ISI] = input[_ISI]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - return entries; -}, "se_ModifyIpamScopeRequest"); -var se_ModifyLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_LTI] != null) { - entries[_LTI] = input[_LTI]; - } - if (input[_LTN] != null) { - entries[_LTN] = input[_LTN]; - } - if (input[_DVef] != null) { - entries[_SDV] = input[_DVef]; - } - return entries; -}, "se_ModifyLaunchTemplateRequest"); -var se_ModifyLocalGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_LGRTI] != null) { - entries[_LGRTI] = input[_LGRTI]; - } - if (input[_LGVIGI] != null) { - entries[_LGVIGI] = input[_LGVIGI]; - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_DPLI] != null) { - entries[_DPLI] = input[_DPLI]; - } - return entries; -}, "se_ModifyLocalGatewayRouteRequest"); -var se_ModifyManagedPrefixListRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PLI] != null) { - entries[_PLI] = input[_PLI]; - } - if (input[_CVu] != null) { - entries[_CVu] = input[_CVu]; - } - if (input[_PLN] != null) { - entries[_PLN] = input[_PLN]; - } - if (input[_AEd] != null) { - const memberEntries = se_AddPrefixListEntries(input[_AEd], context); - if (((_a2 = input[_AEd]) == null ? void 0 : _a2.length) === 0) { - entries.AddEntry = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddEntry.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RE] != null) { - const memberEntries = se_RemovePrefixListEntries(input[_RE], context); - if (((_b2 = input[_RE]) == null ? void 0 : _b2.length) === 0) { - entries.RemoveEntry = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveEntry.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ME] != null) { - entries[_ME] = input[_ME]; - } - return entries; -}, "se_ModifyManagedPrefixListRequest"); -var se_ModifyNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_Att] != null) { - const memberEntries = se_NetworkInterfaceAttachmentChanges(input[_Att], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Attachment.${key}`; - entries[loc] = value; - }); - } - if (input[_De] != null) { - const memberEntries = se_AttributeValue(input[_De], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Description.${key}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_G] != null) { - const memberEntries = se_SecurityGroupIdStringList(input[_G], context); - if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_SDC] != null) { - const memberEntries = se_AttributeBooleanValue(input[_SDC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourceDestCheck.${key}`; - entries[loc] = value; - }); - } - if (input[_ESS] != null) { - const memberEntries = se_EnaSrdSpecification(input[_ESS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnaSrdSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_EPI] != null) { - entries[_EPI] = input[_EPI]; - } - if (input[_CTS] != null) { - const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ConnectionTrackingSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyNetworkInterfaceAttributeRequest"); -var se_ModifyPrivateDnsNameOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_PDHT] != null) { - entries[_PDHT] = input[_PDHT]; - } - if (input[_ERNDAR] != null) { - entries[_ERNDAR] = input[_ERNDAR]; - } - if (input[_ERNDAAAAR] != null) { - entries[_ERNDAAAAR] = input[_ERNDAAAAR]; - } - return entries; -}, "se_ModifyPrivateDnsNameOptionsRequest"); -var se_ModifyReservedInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_RIIes] != null) { - const memberEntries = se_ReservedInstancesIdStringList(input[_RIIes], context); - if (((_a2 = input[_RIIes]) == null ? void 0 : _a2.length) === 0) { - entries.ReservedInstancesId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ReservedInstancesId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_TC] != null) { - const memberEntries = se_ReservedInstancesConfigurationList(input[_TC], context); - if (((_b2 = input[_TC]) == null ? void 0 : _b2.length) === 0) { - entries.ReservedInstancesConfigurationSetItemType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ReservedInstancesConfigurationSetItemType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyReservedInstancesRequest"); -var se_ModifySecurityGroupRulesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - if (input[_SGR] != null) { - const memberEntries = se_SecurityGroupRuleUpdateList(input[_SGR], context); - if (((_a2 = input[_SGR]) == null ? void 0 : _a2.length) === 0) { - entries.SecurityGroupRule = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupRule.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifySecurityGroupRulesRequest"); -var se_ModifySnapshotAttributeRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_CVP] != null) { - const memberEntries = se_CreateVolumePermissionModifications(input[_CVP], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CreateVolumePermission.${key}`; - entries[loc] = value; - }); - } - if (input[_GNr] != null) { - const memberEntries = se_GroupNameStringList(input[_GNr], context); - if (((_a2 = input[_GNr]) == null ? void 0 : _a2.length) === 0) { - entries.UserGroup = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `UserGroup.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_OTp] != null) { - entries[_OTp] = input[_OTp]; - } - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_UIse] != null) { - const memberEntries = se_UserIdStringList(input[_UIse], context); - if (((_b2 = input[_UIse]) == null ? void 0 : _b2.length) === 0) { - entries.UserId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `UserId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifySnapshotAttributeRequest"); -var se_ModifySnapshotTierRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_STto] != null) { - entries[_STto] = input[_STto]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifySnapshotTierRequest"); -var se_ModifySpotFleetRequestRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_ECTP] != null) { - entries[_ECTP] = input[_ECTP]; - } - if (input[_LTC] != null) { - const memberEntries = se_LaunchTemplateConfigList(input[_LTC], context); - if (((_a2 = input[_LTC]) == null ? void 0 : _a2.length) === 0) { - entries.LaunchTemplateConfig = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateConfig.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SFRIp] != null) { - entries[_SFRIp] = input[_SFRIp]; - } - if (input[_TCa] != null) { - entries[_TCa] = input[_TCa]; - } - if (input[_ODTC] != null) { - entries[_ODTC] = input[_ODTC]; - } - if (input[_Con] != null) { - entries[_Con] = input[_Con]; - } - return entries; -}, "se_ModifySpotFleetRequestRequest"); -var se_ModifySubnetAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIAOC] != null) { - const memberEntries = se_AttributeBooleanValue(input[_AIAOC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AssignIpv6AddressOnCreation.${key}`; - entries[loc] = value; - }); - } - if (input[_MPIOL] != null) { - const memberEntries = se_AttributeBooleanValue(input[_MPIOL], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MapPublicIpOnLaunch.${key}`; - entries[loc] = value; - }); - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_MCOIOL] != null) { - const memberEntries = se_AttributeBooleanValue(input[_MCOIOL], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MapCustomerOwnedIpOnLaunch.${key}`; - entries[loc] = value; - }); - } - if (input[_COIP] != null) { - entries[_COIP] = input[_COIP]; - } - if (input[_EDn] != null) { - const memberEntries = se_AttributeBooleanValue(input[_EDn], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnableDns64.${key}`; - entries[loc] = value; - }); - } - if (input[_PDHTOL] != null) { - entries[_PDHTOL] = input[_PDHTOL]; - } - if (input[_ERNDAROL] != null) { - const memberEntries = se_AttributeBooleanValue(input[_ERNDAROL], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnableResourceNameDnsARecordOnLaunch.${key}`; - entries[loc] = value; - }); - } - if (input[_ERNDAAAAROL] != null) { - const memberEntries = se_AttributeBooleanValue(input[_ERNDAAAAROL], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnableResourceNameDnsAAAARecordOnLaunch.${key}`; - entries[loc] = value; - }); - } - if (input[_ELADI] != null) { - entries[_ELADI] = input[_ELADI]; - } - if (input[_DLADI] != null) { - const memberEntries = se_AttributeBooleanValue(input[_DLADI], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DisableLniAtDeviceIndex.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifySubnetAttributeRequest"); -var se_ModifyTrafficMirrorFilterNetworkServicesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TMFI] != null) { - entries[_TMFI] = input[_TMFI]; - } - if (input[_ANS] != null) { - const memberEntries = se_TrafficMirrorNetworkServiceList(input[_ANS], context); - if (((_a2 = input[_ANS]) == null ? void 0 : _a2.length) === 0) { - entries.AddNetworkService = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddNetworkService.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RNS] != null) { - const memberEntries = se_TrafficMirrorNetworkServiceList(input[_RNS], context); - if (((_b2 = input[_RNS]) == null ? void 0 : _b2.length) === 0) { - entries.RemoveNetworkService = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveNetworkService.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyTrafficMirrorFilterNetworkServicesRequest"); -var se_ModifyTrafficMirrorFilterRuleRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TMFRI] != null) { - entries[_TMFRI] = input[_TMFRI]; - } - if (input[_TD] != null) { - entries[_TD] = input[_TD]; - } - if (input[_RNu] != null) { - entries[_RNu] = input[_RNu]; - } - if (input[_RAu] != null) { - entries[_RAu] = input[_RAu]; - } - if (input[_DPR] != null) { - const memberEntries = se_TrafficMirrorPortRangeRequest(input[_DPR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DestinationPortRange.${key}`; - entries[loc] = value; - }); - } - if (input[_SPR] != null) { - const memberEntries = se_TrafficMirrorPortRangeRequest(input[_SPR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourcePortRange.${key}`; - entries[loc] = value; - }); - } - if (input[_P] != null) { - entries[_P] = input[_P]; - } - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_SCB] != null) { - entries[_SCB] = input[_SCB]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_RF] != null) { - const memberEntries = se_TrafficMirrorFilterRuleFieldList(input[_RF], context); - if (((_a2 = input[_RF]) == null ? void 0 : _a2.length) === 0) { - entries.RemoveField = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveField.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyTrafficMirrorFilterRuleRequest"); -var se_ModifyTrafficMirrorSessionRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TMSI] != null) { - entries[_TMSI] = input[_TMSI]; - } - if (input[_TMTI] != null) { - entries[_TMTI] = input[_TMTI]; - } - if (input[_TMFI] != null) { - entries[_TMFI] = input[_TMFI]; - } - if (input[_PL] != null) { - entries[_PL] = input[_PL]; - } - if (input[_SN] != null) { - entries[_SN] = input[_SN]; - } - if (input[_VNI] != null) { - entries[_VNI] = input[_VNI]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_RF] != null) { - const memberEntries = se_TrafficMirrorSessionFieldList(input[_RF], context); - if (((_a2 = input[_RF]) == null ? void 0 : _a2.length) === 0) { - entries.RemoveField = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveField.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyTrafficMirrorSessionRequest"); -var se_ModifyTransitGatewayOptions = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_ATGCB] != null) { - const memberEntries = se_TransitGatewayCidrBlockStringList(input[_ATGCB], context); - if (((_a2 = input[_ATGCB]) == null ? void 0 : _a2.length) === 0) { - entries.AddTransitGatewayCidrBlocks = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddTransitGatewayCidrBlocks.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RTGCB] != null) { - const memberEntries = se_TransitGatewayCidrBlockStringList(input[_RTGCB], context); - if (((_b2 = input[_RTGCB]) == null ? void 0 : _b2.length) === 0) { - entries.RemoveTransitGatewayCidrBlocks = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveTransitGatewayCidrBlocks.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_VES] != null) { - entries[_VES] = input[_VES]; - } - if (input[_DSns] != null) { - entries[_DSns] = input[_DSns]; - } - if (input[_SGRS] != null) { - entries[_SGRS] = input[_SGRS]; - } - if (input[_AASAu] != null) { - entries[_AASAu] = input[_AASAu]; - } - if (input[_DRTA] != null) { - entries[_DRTA] = input[_DRTA]; - } - if (input[_ADRTI] != null) { - entries[_ADRTI] = input[_ADRTI]; - } - if (input[_DRTP] != null) { - entries[_DRTP] = input[_DRTP]; - } - if (input[_PDRTI] != null) { - entries[_PDRTI] = input[_PDRTI]; - } - if (input[_ASA] != null) { - entries[_ASA] = input[_ASA]; - } - return entries; -}, "se_ModifyTransitGatewayOptions"); -var se_ModifyTransitGatewayPrefixListReferenceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_PLI] != null) { - entries[_PLI] = input[_PLI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_Bl] != null) { - entries[_Bl] = input[_Bl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyTransitGatewayPrefixListReferenceRequest"); -var se_ModifyTransitGatewayRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGI] != null) { - entries[_TGI] = input[_TGI]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_O] != null) { - const memberEntries = se_ModifyTransitGatewayOptions(input[_O], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Options.${key}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyTransitGatewayRequest"); -var se_ModifyTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_ASI] != null) { - const memberEntries = se_TransitGatewaySubnetIdList(input[_ASI], context); - if (((_a2 = input[_ASI]) == null ? void 0 : _a2.length) === 0) { - entries.AddSubnetIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddSubnetIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RSIe] != null) { - const memberEntries = se_TransitGatewaySubnetIdList(input[_RSIe], context); - if (((_b2 = input[_RSIe]) == null ? void 0 : _b2.length) === 0) { - entries.RemoveSubnetIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveSubnetIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_O] != null) { - const memberEntries = se_ModifyTransitGatewayVpcAttachmentRequestOptions(input[_O], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Options.${key}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyTransitGatewayVpcAttachmentRequest"); -var se_ModifyTransitGatewayVpcAttachmentRequestOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DSns] != null) { - entries[_DSns] = input[_DSns]; - } - if (input[_SGRS] != null) { - entries[_SGRS] = input[_SGRS]; - } - if (input[_ISp] != null) { - entries[_ISp] = input[_ISp]; - } - if (input[_AMS] != null) { - entries[_AMS] = input[_AMS]; - } - return entries; -}, "se_ModifyTransitGatewayVpcAttachmentRequestOptions"); -var se_ModifyVerifiedAccessEndpointEniOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_P] != null) { - entries[_P] = input[_P]; - } - if (input[_Po] != null) { - entries[_Po] = input[_Po]; - } - return entries; -}, "se_ModifyVerifiedAccessEndpointEniOptions"); -var se_ModifyVerifiedAccessEndpointLoadBalancerOptions = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_SIu] != null) { - const memberEntries = se_ModifyVerifiedAccessEndpointSubnetIdList(input[_SIu], context); - if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { - entries.SubnetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_P] != null) { - entries[_P] = input[_P]; - } - if (input[_Po] != null) { - entries[_Po] = input[_Po]; - } - return entries; -}, "se_ModifyVerifiedAccessEndpointLoadBalancerOptions"); -var se_ModifyVerifiedAccessEndpointPolicyRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAEI] != null) { - entries[_VAEI] = input[_VAEI]; - } - if (input[_PE] != null) { - entries[_PE] = input[_PE]; - } - if (input[_PD] != null) { - entries[_PD] = input[_PD]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SS] != null) { - const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SseSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyVerifiedAccessEndpointPolicyRequest"); -var se_ModifyVerifiedAccessEndpointRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAEI] != null) { - entries[_VAEI] = input[_VAEI]; - } - if (input[_VAGI] != null) { - entries[_VAGI] = input[_VAGI]; - } - if (input[_LBO] != null) { - const memberEntries = se_ModifyVerifiedAccessEndpointLoadBalancerOptions(input[_LBO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LoadBalancerOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_NIO] != null) { - const memberEntries = se_ModifyVerifiedAccessEndpointEniOptions(input[_NIO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterfaceOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyVerifiedAccessEndpointRequest"); -var se_ModifyVerifiedAccessEndpointSubnetIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ModifyVerifiedAccessEndpointSubnetIdList"); -var se_ModifyVerifiedAccessGroupPolicyRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAGI] != null) { - entries[_VAGI] = input[_VAGI]; - } - if (input[_PE] != null) { - entries[_PE] = input[_PE]; - } - if (input[_PD] != null) { - entries[_PD] = input[_PD]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SS] != null) { - const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SseSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyVerifiedAccessGroupPolicyRequest"); -var se_ModifyVerifiedAccessGroupRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAGI] != null) { - entries[_VAGI] = input[_VAGI]; - } - if (input[_VAII] != null) { - entries[_VAII] = input[_VAII]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyVerifiedAccessGroupRequest"); -var se_ModifyVerifiedAccessInstanceLoggingConfigurationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAII] != null) { - entries[_VAII] = input[_VAII]; - } - if (input[_AL] != null) { - const memberEntries = se_VerifiedAccessLogOptions(input[_AL], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AccessLogs.${key}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_ModifyVerifiedAccessInstanceLoggingConfigurationRequest"); -var se_ModifyVerifiedAccessInstanceRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VAII] != null) { - entries[_VAII] = input[_VAII]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_ModifyVerifiedAccessInstanceRequest"); -var se_ModifyVerifiedAccessTrustProviderDeviceOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_PSKU] != null) { - entries[_PSKU] = input[_PSKU]; - } - return entries; -}, "se_ModifyVerifiedAccessTrustProviderDeviceOptions"); -var se_ModifyVerifiedAccessTrustProviderOidcOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_I] != null) { - entries[_I] = input[_I]; - } - if (input[_AE] != null) { - entries[_AE] = input[_AE]; - } - if (input[_TEo] != null) { - entries[_TEo] = input[_TEo]; - } - if (input[_UIE] != null) { - entries[_UIE] = input[_UIE]; - } - if (input[_CIl] != null) { - entries[_CIl] = input[_CIl]; - } - if (input[_CSl] != null) { - entries[_CSl] = input[_CSl]; - } - if (input[_Sc] != null) { - entries[_Sc] = input[_Sc]; - } - return entries; -}, "se_ModifyVerifiedAccessTrustProviderOidcOptions"); -var se_ModifyVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VATPI] != null) { - entries[_VATPI] = input[_VATPI]; - } - if (input[_OO] != null) { - const memberEntries = se_ModifyVerifiedAccessTrustProviderOidcOptions(input[_OO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `OidcOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_DOe] != null) { - const memberEntries = se_ModifyVerifiedAccessTrustProviderDeviceOptions(input[_DOe], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DeviceOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_SS] != null) { - const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SseSpecification.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyVerifiedAccessTrustProviderRequest"); -var se_ModifyVolumeAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AEIO] != null) { - const memberEntries = se_AttributeBooleanValue(input[_AEIO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AutoEnableIO.${key}`; - entries[loc] = value; - }); - } - if (input[_VIo] != null) { - entries[_VIo] = input[_VIo]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyVolumeAttributeRequest"); -var se_ModifyVolumeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VIo] != null) { - entries[_VIo] = input[_VIo]; - } - if (input[_Siz] != null) { - entries[_Siz] = input[_Siz]; - } - if (input[_VT] != null) { - entries[_VT] = input[_VT]; - } - if (input[_Io] != null) { - entries[_Io] = input[_Io]; - } - if (input[_Th] != null) { - entries[_Th] = input[_Th]; - } - if (input[_MAE] != null) { - entries[_MAE] = input[_MAE]; - } - return entries; -}, "se_ModifyVolumeRequest"); -var se_ModifyVpcAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_EDH] != null) { - const memberEntries = se_AttributeBooleanValue(input[_EDH], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnableDnsHostnames.${key}`; - entries[loc] = value; - }); - } - if (input[_EDS] != null) { - const memberEntries = se_AttributeBooleanValue(input[_EDS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnableDnsSupport.${key}`; - entries[loc] = value; - }); - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_ENAUM] != null) { - const memberEntries = se_AttributeBooleanValue(input[_ENAUM], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnableNetworkAddressUsageMetrics.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyVpcAttributeRequest"); -var se_ModifyVpcEndpointConnectionNotificationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_CNIon] != null) { - entries[_CNIon] = input[_CNIon]; - } - if (input[_CNAon] != null) { - entries[_CNAon] = input[_CNAon]; - } - if (input[_CEo] != null) { - const memberEntries = se_ValueStringList(input[_CEo], context); - if (((_a2 = input[_CEo]) == null ? void 0 : _a2.length) === 0) { - entries.ConnectionEvents = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ConnectionEvents.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyVpcEndpointConnectionNotificationRequest"); -var se_ModifyVpcEndpointRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2, _f2, _g2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VEIp] != null) { - entries[_VEIp] = input[_VEIp]; - } - if (input[_RP] != null) { - entries[_RP] = input[_RP]; - } - if (input[_PD] != null) { - entries[_PD] = input[_PD]; - } - if (input[_ARTI] != null) { - const memberEntries = se_VpcEndpointRouteTableIdList(input[_ARTI], context); - if (((_a2 = input[_ARTI]) == null ? void 0 : _a2.length) === 0) { - entries.AddRouteTableId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddRouteTableId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RRTI] != null) { - const memberEntries = se_VpcEndpointRouteTableIdList(input[_RRTI], context); - if (((_b2 = input[_RRTI]) == null ? void 0 : _b2.length) === 0) { - entries.RemoveRouteTableId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveRouteTableId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ASI] != null) { - const memberEntries = se_VpcEndpointSubnetIdList(input[_ASI], context); - if (((_c2 = input[_ASI]) == null ? void 0 : _c2.length) === 0) { - entries.AddSubnetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddSubnetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RSIe] != null) { - const memberEntries = se_VpcEndpointSubnetIdList(input[_RSIe], context); - if (((_d2 = input[_RSIe]) == null ? void 0 : _d2.length) === 0) { - entries.RemoveSubnetId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveSubnetId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ASGId] != null) { - const memberEntries = se_VpcEndpointSecurityGroupIdList(input[_ASGId], context); - if (((_e2 = input[_ASGId]) == null ? void 0 : _e2.length) === 0) { - entries.AddSecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddSecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RSGIe] != null) { - const memberEntries = se_VpcEndpointSecurityGroupIdList(input[_RSGIe], context); - if (((_f2 = input[_RSGIe]) == null ? void 0 : _f2.length) === 0) { - entries.RemoveSecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveSecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IAT] != null) { - entries[_IAT] = input[_IAT]; - } - if (input[_DOn] != null) { - const memberEntries = se_DnsOptionsSpecification(input[_DOn], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DnsOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_PDE] != null) { - entries[_PDE] = input[_PDE]; - } - if (input[_SC] != null) { - const memberEntries = se_SubnetConfigurationsList(input[_SC], context); - if (((_g2 = input[_SC]) == null ? void 0 : _g2.length) === 0) { - entries.SubnetConfiguration = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetConfiguration.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyVpcEndpointRequest"); -var se_ModifyVpcEndpointServiceConfigurationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2, _f2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIe] != null) { - entries[_SIe] = input[_SIe]; - } - if (input[_PDN] != null) { - entries[_PDN] = input[_PDN]; - } - if (input[_RPDN] != null) { - entries[_RPDN] = input[_RPDN]; - } - if (input[_ARc] != null) { - entries[_ARc] = input[_ARc]; - } - if (input[_ANLBA] != null) { - const memberEntries = se_ValueStringList(input[_ANLBA], context); - if (((_a2 = input[_ANLBA]) == null ? void 0 : _a2.length) === 0) { - entries.AddNetworkLoadBalancerArn = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddNetworkLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RNLBA] != null) { - const memberEntries = se_ValueStringList(input[_RNLBA], context); - if (((_b2 = input[_RNLBA]) == null ? void 0 : _b2.length) === 0) { - entries.RemoveNetworkLoadBalancerArn = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveNetworkLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_AGLBA] != null) { - const memberEntries = se_ValueStringList(input[_AGLBA], context); - if (((_c2 = input[_AGLBA]) == null ? void 0 : _c2.length) === 0) { - entries.AddGatewayLoadBalancerArn = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddGatewayLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RGLBA] != null) { - const memberEntries = se_ValueStringList(input[_RGLBA], context); - if (((_d2 = input[_RGLBA]) == null ? void 0 : _d2.length) === 0) { - entries.RemoveGatewayLoadBalancerArn = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveGatewayLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ASIAT] != null) { - const memberEntries = se_ValueStringList(input[_ASIAT], context); - if (((_e2 = input[_ASIAT]) == null ? void 0 : _e2.length) === 0) { - entries.AddSupportedIpAddressType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddSupportedIpAddressType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RSIAT] != null) { - const memberEntries = se_ValueStringList(input[_RSIAT], context); - if (((_f2 = input[_RSIAT]) == null ? void 0 : _f2.length) === 0) { - entries.RemoveSupportedIpAddressType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveSupportedIpAddressType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyVpcEndpointServiceConfigurationRequest"); -var se_ModifyVpcEndpointServicePayerResponsibilityRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIe] != null) { - entries[_SIe] = input[_SIe]; - } - if (input[_PRa] != null) { - entries[_PRa] = input[_PRa]; - } - return entries; -}, "se_ModifyVpcEndpointServicePayerResponsibilityRequest"); -var se_ModifyVpcEndpointServicePermissionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIe] != null) { - entries[_SIe] = input[_SIe]; - } - if (input[_AAP] != null) { - const memberEntries = se_ValueStringList(input[_AAP], context); - if (((_a2 = input[_AAP]) == null ? void 0 : _a2.length) === 0) { - entries.AddAllowedPrincipals = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AddAllowedPrincipals.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RAP] != null) { - const memberEntries = se_ValueStringList(input[_RAP], context); - if (((_b2 = input[_RAP]) == null ? void 0 : _b2.length) === 0) { - entries.RemoveAllowedPrincipals = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RemoveAllowedPrincipals.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ModifyVpcEndpointServicePermissionsRequest"); -var se_ModifyVpcPeeringConnectionOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_APCO] != null) { - const memberEntries = se_PeeringConnectionOptionsRequest(input[_APCO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AccepterPeeringConnectionOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RPCO] != null) { - const memberEntries = se_PeeringConnectionOptionsRequest(input[_RPCO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `RequesterPeeringConnectionOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_VPCI] != null) { - entries[_VPCI] = input[_VPCI]; - } - return entries; -}, "se_ModifyVpcPeeringConnectionOptionsRequest"); -var se_ModifyVpcTenancyRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_ITns] != null) { - entries[_ITns] = input[_ITns]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyVpcTenancyRequest"); -var se_ModifyVpnConnectionOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VCI] != null) { - entries[_VCI] = input[_VCI]; - } - if (input[_LINC] != null) { - entries[_LINC] = input[_LINC]; - } - if (input[_RINC] != null) { - entries[_RINC] = input[_RINC]; - } - if (input[_LINCo] != null) { - entries[_LINCo] = input[_LINCo]; - } - if (input[_RINCe] != null) { - entries[_RINCe] = input[_RINCe]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyVpnConnectionOptionsRequest"); -var se_ModifyVpnConnectionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VCI] != null) { - entries[_VCI] = input[_VCI]; - } - if (input[_TGI] != null) { - entries[_TGI] = input[_TGI]; - } - if (input[_CGIu] != null) { - entries[_CGIu] = input[_CGIu]; - } - if (input[_VGI] != null) { - entries[_VGI] = input[_VGI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyVpnConnectionRequest"); -var se_ModifyVpnTunnelCertificateRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VCI] != null) { - entries[_VCI] = input[_VCI]; - } - if (input[_VTOIA] != null) { - entries[_VTOIA] = input[_VTOIA]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ModifyVpnTunnelCertificateRequest"); -var se_ModifyVpnTunnelOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VCI] != null) { - entries[_VCI] = input[_VCI]; - } - if (input[_VTOIA] != null) { - entries[_VTOIA] = input[_VTOIA]; - } - if (input[_TO] != null) { - const memberEntries = se_ModifyVpnTunnelOptionsSpecification(input[_TO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TunnelOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_STR] != null) { - entries[_STR] = input[_STR]; - } - return entries; -}, "se_ModifyVpnTunnelOptionsRequest"); -var se_ModifyVpnTunnelOptionsSpecification = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2, _f2, _g2; - const entries = {}; - if (input[_TIC] != null) { - entries[_TIC] = input[_TIC]; - } - if (input[_TIIC] != null) { - entries[_TIIC] = input[_TIIC]; - } - if (input[_PSK] != null) { - entries[_PSK] = input[_PSK]; - } - if (input[_PLS] != null) { - entries[_PLS] = input[_PLS]; - } - if (input[_PLSh] != null) { - entries[_PLSh] = input[_PLSh]; - } - if (input[_RMTS] != null) { - entries[_RMTS] = input[_RMTS]; - } - if (input[_RFP] != null) { - entries[_RFP] = input[_RFP]; - } - if (input[_RWS] != null) { - entries[_RWS] = input[_RWS]; - } - if (input[_DPDTS] != null) { - entries[_DPDTS] = input[_DPDTS]; - } - if (input[_DPDTA] != null) { - entries[_DPDTA] = input[_DPDTA]; - } - if (input[_PEA] != null) { - const memberEntries = se_Phase1EncryptionAlgorithmsRequestList(input[_PEA], context); - if (((_a2 = input[_PEA]) == null ? void 0 : _a2.length) === 0) { - entries.Phase1EncryptionAlgorithm = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase1EncryptionAlgorithm.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PEAh] != null) { - const memberEntries = se_Phase2EncryptionAlgorithmsRequestList(input[_PEAh], context); - if (((_b2 = input[_PEAh]) == null ? void 0 : _b2.length) === 0) { - entries.Phase2EncryptionAlgorithm = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase2EncryptionAlgorithm.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PIAh] != null) { - const memberEntries = se_Phase1IntegrityAlgorithmsRequestList(input[_PIAh], context); - if (((_c2 = input[_PIAh]) == null ? void 0 : _c2.length) === 0) { - entries.Phase1IntegrityAlgorithm = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase1IntegrityAlgorithm.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PIAha] != null) { - const memberEntries = se_Phase2IntegrityAlgorithmsRequestList(input[_PIAha], context); - if (((_d2 = input[_PIAha]) == null ? void 0 : _d2.length) === 0) { - entries.Phase2IntegrityAlgorithm = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase2IntegrityAlgorithm.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PDHGN] != null) { - const memberEntries = se_Phase1DHGroupNumbersRequestList(input[_PDHGN], context); - if (((_e2 = input[_PDHGN]) == null ? void 0 : _e2.length) === 0) { - entries.Phase1DHGroupNumber = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase1DHGroupNumber.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PDHGNh] != null) { - const memberEntries = se_Phase2DHGroupNumbersRequestList(input[_PDHGNh], context); - if (((_f2 = input[_PDHGNh]) == null ? void 0 : _f2.length) === 0) { - entries.Phase2DHGroupNumber = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase2DHGroupNumber.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IKEVe] != null) { - const memberEntries = se_IKEVersionsRequestList(input[_IKEVe], context); - if (((_g2 = input[_IKEVe]) == null ? void 0 : _g2.length) === 0) { - entries.IKEVersion = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IKEVersion.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SA] != null) { - entries[_SA] = input[_SA]; - } - if (input[_LO] != null) { - const memberEntries = se_VpnTunnelLogOptionsSpecification(input[_LO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LogOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_ETLC] != null) { - entries[_ETLC] = input[_ETLC]; - } - return entries; -}, "se_ModifyVpnTunnelOptionsSpecification"); -var se_MonitorInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdStringList(input[_IIns], context); - if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_MonitorInstancesRequest"); -var se_MoveAddressToVpcRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PI] != null) { - entries[_PI] = input[_PI]; - } - return entries; -}, "se_MoveAddressToVpcRequest"); -var se_MoveByoipCidrToIpamRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_IPI] != null) { - entries[_IPI] = input[_IPI]; - } - if (input[_IPO] != null) { - entries[_IPO] = input[_IPO]; - } - return entries; -}, "se_MoveByoipCidrToIpamRequest"); -var se_NatGatewayIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_NatGatewayIdStringList"); -var se_NetworkAclIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_NetworkAclIdStringList"); -var se_NetworkBandwidthGbps = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); - } - if (input[_Ma] != null) { - entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); - } - return entries; -}, "se_NetworkBandwidthGbps"); -var se_NetworkBandwidthGbpsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); - } - if (input[_Ma] != null) { - entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); - } - return entries; -}, "se_NetworkBandwidthGbpsRequest"); -var se_NetworkInsightsAccessScopeAnalysisIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_NetworkInsightsAccessScopeAnalysisIdList"); -var se_NetworkInsightsAccessScopeIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_NetworkInsightsAccessScopeIdList"); -var se_NetworkInsightsAnalysisIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_NetworkInsightsAnalysisIdList"); -var se_NetworkInsightsPathIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_NetworkInsightsPathIdList"); -var se_NetworkInterfaceAttachmentChanges = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIt] != null) { - entries[_AIt] = input[_AIt]; - } - if (input[_DOT] != null) { - entries[_DOT] = input[_DOT]; - } - return entries; -}, "se_NetworkInterfaceAttachmentChanges"); -var se_NetworkInterfaceCount = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_NetworkInterfaceCount"); -var se_NetworkInterfaceCountRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_NetworkInterfaceCountRequest"); -var se_NetworkInterfaceIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_NetworkInterfaceIdList"); -var se_NetworkInterfacePermissionIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_NetworkInterfacePermissionIdList"); -var se_NewDhcpConfiguration = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_Ke] != null) { - entries[_Ke] = input[_Ke]; - } - if (input[_Val] != null) { - const memberEntries = se_ValueStringList(input[_Val], context); - if (((_a2 = input[_Val]) == null ? void 0 : _a2.length) === 0) { - entries.Value = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Value.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_NewDhcpConfiguration"); -var se_NewDhcpConfigurationList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_NewDhcpConfiguration(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_NewDhcpConfigurationList"); -var se_OccurrenceDayRequestSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`OccurenceDay.${counter}`] = entry; - counter++; - } - return entries; -}, "se_OccurrenceDayRequestSet"); -var se_OnDemandOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AS] != null) { - entries[_AS] = input[_AS]; - } - if (input[_CRO] != null) { - const memberEntries = se_CapacityReservationOptionsRequest(input[_CRO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CapacityReservationOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_SITi] != null) { - entries[_SITi] = input[_SITi]; - } - if (input[_SAZ] != null) { - entries[_SAZ] = input[_SAZ]; - } - if (input[_MTC] != null) { - entries[_MTC] = input[_MTC]; - } - if (input[_MTP] != null) { - entries[_MTP] = input[_MTP]; - } - return entries; -}, "se_OnDemandOptionsRequest"); -var se_OrganizationalUnitArnStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`OrganizationalUnitArn.${counter}`] = entry; - counter++; - } - return entries; -}, "se_OrganizationalUnitArnStringList"); -var se_OrganizationArnStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`OrganizationArn.${counter}`] = entry; - counter++; - } - return entries; -}, "se_OrganizationArnStringList"); -var se_OwnerStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Owner.${counter}`] = entry; - counter++; - } - return entries; -}, "se_OwnerStringList"); -var se_PacketHeaderStatementRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2, _f2, _g2; - const entries = {}; - if (input[_SAo] != null) { - const memberEntries = se_ValueStringList(input[_SAo], context); - if (((_a2 = input[_SAo]) == null ? void 0 : _a2.length) === 0) { - entries.SourceAddress = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourceAddress.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DAes] != null) { - const memberEntries = se_ValueStringList(input[_DAes], context); - if (((_b2 = input[_DAes]) == null ? void 0 : _b2.length) === 0) { - entries.DestinationAddress = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DestinationAddress.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SPo] != null) { - const memberEntries = se_ValueStringList(input[_SPo], context); - if (((_c2 = input[_SPo]) == null ? void 0 : _c2.length) === 0) { - entries.SourcePort = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourcePort.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DPe] != null) { - const memberEntries = se_ValueStringList(input[_DPe], context); - if (((_d2 = input[_DPe]) == null ? void 0 : _d2.length) === 0) { - entries.DestinationPort = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DestinationPort.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SPL] != null) { - const memberEntries = se_ValueStringList(input[_SPL], context); - if (((_e2 = input[_SPL]) == null ? void 0 : _e2.length) === 0) { - entries.SourcePrefixList = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourcePrefixList.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DPLe] != null) { - const memberEntries = se_ValueStringList(input[_DPLe], context); - if (((_f2 = input[_DPLe]) == null ? void 0 : _f2.length) === 0) { - entries.DestinationPrefixList = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DestinationPrefixList.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Pro] != null) { - const memberEntries = se_ProtocolList(input[_Pro], context); - if (((_g2 = input[_Pro]) == null ? void 0 : _g2.length) === 0) { - entries.Protocol = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Protocol.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_PacketHeaderStatementRequest"); -var se_PathRequestFilter = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SAou] != null) { - entries[_SAou] = input[_SAou]; - } - if (input[_SPR] != null) { - const memberEntries = se_RequestFilterPortRange(input[_SPR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SourcePortRange.${key}`; - entries[loc] = value; - }); - } - if (input[_DAest] != null) { - entries[_DAest] = input[_DAest]; - } - if (input[_DPR] != null) { - const memberEntries = se_RequestFilterPortRange(input[_DPR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `DestinationPortRange.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_PathRequestFilter"); -var se_PathStatementRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_PHS] != null) { - const memberEntries = se_PacketHeaderStatementRequest(input[_PHS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PacketHeaderStatement.${key}`; - entries[loc] = value; - }); - } - if (input[_RSe] != null) { - const memberEntries = se_ResourceStatementRequest(input[_RSe], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ResourceStatement.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_PathStatementRequest"); -var se_PeeringConnectionOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ADRFRV] != null) { - entries[_ADRFRV] = input[_ADRFRV]; - } - if (input[_AEFLCLTRV] != null) { - entries[_AEFLCLTRV] = input[_AEFLCLTRV]; - } - if (input[_AEFLVTRCL] != null) { - entries[_AEFLVTRCL] = input[_AEFLVTRCL]; - } - return entries; -}, "se_PeeringConnectionOptionsRequest"); -var se_Phase1DHGroupNumbersRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Phase1DHGroupNumbersRequestListValue(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_Phase1DHGroupNumbersRequestList"); -var se_Phase1DHGroupNumbersRequestListValue = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_Phase1DHGroupNumbersRequestListValue"); -var se_Phase1EncryptionAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Phase1EncryptionAlgorithmsRequestListValue(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_Phase1EncryptionAlgorithmsRequestList"); -var se_Phase1EncryptionAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_Phase1EncryptionAlgorithmsRequestListValue"); -var se_Phase1IntegrityAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Phase1IntegrityAlgorithmsRequestListValue(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_Phase1IntegrityAlgorithmsRequestList"); -var se_Phase1IntegrityAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_Phase1IntegrityAlgorithmsRequestListValue"); -var se_Phase2DHGroupNumbersRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Phase2DHGroupNumbersRequestListValue(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_Phase2DHGroupNumbersRequestList"); -var se_Phase2DHGroupNumbersRequestListValue = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_Phase2DHGroupNumbersRequestListValue"); -var se_Phase2EncryptionAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Phase2EncryptionAlgorithmsRequestListValue(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_Phase2EncryptionAlgorithmsRequestList"); -var se_Phase2EncryptionAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_Phase2EncryptionAlgorithmsRequestListValue"); -var se_Phase2IntegrityAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Phase2IntegrityAlgorithmsRequestListValue(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_Phase2IntegrityAlgorithmsRequestList"); -var se_Phase2IntegrityAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_Phase2IntegrityAlgorithmsRequestListValue"); -var se_Placement = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_Af] != null) { - entries[_Af] = input[_Af]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_PN] != null) { - entries[_PN] = input[_PN]; - } - if (input[_HIo] != null) { - entries[_HIo] = input[_HIo]; - } - if (input[_Te] != null) { - entries[_Te] = input[_Te]; - } - if (input[_SD] != null) { - entries[_SD] = input[_SD]; - } - if (input[_HRGA] != null) { - entries[_HRGA] = input[_HRGA]; - } - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - return entries; -}, "se_Placement"); -var se_PlacementGroupIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`GroupId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_PlacementGroupIdStringList"); -var se_PlacementGroupStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_PlacementGroupStringList"); -var se_PortRange = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Fr] != null) { - entries[_Fr] = input[_Fr]; - } - if (input[_To] != null) { - entries[_To] = input[_To]; - } - return entries; -}, "se_PortRange"); -var se_PrefixListId = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_PLI] != null) { - entries[_PLI] = input[_PLI]; - } - return entries; -}, "se_PrefixListId"); -var se_PrefixListIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_PrefixListId(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_PrefixListIdList"); -var se_PrefixListResourceIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_PrefixListResourceIdStringList"); -var se_PriceScheduleSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CCu] != null) { - entries[_CCu] = input[_CCu]; - } - if (input[_Pric] != null) { - entries[_Pric] = (0, import_smithy_client.serializeFloat)(input[_Pric]); - } - if (input[_Ter] != null) { - entries[_Ter] = input[_Ter]; - } - return entries; -}, "se_PriceScheduleSpecification"); -var se_PriceScheduleSpecificationList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_PriceScheduleSpecification(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_PriceScheduleSpecificationList"); -var se_PrivateDnsNameOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_HTo] != null) { - entries[_HTo] = input[_HTo]; - } - if (input[_ERNDAR] != null) { - entries[_ERNDAR] = input[_ERNDAR]; - } - if (input[_ERNDAAAAR] != null) { - entries[_ERNDAAAAR] = input[_ERNDAAAAR]; - } - return entries; -}, "se_PrivateDnsNameOptionsRequest"); -var se_PrivateIpAddressConfigSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ScheduledInstancesPrivateIpAddressConfig(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`PrivateIpAddressConfigSet.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_PrivateIpAddressConfigSet"); -var se_PrivateIpAddressSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Prim] != null) { - entries[_Prim] = input[_Prim]; - } - if (input[_PIAr] != null) { - entries[_PIAr] = input[_PIAr]; - } - return entries; -}, "se_PrivateIpAddressSpecification"); -var se_PrivateIpAddressSpecificationList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_PrivateIpAddressSpecification(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_PrivateIpAddressSpecificationList"); -var se_PrivateIpAddressStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`PrivateIpAddress.${counter}`] = entry; - counter++; - } - return entries; -}, "se_PrivateIpAddressStringList"); -var se_ProductCodeStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ProductCode.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ProductCodeStringList"); -var se_ProductDescriptionList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ProductDescriptionList"); -var se_ProtocolList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ProtocolList"); -var se_ProvisionByoipCidrRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_CAC] != null) { - const memberEntries = se_CidrAuthorizationContext(input[_CAC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CidrAuthorizationContext.${key}`; - entries[loc] = value; - }); - } - if (input[_PA] != null) { - entries[_PA] = input[_PA]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PTS] != null) { - const memberEntries = se_TagSpecificationList(input[_PTS], context); - if (((_a2 = input[_PTS]) == null ? void 0 : _a2.length) === 0) { - entries.PoolTagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PoolTagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MRu] != null) { - entries[_MRu] = input[_MRu]; - } - if (input[_NBG] != null) { - entries[_NBG] = input[_NBG]; - } - return entries; -}, "se_ProvisionByoipCidrRequest"); -var se_ProvisionIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIp] != null) { - entries[_IIp] = input[_IIp]; - } - if (input[_As] != null) { - entries[_As] = input[_As]; - } - if (input[_AAC] != null) { - const memberEntries = se_AsnAuthorizationContext(input[_AAC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AsnAuthorizationContext.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ProvisionIpamByoasnRequest"); -var se_ProvisionIpamPoolCidrRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IPI] != null) { - entries[_IPI] = input[_IPI]; - } - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_CAC] != null) { - const memberEntries = se_IpamCidrAuthorizationContext(input[_CAC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CidrAuthorizationContext.${key}`; - entries[loc] = value; - }); - } - if (input[_NL] != null) { - entries[_NL] = input[_NL]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_ProvisionIpamPoolCidrRequest"); -var se_ProvisionPublicIpv4PoolCidrRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IPI] != null) { - entries[_IPI] = input[_IPI]; - } - if (input[_PIo] != null) { - entries[_PIo] = input[_PIo]; - } - if (input[_NL] != null) { - entries[_NL] = input[_NL]; - } - return entries; -}, "se_ProvisionPublicIpv4PoolCidrRequest"); -var se_PublicIpStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`PublicIp.${counter}`] = entry; - counter++; - } - return entries; -}, "se_PublicIpStringList"); -var se_PublicIpv4PoolIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_PublicIpv4PoolIdStringList"); -var se_PurchaseCapacityBlockRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CBOI] != null) { - entries[_CBOI] = input[_CBOI]; - } - if (input[_IPn] != null) { - entries[_IPn] = input[_IPn]; - } - return entries; -}, "se_PurchaseCapacityBlockRequest"); -var se_PurchaseHostReservationRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_CCu] != null) { - entries[_CCu] = input[_CCu]; - } - if (input[_HIS] != null) { - const memberEntries = se_RequestHostIdSet(input[_HIS], context); - if (((_a2 = input[_HIS]) == null ? void 0 : _a2.length) === 0) { - entries.HostIdSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `HostIdSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_LPi] != null) { - entries[_LPi] = input[_LPi]; - } - if (input[_OI] != null) { - entries[_OI] = input[_OI]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_PurchaseHostReservationRequest"); -var se_PurchaseRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IC] != null) { - entries[_IC] = input[_IC]; - } - if (input[_PT] != null) { - entries[_PT] = input[_PT]; - } - return entries; -}, "se_PurchaseRequest"); -var se_PurchaseRequestSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_PurchaseRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`PurchaseRequest.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_PurchaseRequestSet"); -var se_PurchaseReservedInstancesOfferingRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IC] != null) { - entries[_IC] = input[_IC]; - } - if (input[_RIOIe] != null) { - entries[_RIOIe] = input[_RIOIe]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_LPi] != null) { - const memberEntries = se_ReservedInstanceLimitPrice(input[_LPi], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LimitPrice.${key}`; - entries[loc] = value; - }); - } - if (input[_PTu] != null) { - entries[_PTu] = input[_PTu].toISOString().split(".")[0] + "Z"; - } - return entries; -}, "se_PurchaseReservedInstancesOfferingRequest"); -var se_PurchaseScheduledInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PRu] != null) { - const memberEntries = se_PurchaseRequestSet(input[_PRu], context); - if (((_a2 = input[_PRu]) == null ? void 0 : _a2.length) === 0) { - entries.PurchaseRequest = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PurchaseRequest.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_PurchaseScheduledInstancesRequest"); -var se_ReasonCodesList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ReasonCodesList"); -var se_RebootInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdStringList(input[_IIns], context); - if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_RebootInstancesRequest"); -var se_RegionNames = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_RegionNames"); -var se_RegionNameStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`RegionName.${counter}`] = entry; - counter++; - } - return entries; -}, "se_RegionNameStringList"); -var se_RegisterImageRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_IL] != null) { - entries[_IL] = input[_IL]; - } - if (input[_Arc] != null) { - entries[_Arc] = input[_Arc]; - } - if (input[_BDM] != null) { - const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context); - if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { - entries.BlockDeviceMapping = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ESn] != null) { - entries[_ESn] = input[_ESn]; - } - if (input[_KI] != null) { - entries[_KI] = input[_KI]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - if (input[_BPi] != null) { - const memberEntries = se_BillingProductList(input[_BPi], context); - if (((_b2 = input[_BPi]) == null ? void 0 : _b2.length) === 0) { - entries.BillingProduct = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BillingProduct.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RIa] != null) { - entries[_RIa] = input[_RIa]; - } - if (input[_RDN] != null) { - entries[_RDN] = input[_RDN]; - } - if (input[_SNS] != null) { - entries[_SNS] = input[_SNS]; - } - if (input[_VTir] != null) { - entries[_VTir] = input[_VTir]; - } - if (input[_BM] != null) { - entries[_BM] = input[_BM]; - } - if (input[_TSp] != null) { - entries[_TSp] = input[_TSp]; - } - if (input[_UDe] != null) { - entries[_UDe] = input[_UDe]; - } - if (input[_ISm] != null) { - entries[_ISm] = input[_ISm]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_RegisterImageRequest"); -var se_RegisterInstanceEventNotificationAttributesRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ITA] != null) { - const memberEntries = se_RegisterInstanceTagAttributeRequest(input[_ITA], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceTagAttribute.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_RegisterInstanceEventNotificationAttributesRequest"); -var se_RegisterInstanceTagAttributeRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IATOI] != null) { - entries[_IATOI] = input[_IATOI]; - } - if (input[_ITK] != null) { - const memberEntries = se_InstanceTagKeySet(input[_ITK], context); - if (((_a2 = input[_ITK]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceTagKey = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceTagKey.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_RegisterInstanceTagAttributeRequest"); -var se_RegisterTransitGatewayMulticastGroupMembersRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGMDI] != null) { - entries[_TGMDI] = input[_TGMDI]; - } - if (input[_GIA] != null) { - entries[_GIA] = input[_GIA]; - } - if (input[_NIIe] != null) { - const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context); - if (((_a2 = input[_NIIe]) == null ? void 0 : _a2.length) === 0) { - entries.NetworkInterfaceIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_RegisterTransitGatewayMulticastGroupMembersRequest"); -var se_RegisterTransitGatewayMulticastGroupSourcesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGMDI] != null) { - entries[_TGMDI] = input[_TGMDI]; - } - if (input[_GIA] != null) { - entries[_GIA] = input[_GIA]; - } - if (input[_NIIe] != null) { - const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context); - if (((_a2 = input[_NIIe]) == null ? void 0 : _a2.length) === 0) { - entries.NetworkInterfaceIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_RegisterTransitGatewayMulticastGroupSourcesRequest"); -var se_RejectTransitGatewayMulticastDomainAssociationsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGMDI] != null) { - entries[_TGMDI] = input[_TGMDI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_SIu] != null) { - const memberEntries = se_ValueStringList(input[_SIu], context); - if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { - entries.SubnetIds = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SubnetIds.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_RejectTransitGatewayMulticastDomainAssociationsRequest"); -var se_RejectTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_RejectTransitGatewayPeeringAttachmentRequest"); -var se_RejectTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_RejectTransitGatewayVpcAttachmentRequest"); -var se_RejectVpcEndpointConnectionsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIe] != null) { - entries[_SIe] = input[_SIe]; - } - if (input[_VEI] != null) { - const memberEntries = se_VpcEndpointIdList(input[_VEI], context); - if (((_a2 = input[_VEI]) == null ? void 0 : _a2.length) === 0) { - entries.VpcEndpointId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `VpcEndpointId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_RejectVpcEndpointConnectionsRequest"); -var se_RejectVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VPCI] != null) { - entries[_VPCI] = input[_VPCI]; - } - return entries; -}, "se_RejectVpcPeeringConnectionRequest"); -var se_ReleaseAddressRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIl] != null) { - entries[_AIl] = input[_AIl]; - } - if (input[_PI] != null) { - entries[_PI] = input[_PI]; - } - if (input[_NBG] != null) { - entries[_NBG] = input[_NBG]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ReleaseAddressRequest"); -var se_ReleaseHostsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_HI] != null) { - const memberEntries = se_RequestHostIdList(input[_HI], context); - if (((_a2 = input[_HI]) == null ? void 0 : _a2.length) === 0) { - entries.HostId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `HostId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ReleaseHostsRequest"); -var se_ReleaseIpamPoolAllocationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IPI] != null) { - entries[_IPI] = input[_IPI]; - } - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_IPAI] != null) { - entries[_IPAI] = input[_IPAI]; - } - return entries; -}, "se_ReleaseIpamPoolAllocationRequest"); -var se_RemoveIpamOperatingRegion = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_RN] != null) { - entries[_RN] = input[_RN]; - } - return entries; -}, "se_RemoveIpamOperatingRegion"); -var se_RemoveIpamOperatingRegionSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_RemoveIpamOperatingRegion(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Member.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_RemoveIpamOperatingRegionSet"); -var se_RemovePrefixListEntries = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_RemovePrefixListEntry(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Member.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_RemovePrefixListEntries"); -var se_RemovePrefixListEntry = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_C] != null) { - entries[_C] = input[_C]; - } - return entries; -}, "se_RemovePrefixListEntry"); -var se_ReplaceIamInstanceProfileAssociationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIP] != null) { - const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IamInstanceProfile.${key}`; - entries[loc] = value; - }); - } - if (input[_AIss] != null) { - entries[_AIss] = input[_AIss]; - } - return entries; -}, "se_ReplaceIamInstanceProfileAssociationRequest"); -var se_ReplaceNetworkAclAssociationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIss] != null) { - entries[_AIss] = input[_AIss]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NAI] != null) { - entries[_NAI] = input[_NAI]; - } - return entries; -}, "se_ReplaceNetworkAclAssociationRequest"); -var se_ReplaceNetworkAclEntryRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CB] != null) { - entries[_CB] = input[_CB]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_Eg] != null) { - entries[_Eg] = input[_Eg]; - } - if (input[_ITC] != null) { - const memberEntries = se_IcmpTypeCode(input[_ITC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Icmp.${key}`; - entries[loc] = value; - }); - } - if (input[_ICB] != null) { - entries[_ICB] = input[_ICB]; - } - if (input[_NAI] != null) { - entries[_NAI] = input[_NAI]; - } - if (input[_PR] != null) { - const memberEntries = se_PortRange(input[_PR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PortRange.${key}`; - entries[loc] = value; - }); - } - if (input[_P] != null) { - entries[_P] = input[_P]; - } - if (input[_RAu] != null) { - entries[_RAu] = input[_RAu]; - } - if (input[_RNu] != null) { - entries[_RNu] = input[_RNu]; - } - return entries; -}, "se_ReplaceNetworkAclEntryRequest"); -var se_ReplaceRootVolumeTaskIds = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ReplaceRootVolumeTaskId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ReplaceRootVolumeTaskIds"); -var se_ReplaceRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_DICB] != null) { - entries[_DICB] = input[_DICB]; - } - if (input[_DPLI] != null) { - entries[_DPLI] = input[_DPLI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_VEIp] != null) { - entries[_VEIp] = input[_VEIp]; - } - if (input[_EOIGI] != null) { - entries[_EOIGI] = input[_EOIGI]; - } - if (input[_GI] != null) { - entries[_GI] = input[_GI]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_LTo] != null) { - entries[_LTo] = input[_LTo]; - } - if (input[_NGI] != null) { - entries[_NGI] = input[_NGI]; - } - if (input[_TGI] != null) { - entries[_TGI] = input[_TGI]; - } - if (input[_LGI] != null) { - entries[_LGI] = input[_LGI]; - } - if (input[_CGI] != null) { - entries[_CGI] = input[_CGI]; - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_RTI] != null) { - entries[_RTI] = input[_RTI]; - } - if (input[_VPCI] != null) { - entries[_VPCI] = input[_VPCI]; - } - if (input[_CNAo] != null) { - entries[_CNAo] = input[_CNAo]; - } - return entries; -}, "se_ReplaceRouteRequest"); -var se_ReplaceRouteTableAssociationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIss] != null) { - entries[_AIss] = input[_AIss]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_RTI] != null) { - entries[_RTI] = input[_RTI]; - } - return entries; -}, "se_ReplaceRouteTableAssociationRequest"); -var se_ReplaceTransitGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DCB] != null) { - entries[_DCB] = input[_DCB]; - } - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_TGAI] != null) { - entries[_TGAI] = input[_TGAI]; - } - if (input[_Bl] != null) { - entries[_Bl] = input[_Bl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ReplaceTransitGatewayRouteRequest"); -var se_ReplaceVpnTunnelRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_VCI] != null) { - entries[_VCI] = input[_VCI]; - } - if (input[_VTOIA] != null) { - entries[_VTOIA] = input[_VTOIA]; - } - if (input[_APM] != null) { - entries[_APM] = input[_APM]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ReplaceVpnTunnelRequest"); -var se_ReportInstanceStatusRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_ETn] != null) { - entries[_ETn] = input[_ETn].toISOString().split(".")[0] + "Z"; - } - if (input[_In] != null) { - const memberEntries = se_InstanceIdStringList(input[_In], context); - if (((_a2 = input[_In]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RCe] != null) { - const memberEntries = se_ReasonCodesList(input[_RCe], context); - if (((_b2 = input[_RCe]) == null ? void 0 : _b2.length) === 0) { - entries.ReasonCode = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ReasonCode.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_STt] != null) { - entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; - } - if (input[_Statu] != null) { - entries[_Statu] = input[_Statu]; - } - return entries; -}, "se_ReportInstanceStatusRequest"); -var se_RequestFilterPortRange = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_FP] != null) { - entries[_FP] = input[_FP]; - } - if (input[_TP] != null) { - entries[_TP] = input[_TP]; - } - return entries; -}, "se_RequestFilterPortRange"); -var se_RequestHostIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_RequestHostIdList"); -var se_RequestHostIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_RequestHostIdSet"); -var se_RequestInstanceTypeList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_RequestInstanceTypeList"); -var se_RequestIpamResourceTag = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Ke] != null) { - entries[_Ke] = input[_Ke]; - } - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_RequestIpamResourceTag"); -var se_RequestIpamResourceTagList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_RequestIpamResourceTag(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_RequestIpamResourceTagList"); -var se_RequestLaunchTemplateData = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2; - const entries = {}; - if (input[_KI] != null) { - entries[_KI] = input[_KI]; - } - if (input[_EO] != null) { - entries[_EO] = input[_EO]; - } - if (input[_IIP] != null) { - const memberEntries = se_LaunchTemplateIamInstanceProfileSpecificationRequest(input[_IIP], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IamInstanceProfile.${key}`; - entries[loc] = value; - }); - } - if (input[_BDM] != null) { - const memberEntries = se_LaunchTemplateBlockDeviceMappingRequestList(input[_BDM], context); - if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { - entries.BlockDeviceMapping = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NI] != null) { - const memberEntries = se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList(input[_NI], context); - if (((_b2 = input[_NI]) == null ? void 0 : _b2.length) === 0) { - entries.NetworkInterface = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterface.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_KN] != null) { - entries[_KN] = input[_KN]; - } - if (input[_Mon] != null) { - const memberEntries = se_LaunchTemplatesMonitoringRequest(input[_Mon], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Monitoring.${key}`; - entries[loc] = value; - }); - } - if (input[_Pl] != null) { - const memberEntries = se_LaunchTemplatePlacementRequest(input[_Pl], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Placement.${key}`; - entries[loc] = value; - }); - } - if (input[_RDI] != null) { - entries[_RDI] = input[_RDI]; - } - if (input[_DATis] != null) { - entries[_DATis] = input[_DATis]; - } - if (input[_IISB] != null) { - entries[_IISB] = input[_IISB]; - } - if (input[_UD] != null) { - entries[_UD] = input[_UD]; - } - if (input[_TS] != null) { - const memberEntries = se_LaunchTemplateTagSpecificationRequestList(input[_TS], context); - if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_EGS] != null) { - const memberEntries = se_ElasticGpuSpecificationList(input[_EGS], context); - if (((_d2 = input[_EGS]) == null ? void 0 : _d2.length) === 0) { - entries.ElasticGpuSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ElasticGpuSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_EIA] != null) { - const memberEntries = se_LaunchTemplateElasticInferenceAcceleratorList(input[_EIA], context); - if (((_e2 = input[_EIA]) == null ? void 0 : _e2.length) === 0) { - entries.ElasticInferenceAccelerator = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ElasticInferenceAccelerator.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SGI] != null) { - const memberEntries = se_SecurityGroupIdStringList(input[_SGI], context); - if (((_f2 = input[_SGI]) == null ? void 0 : _f2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SG] != null) { - const memberEntries = se_SecurityGroupStringList(input[_SG], context); - if (((_g2 = input[_SG]) == null ? void 0 : _g2.length) === 0) { - entries.SecurityGroup = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroup.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IMO] != null) { - const memberEntries = se_LaunchTemplateInstanceMarketOptionsRequest(input[_IMO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceMarketOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_CSred] != null) { - const memberEntries = se_CreditSpecificationRequest(input[_CSred], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CreditSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_CO] != null) { - const memberEntries = se_LaunchTemplateCpuOptionsRequest(input[_CO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CpuOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_CRS] != null) { - const memberEntries = se_LaunchTemplateCapacityReservationSpecificationRequest(input[_CRS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CapacityReservationSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_LSi] != null) { - const memberEntries = se_LaunchTemplateLicenseSpecificationListRequest(input[_LSi], context); - if (((_h2 = input[_LSi]) == null ? void 0 : _h2.length) === 0) { - entries.LicenseSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LicenseSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_HO] != null) { - const memberEntries = se_LaunchTemplateHibernationOptionsRequest(input[_HO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `HibernationOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_MO] != null) { - const memberEntries = se_LaunchTemplateInstanceMetadataOptionsRequest(input[_MO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MetadataOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_EOn] != null) { - const memberEntries = se_LaunchTemplateEnclaveOptionsRequest(input[_EOn], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnclaveOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_IR] != null) { - const memberEntries = se_InstanceRequirementsRequest(input[_IR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceRequirements.${key}`; - entries[loc] = value; - }); - } - if (input[_PDNO] != null) { - const memberEntries = se_LaunchTemplatePrivateDnsNameOptionsRequest(input[_PDNO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrivateDnsNameOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_MOa] != null) { - const memberEntries = se_LaunchTemplateInstanceMaintenanceOptionsRequest(input[_MOa], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MaintenanceOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_DAS] != null) { - entries[_DAS] = input[_DAS]; - } - return entries; -}, "se_RequestLaunchTemplateData"); -var se_RequestSpotFleetRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SFRC] != null) { - const memberEntries = se_SpotFleetRequestConfigData(input[_SFRC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SpotFleetRequestConfig.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_RequestSpotFleetRequest"); -var se_RequestSpotInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_AZG] != null) { - entries[_AZG] = input[_AZG]; - } - if (input[_BDMl] != null) { - entries[_BDMl] = input[_BDMl]; - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IC] != null) { - entries[_IC] = input[_IC]; - } - if (input[_LG] != null) { - entries[_LG] = input[_LG]; - } - if (input[_LSa] != null) { - const memberEntries = se_RequestSpotLaunchSpecification(input[_LSa], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_SPp] != null) { - entries[_SPp] = input[_SPp]; - } - if (input[_T] != null) { - entries[_T] = input[_T]; - } - if (input[_VF] != null) { - entries[_VF] = input[_VF].toISOString().split(".")[0] + "Z"; - } - if (input[_VU] != null) { - entries[_VU] = input[_VU].toISOString().split(".")[0] + "Z"; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IIB] != null) { - entries[_IIB] = input[_IIB]; - } - return entries; -}, "se_RequestSpotInstancesRequest"); -var se_RequestSpotLaunchSpecification = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2; - const entries = {}; - if (input[_SGI] != null) { - const memberEntries = se_RequestSpotLaunchSpecificationSecurityGroupIdList(input[_SGI], context); - if (((_a2 = input[_SGI]) == null ? void 0 : _a2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SG] != null) { - const memberEntries = se_RequestSpotLaunchSpecificationSecurityGroupList(input[_SG], context); - if (((_b2 = input[_SG]) == null ? void 0 : _b2.length) === 0) { - entries.SecurityGroup = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroup.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ATd] != null) { - entries[_ATd] = input[_ATd]; - } - if (input[_BDM] != null) { - const memberEntries = se_BlockDeviceMappingList(input[_BDM], context); - if (((_c2 = input[_BDM]) == null ? void 0 : _c2.length) === 0) { - entries.BlockDeviceMapping = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_EO] != null) { - entries[_EO] = input[_EO]; - } - if (input[_IIP] != null) { - const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IamInstanceProfile.${key}`; - entries[loc] = value; - }); - } - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_KI] != null) { - entries[_KI] = input[_KI]; - } - if (input[_KN] != null) { - entries[_KN] = input[_KN]; - } - if (input[_Mon] != null) { - const memberEntries = se_RunInstancesMonitoringEnabled(input[_Mon], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Monitoring.${key}`; - entries[loc] = value; - }); - } - if (input[_NI] != null) { - const memberEntries = se_InstanceNetworkInterfaceSpecificationList(input[_NI], context); - if (((_d2 = input[_NI]) == null ? void 0 : _d2.length) === 0) { - entries.NetworkInterface = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterface.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Pl] != null) { - const memberEntries = se_SpotPlacement(input[_Pl], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Placement.${key}`; - entries[loc] = value; - }); - } - if (input[_RIa] != null) { - entries[_RIa] = input[_RIa]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_UD] != null) { - entries[_UD] = input[_UD]; - } - return entries; -}, "se_RequestSpotLaunchSpecification"); -var se_RequestSpotLaunchSpecificationSecurityGroupIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_RequestSpotLaunchSpecificationSecurityGroupIdList"); -var se_RequestSpotLaunchSpecificationSecurityGroupList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_RequestSpotLaunchSpecificationSecurityGroupList"); -var se_ReservationFleetInstanceSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_IPn] != null) { - entries[_IPn] = input[_IPn]; - } - if (input[_W] != null) { - entries[_W] = (0, import_smithy_client.serializeFloat)(input[_W]); - } - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_AZI] != null) { - entries[_AZI] = input[_AZI]; - } - if (input[_EO] != null) { - entries[_EO] = input[_EO]; - } - if (input[_Pri] != null) { - entries[_Pri] = input[_Pri]; - } - return entries; -}, "se_ReservationFleetInstanceSpecification"); -var se_ReservationFleetInstanceSpecificationList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ReservationFleetInstanceSpecification(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Member.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ReservationFleetInstanceSpecificationList"); -var se_ReservedInstanceIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ReservedInstanceId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ReservedInstanceIdSet"); -var se_ReservedInstanceLimitPrice = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Am] != null) { - entries[_Am] = (0, import_smithy_client.serializeFloat)(input[_Am]); - } - if (input[_CCu] != null) { - entries[_CCu] = input[_CCu]; - } - return entries; -}, "se_ReservedInstanceLimitPrice"); -var se_ReservedInstancesConfiguration = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_IC] != null) { - entries[_IC] = input[_IC]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_Pla] != null) { - entries[_Pla] = input[_Pla]; - } - if (input[_Sc] != null) { - entries[_Sc] = input[_Sc]; - } - return entries; -}, "se_ReservedInstancesConfiguration"); -var se_ReservedInstancesConfigurationList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ReservedInstancesConfiguration(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ReservedInstancesConfigurationList"); -var se_ReservedInstancesIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ReservedInstancesId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ReservedInstancesIdStringList"); -var se_ReservedInstancesModificationIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ReservedInstancesModificationId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ReservedInstancesModificationIdStringList"); -var se_ReservedInstancesOfferingIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ReservedInstancesOfferingIdStringList"); -var se_ResetAddressAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AIl] != null) { - entries[_AIl] = input[_AIl]; - } - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ResetAddressAttributeRequest"); -var se_ResetEbsDefaultKmsKeyIdRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ResetEbsDefaultKmsKeyIdRequest"); -var se_ResetFpgaImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_FII] != null) { - entries[_FII] = input[_FII]; - } - if (input[_At] != null) { - entries[_At] = input[_At]; - } - return entries; -}, "se_ResetFpgaImageAttributeRequest"); -var se_ResetImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ResetImageAttributeRequest"); -var se_ResetInstanceAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - return entries; -}, "se_ResetInstanceAttributeRequest"); -var se_ResetNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_SDC] != null) { - entries[_SDC] = input[_SDC]; - } - return entries; -}, "se_ResetNetworkInterfaceAttributeRequest"); -var se_ResetSnapshotAttributeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_At] != null) { - entries[_At] = input[_At]; - } - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_ResetSnapshotAttributeRequest"); -var se_ResourceIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ResourceIdList"); -var se_ResourceList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ResourceList"); -var se_ResourceStatementRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_R] != null) { - const memberEntries = se_ValueStringList(input[_R], context); - if (((_a2 = input[_R]) == null ? void 0 : _a2.length) === 0) { - entries.Resource = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Resource.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_RTeso] != null) { - const memberEntries = se_ValueStringList(input[_RTeso], context); - if (((_b2 = input[_RTeso]) == null ? void 0 : _b2.length) === 0) { - entries.ResourceType = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ResourceType.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ResourceStatementRequest"); -var se_RestorableByStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_RestorableByStringList"); -var se_RestoreAddressToClassicRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PI] != null) { - entries[_PI] = input[_PI]; - } - return entries; -}, "se_RestoreAddressToClassicRequest"); -var se_RestoreImageFromRecycleBinRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_RestoreImageFromRecycleBinRequest"); -var se_RestoreManagedPrefixListVersionRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_PLI] != null) { - entries[_PLI] = input[_PLI]; - } - if (input[_PV] != null) { - entries[_PV] = input[_PV]; - } - if (input[_CVu] != null) { - entries[_CVu] = input[_CVu]; - } - return entries; -}, "se_RestoreManagedPrefixListVersionRequest"); -var se_RestoreSnapshotFromRecycleBinRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_RestoreSnapshotFromRecycleBinRequest"); -var se_RestoreSnapshotTierRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_TRD] != null) { - entries[_TRD] = input[_TRD]; - } - if (input[_PRer] != null) { - entries[_PRer] = input[_PRer]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_RestoreSnapshotTierRequest"); -var se_RevokeClientVpnIngressRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_TNC] != null) { - entries[_TNC] = input[_TNC]; - } - if (input[_AGI] != null) { - entries[_AGI] = input[_AGI]; - } - if (input[_RAG] != null) { - entries[_RAG] = input[_RAG]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_RevokeClientVpnIngressRequest"); -var se_RevokeSecurityGroupEgressRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - if (input[_IPpe] != null) { - const memberEntries = se_IpPermissionList(input[_IPpe], context); - if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { - entries.IpPermissions = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SGRI] != null) { - const memberEntries = se_SecurityGroupRuleIdList(input[_SGRI], context); - if (((_b2 = input[_SGRI]) == null ? void 0 : _b2.length) === 0) { - entries.SecurityGroupRuleId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupRuleId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CIi] != null) { - entries[_CIi] = input[_CIi]; - } - if (input[_FP] != null) { - entries[_FP] = input[_FP]; - } - if (input[_IPpr] != null) { - entries[_IPpr] = input[_IPpr]; - } - if (input[_TP] != null) { - entries[_TP] = input[_TP]; - } - if (input[_SSGN] != null) { - entries[_SSGN] = input[_SSGN]; - } - if (input[_SSGOI] != null) { - entries[_SSGOI] = input[_SSGOI]; - } - return entries; -}, "se_RevokeSecurityGroupEgressRequest"); -var se_RevokeSecurityGroupIngressRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_CIi] != null) { - entries[_CIi] = input[_CIi]; - } - if (input[_FP] != null) { - entries[_FP] = input[_FP]; - } - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_IPpe] != null) { - const memberEntries = se_IpPermissionList(input[_IPpe], context); - if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { - entries.IpPermissions = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IPpr] != null) { - entries[_IPpr] = input[_IPpr]; - } - if (input[_SSGN] != null) { - entries[_SSGN] = input[_SSGN]; - } - if (input[_SSGOI] != null) { - entries[_SSGOI] = input[_SSGOI]; - } - if (input[_TP] != null) { - entries[_TP] = input[_TP]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SGRI] != null) { - const memberEntries = se_SecurityGroupRuleIdList(input[_SGRI], context); - if (((_b2 = input[_SGRI]) == null ? void 0 : _b2.length) === 0) { - entries.SecurityGroupRuleId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupRuleId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_RevokeSecurityGroupIngressRequest"); -var se_RouteTableIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_RouteTableIdStringList"); -var se_RunInstancesMonitoringEnabled = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - return entries; -}, "se_RunInstancesMonitoringEnabled"); -var se_RunInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2; - const entries = {}; - if (input[_BDM] != null) { - const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context); - if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { - entries.BlockDeviceMapping = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_IAC] != null) { - entries[_IAC] = input[_IAC]; - } - if (input[_IA] != null) { - const memberEntries = se_InstanceIpv6AddressList(input[_IA], context); - if (((_b2 = input[_IA]) == null ? void 0 : _b2.length) === 0) { - entries.Ipv6Address = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Address.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_KI] != null) { - entries[_KI] = input[_KI]; - } - if (input[_KN] != null) { - entries[_KN] = input[_KN]; - } - if (input[_MC] != null) { - entries[_MC] = input[_MC]; - } - if (input[_MCi] != null) { - entries[_MCi] = input[_MCi]; - } - if (input[_Mon] != null) { - const memberEntries = se_RunInstancesMonitoringEnabled(input[_Mon], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Monitoring.${key}`; - entries[loc] = value; - }); - } - if (input[_Pl] != null) { - const memberEntries = se_Placement(input[_Pl], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Placement.${key}`; - entries[loc] = value; - }); - } - if (input[_RIa] != null) { - entries[_RIa] = input[_RIa]; - } - if (input[_SGI] != null) { - const memberEntries = se_SecurityGroupIdStringList(input[_SGI], context); - if (((_c2 = input[_SGI]) == null ? void 0 : _c2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SG] != null) { - const memberEntries = se_SecurityGroupStringList(input[_SG], context); - if (((_d2 = input[_SG]) == null ? void 0 : _d2.length) === 0) { - entries.SecurityGroup = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroup.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_UD] != null) { - entries[_UD] = input[_UD]; - } - if (input[_AId] != null) { - entries[_AId] = input[_AId]; - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DATis] != null) { - entries[_DATis] = input[_DATis]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_EO] != null) { - entries[_EO] = input[_EO]; - } - if (input[_IIP] != null) { - const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IamInstanceProfile.${key}`; - entries[loc] = value; - }); - } - if (input[_IISB] != null) { - entries[_IISB] = input[_IISB]; - } - if (input[_NI] != null) { - const memberEntries = se_InstanceNetworkInterfaceSpecificationList(input[_NI], context); - if (((_e2 = input[_NI]) == null ? void 0 : _e2.length) === 0) { - entries.NetworkInterface = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterface.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PIAr] != null) { - entries[_PIAr] = input[_PIAr]; - } - if (input[_EGSl] != null) { - const memberEntries = se_ElasticGpuSpecifications(input[_EGSl], context); - if (((_f2 = input[_EGSl]) == null ? void 0 : _f2.length) === 0) { - entries.ElasticGpuSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ElasticGpuSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_EIA] != null) { - const memberEntries = se_ElasticInferenceAccelerators(input[_EIA], context); - if (((_g2 = input[_EIA]) == null ? void 0 : _g2.length) === 0) { - entries.ElasticInferenceAccelerator = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ElasticInferenceAccelerator.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_h2 = input[_TS]) == null ? void 0 : _h2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_LTa] != null) { - const memberEntries = se_LaunchTemplateSpecification(input[_LTa], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplate.${key}`; - entries[loc] = value; - }); - } - if (input[_IMO] != null) { - const memberEntries = se_InstanceMarketOptionsRequest(input[_IMO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceMarketOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_CSred] != null) { - const memberEntries = se_CreditSpecificationRequest(input[_CSred], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CreditSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_CO] != null) { - const memberEntries = se_CpuOptionsRequest(input[_CO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CpuOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_CRS] != null) { - const memberEntries = se_CapacityReservationSpecification(input[_CRS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CapacityReservationSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_HO] != null) { - const memberEntries = se_HibernationOptionsRequest(input[_HO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `HibernationOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_LSi] != null) { - const memberEntries = se_LicenseSpecificationListRequest(input[_LSi], context); - if (((_i2 = input[_LSi]) == null ? void 0 : _i2.length) === 0) { - entries.LicenseSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LicenseSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MO] != null) { - const memberEntries = se_InstanceMetadataOptionsRequest(input[_MO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MetadataOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_EOn] != null) { - const memberEntries = se_EnclaveOptionsRequest(input[_EOn], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `EnclaveOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_PDNO] != null) { - const memberEntries = se_PrivateDnsNameOptionsRequest(input[_PDNO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrivateDnsNameOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_MOa] != null) { - const memberEntries = se_InstanceMaintenanceOptionsRequest(input[_MOa], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MaintenanceOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_DAS] != null) { - entries[_DAS] = input[_DAS]; - } - if (input[_EPI] != null) { - entries[_EPI] = input[_EPI]; - } - return entries; -}, "se_RunInstancesRequest"); -var se_RunScheduledInstancesRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_IC] != null) { - entries[_IC] = input[_IC]; - } - if (input[_LSa] != null) { - const memberEntries = se_ScheduledInstancesLaunchSpecification(input[_LSa], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchSpecification.${key}`; - entries[loc] = value; - }); - } - if (input[_SIIch] != null) { - entries[_SIIch] = input[_SIIch]; - } - return entries; -}, "se_RunScheduledInstancesRequest"); -var se_S3ObjectTag = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Ke] != null) { - entries[_Ke] = input[_Ke]; - } - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_S3ObjectTag"); -var se_S3ObjectTagList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_S3ObjectTag(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_S3ObjectTagList"); -var se_S3Storage = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AWSAKI] != null) { - entries[_AWSAKI] = input[_AWSAKI]; - } - if (input[_B] != null) { - entries[_B] = input[_B]; - } - if (input[_Pr] != null) { - entries[_Pr] = input[_Pr]; - } - if (input[_UP] != null) { - entries[_UP] = context.base64Encoder(input[_UP]); - } - if (input[_UPS] != null) { - entries[_UPS] = input[_UPS]; - } - return entries; -}, "se_S3Storage"); -var se_ScheduledInstanceIdRequestSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ScheduledInstanceId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ScheduledInstanceIdRequestSet"); -var se_ScheduledInstanceRecurrenceRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_Fre] != null) { - entries[_Fre] = input[_Fre]; - } - if (input[_Int] != null) { - entries[_Int] = input[_Int]; - } - if (input[_OD] != null) { - const memberEntries = se_OccurrenceDayRequestSet(input[_OD], context); - if (((_a2 = input[_OD]) == null ? void 0 : _a2.length) === 0) { - entries.OccurrenceDay = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `OccurrenceDay.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ORTE] != null) { - entries[_ORTE] = input[_ORTE]; - } - if (input[_OU] != null) { - entries[_OU] = input[_OU]; - } - return entries; -}, "se_ScheduledInstanceRecurrenceRequest"); -var se_ScheduledInstancesBlockDeviceMapping = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DN] != null) { - entries[_DN] = input[_DN]; - } - if (input[_E] != null) { - const memberEntries = se_ScheduledInstancesEbs(input[_E], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ebs.${key}`; - entries[loc] = value; - }); - } - if (input[_ND] != null) { - entries[_ND] = input[_ND]; - } - if (input[_VN] != null) { - entries[_VN] = input[_VN]; - } - return entries; -}, "se_ScheduledInstancesBlockDeviceMapping"); -var se_ScheduledInstancesBlockDeviceMappingSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ScheduledInstancesBlockDeviceMapping(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`BlockDeviceMapping.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ScheduledInstancesBlockDeviceMappingSet"); -var se_ScheduledInstancesEbs = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DOT] != null) { - entries[_DOT] = input[_DOT]; - } - if (input[_Enc] != null) { - entries[_Enc] = input[_Enc]; - } - if (input[_Io] != null) { - entries[_Io] = input[_Io]; - } - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_VS] != null) { - entries[_VS] = input[_VS]; - } - if (input[_VT] != null) { - entries[_VT] = input[_VT]; - } - return entries; -}, "se_ScheduledInstancesEbs"); -var se_ScheduledInstancesIamInstanceProfile = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Ar] != null) { - entries[_Ar] = input[_Ar]; - } - if (input[_N] != null) { - entries[_N] = input[_N]; - } - return entries; -}, "se_ScheduledInstancesIamInstanceProfile"); -var se_ScheduledInstancesIpv6Address = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IApv] != null) { - entries[_IApv] = input[_IApv]; - } - return entries; -}, "se_ScheduledInstancesIpv6Address"); -var se_ScheduledInstancesIpv6AddressList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ScheduledInstancesIpv6Address(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Ipv6Address.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ScheduledInstancesIpv6AddressList"); -var se_ScheduledInstancesLaunchSpecification = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_BDM] != null) { - const memberEntries = se_ScheduledInstancesBlockDeviceMappingSet(input[_BDM], context); - if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { - entries.BlockDeviceMapping = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_EO] != null) { - entries[_EO] = input[_EO]; - } - if (input[_IIP] != null) { - const memberEntries = se_ScheduledInstancesIamInstanceProfile(input[_IIP], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IamInstanceProfile.${key}`; - entries[loc] = value; - }); - } - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_KI] != null) { - entries[_KI] = input[_KI]; - } - if (input[_KN] != null) { - entries[_KN] = input[_KN]; - } - if (input[_Mon] != null) { - const memberEntries = se_ScheduledInstancesMonitoring(input[_Mon], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Monitoring.${key}`; - entries[loc] = value; - }); - } - if (input[_NI] != null) { - const memberEntries = se_ScheduledInstancesNetworkInterfaceSet(input[_NI], context); - if (((_b2 = input[_NI]) == null ? void 0 : _b2.length) === 0) { - entries.NetworkInterface = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterface.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Pl] != null) { - const memberEntries = se_ScheduledInstancesPlacement(input[_Pl], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Placement.${key}`; - entries[loc] = value; - }); - } - if (input[_RIa] != null) { - entries[_RIa] = input[_RIa]; - } - if (input[_SGI] != null) { - const memberEntries = se_ScheduledInstancesSecurityGroupIdSet(input[_SGI], context); - if (((_c2 = input[_SGI]) == null ? void 0 : _c2.length) === 0) { - entries.SecurityGroupId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_UD] != null) { - entries[_UD] = input[_UD]; - } - return entries; -}, "se_ScheduledInstancesLaunchSpecification"); -var se_ScheduledInstancesMonitoring = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - return entries; -}, "se_ScheduledInstancesMonitoring"); -var se_ScheduledInstancesNetworkInterface = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_APIAs] != null) { - entries[_APIAs] = input[_APIAs]; - } - if (input[_DOT] != null) { - entries[_DOT] = input[_DOT]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_DIev] != null) { - entries[_DIev] = input[_DIev]; - } - if (input[_G] != null) { - const memberEntries = se_ScheduledInstancesSecurityGroupIdSet(input[_G], context); - if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { - entries.Group = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Group.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IAC] != null) { - entries[_IAC] = input[_IAC]; - } - if (input[_IA] != null) { - const memberEntries = se_ScheduledInstancesIpv6AddressList(input[_IA], context); - if (((_b2 = input[_IA]) == null ? void 0 : _b2.length) === 0) { - entries.Ipv6Address = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Address.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_PIAr] != null) { - entries[_PIAr] = input[_PIAr]; - } - if (input[_PIACr] != null) { - const memberEntries = se_PrivateIpAddressConfigSet(input[_PIACr], context); - if (((_c2 = input[_PIACr]) == null ? void 0 : _c2.length) === 0) { - entries.PrivateIpAddressConfig = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrivateIpAddressConfig.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SPIAC] != null) { - entries[_SPIAC] = input[_SPIAC]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - return entries; -}, "se_ScheduledInstancesNetworkInterface"); -var se_ScheduledInstancesNetworkInterfaceSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ScheduledInstancesNetworkInterface(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`NetworkInterface.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ScheduledInstancesNetworkInterfaceSet"); -var se_ScheduledInstancesPlacement = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - return entries; -}, "se_ScheduledInstancesPlacement"); -var se_ScheduledInstancesPrivateIpAddressConfig = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Prim] != null) { - entries[_Prim] = input[_Prim]; - } - if (input[_PIAr] != null) { - entries[_PIAr] = input[_PIAr]; - } - return entries; -}, "se_ScheduledInstancesPrivateIpAddressConfig"); -var se_ScheduledInstancesSecurityGroupIdSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`SecurityGroupId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ScheduledInstancesSecurityGroupIdSet"); -var se_SearchLocalGatewayRoutesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_LGRTI] != null) { - entries[_LGRTI] = input[_LGRTI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_SearchLocalGatewayRoutesRequest"); -var se_SearchTransitGatewayMulticastGroupsRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGMDI] != null) { - entries[_TGMDI] = input[_TGMDI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_NT] != null) { - entries[_NT] = input[_NT]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_SearchTransitGatewayMulticastGroupsRequest"); -var se_SearchTransitGatewayRoutesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TGRTI] != null) { - entries[_TGRTI] = input[_TGRTI]; - } - if (input[_Fi] != null) { - const memberEntries = se_FilterList(input[_Fi], context); - if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { - entries.Filter = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MR] != null) { - entries[_MR] = input[_MR]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_SearchTransitGatewayRoutesRequest"); -var se_SecurityGroupIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_SecurityGroupIdList"); -var se_SecurityGroupIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`SecurityGroupId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_SecurityGroupIdStringList"); -var se_SecurityGroupIdStringListRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`SecurityGroupId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_SecurityGroupIdStringListRequest"); -var se_SecurityGroupRuleDescription = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SGRIe] != null) { - entries[_SGRIe] = input[_SGRIe]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - return entries; -}, "se_SecurityGroupRuleDescription"); -var se_SecurityGroupRuleDescriptionList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_SecurityGroupRuleDescription(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_SecurityGroupRuleDescriptionList"); -var se_SecurityGroupRuleIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_SecurityGroupRuleIdList"); -var se_SecurityGroupRuleRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IPpr] != null) { - entries[_IPpr] = input[_IPpr]; - } - if (input[_FP] != null) { - entries[_FP] = input[_FP]; - } - if (input[_TP] != null) { - entries[_TP] = input[_TP]; - } - if (input[_CIidr] != null) { - entries[_CIidr] = input[_CIidr]; - } - if (input[_CIid] != null) { - entries[_CIid] = input[_CIid]; - } - if (input[_PLI] != null) { - entries[_PLI] = input[_PLI]; - } - if (input[_RGI] != null) { - entries[_RGI] = input[_RGI]; - } - if (input[_De] != null) { - entries[_De] = input[_De]; - } - return entries; -}, "se_SecurityGroupRuleRequest"); -var se_SecurityGroupRuleUpdate = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SGRIe] != null) { - entries[_SGRIe] = input[_SGRIe]; - } - if (input[_SGRe] != null) { - const memberEntries = se_SecurityGroupRuleRequest(input[_SGRe], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupRule.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_SecurityGroupRuleUpdate"); -var se_SecurityGroupRuleUpdateList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_SecurityGroupRuleUpdate(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_SecurityGroupRuleUpdateList"); -var se_SecurityGroupStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`SecurityGroup.${counter}`] = entry; - counter++; - } - return entries; -}, "se_SecurityGroupStringList"); -var se_SendDiagnosticInterruptRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IIn] != null) { - entries[_IIn] = input[_IIn]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_SendDiagnosticInterruptRequest"); -var se_SlotDateTimeRangeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ETa] != null) { - entries[_ETa] = input[_ETa].toISOString().split(".")[0] + "Z"; - } - if (input[_LTat] != null) { - entries[_LTat] = input[_LTat].toISOString().split(".")[0] + "Z"; - } - return entries; -}, "se_SlotDateTimeRangeRequest"); -var se_SlotStartTimeRangeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_ETa] != null) { - entries[_ETa] = input[_ETa].toISOString().split(".")[0] + "Z"; - } - if (input[_LTat] != null) { - entries[_LTat] = input[_LTat].toISOString().split(".")[0] + "Z"; - } - return entries; -}, "se_SlotStartTimeRangeRequest"); -var se_SnapshotDiskContainer = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_Fo] != null) { - entries[_Fo] = input[_Fo]; - } - if (input[_U] != null) { - entries[_U] = input[_U]; - } - if (input[_UB] != null) { - const memberEntries = se_UserBucket(input[_UB], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `UserBucket.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_SnapshotDiskContainer"); -var se_SnapshotIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`SnapshotId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_SnapshotIdStringList"); -var se_SpotCapacityRebalance = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_RS] != null) { - entries[_RS] = input[_RS]; - } - if (input[_TDe] != null) { - entries[_TDe] = input[_TDe]; - } - return entries; -}, "se_SpotCapacityRebalance"); -var se_SpotFleetLaunchSpecification = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2; - const entries = {}; - if (input[_SG] != null) { - const memberEntries = se_GroupIdentifierList(input[_SG], context); - if (((_a2 = input[_SG]) == null ? void 0 : _a2.length) === 0) { - entries.GroupSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `GroupSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_ATd] != null) { - entries[_ATd] = input[_ATd]; - } - if (input[_BDM] != null) { - const memberEntries = se_BlockDeviceMappingList(input[_BDM], context); - if (((_b2 = input[_BDM]) == null ? void 0 : _b2.length) === 0) { - entries.BlockDeviceMapping = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_EO] != null) { - entries[_EO] = input[_EO]; - } - if (input[_IIP] != null) { - const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IamInstanceProfile.${key}`; - entries[loc] = value; - }); - } - if (input[_IIma] != null) { - entries[_IIma] = input[_IIma]; - } - if (input[_IT] != null) { - entries[_IT] = input[_IT]; - } - if (input[_KI] != null) { - entries[_KI] = input[_KI]; - } - if (input[_KN] != null) { - entries[_KN] = input[_KN]; - } - if (input[_Mon] != null) { - const memberEntries = se_SpotFleetMonitoring(input[_Mon], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Monitoring.${key}`; - entries[loc] = value; - }); - } - if (input[_NI] != null) { - const memberEntries = se_InstanceNetworkInterfaceSpecificationList(input[_NI], context); - if (((_c2 = input[_NI]) == null ? void 0 : _c2.length) === 0) { - entries.NetworkInterfaceSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `NetworkInterfaceSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Pl] != null) { - const memberEntries = se_SpotPlacement(input[_Pl], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Placement.${key}`; - entries[loc] = value; - }); - } - if (input[_RIa] != null) { - entries[_RIa] = input[_RIa]; - } - if (input[_SPp] != null) { - entries[_SPp] = input[_SPp]; - } - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_UD] != null) { - entries[_UD] = input[_UD]; - } - if (input[_WC] != null) { - entries[_WC] = (0, import_smithy_client.serializeFloat)(input[_WC]); - } - if (input[_TS] != null) { - const memberEntries = se_SpotFleetTagSpecificationList(input[_TS], context); - if (((_d2 = input[_TS]) == null ? void 0 : _d2.length) === 0) { - entries.TagSpecificationSet = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecificationSet.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IR] != null) { - const memberEntries = se_InstanceRequirements(input[_IR], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceRequirements.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_SpotFleetLaunchSpecification"); -var se_SpotFleetMonitoring = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - return entries; -}, "se_SpotFleetMonitoring"); -var se_SpotFleetRequestConfigData = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_AS] != null) { - entries[_AS] = input[_AS]; - } - if (input[_ODAS] != null) { - entries[_ODAS] = input[_ODAS]; - } - if (input[_SMS] != null) { - const memberEntries = se_SpotMaintenanceStrategies(input[_SMS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SpotMaintenanceStrategies.${key}`; - entries[loc] = value; - }); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - if (input[_ECTP] != null) { - entries[_ECTP] = input[_ECTP]; - } - if (input[_FC] != null) { - entries[_FC] = (0, import_smithy_client.serializeFloat)(input[_FC]); - } - if (input[_ODFC] != null) { - entries[_ODFC] = (0, import_smithy_client.serializeFloat)(input[_ODFC]); - } - if (input[_IFR] != null) { - entries[_IFR] = input[_IFR]; - } - if (input[_LSau] != null) { - const memberEntries = se_LaunchSpecsList(input[_LSau], context); - if (((_a2 = input[_LSau]) == null ? void 0 : _a2.length) === 0) { - entries.LaunchSpecifications = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchSpecifications.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_LTC] != null) { - const memberEntries = se_LaunchTemplateConfigList(input[_LTC], context); - if (((_b2 = input[_LTC]) == null ? void 0 : _b2.length) === 0) { - entries.LaunchTemplateConfigs = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LaunchTemplateConfigs.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SPp] != null) { - entries[_SPp] = input[_SPp]; - } - if (input[_TCa] != null) { - entries[_TCa] = input[_TCa]; - } - if (input[_ODTC] != null) { - entries[_ODTC] = input[_ODTC]; - } - if (input[_ODMTP] != null) { - entries[_ODMTP] = input[_ODMTP]; - } - if (input[_SMTP] != null) { - entries[_SMTP] = input[_SMTP]; - } - if (input[_TIWE] != null) { - entries[_TIWE] = input[_TIWE]; - } - if (input[_T] != null) { - entries[_T] = input[_T]; - } - if (input[_VF] != null) { - entries[_VF] = input[_VF].toISOString().split(".")[0] + "Z"; - } - if (input[_VU] != null) { - entries[_VU] = input[_VU].toISOString().split(".")[0] + "Z"; - } - if (input[_RUI] != null) { - entries[_RUI] = input[_RUI]; - } - if (input[_IIB] != null) { - entries[_IIB] = input[_IIB]; - } - if (input[_LBC] != null) { - const memberEntries = se_LoadBalancersConfig(input[_LBC], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LoadBalancersConfig.${key}`; - entries[loc] = value; - }); - } - if (input[_IPTUC] != null) { - entries[_IPTUC] = input[_IPTUC]; - } - if (input[_Con] != null) { - entries[_Con] = input[_Con]; - } - if (input[_TCUT] != null) { - entries[_TCUT] = input[_TCUT]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_SpotFleetRequestConfigData"); -var se_SpotFleetRequestIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_SpotFleetRequestIdList"); -var se_SpotFleetTagSpecification = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_RT] != null) { - entries[_RT] = input[_RT]; - } - if (input[_Ta] != null) { - const memberEntries = se_TagList(input[_Ta], context); - if (((_a2 = input[_Ta]) == null ? void 0 : _a2.length) === 0) { - entries.Tag = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Tag.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_SpotFleetTagSpecification"); -var se_SpotFleetTagSpecificationList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_SpotFleetTagSpecification(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_SpotFleetTagSpecificationList"); -var se_SpotInstanceRequestIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`SpotInstanceRequestId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_SpotInstanceRequestIdList"); -var se_SpotMaintenanceStrategies = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CRap] != null) { - const memberEntries = se_SpotCapacityRebalance(input[_CRap], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CapacityRebalance.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_SpotMaintenanceStrategies"); -var se_SpotMarketOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_MPa] != null) { - entries[_MPa] = input[_MPa]; - } - if (input[_SIT] != null) { - entries[_SIT] = input[_SIT]; - } - if (input[_BDMl] != null) { - entries[_BDMl] = input[_BDMl]; - } - if (input[_VU] != null) { - entries[_VU] = input[_VU].toISOString().split(".")[0] + "Z"; - } - if (input[_IIB] != null) { - entries[_IIB] = input[_IIB]; - } - return entries; -}, "se_SpotMarketOptions"); -var se_SpotOptionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AS] != null) { - entries[_AS] = input[_AS]; - } - if (input[_MS] != null) { - const memberEntries = se_FleetSpotMaintenanceStrategiesRequest(input[_MS], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `MaintenanceStrategies.${key}`; - entries[loc] = value; - }); - } - if (input[_IIB] != null) { - entries[_IIB] = input[_IIB]; - } - if (input[_IPTUC] != null) { - entries[_IPTUC] = input[_IPTUC]; - } - if (input[_SITi] != null) { - entries[_SITi] = input[_SITi]; - } - if (input[_SAZ] != null) { - entries[_SAZ] = input[_SAZ]; - } - if (input[_MTC] != null) { - entries[_MTC] = input[_MTC]; - } - if (input[_MTP] != null) { - entries[_MTP] = input[_MTP]; - } - return entries; -}, "se_SpotOptionsRequest"); -var se_SpotPlacement = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_AZ] != null) { - entries[_AZ] = input[_AZ]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_Te] != null) { - entries[_Te] = input[_Te]; - } - return entries; -}, "se_SpotPlacement"); -var se_StartInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdStringList(input[_IIns], context); - if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_AId] != null) { - entries[_AId] = input[_AId]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_StartInstancesRequest"); -var se_StartNetworkInsightsAccessScopeAnalysisRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_NIASI] != null) { - entries[_NIASI] = input[_NIASI]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_StartNetworkInsightsAccessScopeAnalysisRequest"); -var se_StartNetworkInsightsAnalysisRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2; - const entries = {}; - if (input[_NIPI] != null) { - entries[_NIPI] = input[_NIPI]; - } - if (input[_AAd] != null) { - const memberEntries = se_ValueStringList(input[_AAd], context); - if (((_a2 = input[_AAd]) == null ? void 0 : _a2.length) === 0) { - entries.AdditionalAccount = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `AdditionalAccount.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_FIA] != null) { - const memberEntries = se_ArnList(input[_FIA], context); - if (((_b2 = input[_FIA]) == null ? void 0 : _b2.length) === 0) { - entries.FilterInArn = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `FilterInArn.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_TS] != null) { - const memberEntries = se_TagSpecificationList(input[_TS], context); - if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { - entries.TagSpecification = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_CTl] === void 0) { - input[_CTl] = (0, import_uuid.v4)(); - } - if (input[_CTl] != null) { - entries[_CTl] = input[_CTl]; - } - return entries; -}, "se_StartNetworkInsightsAnalysisRequest"); -var se_StartVpcEndpointServicePrivateDnsVerificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_SIe] != null) { - entries[_SIe] = input[_SIe]; - } - return entries; -}, "se_StartVpcEndpointServicePrivateDnsVerificationRequest"); -var se_StopInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdStringList(input[_IIns], context); - if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_Hi] != null) { - entries[_Hi] = input[_Hi]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_F] != null) { - entries[_F] = input[_F]; - } - return entries; -}, "se_StopInstancesRequest"); -var se_Storage = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_S_] != null) { - const memberEntries = se_S3Storage(input[_S_], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `S3.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_Storage"); -var se_StorageLocation = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_B] != null) { - entries[_B] = input[_B]; - } - if (input[_Ke] != null) { - entries[_Ke] = input[_Ke]; - } - return entries; -}, "se_StorageLocation"); -var se_SubnetConfiguration = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SIub] != null) { - entries[_SIub] = input[_SIub]; - } - if (input[_Ip] != null) { - entries[_Ip] = input[_Ip]; - } - if (input[_Ipv] != null) { - entries[_Ipv] = input[_Ipv]; - } - return entries; -}, "se_SubnetConfiguration"); -var se_SubnetConfigurationsList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_SubnetConfiguration(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_SubnetConfigurationsList"); -var se_SubnetIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`SubnetId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_SubnetIdStringList"); -var se_Tag = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Ke] != null) { - entries[_Ke] = input[_Ke]; - } - if (input[_Va] != null) { - entries[_Va] = input[_Va]; - } - return entries; -}, "se_Tag"); -var se_TagList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_Tag(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_TagList"); -var se_TagSpecification = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_RT] != null) { - entries[_RT] = input[_RT]; - } - if (input[_Ta] != null) { - const memberEntries = se_TagList(input[_Ta], context); - if (((_a2 = input[_Ta]) == null ? void 0 : _a2.length) === 0) { - entries.Tag = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Tag.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_TagSpecification"); -var se_TagSpecificationList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_TagSpecification(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_TagSpecificationList"); -var se_TargetCapacitySpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_TTC] != null) { - entries[_TTC] = input[_TTC]; - } - if (input[_ODTC] != null) { - entries[_ODTC] = input[_ODTC]; - } - if (input[_STC] != null) { - entries[_STC] = input[_STC]; - } - if (input[_DTCT] != null) { - entries[_DTCT] = input[_DTCT]; - } - if (input[_TCUT] != null) { - entries[_TCUT] = input[_TCUT]; - } - return entries; -}, "se_TargetCapacitySpecificationRequest"); -var se_TargetConfigurationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_IC] != null) { - entries[_IC] = input[_IC]; - } - if (input[_OI] != null) { - entries[_OI] = input[_OI]; - } - return entries; -}, "se_TargetConfigurationRequest"); -var se_TargetConfigurationRequestSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_TargetConfigurationRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`TargetConfigurationRequest.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_TargetConfigurationRequestSet"); -var se_TargetGroup = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Ar] != null) { - entries[_Ar] = input[_Ar]; - } - return entries; -}, "se_TargetGroup"); -var se_TargetGroups = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_TargetGroup(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_TargetGroups"); -var se_TargetGroupsConfig = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_TG] != null) { - const memberEntries = se_TargetGroups(input[_TG], context); - if (((_a2 = input[_TG]) == null ? void 0 : _a2.length) === 0) { - entries.TargetGroups = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TargetGroups.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_TargetGroupsConfig"); -var se_TerminateClientVpnConnectionsRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CVEI] != null) { - entries[_CVEI] = input[_CVEI]; - } - if (input[_CIo] != null) { - entries[_CIo] = input[_CIo]; - } - if (input[_Us] != null) { - entries[_Us] = input[_Us]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_TerminateClientVpnConnectionsRequest"); -var se_TerminateInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdStringList(input[_IIns], context); - if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_TerminateInstancesRequest"); -var se_ThroughResourcesStatementRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_RSe] != null) { - const memberEntries = se_ResourceStatementRequest(input[_RSe], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `ResourceStatement.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_ThroughResourcesStatementRequest"); -var se_ThroughResourcesStatementRequestList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_ThroughResourcesStatementRequest(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_ThroughResourcesStatementRequestList"); -var se_TotalLocalStorageGB = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); - } - if (input[_Ma] != null) { - entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); - } - return entries; -}, "se_TotalLocalStorageGB"); -var se_TotalLocalStorageGBRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); - } - if (input[_Ma] != null) { - entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); - } - return entries; -}, "se_TotalLocalStorageGBRequest"); -var se_TrafficMirrorFilterIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TrafficMirrorFilterIdList"); -var se_TrafficMirrorFilterRuleFieldList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TrafficMirrorFilterRuleFieldList"); -var se_TrafficMirrorNetworkServiceList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TrafficMirrorNetworkServiceList"); -var se_TrafficMirrorPortRangeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_FP] != null) { - entries[_FP] = input[_FP]; - } - if (input[_TP] != null) { - entries[_TP] = input[_TP]; - } - return entries; -}, "se_TrafficMirrorPortRangeRequest"); -var se_TrafficMirrorSessionFieldList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TrafficMirrorSessionFieldList"); -var se_TrafficMirrorSessionIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TrafficMirrorSessionIdList"); -var se_TrafficMirrorTargetIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TrafficMirrorTargetIdList"); -var se_TransitGatewayAttachmentIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Member.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TransitGatewayAttachmentIdStringList"); -var se_TransitGatewayCidrBlockStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TransitGatewayCidrBlockStringList"); -var se_TransitGatewayConnectPeerIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TransitGatewayConnectPeerIdStringList"); -var se_TransitGatewayConnectRequestBgpOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_PAee] != null) { - entries[_PAee] = input[_PAee]; - } - return entries; -}, "se_TransitGatewayConnectRequestBgpOptions"); -var se_TransitGatewayIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TransitGatewayIdStringList"); -var se_TransitGatewayMulticastDomainIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TransitGatewayMulticastDomainIdStringList"); -var se_TransitGatewayNetworkInterfaceIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TransitGatewayNetworkInterfaceIdList"); -var se_TransitGatewayPolicyTableIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TransitGatewayPolicyTableIdStringList"); -var se_TransitGatewayRequestOptions = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_ASA] != null) { - entries[_ASA] = input[_ASA]; - } - if (input[_AASAu] != null) { - entries[_AASAu] = input[_AASAu]; - } - if (input[_DRTA] != null) { - entries[_DRTA] = input[_DRTA]; - } - if (input[_DRTP] != null) { - entries[_DRTP] = input[_DRTP]; - } - if (input[_VES] != null) { - entries[_VES] = input[_VES]; - } - if (input[_DSns] != null) { - entries[_DSns] = input[_DSns]; - } - if (input[_SGRS] != null) { - entries[_SGRS] = input[_SGRS]; - } - if (input[_MSu] != null) { - entries[_MSu] = input[_MSu]; - } - if (input[_TGCB] != null) { - const memberEntries = se_TransitGatewayCidrBlockStringList(input[_TGCB], context); - if (((_a2 = input[_TGCB]) == null ? void 0 : _a2.length) === 0) { - entries.TransitGatewayCidrBlocks = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TransitGatewayCidrBlocks.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_TransitGatewayRequestOptions"); -var se_TransitGatewayRouteTableAnnouncementIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TransitGatewayRouteTableAnnouncementIdStringList"); -var se_TransitGatewayRouteTableIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TransitGatewayRouteTableIdStringList"); -var se_TransitGatewaySubnetIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TransitGatewaySubnetIdList"); -var se_TrunkInterfaceAssociationIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_TrunkInterfaceAssociationIdList"); -var se_UnassignIpv6AddressesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_IA] != null) { - const memberEntries = se_Ipv6AddressList(input[_IA], context); - if (((_a2 = input[_IA]) == null ? void 0 : _a2.length) === 0) { - entries.Ipv6Addresses = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IP] != null) { - const memberEntries = se_IpPrefixList(input[_IP], context); - if (((_b2 = input[_IP]) == null ? void 0 : _b2.length) === 0) { - entries.Ipv6Prefix = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv6Prefix.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - return entries; -}, "se_UnassignIpv6AddressesRequest"); -var se_UnassignPrivateIpAddressesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_NII] != null) { - entries[_NII] = input[_NII]; - } - if (input[_PIA] != null) { - const memberEntries = se_PrivateIpAddressStringList(input[_PIA], context); - if (((_a2 = input[_PIA]) == null ? void 0 : _a2.length) === 0) { - entries.PrivateIpAddress = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IPp] != null) { - const memberEntries = se_IpPrefixList(input[_IPp], context); - if (((_b2 = input[_IPp]) == null ? void 0 : _b2.length) === 0) { - entries.Ipv4Prefix = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Ipv4Prefix.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_UnassignPrivateIpAddressesRequest"); -var se_UnassignPrivateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_NGI] != null) { - entries[_NGI] = input[_NGI]; - } - if (input[_PIA] != null) { - const memberEntries = se_IpList(input[_PIA], context); - if (((_a2 = input[_PIA]) == null ? void 0 : _a2.length) === 0) { - entries.PrivateIpAddress = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `PrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_MDDS] != null) { - entries[_MDDS] = input[_MDDS]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_UnassignPrivateNatGatewayAddressRequest"); -var se_UnlockSnapshotRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SIn] != null) { - entries[_SIn] = input[_SIn]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_UnlockSnapshotRequest"); -var se_UnmonitorInstancesRequest = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_IIns] != null) { - const memberEntries = se_InstanceIdStringList(input[_IIns], context); - if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { - entries.InstanceId = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_UnmonitorInstancesRequest"); -var se_UpdateSecurityGroupRuleDescriptionsEgressRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_IPpe] != null) { - const memberEntries = se_IpPermissionList(input[_IPpe], context); - if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { - entries.IpPermissions = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SGRD] != null) { - const memberEntries = se_SecurityGroupRuleDescriptionList(input[_SGRD], context); - if (((_b2 = input[_SGRD]) == null ? void 0 : _b2.length) === 0) { - entries.SecurityGroupRuleDescription = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupRuleDescription.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_UpdateSecurityGroupRuleDescriptionsEgressRequest"); -var se_UpdateSecurityGroupRuleDescriptionsIngressRequest = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2; - const entries = {}; - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_IPpe] != null) { - const memberEntries = se_IpPermissionList(input[_IPpe], context); - if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { - entries.IpPermissions = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SGRD] != null) { - const memberEntries = se_SecurityGroupRuleDescriptionList(input[_SGRD], context); - if (((_b2 = input[_SGRD]) == null ? void 0 : _b2.length) === 0) { - entries.SecurityGroupRuleDescription = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `SecurityGroupRuleDescription.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - return entries; -}, "se_UpdateSecurityGroupRuleDescriptionsIngressRequest"); -var se_UserBucket = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_SB] != null) { - entries[_SB] = input[_SB]; - } - if (input[_SK] != null) { - entries[_SK] = input[_SK]; - } - return entries; -}, "se_UserBucket"); -var se_UserData = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Da] != null) { - entries[_Da] = input[_Da]; - } - return entries; -}, "se_UserData"); -var se_UserGroupStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`UserGroup.${counter}`] = entry; - counter++; - } - return entries; -}, "se_UserGroupStringList"); -var se_UserIdGroupPair = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_De] != null) { - entries[_De] = input[_De]; - } - if (input[_GIr] != null) { - entries[_GIr] = input[_GIr]; - } - if (input[_GN] != null) { - entries[_GN] = input[_GN]; - } - if (input[_PSe] != null) { - entries[_PSe] = input[_PSe]; - } - if (input[_UIs] != null) { - entries[_UIs] = input[_UIs]; - } - if (input[_VI] != null) { - entries[_VI] = input[_VI]; - } - if (input[_VPCI] != null) { - entries[_VPCI] = input[_VPCI]; - } - return entries; -}, "se_UserIdGroupPair"); -var se_UserIdGroupPairList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_UserIdGroupPair(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Item.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_UserIdGroupPairList"); -var se_UserIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`UserId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_UserIdStringList"); -var se_ValueStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ValueStringList"); -var se_VCpuCountRange = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_VCpuCountRange"); -var se_VCpuCountRangeRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_M] != null) { - entries[_M] = input[_M]; - } - if (input[_Ma] != null) { - entries[_Ma] = input[_Ma]; - } - return entries; -}, "se_VCpuCountRangeRequest"); -var se_VerifiedAccessEndpointIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VerifiedAccessEndpointIdList"); -var se_VerifiedAccessGroupIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VerifiedAccessGroupIdList"); -var se_VerifiedAccessInstanceIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VerifiedAccessInstanceIdList"); -var se_VerifiedAccessLogCloudWatchLogsDestinationOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - if (input[_LGo] != null) { - entries[_LGo] = input[_LGo]; - } - return entries; -}, "se_VerifiedAccessLogCloudWatchLogsDestinationOptions"); -var se_VerifiedAccessLogKinesisDataFirehoseDestinationOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - if (input[_DSel] != null) { - entries[_DSel] = input[_DSel]; - } - return entries; -}, "se_VerifiedAccessLogKinesisDataFirehoseDestinationOptions"); -var se_VerifiedAccessLogOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_S_] != null) { - const memberEntries = se_VerifiedAccessLogS3DestinationOptions(input[_S_], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `S3.${key}`; - entries[loc] = value; - }); - } - if (input[_CWL] != null) { - const memberEntries = se_VerifiedAccessLogCloudWatchLogsDestinationOptions(input[_CWL], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CloudWatchLogs.${key}`; - entries[loc] = value; - }); - } - if (input[_KDF] != null) { - const memberEntries = se_VerifiedAccessLogKinesisDataFirehoseDestinationOptions(input[_KDF], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `KinesisDataFirehose.${key}`; - entries[loc] = value; - }); - } - if (input[_LV] != null) { - entries[_LV] = input[_LV]; - } - if (input[_ITCn] != null) { - entries[_ITCn] = input[_ITCn]; - } - return entries; -}, "se_VerifiedAccessLogOptions"); -var se_VerifiedAccessLogS3DestinationOptions = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_En] != null) { - entries[_En] = input[_En]; - } - if (input[_BN] != null) { - entries[_BN] = input[_BN]; - } - if (input[_Pr] != null) { - entries[_Pr] = input[_Pr]; - } - if (input[_BOu] != null) { - entries[_BOu] = input[_BOu]; - } - return entries; -}, "se_VerifiedAccessLogS3DestinationOptions"); -var se_VerifiedAccessSseSpecificationRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CMKE] != null) { - entries[_CMKE] = input[_CMKE]; - } - if (input[_KKA] != null) { - entries[_KKA] = input[_KKA]; - } - return entries; -}, "se_VerifiedAccessSseSpecificationRequest"); -var se_VerifiedAccessTrustProviderIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VerifiedAccessTrustProviderIdList"); -var se_VersionStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VersionStringList"); -var se_VirtualizationTypeSet = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VirtualizationTypeSet"); -var se_VolumeDetail = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_Siz] != null) { - entries[_Siz] = input[_Siz]; - } - return entries; -}, "se_VolumeDetail"); -var se_VolumeIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`VolumeId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VolumeIdStringList"); -var se_VpcClassicLinkIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`VpcId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VpcClassicLinkIdList"); -var se_VpcEndpointIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VpcEndpointIdList"); -var se_VpcEndpointRouteTableIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VpcEndpointRouteTableIdList"); -var se_VpcEndpointSecurityGroupIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VpcEndpointSecurityGroupIdList"); -var se_VpcEndpointServiceIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VpcEndpointServiceIdList"); -var se_VpcEndpointSubnetIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VpcEndpointSubnetIdList"); -var se_VpcIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`VpcId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VpcIdStringList"); -var se_VpcPeeringConnectionIdList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`Item.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VpcPeeringConnectionIdList"); -var se_VpnConnectionIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`VpnConnectionId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VpnConnectionIdStringList"); -var se_VpnConnectionOptionsSpecification = /* @__PURE__ */ __name((input, context) => { - var _a2; - const entries = {}; - if (input[_EA] != null) { - entries[_EA] = input[_EA]; - } - if (input[_SRO] != null) { - entries[_SRO] = input[_SRO]; - } - if (input[_TIIV] != null) { - entries[_TIIV] = input[_TIIV]; - } - if (input[_TO] != null) { - const memberEntries = se_VpnTunnelOptionsSpecificationsList(input[_TO], context); - if (((_a2 = input[_TO]) == null ? void 0 : _a2.length) === 0) { - entries.TunnelOptions = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `TunnelOptions.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_LINC] != null) { - entries[_LINC] = input[_LINC]; - } - if (input[_RINC] != null) { - entries[_RINC] = input[_RINC]; - } - if (input[_LINCo] != null) { - entries[_LINCo] = input[_LINCo]; - } - if (input[_RINCe] != null) { - entries[_RINCe] = input[_RINCe]; - } - if (input[_OIAT] != null) { - entries[_OIAT] = input[_OIAT]; - } - if (input[_TTGAI] != null) { - entries[_TTGAI] = input[_TTGAI]; - } - return entries; -}, "se_VpnConnectionOptionsSpecification"); -var se_VpnGatewayIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`VpnGatewayId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_VpnGatewayIdStringList"); -var se_VpnTunnelLogOptionsSpecification = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_CWLO] != null) { - const memberEntries = se_CloudWatchLogOptionsSpecification(input[_CWLO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `CloudWatchLogOptions.${key}`; - entries[loc] = value; - }); - } - return entries; -}, "se_VpnTunnelLogOptionsSpecification"); -var se_VpnTunnelOptionsSpecification = /* @__PURE__ */ __name((input, context) => { - var _a2, _b2, _c2, _d2, _e2, _f2, _g2; - const entries = {}; - if (input[_TIC] != null) { - entries[_TIC] = input[_TIC]; - } - if (input[_TIIC] != null) { - entries[_TIIC] = input[_TIIC]; - } - if (input[_PSK] != null) { - entries[_PSK] = input[_PSK]; - } - if (input[_PLS] != null) { - entries[_PLS] = input[_PLS]; - } - if (input[_PLSh] != null) { - entries[_PLSh] = input[_PLSh]; - } - if (input[_RMTS] != null) { - entries[_RMTS] = input[_RMTS]; - } - if (input[_RFP] != null) { - entries[_RFP] = input[_RFP]; - } - if (input[_RWS] != null) { - entries[_RWS] = input[_RWS]; - } - if (input[_DPDTS] != null) { - entries[_DPDTS] = input[_DPDTS]; - } - if (input[_DPDTA] != null) { - entries[_DPDTA] = input[_DPDTA]; - } - if (input[_PEA] != null) { - const memberEntries = se_Phase1EncryptionAlgorithmsRequestList(input[_PEA], context); - if (((_a2 = input[_PEA]) == null ? void 0 : _a2.length) === 0) { - entries.Phase1EncryptionAlgorithm = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase1EncryptionAlgorithm.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PEAh] != null) { - const memberEntries = se_Phase2EncryptionAlgorithmsRequestList(input[_PEAh], context); - if (((_b2 = input[_PEAh]) == null ? void 0 : _b2.length) === 0) { - entries.Phase2EncryptionAlgorithm = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase2EncryptionAlgorithm.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PIAh] != null) { - const memberEntries = se_Phase1IntegrityAlgorithmsRequestList(input[_PIAh], context); - if (((_c2 = input[_PIAh]) == null ? void 0 : _c2.length) === 0) { - entries.Phase1IntegrityAlgorithm = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase1IntegrityAlgorithm.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PIAha] != null) { - const memberEntries = se_Phase2IntegrityAlgorithmsRequestList(input[_PIAha], context); - if (((_d2 = input[_PIAha]) == null ? void 0 : _d2.length) === 0) { - entries.Phase2IntegrityAlgorithm = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase2IntegrityAlgorithm.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PDHGN] != null) { - const memberEntries = se_Phase1DHGroupNumbersRequestList(input[_PDHGN], context); - if (((_e2 = input[_PDHGN]) == null ? void 0 : _e2.length) === 0) { - entries.Phase1DHGroupNumber = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase1DHGroupNumber.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_PDHGNh] != null) { - const memberEntries = se_Phase2DHGroupNumbersRequestList(input[_PDHGNh], context); - if (((_f2 = input[_PDHGNh]) == null ? void 0 : _f2.length) === 0) { - entries.Phase2DHGroupNumber = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Phase2DHGroupNumber.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_IKEVe] != null) { - const memberEntries = se_IKEVersionsRequestList(input[_IKEVe], context); - if (((_g2 = input[_IKEVe]) == null ? void 0 : _g2.length) === 0) { - entries.IKEVersion = []; - } - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `IKEVersion.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } - if (input[_SA] != null) { - entries[_SA] = input[_SA]; - } - if (input[_LO] != null) { - const memberEntries = se_VpnTunnelLogOptionsSpecification(input[_LO], context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `LogOptions.${key}`; - entries[loc] = value; - }); - } - if (input[_ETLC] != null) { - entries[_ETLC] = input[_ETLC]; - } - return entries; -}, "se_VpnTunnelOptionsSpecification"); -var se_VpnTunnelOptionsSpecificationsList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - const memberEntries = se_VpnTunnelOptionsSpecification(entry, context); - Object.entries(memberEntries).forEach(([key, value]) => { - entries[`Member.${counter}.${key}`] = value; - }); - counter++; - } - return entries; -}, "se_VpnTunnelOptionsSpecificationsList"); -var se_WithdrawByoipCidrRequest = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - if (input[_C] != null) { - entries[_C] = input[_C]; - } - if (input[_DRr] != null) { - entries[_DRr] = input[_DRr]; - } - return entries; -}, "se_WithdrawByoipCidrRequest"); -var se_ZoneIdStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ZoneId.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ZoneIdStringList"); -var se_ZoneNameStringList = /* @__PURE__ */ __name((input, context) => { - const entries = {}; - let counter = 1; - for (const entry of input) { - if (entry === null) { - continue; - } - entries[`ZoneName.${counter}`] = entry; - counter++; - } - return entries; -}, "se_ZoneNameStringList"); -var de_AcceleratorCount = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_m] != null) { - contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); - } - if (output[_ma] != null) { - contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); - } - return contents; -}, "de_AcceleratorCount"); -var de_AcceleratorManufacturerSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_AcceleratorManufacturerSet"); -var de_AcceleratorNameSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_AcceleratorNameSet"); -var de_AcceleratorTotalMemoryMiB = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_m] != null) { - contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); - } - if (output[_ma] != null) { - contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); - } - return contents; -}, "de_AcceleratorTotalMemoryMiB"); -var de_AcceleratorTypeSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_AcceleratorTypeSet"); -var de_AcceptAddressTransferResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aT] != null) { - contents[_ATdd] = de_AddressTransfer(output[_aT], context); - } - return contents; -}, "de_AcceptAddressTransferResult"); -var de_AcceptReservedInstancesExchangeQuoteResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eI] != null) { - contents[_EIxc] = (0, import_smithy_client.expectString)(output[_eI]); - } - return contents; -}, "de_AcceptReservedInstancesExchangeQuoteResult"); -var de_AcceptTransitGatewayMulticastDomainAssociationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_a] != null) { - contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context); - } - return contents; -}, "de_AcceptTransitGatewayMulticastDomainAssociationsResult"); -var de_AcceptTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGPA] != null) { - contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context); - } - return contents; -}, "de_AcceptTransitGatewayPeeringAttachmentResult"); -var de_AcceptTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGVA] != null) { - contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context); - } - return contents; -}, "de_AcceptTransitGatewayVpcAttachmentResult"); -var de_AcceptVpcEndpointConnectionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.unsuccessful === "") { - contents[_Un] = []; - } else if (output[_u] != null && output[_u][_i] != null) { - contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); - } - return contents; -}, "de_AcceptVpcEndpointConnectionsResult"); -var de_AcceptVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vPC] != null) { - contents[_VPC] = de_VpcPeeringConnection(output[_vPC], context); - } - return contents; -}, "de_AcceptVpcPeeringConnectionResult"); -var de_AccessScopeAnalysisFinding = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIASAI] != null) { - contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]); - } - if (output[_nIASI] != null) { - contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]); - } - if (output[_fI] != null) { - contents[_FIi] = (0, import_smithy_client.expectString)(output[_fI]); - } - if (output.findingComponentSet === "") { - contents[_FCi] = []; - } else if (output[_fCS] != null && output[_fCS][_i] != null) { - contents[_FCi] = de_PathComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_fCS][_i]), context); - } - return contents; -}, "de_AccessScopeAnalysisFinding"); -var de_AccessScopeAnalysisFindingList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AccessScopeAnalysisFinding(entry, context); - }); -}, "de_AccessScopeAnalysisFindingList"); -var de_AccessScopePath = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_s] != null) { - contents[_S] = de_PathStatement(output[_s], context); - } - if (output[_d] != null) { - contents[_D] = de_PathStatement(output[_d], context); - } - if (output.throughResourceSet === "") { - contents[_TR] = []; - } else if (output[_tRS] != null && output[_tRS][_i] != null) { - contents[_TR] = de_ThroughResourcesStatementList((0, import_smithy_client.getArrayIfSingleItem)(output[_tRS][_i]), context); - } - return contents; -}, "de_AccessScopePath"); -var de_AccessScopePathList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AccessScopePath(entry, context); - }); -}, "de_AccessScopePathList"); -var de_AccountAttribute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aN] != null) { - contents[_ANt] = (0, import_smithy_client.expectString)(output[_aN]); - } - if (output.attributeValueSet === "") { - contents[_AVt] = []; - } else if (output[_aVS] != null && output[_aVS][_i] != null) { - contents[_AVt] = de_AccountAttributeValueList((0, import_smithy_client.getArrayIfSingleItem)(output[_aVS][_i]), context); - } - return contents; -}, "de_AccountAttribute"); -var de_AccountAttributeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AccountAttribute(entry, context); - }); -}, "de_AccountAttributeList"); -var de_AccountAttributeValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aV] != null) { - contents[_AVtt] = (0, import_smithy_client.expectString)(output[_aV]); - } - return contents; -}, "de_AccountAttributeValue"); -var de_AccountAttributeValueList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AccountAttributeValue(entry, context); - }); -}, "de_AccountAttributeValueList"); -var de_ActiveInstance = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_sIRI] != null) { - contents[_SIRIp] = (0, import_smithy_client.expectString)(output[_sIRI]); - } - if (output[_iH] != null) { - contents[_IH] = (0, import_smithy_client.expectString)(output[_iH]); - } - return contents; -}, "de_ActiveInstance"); -var de_ActiveInstanceSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ActiveInstance(entry, context); - }); -}, "de_ActiveInstanceSet"); -var de_AddedPrincipal = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pT] != null) { - contents[_PTr] = (0, import_smithy_client.expectString)(output[_pT]); - } - if (output[_p] != null) { - contents[_Prin] = (0, import_smithy_client.expectString)(output[_p]); - } - if (output[_sPI] != null) { - contents[_SPI] = (0, import_smithy_client.expectString)(output[_sPI]); - } - if (output[_sI] != null) { - contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); - } - return contents; -}, "de_AddedPrincipal"); -var de_AddedPrincipalSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AddedPrincipal(entry, context); - }); -}, "de_AddedPrincipalSet"); -var de_AdditionalDetail = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aDT] != null) { - contents[_ADT] = (0, import_smithy_client.expectString)(output[_aDT]); - } - if (output[_c] != null) { - contents[_Com] = de_AnalysisComponent(output[_c], context); - } - if (output[_vES] != null) { - contents[_VESp] = de_AnalysisComponent(output[_vES], context); - } - if (output.ruleOptionSet === "") { - contents[_ROu] = []; - } else if (output[_rOS] != null && output[_rOS][_i] != null) { - contents[_ROu] = de_RuleOptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_rOS][_i]), context); - } - if (output.ruleGroupTypePairSet === "") { - contents[_RGTP] = []; - } else if (output[_rGTPS] != null && output[_rGTPS][_i] != null) { - contents[_RGTP] = de_RuleGroupTypePairList((0, import_smithy_client.getArrayIfSingleItem)(output[_rGTPS][_i]), context); - } - if (output.ruleGroupRuleOptionsPairSet === "") { - contents[_RGROP] = []; - } else if (output[_rGROPS] != null && output[_rGROPS][_i] != null) { - contents[_RGROP] = de_RuleGroupRuleOptionsPairList((0, import_smithy_client.getArrayIfSingleItem)(output[_rGROPS][_i]), context); - } - if (output[_sN] != null) { - contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]); - } - if (output.loadBalancerSet === "") { - contents[_LB] = []; - } else if (output[_lBS] != null && output[_lBS][_i] != null) { - contents[_LB] = de_AnalysisComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_lBS][_i]), context); - } - return contents; -}, "de_AdditionalDetail"); -var de_AdditionalDetailList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AdditionalDetail(entry, context); - }); -}, "de_AdditionalDetailList"); -var de_Address = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_pI] != null) { - contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); - } - if (output[_aI] != null) { - contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); - } - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_do] != null) { - contents[_Do] = (0, import_smithy_client.expectString)(output[_do]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_nIOI] != null) { - contents[_NIOI] = (0, import_smithy_client.expectString)(output[_nIOI]); - } - if (output[_pIA] != null) { - contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_pIP] != null) { - contents[_PIP] = (0, import_smithy_client.expectString)(output[_pIP]); - } - if (output[_nBG] != null) { - contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); - } - if (output[_cOI] != null) { - contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]); - } - if (output[_cOIP] != null) { - contents[_COIP] = (0, import_smithy_client.expectString)(output[_cOIP]); - } - if (output[_cI] != null) { - contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]); - } - return contents; -}, "de_Address"); -var de_AddressAttribute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pI] != null) { - contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); - } - if (output[_aI] != null) { - contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); - } - if (output[_pR] != null) { - contents[_PRt] = (0, import_smithy_client.expectString)(output[_pR]); - } - if (output[_pRU] != null) { - contents[_PRU] = de_PtrUpdateStatus(output[_pRU], context); - } - return contents; -}, "de_AddressAttribute"); -var de_AddressList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Address(entry, context); - }); -}, "de_AddressList"); -var de_AddressSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AddressAttribute(entry, context); - }); -}, "de_AddressSet"); -var de_AddressTransfer = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pI] != null) { - contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); - } - if (output[_aI] != null) { - contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); - } - if (output[_tAI] != null) { - contents[_TAI] = (0, import_smithy_client.expectString)(output[_tAI]); - } - if (output[_tOET] != null) { - contents[_TOET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tOET])); - } - if (output[_tOAT] != null) { - contents[_TOAT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tOAT])); - } - if (output[_aTS] != null) { - contents[_ATS] = (0, import_smithy_client.expectString)(output[_aTS]); - } - return contents; -}, "de_AddressTransfer"); -var de_AddressTransferList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AddressTransfer(entry, context); - }); -}, "de_AddressTransferList"); -var de_AdvertiseByoipCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_bC] != null) { - contents[_BC] = de_ByoipCidr(output[_bC], context); - } - return contents; -}, "de_AdvertiseByoipCidrResult"); -var de_AllocateAddressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pI] != null) { - contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); - } - if (output[_aI] != null) { - contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); - } - if (output[_pIP] != null) { - contents[_PIP] = (0, import_smithy_client.expectString)(output[_pIP]); - } - if (output[_nBG] != null) { - contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); - } - if (output[_do] != null) { - contents[_Do] = (0, import_smithy_client.expectString)(output[_do]); - } - if (output[_cOI] != null) { - contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]); - } - if (output[_cOIP] != null) { - contents[_COIP] = (0, import_smithy_client.expectString)(output[_cOIP]); - } - if (output[_cI] != null) { - contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]); - } - return contents; -}, "de_AllocateAddressResult"); -var de_AllocateHostsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.hostIdSet === "") { - contents[_HI] = []; - } else if (output[_hIS] != null && output[_hIS][_i] != null) { - contents[_HI] = de_ResponseHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_hIS][_i]), context); - } - return contents; -}, "de_AllocateHostsResult"); -var de_AllocateIpamPoolCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPA] != null) { - contents[_IPA] = de_IpamPoolAllocation(output[_iPA], context); - } - return contents; -}, "de_AllocateIpamPoolCidrResult"); -var de_AllowedInstanceTypeSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_AllowedInstanceTypeSet"); -var de_AllowedPrincipal = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pT] != null) { - contents[_PTr] = (0, import_smithy_client.expectString)(output[_pT]); - } - if (output[_p] != null) { - contents[_Prin] = (0, import_smithy_client.expectString)(output[_p]); - } - if (output[_sPI] != null) { - contents[_SPI] = (0, import_smithy_client.expectString)(output[_sPI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_sI] != null) { - contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); - } - return contents; -}, "de_AllowedPrincipal"); -var de_AllowedPrincipalSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AllowedPrincipal(entry, context); - }); -}, "de_AllowedPrincipalSet"); -var de_AlternatePathHint = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cIo] != null) { - contents[_CIom] = (0, import_smithy_client.expectString)(output[_cIo]); - } - if (output[_cA] != null) { - contents[_CAo] = (0, import_smithy_client.expectString)(output[_cA]); - } - return contents; -}, "de_AlternatePathHint"); -var de_AlternatePathHintList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AlternatePathHint(entry, context); - }); -}, "de_AlternatePathHintList"); -var de_AnalysisAclRule = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ci] != null) { - contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); - } - if (output[_e] != null) { - contents[_Eg] = (0, import_smithy_client.parseBoolean)(output[_e]); - } - if (output[_pRo] != null) { - contents[_PR] = de_PortRange(output[_pRo], context); - } - if (output[_pr] != null) { - contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); - } - if (output[_rA] != null) { - contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]); - } - if (output[_rN] != null) { - contents[_RNu] = (0, import_smithy_client.strictParseInt32)(output[_rN]); - } - return contents; -}, "de_AnalysisAclRule"); -var de_AnalysisComponent = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_id] != null) { - contents[_Id] = (0, import_smithy_client.expectString)(output[_id]); - } - if (output[_ar] != null) { - contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - return contents; -}, "de_AnalysisComponent"); -var de_AnalysisComponentList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AnalysisComponent(entry, context); - }); -}, "de_AnalysisComponentList"); -var de_AnalysisLoadBalancerListener = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lBP] != null) { - contents[_LBP] = (0, import_smithy_client.strictParseInt32)(output[_lBP]); - } - if (output[_iP] != null) { - contents[_IPns] = (0, import_smithy_client.strictParseInt32)(output[_iP]); - } - return contents; -}, "de_AnalysisLoadBalancerListener"); -var de_AnalysisLoadBalancerTarget = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ad] != null) { - contents[_Ad] = (0, import_smithy_client.expectString)(output[_ad]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_in] != null) { - contents[_Ins] = de_AnalysisComponent(output[_in], context); - } - if (output[_po] != null) { - contents[_Po] = (0, import_smithy_client.strictParseInt32)(output[_po]); - } - return contents; -}, "de_AnalysisLoadBalancerTarget"); -var de_AnalysisPacketHeader = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.destinationAddressSet === "") { - contents[_DAes] = []; - } else if (output[_dAS] != null && output[_dAS][_i] != null) { - contents[_DAes] = de_IpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_dAS][_i]), context); - } - if (output.destinationPortRangeSet === "") { - contents[_DPRe] = []; - } else if (output[_dPRS] != null && output[_dPRS][_i] != null) { - contents[_DPRe] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPRS][_i]), context); - } - if (output[_pr] != null) { - contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); - } - if (output.sourceAddressSet === "") { - contents[_SAo] = []; - } else if (output[_sAS] != null && output[_sAS][_i] != null) { - contents[_SAo] = de_IpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_sAS][_i]), context); - } - if (output.sourcePortRangeSet === "") { - contents[_SPRo] = []; - } else if (output[_sPRS] != null && output[_sPRS][_i] != null) { - contents[_SPRo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPRS][_i]), context); - } - return contents; -}, "de_AnalysisPacketHeader"); -var de_AnalysisRouteTableRoute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dC] != null) { - contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]); - } - if (output[_dPLI] != null) { - contents[_DPLI] = (0, import_smithy_client.expectString)(output[_dPLI]); - } - if (output[_eOIGI] != null) { - contents[_EOIGI] = (0, import_smithy_client.expectString)(output[_eOIGI]); - } - if (output[_gI] != null) { - contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_nGI] != null) { - contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_o] != null) { - contents[_Or] = (0, import_smithy_client.expectString)(output[_o]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_vPCI] != null) { - contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_cGI] != null) { - contents[_CGI] = (0, import_smithy_client.expectString)(output[_cGI]); - } - if (output[_cNA] != null) { - contents[_CNAo] = (0, import_smithy_client.expectString)(output[_cNA]); - } - if (output[_lGI] != null) { - contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); - } - return contents; -}, "de_AnalysisRouteTableRoute"); -var de_AnalysisSecurityGroupRule = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ci] != null) { - contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); - } - if (output[_di] != null) { - contents[_Di] = (0, import_smithy_client.expectString)(output[_di]); - } - if (output[_sGI] != null) { - contents[_SGIe] = (0, import_smithy_client.expectString)(output[_sGI]); - } - if (output[_pRo] != null) { - contents[_PR] = de_PortRange(output[_pRo], context); - } - if (output[_pLI] != null) { - contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); - } - if (output[_pr] != null) { - contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); - } - return contents; -}, "de_AnalysisSecurityGroupRule"); -var de_ApplySecurityGroupsToClientVpnTargetNetworkResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.securityGroupIds === "") { - contents[_SGI] = []; - } else if (output[_sGIe] != null && output[_sGIe][_i] != null) { - contents[_SGI] = de_ClientVpnSecurityGroupIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIe][_i]), context); - } - return contents; -}, "de_ApplySecurityGroupsToClientVpnTargetNetworkResult"); -var de_ArchitectureTypeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_ArchitectureTypeList"); -var de_ArnList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_ArnList"); -var de_AsnAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_as] != null) { - contents[_As] = (0, import_smithy_client.expectString)(output[_as]); - } - if (output[_ci] != null) { - contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_AsnAssociation"); -var de_AsnAssociationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AsnAssociation(entry, context); - }); -}, "de_AsnAssociationSet"); -var de_AssignedPrivateIpAddress = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pIA] != null) { - contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); - } - return contents; -}, "de_AssignedPrivateIpAddress"); -var de_AssignedPrivateIpAddressList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AssignedPrivateIpAddress(entry, context); - }); -}, "de_AssignedPrivateIpAddressList"); -var de_AssignIpv6AddressesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.assignedIpv6Addresses === "") { - contents[_AIAs] = []; - } else if (output[_aIA] != null && output[_aIA][_i] != null) { - contents[_AIAs] = de_Ipv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIA][_i]), context); - } - if (output.assignedIpv6PrefixSet === "") { - contents[_AIP] = []; - } else if (output[_aIPS] != null && output[_aIPS][_i] != null) { - contents[_AIP] = de_IpPrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIPS][_i]), context); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - return contents; -}, "de_AssignIpv6AddressesResult"); -var de_AssignPrivateIpAddressesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output.assignedPrivateIpAddressesSet === "") { - contents[_APIAss] = []; - } else if (output[_aPIAS] != null && output[_aPIAS][_i] != null) { - contents[_APIAss] = de_AssignedPrivateIpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aPIAS][_i]), context); - } - if (output.assignedIpv4PrefixSet === "") { - contents[_AIPs] = []; - } else if (output[_aIPSs] != null && output[_aIPSs][_i] != null) { - contents[_AIPs] = de_Ipv4PrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIPSs][_i]), context); - } - return contents; -}, "de_AssignPrivateIpAddressesResult"); -var de_AssignPrivateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nGI] != null) { - contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); - } - if (output.natGatewayAddressSet === "") { - contents[_NGA] = []; - } else if (output[_nGAS] != null && output[_nGAS][_i] != null) { - contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context); - } - return contents; -}, "de_AssignPrivateNatGatewayAddressResult"); -var de_AssociateAddressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - return contents; -}, "de_AssociateAddressResult"); -var de_AssociateClientVpnTargetNetworkResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_sta] != null) { - contents[_Statu] = de_AssociationStatus(output[_sta], context); - } - return contents; -}, "de_AssociateClientVpnTargetNetworkResult"); -var de_AssociatedRole = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aRA] != null) { - contents[_ARA] = (0, import_smithy_client.expectString)(output[_aRA]); - } - if (output[_cSBN] != null) { - contents[_CSBN] = (0, import_smithy_client.expectString)(output[_cSBN]); - } - if (output[_cSOK] != null) { - contents[_CSOK] = (0, import_smithy_client.expectString)(output[_cSOK]); - } - if (output[_eKKI] != null) { - contents[_EKKI] = (0, import_smithy_client.expectString)(output[_eKKI]); - } - return contents; -}, "de_AssociatedRole"); -var de_AssociatedRolesList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AssociatedRole(entry, context); - }); -}, "de_AssociatedRolesList"); -var de_AssociatedTargetNetwork = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nI] != null) { - contents[_NIe] = (0, import_smithy_client.expectString)(output[_nI]); - } - if (output[_nT] != null) { - contents[_NTe] = (0, import_smithy_client.expectString)(output[_nT]); - } - return contents; -}, "de_AssociatedTargetNetwork"); -var de_AssociatedTargetNetworkSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AssociatedTargetNetwork(entry, context); - }); -}, "de_AssociatedTargetNetworkSet"); -var de_AssociateEnclaveCertificateIamRoleResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cSBN] != null) { - contents[_CSBN] = (0, import_smithy_client.expectString)(output[_cSBN]); - } - if (output[_cSOK] != null) { - contents[_CSOK] = (0, import_smithy_client.expectString)(output[_cSOK]); - } - if (output[_eKKI] != null) { - contents[_EKKI] = (0, import_smithy_client.expectString)(output[_eKKI]); - } - return contents; -}, "de_AssociateEnclaveCertificateIamRoleResult"); -var de_AssociateIamInstanceProfileResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIPA] != null) { - contents[_IIPA] = de_IamInstanceProfileAssociation(output[_iIPA], context); - } - return contents; -}, "de_AssociateIamInstanceProfileResult"); -var de_AssociateInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iEW] != null) { - contents[_IEW] = de_InstanceEventWindow(output[_iEW], context); - } - return contents; -}, "de_AssociateInstanceEventWindowResult"); -var de_AssociateIpamByoasnResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aA] != null) { - contents[_AAsn] = de_AsnAssociation(output[_aA], context); - } - return contents; -}, "de_AssociateIpamByoasnResult"); -var de_AssociateIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iRDA] != null) { - contents[_IRDA] = de_IpamResourceDiscoveryAssociation(output[_iRDA], context); - } - return contents; -}, "de_AssociateIpamResourceDiscoveryResult"); -var de_AssociateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nGI] != null) { - contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); - } - if (output.natGatewayAddressSet === "") { - contents[_NGA] = []; - } else if (output[_nGAS] != null && output[_nGAS][_i] != null) { - contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context); - } - return contents; -}, "de_AssociateNatGatewayAddressResult"); -var de_AssociateRouteTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_aS] != null) { - contents[_ASs] = de_RouteTableAssociationState(output[_aS], context); - } - return contents; -}, "de_AssociateRouteTableResult"); -var de_AssociateSubnetCidrBlockResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iCBA] != null) { - contents[_ICBA] = de_SubnetIpv6CidrBlockAssociation(output[_iCBA], context); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - return contents; -}, "de_AssociateSubnetCidrBlockResult"); -var de_AssociateTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_a] != null) { - contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context); - } - return contents; -}, "de_AssociateTransitGatewayMulticastDomainResult"); -var de_AssociateTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ass] != null) { - contents[_Asso] = de_TransitGatewayPolicyTableAssociation(output[_ass], context); - } - return contents; -}, "de_AssociateTransitGatewayPolicyTableResult"); -var de_AssociateTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ass] != null) { - contents[_Asso] = de_TransitGatewayAssociation(output[_ass], context); - } - return contents; -}, "de_AssociateTransitGatewayRouteTableResult"); -var de_AssociateTrunkInterfaceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iA] != null) { - contents[_IAn] = de_TrunkInterfaceAssociation(output[_iA], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_AssociateTrunkInterfaceResult"); -var de_AssociateVpcCidrBlockResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iCBA] != null) { - contents[_ICBA] = de_VpcIpv6CidrBlockAssociation(output[_iCBA], context); - } - if (output[_cBA] != null) { - contents[_CBA] = de_VpcCidrBlockAssociation(output[_cBA], context); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - return contents; -}, "de_AssociateVpcCidrBlockResult"); -var de_AssociationStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_AssociationStatus"); -var de_AttachClassicLinkVpcResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_AttachClassicLinkVpcResult"); -var de_AttachmentEnaSrdSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eSE] != null) { - contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_eSE]); - } - if (output[_eSUS] != null) { - contents[_ESUS] = de_AttachmentEnaSrdUdpSpecification(output[_eSUS], context); - } - return contents; -}, "de_AttachmentEnaSrdSpecification"); -var de_AttachmentEnaSrdUdpSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eSUE] != null) { - contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_eSUE]); - } - return contents; -}, "de_AttachmentEnaSrdUdpSpecification"); -var de_AttachNetworkInterfaceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIt] != null) { - contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]); - } - if (output[_nCI] != null) { - contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]); - } - return contents; -}, "de_AttachNetworkInterfaceResult"); -var de_AttachVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vATP] != null) { - contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context); - } - if (output[_vAI] != null) { - contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context); - } - return contents; -}, "de_AttachVerifiedAccessTrustProviderResult"); -var de_AttachVpnGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_at] != null) { - contents[_VA] = de_VpcAttachment(output[_at], context); - } - return contents; -}, "de_AttachVpnGatewayResult"); -var de_AttributeBooleanValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.parseBoolean)(output[_v]); - } - return contents; -}, "de_AttributeBooleanValue"); -var de_AttributeValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - return contents; -}, "de_AttributeValue"); -var de_AuthorizationRule = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cVEI] != null) { - contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - if (output[_aAc] != null) { - contents[_AAc] = (0, import_smithy_client.parseBoolean)(output[_aAc]); - } - if (output[_dC] != null) { - contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]); - } - if (output[_sta] != null) { - contents[_Statu] = de_ClientVpnAuthorizationRuleStatus(output[_sta], context); - } - return contents; -}, "de_AuthorizationRule"); -var de_AuthorizationRuleSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AuthorizationRule(entry, context); - }); -}, "de_AuthorizationRuleSet"); -var de_AuthorizeClientVpnIngressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sta] != null) { - contents[_Statu] = de_ClientVpnAuthorizationRuleStatus(output[_sta], context); - } - return contents; -}, "de_AuthorizeClientVpnIngressResult"); -var de_AuthorizeSecurityGroupEgressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - if (output.securityGroupRuleSet === "") { - contents[_SGR] = []; - } else if (output[_sGRS] != null && output[_sGRS][_i] != null) { - contents[_SGR] = de_SecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRS][_i]), context); - } - return contents; -}, "de_AuthorizeSecurityGroupEgressResult"); -var de_AuthorizeSecurityGroupIngressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - if (output.securityGroupRuleSet === "") { - contents[_SGR] = []; - } else if (output[_sGRS] != null && output[_sGRS][_i] != null) { - contents[_SGR] = de_SecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRS][_i]), context); - } - return contents; -}, "de_AuthorizeSecurityGroupIngressResult"); -var de_AvailabilityZone = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_zS] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_zS]); - } - if (output[_oIS] != null) { - contents[_OIS] = (0, import_smithy_client.expectString)(output[_oIS]); - } - if (output.messageSet === "") { - contents[_Mes] = []; - } else if (output[_mS] != null && output[_mS][_i] != null) { - contents[_Mes] = de_AvailabilityZoneMessageList((0, import_smithy_client.getArrayIfSingleItem)(output[_mS][_i]), context); - } - if (output[_rNe] != null) { - contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]); - } - if (output[_zN] != null) { - contents[_ZNo] = (0, import_smithy_client.expectString)(output[_zN]); - } - if (output[_zI] != null) { - contents[_ZIo] = (0, import_smithy_client.expectString)(output[_zI]); - } - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - if (output[_nBG] != null) { - contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); - } - if (output[_zT] != null) { - contents[_ZT] = (0, import_smithy_client.expectString)(output[_zT]); - } - if (output[_pZN] != null) { - contents[_PZN] = (0, import_smithy_client.expectString)(output[_pZN]); - } - if (output[_pZI] != null) { - contents[_PZI] = (0, import_smithy_client.expectString)(output[_pZI]); - } - return contents; -}, "de_AvailabilityZone"); -var de_AvailabilityZoneList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AvailabilityZone(entry, context); - }); -}, "de_AvailabilityZoneList"); -var de_AvailabilityZoneMessage = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_AvailabilityZoneMessage"); -var de_AvailabilityZoneMessageList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AvailabilityZoneMessage(entry, context); - }); -}, "de_AvailabilityZoneMessageList"); -var de_AvailableCapacity = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.availableInstanceCapacity === "") { - contents[_AIC] = []; - } else if (output[_aIC] != null && output[_aIC][_i] != null) { - contents[_AIC] = de_AvailableInstanceCapacityList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIC][_i]), context); - } - if (output[_aVC] != null) { - contents[_AVC] = (0, import_smithy_client.strictParseInt32)(output[_aVC]); - } - return contents; -}, "de_AvailableCapacity"); -var de_AvailableInstanceCapacityList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceCapacity(entry, context); - }); -}, "de_AvailableInstanceCapacityList"); -var de_BaselineEbsBandwidthMbps = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_m] != null) { - contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); - } - if (output[_ma] != null) { - contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); - } - return contents; -}, "de_BaselineEbsBandwidthMbps"); -var de_BlockDeviceMapping = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dN] != null) { - contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]); - } - if (output[_vN] != null) { - contents[_VN] = (0, import_smithy_client.expectString)(output[_vN]); - } - if (output[_eb] != null) { - contents[_E] = de_EbsBlockDevice(output[_eb], context); - } - if (output[_nD] != null) { - contents[_ND] = (0, import_smithy_client.expectString)(output[_nD]); - } - return contents; -}, "de_BlockDeviceMapping"); -var de_BlockDeviceMappingList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_BlockDeviceMapping(entry, context); - }); -}, "de_BlockDeviceMappingList"); -var de_BootModeTypeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_BootModeTypeList"); -var de_BundleInstanceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_bIT] != null) { - contents[_BTu] = de_BundleTask(output[_bIT], context); - } - return contents; -}, "de_BundleInstanceResult"); -var de_BundleTask = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_bI] != null) { - contents[_BIu] = (0, import_smithy_client.expectString)(output[_bI]); - } - if (output[_er] != null) { - contents[_BTE] = de_BundleTaskError(output[_er], context); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_pro] != null) { - contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); - } - if (output[_sT] != null) { - contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sto] != null) { - contents[_St] = de_Storage(output[_sto], context); - } - if (output[_uT] != null) { - contents[_UTp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uT])); - } - return contents; -}, "de_BundleTask"); -var de_BundleTaskError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_BundleTaskError"); -var de_BundleTaskList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_BundleTask(entry, context); - }); -}, "de_BundleTaskList"); -var de_Byoasn = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_as] != null) { - contents[_As] = (0, import_smithy_client.expectString)(output[_as]); - } - if (output[_iIp] != null) { - contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_Byoasn"); -var de_ByoasnSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Byoasn(entry, context); - }); -}, "de_ByoasnSet"); -var de_ByoipCidr = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ci] != null) { - contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.asnAssociationSet === "") { - contents[_AAsns] = []; - } else if (output[_aAS] != null && output[_aAS][_i] != null) { - contents[_AAsns] = de_AsnAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aAS][_i]), context); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_nBG] != null) { - contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); - } - return contents; -}, "de_ByoipCidr"); -var de_ByoipCidrSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ByoipCidr(entry, context); - }); -}, "de_ByoipCidrSet"); -var de_CancelBundleTaskResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_bIT] != null) { - contents[_BTu] = de_BundleTask(output[_bIT], context); - } - return contents; -}, "de_CancelBundleTaskResult"); -var de_CancelCapacityReservationFleetError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_CancelCapacityReservationFleetError"); -var de_CancelCapacityReservationFleetsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.successfulFleetCancellationSet === "") { - contents[_SFC] = []; - } else if (output[_sFCS] != null && output[_sFCS][_i] != null) { - contents[_SFC] = de_CapacityReservationFleetCancellationStateSet( - (0, import_smithy_client.getArrayIfSingleItem)(output[_sFCS][_i]), - context - ); - } - if (output.failedFleetCancellationSet === "") { - contents[_FFC] = []; - } else if (output[_fFCS] != null && output[_fFCS][_i] != null) { - contents[_FFC] = de_FailedCapacityReservationFleetCancellationResultSet( - (0, import_smithy_client.getArrayIfSingleItem)(output[_fFCS][_i]), - context - ); - } - return contents; -}, "de_CancelCapacityReservationFleetsResult"); -var de_CancelCapacityReservationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_CancelCapacityReservationResult"); -var de_CancelImageLaunchPermissionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_CancelImageLaunchPermissionResult"); -var de_CancelImportTaskResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iTI] != null) { - contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]); - } - if (output[_pS] != null) { - contents[_PSr] = (0, import_smithy_client.expectString)(output[_pS]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_CancelImportTaskResult"); -var de_CancelledSpotInstanceRequest = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIRI] != null) { - contents[_SIRIp] = (0, import_smithy_client.expectString)(output[_sIRI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_CancelledSpotInstanceRequest"); -var de_CancelledSpotInstanceRequestList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CancelledSpotInstanceRequest(entry, context); - }); -}, "de_CancelledSpotInstanceRequestList"); -var de_CancelReservedInstancesListingResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.reservedInstancesListingsSet === "") { - contents[_RIL] = []; - } else if (output[_rILS] != null && output[_rILS][_i] != null) { - contents[_RIL] = de_ReservedInstancesListingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rILS][_i]), context); - } - return contents; -}, "de_CancelReservedInstancesListingResult"); -var de_CancelSpotFleetRequestsError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_CancelSpotFleetRequestsError"); -var de_CancelSpotFleetRequestsErrorItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_er] != null) { - contents[_Er] = de_CancelSpotFleetRequestsError(output[_er], context); - } - if (output[_sFRI] != null) { - contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); - } - return contents; -}, "de_CancelSpotFleetRequestsErrorItem"); -var de_CancelSpotFleetRequestsErrorSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CancelSpotFleetRequestsErrorItem(entry, context); - }); -}, "de_CancelSpotFleetRequestsErrorSet"); -var de_CancelSpotFleetRequestsResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.successfulFleetRequestSet === "") { - contents[_SFR] = []; - } else if (output[_sFRS] != null && output[_sFRS][_i] != null) { - contents[_SFR] = de_CancelSpotFleetRequestsSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sFRS][_i]), context); - } - if (output.unsuccessfulFleetRequestSet === "") { - contents[_UFR] = []; - } else if (output[_uFRS] != null && output[_uFRS][_i] != null) { - contents[_UFR] = de_CancelSpotFleetRequestsErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_uFRS][_i]), context); - } - return contents; -}, "de_CancelSpotFleetRequestsResponse"); -var de_CancelSpotFleetRequestsSuccessItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cSFRS] != null) { - contents[_CSFRS] = (0, import_smithy_client.expectString)(output[_cSFRS]); - } - if (output[_pSFRS] != null) { - contents[_PSFRS] = (0, import_smithy_client.expectString)(output[_pSFRS]); - } - if (output[_sFRI] != null) { - contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); - } - return contents; -}, "de_CancelSpotFleetRequestsSuccessItem"); -var de_CancelSpotFleetRequestsSuccessSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CancelSpotFleetRequestsSuccessItem(entry, context); - }); -}, "de_CancelSpotFleetRequestsSuccessSet"); -var de_CancelSpotInstanceRequestsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.spotInstanceRequestSet === "") { - contents[_CSIRa] = []; - } else if (output[_sIRS] != null && output[_sIRS][_i] != null) { - contents[_CSIRa] = de_CancelledSpotInstanceRequestList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIRS][_i]), context); - } - return contents; -}, "de_CancelSpotInstanceRequestsResult"); -var de_CapacityAllocation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aTl] != null) { - contents[_ATl] = (0, import_smithy_client.expectString)(output[_aTl]); - } - if (output[_cou] != null) { - contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); - } - return contents; -}, "de_CapacityAllocation"); -var de_CapacityAllocations = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CapacityAllocation(entry, context); - }); -}, "de_CapacityAllocations"); -var de_CapacityBlockOffering = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cBOI] != null) { - contents[_CBOI] = (0, import_smithy_client.expectString)(output[_cBOI]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_iC] != null) { - contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); - } - if (output[_sD] != null) { - contents[_SDt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD])); - } - if (output[_eD] != null) { - contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); - } - if (output[_cBDH] != null) { - contents[_CBDH] = (0, import_smithy_client.strictParseInt32)(output[_cBDH]); - } - if (output[_uF] != null) { - contents[_UF] = (0, import_smithy_client.expectString)(output[_uF]); - } - if (output[_cC] != null) { - contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); - } - if (output[_t] != null) { - contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); - } - return contents; -}, "de_CapacityBlockOffering"); -var de_CapacityBlockOfferingSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CapacityBlockOffering(entry, context); - }); -}, "de_CapacityBlockOfferingSet"); -var de_CapacityReservation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cRI] != null) { - contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_cRA] != null) { - contents[_CRA] = (0, import_smithy_client.expectString)(output[_cRA]); - } - if (output[_aZI] != null) { - contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_iPn] != null) { - contents[_IPn] = (0, import_smithy_client.expectString)(output[_iPn]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_t] != null) { - contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); - } - if (output[_tIC] != null) { - contents[_TICo] = (0, import_smithy_client.strictParseInt32)(output[_tIC]); - } - if (output[_aICv] != null) { - contents[_AICv] = (0, import_smithy_client.strictParseInt32)(output[_aICv]); - } - if (output[_eO] != null) { - contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); - } - if (output[_eS] != null) { - contents[_ES] = (0, import_smithy_client.parseBoolean)(output[_eS]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sD] != null) { - contents[_SDt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD])); - } - if (output[_eD] != null) { - contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); - } - if (output[_eDT] != null) { - contents[_EDT] = (0, import_smithy_client.expectString)(output[_eDT]); - } - if (output[_iMC] != null) { - contents[_IMC] = (0, import_smithy_client.expectString)(output[_iMC]); - } - if (output[_cD] != null) { - contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD])); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output[_cRFI] != null) { - contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]); - } - if (output[_pGA] != null) { - contents[_PGA] = (0, import_smithy_client.expectString)(output[_pGA]); - } - if (output.capacityAllocationSet === "") { - contents[_CAa] = []; - } else if (output[_cAS] != null && output[_cAS][_i] != null) { - contents[_CAa] = de_CapacityAllocations((0, import_smithy_client.getArrayIfSingleItem)(output[_cAS][_i]), context); - } - if (output[_rT] != null) { - contents[_RTe] = (0, import_smithy_client.expectString)(output[_rT]); - } - return contents; -}, "de_CapacityReservation"); -var de_CapacityReservationFleet = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cRFI] != null) { - contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]); - } - if (output[_cRFA] != null) { - contents[_CRFA] = (0, import_smithy_client.expectString)(output[_cRFA]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_tTC] != null) { - contents[_TTC] = (0, import_smithy_client.strictParseInt32)(output[_tTC]); - } - if (output[_tFC] != null) { - contents[_TFC] = (0, import_smithy_client.strictParseFloat)(output[_tFC]); - } - if (output[_t] != null) { - contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); - } - if (output[_eD] != null) { - contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); - } - if (output[_cTr] != null) { - contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); - } - if (output[_iMC] != null) { - contents[_IMC] = (0, import_smithy_client.expectString)(output[_iMC]); - } - if (output[_aSl] != null) { - contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]); - } - if (output.instanceTypeSpecificationSet === "") { - contents[_ITS] = []; - } else if (output[_iTSS] != null && output[_iTSS][_i] != null) { - contents[_ITS] = de_FleetCapacityReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iTSS][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_CapacityReservationFleet"); -var de_CapacityReservationFleetCancellationState = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cFS] != null) { - contents[_CFS] = (0, import_smithy_client.expectString)(output[_cFS]); - } - if (output[_pFS] != null) { - contents[_PFS] = (0, import_smithy_client.expectString)(output[_pFS]); - } - if (output[_cRFI] != null) { - contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]); - } - return contents; -}, "de_CapacityReservationFleetCancellationState"); -var de_CapacityReservationFleetCancellationStateSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CapacityReservationFleetCancellationState(entry, context); - }); -}, "de_CapacityReservationFleetCancellationStateSet"); -var de_CapacityReservationFleetSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CapacityReservationFleet(entry, context); - }); -}, "de_CapacityReservationFleetSet"); -var de_CapacityReservationGroup = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gA] != null) { - contents[_GA] = (0, import_smithy_client.expectString)(output[_gA]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - return contents; -}, "de_CapacityReservationGroup"); -var de_CapacityReservationGroupSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CapacityReservationGroup(entry, context); - }); -}, "de_CapacityReservationGroupSet"); -var de_CapacityReservationOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_uS] != null) { - contents[_USs] = (0, import_smithy_client.expectString)(output[_uS]); - } - return contents; -}, "de_CapacityReservationOptions"); -var de_CapacityReservationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CapacityReservation(entry, context); - }); -}, "de_CapacityReservationSet"); -var de_CapacityReservationSpecificationResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cRP] != null) { - contents[_CRP] = (0, import_smithy_client.expectString)(output[_cRP]); - } - if (output[_cRT] != null) { - contents[_CRTa] = de_CapacityReservationTargetResponse(output[_cRT], context); - } - return contents; -}, "de_CapacityReservationSpecificationResponse"); -var de_CapacityReservationTargetResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cRI] != null) { - contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]); - } - if (output[_cRRGA] != null) { - contents[_CRRGA] = (0, import_smithy_client.expectString)(output[_cRRGA]); - } - return contents; -}, "de_CapacityReservationTargetResponse"); -var de_CarrierGateway = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cGI] != null) { - contents[_CGI] = (0, import_smithy_client.expectString)(output[_cGI]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_CarrierGateway"); -var de_CarrierGatewaySet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CarrierGateway(entry, context); - }); -}, "de_CarrierGatewaySet"); -var de_CertificateAuthentication = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cRCC] != null) { - contents[_CRCC] = (0, import_smithy_client.expectString)(output[_cRCC]); - } - return contents; -}, "de_CertificateAuthentication"); -var de_CidrBlock = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cB] != null) { - contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); - } - return contents; -}, "de_CidrBlock"); -var de_CidrBlockSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CidrBlock(entry, context); - }); -}, "de_CidrBlockSet"); -var de_ClassicLinkDnsSupport = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cLDS] != null) { - contents[_CLDS] = (0, import_smithy_client.parseBoolean)(output[_cLDS]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - return contents; -}, "de_ClassicLinkDnsSupport"); -var de_ClassicLinkDnsSupportList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ClassicLinkDnsSupport(entry, context); - }); -}, "de_ClassicLinkDnsSupportList"); -var de_ClassicLinkInstance = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.groupSet === "") { - contents[_G] = []; - } else if (output[_gS] != null && output[_gS][_i] != null) { - contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - return contents; -}, "de_ClassicLinkInstance"); -var de_ClassicLinkInstanceList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ClassicLinkInstance(entry, context); - }); -}, "de_ClassicLinkInstanceList"); -var de_ClassicLoadBalancer = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - return contents; -}, "de_ClassicLoadBalancer"); -var de_ClassicLoadBalancers = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ClassicLoadBalancer(entry, context); - }); -}, "de_ClassicLoadBalancers"); -var de_ClassicLoadBalancersConfig = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.classicLoadBalancers === "") { - contents[_CLB] = []; - } else if (output[_cLB] != null && output[_cLB][_i] != null) { - contents[_CLB] = de_ClassicLoadBalancers((0, import_smithy_client.getArrayIfSingleItem)(output[_cLB][_i]), context); - } - return contents; -}, "de_ClassicLoadBalancersConfig"); -var de_ClientCertificateRevocationListStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_ClientCertificateRevocationListStatus"); -var de_ClientConnectResponseOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_en] != null) { - contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); - } - if (output[_lFA] != null) { - contents[_LFA] = (0, import_smithy_client.expectString)(output[_lFA]); - } - if (output[_sta] != null) { - contents[_Statu] = de_ClientVpnEndpointAttributeStatus(output[_sta], context); - } - return contents; -}, "de_ClientConnectResponseOptions"); -var de_ClientLoginBannerResponseOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_en] != null) { - contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); - } - if (output[_bT] != null) { - contents[_BT] = (0, import_smithy_client.expectString)(output[_bT]); - } - return contents; -}, "de_ClientLoginBannerResponseOptions"); -var de_ClientVpnAuthentication = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - if (output[_aD] != null) { - contents[_AD] = de_DirectoryServiceAuthentication(output[_aD], context); - } - if (output[_mA] != null) { - contents[_MA] = de_CertificateAuthentication(output[_mA], context); - } - if (output[_fA] != null) { - contents[_FA] = de_FederatedAuthentication(output[_fA], context); - } - return contents; -}, "de_ClientVpnAuthentication"); -var de_ClientVpnAuthenticationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ClientVpnAuthentication(entry, context); - }); -}, "de_ClientVpnAuthenticationList"); -var de_ClientVpnAuthorizationRuleStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_ClientVpnAuthorizationRuleStatus"); -var de_ClientVpnConnection = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cVEI] != null) { - contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); - } - if (output[_ti] != null) { - contents[_Tim] = (0, import_smithy_client.expectString)(output[_ti]); - } - if (output[_cIon] != null) { - contents[_CIo] = (0, import_smithy_client.expectString)(output[_cIon]); - } - if (output[_us] != null) { - contents[_Us] = (0, import_smithy_client.expectString)(output[_us]); - } - if (output[_cET] != null) { - contents[_CETo] = (0, import_smithy_client.expectString)(output[_cET]); - } - if (output[_iB] != null) { - contents[_IB] = (0, import_smithy_client.expectString)(output[_iB]); - } - if (output[_eB] != null) { - contents[_EB] = (0, import_smithy_client.expectString)(output[_eB]); - } - if (output[_iPng] != null) { - contents[_IPng] = (0, import_smithy_client.expectString)(output[_iPng]); - } - if (output[_eP] != null) { - contents[_EPg] = (0, import_smithy_client.expectString)(output[_eP]); - } - if (output[_cIl] != null) { - contents[_CIli] = (0, import_smithy_client.expectString)(output[_cIl]); - } - if (output[_cN] != null) { - contents[_CN] = (0, import_smithy_client.expectString)(output[_cN]); - } - if (output[_sta] != null) { - contents[_Statu] = de_ClientVpnConnectionStatus(output[_sta], context); - } - if (output[_cETo] != null) { - contents[_CETon] = (0, import_smithy_client.expectString)(output[_cETo]); - } - if (output.postureComplianceStatusSet === "") { - contents[_PCS] = []; - } else if (output[_pCSS] != null && output[_pCSS][_i] != null) { - contents[_PCS] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_pCSS][_i]), context); - } - return contents; -}, "de_ClientVpnConnection"); -var de_ClientVpnConnectionSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ClientVpnConnection(entry, context); - }); -}, "de_ClientVpnConnectionSet"); -var de_ClientVpnConnectionStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_ClientVpnConnectionStatus"); -var de_ClientVpnEndpoint = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cVEI] != null) { - contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_sta] != null) { - contents[_Statu] = de_ClientVpnEndpointStatus(output[_sta], context); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]); - } - if (output[_dT] != null) { - contents[_DTel] = (0, import_smithy_client.expectString)(output[_dT]); - } - if (output[_dNn] != null) { - contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]); - } - if (output[_cCB] != null) { - contents[_CCB] = (0, import_smithy_client.expectString)(output[_cCB]); - } - if (output.dnsServer === "") { - contents[_DSn] = []; - } else if (output[_dS] != null && output[_dS][_i] != null) { - contents[_DSn] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dS][_i]), context); - } - if (output[_sTp] != null) { - contents[_ST] = (0, import_smithy_client.parseBoolean)(output[_sTp]); - } - if (output[_vP] != null) { - contents[_VPp] = (0, import_smithy_client.expectString)(output[_vP]); - } - if (output[_tP] != null) { - contents[_TPr] = (0, import_smithy_client.expectString)(output[_tP]); - } - if (output[_vPp] != null) { - contents[_VP] = (0, import_smithy_client.strictParseInt32)(output[_vPp]); - } - if (output.associatedTargetNetwork === "") { - contents[_ATN] = []; - } else if (output[_aTN] != null && output[_aTN][_i] != null) { - contents[_ATN] = de_AssociatedTargetNetworkSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aTN][_i]), context); - } - if (output[_sCA] != null) { - contents[_SCA] = (0, import_smithy_client.expectString)(output[_sCA]); - } - if (output.authenticationOptions === "") { - contents[_AO] = []; - } else if (output[_aO] != null && output[_aO][_i] != null) { - contents[_AO] = de_ClientVpnAuthenticationList((0, import_smithy_client.getArrayIfSingleItem)(output[_aO][_i]), context); - } - if (output[_cLO] != null) { - contents[_CLO] = de_ConnectionLogResponseOptions(output[_cLO], context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output.securityGroupIdSet === "") { - contents[_SGI] = []; - } else if (output[_sGIS] != null && output[_sGIS][_i] != null) { - contents[_SGI] = de_ClientVpnSecurityGroupIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIS][_i]), context); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_sSPU] != null) { - contents[_SSPU] = (0, import_smithy_client.expectString)(output[_sSPU]); - } - if (output[_cCO] != null) { - contents[_CCO] = de_ClientConnectResponseOptions(output[_cCO], context); - } - if (output[_sTH] != null) { - contents[_STH] = (0, import_smithy_client.strictParseInt32)(output[_sTH]); - } - if (output[_cLBO] != null) { - contents[_CLBO] = de_ClientLoginBannerResponseOptions(output[_cLBO], context); - } - return contents; -}, "de_ClientVpnEndpoint"); -var de_ClientVpnEndpointAttributeStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_ClientVpnEndpointAttributeStatus"); -var de_ClientVpnEndpointStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_ClientVpnEndpointStatus"); -var de_ClientVpnRoute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cVEI] != null) { - contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); - } - if (output[_dC] != null) { - contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]); - } - if (output[_tSa] != null) { - contents[_TSa] = (0, import_smithy_client.expectString)(output[_tSa]); - } - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - if (output[_o] != null) { - contents[_Or] = (0, import_smithy_client.expectString)(output[_o]); - } - if (output[_sta] != null) { - contents[_Statu] = de_ClientVpnRouteStatus(output[_sta], context); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - return contents; -}, "de_ClientVpnRoute"); -var de_ClientVpnRouteSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ClientVpnRoute(entry, context); - }); -}, "de_ClientVpnRouteSet"); -var de_ClientVpnRouteStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_ClientVpnRouteStatus"); -var de_ClientVpnSecurityGroupIdSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_ClientVpnSecurityGroupIdSet"); -var de_CloudWatchLogOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lE] != null) { - contents[_LE] = (0, import_smithy_client.parseBoolean)(output[_lE]); - } - if (output[_lGA] != null) { - contents[_LGA] = (0, import_smithy_client.expectString)(output[_lGA]); - } - if (output[_lOF] != null) { - contents[_LOF] = (0, import_smithy_client.expectString)(output[_lOF]); - } - return contents; -}, "de_CloudWatchLogOptions"); -var de_CoipAddressUsage = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aI] != null) { - contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); - } - if (output[_aAI] != null) { - contents[_AAI] = (0, import_smithy_client.expectString)(output[_aAI]); - } - if (output[_aSw] != null) { - contents[_ASw] = (0, import_smithy_client.expectString)(output[_aSw]); - } - if (output[_cIop] != null) { - contents[_CIop] = (0, import_smithy_client.expectString)(output[_cIop]); - } - return contents; -}, "de_CoipAddressUsage"); -var de_CoipAddressUsageSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CoipAddressUsage(entry, context); - }); -}, "de_CoipAddressUsageSet"); -var de_CoipCidr = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ci] != null) { - contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); - } - if (output[_cPI] != null) { - contents[_CPIo] = (0, import_smithy_client.expectString)(output[_cPI]); - } - if (output[_lGRTI] != null) { - contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); - } - return contents; -}, "de_CoipCidr"); -var de_CoipPool = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pIo] != null) { - contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); - } - if (output.poolCidrSet === "") { - contents[_PCo] = []; - } else if (output[_pCS] != null && output[_pCS][_i] != null) { - contents[_PCo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_pCS][_i]), context); - } - if (output[_lGRTI] != null) { - contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_pA] != null) { - contents[_PAo] = (0, import_smithy_client.expectString)(output[_pA]); - } - return contents; -}, "de_CoipPool"); -var de_CoipPoolSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CoipPool(entry, context); - }); -}, "de_CoipPoolSet"); -var de_ConfirmProductInstanceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ConfirmProductInstanceResult"); -var de_ConnectionLogResponseOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_En] != null) { - contents[_En] = (0, import_smithy_client.parseBoolean)(output[_En]); - } - if (output[_CLG] != null) { - contents[_CLG] = (0, import_smithy_client.expectString)(output[_CLG]); - } - if (output[_CLS] != null) { - contents[_CLS] = (0, import_smithy_client.expectString)(output[_CLS]); - } - return contents; -}, "de_ConnectionLogResponseOptions"); -var de_ConnectionNotification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cNI] != null) { - contents[_CNIon] = (0, import_smithy_client.expectString)(output[_cNI]); - } - if (output[_sI] != null) { - contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); - } - if (output[_vEI] != null) { - contents[_VEIp] = (0, import_smithy_client.expectString)(output[_vEI]); - } - if (output[_cNT] != null) { - contents[_CNT] = (0, import_smithy_client.expectString)(output[_cNT]); - } - if (output[_cNAo] != null) { - contents[_CNAon] = (0, import_smithy_client.expectString)(output[_cNAo]); - } - if (output.connectionEvents === "") { - contents[_CEo] = []; - } else if (output[_cE] != null && output[_cE][_i] != null) { - contents[_CEo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_cE][_i]), context); - } - if (output[_cNS] != null) { - contents[_CNS] = (0, import_smithy_client.expectString)(output[_cNS]); - } - return contents; -}, "de_ConnectionNotification"); -var de_ConnectionNotificationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ConnectionNotification(entry, context); - }); -}, "de_ConnectionNotificationSet"); -var de_ConnectionTrackingConfiguration = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tET] != null) { - contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_tET]); - } - if (output[_uST] != null) { - contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_uST]); - } - if (output[_uTd] != null) { - contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_uTd]); - } - return contents; -}, "de_ConnectionTrackingConfiguration"); -var de_ConnectionTrackingSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tET] != null) { - contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_tET]); - } - if (output[_uTd] != null) { - contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_uTd]); - } - if (output[_uST] != null) { - contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_uST]); - } - return contents; -}, "de_ConnectionTrackingSpecification"); -var de_ConnectionTrackingSpecificationRequest = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_TET] != null) { - contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_TET]); - } - if (output[_UST] != null) { - contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_UST]); - } - if (output[_UT] != null) { - contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_UT]); - } - return contents; -}, "de_ConnectionTrackingSpecificationRequest"); -var de_ConnectionTrackingSpecificationResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tET] != null) { - contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_tET]); - } - if (output[_uST] != null) { - contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_uST]); - } - if (output[_uTd] != null) { - contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_uTd]); - } - return contents; -}, "de_ConnectionTrackingSpecificationResponse"); -var de_ConversionTask = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cTI] != null) { - contents[_CTI] = (0, import_smithy_client.expectString)(output[_cTI]); - } - if (output[_eT] != null) { - contents[_ETx] = (0, import_smithy_client.expectString)(output[_eT]); - } - if (output[_iIm] != null) { - contents[_IIm] = de_ImportInstanceTaskDetails(output[_iIm], context); - } - if (output[_iV] != null) { - contents[_IV] = de_ImportVolumeTaskDetails(output[_iV], context); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_ConversionTask"); -var de_CopyFpgaImageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fII] != null) { - contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]); - } - return contents; -}, "de_CopyFpgaImageResult"); -var de_CopyImageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - return contents; -}, "de_CopyImageResult"); -var de_CopySnapshotResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_CopySnapshotResult"); -var de_CoreCountList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.strictParseInt32)(entry); - }); -}, "de_CoreCountList"); -var de_CpuManufacturerSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_CpuManufacturerSet"); -var de_CpuOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cCo] != null) { - contents[_CC] = (0, import_smithy_client.strictParseInt32)(output[_cCo]); - } - if (output[_tPC] != null) { - contents[_TPC] = (0, import_smithy_client.strictParseInt32)(output[_tPC]); - } - if (output[_aSS] != null) { - contents[_ASS] = (0, import_smithy_client.expectString)(output[_aSS]); - } - return contents; -}, "de_CpuOptions"); -var de_CreateCapacityReservationFleetResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cRFI] != null) { - contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_tTC] != null) { - contents[_TTC] = (0, import_smithy_client.strictParseInt32)(output[_tTC]); - } - if (output[_tFC] != null) { - contents[_TFC] = (0, import_smithy_client.strictParseFloat)(output[_tFC]); - } - if (output[_iMC] != null) { - contents[_IMC] = (0, import_smithy_client.expectString)(output[_iMC]); - } - if (output[_aSl] != null) { - contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]); - } - if (output[_cTr] != null) { - contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); - } - if (output[_eD] != null) { - contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); - } - if (output[_t] != null) { - contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); - } - if (output.fleetCapacityReservationSet === "") { - contents[_FCR] = []; - } else if (output[_fCRS] != null && output[_fCRS][_i] != null) { - contents[_FCR] = de_FleetCapacityReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fCRS][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_CreateCapacityReservationFleetResult"); -var de_CreateCapacityReservationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cR] != null) { - contents[_CRapa] = de_CapacityReservation(output[_cR], context); - } - return contents; -}, "de_CreateCapacityReservationResult"); -var de_CreateCarrierGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cG] != null) { - contents[_CG] = de_CarrierGateway(output[_cG], context); - } - return contents; -}, "de_CreateCarrierGatewayResult"); -var de_CreateClientVpnEndpointResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cVEI] != null) { - contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); - } - if (output[_sta] != null) { - contents[_Statu] = de_ClientVpnEndpointStatus(output[_sta], context); - } - if (output[_dNn] != null) { - contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]); - } - return contents; -}, "de_CreateClientVpnEndpointResult"); -var de_CreateClientVpnRouteResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sta] != null) { - contents[_Statu] = de_ClientVpnRouteStatus(output[_sta], context); - } - return contents; -}, "de_CreateClientVpnRouteResult"); -var de_CreateCoipCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cCoi] != null) { - contents[_CCo] = de_CoipCidr(output[_cCoi], context); - } - return contents; -}, "de_CreateCoipCidrResult"); -var de_CreateCoipPoolResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cP] != null) { - contents[_CP] = de_CoipPool(output[_cP], context); - } - return contents; -}, "de_CreateCoipPoolResult"); -var de_CreateCustomerGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cGu] != null) { - contents[_CGu] = de_CustomerGateway(output[_cGu], context); - } - return contents; -}, "de_CreateCustomerGatewayResult"); -var de_CreateDefaultSubnetResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_su] != null) { - contents[_Su] = de_Subnet(output[_su], context); - } - return contents; -}, "de_CreateDefaultSubnetResult"); -var de_CreateDefaultVpcResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vp] != null) { - contents[_Vp] = de_Vpc(output[_vp], context); - } - return contents; -}, "de_CreateDefaultVpcResult"); -var de_CreateDhcpOptionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dO] != null) { - contents[_DOh] = de_DhcpOptions(output[_dO], context); - } - return contents; -}, "de_CreateDhcpOptionsResult"); -var de_CreateEgressOnlyInternetGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - if (output[_eOIG] != null) { - contents[_EOIG] = de_EgressOnlyInternetGateway(output[_eOIG], context); - } - return contents; -}, "de_CreateEgressOnlyInternetGatewayResult"); -var de_CreateFleetError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTAO] != null) { - contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context); - } - if (output[_l] != null) { - contents[_Li] = (0, import_smithy_client.expectString)(output[_l]); - } - if (output[_eC] != null) { - contents[_EC] = (0, import_smithy_client.expectString)(output[_eC]); - } - if (output[_eM] != null) { - contents[_EM] = (0, import_smithy_client.expectString)(output[_eM]); - } - return contents; -}, "de_CreateFleetError"); -var de_CreateFleetErrorsSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CreateFleetError(entry, context); - }); -}, "de_CreateFleetErrorsSet"); -var de_CreateFleetInstance = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTAO] != null) { - contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context); - } - if (output[_l] != null) { - contents[_Li] = (0, import_smithy_client.expectString)(output[_l]); - } - if (output.instanceIds === "") { - contents[_IIns] = []; - } else if (output[_iIn] != null && output[_iIn][_i] != null) { - contents[_IIns] = de_InstanceIdsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIn][_i]), context); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_pl] != null) { - contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); - } - return contents; -}, "de_CreateFleetInstance"); -var de_CreateFleetInstancesSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CreateFleetInstance(entry, context); - }); -}, "de_CreateFleetInstancesSet"); -var de_CreateFleetResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fIl] != null) { - contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); - } - if (output.errorSet === "") { - contents[_Err] = []; - } else if (output[_eSr] != null && output[_eSr][_i] != null) { - contents[_Err] = de_CreateFleetErrorsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSr][_i]), context); - } - if (output.fleetInstanceSet === "") { - contents[_In] = []; - } else if (output[_fIS] != null && output[_fIS][_i] != null) { - contents[_In] = de_CreateFleetInstancesSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fIS][_i]), context); - } - return contents; -}, "de_CreateFleetResult"); -var de_CreateFlowLogsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - if (output.flowLogIdSet === "") { - contents[_FLI] = []; - } else if (output[_fLIS] != null && output[_fLIS][_i] != null) { - contents[_FLI] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_fLIS][_i]), context); - } - if (output.unsuccessful === "") { - contents[_Un] = []; - } else if (output[_u] != null && output[_u][_i] != null) { - contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); - } - return contents; -}, "de_CreateFlowLogsResult"); -var de_CreateFpgaImageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fII] != null) { - contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]); - } - if (output[_fIGI] != null) { - contents[_FIGI] = (0, import_smithy_client.expectString)(output[_fIGI]); - } - return contents; -}, "de_CreateFpgaImageResult"); -var de_CreateImageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - return contents; -}, "de_CreateImageResult"); -var de_CreateInstanceConnectEndpointResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iCE] != null) { - contents[_ICE] = de_Ec2InstanceConnectEndpoint(output[_iCE], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_CreateInstanceConnectEndpointResult"); -var de_CreateInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iEW] != null) { - contents[_IEW] = de_InstanceEventWindow(output[_iEW], context); - } - return contents; -}, "de_CreateInstanceEventWindowResult"); -var de_CreateInstanceExportTaskResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eTx] != null) { - contents[_ETxp] = de_ExportTask(output[_eTx], context); - } - return contents; -}, "de_CreateInstanceExportTaskResult"); -var de_CreateInternetGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iG] != null) { - contents[_IGn] = de_InternetGateway(output[_iG], context); - } - return contents; -}, "de_CreateInternetGatewayResult"); -var de_CreateIpamPoolResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPp] != null) { - contents[_IPpa] = de_IpamPool(output[_iPp], context); - } - return contents; -}, "de_CreateIpamPoolResult"); -var de_CreateIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iRD] != null) { - contents[_IRD] = de_IpamResourceDiscovery(output[_iRD], context); - } - return contents; -}, "de_CreateIpamResourceDiscoveryResult"); -var de_CreateIpamResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ip] != null) { - contents[_Ipa] = de_Ipam(output[_ip], context); - } - return contents; -}, "de_CreateIpamResult"); -var de_CreateIpamScopeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iS] != null) { - contents[_ISpa] = de_IpamScope(output[_iS], context); - } - return contents; -}, "de_CreateIpamScopeResult"); -var de_CreateLaunchTemplateResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lT] != null) { - contents[_LTa] = de_LaunchTemplate(output[_lT], context); - } - if (output[_w] != null) { - contents[_Wa] = de_ValidationWarning(output[_w], context); - } - return contents; -}, "de_CreateLaunchTemplateResult"); -var de_CreateLaunchTemplateVersionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTV] != null) { - contents[_LTV] = de_LaunchTemplateVersion(output[_lTV], context); - } - if (output[_w] != null) { - contents[_Wa] = de_ValidationWarning(output[_w], context); - } - return contents; -}, "de_CreateLaunchTemplateVersionResult"); -var de_CreateLocalGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ro] != null) { - contents[_Ro] = de_LocalGatewayRoute(output[_ro], context); - } - return contents; -}, "de_CreateLocalGatewayRouteResult"); -var de_CreateLocalGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGRT] != null) { - contents[_LGRT] = de_LocalGatewayRouteTable(output[_lGRT], context); - } - return contents; -}, "de_CreateLocalGatewayRouteTableResult"); -var de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGRTVIGA] != null) { - contents[_LGRTVIGA] = de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation(output[_lGRTVIGA], context); - } - return contents; -}, "de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult"); -var de_CreateLocalGatewayRouteTableVpcAssociationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGRTVA] != null) { - contents[_LGRTVA] = de_LocalGatewayRouteTableVpcAssociation(output[_lGRTVA], context); - } - return contents; -}, "de_CreateLocalGatewayRouteTableVpcAssociationResult"); -var de_CreateManagedPrefixListResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pL] != null) { - contents[_PLr] = de_ManagedPrefixList(output[_pL], context); - } - return contents; -}, "de_CreateManagedPrefixListResult"); -var de_CreateNatGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - if (output[_nG] != null) { - contents[_NG] = de_NatGateway(output[_nG], context); - } - return contents; -}, "de_CreateNatGatewayResult"); -var de_CreateNetworkAclResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nA] != null) { - contents[_NA] = de_NetworkAcl(output[_nA], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_CreateNetworkAclResult"); -var de_CreateNetworkInsightsAccessScopeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIAS] != null) { - contents[_NIAS] = de_NetworkInsightsAccessScope(output[_nIAS], context); - } - if (output[_nIASC] != null) { - contents[_NIASC] = de_NetworkInsightsAccessScopeContent(output[_nIASC], context); - } - return contents; -}, "de_CreateNetworkInsightsAccessScopeResult"); -var de_CreateNetworkInsightsPathResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIP] != null) { - contents[_NIP] = de_NetworkInsightsPath(output[_nIP], context); - } - return contents; -}, "de_CreateNetworkInsightsPathResult"); -var de_CreateNetworkInterfacePermissionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPnt] != null) { - contents[_IPnt] = de_NetworkInterfacePermission(output[_iPnt], context); - } - return contents; -}, "de_CreateNetworkInterfacePermissionResult"); -var de_CreateNetworkInterfaceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIe] != null) { - contents[_NIet] = de_NetworkInterface(output[_nIe], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_CreateNetworkInterfaceResult"); -var de_CreatePlacementGroupResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pG] != null) { - contents[_PG] = de_PlacementGroup(output[_pG], context); - } - return contents; -}, "de_CreatePlacementGroupResult"); -var de_CreatePublicIpv4PoolResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pIo] != null) { - contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); - } - return contents; -}, "de_CreatePublicIpv4PoolResult"); -var de_CreateReplaceRootVolumeTaskResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rRVT] != null) { - contents[_RRVT] = de_ReplaceRootVolumeTask(output[_rRVT], context); - } - return contents; -}, "de_CreateReplaceRootVolumeTaskResult"); -var de_CreateReservedInstancesListingResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.reservedInstancesListingsSet === "") { - contents[_RIL] = []; - } else if (output[_rILS] != null && output[_rILS][_i] != null) { - contents[_RIL] = de_ReservedInstancesListingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rILS][_i]), context); - } - return contents; -}, "de_CreateReservedInstancesListingResult"); -var de_CreateRestoreImageTaskResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - return contents; -}, "de_CreateRestoreImageTaskResult"); -var de_CreateRouteResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_CreateRouteResult"); -var de_CreateRouteTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rTo] != null) { - contents[_RTo] = de_RouteTable(output[_rTo], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_CreateRouteTableResult"); -var de_CreateSecurityGroupResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_CreateSecurityGroupResult"); -var de_CreateSnapshotsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.snapshotSet === "") { - contents[_Sn] = []; - } else if (output[_sS] != null && output[_sS][_i] != null) { - contents[_Sn] = de_SnapshotSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context); - } - return contents; -}, "de_CreateSnapshotsResult"); -var de_CreateSpotDatafeedSubscriptionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sDS] != null) { - contents[_SDS] = de_SpotDatafeedSubscription(output[_sDS], context); - } - return contents; -}, "de_CreateSpotDatafeedSubscriptionResult"); -var de_CreateStoreImageTaskResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_oK] != null) { - contents[_OK] = (0, import_smithy_client.expectString)(output[_oK]); - } - return contents; -}, "de_CreateStoreImageTaskResult"); -var de_CreateSubnetCidrReservationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sCR] != null) { - contents[_SCR] = de_SubnetCidrReservation(output[_sCR], context); - } - return contents; -}, "de_CreateSubnetCidrReservationResult"); -var de_CreateSubnetResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_su] != null) { - contents[_Su] = de_Subnet(output[_su], context); - } - return contents; -}, "de_CreateSubnetResult"); -var de_CreateTrafficMirrorFilterResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMF] != null) { - contents[_TMF] = de_TrafficMirrorFilter(output[_tMF], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_CreateTrafficMirrorFilterResult"); -var de_CreateTrafficMirrorFilterRuleResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMFR] != null) { - contents[_TMFR] = de_TrafficMirrorFilterRule(output[_tMFR], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_CreateTrafficMirrorFilterRuleResult"); -var de_CreateTrafficMirrorSessionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMS] != null) { - contents[_TMS] = de_TrafficMirrorSession(output[_tMS], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_CreateTrafficMirrorSessionResult"); -var de_CreateTrafficMirrorTargetResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMT] != null) { - contents[_TMT] = de_TrafficMirrorTarget(output[_tMT], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_CreateTrafficMirrorTargetResult"); -var de_CreateTransitGatewayConnectPeerResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGCP] != null) { - contents[_TGCP] = de_TransitGatewayConnectPeer(output[_tGCP], context); - } - return contents; -}, "de_CreateTransitGatewayConnectPeerResult"); -var de_CreateTransitGatewayConnectResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGC] != null) { - contents[_TGCr] = de_TransitGatewayConnect(output[_tGC], context); - } - return contents; -}, "de_CreateTransitGatewayConnectResult"); -var de_CreateTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGMD] != null) { - contents[_TGMD] = de_TransitGatewayMulticastDomain(output[_tGMD], context); - } - return contents; -}, "de_CreateTransitGatewayMulticastDomainResult"); -var de_CreateTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGPA] != null) { - contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context); - } - return contents; -}, "de_CreateTransitGatewayPeeringAttachmentResult"); -var de_CreateTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGPT] != null) { - contents[_TGPT] = de_TransitGatewayPolicyTable(output[_tGPT], context); - } - return contents; -}, "de_CreateTransitGatewayPolicyTableResult"); -var de_CreateTransitGatewayPrefixListReferenceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGPLR] != null) { - contents[_TGPLR] = de_TransitGatewayPrefixListReference(output[_tGPLR], context); - } - return contents; -}, "de_CreateTransitGatewayPrefixListReferenceResult"); -var de_CreateTransitGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tG] != null) { - contents[_TGr] = de_TransitGateway(output[_tG], context); - } - return contents; -}, "de_CreateTransitGatewayResult"); -var de_CreateTransitGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ro] != null) { - contents[_Ro] = de_TransitGatewayRoute(output[_ro], context); - } - return contents; -}, "de_CreateTransitGatewayRouteResult"); -var de_CreateTransitGatewayRouteTableAnnouncementResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGRTA] != null) { - contents[_TGRTA] = de_TransitGatewayRouteTableAnnouncement(output[_tGRTA], context); - } - return contents; -}, "de_CreateTransitGatewayRouteTableAnnouncementResult"); -var de_CreateTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGRT] != null) { - contents[_TGRT] = de_TransitGatewayRouteTable(output[_tGRT], context); - } - return contents; -}, "de_CreateTransitGatewayRouteTableResult"); -var de_CreateTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGVA] != null) { - contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context); - } - return contents; -}, "de_CreateTransitGatewayVpcAttachmentResult"); -var de_CreateVerifiedAccessEndpointResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAE] != null) { - contents[_VAE] = de_VerifiedAccessEndpoint(output[_vAE], context); - } - return contents; -}, "de_CreateVerifiedAccessEndpointResult"); -var de_CreateVerifiedAccessGroupResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAG] != null) { - contents[_VAG] = de_VerifiedAccessGroup(output[_vAG], context); - } - return contents; -}, "de_CreateVerifiedAccessGroupResult"); -var de_CreateVerifiedAccessInstanceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAI] != null) { - contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context); - } - return contents; -}, "de_CreateVerifiedAccessInstanceResult"); -var de_CreateVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vATP] != null) { - contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context); - } - return contents; -}, "de_CreateVerifiedAccessTrustProviderResult"); -var de_CreateVolumePermission = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_g] != null) { - contents[_Gr] = (0, import_smithy_client.expectString)(output[_g]); - } - if (output[_uI] != null) { - contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]); - } - return contents; -}, "de_CreateVolumePermission"); -var de_CreateVolumePermissionList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CreateVolumePermission(entry, context); - }); -}, "de_CreateVolumePermissionList"); -var de_CreateVpcEndpointConnectionNotificationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cNo] != null) { - contents[_CNo] = de_ConnectionNotification(output[_cNo], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_CreateVpcEndpointConnectionNotificationResult"); -var de_CreateVpcEndpointResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vE] != null) { - contents[_VE] = de_VpcEndpoint(output[_vE], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_CreateVpcEndpointResult"); -var de_CreateVpcEndpointServiceConfigurationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sC] != null) { - contents[_SCe] = de_ServiceConfiguration(output[_sC], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_CreateVpcEndpointServiceConfigurationResult"); -var de_CreateVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vPC] != null) { - contents[_VPC] = de_VpcPeeringConnection(output[_vPC], context); - } - return contents; -}, "de_CreateVpcPeeringConnectionResult"); -var de_CreateVpcResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vp] != null) { - contents[_Vp] = de_Vpc(output[_vp], context); - } - return contents; -}, "de_CreateVpcResult"); -var de_CreateVpnConnectionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vC] != null) { - contents[_VC] = de_VpnConnection(output[_vC], context); - } - return contents; -}, "de_CreateVpnConnectionResult"); -var de_CreateVpnGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vG] != null) { - contents[_VG] = de_VpnGateway(output[_vG], context); - } - return contents; -}, "de_CreateVpnGatewayResult"); -var de_CreditSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cCp] != null) { - contents[_CCp] = (0, import_smithy_client.expectString)(output[_cCp]); - } - return contents; -}, "de_CreditSpecification"); -var de_CustomerGateway = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_bA] != null) { - contents[_BA] = (0, import_smithy_client.expectString)(output[_bA]); - } - if (output[_cGIu] != null) { - contents[_CGIu] = (0, import_smithy_client.expectString)(output[_cGIu]); - } - if (output[_iAp] != null) { - contents[_IAp] = (0, import_smithy_client.expectString)(output[_iAp]); - } - if (output[_cAe] != null) { - contents[_CA] = (0, import_smithy_client.expectString)(output[_cAe]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - if (output[_dN] != null) { - contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_CustomerGateway"); -var de_CustomerGatewayList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_CustomerGateway(entry, context); - }); -}, "de_CustomerGatewayList"); -var de_DataResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_id] != null) { - contents[_Id] = (0, import_smithy_client.expectString)(output[_id]); - } - if (output[_s] != null) { - contents[_S] = (0, import_smithy_client.expectString)(output[_s]); - } - if (output[_d] != null) { - contents[_D] = (0, import_smithy_client.expectString)(output[_d]); - } - if (output[_met] != null) { - contents[_Met] = (0, import_smithy_client.expectString)(output[_met]); - } - if (output[_stat] != null) { - contents[_Sta] = (0, import_smithy_client.expectString)(output[_stat]); - } - if (output[_pe] != null) { - contents[_Per] = (0, import_smithy_client.expectString)(output[_pe]); - } - if (output.metricPointSet === "") { - contents[_MPe] = []; - } else if (output[_mPS] != null && output[_mPS][_i] != null) { - contents[_MPe] = de_MetricPoints((0, import_smithy_client.getArrayIfSingleItem)(output[_mPS][_i]), context); - } - return contents; -}, "de_DataResponse"); -var de_DataResponses = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DataResponse(entry, context); - }); -}, "de_DataResponses"); -var de_DedicatedHostIdList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_DedicatedHostIdList"); -var de_DeleteCarrierGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cG] != null) { - contents[_CG] = de_CarrierGateway(output[_cG], context); - } - return contents; -}, "de_DeleteCarrierGatewayResult"); -var de_DeleteClientVpnEndpointResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sta] != null) { - contents[_Statu] = de_ClientVpnEndpointStatus(output[_sta], context); - } - return contents; -}, "de_DeleteClientVpnEndpointResult"); -var de_DeleteClientVpnRouteResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sta] != null) { - contents[_Statu] = de_ClientVpnRouteStatus(output[_sta], context); - } - return contents; -}, "de_DeleteClientVpnRouteResult"); -var de_DeleteCoipCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cCoi] != null) { - contents[_CCo] = de_CoipCidr(output[_cCoi], context); - } - return contents; -}, "de_DeleteCoipCidrResult"); -var de_DeleteCoipPoolResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cP] != null) { - contents[_CP] = de_CoipPool(output[_cP], context); - } - return contents; -}, "de_DeleteCoipPoolResult"); -var de_DeleteEgressOnlyInternetGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rC] != null) { - contents[_RCet] = (0, import_smithy_client.parseBoolean)(output[_rC]); - } - return contents; -}, "de_DeleteEgressOnlyInternetGatewayResult"); -var de_DeleteFleetError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_DeleteFleetError"); -var de_DeleteFleetErrorItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_er] != null) { - contents[_Er] = de_DeleteFleetError(output[_er], context); - } - if (output[_fIl] != null) { - contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); - } - return contents; -}, "de_DeleteFleetErrorItem"); -var de_DeleteFleetErrorSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DeleteFleetErrorItem(entry, context); - }); -}, "de_DeleteFleetErrorSet"); -var de_DeleteFleetsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.successfulFleetDeletionSet === "") { - contents[_SFD] = []; - } else if (output[_sFDS] != null && output[_sFDS][_i] != null) { - contents[_SFD] = de_DeleteFleetSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sFDS][_i]), context); - } - if (output.unsuccessfulFleetDeletionSet === "") { - contents[_UFD] = []; - } else if (output[_uFDS] != null && output[_uFDS][_i] != null) { - contents[_UFD] = de_DeleteFleetErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_uFDS][_i]), context); - } - return contents; -}, "de_DeleteFleetsResult"); -var de_DeleteFleetSuccessItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cFS] != null) { - contents[_CFS] = (0, import_smithy_client.expectString)(output[_cFS]); - } - if (output[_pFS] != null) { - contents[_PFS] = (0, import_smithy_client.expectString)(output[_pFS]); - } - if (output[_fIl] != null) { - contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); - } - return contents; -}, "de_DeleteFleetSuccessItem"); -var de_DeleteFleetSuccessSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DeleteFleetSuccessItem(entry, context); - }); -}, "de_DeleteFleetSuccessSet"); -var de_DeleteFlowLogsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.unsuccessful === "") { - contents[_Un] = []; - } else if (output[_u] != null && output[_u][_i] != null) { - contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); - } - return contents; -}, "de_DeleteFlowLogsResult"); -var de_DeleteFpgaImageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_DeleteFpgaImageResult"); -var de_DeleteInstanceConnectEndpointResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iCE] != null) { - contents[_ICE] = de_Ec2InstanceConnectEndpoint(output[_iCE], context); - } - return contents; -}, "de_DeleteInstanceConnectEndpointResult"); -var de_DeleteInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iEWS] != null) { - contents[_IEWS] = de_InstanceEventWindowStateChange(output[_iEWS], context); - } - return contents; -}, "de_DeleteInstanceEventWindowResult"); -var de_DeleteIpamPoolResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPp] != null) { - contents[_IPpa] = de_IpamPool(output[_iPp], context); - } - return contents; -}, "de_DeleteIpamPoolResult"); -var de_DeleteIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iRD] != null) { - contents[_IRD] = de_IpamResourceDiscovery(output[_iRD], context); - } - return contents; -}, "de_DeleteIpamResourceDiscoveryResult"); -var de_DeleteIpamResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ip] != null) { - contents[_Ipa] = de_Ipam(output[_ip], context); - } - return contents; -}, "de_DeleteIpamResult"); -var de_DeleteIpamScopeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iS] != null) { - contents[_ISpa] = de_IpamScope(output[_iS], context); - } - return contents; -}, "de_DeleteIpamScopeResult"); -var de_DeleteKeyPairResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - if (output[_kPI] != null) { - contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]); - } - return contents; -}, "de_DeleteKeyPairResult"); -var de_DeleteLaunchTemplateResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lT] != null) { - contents[_LTa] = de_LaunchTemplate(output[_lT], context); - } - return contents; -}, "de_DeleteLaunchTemplateResult"); -var de_DeleteLaunchTemplateVersionsResponseErrorItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTI] != null) { - contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); - } - if (output[_lTN] != null) { - contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); - } - if (output[_vNe] != null) { - contents[_VNe] = (0, import_smithy_client.strictParseLong)(output[_vNe]); - } - if (output[_rE] != null) { - contents[_REe] = de_ResponseError(output[_rE], context); - } - return contents; -}, "de_DeleteLaunchTemplateVersionsResponseErrorItem"); -var de_DeleteLaunchTemplateVersionsResponseErrorSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DeleteLaunchTemplateVersionsResponseErrorItem(entry, context); - }); -}, "de_DeleteLaunchTemplateVersionsResponseErrorSet"); -var de_DeleteLaunchTemplateVersionsResponseSuccessItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTI] != null) { - contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); - } - if (output[_lTN] != null) { - contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); - } - if (output[_vNe] != null) { - contents[_VNe] = (0, import_smithy_client.strictParseLong)(output[_vNe]); - } - return contents; -}, "de_DeleteLaunchTemplateVersionsResponseSuccessItem"); -var de_DeleteLaunchTemplateVersionsResponseSuccessSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DeleteLaunchTemplateVersionsResponseSuccessItem(entry, context); - }); -}, "de_DeleteLaunchTemplateVersionsResponseSuccessSet"); -var de_DeleteLaunchTemplateVersionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.successfullyDeletedLaunchTemplateVersionSet === "") { - contents[_SDLTV] = []; - } else if (output[_sDLTVS] != null && output[_sDLTVS][_i] != null) { - contents[_SDLTV] = de_DeleteLaunchTemplateVersionsResponseSuccessSet( - (0, import_smithy_client.getArrayIfSingleItem)(output[_sDLTVS][_i]), - context - ); - } - if (output.unsuccessfullyDeletedLaunchTemplateVersionSet === "") { - contents[_UDLTV] = []; - } else if (output[_uDLTVS] != null && output[_uDLTVS][_i] != null) { - contents[_UDLTV] = de_DeleteLaunchTemplateVersionsResponseErrorSet( - (0, import_smithy_client.getArrayIfSingleItem)(output[_uDLTVS][_i]), - context - ); - } - return contents; -}, "de_DeleteLaunchTemplateVersionsResult"); -var de_DeleteLocalGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ro] != null) { - contents[_Ro] = de_LocalGatewayRoute(output[_ro], context); - } - return contents; -}, "de_DeleteLocalGatewayRouteResult"); -var de_DeleteLocalGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGRT] != null) { - contents[_LGRT] = de_LocalGatewayRouteTable(output[_lGRT], context); - } - return contents; -}, "de_DeleteLocalGatewayRouteTableResult"); -var de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGRTVIGA] != null) { - contents[_LGRTVIGA] = de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation(output[_lGRTVIGA], context); - } - return contents; -}, "de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult"); -var de_DeleteLocalGatewayRouteTableVpcAssociationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGRTVA] != null) { - contents[_LGRTVA] = de_LocalGatewayRouteTableVpcAssociation(output[_lGRTVA], context); - } - return contents; -}, "de_DeleteLocalGatewayRouteTableVpcAssociationResult"); -var de_DeleteManagedPrefixListResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pL] != null) { - contents[_PLr] = de_ManagedPrefixList(output[_pL], context); - } - return contents; -}, "de_DeleteManagedPrefixListResult"); -var de_DeleteNatGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nGI] != null) { - contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); - } - return contents; -}, "de_DeleteNatGatewayResult"); -var de_DeleteNetworkInsightsAccessScopeAnalysisResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIASAI] != null) { - contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]); - } - return contents; -}, "de_DeleteNetworkInsightsAccessScopeAnalysisResult"); -var de_DeleteNetworkInsightsAccessScopeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIASI] != null) { - contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]); - } - return contents; -}, "de_DeleteNetworkInsightsAccessScopeResult"); -var de_DeleteNetworkInsightsAnalysisResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIAI] != null) { - contents[_NIAI] = (0, import_smithy_client.expectString)(output[_nIAI]); - } - return contents; -}, "de_DeleteNetworkInsightsAnalysisResult"); -var de_DeleteNetworkInsightsPathResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIPI] != null) { - contents[_NIPI] = (0, import_smithy_client.expectString)(output[_nIPI]); - } - return contents; -}, "de_DeleteNetworkInsightsPathResult"); -var de_DeleteNetworkInterfacePermissionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_DeleteNetworkInterfacePermissionResult"); -var de_DeletePublicIpv4PoolResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rV] != null) { - contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_rV]); - } - return contents; -}, "de_DeletePublicIpv4PoolResult"); -var de_DeleteQueuedReservedInstancesError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_DeleteQueuedReservedInstancesError"); -var de_DeleteQueuedReservedInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.successfulQueuedPurchaseDeletionSet === "") { - contents[_SQPD] = []; - } else if (output[_sQPDS] != null && output[_sQPDS][_i] != null) { - contents[_SQPD] = de_SuccessfulQueuedPurchaseDeletionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sQPDS][_i]), context); - } - if (output.failedQueuedPurchaseDeletionSet === "") { - contents[_FQPD] = []; - } else if (output[_fQPDS] != null && output[_fQPDS][_i] != null) { - contents[_FQPD] = de_FailedQueuedPurchaseDeletionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fQPDS][_i]), context); - } - return contents; -}, "de_DeleteQueuedReservedInstancesResult"); -var de_DeleteSubnetCidrReservationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dSCR] != null) { - contents[_DSCRe] = de_SubnetCidrReservation(output[_dSCR], context); - } - return contents; -}, "de_DeleteSubnetCidrReservationResult"); -var de_DeleteTrafficMirrorFilterResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMFI] != null) { - contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]); - } - return contents; -}, "de_DeleteTrafficMirrorFilterResult"); -var de_DeleteTrafficMirrorFilterRuleResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMFRI] != null) { - contents[_TMFRI] = (0, import_smithy_client.expectString)(output[_tMFRI]); - } - return contents; -}, "de_DeleteTrafficMirrorFilterRuleResult"); -var de_DeleteTrafficMirrorSessionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMSI] != null) { - contents[_TMSI] = (0, import_smithy_client.expectString)(output[_tMSI]); - } - return contents; -}, "de_DeleteTrafficMirrorSessionResult"); -var de_DeleteTrafficMirrorTargetResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMTI] != null) { - contents[_TMTI] = (0, import_smithy_client.expectString)(output[_tMTI]); - } - return contents; -}, "de_DeleteTrafficMirrorTargetResult"); -var de_DeleteTransitGatewayConnectPeerResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGCP] != null) { - contents[_TGCP] = de_TransitGatewayConnectPeer(output[_tGCP], context); - } - return contents; -}, "de_DeleteTransitGatewayConnectPeerResult"); -var de_DeleteTransitGatewayConnectResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGC] != null) { - contents[_TGCr] = de_TransitGatewayConnect(output[_tGC], context); - } - return contents; -}, "de_DeleteTransitGatewayConnectResult"); -var de_DeleteTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGMD] != null) { - contents[_TGMD] = de_TransitGatewayMulticastDomain(output[_tGMD], context); - } - return contents; -}, "de_DeleteTransitGatewayMulticastDomainResult"); -var de_DeleteTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGPA] != null) { - contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context); - } - return contents; -}, "de_DeleteTransitGatewayPeeringAttachmentResult"); -var de_DeleteTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGPT] != null) { - contents[_TGPT] = de_TransitGatewayPolicyTable(output[_tGPT], context); - } - return contents; -}, "de_DeleteTransitGatewayPolicyTableResult"); -var de_DeleteTransitGatewayPrefixListReferenceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGPLR] != null) { - contents[_TGPLR] = de_TransitGatewayPrefixListReference(output[_tGPLR], context); - } - return contents; -}, "de_DeleteTransitGatewayPrefixListReferenceResult"); -var de_DeleteTransitGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tG] != null) { - contents[_TGr] = de_TransitGateway(output[_tG], context); - } - return contents; -}, "de_DeleteTransitGatewayResult"); -var de_DeleteTransitGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ro] != null) { - contents[_Ro] = de_TransitGatewayRoute(output[_ro], context); - } - return contents; -}, "de_DeleteTransitGatewayRouteResult"); -var de_DeleteTransitGatewayRouteTableAnnouncementResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGRTA] != null) { - contents[_TGRTA] = de_TransitGatewayRouteTableAnnouncement(output[_tGRTA], context); - } - return contents; -}, "de_DeleteTransitGatewayRouteTableAnnouncementResult"); -var de_DeleteTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGRT] != null) { - contents[_TGRT] = de_TransitGatewayRouteTable(output[_tGRT], context); - } - return contents; -}, "de_DeleteTransitGatewayRouteTableResult"); -var de_DeleteTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGVA] != null) { - contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context); - } - return contents; -}, "de_DeleteTransitGatewayVpcAttachmentResult"); -var de_DeleteVerifiedAccessEndpointResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAE] != null) { - contents[_VAE] = de_VerifiedAccessEndpoint(output[_vAE], context); - } - return contents; -}, "de_DeleteVerifiedAccessEndpointResult"); -var de_DeleteVerifiedAccessGroupResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAG] != null) { - contents[_VAG] = de_VerifiedAccessGroup(output[_vAG], context); - } - return contents; -}, "de_DeleteVerifiedAccessGroupResult"); -var de_DeleteVerifiedAccessInstanceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAI] != null) { - contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context); - } - return contents; -}, "de_DeleteVerifiedAccessInstanceResult"); -var de_DeleteVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vATP] != null) { - contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context); - } - return contents; -}, "de_DeleteVerifiedAccessTrustProviderResult"); -var de_DeleteVpcEndpointConnectionNotificationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.unsuccessful === "") { - contents[_Un] = []; - } else if (output[_u] != null && output[_u][_i] != null) { - contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); - } - return contents; -}, "de_DeleteVpcEndpointConnectionNotificationsResult"); -var de_DeleteVpcEndpointServiceConfigurationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.unsuccessful === "") { - contents[_Un] = []; - } else if (output[_u] != null && output[_u][_i] != null) { - contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); - } - return contents; -}, "de_DeleteVpcEndpointServiceConfigurationsResult"); -var de_DeleteVpcEndpointsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.unsuccessful === "") { - contents[_Un] = []; - } else if (output[_u] != null && output[_u][_i] != null) { - contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); - } - return contents; -}, "de_DeleteVpcEndpointsResult"); -var de_DeleteVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_DeleteVpcPeeringConnectionResult"); -var de_DeprovisionByoipCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_bC] != null) { - contents[_BC] = de_ByoipCidr(output[_bC], context); - } - return contents; -}, "de_DeprovisionByoipCidrResult"); -var de_DeprovisionedAddressSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_DeprovisionedAddressSet"); -var de_DeprovisionIpamByoasnResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_b] != null) { - contents[_Byo] = de_Byoasn(output[_b], context); - } - return contents; -}, "de_DeprovisionIpamByoasnResult"); -var de_DeprovisionIpamPoolCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPC] != null) { - contents[_IPCpa] = de_IpamPoolCidr(output[_iPC], context); - } - return contents; -}, "de_DeprovisionIpamPoolCidrResult"); -var de_DeprovisionPublicIpv4PoolCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pIo] != null) { - contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); - } - if (output.deprovisionedAddressSet === "") { - contents[_DAep] = []; - } else if (output[_dASe] != null && output[_dASe][_i] != null) { - contents[_DAep] = de_DeprovisionedAddressSet((0, import_smithy_client.getArrayIfSingleItem)(output[_dASe][_i]), context); - } - return contents; -}, "de_DeprovisionPublicIpv4PoolCidrResult"); -var de_DeregisterInstanceEventNotificationAttributesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iTA] != null) { - contents[_ITA] = de_InstanceTagNotificationAttribute(output[_iTA], context); - } - return contents; -}, "de_DeregisterInstanceEventNotificationAttributesResult"); -var de_DeregisterTransitGatewayMulticastGroupMembersResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dMGM] != null) { - contents[_DMGM] = de_TransitGatewayMulticastDeregisteredGroupMembers(output[_dMGM], context); - } - return contents; -}, "de_DeregisterTransitGatewayMulticastGroupMembersResult"); -var de_DeregisterTransitGatewayMulticastGroupSourcesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dMGS] != null) { - contents[_DMGS] = de_TransitGatewayMulticastDeregisteredGroupSources(output[_dMGS], context); - } - return contents; -}, "de_DeregisterTransitGatewayMulticastGroupSourcesResult"); -var de_DescribeAccountAttributesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.accountAttributeSet === "") { - contents[_AAcc] = []; - } else if (output[_aASc] != null && output[_aASc][_i] != null) { - contents[_AAcc] = de_AccountAttributeList((0, import_smithy_client.getArrayIfSingleItem)(output[_aASc][_i]), context); - } - return contents; -}, "de_DescribeAccountAttributesResult"); -var de_DescribeAddressesAttributeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.addressSet === "") { - contents[_Addr] = []; - } else if (output[_aSd] != null && output[_aSd][_i] != null) { - contents[_Addr] = de_AddressSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aSd][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeAddressesAttributeResult"); -var de_DescribeAddressesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.addressesSet === "") { - contents[_Addr] = []; - } else if (output[_aSdd] != null && output[_aSdd][_i] != null) { - contents[_Addr] = de_AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSdd][_i]), context); - } - return contents; -}, "de_DescribeAddressesResult"); -var de_DescribeAddressTransfersResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.addressTransferSet === "") { - contents[_ATddr] = []; - } else if (output[_aTSd] != null && output[_aTSd][_i] != null) { - contents[_ATddr] = de_AddressTransferList((0, import_smithy_client.getArrayIfSingleItem)(output[_aTSd][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeAddressTransfersResult"); -var de_DescribeAggregateIdFormatResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_uLIA] != null) { - contents[_ULIA] = (0, import_smithy_client.parseBoolean)(output[_uLIA]); - } - if (output.statusSet === "") { - contents[_Status] = []; - } else if (output[_sSt] != null && output[_sSt][_i] != null) { - contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context); - } - return contents; -}, "de_DescribeAggregateIdFormatResult"); -var de_DescribeAvailabilityZonesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.availabilityZoneInfo === "") { - contents[_AZv] = []; - } else if (output[_aZIv] != null && output[_aZIv][_i] != null) { - contents[_AZv] = de_AvailabilityZoneList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZIv][_i]), context); - } - return contents; -}, "de_DescribeAvailabilityZonesResult"); -var de_DescribeAwsNetworkPerformanceMetricSubscriptionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.subscriptionSet === "") { - contents[_Sub] = []; - } else if (output[_sSu] != null && output[_sSu][_i] != null) { - contents[_Sub] = de_SubscriptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSu][_i]), context); - } - return contents; -}, "de_DescribeAwsNetworkPerformanceMetricSubscriptionsResult"); -var de_DescribeBundleTasksResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.bundleInstanceTasksSet === "") { - contents[_BTun] = []; - } else if (output[_bITS] != null && output[_bITS][_i] != null) { - contents[_BTun] = de_BundleTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_bITS][_i]), context); - } - return contents; -}, "de_DescribeBundleTasksResult"); -var de_DescribeByoipCidrsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.byoipCidrSet === "") { - contents[_BCy] = []; - } else if (output[_bCS] != null && output[_bCS][_i] != null) { - contents[_BCy] = de_ByoipCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_bCS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeByoipCidrsResult"); -var de_DescribeCapacityBlockOfferingsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.capacityBlockOfferingSet === "") { - contents[_CBO] = []; - } else if (output[_cBOS] != null && output[_cBOS][_i] != null) { - contents[_CBO] = de_CapacityBlockOfferingSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBOS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeCapacityBlockOfferingsResult"); -var de_DescribeCapacityReservationFleetsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.capacityReservationFleetSet === "") { - contents[_CRF] = []; - } else if (output[_cRFS] != null && output[_cRFS][_i] != null) { - contents[_CRF] = de_CapacityReservationFleetSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cRFS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeCapacityReservationFleetsResult"); -var de_DescribeCapacityReservationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.capacityReservationSet === "") { - contents[_CRapac] = []; - } else if (output[_cRS] != null && output[_cRS][_i] != null) { - contents[_CRapac] = de_CapacityReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cRS][_i]), context); - } - return contents; -}, "de_DescribeCapacityReservationsResult"); -var de_DescribeCarrierGatewaysResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.carrierGatewaySet === "") { - contents[_CGa] = []; - } else if (output[_cGS] != null && output[_cGS][_i] != null) { - contents[_CGa] = de_CarrierGatewaySet((0, import_smithy_client.getArrayIfSingleItem)(output[_cGS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeCarrierGatewaysResult"); -var de_DescribeClassicLinkInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instancesSet === "") { - contents[_In] = []; - } else if (output[_iSn] != null && output[_iSn][_i] != null) { - contents[_In] = de_ClassicLinkInstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeClassicLinkInstancesResult"); -var de_DescribeClientVpnAuthorizationRulesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.authorizationRule === "") { - contents[_ARut] = []; - } else if (output[_aR] != null && output[_aR][_i] != null) { - contents[_ARut] = de_AuthorizationRuleSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aR][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeClientVpnAuthorizationRulesResult"); -var de_DescribeClientVpnConnectionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.connections === "") { - contents[_Conn] = []; - } else if (output[_con] != null && output[_con][_i] != null) { - contents[_Conn] = de_ClientVpnConnectionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_con][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeClientVpnConnectionsResult"); -var de_DescribeClientVpnEndpointsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.clientVpnEndpoint === "") { - contents[_CVEl] = []; - } else if (output[_cVE] != null && output[_cVE][_i] != null) { - contents[_CVEl] = de_EndpointSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cVE][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeClientVpnEndpointsResult"); -var de_DescribeClientVpnRoutesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.routes === "") { - contents[_Rou] = []; - } else if (output[_rou] != null && output[_rou][_i] != null) { - contents[_Rou] = de_ClientVpnRouteSet((0, import_smithy_client.getArrayIfSingleItem)(output[_rou][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeClientVpnRoutesResult"); -var de_DescribeClientVpnTargetNetworksResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.clientVpnTargetNetworks === "") { - contents[_CVTN] = []; - } else if (output[_cVTN] != null && output[_cVTN][_i] != null) { - contents[_CVTN] = de_TargetNetworkSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cVTN][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeClientVpnTargetNetworksResult"); -var de_DescribeCoipPoolsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.coipPoolSet === "") { - contents[_CPo] = []; - } else if (output[_cPS] != null && output[_cPS][_i] != null) { - contents[_CPo] = de_CoipPoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cPS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeCoipPoolsResult"); -var de_DescribeConversionTaskList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ConversionTask(entry, context); - }); -}, "de_DescribeConversionTaskList"); -var de_DescribeConversionTasksResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.conversionTasks === "") { - contents[_CTon] = []; - } else if (output[_cTo] != null && output[_cTo][_i] != null) { - contents[_CTon] = de_DescribeConversionTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_cTo][_i]), context); - } - return contents; -}, "de_DescribeConversionTasksResult"); -var de_DescribeCustomerGatewaysResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.customerGatewaySet === "") { - contents[_CGus] = []; - } else if (output[_cGSu] != null && output[_cGSu][_i] != null) { - contents[_CGus] = de_CustomerGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_cGSu][_i]), context); - } - return contents; -}, "de_DescribeCustomerGatewaysResult"); -var de_DescribeDhcpOptionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.dhcpOptionsSet === "") { - contents[_DOh] = []; - } else if (output[_dOS] != null && output[_dOS][_i] != null) { - contents[_DOh] = de_DhcpOptionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_dOS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeDhcpOptionsResult"); -var de_DescribeEgressOnlyInternetGatewaysResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.egressOnlyInternetGatewaySet === "") { - contents[_EOIGg] = []; - } else if (output[_eOIGS] != null && output[_eOIGS][_i] != null) { - contents[_EOIGg] = de_EgressOnlyInternetGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_eOIGS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeEgressOnlyInternetGatewaysResult"); -var de_DescribeElasticGpusResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.elasticGpuSet === "") { - contents[_EGSla] = []; - } else if (output[_eGS] != null && output[_eGS][_i] != null) { - contents[_EGSla] = de_ElasticGpuSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eGS][_i]), context); - } - if (output[_mR] != null) { - contents[_MR] = (0, import_smithy_client.strictParseInt32)(output[_mR]); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeElasticGpusResult"); -var de_DescribeExportImageTasksResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.exportImageTaskSet === "") { - contents[_EITx] = []; - } else if (output[_eITS] != null && output[_eITS][_i] != null) { - contents[_EITx] = de_ExportImageTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_eITS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeExportImageTasksResult"); -var de_DescribeExportTasksResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.exportTaskSet === "") { - contents[_ETxpo] = []; - } else if (output[_eTS] != null && output[_eTS][_i] != null) { - contents[_ETxpo] = de_ExportTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_eTS][_i]), context); - } - return contents; -}, "de_DescribeExportTasksResult"); -var de_DescribeFastLaunchImagesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.fastLaunchImageSet === "") { - contents[_FLIa] = []; - } else if (output[_fLISa] != null && output[_fLISa][_i] != null) { - contents[_FLIa] = de_DescribeFastLaunchImagesSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fLISa][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeFastLaunchImagesResult"); -var de_DescribeFastLaunchImagesSuccessItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_sCn] != null) { - contents[_SCn] = de_FastLaunchSnapshotConfigurationResponse(output[_sCn], context); - } - if (output[_lT] != null) { - contents[_LTa] = de_FastLaunchLaunchTemplateSpecificationResponse(output[_lT], context); - } - if (output[_mPL] != null) { - contents[_MPL] = (0, import_smithy_client.strictParseInt32)(output[_mPL]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sTR] != null) { - contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); - } - if (output[_sTT] != null) { - contents[_STT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTT])); - } - return contents; -}, "de_DescribeFastLaunchImagesSuccessItem"); -var de_DescribeFastLaunchImagesSuccessSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DescribeFastLaunchImagesSuccessItem(entry, context); - }); -}, "de_DescribeFastLaunchImagesSuccessSet"); -var de_DescribeFastSnapshotRestoresResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.fastSnapshotRestoreSet === "") { - contents[_FSR] = []; - } else if (output[_fSRS] != null && output[_fSRS][_i] != null) { - contents[_FSR] = de_DescribeFastSnapshotRestoreSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fSRS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeFastSnapshotRestoresResult"); -var de_DescribeFastSnapshotRestoreSuccessItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sTR] != null) { - contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_oAw] != null) { - contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]); - } - if (output[_eTn] != null) { - contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn])); - } - if (output[_oT] != null) { - contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT])); - } - if (output[_eTna] != null) { - contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna])); - } - if (output[_dTi] != null) { - contents[_DTi] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTi])); - } - if (output[_dTis] != null) { - contents[_DTis] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTis])); - } - return contents; -}, "de_DescribeFastSnapshotRestoreSuccessItem"); -var de_DescribeFastSnapshotRestoreSuccessSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DescribeFastSnapshotRestoreSuccessItem(entry, context); - }); -}, "de_DescribeFastSnapshotRestoreSuccessSet"); -var de_DescribeFleetError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTAO] != null) { - contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context); - } - if (output[_l] != null) { - contents[_Li] = (0, import_smithy_client.expectString)(output[_l]); - } - if (output[_eC] != null) { - contents[_EC] = (0, import_smithy_client.expectString)(output[_eC]); - } - if (output[_eM] != null) { - contents[_EM] = (0, import_smithy_client.expectString)(output[_eM]); - } - return contents; -}, "de_DescribeFleetError"); -var de_DescribeFleetHistoryResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.historyRecordSet === "") { - contents[_HRi] = []; - } else if (output[_hRS] != null && output[_hRS][_i] != null) { - contents[_HRi] = de_HistoryRecordSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hRS][_i]), context); - } - if (output[_lET] != null) { - contents[_LET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lET])); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output[_fIl] != null) { - contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); - } - if (output[_sT] != null) { - contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); - } - return contents; -}, "de_DescribeFleetHistoryResult"); -var de_DescribeFleetInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.activeInstanceSet === "") { - contents[_AIc] = []; - } else if (output[_aIS] != null && output[_aIS][_i] != null) { - contents[_AIc] = de_ActiveInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aIS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output[_fIl] != null) { - contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); - } - return contents; -}, "de_DescribeFleetInstancesResult"); -var de_DescribeFleetsErrorSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DescribeFleetError(entry, context); - }); -}, "de_DescribeFleetsErrorSet"); -var de_DescribeFleetsInstances = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTAO] != null) { - contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context); - } - if (output[_l] != null) { - contents[_Li] = (0, import_smithy_client.expectString)(output[_l]); - } - if (output.instanceIds === "") { - contents[_IIns] = []; - } else if (output[_iIn] != null && output[_iIn][_i] != null) { - contents[_IIns] = de_InstanceIdsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIn][_i]), context); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_pl] != null) { - contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); - } - return contents; -}, "de_DescribeFleetsInstances"); -var de_DescribeFleetsInstancesSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DescribeFleetsInstances(entry, context); - }); -}, "de_DescribeFleetsInstancesSet"); -var de_DescribeFleetsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.fleetSet === "") { - contents[_Fl] = []; - } else if (output[_fS] != null && output[_fS][_i] != null) { - contents[_Fl] = de_FleetSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fS][_i]), context); - } - return contents; -}, "de_DescribeFleetsResult"); -var de_DescribeFlowLogsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.flowLogSet === "") { - contents[_FL] = []; - } else if (output[_fLS] != null && output[_fLS][_i] != null) { - contents[_FL] = de_FlowLogSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fLS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeFlowLogsResult"); -var de_DescribeFpgaImageAttributeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fIA] != null) { - contents[_FIAp] = de_FpgaImageAttribute(output[_fIA], context); - } - return contents; -}, "de_DescribeFpgaImageAttributeResult"); -var de_DescribeFpgaImagesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.fpgaImageSet === "") { - contents[_FIp] = []; - } else if (output[_fISp] != null && output[_fISp][_i] != null) { - contents[_FIp] = de_FpgaImageList((0, import_smithy_client.getArrayIfSingleItem)(output[_fISp][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeFpgaImagesResult"); -var de_DescribeHostReservationOfferingsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.offeringSet === "") { - contents[_OS] = []; - } else if (output[_oS] != null && output[_oS][_i] != null) { - contents[_OS] = de_HostOfferingSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oS][_i]), context); - } - return contents; -}, "de_DescribeHostReservationOfferingsResult"); -var de_DescribeHostReservationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.hostReservationSet === "") { - contents[_HRS] = []; - } else if (output[_hRSo] != null && output[_hRSo][_i] != null) { - contents[_HRS] = de_HostReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hRSo][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeHostReservationsResult"); -var de_DescribeHostsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.hostSet === "") { - contents[_Ho] = []; - } else if (output[_hS] != null && output[_hS][_i] != null) { - contents[_Ho] = de_HostList((0, import_smithy_client.getArrayIfSingleItem)(output[_hS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeHostsResult"); -var de_DescribeIamInstanceProfileAssociationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.iamInstanceProfileAssociationSet === "") { - contents[_IIPAa] = []; - } else if (output[_iIPAS] != null && output[_iIPAS][_i] != null) { - contents[_IIPAa] = de_IamInstanceProfileAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIPAS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeIamInstanceProfileAssociationsResult"); -var de_DescribeIdentityIdFormatResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.statusSet === "") { - contents[_Status] = []; - } else if (output[_sSt] != null && output[_sSt][_i] != null) { - contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context); - } - return contents; -}, "de_DescribeIdentityIdFormatResult"); -var de_DescribeIdFormatResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.statusSet === "") { - contents[_Status] = []; - } else if (output[_sSt] != null && output[_sSt][_i] != null) { - contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context); - } - return contents; -}, "de_DescribeIdFormatResult"); -var de_DescribeImagesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.imagesSet === "") { - contents[_Ima] = []; - } else if (output[_iSm] != null && output[_iSm][_i] != null) { - contents[_Ima] = de_ImageList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSm][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeImagesResult"); -var de_DescribeImportImageTasksResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.importImageTaskSet === "") { - contents[_IIT] = []; - } else if (output[_iITS] != null && output[_iITS][_i] != null) { - contents[_IIT] = de_ImportImageTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_iITS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeImportImageTasksResult"); -var de_DescribeImportSnapshotTasksResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.importSnapshotTaskSet === "") { - contents[_IST] = []; - } else if (output[_iSTS] != null && output[_iSTS][_i] != null) { - contents[_IST] = de_ImportSnapshotTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSTS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeImportSnapshotTasksResult"); -var de_DescribeInstanceConnectEndpointsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instanceConnectEndpointSet === "") { - contents[_ICEn] = []; - } else if (output[_iCES] != null && output[_iCES][_i] != null) { - contents[_ICEn] = de_InstanceConnectEndpointSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCES][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeInstanceConnectEndpointsResult"); -var de_DescribeInstanceCreditSpecificationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instanceCreditSpecificationSet === "") { - contents[_ICS] = []; - } else if (output[_iCSS] != null && output[_iCSS][_i] != null) { - contents[_ICS] = de_InstanceCreditSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_iCSS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeInstanceCreditSpecificationsResult"); -var de_DescribeInstanceEventNotificationAttributesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iTA] != null) { - contents[_ITA] = de_InstanceTagNotificationAttribute(output[_iTA], context); - } - return contents; -}, "de_DescribeInstanceEventNotificationAttributesResult"); -var de_DescribeInstanceEventWindowsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instanceEventWindowSet === "") { - contents[_IEWn] = []; - } else if (output[_iEWSn] != null && output[_iEWSn][_i] != null) { - contents[_IEWn] = de_InstanceEventWindowSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iEWSn][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeInstanceEventWindowsResult"); -var de_DescribeInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.reservationSet === "") { - contents[_Rese] = []; - } else if (output[_rS] != null && output[_rS][_i] != null) { - contents[_Rese] = de_ReservationList((0, import_smithy_client.getArrayIfSingleItem)(output[_rS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeInstancesResult"); -var de_DescribeInstanceStatusResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instanceStatusSet === "") { - contents[_ISns] = []; - } else if (output[_iSS] != null && output[_iSS][_i] != null) { - contents[_ISns] = de_InstanceStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeInstanceStatusResult"); -var de_DescribeInstanceTopologyResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instanceSet === "") { - contents[_In] = []; - } else if (output[_iSns] != null && output[_iSns][_i] != null) { - contents[_In] = de_InstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iSns][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeInstanceTopologyResult"); -var de_DescribeInstanceTypeOfferingsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instanceTypeOfferingSet === "") { - contents[_ITO] = []; - } else if (output[_iTOS] != null && output[_iTOS][_i] != null) { - contents[_ITO] = de_InstanceTypeOfferingsList((0, import_smithy_client.getArrayIfSingleItem)(output[_iTOS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeInstanceTypeOfferingsResult"); -var de_DescribeInstanceTypesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instanceTypeSet === "") { - contents[_ITnst] = []; - } else if (output[_iTS] != null && output[_iTS][_i] != null) { - contents[_ITnst] = de_InstanceTypeInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_iTS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeInstanceTypesResult"); -var de_DescribeInternetGatewaysResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.internetGatewaySet === "") { - contents[_IGnt] = []; - } else if (output[_iGS] != null && output[_iGS][_i] != null) { - contents[_IGnt] = de_InternetGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_iGS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeInternetGatewaysResult"); -var de_DescribeIpamByoasnResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.byoasnSet === "") { - contents[_Byoa] = []; - } else if (output[_bS] != null && output[_bS][_i] != null) { - contents[_Byoa] = de_ByoasnSet((0, import_smithy_client.getArrayIfSingleItem)(output[_bS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeIpamByoasnResult"); -var de_DescribeIpamPoolsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.ipamPoolSet === "") { - contents[_IPpam] = []; - } else if (output[_iPS] != null && output[_iPS][_i] != null) { - contents[_IPpam] = de_IpamPoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPS][_i]), context); - } - return contents; -}, "de_DescribeIpamPoolsResult"); -var de_DescribeIpamResourceDiscoveriesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.ipamResourceDiscoverySet === "") { - contents[_IRDp] = []; - } else if (output[_iRDS] != null && output[_iRDS][_i] != null) { - contents[_IRDp] = de_IpamResourceDiscoverySet((0, import_smithy_client.getArrayIfSingleItem)(output[_iRDS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeIpamResourceDiscoveriesResult"); -var de_DescribeIpamResourceDiscoveryAssociationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.ipamResourceDiscoveryAssociationSet === "") { - contents[_IRDAp] = []; - } else if (output[_iRDAS] != null && output[_iRDAS][_i] != null) { - contents[_IRDAp] = de_IpamResourceDiscoveryAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iRDAS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeIpamResourceDiscoveryAssociationsResult"); -var de_DescribeIpamScopesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.ipamScopeSet === "") { - contents[_ISpam] = []; - } else if (output[_iSSp] != null && output[_iSSp][_i] != null) { - contents[_ISpam] = de_IpamScopeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iSSp][_i]), context); - } - return contents; -}, "de_DescribeIpamScopesResult"); -var de_DescribeIpamsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.ipamSet === "") { - contents[_Ipam] = []; - } else if (output[_iSp] != null && output[_iSp][_i] != null) { - contents[_Ipam] = de_IpamSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iSp][_i]), context); - } - return contents; -}, "de_DescribeIpamsResult"); -var de_DescribeIpv6PoolsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.ipv6PoolSet === "") { - contents[_IPpvo] = []; - } else if (output[_iPSp] != null && output[_iPSp][_i] != null) { - contents[_IPpvo] = de_Ipv6PoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSp][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeIpv6PoolsResult"); -var de_DescribeKeyPairsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.keySet === "") { - contents[_KP] = []; - } else if (output[_kS] != null && output[_kS][_i] != null) { - contents[_KP] = de_KeyPairList((0, import_smithy_client.getArrayIfSingleItem)(output[_kS][_i]), context); - } - return contents; -}, "de_DescribeKeyPairsResult"); -var de_DescribeLaunchTemplatesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.launchTemplates === "") { - contents[_LTau] = []; - } else if (output[_lTa] != null && output[_lTa][_i] != null) { - contents[_LTau] = de_LaunchTemplateSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lTa][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeLaunchTemplatesResult"); -var de_DescribeLaunchTemplateVersionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.launchTemplateVersionSet === "") { - contents[_LTVa] = []; - } else if (output[_lTVS] != null && output[_lTVS][_i] != null) { - contents[_LTVa] = de_LaunchTemplateVersionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lTVS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeLaunchTemplateVersionsResult"); -var de_DescribeLocalGatewayRouteTablesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.localGatewayRouteTableSet === "") { - contents[_LGRTo] = []; - } else if (output[_lGRTS] != null && output[_lGRTS][_i] != null) { - contents[_LGRTo] = de_LocalGatewayRouteTableSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGRTS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeLocalGatewayRouteTablesResult"); -var de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.localGatewayRouteTableVirtualInterfaceGroupAssociationSet === "") { - contents[_LGRTVIGAo] = []; - } else if (output[_lGRTVIGAS] != null && output[_lGRTVIGAS][_i] != null) { - contents[_LGRTVIGAo] = de_LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet( - (0, import_smithy_client.getArrayIfSingleItem)(output[_lGRTVIGAS][_i]), - context - ); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult"); -var de_DescribeLocalGatewayRouteTableVpcAssociationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.localGatewayRouteTableVpcAssociationSet === "") { - contents[_LGRTVAo] = []; - } else if (output[_lGRTVAS] != null && output[_lGRTVAS][_i] != null) { - contents[_LGRTVAo] = de_LocalGatewayRouteTableVpcAssociationSet( - (0, import_smithy_client.getArrayIfSingleItem)(output[_lGRTVAS][_i]), - context - ); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeLocalGatewayRouteTableVpcAssociationsResult"); -var de_DescribeLocalGatewaysResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.localGatewaySet === "") { - contents[_LGoc] = []; - } else if (output[_lGS] != null && output[_lGS][_i] != null) { - contents[_LGoc] = de_LocalGatewaySet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeLocalGatewaysResult"); -var de_DescribeLocalGatewayVirtualInterfaceGroupsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.localGatewayVirtualInterfaceGroupSet === "") { - contents[_LGVIG] = []; - } else if (output[_lGVIGS] != null && output[_lGVIGS][_i] != null) { - contents[_LGVIG] = de_LocalGatewayVirtualInterfaceGroupSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGVIGS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeLocalGatewayVirtualInterfaceGroupsResult"); -var de_DescribeLocalGatewayVirtualInterfacesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.localGatewayVirtualInterfaceSet === "") { - contents[_LGVI] = []; - } else if (output[_lGVIS] != null && output[_lGVIS][_i] != null) { - contents[_LGVI] = de_LocalGatewayVirtualInterfaceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGVIS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeLocalGatewayVirtualInterfacesResult"); -var de_DescribeLockedSnapshotsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.snapshotSet === "") { - contents[_Sn] = []; - } else if (output[_sS] != null && output[_sS][_i] != null) { - contents[_Sn] = de_LockedSnapshotsInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeLockedSnapshotsResult"); -var de_DescribeMacHostsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.macHostSet === "") { - contents[_MHa] = []; - } else if (output[_mHS] != null && output[_mHS][_i] != null) { - contents[_MHa] = de_MacHostList((0, import_smithy_client.getArrayIfSingleItem)(output[_mHS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeMacHostsResult"); -var de_DescribeManagedPrefixListsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.prefixListSet === "") { - contents[_PLre] = []; - } else if (output[_pLS] != null && output[_pLS][_i] != null) { - contents[_PLre] = de_ManagedPrefixListSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pLS][_i]), context); - } - return contents; -}, "de_DescribeManagedPrefixListsResult"); -var de_DescribeMovingAddressesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.movingAddressStatusSet === "") { - contents[_MAS] = []; - } else if (output[_mASS] != null && output[_mASS][_i] != null) { - contents[_MAS] = de_MovingAddressStatusSet((0, import_smithy_client.getArrayIfSingleItem)(output[_mASS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeMovingAddressesResult"); -var de_DescribeNatGatewaysResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.natGatewaySet === "") { - contents[_NGa] = []; - } else if (output[_nGS] != null && output[_nGS][_i] != null) { - contents[_NGa] = de_NatGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeNatGatewaysResult"); -var de_DescribeNetworkAclsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.networkAclSet === "") { - contents[_NAe] = []; - } else if (output[_nAS] != null && output[_nAS][_i] != null) { - contents[_NAe] = de_NetworkAclList((0, import_smithy_client.getArrayIfSingleItem)(output[_nAS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeNetworkAclsResult"); -var de_DescribeNetworkInsightsAccessScopeAnalysesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.networkInsightsAccessScopeAnalysisSet === "") { - contents[_NIASA] = []; - } else if (output[_nIASAS] != null && output[_nIASAS][_i] != null) { - contents[_NIASA] = de_NetworkInsightsAccessScopeAnalysisList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIASAS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeNetworkInsightsAccessScopeAnalysesResult"); -var de_DescribeNetworkInsightsAccessScopesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.networkInsightsAccessScopeSet === "") { - contents[_NIASe] = []; - } else if (output[_nIASS] != null && output[_nIASS][_i] != null) { - contents[_NIASe] = de_NetworkInsightsAccessScopeList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIASS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeNetworkInsightsAccessScopesResult"); -var de_DescribeNetworkInsightsAnalysesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.networkInsightsAnalysisSet === "") { - contents[_NIA] = []; - } else if (output[_nIASe] != null && output[_nIASe][_i] != null) { - contents[_NIA] = de_NetworkInsightsAnalysisList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIASe][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeNetworkInsightsAnalysesResult"); -var de_DescribeNetworkInsightsPathsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.networkInsightsPathSet === "") { - contents[_NIPe] = []; - } else if (output[_nIPS] != null && output[_nIPS][_i] != null) { - contents[_NIPe] = de_NetworkInsightsPathList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIPS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeNetworkInsightsPathsResult"); -var de_DescribeNetworkInterfaceAttributeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_at] != null) { - contents[_Att] = de_NetworkInterfaceAttachment(output[_at], context); - } - if (output[_de] != null) { - contents[_De] = de_AttributeValue(output[_de], context); - } - if (output.groupSet === "") { - contents[_G] = []; - } else if (output[_gS] != null && output[_gS][_i] != null) { - contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_sDC] != null) { - contents[_SDC] = de_AttributeBooleanValue(output[_sDC], context); - } - return contents; -}, "de_DescribeNetworkInterfaceAttributeResult"); -var de_DescribeNetworkInterfacePermissionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.networkInterfacePermissions === "") { - contents[_NIPet] = []; - } else if (output[_nIPe] != null && output[_nIPe][_i] != null) { - contents[_NIPet] = de_NetworkInterfacePermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIPe][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeNetworkInterfacePermissionsResult"); -var de_DescribeNetworkInterfacesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.networkInterfaceSet === "") { - contents[_NI] = []; - } else if (output[_nIS] != null && output[_nIS][_i] != null) { - contents[_NI] = de_NetworkInterfaceList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeNetworkInterfacesResult"); -var de_DescribePlacementGroupsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.placementGroupSet === "") { - contents[_PGl] = []; - } else if (output[_pGS] != null && output[_pGS][_i] != null) { - contents[_PGl] = de_PlacementGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_pGS][_i]), context); - } - return contents; -}, "de_DescribePlacementGroupsResult"); -var de_DescribePrefixListsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.prefixListSet === "") { - contents[_PLre] = []; - } else if (output[_pLS] != null && output[_pLS][_i] != null) { - contents[_PLre] = de_PrefixListSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pLS][_i]), context); - } - return contents; -}, "de_DescribePrefixListsResult"); -var de_DescribePrincipalIdFormatResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.principalSet === "") { - contents[_Princ] = []; - } else if (output[_pSr] != null && output[_pSr][_i] != null) { - contents[_Princ] = de_PrincipalIdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSr][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribePrincipalIdFormatResult"); -var de_DescribePublicIpv4PoolsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.publicIpv4PoolSet === "") { - contents[_PIPu] = []; - } else if (output[_pIPS] != null && output[_pIPS][_i] != null) { - contents[_PIPu] = de_PublicIpv4PoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pIPS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribePublicIpv4PoolsResult"); -var de_DescribeRegionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.regionInfo === "") { - contents[_Reg] = []; - } else if (output[_rI] != null && output[_rI][_i] != null) { - contents[_Reg] = de_RegionList((0, import_smithy_client.getArrayIfSingleItem)(output[_rI][_i]), context); - } - return contents; -}, "de_DescribeRegionsResult"); -var de_DescribeReplaceRootVolumeTasksResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.replaceRootVolumeTaskSet === "") { - contents[_RRVTe] = []; - } else if (output[_rRVTS] != null && output[_rRVTS][_i] != null) { - contents[_RRVTe] = de_ReplaceRootVolumeTasks((0, import_smithy_client.getArrayIfSingleItem)(output[_rRVTS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeReplaceRootVolumeTasksResult"); -var de_DescribeReservedInstancesListingsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.reservedInstancesListingsSet === "") { - contents[_RIL] = []; - } else if (output[_rILS] != null && output[_rILS][_i] != null) { - contents[_RIL] = de_ReservedInstancesListingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rILS][_i]), context); - } - return contents; -}, "de_DescribeReservedInstancesListingsResult"); -var de_DescribeReservedInstancesModificationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.reservedInstancesModificationsSet === "") { - contents[_RIM] = []; - } else if (output[_rIMS] != null && output[_rIMS][_i] != null) { - contents[_RIM] = de_ReservedInstancesModificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_rIMS][_i]), context); - } - return contents; -}, "de_DescribeReservedInstancesModificationsResult"); -var de_DescribeReservedInstancesOfferingsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.reservedInstancesOfferingsSet === "") { - contents[_RIO] = []; - } else if (output[_rIOS] != null && output[_rIOS][_i] != null) { - contents[_RIO] = de_ReservedInstancesOfferingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rIOS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeReservedInstancesOfferingsResult"); -var de_DescribeReservedInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.reservedInstancesSet === "") { - contents[_RIese] = []; - } else if (output[_rIS] != null && output[_rIS][_i] != null) { - contents[_RIese] = de_ReservedInstancesList((0, import_smithy_client.getArrayIfSingleItem)(output[_rIS][_i]), context); - } - return contents; -}, "de_DescribeReservedInstancesResult"); -var de_DescribeRouteTablesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.routeTableSet === "") { - contents[_RTou] = []; - } else if (output[_rTS] != null && output[_rTS][_i] != null) { - contents[_RTou] = de_RouteTableList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeRouteTablesResult"); -var de_DescribeScheduledInstanceAvailabilityResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.scheduledInstanceAvailabilitySet === "") { - contents[_SIAS] = []; - } else if (output[_sIAS] != null && output[_sIAS][_i] != null) { - contents[_SIAS] = de_ScheduledInstanceAvailabilitySet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIAS][_i]), context); - } - return contents; -}, "de_DescribeScheduledInstanceAvailabilityResult"); -var de_DescribeScheduledInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.scheduledInstanceSet === "") { - contents[_SIS] = []; - } else if (output[_sIS] != null && output[_sIS][_i] != null) { - contents[_SIS] = de_ScheduledInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIS][_i]), context); - } - return contents; -}, "de_DescribeScheduledInstancesResult"); -var de_DescribeSecurityGroupReferencesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.securityGroupReferenceSet === "") { - contents[_SGRSe] = []; - } else if (output[_sGRSe] != null && output[_sGRSe][_i] != null) { - contents[_SGRSe] = de_SecurityGroupReferences((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRSe][_i]), context); - } - return contents; -}, "de_DescribeSecurityGroupReferencesResult"); -var de_DescribeSecurityGroupRulesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.securityGroupRuleSet === "") { - contents[_SGR] = []; - } else if (output[_sGRS] != null && output[_sGRS][_i] != null) { - contents[_SGR] = de_SecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeSecurityGroupRulesResult"); -var de_DescribeSecurityGroupsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.securityGroupInfo === "") { - contents[_SG] = []; - } else if (output[_sGIec] != null && output[_sGIec][_i] != null) { - contents[_SG] = de_SecurityGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIec][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeSecurityGroupsResult"); -var de_DescribeSnapshotAttributeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.createVolumePermission === "") { - contents[_CVPr] = []; - } else if (output[_cVP] != null && output[_cVP][_i] != null) { - contents[_CVPr] = de_CreateVolumePermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_cVP][_i]), context); - } - if (output.productCodes === "") { - contents[_PCr] = []; - } else if (output[_pC] != null && output[_pC][_i] != null) { - contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); - } - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - return contents; -}, "de_DescribeSnapshotAttributeResult"); -var de_DescribeSnapshotsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.snapshotSet === "") { - contents[_Sn] = []; - } else if (output[_sS] != null && output[_sS][_i] != null) { - contents[_Sn] = de_SnapshotList((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeSnapshotsResult"); -var de_DescribeSnapshotTierStatusResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.snapshotTierStatusSet === "") { - contents[_STS] = []; - } else if (output[_sTSS] != null && output[_sTSS][_i] != null) { - contents[_STS] = de_snapshotTierStatusSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sTSS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeSnapshotTierStatusResult"); -var de_DescribeSpotDatafeedSubscriptionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sDS] != null) { - contents[_SDS] = de_SpotDatafeedSubscription(output[_sDS], context); - } - return contents; -}, "de_DescribeSpotDatafeedSubscriptionResult"); -var de_DescribeSpotFleetInstancesResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.activeInstanceSet === "") { - contents[_AIc] = []; - } else if (output[_aIS] != null && output[_aIS][_i] != null) { - contents[_AIc] = de_ActiveInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aIS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output[_sFRI] != null) { - contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); - } - return contents; -}, "de_DescribeSpotFleetInstancesResponse"); -var de_DescribeSpotFleetRequestHistoryResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.historyRecordSet === "") { - contents[_HRi] = []; - } else if (output[_hRS] != null && output[_hRS][_i] != null) { - contents[_HRi] = de_HistoryRecords((0, import_smithy_client.getArrayIfSingleItem)(output[_hRS][_i]), context); - } - if (output[_lET] != null) { - contents[_LET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lET])); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output[_sFRI] != null) { - contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); - } - if (output[_sT] != null) { - contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); - } - return contents; -}, "de_DescribeSpotFleetRequestHistoryResponse"); -var de_DescribeSpotFleetRequestsResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.spotFleetRequestConfigSet === "") { - contents[_SFRCp] = []; - } else if (output[_sFRCS] != null && output[_sFRCS][_i] != null) { - contents[_SFRCp] = de_SpotFleetRequestConfigSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sFRCS][_i]), context); - } - return contents; -}, "de_DescribeSpotFleetRequestsResponse"); -var de_DescribeSpotInstanceRequestsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.spotInstanceRequestSet === "") { - contents[_SIR] = []; - } else if (output[_sIRS] != null && output[_sIRS][_i] != null) { - contents[_SIR] = de_SpotInstanceRequestList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIRS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeSpotInstanceRequestsResult"); -var de_DescribeSpotPriceHistoryResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.spotPriceHistorySet === "") { - contents[_SPH] = []; - } else if (output[_sPHS] != null && output[_sPHS][_i] != null) { - contents[_SPH] = de_SpotPriceHistoryList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPHS][_i]), context); - } - return contents; -}, "de_DescribeSpotPriceHistoryResult"); -var de_DescribeStaleSecurityGroupsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.staleSecurityGroupSet === "") { - contents[_SSGS] = []; - } else if (output[_sSGS] != null && output[_sSGS][_i] != null) { - contents[_SSGS] = de_StaleSecurityGroupSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sSGS][_i]), context); - } - return contents; -}, "de_DescribeStaleSecurityGroupsResult"); -var de_DescribeStoreImageTasksResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.storeImageTaskResultSet === "") { - contents[_SITR] = []; - } else if (output[_sITRS] != null && output[_sITRS][_i] != null) { - contents[_SITR] = de_StoreImageTaskResultSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sITRS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeStoreImageTasksResult"); -var de_DescribeSubnetsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.subnetSet === "") { - contents[_Subn] = []; - } else if (output[_sSub] != null && output[_sSub][_i] != null) { - contents[_Subn] = de_SubnetList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSub][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeSubnetsResult"); -var de_DescribeTagsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagDescriptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_DescribeTagsResult"); -var de_DescribeTrafficMirrorFiltersResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.trafficMirrorFilterSet === "") { - contents[_TMFr] = []; - } else if (output[_tMFS] != null && output[_tMFS][_i] != null) { - contents[_TMFr] = de_TrafficMirrorFilterSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMFS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTrafficMirrorFiltersResult"); -var de_DescribeTrafficMirrorSessionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.trafficMirrorSessionSet === "") { - contents[_TMSr] = []; - } else if (output[_tMSS] != null && output[_tMSS][_i] != null) { - contents[_TMSr] = de_TrafficMirrorSessionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMSS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTrafficMirrorSessionsResult"); -var de_DescribeTrafficMirrorTargetsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.trafficMirrorTargetSet === "") { - contents[_TMTr] = []; - } else if (output[_tMTS] != null && output[_tMTS][_i] != null) { - contents[_TMTr] = de_TrafficMirrorTargetSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMTS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTrafficMirrorTargetsResult"); -var de_DescribeTransitGatewayAttachmentsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayAttachments === "") { - contents[_TGAr] = []; - } else if (output[_tGA] != null && output[_tGA][_i] != null) { - contents[_TGAr] = de_TransitGatewayAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGA][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTransitGatewayAttachmentsResult"); -var de_DescribeTransitGatewayConnectPeersResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayConnectPeerSet === "") { - contents[_TGCPr] = []; - } else if (output[_tGCPS] != null && output[_tGCPS][_i] != null) { - contents[_TGCPr] = de_TransitGatewayConnectPeerList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGCPS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTransitGatewayConnectPeersResult"); -var de_DescribeTransitGatewayConnectsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayConnectSet === "") { - contents[_TGCra] = []; - } else if (output[_tGCS] != null && output[_tGCS][_i] != null) { - contents[_TGCra] = de_TransitGatewayConnectList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGCS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTransitGatewayConnectsResult"); -var de_DescribeTransitGatewayMulticastDomainsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayMulticastDomains === "") { - contents[_TGMDr] = []; - } else if (output[_tGMDr] != null && output[_tGMDr][_i] != null) { - contents[_TGMDr] = de_TransitGatewayMulticastDomainList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGMDr][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTransitGatewayMulticastDomainsResult"); -var de_DescribeTransitGatewayPeeringAttachmentsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayPeeringAttachments === "") { - contents[_TGPAr] = []; - } else if (output[_tGPAr] != null && output[_tGPAr][_i] != null) { - contents[_TGPAr] = de_TransitGatewayPeeringAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPAr][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTransitGatewayPeeringAttachmentsResult"); -var de_DescribeTransitGatewayPolicyTablesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayPolicyTables === "") { - contents[_TGPTr] = []; - } else if (output[_tGPTr] != null && output[_tGPTr][_i] != null) { - contents[_TGPTr] = de_TransitGatewayPolicyTableList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPTr][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTransitGatewayPolicyTablesResult"); -var de_DescribeTransitGatewayRouteTableAnnouncementsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayRouteTableAnnouncements === "") { - contents[_TGRTAr] = []; - } else if (output[_tGRTAr] != null && output[_tGRTAr][_i] != null) { - contents[_TGRTAr] = de_TransitGatewayRouteTableAnnouncementList( - (0, import_smithy_client.getArrayIfSingleItem)(output[_tGRTAr][_i]), - context - ); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTransitGatewayRouteTableAnnouncementsResult"); -var de_DescribeTransitGatewayRouteTablesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayRouteTables === "") { - contents[_TGRTr] = []; - } else if (output[_tGRTr] != null && output[_tGRTr][_i] != null) { - contents[_TGRTr] = de_TransitGatewayRouteTableList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGRTr][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTransitGatewayRouteTablesResult"); -var de_DescribeTransitGatewaysResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewaySet === "") { - contents[_TGra] = []; - } else if (output[_tGS] != null && output[_tGS][_i] != null) { - contents[_TGra] = de_TransitGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTransitGatewaysResult"); -var de_DescribeTransitGatewayVpcAttachmentsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayVpcAttachments === "") { - contents[_TGVAr] = []; - } else if (output[_tGVAr] != null && output[_tGVAr][_i] != null) { - contents[_TGVAr] = de_TransitGatewayVpcAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGVAr][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTransitGatewayVpcAttachmentsResult"); -var de_DescribeTrunkInterfaceAssociationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.interfaceAssociationSet === "") { - contents[_IAnt] = []; - } else if (output[_iAS] != null && output[_iAS][_i] != null) { - contents[_IAnt] = de_TrunkInterfaceAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_iAS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeTrunkInterfaceAssociationsResult"); -var de_DescribeVerifiedAccessEndpointsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.verifiedAccessEndpointSet === "") { - contents[_VAEe] = []; - } else if (output[_vAES] != null && output[_vAES][_i] != null) { - contents[_VAEe] = de_VerifiedAccessEndpointList((0, import_smithy_client.getArrayIfSingleItem)(output[_vAES][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVerifiedAccessEndpointsResult"); -var de_DescribeVerifiedAccessGroupsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.verifiedAccessGroupSet === "") { - contents[_VAGe] = []; - } else if (output[_vAGS] != null && output[_vAGS][_i] != null) { - contents[_VAGe] = de_VerifiedAccessGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_vAGS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVerifiedAccessGroupsResult"); -var de_DescribeVerifiedAccessInstanceLoggingConfigurationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.loggingConfigurationSet === "") { - contents[_LC] = []; - } else if (output[_lCS] != null && output[_lCS][_i] != null) { - contents[_LC] = de_VerifiedAccessInstanceLoggingConfigurationList( - (0, import_smithy_client.getArrayIfSingleItem)(output[_lCS][_i]), - context - ); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVerifiedAccessInstanceLoggingConfigurationsResult"); -var de_DescribeVerifiedAccessInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.verifiedAccessInstanceSet === "") { - contents[_VAIe] = []; - } else if (output[_vAIS] != null && output[_vAIS][_i] != null) { - contents[_VAIe] = de_VerifiedAccessInstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_vAIS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVerifiedAccessInstancesResult"); -var de_DescribeVerifiedAccessTrustProvidersResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.verifiedAccessTrustProviderSet === "") { - contents[_VATPe] = []; - } else if (output[_vATPS] != null && output[_vATPS][_i] != null) { - contents[_VATPe] = de_VerifiedAccessTrustProviderList((0, import_smithy_client.getArrayIfSingleItem)(output[_vATPS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVerifiedAccessTrustProvidersResult"); -var de_DescribeVolumeAttributeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aEIO] != null) { - contents[_AEIO] = de_AttributeBooleanValue(output[_aEIO], context); - } - if (output.productCodes === "") { - contents[_PCr] = []; - } else if (output[_pC] != null && output[_pC][_i] != null) { - contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); - } - if (output[_vIo] != null) { - contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); - } - return contents; -}, "de_DescribeVolumeAttributeResult"); -var de_DescribeVolumesModificationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.volumeModificationSet === "") { - contents[_VM] = []; - } else if (output[_vMS] != null && output[_vMS][_i] != null) { - contents[_VM] = de_VolumeModificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_vMS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVolumesModificationsResult"); -var de_DescribeVolumesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.volumeSet === "") { - contents[_Vol] = []; - } else if (output[_vS] != null && output[_vS][_i] != null) { - contents[_Vol] = de_VolumeList((0, import_smithy_client.getArrayIfSingleItem)(output[_vS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVolumesResult"); -var de_DescribeVolumeStatusResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.volumeStatusSet === "") { - contents[_VSo] = []; - } else if (output[_vSS] != null && output[_vSS][_i] != null) { - contents[_VSo] = de_VolumeStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSS][_i]), context); - } - return contents; -}, "de_DescribeVolumeStatusResult"); -var de_DescribeVpcAttributeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_eDH] != null) { - contents[_EDH] = de_AttributeBooleanValue(output[_eDH], context); - } - if (output[_eDS] != null) { - contents[_EDS] = de_AttributeBooleanValue(output[_eDS], context); - } - if (output[_eNAUM] != null) { - contents[_ENAUM] = de_AttributeBooleanValue(output[_eNAUM], context); - } - return contents; -}, "de_DescribeVpcAttributeResult"); -var de_DescribeVpcClassicLinkDnsSupportResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.vpcs === "") { - contents[_Vpc] = []; - } else if (output[_vpc] != null && output[_vpc][_i] != null) { - contents[_Vpc] = de_ClassicLinkDnsSupportList((0, import_smithy_client.getArrayIfSingleItem)(output[_vpc][_i]), context); - } - return contents; -}, "de_DescribeVpcClassicLinkDnsSupportResult"); -var de_DescribeVpcClassicLinkResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.vpcSet === "") { - contents[_Vpc] = []; - } else if (output[_vSp] != null && output[_vSp][_i] != null) { - contents[_Vpc] = de_VpcClassicLinkList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSp][_i]), context); - } - return contents; -}, "de_DescribeVpcClassicLinkResult"); -var de_DescribeVpcEndpointConnectionNotificationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.connectionNotificationSet === "") { - contents[_CNSo] = []; - } else if (output[_cNSo] != null && output[_cNSo][_i] != null) { - contents[_CNSo] = de_ConnectionNotificationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cNSo][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVpcEndpointConnectionNotificationsResult"); -var de_DescribeVpcEndpointConnectionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.vpcEndpointConnectionSet === "") { - contents[_VEC] = []; - } else if (output[_vECS] != null && output[_vECS][_i] != null) { - contents[_VEC] = de_VpcEndpointConnectionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_vECS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVpcEndpointConnectionsResult"); -var de_DescribeVpcEndpointServiceConfigurationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.serviceConfigurationSet === "") { - contents[_SCer] = []; - } else if (output[_sCS] != null && output[_sCS][_i] != null) { - contents[_SCer] = de_ServiceConfigurationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sCS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVpcEndpointServiceConfigurationsResult"); -var de_DescribeVpcEndpointServicePermissionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.allowedPrincipals === "") { - contents[_APl] = []; - } else if (output[_aP] != null && output[_aP][_i] != null) { - contents[_APl] = de_AllowedPrincipalSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aP][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVpcEndpointServicePermissionsResult"); -var de_DescribeVpcEndpointServicesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.serviceNameSet === "") { - contents[_SNer] = []; - } else if (output[_sNS] != null && output[_sNS][_i] != null) { - contents[_SNer] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sNS][_i]), context); - } - if (output.serviceDetailSet === "") { - contents[_SDe] = []; - } else if (output[_sDSe] != null && output[_sDSe][_i] != null) { - contents[_SDe] = de_ServiceDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sDSe][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVpcEndpointServicesResult"); -var de_DescribeVpcEndpointsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.vpcEndpointSet === "") { - contents[_VEp] = []; - } else if (output[_vESp] != null && output[_vESp][_i] != null) { - contents[_VEp] = de_VpcEndpointSet((0, import_smithy_client.getArrayIfSingleItem)(output[_vESp][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVpcEndpointsResult"); -var de_DescribeVpcPeeringConnectionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.vpcPeeringConnectionSet === "") { - contents[_VPCp] = []; - } else if (output[_vPCS] != null && output[_vPCS][_i] != null) { - contents[_VPCp] = de_VpcPeeringConnectionList((0, import_smithy_client.getArrayIfSingleItem)(output[_vPCS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVpcPeeringConnectionsResult"); -var de_DescribeVpcsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.vpcSet === "") { - contents[_Vpc] = []; - } else if (output[_vSp] != null && output[_vSp][_i] != null) { - contents[_Vpc] = de_VpcList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSp][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_DescribeVpcsResult"); -var de_DescribeVpnConnectionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.vpnConnectionSet === "") { - contents[_VCp] = []; - } else if (output[_vCS] != null && output[_vCS][_i] != null) { - contents[_VCp] = de_VpnConnectionList((0, import_smithy_client.getArrayIfSingleItem)(output[_vCS][_i]), context); - } - return contents; -}, "de_DescribeVpnConnectionsResult"); -var de_DescribeVpnGatewaysResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.vpnGatewaySet === "") { - contents[_VGp] = []; - } else if (output[_vGS] != null && output[_vGS][_i] != null) { - contents[_VGp] = de_VpnGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_vGS][_i]), context); - } - return contents; -}, "de_DescribeVpnGatewaysResult"); -var de_DestinationOptionsResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fF] != null) { - contents[_FF] = (0, import_smithy_client.expectString)(output[_fF]); - } - if (output[_hCP] != null) { - contents[_HCP] = (0, import_smithy_client.parseBoolean)(output[_hCP]); - } - if (output[_pHP] != null) { - contents[_PHP] = (0, import_smithy_client.parseBoolean)(output[_pHP]); - } - return contents; -}, "de_DestinationOptionsResponse"); -var de_DetachClassicLinkVpcResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_DetachClassicLinkVpcResult"); -var de_DetachVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vATP] != null) { - contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context); - } - if (output[_vAI] != null) { - contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context); - } - return contents; -}, "de_DetachVerifiedAccessTrustProviderResult"); -var de_DeviceOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tI] != null) { - contents[_TIe] = (0, import_smithy_client.expectString)(output[_tI]); - } - if (output[_pSKU] != null) { - contents[_PSKU] = (0, import_smithy_client.expectString)(output[_pSKU]); - } - return contents; -}, "de_DeviceOptions"); -var de_DhcpConfiguration = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_k] != null) { - contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]); - } - if (output.valueSet === "") { - contents[_Val] = []; - } else if (output[_vSa] != null && output[_vSa][_i] != null) { - contents[_Val] = de_DhcpConfigurationValueList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSa][_i]), context); - } - return contents; -}, "de_DhcpConfiguration"); -var de_DhcpConfigurationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DhcpConfiguration(entry, context); - }); -}, "de_DhcpConfigurationList"); -var de_DhcpConfigurationValueList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_AttributeValue(entry, context); - }); -}, "de_DhcpConfigurationValueList"); -var de_DhcpOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.dhcpConfigurationSet === "") { - contents[_DCh] = []; - } else if (output[_dCS] != null && output[_dCS][_i] != null) { - contents[_DCh] = de_DhcpConfigurationList((0, import_smithy_client.getArrayIfSingleItem)(output[_dCS][_i]), context); - } - if (output[_dOI] != null) { - contents[_DOI] = (0, import_smithy_client.expectString)(output[_dOI]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_DhcpOptions"); -var de_DhcpOptionsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DhcpOptions(entry, context); - }); -}, "de_DhcpOptionsList"); -var de_DirectoryServiceAuthentication = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dI] != null) { - contents[_DIir] = (0, import_smithy_client.expectString)(output[_dI]); - } - return contents; -}, "de_DirectoryServiceAuthentication"); -var de_DisableAddressTransferResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aT] != null) { - contents[_ATdd] = de_AddressTransfer(output[_aT], context); - } - return contents; -}, "de_DisableAddressTransferResult"); -var de_DisableAwsNetworkPerformanceMetricSubscriptionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ou] != null) { - contents[_Ou] = (0, import_smithy_client.parseBoolean)(output[_ou]); - } - return contents; -}, "de_DisableAwsNetworkPerformanceMetricSubscriptionResult"); -var de_DisableEbsEncryptionByDefaultResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eEBD] != null) { - contents[_EEBD] = (0, import_smithy_client.parseBoolean)(output[_eEBD]); - } - return contents; -}, "de_DisableEbsEncryptionByDefaultResult"); -var de_DisableFastLaunchResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_sCn] != null) { - contents[_SCn] = de_FastLaunchSnapshotConfigurationResponse(output[_sCn], context); - } - if (output[_lT] != null) { - contents[_LTa] = de_FastLaunchLaunchTemplateSpecificationResponse(output[_lT], context); - } - if (output[_mPL] != null) { - contents[_MPL] = (0, import_smithy_client.strictParseInt32)(output[_mPL]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sTR] != null) { - contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); - } - if (output[_sTT] != null) { - contents[_STT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTT])); - } - return contents; -}, "de_DisableFastLaunchResult"); -var de_DisableFastSnapshotRestoreErrorItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output.fastSnapshotRestoreStateErrorSet === "") { - contents[_FSRSE] = []; - } else if (output[_fSRSES] != null && output[_fSRSES][_i] != null) { - contents[_FSRSE] = de_DisableFastSnapshotRestoreStateErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fSRSES][_i]), context); - } - return contents; -}, "de_DisableFastSnapshotRestoreErrorItem"); -var de_DisableFastSnapshotRestoreErrorSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DisableFastSnapshotRestoreErrorItem(entry, context); - }); -}, "de_DisableFastSnapshotRestoreErrorSet"); -var de_DisableFastSnapshotRestoresResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.successful === "") { - contents[_Suc] = []; - } else if (output[_suc] != null && output[_suc][_i] != null) { - contents[_Suc] = de_DisableFastSnapshotRestoreSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context); - } - if (output.unsuccessful === "") { - contents[_Un] = []; - } else if (output[_u] != null && output[_u][_i] != null) { - contents[_Un] = de_DisableFastSnapshotRestoreErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); - } - return contents; -}, "de_DisableFastSnapshotRestoresResult"); -var de_DisableFastSnapshotRestoreStateError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_DisableFastSnapshotRestoreStateError"); -var de_DisableFastSnapshotRestoreStateErrorItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_er] != null) { - contents[_Er] = de_DisableFastSnapshotRestoreStateError(output[_er], context); - } - return contents; -}, "de_DisableFastSnapshotRestoreStateErrorItem"); -var de_DisableFastSnapshotRestoreStateErrorSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DisableFastSnapshotRestoreStateErrorItem(entry, context); - }); -}, "de_DisableFastSnapshotRestoreStateErrorSet"); -var de_DisableFastSnapshotRestoreSuccessItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sTR] != null) { - contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_oAw] != null) { - contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]); - } - if (output[_eTn] != null) { - contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn])); - } - if (output[_oT] != null) { - contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT])); - } - if (output[_eTna] != null) { - contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna])); - } - if (output[_dTi] != null) { - contents[_DTi] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTi])); - } - if (output[_dTis] != null) { - contents[_DTis] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTis])); - } - return contents; -}, "de_DisableFastSnapshotRestoreSuccessItem"); -var de_DisableFastSnapshotRestoreSuccessSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DisableFastSnapshotRestoreSuccessItem(entry, context); - }); -}, "de_DisableFastSnapshotRestoreSuccessSet"); -var de_DisableImageBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iBPAS] != null) { - contents[_IBPAS] = (0, import_smithy_client.expectString)(output[_iBPAS]); - } - return contents; -}, "de_DisableImageBlockPublicAccessResult"); -var de_DisableImageDeprecationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_DisableImageDeprecationResult"); -var de_DisableImageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_DisableImageResult"); -var de_DisableIpamOrganizationAdminAccountResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_succ] != null) { - contents[_Succ] = (0, import_smithy_client.parseBoolean)(output[_succ]); - } - return contents; -}, "de_DisableIpamOrganizationAdminAccountResult"); -var de_DisableSerialConsoleAccessResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sCAE] != null) { - contents[_SCAE] = (0, import_smithy_client.parseBoolean)(output[_sCAE]); - } - return contents; -}, "de_DisableSerialConsoleAccessResult"); -var de_DisableSnapshotBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_DisableSnapshotBlockPublicAccessResult"); -var de_DisableTransitGatewayRouteTablePropagationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_prop] != null) { - contents[_Prop] = de_TransitGatewayPropagation(output[_prop], context); - } - return contents; -}, "de_DisableTransitGatewayRouteTablePropagationResult"); -var de_DisableVpcClassicLinkDnsSupportResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_DisableVpcClassicLinkDnsSupportResult"); -var de_DisableVpcClassicLinkResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_DisableVpcClassicLinkResult"); -var de_DisassociateClientVpnTargetNetworkResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_sta] != null) { - contents[_Statu] = de_AssociationStatus(output[_sta], context); - } - return contents; -}, "de_DisassociateClientVpnTargetNetworkResult"); -var de_DisassociateEnclaveCertificateIamRoleResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_DisassociateEnclaveCertificateIamRoleResult"); -var de_DisassociateIamInstanceProfileResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIPA] != null) { - contents[_IIPA] = de_IamInstanceProfileAssociation(output[_iIPA], context); - } - return contents; -}, "de_DisassociateIamInstanceProfileResult"); -var de_DisassociateInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iEW] != null) { - contents[_IEW] = de_InstanceEventWindow(output[_iEW], context); - } - return contents; -}, "de_DisassociateInstanceEventWindowResult"); -var de_DisassociateIpamByoasnResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aA] != null) { - contents[_AAsn] = de_AsnAssociation(output[_aA], context); - } - return contents; -}, "de_DisassociateIpamByoasnResult"); -var de_DisassociateIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iRDA] != null) { - contents[_IRDA] = de_IpamResourceDiscoveryAssociation(output[_iRDA], context); - } - return contents; -}, "de_DisassociateIpamResourceDiscoveryResult"); -var de_DisassociateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nGI] != null) { - contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); - } - if (output.natGatewayAddressSet === "") { - contents[_NGA] = []; - } else if (output[_nGAS] != null && output[_nGAS][_i] != null) { - contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context); - } - return contents; -}, "de_DisassociateNatGatewayAddressResult"); -var de_DisassociateSubnetCidrBlockResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iCBA] != null) { - contents[_ICBA] = de_SubnetIpv6CidrBlockAssociation(output[_iCBA], context); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - return contents; -}, "de_DisassociateSubnetCidrBlockResult"); -var de_DisassociateTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_a] != null) { - contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context); - } - return contents; -}, "de_DisassociateTransitGatewayMulticastDomainResult"); -var de_DisassociateTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ass] != null) { - contents[_Asso] = de_TransitGatewayPolicyTableAssociation(output[_ass], context); - } - return contents; -}, "de_DisassociateTransitGatewayPolicyTableResult"); -var de_DisassociateTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ass] != null) { - contents[_Asso] = de_TransitGatewayAssociation(output[_ass], context); - } - return contents; -}, "de_DisassociateTransitGatewayRouteTableResult"); -var de_DisassociateTrunkInterfaceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - return contents; -}, "de_DisassociateTrunkInterfaceResult"); -var de_DisassociateVpcCidrBlockResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iCBA] != null) { - contents[_ICBA] = de_VpcIpv6CidrBlockAssociation(output[_iCBA], context); - } - if (output[_cBA] != null) { - contents[_CBA] = de_VpcCidrBlockAssociation(output[_cBA], context); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - return contents; -}, "de_DisassociateVpcCidrBlockResult"); -var de_DiskImageDescription = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ch] != null) { - contents[_Ch] = (0, import_smithy_client.expectString)(output[_ch]); - } - if (output[_f] != null) { - contents[_Fo] = (0, import_smithy_client.expectString)(output[_f]); - } - if (output[_iMU] != null) { - contents[_IMU] = (0, import_smithy_client.expectString)(output[_iMU]); - } - if (output[_si] != null) { - contents[_Siz] = (0, import_smithy_client.strictParseLong)(output[_si]); - } - return contents; -}, "de_DiskImageDescription"); -var de_DiskImageVolumeDescription = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_id] != null) { - contents[_Id] = (0, import_smithy_client.expectString)(output[_id]); - } - if (output[_si] != null) { - contents[_Siz] = (0, import_smithy_client.strictParseLong)(output[_si]); - } - return contents; -}, "de_DiskImageVolumeDescription"); -var de_DiskInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIGB] != null) { - contents[_SIGB] = (0, import_smithy_client.strictParseLong)(output[_sIGB]); - } - if (output[_cou] != null) { - contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); - } - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - return contents; -}, "de_DiskInfo"); -var de_DiskInfoList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DiskInfo(entry, context); - }); -}, "de_DiskInfoList"); -var de_DnsEntry = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dNn] != null) { - contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]); - } - if (output[_hZI] != null) { - contents[_HZI] = (0, import_smithy_client.expectString)(output[_hZI]); - } - return contents; -}, "de_DnsEntry"); -var de_DnsEntrySet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_DnsEntry(entry, context); - }); -}, "de_DnsEntrySet"); -var de_DnsOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dRIT] != null) { - contents[_DRIT] = (0, import_smithy_client.expectString)(output[_dRIT]); - } - if (output[_pDOFIRE] != null) { - contents[_PDOFIRE] = (0, import_smithy_client.parseBoolean)(output[_pDOFIRE]); - } - return contents; -}, "de_DnsOptions"); -var de_EbsBlockDevice = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dOT] != null) { - contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); - } - if (output[_io] != null) { - contents[_Io] = (0, import_smithy_client.strictParseInt32)(output[_io]); - } - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_vSo] != null) { - contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]); - } - if (output[_vT] != null) { - contents[_VT] = (0, import_smithy_client.expectString)(output[_vT]); - } - if (output[_kKI] != null) { - contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); - } - if (output[_th] != null) { - contents[_Th] = (0, import_smithy_client.strictParseInt32)(output[_th]); - } - if (output[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output[_enc] != null) { - contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); - } - return contents; -}, "de_EbsBlockDevice"); -var de_EbsInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eOS] != null) { - contents[_EOS] = (0, import_smithy_client.expectString)(output[_eOS]); - } - if (output[_eSn] != null) { - contents[_ESnc] = (0, import_smithy_client.expectString)(output[_eSn]); - } - if (output[_eOI] != null) { - contents[_EOI] = de_EbsOptimizedInfo(output[_eOI], context); - } - if (output[_nS] != null) { - contents[_NS] = (0, import_smithy_client.expectString)(output[_nS]); - } - return contents; -}, "de_EbsInfo"); -var de_EbsInstanceBlockDevice = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aTt] != null) { - contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt])); - } - if (output[_dOT] != null) { - contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_vIo] != null) { - contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); - } - if (output[_aRs] != null) { - contents[_ARs] = (0, import_smithy_client.expectString)(output[_aRs]); - } - if (output[_vOI] != null) { - contents[_VOI] = (0, import_smithy_client.expectString)(output[_vOI]); - } - return contents; -}, "de_EbsInstanceBlockDevice"); -var de_EbsOptimizedInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_bBIM] != null) { - contents[_BBIM] = (0, import_smithy_client.strictParseInt32)(output[_bBIM]); - } - if (output[_bTIMB] != null) { - contents[_BTIMB] = (0, import_smithy_client.strictParseFloat)(output[_bTIMB]); - } - if (output[_bIa] != null) { - contents[_BIa] = (0, import_smithy_client.strictParseInt32)(output[_bIa]); - } - if (output[_mBIM] != null) { - contents[_MBIM] = (0, import_smithy_client.strictParseInt32)(output[_mBIM]); - } - if (output[_mTIMB] != null) { - contents[_MTIMB] = (0, import_smithy_client.strictParseFloat)(output[_mTIMB]); - } - if (output[_mI] != null) { - contents[_MIa] = (0, import_smithy_client.strictParseInt32)(output[_mI]); - } - return contents; -}, "de_EbsOptimizedInfo"); -var de_Ec2InstanceConnectEndpoint = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_iCEI] != null) { - contents[_ICEI] = (0, import_smithy_client.expectString)(output[_iCEI]); - } - if (output[_iCEA] != null) { - contents[_ICEA] = (0, import_smithy_client.expectString)(output[_iCEA]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sMt] != null) { - contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]); - } - if (output[_dNn] != null) { - contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]); - } - if (output[_fDN] != null) { - contents[_FDN] = (0, import_smithy_client.expectString)(output[_fDN]); - } - if (output.networkInterfaceIdSet === "") { - contents[_NIIe] = []; - } else if (output[_nIIS] != null && output[_nIIS][_i] != null) { - contents[_NIIe] = de_NetworkInterfaceIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_nIIS][_i]), context); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_cAr] != null) { - contents[_CAr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cAr])); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_pCI] != null) { - contents[_PCI] = (0, import_smithy_client.parseBoolean)(output[_pCI]); - } - if (output.securityGroupIdSet === "") { - contents[_SGI] = []; - } else if (output[_sGIS] != null && output[_sGIS][_i] != null) { - contents[_SGI] = de_SecurityGroupIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIS][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_Ec2InstanceConnectEndpoint"); -var de_EfaInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_mEI] != null) { - contents[_MEI] = (0, import_smithy_client.strictParseInt32)(output[_mEI]); - } - return contents; -}, "de_EfaInfo"); -var de_EgressOnlyInternetGateway = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.attachmentSet === "") { - contents[_Atta] = []; - } else if (output[_aSt] != null && output[_aSt][_i] != null) { - contents[_Atta] = de_InternetGatewayAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSt][_i]), context); - } - if (output[_eOIGI] != null) { - contents[_EOIGI] = (0, import_smithy_client.expectString)(output[_eOIGI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_EgressOnlyInternetGateway"); -var de_EgressOnlyInternetGatewayList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_EgressOnlyInternetGateway(entry, context); - }); -}, "de_EgressOnlyInternetGatewayList"); -var de_ElasticGpuAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eGI] != null) { - contents[_EGIl] = (0, import_smithy_client.expectString)(output[_eGI]); - } - if (output[_eGAI] != null) { - contents[_EGAI] = (0, import_smithy_client.expectString)(output[_eGAI]); - } - if (output[_eGAS] != null) { - contents[_EGAS] = (0, import_smithy_client.expectString)(output[_eGAS]); - } - if (output[_eGAT] != null) { - contents[_EGAT] = (0, import_smithy_client.expectString)(output[_eGAT]); - } - return contents; -}, "de_ElasticGpuAssociation"); -var de_ElasticGpuAssociationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ElasticGpuAssociation(entry, context); - }); -}, "de_ElasticGpuAssociationList"); -var de_ElasticGpuHealth = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - return contents; -}, "de_ElasticGpuHealth"); -var de_ElasticGpus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eGI] != null) { - contents[_EGIl] = (0, import_smithy_client.expectString)(output[_eGI]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_eGT] != null) { - contents[_EGT] = (0, import_smithy_client.expectString)(output[_eGT]); - } - if (output[_eGH] != null) { - contents[_EGH] = de_ElasticGpuHealth(output[_eGH], context); - } - if (output[_eGSl] != null) { - contents[_EGSlas] = (0, import_smithy_client.expectString)(output[_eGSl]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_ElasticGpus"); -var de_ElasticGpuSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ElasticGpus(entry, context); - }); -}, "de_ElasticGpuSet"); -var de_ElasticGpuSpecificationResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - return contents; -}, "de_ElasticGpuSpecificationResponse"); -var de_ElasticGpuSpecificationResponseList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ElasticGpuSpecificationResponse(entry, context); - }); -}, "de_ElasticGpuSpecificationResponseList"); -var de_ElasticInferenceAcceleratorAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eIAA] != null) { - contents[_EIAA] = (0, import_smithy_client.expectString)(output[_eIAA]); - } - if (output[_eIAAI] != null) { - contents[_EIAAI] = (0, import_smithy_client.expectString)(output[_eIAAI]); - } - if (output[_eIAAS] != null) { - contents[_EIAAS] = (0, import_smithy_client.expectString)(output[_eIAAS]); - } - if (output[_eIAAT] != null) { - contents[_EIAAT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eIAAT])); - } - return contents; -}, "de_ElasticInferenceAcceleratorAssociation"); -var de_ElasticInferenceAcceleratorAssociationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ElasticInferenceAcceleratorAssociation(entry, context); - }); -}, "de_ElasticInferenceAcceleratorAssociationList"); -var de_EnableAddressTransferResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aT] != null) { - contents[_ATdd] = de_AddressTransfer(output[_aT], context); - } - return contents; -}, "de_EnableAddressTransferResult"); -var de_EnableAwsNetworkPerformanceMetricSubscriptionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ou] != null) { - contents[_Ou] = (0, import_smithy_client.parseBoolean)(output[_ou]); - } - return contents; -}, "de_EnableAwsNetworkPerformanceMetricSubscriptionResult"); -var de_EnableEbsEncryptionByDefaultResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eEBD] != null) { - contents[_EEBD] = (0, import_smithy_client.parseBoolean)(output[_eEBD]); - } - return contents; -}, "de_EnableEbsEncryptionByDefaultResult"); -var de_EnableFastLaunchResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_sCn] != null) { - contents[_SCn] = de_FastLaunchSnapshotConfigurationResponse(output[_sCn], context); - } - if (output[_lT] != null) { - contents[_LTa] = de_FastLaunchLaunchTemplateSpecificationResponse(output[_lT], context); - } - if (output[_mPL] != null) { - contents[_MPL] = (0, import_smithy_client.strictParseInt32)(output[_mPL]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sTR] != null) { - contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); - } - if (output[_sTT] != null) { - contents[_STT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTT])); - } - return contents; -}, "de_EnableFastLaunchResult"); -var de_EnableFastSnapshotRestoreErrorItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output.fastSnapshotRestoreStateErrorSet === "") { - contents[_FSRSE] = []; - } else if (output[_fSRSES] != null && output[_fSRSES][_i] != null) { - contents[_FSRSE] = de_EnableFastSnapshotRestoreStateErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fSRSES][_i]), context); - } - return contents; -}, "de_EnableFastSnapshotRestoreErrorItem"); -var de_EnableFastSnapshotRestoreErrorSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_EnableFastSnapshotRestoreErrorItem(entry, context); - }); -}, "de_EnableFastSnapshotRestoreErrorSet"); -var de_EnableFastSnapshotRestoresResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.successful === "") { - contents[_Suc] = []; - } else if (output[_suc] != null && output[_suc][_i] != null) { - contents[_Suc] = de_EnableFastSnapshotRestoreSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context); - } - if (output.unsuccessful === "") { - contents[_Un] = []; - } else if (output[_u] != null && output[_u][_i] != null) { - contents[_Un] = de_EnableFastSnapshotRestoreErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); - } - return contents; -}, "de_EnableFastSnapshotRestoresResult"); -var de_EnableFastSnapshotRestoreStateError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_EnableFastSnapshotRestoreStateError"); -var de_EnableFastSnapshotRestoreStateErrorItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_er] != null) { - contents[_Er] = de_EnableFastSnapshotRestoreStateError(output[_er], context); - } - return contents; -}, "de_EnableFastSnapshotRestoreStateErrorItem"); -var de_EnableFastSnapshotRestoreStateErrorSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_EnableFastSnapshotRestoreStateErrorItem(entry, context); - }); -}, "de_EnableFastSnapshotRestoreStateErrorSet"); -var de_EnableFastSnapshotRestoreSuccessItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sTR] != null) { - contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_oAw] != null) { - contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]); - } - if (output[_eTn] != null) { - contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn])); - } - if (output[_oT] != null) { - contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT])); - } - if (output[_eTna] != null) { - contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna])); - } - if (output[_dTi] != null) { - contents[_DTi] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTi])); - } - if (output[_dTis] != null) { - contents[_DTis] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTis])); - } - return contents; -}, "de_EnableFastSnapshotRestoreSuccessItem"); -var de_EnableFastSnapshotRestoreSuccessSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_EnableFastSnapshotRestoreSuccessItem(entry, context); - }); -}, "de_EnableFastSnapshotRestoreSuccessSet"); -var de_EnableImageBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iBPAS] != null) { - contents[_IBPAS] = (0, import_smithy_client.expectString)(output[_iBPAS]); - } - return contents; -}, "de_EnableImageBlockPublicAccessResult"); -var de_EnableImageDeprecationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_EnableImageDeprecationResult"); -var de_EnableImageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_EnableImageResult"); -var de_EnableIpamOrganizationAdminAccountResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_succ] != null) { - contents[_Succ] = (0, import_smithy_client.parseBoolean)(output[_succ]); - } - return contents; -}, "de_EnableIpamOrganizationAdminAccountResult"); -var de_EnableReachabilityAnalyzerOrganizationSharingResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rV] != null) { - contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_rV]); - } - return contents; -}, "de_EnableReachabilityAnalyzerOrganizationSharingResult"); -var de_EnableSerialConsoleAccessResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sCAE] != null) { - contents[_SCAE] = (0, import_smithy_client.parseBoolean)(output[_sCAE]); - } - return contents; -}, "de_EnableSerialConsoleAccessResult"); -var de_EnableSnapshotBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_EnableSnapshotBlockPublicAccessResult"); -var de_EnableTransitGatewayRouteTablePropagationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_prop] != null) { - contents[_Prop] = de_TransitGatewayPropagation(output[_prop], context); - } - return contents; -}, "de_EnableTransitGatewayRouteTablePropagationResult"); -var de_EnableVpcClassicLinkDnsSupportResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_EnableVpcClassicLinkDnsSupportResult"); -var de_EnableVpcClassicLinkResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_EnableVpcClassicLinkResult"); -var de_EnaSrdSpecificationRequest = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ESE] != null) { - contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_ESE]); - } - if (output[_ESUS] != null) { - contents[_ESUS] = de_EnaSrdUdpSpecificationRequest(output[_ESUS], context); - } - return contents; -}, "de_EnaSrdSpecificationRequest"); -var de_EnaSrdUdpSpecificationRequest = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ESUE] != null) { - contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_ESUE]); - } - return contents; -}, "de_EnaSrdUdpSpecificationRequest"); -var de_EnclaveOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_en] != null) { - contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); - } - return contents; -}, "de_EnclaveOptions"); -var de_EndpointSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ClientVpnEndpoint(entry, context); - }); -}, "de_EndpointSet"); -var de_ErrorSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ValidationError(entry, context); - }); -}, "de_ErrorSet"); -var de_EventInformation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eDv] != null) { - contents[_EDv] = (0, import_smithy_client.expectString)(output[_eDv]); - } - if (output[_eST] != null) { - contents[_EST] = (0, import_smithy_client.expectString)(output[_eST]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - return contents; -}, "de_EventInformation"); -var de_ExcludedInstanceTypeSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_ExcludedInstanceTypeSet"); -var de_Explanation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ac] != null) { - contents[_Acl] = de_AnalysisComponent(output[_ac], context); - } - if (output[_aRc] != null) { - contents[_ARcl] = de_AnalysisAclRule(output[_aRc], context); - } - if (output[_ad] != null) { - contents[_Ad] = (0, import_smithy_client.expectString)(output[_ad]); - } - if (output.addressSet === "") { - contents[_Addr] = []; - } else if (output[_aSd] != null && output[_aSd][_i] != null) { - contents[_Addr] = de_IpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSd][_i]), context); - } - if (output[_aTtt] != null) { - contents[_ATtta] = de_AnalysisComponent(output[_aTtt], context); - } - if (output.availabilityZoneSet === "") { - contents[_AZv] = []; - } else if (output[_aZS] != null && output[_aZS][_i] != null) { - contents[_AZv] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZS][_i]), context); - } - if (output.cidrSet === "") { - contents[_Ci] = []; - } else if (output[_cS] != null && output[_cS][_i] != null) { - contents[_Ci] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_cS][_i]), context); - } - if (output[_c] != null) { - contents[_Com] = de_AnalysisComponent(output[_c], context); - } - if (output[_cGu] != null) { - contents[_CGu] = de_AnalysisComponent(output[_cGu], context); - } - if (output[_d] != null) { - contents[_D] = de_AnalysisComponent(output[_d], context); - } - if (output[_dV] != null) { - contents[_DVest] = de_AnalysisComponent(output[_dV], context); - } - if (output[_di] != null) { - contents[_Di] = (0, import_smithy_client.expectString)(output[_di]); - } - if (output[_eCx] != null) { - contents[_ECx] = (0, import_smithy_client.expectString)(output[_eCx]); - } - if (output[_iRT] != null) { - contents[_IRT] = de_AnalysisComponent(output[_iRT], context); - } - if (output[_iG] != null) { - contents[_IGn] = de_AnalysisComponent(output[_iG], context); - } - if (output[_lBA] != null) { - contents[_LBA] = (0, import_smithy_client.expectString)(output[_lBA]); - } - if (output[_cLBL] != null) { - contents[_CLBL] = de_AnalysisLoadBalancerListener(output[_cLBL], context); - } - if (output[_lBLP] != null) { - contents[_LBLP] = (0, import_smithy_client.strictParseInt32)(output[_lBLP]); - } - if (output[_lBT] != null) { - contents[_LBT] = de_AnalysisLoadBalancerTarget(output[_lBT], context); - } - if (output[_lBTG] != null) { - contents[_LBTG] = de_AnalysisComponent(output[_lBTG], context); - } - if (output.loadBalancerTargetGroupSet === "") { - contents[_LBTGo] = []; - } else if (output[_lBTGS] != null && output[_lBTGS][_i] != null) { - contents[_LBTGo] = de_AnalysisComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_lBTGS][_i]), context); - } - if (output[_lBTP] != null) { - contents[_LBTP] = (0, import_smithy_client.strictParseInt32)(output[_lBTP]); - } - if (output[_eLBL] != null) { - contents[_ELBL] = de_AnalysisComponent(output[_eLBL], context); - } - if (output[_mC] != null) { - contents[_MCis] = (0, import_smithy_client.expectString)(output[_mC]); - } - if (output[_nG] != null) { - contents[_NG] = de_AnalysisComponent(output[_nG], context); - } - if (output[_nIe] != null) { - contents[_NIet] = de_AnalysisComponent(output[_nIe], context); - } - if (output[_pF] != null) { - contents[_PF] = (0, import_smithy_client.expectString)(output[_pF]); - } - if (output[_vPC] != null) { - contents[_VPC] = de_AnalysisComponent(output[_vPC], context); - } - if (output[_po] != null) { - contents[_Po] = (0, import_smithy_client.strictParseInt32)(output[_po]); - } - if (output.portRangeSet === "") { - contents[_PRo] = []; - } else if (output[_pRS] != null && output[_pRS][_i] != null) { - contents[_PRo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pRS][_i]), context); - } - if (output[_pL] != null) { - contents[_PLr] = de_AnalysisComponent(output[_pL], context); - } - if (output.protocolSet === "") { - contents[_Pro] = []; - } else if (output[_pSro] != null && output[_pSro][_i] != null) { - contents[_Pro] = de_StringList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSro][_i]), context); - } - if (output[_rTR] != null) { - contents[_RTR] = de_AnalysisRouteTableRoute(output[_rTR], context); - } - if (output[_rTo] != null) { - contents[_RTo] = de_AnalysisComponent(output[_rTo], context); - } - if (output[_sG] != null) { - contents[_SGe] = de_AnalysisComponent(output[_sG], context); - } - if (output[_sGR] != null) { - contents[_SGRe] = de_AnalysisSecurityGroupRule(output[_sGR], context); - } - if (output.securityGroupSet === "") { - contents[_SG] = []; - } else if (output[_sGS] != null && output[_sGS][_i] != null) { - contents[_SG] = de_AnalysisComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGS][_i]), context); - } - if (output[_sV] != null) { - contents[_SVo] = de_AnalysisComponent(output[_sV], context); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_su] != null) { - contents[_Su] = de_AnalysisComponent(output[_su], context); - } - if (output[_sRT] != null) { - contents[_SRT] = de_AnalysisComponent(output[_sRT], context); - } - if (output[_vp] != null) { - contents[_Vp] = de_AnalysisComponent(output[_vp], context); - } - if (output[_vE] != null) { - contents[_VE] = de_AnalysisComponent(output[_vE], context); - } - if (output[_vC] != null) { - contents[_VC] = de_AnalysisComponent(output[_vC], context); - } - if (output[_vG] != null) { - contents[_VG] = de_AnalysisComponent(output[_vG], context); - } - if (output[_tG] != null) { - contents[_TGr] = de_AnalysisComponent(output[_tG], context); - } - if (output[_tGRT] != null) { - contents[_TGRT] = de_AnalysisComponent(output[_tGRT], context); - } - if (output[_tGRTR] != null) { - contents[_TGRTR] = de_TransitGatewayRouteTableRoute(output[_tGRTR], context); - } - if (output[_tGAr] != null) { - contents[_TGAra] = de_AnalysisComponent(output[_tGAr], context); - } - if (output[_cAo] != null) { - contents[_CAom] = (0, import_smithy_client.expectString)(output[_cAo]); - } - if (output[_cRo] != null) { - contents[_CRo] = (0, import_smithy_client.expectString)(output[_cRo]); - } - if (output[_fSR] != null) { - contents[_FSRi] = de_FirewallStatelessRule(output[_fSR], context); - } - if (output[_fSRi] != null) { - contents[_FSRir] = de_FirewallStatefulRule(output[_fSRi], context); - } - return contents; -}, "de_Explanation"); -var de_ExplanationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Explanation(entry, context); - }); -}, "de_ExplanationList"); -var de_ExportClientVpnClientCertificateRevocationListResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cRL] != null) { - contents[_CRL] = (0, import_smithy_client.expectString)(output[_cRL]); - } - if (output[_sta] != null) { - contents[_Statu] = de_ClientCertificateRevocationListStatus(output[_sta], context); - } - return contents; -}, "de_ExportClientVpnClientCertificateRevocationListResult"); -var de_ExportClientVpnClientConfigurationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cCl] != null) { - contents[_CCl] = (0, import_smithy_client.expectString)(output[_cCl]); - } - return contents; -}, "de_ExportClientVpnClientConfigurationResult"); -var de_ExportImageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_dIF] != null) { - contents[_DIFi] = (0, import_smithy_client.expectString)(output[_dIF]); - } - if (output[_eITI] != null) { - contents[_EITIx] = (0, import_smithy_client.expectString)(output[_eITI]); - } - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_rNo] != null) { - contents[_RNo] = (0, import_smithy_client.expectString)(output[_rNo]); - } - if (output[_pro] != null) { - contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); - } - if (output[_sEL] != null) { - contents[_SEL] = de_ExportTaskS3Location(output[_sEL], context); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_ExportImageResult"); -var de_ExportImageTask = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_eITI] != null) { - contents[_EITIx] = (0, import_smithy_client.expectString)(output[_eITI]); - } - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_pro] != null) { - contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); - } - if (output[_sEL] != null) { - contents[_SEL] = de_ExportTaskS3Location(output[_sEL], context); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_ExportImageTask"); -var de_ExportImageTaskList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ExportImageTask(entry, context); - }); -}, "de_ExportImageTaskList"); -var de_ExportTask = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_eTI] != null) { - contents[_ETI] = (0, import_smithy_client.expectString)(output[_eTI]); - } - if (output[_eTSx] != null) { - contents[_ETST] = de_ExportToS3Task(output[_eTSx], context); - } - if (output[_iE] != null) { - contents[_IED] = de_InstanceExportDetails(output[_iE], context); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_ExportTask"); -var de_ExportTaskList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ExportTask(entry, context); - }); -}, "de_ExportTaskList"); -var de_ExportTaskS3Location = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sB] != null) { - contents[_SB] = (0, import_smithy_client.expectString)(output[_sB]); - } - if (output[_sP] != null) { - contents[_SP] = (0, import_smithy_client.expectString)(output[_sP]); - } - return contents; -}, "de_ExportTaskS3Location"); -var de_ExportToS3Task = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cF] != null) { - contents[_CFo] = (0, import_smithy_client.expectString)(output[_cF]); - } - if (output[_dIF] != null) { - contents[_DIFi] = (0, import_smithy_client.expectString)(output[_dIF]); - } - if (output[_sB] != null) { - contents[_SB] = (0, import_smithy_client.expectString)(output[_sB]); - } - if (output[_sK] != null) { - contents[_SK] = (0, import_smithy_client.expectString)(output[_sK]); - } - return contents; -}, "de_ExportToS3Task"); -var de_ExportTransitGatewayRoutesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sL] != null) { - contents[_SLo] = (0, import_smithy_client.expectString)(output[_sL]); - } - return contents; -}, "de_ExportTransitGatewayRoutesResult"); -var de_FailedCapacityReservationFleetCancellationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cRFI] != null) { - contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]); - } - if (output[_cCRFE] != null) { - contents[_CCRFE] = de_CancelCapacityReservationFleetError(output[_cCRFE], context); - } - return contents; -}, "de_FailedCapacityReservationFleetCancellationResult"); -var de_FailedCapacityReservationFleetCancellationResultSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_FailedCapacityReservationFleetCancellationResult(entry, context); - }); -}, "de_FailedCapacityReservationFleetCancellationResultSet"); -var de_FailedQueuedPurchaseDeletion = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_er] != null) { - contents[_Er] = de_DeleteQueuedReservedInstancesError(output[_er], context); - } - if (output[_rII] != null) { - contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); - } - return contents; -}, "de_FailedQueuedPurchaseDeletion"); -var de_FailedQueuedPurchaseDeletionSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_FailedQueuedPurchaseDeletion(entry, context); - }); -}, "de_FailedQueuedPurchaseDeletionSet"); -var de_FastLaunchLaunchTemplateSpecificationResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTI] != null) { - contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); - } - if (output[_lTN] != null) { - contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); - } - if (output[_ve] != null) { - contents[_V] = (0, import_smithy_client.expectString)(output[_ve]); - } - return contents; -}, "de_FastLaunchLaunchTemplateSpecificationResponse"); -var de_FastLaunchSnapshotConfigurationResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tRC] != null) { - contents[_TRC] = (0, import_smithy_client.strictParseInt32)(output[_tRC]); - } - return contents; -}, "de_FastLaunchSnapshotConfigurationResponse"); -var de_FederatedAuthentication = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sPA] != null) { - contents[_SPA] = (0, import_smithy_client.expectString)(output[_sPA]); - } - if (output[_sSSPA] != null) { - contents[_SSSPA] = (0, import_smithy_client.expectString)(output[_sSSPA]); - } - return contents; -}, "de_FederatedAuthentication"); -var de_FilterPortRange = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fP] != null) { - contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]); - } - if (output[_tPo] != null) { - contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]); - } - return contents; -}, "de_FilterPortRange"); -var de_FirewallStatefulRule = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rGA] != null) { - contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]); - } - if (output.sourceSet === "") { - contents[_So] = []; - } else if (output[_sSo] != null && output[_sSo][_i] != null) { - contents[_So] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSo][_i]), context); - } - if (output.destinationSet === "") { - contents[_Des] = []; - } else if (output[_dSe] != null && output[_dSe][_i] != null) { - contents[_Des] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dSe][_i]), context); - } - if (output.sourcePortSet === "") { - contents[_SPo] = []; - } else if (output[_sPS] != null && output[_sPS][_i] != null) { - contents[_SPo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPS][_i]), context); - } - if (output.destinationPortSet === "") { - contents[_DPe] = []; - } else if (output[_dPS] != null && output[_dPS][_i] != null) { - contents[_DPe] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPS][_i]), context); - } - if (output[_pr] != null) { - contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); - } - if (output[_rA] != null) { - contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]); - } - if (output[_di] != null) { - contents[_Di] = (0, import_smithy_client.expectString)(output[_di]); - } - return contents; -}, "de_FirewallStatefulRule"); -var de_FirewallStatelessRule = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rGA] != null) { - contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]); - } - if (output.sourceSet === "") { - contents[_So] = []; - } else if (output[_sSo] != null && output[_sSo][_i] != null) { - contents[_So] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSo][_i]), context); - } - if (output.destinationSet === "") { - contents[_Des] = []; - } else if (output[_dSe] != null && output[_dSe][_i] != null) { - contents[_Des] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dSe][_i]), context); - } - if (output.sourcePortSet === "") { - contents[_SPo] = []; - } else if (output[_sPS] != null && output[_sPS][_i] != null) { - contents[_SPo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPS][_i]), context); - } - if (output.destinationPortSet === "") { - contents[_DPe] = []; - } else if (output[_dPS] != null && output[_dPS][_i] != null) { - contents[_DPe] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPS][_i]), context); - } - if (output.protocolSet === "") { - contents[_Pro] = []; - } else if (output[_pSro] != null && output[_pSro][_i] != null) { - contents[_Pro] = de_ProtocolIntList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSro][_i]), context); - } - if (output[_rA] != null) { - contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]); - } - if (output[_pri] != null) { - contents[_Pri] = (0, import_smithy_client.strictParseInt32)(output[_pri]); - } - return contents; -}, "de_FirewallStatelessRule"); -var de_FleetCapacityReservation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cRI] != null) { - contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]); - } - if (output[_aZI] != null) { - contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_iPn] != null) { - contents[_IPn] = (0, import_smithy_client.expectString)(output[_iPn]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_tIC] != null) { - contents[_TICo] = (0, import_smithy_client.strictParseInt32)(output[_tIC]); - } - if (output[_fC] != null) { - contents[_FC] = (0, import_smithy_client.strictParseFloat)(output[_fC]); - } - if (output[_eO] != null) { - contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); - } - if (output[_cD] != null) { - contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD])); - } - if (output[_we] != null) { - contents[_W] = (0, import_smithy_client.strictParseFloat)(output[_we]); - } - if (output[_pri] != null) { - contents[_Pri] = (0, import_smithy_client.strictParseInt32)(output[_pri]); - } - return contents; -}, "de_FleetCapacityReservation"); -var de_FleetCapacityReservationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_FleetCapacityReservation(entry, context); - }); -}, "de_FleetCapacityReservationSet"); -var de_FleetData = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aSc] != null) { - contents[_ASc] = (0, import_smithy_client.expectString)(output[_aSc]); - } - if (output[_cTr] != null) { - contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); - } - if (output[_fIl] != null) { - contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); - } - if (output[_fSl] != null) { - contents[_FS] = (0, import_smithy_client.expectString)(output[_fSl]); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - if (output[_eCTP] != null) { - contents[_ECTP] = (0, import_smithy_client.expectString)(output[_eCTP]); - } - if (output[_fC] != null) { - contents[_FC] = (0, import_smithy_client.strictParseFloat)(output[_fC]); - } - if (output[_fODC] != null) { - contents[_FODC] = (0, import_smithy_client.strictParseFloat)(output[_fODC]); - } - if (output.launchTemplateConfigs === "") { - contents[_LTC] = []; - } else if (output[_lTC] != null && output[_lTC][_i] != null) { - contents[_LTC] = de_FleetLaunchTemplateConfigList((0, import_smithy_client.getArrayIfSingleItem)(output[_lTC][_i]), context); - } - if (output[_tCS] != null) { - contents[_TCS] = de_TargetCapacitySpecification(output[_tCS], context); - } - if (output[_tIWE] != null) { - contents[_TIWE] = (0, import_smithy_client.parseBoolean)(output[_tIWE]); - } - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - if (output[_vF] != null) { - contents[_VF] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vF])); - } - if (output[_vU] != null) { - contents[_VU] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vU])); - } - if (output[_rUI] != null) { - contents[_RUI] = (0, import_smithy_client.parseBoolean)(output[_rUI]); - } - if (output[_sO] != null) { - contents[_SO] = de_SpotOptions(output[_sO], context); - } - if (output[_oDO] != null) { - contents[_ODO] = de_OnDemandOptions(output[_oDO], context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output.errorSet === "") { - contents[_Err] = []; - } else if (output[_eSr] != null && output[_eSr][_i] != null) { - contents[_Err] = de_DescribeFleetsErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSr][_i]), context); - } - if (output.fleetInstanceSet === "") { - contents[_In] = []; - } else if (output[_fIS] != null && output[_fIS][_i] != null) { - contents[_In] = de_DescribeFleetsInstancesSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fIS][_i]), context); - } - if (output[_cont] != null) { - contents[_Con] = (0, import_smithy_client.expectString)(output[_cont]); - } - return contents; -}, "de_FleetData"); -var de_FleetLaunchTemplateConfig = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTS] != null) { - contents[_LTS] = de_FleetLaunchTemplateSpecification(output[_lTS], context); - } - if (output.overrides === "") { - contents[_Ov] = []; - } else if (output[_ov] != null && output[_ov][_i] != null) { - contents[_Ov] = de_FleetLaunchTemplateOverridesList((0, import_smithy_client.getArrayIfSingleItem)(output[_ov][_i]), context); - } - return contents; -}, "de_FleetLaunchTemplateConfig"); -var de_FleetLaunchTemplateConfigList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_FleetLaunchTemplateConfig(entry, context); - }); -}, "de_FleetLaunchTemplateConfigList"); -var de_FleetLaunchTemplateOverrides = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_mP] != null) { - contents[_MPa] = (0, import_smithy_client.expectString)(output[_mP]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_wC] != null) { - contents[_WC] = (0, import_smithy_client.strictParseFloat)(output[_wC]); - } - if (output[_pri] != null) { - contents[_Pri] = (0, import_smithy_client.strictParseFloat)(output[_pri]); - } - if (output[_pla] != null) { - contents[_Pl] = de_PlacementResponse(output[_pla], context); - } - if (output[_iR] != null) { - contents[_IR] = de_InstanceRequirements(output[_iR], context); - } - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - return contents; -}, "de_FleetLaunchTemplateOverrides"); -var de_FleetLaunchTemplateOverridesList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_FleetLaunchTemplateOverrides(entry, context); - }); -}, "de_FleetLaunchTemplateOverridesList"); -var de_FleetLaunchTemplateSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTI] != null) { - contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); - } - if (output[_lTN] != null) { - contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); - } - if (output[_ve] != null) { - contents[_V] = (0, import_smithy_client.expectString)(output[_ve]); - } - return contents; -}, "de_FleetLaunchTemplateSpecification"); -var de_FleetSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_FleetData(entry, context); - }); -}, "de_FleetSet"); -var de_FleetSpotCapacityRebalance = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rSe] != null) { - contents[_RS] = (0, import_smithy_client.expectString)(output[_rSe]); - } - if (output[_tD] != null) { - contents[_TDe] = (0, import_smithy_client.strictParseInt32)(output[_tD]); - } - return contents; -}, "de_FleetSpotCapacityRebalance"); -var de_FleetSpotMaintenanceStrategies = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cRa] != null) { - contents[_CRap] = de_FleetSpotCapacityRebalance(output[_cRa], context); - } - return contents; -}, "de_FleetSpotMaintenanceStrategies"); -var de_FlowLog = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); - } - if (output[_dLEM] != null) { - contents[_DLEM] = (0, import_smithy_client.expectString)(output[_dLEM]); - } - if (output[_dLPA] != null) { - contents[_DLPA] = (0, import_smithy_client.expectString)(output[_dLPA]); - } - if (output[_dCAR] != null) { - contents[_DCAR] = (0, import_smithy_client.expectString)(output[_dCAR]); - } - if (output[_dLS] != null) { - contents[_DLSe] = (0, import_smithy_client.expectString)(output[_dLS]); - } - if (output[_fLI] != null) { - contents[_FLIl] = (0, import_smithy_client.expectString)(output[_fLI]); - } - if (output[_fLSl] != null) { - contents[_FLS] = (0, import_smithy_client.expectString)(output[_fLSl]); - } - if (output[_lGN] != null) { - contents[_LGN] = (0, import_smithy_client.expectString)(output[_lGN]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_tT] != null) { - contents[_TT] = (0, import_smithy_client.expectString)(output[_tT]); - } - if (output[_lDT] != null) { - contents[_LDT] = (0, import_smithy_client.expectString)(output[_lDT]); - } - if (output[_lD] != null) { - contents[_LD] = (0, import_smithy_client.expectString)(output[_lD]); - } - if (output[_lF] != null) { - contents[_LF] = (0, import_smithy_client.expectString)(output[_lF]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_mAI] != null) { - contents[_MAI] = (0, import_smithy_client.strictParseInt32)(output[_mAI]); - } - if (output[_dOe] != null) { - contents[_DO] = de_DestinationOptionsResponse(output[_dOe], context); - } - return contents; -}, "de_FlowLog"); -var de_FlowLogSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_FlowLog(entry, context); - }); -}, "de_FlowLogSet"); -var de_FpgaDeviceInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_man] != null) { - contents[_Man] = (0, import_smithy_client.expectString)(output[_man]); - } - if (output[_cou] != null) { - contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); - } - if (output[_mIe] != null) { - contents[_MIe] = de_FpgaDeviceMemoryInfo(output[_mIe], context); - } - return contents; -}, "de_FpgaDeviceInfo"); -var de_FpgaDeviceInfoList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_FpgaDeviceInfo(entry, context); - }); -}, "de_FpgaDeviceInfoList"); -var de_FpgaDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIMB] != null) { - contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]); - } - return contents; -}, "de_FpgaDeviceMemoryInfo"); -var de_FpgaImage = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fII] != null) { - contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]); - } - if (output[_fIGI] != null) { - contents[_FIGI] = (0, import_smithy_client.expectString)(output[_fIGI]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_sVh] != null) { - contents[_SVh] = (0, import_smithy_client.expectString)(output[_sVh]); - } - if (output[_pIc] != null) { - contents[_PIc] = de_PciId(output[_pIc], context); - } - if (output[_st] != null) { - contents[_Stat] = de_FpgaImageState(output[_st], context); - } - if (output[_cTr] != null) { - contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); - } - if (output[_uT] != null) { - contents[_UTp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uT])); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_oAw] != null) { - contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]); - } - if (output.productCodes === "") { - contents[_PCr] = []; - } else if (output[_pC] != null && output[_pC][_i] != null) { - contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); - } - if (output.tags === "") { - contents[_Ta] = []; - } else if (output[_ta] != null && output[_ta][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_ta][_i]), context); - } - if (output[_pu] != null) { - contents[_Pu] = (0, import_smithy_client.parseBoolean)(output[_pu]); - } - if (output[_dRS] != null) { - contents[_DRS] = (0, import_smithy_client.parseBoolean)(output[_dRS]); - } - if (output.instanceTypes === "") { - contents[_ITnst] = []; - } else if (output[_iTn] != null && output[_iTn][_i] != null) { - contents[_ITnst] = de_InstanceTypesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iTn][_i]), context); - } - return contents; -}, "de_FpgaImage"); -var de_FpgaImageAttribute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fII] != null) { - contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.loadPermissions === "") { - contents[_LPo] = []; - } else if (output[_lP] != null && output[_lP][_i] != null) { - contents[_LPo] = de_LoadPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_lP][_i]), context); - } - if (output.productCodes === "") { - contents[_PCr] = []; - } else if (output[_pC] != null && output[_pC][_i] != null) { - contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); - } - return contents; -}, "de_FpgaImageAttribute"); -var de_FpgaImageList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_FpgaImage(entry, context); - }); -}, "de_FpgaImageList"); -var de_FpgaImageState = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_FpgaImageState"); -var de_FpgaInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.fpgas === "") { - contents[_Fp] = []; - } else if (output[_fp] != null && output[_fp][_i] != null) { - contents[_Fp] = de_FpgaDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_fp][_i]), context); - } - if (output[_tFMIMB] != null) { - contents[_TFMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tFMIMB]); - } - return contents; -}, "de_FpgaInfo"); -var de_GetAssociatedEnclaveCertificateIamRolesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.associatedRoleSet === "") { - contents[_ARss] = []; - } else if (output[_aRS] != null && output[_aRS][_i] != null) { - contents[_ARss] = de_AssociatedRolesList((0, import_smithy_client.getArrayIfSingleItem)(output[_aRS][_i]), context); - } - return contents; -}, "de_GetAssociatedEnclaveCertificateIamRolesResult"); -var de_GetAssociatedIpv6PoolCidrsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.ipv6CidrAssociationSet === "") { - contents[_ICA] = []; - } else if (output[_iCAS] != null && output[_iCAS][_i] != null) { - contents[_ICA] = de_Ipv6CidrAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCAS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetAssociatedIpv6PoolCidrsResult"); -var de_GetAwsNetworkPerformanceDataResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.dataResponseSet === "") { - contents[_DRa] = []; - } else if (output[_dRSa] != null && output[_dRSa][_i] != null) { - contents[_DRa] = de_DataResponses((0, import_smithy_client.getArrayIfSingleItem)(output[_dRSa][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetAwsNetworkPerformanceDataResult"); -var de_GetCapacityReservationUsageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output[_cRI] != null) { - contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_tIC] != null) { - contents[_TICo] = (0, import_smithy_client.strictParseInt32)(output[_tIC]); - } - if (output[_aICv] != null) { - contents[_AICv] = (0, import_smithy_client.strictParseInt32)(output[_aICv]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output.instanceUsageSet === "") { - contents[_IU] = []; - } else if (output[_iUS] != null && output[_iUS][_i] != null) { - contents[_IU] = de_InstanceUsageSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iUS][_i]), context); - } - return contents; -}, "de_GetCapacityReservationUsageResult"); -var de_GetCoipPoolUsageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cPI] != null) { - contents[_CPIo] = (0, import_smithy_client.expectString)(output[_cPI]); - } - if (output.coipAddressUsageSet === "") { - contents[_CAU] = []; - } else if (output[_cAUS] != null && output[_cAUS][_i] != null) { - contents[_CAU] = de_CoipAddressUsageSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cAUS][_i]), context); - } - if (output[_lGRTI] != null) { - contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetCoipPoolUsageResult"); -var de_GetConsoleOutputResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_ou] != null) { - contents[_Ou] = (0, import_smithy_client.expectString)(output[_ou]); - } - if (output[_ti] != null) { - contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); - } - return contents; -}, "de_GetConsoleOutputResult"); -var de_GetConsoleScreenshotResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iD] != null) { - contents[_IDm] = (0, import_smithy_client.expectString)(output[_iD]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - return contents; -}, "de_GetConsoleScreenshotResult"); -var de_GetDefaultCreditSpecificationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iFCS] != null) { - contents[_IFCS] = de_InstanceFamilyCreditSpecification(output[_iFCS], context); - } - return contents; -}, "de_GetDefaultCreditSpecificationResult"); -var de_GetEbsDefaultKmsKeyIdResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_kKI] != null) { - contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); - } - return contents; -}, "de_GetEbsDefaultKmsKeyIdResult"); -var de_GetEbsEncryptionByDefaultResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eEBD] != null) { - contents[_EEBD] = (0, import_smithy_client.parseBoolean)(output[_eEBD]); - } - if (output[_sTs] != null) { - contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]); - } - return contents; -}, "de_GetEbsEncryptionByDefaultResult"); -var de_GetFlowLogsIntegrationTemplateResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_re] != null) { - contents[_Resu] = (0, import_smithy_client.expectString)(output[_re]); - } - return contents; -}, "de_GetFlowLogsIntegrationTemplateResult"); -var de_GetGroupsForCapacityReservationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.capacityReservationGroupSet === "") { - contents[_CRG] = []; - } else if (output[_cRGS] != null && output[_cRGS][_i] != null) { - contents[_CRG] = de_CapacityReservationGroupSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cRGS][_i]), context); - } - return contents; -}, "de_GetGroupsForCapacityReservationResult"); -var de_GetHostReservationPurchasePreviewResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cC] != null) { - contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); - } - if (output.purchase === "") { - contents[_Pur] = []; - } else if (output[_pur] != null && output[_pur][_i] != null) { - contents[_Pur] = de_PurchaseSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pur][_i]), context); - } - if (output[_tHP] != null) { - contents[_THP] = (0, import_smithy_client.expectString)(output[_tHP]); - } - if (output[_tUP] != null) { - contents[_TUP] = (0, import_smithy_client.expectString)(output[_tUP]); - } - return contents; -}, "de_GetHostReservationPurchasePreviewResult"); -var de_GetImageBlockPublicAccessStateResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iBPAS] != null) { - contents[_IBPAS] = (0, import_smithy_client.expectString)(output[_iBPAS]); - } - return contents; -}, "de_GetImageBlockPublicAccessStateResult"); -var de_GetInstanceMetadataDefaultsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aL] != null) { - contents[_ALc] = de_InstanceMetadataDefaultsResponse(output[_aL], context); - } - return contents; -}, "de_GetInstanceMetadataDefaultsResult"); -var de_GetInstanceTypesFromInstanceRequirementsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instanceTypeSet === "") { - contents[_ITnst] = []; - } else if (output[_iTS] != null && output[_iTS][_i] != null) { - contents[_ITnst] = de_InstanceTypeInfoFromInstanceRequirementsSet( - (0, import_smithy_client.getArrayIfSingleItem)(output[_iTS][_i]), - context - ); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetInstanceTypesFromInstanceRequirementsResult"); -var de_GetInstanceUefiDataResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_uD] != null) { - contents[_UDe] = (0, import_smithy_client.expectString)(output[_uD]); - } - return contents; -}, "de_GetInstanceUefiDataResult"); -var de_GetIpamAddressHistoryResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.historyRecordSet === "") { - contents[_HRi] = []; - } else if (output[_hRS] != null && output[_hRS][_i] != null) { - contents[_HRi] = de_IpamAddressHistoryRecordSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hRS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetIpamAddressHistoryResult"); -var de_GetIpamDiscoveredAccountsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.ipamDiscoveredAccountSet === "") { - contents[_IDA] = []; - } else if (output[_iDAS] != null && output[_iDAS][_i] != null) { - contents[_IDA] = de_IpamDiscoveredAccountSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iDAS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetIpamDiscoveredAccountsResult"); -var de_GetIpamDiscoveredPublicAddressesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.ipamDiscoveredPublicAddressSet === "") { - contents[_IDPA] = []; - } else if (output[_iDPAS] != null && output[_iDPAS][_i] != null) { - contents[_IDPA] = de_IpamDiscoveredPublicAddressSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iDPAS][_i]), context); - } - if (output[_oST] != null) { - contents[_OST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oST])); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetIpamDiscoveredPublicAddressesResult"); -var de_GetIpamDiscoveredResourceCidrsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.ipamDiscoveredResourceCidrSet === "") { - contents[_IDRC] = []; - } else if (output[_iDRCS] != null && output[_iDRCS][_i] != null) { - contents[_IDRC] = de_IpamDiscoveredResourceCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iDRCS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetIpamDiscoveredResourceCidrsResult"); -var de_GetIpamPoolAllocationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.ipamPoolAllocationSet === "") { - contents[_IPAp] = []; - } else if (output[_iPAS] != null && output[_iPAS][_i] != null) { - contents[_IPAp] = de_IpamPoolAllocationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPAS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetIpamPoolAllocationsResult"); -var de_GetIpamPoolCidrsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.ipamPoolCidrSet === "") { - contents[_IPCpam] = []; - } else if (output[_iPCS] != null && output[_iPCS][_i] != null) { - contents[_IPCpam] = de_IpamPoolCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPCS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetIpamPoolCidrsResult"); -var de_GetIpamResourceCidrsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.ipamResourceCidrSet === "") { - contents[_IRC] = []; - } else if (output[_iRCS] != null && output[_iRCS][_i] != null) { - contents[_IRC] = de_IpamResourceCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iRCS][_i]), context); - } - return contents; -}, "de_GetIpamResourceCidrsResult"); -var de_GetLaunchTemplateDataResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTD] != null) { - contents[_LTD] = de_ResponseLaunchTemplateData(output[_lTD], context); - } - return contents; -}, "de_GetLaunchTemplateDataResult"); -var de_GetManagedPrefixListAssociationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.prefixListAssociationSet === "") { - contents[_PLA] = []; - } else if (output[_pLAS] != null && output[_pLAS][_i] != null) { - contents[_PLA] = de_PrefixListAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pLAS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetManagedPrefixListAssociationsResult"); -var de_GetManagedPrefixListEntriesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.entrySet === "") { - contents[_Ent] = []; - } else if (output[_eSnt] != null && output[_eSnt][_i] != null) { - contents[_Ent] = de_PrefixListEntrySet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSnt][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetManagedPrefixListEntriesResult"); -var de_GetNetworkInsightsAccessScopeAnalysisFindingsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIASAI] != null) { - contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]); - } - if (output[_aSn] != null) { - contents[_ASn] = (0, import_smithy_client.expectString)(output[_aSn]); - } - if (output.analysisFindingSet === "") { - contents[_AFn] = []; - } else if (output[_aFS] != null && output[_aFS][_i] != null) { - contents[_AFn] = de_AccessScopeAnalysisFindingList((0, import_smithy_client.getArrayIfSingleItem)(output[_aFS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetNetworkInsightsAccessScopeAnalysisFindingsResult"); -var de_GetNetworkInsightsAccessScopeContentResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIASC] != null) { - contents[_NIASC] = de_NetworkInsightsAccessScopeContent(output[_nIASC], context); - } - return contents; -}, "de_GetNetworkInsightsAccessScopeContentResult"); -var de_GetPasswordDataResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_pD] != null) { - contents[_PDa] = (0, import_smithy_client.expectString)(output[_pD]); - } - if (output[_ti] != null) { - contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); - } - return contents; -}, "de_GetPasswordDataResult"); -var de_GetReservedInstancesExchangeQuoteResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cC] != null) { - contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); - } - if (output[_iVE] != null) { - contents[_IVE] = (0, import_smithy_client.parseBoolean)(output[_iVE]); - } - if (output[_oRIWEA] != null) { - contents[_ORIWEA] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oRIWEA])); - } - if (output[_pDa] != null) { - contents[_PDay] = (0, import_smithy_client.expectString)(output[_pDa]); - } - if (output[_rIVR] != null) { - contents[_RIVR] = de_ReservationValue(output[_rIVR], context); - } - if (output.reservedInstanceValueSet === "") { - contents[_RIVS] = []; - } else if (output[_rIVS] != null && output[_rIVS][_i] != null) { - contents[_RIVS] = de_ReservedInstanceReservationValueSet((0, import_smithy_client.getArrayIfSingleItem)(output[_rIVS][_i]), context); - } - if (output[_tCVR] != null) { - contents[_TCVR] = de_ReservationValue(output[_tCVR], context); - } - if (output.targetConfigurationValueSet === "") { - contents[_TCVS] = []; - } else if (output[_tCVS] != null && output[_tCVS][_i] != null) { - contents[_TCVS] = de_TargetReservationValueSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tCVS][_i]), context); - } - if (output[_vFR] != null) { - contents[_VFR] = (0, import_smithy_client.expectString)(output[_vFR]); - } - return contents; -}, "de_GetReservedInstancesExchangeQuoteResult"); -var de_GetSecurityGroupsForVpcResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - if (output.securityGroupForVpcSet === "") { - contents[_SGFV] = []; - } else if (output[_sGFVS] != null && output[_sGFVS][_i] != null) { - contents[_SGFV] = de_SecurityGroupForVpcList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGFVS][_i]), context); - } - return contents; -}, "de_GetSecurityGroupsForVpcResult"); -var de_GetSerialConsoleAccessStatusResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sCAE] != null) { - contents[_SCAE] = (0, import_smithy_client.parseBoolean)(output[_sCAE]); - } - return contents; -}, "de_GetSerialConsoleAccessStatusResult"); -var de_GetSnapshotBlockPublicAccessStateResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_GetSnapshotBlockPublicAccessStateResult"); -var de_GetSpotPlacementScoresResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.spotPlacementScoreSet === "") { - contents[_SPS] = []; - } else if (output[_sPSS] != null && output[_sPSS][_i] != null) { - contents[_SPS] = de_SpotPlacementScores((0, import_smithy_client.getArrayIfSingleItem)(output[_sPSS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetSpotPlacementScoresResult"); -var de_GetSubnetCidrReservationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.subnetIpv4CidrReservationSet === "") { - contents[_SICR] = []; - } else if (output[_sICRS] != null && output[_sICRS][_i] != null) { - contents[_SICR] = de_SubnetCidrReservationList((0, import_smithy_client.getArrayIfSingleItem)(output[_sICRS][_i]), context); - } - if (output.subnetIpv6CidrReservationSet === "") { - contents[_SICRu] = []; - } else if (output[_sICRSu] != null && output[_sICRSu][_i] != null) { - contents[_SICRu] = de_SubnetCidrReservationList((0, import_smithy_client.getArrayIfSingleItem)(output[_sICRSu][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetSubnetCidrReservationsResult"); -var de_GetTransitGatewayAttachmentPropagationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayAttachmentPropagations === "") { - contents[_TGAP] = []; - } else if (output[_tGAP] != null && output[_tGAP][_i] != null) { - contents[_TGAP] = de_TransitGatewayAttachmentPropagationList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGAP][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetTransitGatewayAttachmentPropagationsResult"); -var de_GetTransitGatewayMulticastDomainAssociationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.multicastDomainAssociations === "") { - contents[_MDA] = []; - } else if (output[_mDA] != null && output[_mDA][_i] != null) { - contents[_MDA] = de_TransitGatewayMulticastDomainAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_mDA][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetTransitGatewayMulticastDomainAssociationsResult"); -var de_GetTransitGatewayPolicyTableAssociationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.associations === "") { - contents[_Ass] = []; - } else if (output[_a] != null && output[_a][_i] != null) { - contents[_Ass] = de_TransitGatewayPolicyTableAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_a][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetTransitGatewayPolicyTableAssociationsResult"); -var de_GetTransitGatewayPolicyTableEntriesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayPolicyTableEntries === "") { - contents[_TGPTE] = []; - } else if (output[_tGPTE] != null && output[_tGPTE][_i] != null) { - contents[_TGPTE] = de_TransitGatewayPolicyTableEntryList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPTE][_i]), context); - } - return contents; -}, "de_GetTransitGatewayPolicyTableEntriesResult"); -var de_GetTransitGatewayPrefixListReferencesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayPrefixListReferenceSet === "") { - contents[_TGPLRr] = []; - } else if (output[_tGPLRS] != null && output[_tGPLRS][_i] != null) { - contents[_TGPLRr] = de_TransitGatewayPrefixListReferenceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPLRS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetTransitGatewayPrefixListReferencesResult"); -var de_GetTransitGatewayRouteTableAssociationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.associations === "") { - contents[_Ass] = []; - } else if (output[_a] != null && output[_a][_i] != null) { - contents[_Ass] = de_TransitGatewayRouteTableAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_a][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetTransitGatewayRouteTableAssociationsResult"); -var de_GetTransitGatewayRouteTablePropagationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.transitGatewayRouteTablePropagations === "") { - contents[_TGRTP] = []; - } else if (output[_tGRTP] != null && output[_tGRTP][_i] != null) { - contents[_TGRTP] = de_TransitGatewayRouteTablePropagationList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGRTP][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetTransitGatewayRouteTablePropagationsResult"); -var de_GetVerifiedAccessEndpointPolicyResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pE] != null) { - contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]); - } - if (output[_pDo] != null) { - contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]); - } - return contents; -}, "de_GetVerifiedAccessEndpointPolicyResult"); -var de_GetVerifiedAccessGroupPolicyResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pE] != null) { - contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]); - } - if (output[_pDo] != null) { - contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]); - } - return contents; -}, "de_GetVerifiedAccessGroupPolicyResult"); -var de_GetVpnConnectionDeviceSampleConfigurationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vCDSC] != null) { - contents[_VCDSC] = (0, import_smithy_client.expectString)(output[_vCDSC]); - } - return contents; -}, "de_GetVpnConnectionDeviceSampleConfigurationResult"); -var de_GetVpnConnectionDeviceTypesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.vpnConnectionDeviceTypeSet === "") { - contents[_VCDT] = []; - } else if (output[_vCDTS] != null && output[_vCDTS][_i] != null) { - contents[_VCDT] = de_VpnConnectionDeviceTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_vCDTS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_GetVpnConnectionDeviceTypesResult"); -var de_GetVpnTunnelReplacementStatusResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vCI] != null) { - contents[_VCI] = (0, import_smithy_client.expectString)(output[_vCI]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_cGIu] != null) { - contents[_CGIu] = (0, import_smithy_client.expectString)(output[_cGIu]); - } - if (output[_vGI] != null) { - contents[_VGI] = (0, import_smithy_client.expectString)(output[_vGI]); - } - if (output[_vTOIA] != null) { - contents[_VTOIA] = (0, import_smithy_client.expectString)(output[_vTOIA]); - } - if (output[_mD] != null) { - contents[_MDa] = de_MaintenanceDetails(output[_mD], context); - } - return contents; -}, "de_GetVpnTunnelReplacementStatusResult"); -var de_GpuDeviceInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_man] != null) { - contents[_Man] = (0, import_smithy_client.expectString)(output[_man]); - } - if (output[_cou] != null) { - contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); - } - if (output[_mIe] != null) { - contents[_MIe] = de_GpuDeviceMemoryInfo(output[_mIe], context); - } - return contents; -}, "de_GpuDeviceInfo"); -var de_GpuDeviceInfoList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_GpuDeviceInfo(entry, context); - }); -}, "de_GpuDeviceInfoList"); -var de_GpuDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIMB] != null) { - contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]); - } - return contents; -}, "de_GpuDeviceMemoryInfo"); -var de_GpuInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.gpus === "") { - contents[_Gp] = []; - } else if (output[_gp] != null && output[_gp][_i] != null) { - contents[_Gp] = de_GpuDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_gp][_i]), context); - } - if (output[_tGMIMB] != null) { - contents[_TGMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tGMIMB]); - } - return contents; -}, "de_GpuInfo"); -var de_GroupIdentifier = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - return contents; -}, "de_GroupIdentifier"); -var de_GroupIdentifierList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_GroupIdentifier(entry, context); - }); -}, "de_GroupIdentifierList"); -var de_GroupIdentifierSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_SecurityGroupIdentifier(entry, context); - }); -}, "de_GroupIdentifierSet"); -var de_GroupIdStringList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_GroupIdStringList"); -var de_HibernationOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_conf] != null) { - contents[_Conf] = (0, import_smithy_client.parseBoolean)(output[_conf]); - } - return contents; -}, "de_HibernationOptions"); -var de_HistoryRecord = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eIv] != null) { - contents[_EIv] = de_EventInformation(output[_eIv], context); - } - if (output[_eTv] != null) { - contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]); - } - if (output[_ti] != null) { - contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); - } - return contents; -}, "de_HistoryRecord"); -var de_HistoryRecordEntry = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eIv] != null) { - contents[_EIv] = de_EventInformation(output[_eIv], context); - } - if (output[_eTv] != null) { - contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]); - } - if (output[_ti] != null) { - contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); - } - return contents; -}, "de_HistoryRecordEntry"); -var de_HistoryRecords = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_HistoryRecord(entry, context); - }); -}, "de_HistoryRecords"); -var de_HistoryRecordSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_HistoryRecordEntry(entry, context); - }); -}, "de_HistoryRecordSet"); -var de_Host = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aPu] != null) { - contents[_AP] = (0, import_smithy_client.expectString)(output[_aPu]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_aC] != null) { - contents[_ACv] = de_AvailableCapacity(output[_aC], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - if (output[_hI] != null) { - contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]); - } - if (output[_hP] != null) { - contents[_HP] = de_HostProperties(output[_hP], context); - } - if (output[_hRI] != null) { - contents[_HRI] = (0, import_smithy_client.expectString)(output[_hRI]); - } - if (output.instances === "") { - contents[_In] = []; - } else if (output[_ins] != null && output[_ins][_i] != null) { - contents[_In] = de_HostInstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_ins][_i]), context); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_aTll] != null) { - contents[_ATll] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTll])); - } - if (output[_rTel] != null) { - contents[_RTel] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rTel])); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_hR] != null) { - contents[_HR] = (0, import_smithy_client.expectString)(output[_hR]); - } - if (output[_aMIT] != null) { - contents[_AMIT] = (0, import_smithy_client.expectString)(output[_aMIT]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_aZI] != null) { - contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); - } - if (output[_mOSLRG] != null) { - contents[_MOSLRG] = (0, import_smithy_client.parseBoolean)(output[_mOSLRG]); - } - if (output[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output[_hM] != null) { - contents[_HM] = (0, import_smithy_client.expectString)(output[_hM]); - } - if (output[_aIss] != null) { - contents[_AIsse] = (0, import_smithy_client.expectString)(output[_aIss]); - } - return contents; -}, "de_Host"); -var de_HostInstance = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - return contents; -}, "de_HostInstance"); -var de_HostInstanceList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_HostInstance(entry, context); - }); -}, "de_HostInstanceList"); -var de_HostList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Host(entry, context); - }); -}, "de_HostList"); -var de_HostOffering = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cC] != null) { - contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); - } - if (output[_du] != null) { - contents[_Du] = (0, import_smithy_client.strictParseInt32)(output[_du]); - } - if (output[_hPo] != null) { - contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); - } - if (output[_iF] != null) { - contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]); - } - if (output[_oIf] != null) { - contents[_OI] = (0, import_smithy_client.expectString)(output[_oIf]); - } - if (output[_pO] != null) { - contents[_PO] = (0, import_smithy_client.expectString)(output[_pO]); - } - if (output[_uP] != null) { - contents[_UPp] = (0, import_smithy_client.expectString)(output[_uP]); - } - return contents; -}, "de_HostOffering"); -var de_HostOfferingSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_HostOffering(entry, context); - }); -}, "de_HostOfferingSet"); -var de_HostProperties = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cor] != null) { - contents[_Cor] = (0, import_smithy_client.strictParseInt32)(output[_cor]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_iF] != null) { - contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]); - } - if (output[_so] != null) { - contents[_Soc] = (0, import_smithy_client.strictParseInt32)(output[_so]); - } - if (output[_tVC] != null) { - contents[_TVC] = (0, import_smithy_client.strictParseInt32)(output[_tVC]); - } - return contents; -}, "de_HostProperties"); -var de_HostReservation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cou] != null) { - contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); - } - if (output[_cC] != null) { - contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); - } - if (output[_du] != null) { - contents[_Du] = (0, import_smithy_client.strictParseInt32)(output[_du]); - } - if (output[_end] != null) { - contents[_End] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_end])); - } - if (output.hostIdSet === "") { - contents[_HIS] = []; - } else if (output[_hIS] != null && output[_hIS][_i] != null) { - contents[_HIS] = de_ResponseHostIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hIS][_i]), context); - } - if (output[_hRI] != null) { - contents[_HRI] = (0, import_smithy_client.expectString)(output[_hRI]); - } - if (output[_hPo] != null) { - contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); - } - if (output[_iF] != null) { - contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]); - } - if (output[_oIf] != null) { - contents[_OI] = (0, import_smithy_client.expectString)(output[_oIf]); - } - if (output[_pO] != null) { - contents[_PO] = (0, import_smithy_client.expectString)(output[_pO]); - } - if (output[_star] != null) { - contents[_Star] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_star])); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_uP] != null) { - contents[_UPp] = (0, import_smithy_client.expectString)(output[_uP]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_HostReservation"); -var de_HostReservationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_HostReservation(entry, context); - }); -}, "de_HostReservationSet"); -var de_IamInstanceProfile = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ar] != null) { - contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); - } - if (output[_id] != null) { - contents[_Id] = (0, import_smithy_client.expectString)(output[_id]); - } - return contents; -}, "de_IamInstanceProfile"); -var de_IamInstanceProfileAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_iIP] != null) { - contents[_IIP] = de_IamInstanceProfile(output[_iIP], context); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_ti] != null) { - contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); - } - return contents; -}, "de_IamInstanceProfileAssociation"); -var de_IamInstanceProfileAssociationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IamInstanceProfileAssociation(entry, context); - }); -}, "de_IamInstanceProfileAssociationSet"); -var de_IamInstanceProfileSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ar] != null) { - contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - return contents; -}, "de_IamInstanceProfileSpecification"); -var de_IcmpTypeCode = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.strictParseInt32)(output[_co]); - } - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.strictParseInt32)(output[_ty]); - } - return contents; -}, "de_IcmpTypeCode"); -var de_IdFormat = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dea] != null) { - contents[_Dea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dea])); - } - if (output[_res] != null) { - contents[_Res] = (0, import_smithy_client.expectString)(output[_res]); - } - if (output[_uLI] != null) { - contents[_ULI] = (0, import_smithy_client.parseBoolean)(output[_uLI]); - } - return contents; -}, "de_IdFormat"); -var de_IdFormatList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IdFormat(entry, context); - }); -}, "de_IdFormatList"); -var de_IKEVersionsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IKEVersionsListValue(entry, context); - }); -}, "de_IKEVersionsList"); -var de_IKEVersionsListValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - return contents; -}, "de_IKEVersionsListValue"); -var de_Image = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_arc] != null) { - contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]); - } - if (output[_cDr] != null) { - contents[_CDre] = (0, import_smithy_client.expectString)(output[_cDr]); - } - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_iL] != null) { - contents[_IL] = (0, import_smithy_client.expectString)(output[_iL]); - } - if (output[_iTm] != null) { - contents[_ITm] = (0, import_smithy_client.expectString)(output[_iTm]); - } - if (output[_iPs] != null) { - contents[_Pu] = (0, import_smithy_client.parseBoolean)(output[_iPs]); - } - if (output[_kI] != null) { - contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); - } - if (output[_iOI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_iOI]); - } - if (output[_pl] != null) { - contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); - } - if (output[_pDl] != null) { - contents[_PDl] = (0, import_smithy_client.expectString)(output[_pDl]); - } - if (output[_uO] != null) { - contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]); - } - if (output.productCodes === "") { - contents[_PCr] = []; - } else if (output[_pC] != null && output[_pC][_i] != null) { - contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); - } - if (output[_rIa] != null) { - contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]); - } - if (output[_iSma] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_iSma]); - } - if (output.blockDeviceMapping === "") { - contents[_BDM] = []; - } else if (output[_bDM] != null && output[_bDM][_i] != null) { - contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_eSna] != null) { - contents[_ESn] = (0, import_smithy_client.parseBoolean)(output[_eSna]); - } - if (output[_h] != null) { - contents[_H] = (0, import_smithy_client.expectString)(output[_h]); - } - if (output[_iOA] != null) { - contents[_IOA] = (0, import_smithy_client.expectString)(output[_iOA]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_rDN] != null) { - contents[_RDN] = (0, import_smithy_client.expectString)(output[_rDN]); - } - if (output[_rDT] != null) { - contents[_RDT] = (0, import_smithy_client.expectString)(output[_rDT]); - } - if (output[_sNSr] != null) { - contents[_SNS] = (0, import_smithy_client.expectString)(output[_sNSr]); - } - if (output[_sR] != null) { - contents[_SRt] = de_StateReason(output[_sR], context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_vTi] != null) { - contents[_VTir] = (0, import_smithy_client.expectString)(output[_vTi]); - } - if (output[_bM] != null) { - contents[_BM] = (0, import_smithy_client.expectString)(output[_bM]); - } - if (output[_tSp] != null) { - contents[_TSp] = (0, import_smithy_client.expectString)(output[_tSp]); - } - if (output[_dTe] != null) { - contents[_DTep] = (0, import_smithy_client.expectString)(output[_dTe]); - } - if (output[_iSmd] != null) { - contents[_ISm] = (0, import_smithy_client.expectString)(output[_iSmd]); - } - if (output[_sII] != null) { - contents[_SIIo] = (0, import_smithy_client.expectString)(output[_sII]); - } - return contents; -}, "de_Image"); -var de_ImageAttribute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.blockDeviceMapping === "") { - contents[_BDM] = []; - } else if (output[_bDM] != null && output[_bDM][_i] != null) { - contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); - } - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output.launchPermission === "") { - contents[_LPau] = []; - } else if (output[_lPa] != null && output[_lPa][_i] != null) { - contents[_LPau] = de_LaunchPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_lPa][_i]), context); - } - if (output.productCodes === "") { - contents[_PCr] = []; - } else if (output[_pC] != null && output[_pC][_i] != null) { - contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); - } - if (output[_de] != null) { - contents[_De] = de_AttributeValue(output[_de], context); - } - if (output[_ke] != null) { - contents[_KI] = de_AttributeValue(output[_ke], context); - } - if (output[_ra] != null) { - contents[_RIa] = de_AttributeValue(output[_ra], context); - } - if (output[_sNSr] != null) { - contents[_SNS] = de_AttributeValue(output[_sNSr], context); - } - if (output[_bM] != null) { - contents[_BM] = de_AttributeValue(output[_bM], context); - } - if (output[_tSp] != null) { - contents[_TSp] = de_AttributeValue(output[_tSp], context); - } - if (output[_uD] != null) { - contents[_UDe] = de_AttributeValue(output[_uD], context); - } - if (output[_lLT] != null) { - contents[_LLT] = de_AttributeValue(output[_lLT], context); - } - if (output[_iSmd] != null) { - contents[_ISm] = de_AttributeValue(output[_iSmd], context); - } - return contents; -}, "de_ImageAttribute"); -var de_ImageList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Image(entry, context); - }); -}, "de_ImageList"); -var de_ImageRecycleBinInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_rBET] != null) { - contents[_RBET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rBET])); - } - if (output[_rBETe] != null) { - contents[_RBETe] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rBETe])); - } - return contents; -}, "de_ImageRecycleBinInfo"); -var de_ImageRecycleBinInfoList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ImageRecycleBinInfo(entry, context); - }); -}, "de_ImageRecycleBinInfoList"); -var de_ImportClientVpnClientCertificateRevocationListResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ImportClientVpnClientCertificateRevocationListResult"); -var de_ImportImageLicenseConfigurationResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lCA] != null) { - contents[_LCA] = (0, import_smithy_client.expectString)(output[_lCA]); - } - return contents; -}, "de_ImportImageLicenseConfigurationResponse"); -var de_ImportImageLicenseSpecificationListResponse = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ImportImageLicenseConfigurationResponse(entry, context); - }); -}, "de_ImportImageLicenseSpecificationListResponse"); -var de_ImportImageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_arc] != null) { - contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_enc] != null) { - contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); - } - if (output[_h] != null) { - contents[_H] = (0, import_smithy_client.expectString)(output[_h]); - } - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_iTI] != null) { - contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]); - } - if (output[_kKI] != null) { - contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); - } - if (output[_lTi] != null) { - contents[_LTi] = (0, import_smithy_client.expectString)(output[_lTi]); - } - if (output[_pl] != null) { - contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); - } - if (output[_pro] != null) { - contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); - } - if (output.snapshotDetailSet === "") { - contents[_SDn] = []; - } else if (output[_sDSn] != null && output[_sDSn][_i] != null) { - contents[_SDn] = de_SnapshotDetailList((0, import_smithy_client.getArrayIfSingleItem)(output[_sDSn][_i]), context); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output.licenseSpecifications === "") { - contents[_LSi] = []; - } else if (output[_lS] != null && output[_lS][_i] != null) { - contents[_LSi] = de_ImportImageLicenseSpecificationListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_lS][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_uO] != null) { - contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]); - } - return contents; -}, "de_ImportImageResult"); -var de_ImportImageTask = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_arc] != null) { - contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_enc] != null) { - contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); - } - if (output[_h] != null) { - contents[_H] = (0, import_smithy_client.expectString)(output[_h]); - } - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_iTI] != null) { - contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]); - } - if (output[_kKI] != null) { - contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); - } - if (output[_lTi] != null) { - contents[_LTi] = (0, import_smithy_client.expectString)(output[_lTi]); - } - if (output[_pl] != null) { - contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); - } - if (output[_pro] != null) { - contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); - } - if (output.snapshotDetailSet === "") { - contents[_SDn] = []; - } else if (output[_sDSn] != null && output[_sDSn][_i] != null) { - contents[_SDn] = de_SnapshotDetailList((0, import_smithy_client.getArrayIfSingleItem)(output[_sDSn][_i]), context); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output.licenseSpecifications === "") { - contents[_LSi] = []; - } else if (output[_lS] != null && output[_lS][_i] != null) { - contents[_LSi] = de_ImportImageLicenseSpecificationListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_lS][_i]), context); - } - if (output[_uO] != null) { - contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]); - } - if (output[_bM] != null) { - contents[_BM] = (0, import_smithy_client.expectString)(output[_bM]); - } - return contents; -}, "de_ImportImageTask"); -var de_ImportImageTaskList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ImportImageTask(entry, context); - }); -}, "de_ImportImageTaskList"); -var de_ImportInstanceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cTon] != null) { - contents[_CTonv] = de_ConversionTask(output[_cTon], context); - } - return contents; -}, "de_ImportInstanceResult"); -var de_ImportInstanceTaskDetails = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_pl] != null) { - contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); - } - if (output.volumes === "") { - contents[_Vol] = []; - } else if (output[_vo] != null && output[_vo][_i] != null) { - contents[_Vol] = de_ImportInstanceVolumeDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_vo][_i]), context); - } - return contents; -}, "de_ImportInstanceTaskDetails"); -var de_ImportInstanceVolumeDetailItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_bCy] != null) { - contents[_BCyt] = (0, import_smithy_client.strictParseLong)(output[_bCy]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_im] != null) { - contents[_Im] = de_DiskImageDescription(output[_im], context); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output[_vol] != null) { - contents[_Vo] = de_DiskImageVolumeDescription(output[_vol], context); - } - return contents; -}, "de_ImportInstanceVolumeDetailItem"); -var de_ImportInstanceVolumeDetailSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ImportInstanceVolumeDetailItem(entry, context); - }); -}, "de_ImportInstanceVolumeDetailSet"); -var de_ImportKeyPairResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_kF] != null) { - contents[_KFe] = (0, import_smithy_client.expectString)(output[_kF]); - } - if (output[_kN] != null) { - contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); - } - if (output[_kPI] != null) { - contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_ImportKeyPairResult"); -var de_ImportSnapshotResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_iTI] != null) { - contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]); - } - if (output[_sTD] != null) { - contents[_STD] = de_SnapshotTaskDetail(output[_sTD], context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_ImportSnapshotResult"); -var de_ImportSnapshotTask = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_iTI] != null) { - contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]); - } - if (output[_sTD] != null) { - contents[_STD] = de_SnapshotTaskDetail(output[_sTD], context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_ImportSnapshotTask"); -var de_ImportSnapshotTaskList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ImportSnapshotTask(entry, context); - }); -}, "de_ImportSnapshotTaskList"); -var de_ImportVolumeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cTon] != null) { - contents[_CTonv] = de_ConversionTask(output[_cTon], context); - } - return contents; -}, "de_ImportVolumeResult"); -var de_ImportVolumeTaskDetails = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_bCy] != null) { - contents[_BCyt] = (0, import_smithy_client.strictParseLong)(output[_bCy]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_im] != null) { - contents[_Im] = de_DiskImageDescription(output[_im], context); - } - if (output[_vol] != null) { - contents[_Vo] = de_DiskImageVolumeDescription(output[_vol], context); - } - return contents; -}, "de_ImportVolumeTaskDetails"); -var de_InferenceAcceleratorInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.accelerators === "") { - contents[_Acc] = []; - } else if (output[_acc] != null && output[_acc][_mem] != null) { - contents[_Acc] = de_InferenceDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_acc][_mem]), context); - } - if (output[_tIMIMB] != null) { - contents[_TIMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tIMIMB]); - } - return contents; -}, "de_InferenceAcceleratorInfo"); -var de_InferenceDeviceInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cou] != null) { - contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_man] != null) { - contents[_Man] = (0, import_smithy_client.expectString)(output[_man]); - } - if (output[_mIe] != null) { - contents[_MIe] = de_InferenceDeviceMemoryInfo(output[_mIe], context); - } - return contents; -}, "de_InferenceDeviceInfo"); -var de_InferenceDeviceInfoList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InferenceDeviceInfo(entry, context); - }); -}, "de_InferenceDeviceInfoList"); -var de_InferenceDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIMB] != null) { - contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]); - } - return contents; -}, "de_InferenceDeviceMemoryInfo"); -var de_InsideCidrBlocksStringList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_InsideCidrBlocksStringList"); -var de_Instance = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aLI] != null) { - contents[_ALI] = (0, import_smithy_client.strictParseInt32)(output[_aLI]); - } - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_kI] != null) { - contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); - } - if (output[_kN] != null) { - contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); - } - if (output[_lTau] != null) { - contents[_LTaun] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lTau])); - } - if (output[_mo] != null) { - contents[_Mon] = de_Monitoring(output[_mo], context); - } - if (output[_pla] != null) { - contents[_Pl] = de_Placement(output[_pla], context); - } - if (output[_pl] != null) { - contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); - } - if (output[_pDN] != null) { - contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); - } - if (output[_pIA] != null) { - contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); - } - if (output.productCodes === "") { - contents[_PCr] = []; - } else if (output[_pC] != null && output[_pC][_i] != null) { - contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); - } - if (output[_dNn] != null) { - contents[_PDNu] = (0, import_smithy_client.expectString)(output[_dNn]); - } - if (output[_iAp] != null) { - contents[_PIAu] = (0, import_smithy_client.expectString)(output[_iAp]); - } - if (output[_rIa] != null) { - contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]); - } - if (output[_iSnst] != null) { - contents[_Stat] = de_InstanceState(output[_iSnst], context); - } - if (output[_rea] != null) { - contents[_STRt] = (0, import_smithy_client.expectString)(output[_rea]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_arc] != null) { - contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]); - } - if (output.blockDeviceMapping === "") { - contents[_BDM] = []; - } else if (output[_bDM] != null && output[_bDM][_i] != null) { - contents[_BDM] = de_InstanceBlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - if (output[_eO] != null) { - contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); - } - if (output[_eSna] != null) { - contents[_ESn] = (0, import_smithy_client.parseBoolean)(output[_eSna]); - } - if (output[_h] != null) { - contents[_H] = (0, import_smithy_client.expectString)(output[_h]); - } - if (output[_iIP] != null) { - contents[_IIP] = de_IamInstanceProfile(output[_iIP], context); - } - if (output[_iLn] != null) { - contents[_ILn] = (0, import_smithy_client.expectString)(output[_iLn]); - } - if (output.elasticGpuAssociationSet === "") { - contents[_EGA] = []; - } else if (output[_eGASl] != null && output[_eGASl][_i] != null) { - contents[_EGA] = de_ElasticGpuAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_eGASl][_i]), context); - } - if (output.elasticInferenceAcceleratorAssociationSet === "") { - contents[_EIAAl] = []; - } else if (output[_eIAASl] != null && output[_eIAASl][_i] != null) { - contents[_EIAAl] = de_ElasticInferenceAcceleratorAssociationList( - (0, import_smithy_client.getArrayIfSingleItem)(output[_eIAASl][_i]), - context - ); - } - if (output.networkInterfaceSet === "") { - contents[_NI] = []; - } else if (output[_nIS] != null && output[_nIS][_i] != null) { - contents[_NI] = de_InstanceNetworkInterfaceList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context); - } - if (output[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output[_rDN] != null) { - contents[_RDN] = (0, import_smithy_client.expectString)(output[_rDN]); - } - if (output[_rDT] != null) { - contents[_RDT] = (0, import_smithy_client.expectString)(output[_rDT]); - } - if (output.groupSet === "") { - contents[_SG] = []; - } else if (output[_gS] != null && output[_gS][_i] != null) { - contents[_SG] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); - } - if (output[_sDC] != null) { - contents[_SDC] = (0, import_smithy_client.parseBoolean)(output[_sDC]); - } - if (output[_sIRI] != null) { - contents[_SIRIp] = (0, import_smithy_client.expectString)(output[_sIRI]); - } - if (output[_sNSr] != null) { - contents[_SNS] = (0, import_smithy_client.expectString)(output[_sNSr]); - } - if (output[_sR] != null) { - contents[_SRt] = de_StateReason(output[_sR], context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_vTi] != null) { - contents[_VTir] = (0, import_smithy_client.expectString)(output[_vTi]); - } - if (output[_cO] != null) { - contents[_CO] = de_CpuOptions(output[_cO], context); - } - if (output[_cRI] != null) { - contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]); - } - if (output[_cRSa] != null) { - contents[_CRS] = de_CapacityReservationSpecificationResponse(output[_cRSa], context); - } - if (output[_hO] != null) { - contents[_HO] = de_HibernationOptions(output[_hO], context); - } - if (output.licenseSet === "") { - contents[_Lic] = []; - } else if (output[_lSi] != null && output[_lSi][_i] != null) { - contents[_Lic] = de_LicenseList((0, import_smithy_client.getArrayIfSingleItem)(output[_lSi][_i]), context); - } - if (output[_mO] != null) { - contents[_MO] = de_InstanceMetadataOptionsResponse(output[_mO], context); - } - if (output[_eOn] != null) { - contents[_EOn] = de_EnclaveOptions(output[_eOn], context); - } - if (output[_bM] != null) { - contents[_BM] = (0, import_smithy_client.expectString)(output[_bM]); - } - if (output[_pDl] != null) { - contents[_PDl] = (0, import_smithy_client.expectString)(output[_pDl]); - } - if (output[_uO] != null) { - contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]); - } - if (output[_uOUT] != null) { - contents[_UOUT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uOUT])); - } - if (output[_pDNO] != null) { - contents[_PDNO] = de_PrivateDnsNameOptionsResponse(output[_pDNO], context); - } - if (output[_iApv] != null) { - contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]); - } - if (output[_tSp] != null) { - contents[_TSp] = (0, import_smithy_client.expectString)(output[_tSp]); - } - if (output[_mOa] != null) { - contents[_MOa] = de_InstanceMaintenanceOptions(output[_mOa], context); - } - if (output[_cIBM] != null) { - contents[_CIBM] = (0, import_smithy_client.expectString)(output[_cIBM]); - } - return contents; -}, "de_Instance"); -var de_InstanceAttachmentEnaSrdSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eSE] != null) { - contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_eSE]); - } - if (output[_eSUS] != null) { - contents[_ESUS] = de_InstanceAttachmentEnaSrdUdpSpecification(output[_eSUS], context); - } - return contents; -}, "de_InstanceAttachmentEnaSrdSpecification"); -var de_InstanceAttachmentEnaSrdUdpSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eSUE] != null) { - contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_eSUE]); - } - return contents; -}, "de_InstanceAttachmentEnaSrdUdpSpecification"); -var de_InstanceAttribute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.groupSet === "") { - contents[_G] = []; - } else if (output[_gS] != null && output[_gS][_i] != null) { - contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); - } - if (output.blockDeviceMapping === "") { - contents[_BDM] = []; - } else if (output[_bDM] != null && output[_bDM][_i] != null) { - contents[_BDM] = de_InstanceBlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); - } - if (output[_dAT] != null) { - contents[_DATis] = de_AttributeBooleanValue(output[_dAT], context); - } - if (output[_eSna] != null) { - contents[_ESn] = de_AttributeBooleanValue(output[_eSna], context); - } - if (output[_eOn] != null) { - contents[_EOn] = de_EnclaveOptions(output[_eOn], context); - } - if (output[_eO] != null) { - contents[_EO] = de_AttributeBooleanValue(output[_eO], context); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_iISB] != null) { - contents[_IISB] = de_AttributeValue(output[_iISB], context); - } - if (output[_iT] != null) { - contents[_IT] = de_AttributeValue(output[_iT], context); - } - if (output[_ke] != null) { - contents[_KI] = de_AttributeValue(output[_ke], context); - } - if (output.productCodes === "") { - contents[_PCr] = []; - } else if (output[_pC] != null && output[_pC][_i] != null) { - contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); - } - if (output[_ra] != null) { - contents[_RIa] = de_AttributeValue(output[_ra], context); - } - if (output[_rDN] != null) { - contents[_RDN] = de_AttributeValue(output[_rDN], context); - } - if (output[_sDC] != null) { - contents[_SDC] = de_AttributeBooleanValue(output[_sDC], context); - } - if (output[_sNSr] != null) { - contents[_SNS] = de_AttributeValue(output[_sNSr], context); - } - if (output[_uDs] != null) { - contents[_UD] = de_AttributeValue(output[_uDs], context); - } - if (output[_dASi] != null) { - contents[_DAS] = de_AttributeBooleanValue(output[_dASi], context); - } - return contents; -}, "de_InstanceAttribute"); -var de_InstanceBlockDeviceMapping = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dN] != null) { - contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]); - } - if (output[_eb] != null) { - contents[_E] = de_EbsInstanceBlockDevice(output[_eb], context); - } - return contents; -}, "de_InstanceBlockDeviceMapping"); -var de_InstanceBlockDeviceMappingList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceBlockDeviceMapping(entry, context); - }); -}, "de_InstanceBlockDeviceMappingList"); -var de_InstanceCapacity = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aC] != null) { - contents[_ACv] = (0, import_smithy_client.strictParseInt32)(output[_aC]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_tC] != null) { - contents[_TCo] = (0, import_smithy_client.strictParseInt32)(output[_tC]); - } - return contents; -}, "de_InstanceCapacity"); -var de_InstanceConnectEndpointSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ec2InstanceConnectEndpoint(entry, context); - }); -}, "de_InstanceConnectEndpointSet"); -var de_InstanceCount = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iC] != null) { - contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_InstanceCount"); -var de_InstanceCountList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceCount(entry, context); - }); -}, "de_InstanceCountList"); -var de_InstanceCreditSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_cCp] != null) { - contents[_CCp] = (0, import_smithy_client.expectString)(output[_cCp]); - } - return contents; -}, "de_InstanceCreditSpecification"); -var de_InstanceCreditSpecificationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceCreditSpecification(entry, context); - }); -}, "de_InstanceCreditSpecificationList"); -var de_InstanceEventWindow = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iEWI] != null) { - contents[_IEWI] = (0, import_smithy_client.expectString)(output[_iEWI]); - } - if (output.timeRangeSet === "") { - contents[_TRi] = []; - } else if (output[_tRSi] != null && output[_tRSi][_i] != null) { - contents[_TRi] = de_InstanceEventWindowTimeRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_tRSi][_i]), context); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_cEr] != null) { - contents[_CE] = (0, import_smithy_client.expectString)(output[_cEr]); - } - if (output[_aTs] != null) { - contents[_AT] = de_InstanceEventWindowAssociationTarget(output[_aTs], context); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_InstanceEventWindow"); -var de_InstanceEventWindowAssociationTarget = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instanceIdSet === "") { - contents[_IIns] = []; - } else if (output[_iIS] != null && output[_iIS][_i] != null) { - contents[_IIns] = de_InstanceIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_iIS][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output.dedicatedHostIdSet === "") { - contents[_DHI] = []; - } else if (output[_dHIS] != null && output[_dHIS][_i] != null) { - contents[_DHI] = de_DedicatedHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_dHIS][_i]), context); - } - return contents; -}, "de_InstanceEventWindowAssociationTarget"); -var de_InstanceEventWindowSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceEventWindow(entry, context); - }); -}, "de_InstanceEventWindowSet"); -var de_InstanceEventWindowStateChange = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iEWI] != null) { - contents[_IEWI] = (0, import_smithy_client.expectString)(output[_iEWI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_InstanceEventWindowStateChange"); -var de_InstanceEventWindowTimeRange = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sWD] != null) { - contents[_SWD] = (0, import_smithy_client.expectString)(output[_sWD]); - } - if (output[_sH] != null) { - contents[_SH] = (0, import_smithy_client.strictParseInt32)(output[_sH]); - } - if (output[_eWD] != null) { - contents[_EWD] = (0, import_smithy_client.expectString)(output[_eWD]); - } - if (output[_eH] != null) { - contents[_EH] = (0, import_smithy_client.strictParseInt32)(output[_eH]); - } - return contents; -}, "de_InstanceEventWindowTimeRange"); -var de_InstanceEventWindowTimeRangeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceEventWindowTimeRange(entry, context); - }); -}, "de_InstanceEventWindowTimeRangeList"); -var de_InstanceExportDetails = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_tE] != null) { - contents[_TE] = (0, import_smithy_client.expectString)(output[_tE]); - } - return contents; -}, "de_InstanceExportDetails"); -var de_InstanceFamilyCreditSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iF] != null) { - contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]); - } - if (output[_cCp] != null) { - contents[_CCp] = (0, import_smithy_client.expectString)(output[_cCp]); - } - return contents; -}, "de_InstanceFamilyCreditSpecification"); -var de_InstanceGenerationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_InstanceGenerationSet"); -var de_InstanceIdList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_InstanceIdList"); -var de_InstanceIdSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_InstanceIdSet"); -var de_InstanceIdsSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_InstanceIdsSet"); -var de_InstanceIpv4Prefix = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPpv] != null) { - contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_iPpv]); - } - return contents; -}, "de_InstanceIpv4Prefix"); -var de_InstanceIpv4PrefixList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceIpv4Prefix(entry, context); - }); -}, "de_InstanceIpv4PrefixList"); -var de_InstanceIpv6Address = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iApv] != null) { - contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]); - } - if (output[_iPI] != null) { - contents[_IPIs] = (0, import_smithy_client.parseBoolean)(output[_iPI]); - } - return contents; -}, "de_InstanceIpv6Address"); -var de_InstanceIpv6AddressList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceIpv6Address(entry, context); - }); -}, "de_InstanceIpv6AddressList"); -var de_InstanceIpv6Prefix = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPpvr] != null) { - contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_iPpvr]); - } - return contents; -}, "de_InstanceIpv6Prefix"); -var de_InstanceIpv6PrefixList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceIpv6Prefix(entry, context); - }); -}, "de_InstanceIpv6PrefixList"); -var de_InstanceList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Instance(entry, context); - }); -}, "de_InstanceList"); -var de_InstanceMaintenanceOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aRu] != null) { - contents[_ARu] = (0, import_smithy_client.expectString)(output[_aRu]); - } - return contents; -}, "de_InstanceMaintenanceOptions"); -var de_InstanceMetadataDefaultsResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_hT] != null) { - contents[_HT] = (0, import_smithy_client.expectString)(output[_hT]); - } - if (output[_hPRHL] != null) { - contents[_HPRHL] = (0, import_smithy_client.strictParseInt32)(output[_hPRHL]); - } - if (output[_hE] != null) { - contents[_HE] = (0, import_smithy_client.expectString)(output[_hE]); - } - if (output[_iMT] != null) { - contents[_IMT] = (0, import_smithy_client.expectString)(output[_iMT]); - } - return contents; -}, "de_InstanceMetadataDefaultsResponse"); -var de_InstanceMetadataOptionsResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_hT] != null) { - contents[_HT] = (0, import_smithy_client.expectString)(output[_hT]); - } - if (output[_hPRHL] != null) { - contents[_HPRHL] = (0, import_smithy_client.strictParseInt32)(output[_hPRHL]); - } - if (output[_hE] != null) { - contents[_HE] = (0, import_smithy_client.expectString)(output[_hE]); - } - if (output[_hPI] != null) { - contents[_HPI] = (0, import_smithy_client.expectString)(output[_hPI]); - } - if (output[_iMT] != null) { - contents[_IMT] = (0, import_smithy_client.expectString)(output[_iMT]); - } - return contents; -}, "de_InstanceMetadataOptionsResponse"); -var de_InstanceMonitoring = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_mo] != null) { - contents[_Mon] = de_Monitoring(output[_mo], context); - } - return contents; -}, "de_InstanceMonitoring"); -var de_InstanceMonitoringList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceMonitoring(entry, context); - }); -}, "de_InstanceMonitoringList"); -var de_InstanceNetworkInterface = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ass] != null) { - contents[_Asso] = de_InstanceNetworkInterfaceAssociation(output[_ass], context); - } - if (output[_at] != null) { - contents[_Att] = de_InstanceNetworkInterfaceAttachment(output[_at], context); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.groupSet === "") { - contents[_G] = []; - } else if (output[_gS] != null && output[_gS][_i] != null) { - contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); - } - if (output.ipv6AddressesSet === "") { - contents[_IA] = []; - } else if (output[_iASp] != null && output[_iASp][_i] != null) { - contents[_IA] = de_InstanceIpv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context); - } - if (output[_mAa] != null) { - contents[_MAa] = (0, import_smithy_client.expectString)(output[_mAa]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_pDN] != null) { - contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); - } - if (output[_pIA] != null) { - contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); - } - if (output.privateIpAddressesSet === "") { - contents[_PIA] = []; - } else if (output[_pIAS] != null && output[_pIAS][_i] != null) { - contents[_PIA] = de_InstancePrivateIpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context); - } - if (output[_sDC] != null) { - contents[_SDC] = (0, import_smithy_client.parseBoolean)(output[_sDC]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_iTnt] != null) { - contents[_ITn] = (0, import_smithy_client.expectString)(output[_iTnt]); - } - if (output.ipv4PrefixSet === "") { - contents[_IPp] = []; - } else if (output[_iPSpv] != null && output[_iPSpv][_i] != null) { - contents[_IPp] = de_InstanceIpv4PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpv][_i]), context); - } - if (output.ipv6PrefixSet === "") { - contents[_IP] = []; - } else if (output[_iPSpvr] != null && output[_iPSpvr][_i] != null) { - contents[_IP] = de_InstanceIpv6PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpvr][_i]), context); - } - if (output[_cTC] != null) { - contents[_CTC] = de_ConnectionTrackingSpecificationResponse(output[_cTC], context); - } - return contents; -}, "de_InstanceNetworkInterface"); -var de_InstanceNetworkInterfaceAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cI] != null) { - contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]); - } - if (output[_cOI] != null) { - contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]); - } - if (output[_iOIp] != null) { - contents[_IOI] = (0, import_smithy_client.expectString)(output[_iOIp]); - } - if (output[_pDNu] != null) { - contents[_PDNu] = (0, import_smithy_client.expectString)(output[_pDNu]); - } - if (output[_pI] != null) { - contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); - } - return contents; -}, "de_InstanceNetworkInterfaceAssociation"); -var de_InstanceNetworkInterfaceAttachment = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aTt] != null) { - contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt])); - } - if (output[_aIt] != null) { - contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]); - } - if (output[_dOT] != null) { - contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); - } - if (output[_dIe] != null) { - contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_nCI] != null) { - contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]); - } - if (output[_eSS] != null) { - contents[_ESS] = de_InstanceAttachmentEnaSrdSpecification(output[_eSS], context); - } - return contents; -}, "de_InstanceNetworkInterfaceAttachment"); -var de_InstanceNetworkInterfaceList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceNetworkInterface(entry, context); - }); -}, "de_InstanceNetworkInterfaceList"); -var de_InstanceNetworkInterfaceSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aPIA] != null) { - contents[_APIAs] = (0, import_smithy_client.parseBoolean)(output[_aPIA]); - } - if (output[_dOT] != null) { - contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_dIe] != null) { - contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]); - } - if (output.SecurityGroupId === "") { - contents[_G] = []; - } else if (output[_SGIe] != null && output[_SGIe][_SGIe] != null) { - contents[_G] = de_SecurityGroupIdStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_SGIe][_SGIe]), context); - } - if (output[_iAC] != null) { - contents[_IAC] = (0, import_smithy_client.strictParseInt32)(output[_iAC]); - } - if (output.ipv6AddressesSet === "") { - contents[_IA] = []; - } else if (output[_iASp] != null && output[_iASp][_i] != null) { - contents[_IA] = de_InstanceIpv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_pIA] != null) { - contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); - } - if (output.privateIpAddressesSet === "") { - contents[_PIA] = []; - } else if (output[_pIAS] != null && output[_pIAS][_i] != null) { - contents[_PIA] = de_PrivateIpAddressSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context); - } - if (output[_sPIAC] != null) { - contents[_SPIAC] = (0, import_smithy_client.strictParseInt32)(output[_sPIAC]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_ACIA] != null) { - contents[_ACIA] = (0, import_smithy_client.parseBoolean)(output[_ACIA]); - } - if (output[_ITn] != null) { - contents[_ITn] = (0, import_smithy_client.expectString)(output[_ITn]); - } - if (output[_NCI] != null) { - contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_NCI]); - } - if (output.Ipv4Prefix === "") { - contents[_IPp] = []; - } else if (output[_IPpvr] != null && output[_IPpvr][_i] != null) { - contents[_IPp] = de_Ipv4PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_IPpvr][_i]), context); - } - if (output[_IPCp] != null) { - contents[_IPCp] = (0, import_smithy_client.strictParseInt32)(output[_IPCp]); - } - if (output.Ipv6Prefix === "") { - contents[_IP] = []; - } else if (output[_IPpvre] != null && output[_IPpvre][_i] != null) { - contents[_IP] = de_Ipv6PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_IPpvre][_i]), context); - } - if (output[_IPC] != null) { - contents[_IPC] = (0, import_smithy_client.strictParseInt32)(output[_IPC]); - } - if (output[_PIr] != null) { - contents[_PIr] = (0, import_smithy_client.parseBoolean)(output[_PIr]); - } - if (output[_ESS] != null) { - contents[_ESS] = de_EnaSrdSpecificationRequest(output[_ESS], context); - } - if (output[_CTS] != null) { - contents[_CTS] = de_ConnectionTrackingSpecificationRequest(output[_CTS], context); - } - return contents; -}, "de_InstanceNetworkInterfaceSpecification"); -var de_InstanceNetworkInterfaceSpecificationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceNetworkInterfaceSpecification(entry, context); - }); -}, "de_InstanceNetworkInterfaceSpecificationList"); -var de_InstancePrivateIpAddress = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ass] != null) { - contents[_Asso] = de_InstanceNetworkInterfaceAssociation(output[_ass], context); - } - if (output[_prim] != null) { - contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]); - } - if (output[_pDN] != null) { - contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); - } - if (output[_pIA] != null) { - contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); - } - return contents; -}, "de_InstancePrivateIpAddress"); -var de_InstancePrivateIpAddressList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstancePrivateIpAddress(entry, context); - }); -}, "de_InstancePrivateIpAddressList"); -var de_InstanceRequirements = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vCC] != null) { - contents[_VCC] = de_VCpuCountRange(output[_vCC], context); - } - if (output[_mMB] != null) { - contents[_MMB] = de_MemoryMiB(output[_mMB], context); - } - if (output.cpuManufacturerSet === "") { - contents[_CM] = []; - } else if (output[_cMS] != null && output[_cMS][_i] != null) { - contents[_CM] = de_CpuManufacturerSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cMS][_i]), context); - } - if (output[_mGBPVC] != null) { - contents[_MGBPVC] = de_MemoryGiBPerVCpu(output[_mGBPVC], context); - } - if (output.excludedInstanceTypeSet === "") { - contents[_EIT] = []; - } else if (output[_eITSx] != null && output[_eITSx][_i] != null) { - contents[_EIT] = de_ExcludedInstanceTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eITSx][_i]), context); - } - if (output.instanceGenerationSet === "") { - contents[_IG] = []; - } else if (output[_iGSn] != null && output[_iGSn][_i] != null) { - contents[_IG] = de_InstanceGenerationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iGSn][_i]), context); - } - if (output[_sMPPOLP] != null) { - contents[_SMPPOLP] = (0, import_smithy_client.strictParseInt32)(output[_sMPPOLP]); - } - if (output[_oDMPPOLP] != null) { - contents[_ODMPPOLP] = (0, import_smithy_client.strictParseInt32)(output[_oDMPPOLP]); - } - if (output[_bMa] != null) { - contents[_BMa] = (0, import_smithy_client.expectString)(output[_bMa]); - } - if (output[_bP] != null) { - contents[_BP] = (0, import_smithy_client.expectString)(output[_bP]); - } - if (output[_rHS] != null) { - contents[_RHS] = (0, import_smithy_client.parseBoolean)(output[_rHS]); - } - if (output[_nIC] != null) { - contents[_NIC] = de_NetworkInterfaceCount(output[_nIC], context); - } - if (output[_lSo] != null) { - contents[_LSo] = (0, import_smithy_client.expectString)(output[_lSo]); - } - if (output.localStorageTypeSet === "") { - contents[_LST] = []; - } else if (output[_lSTS] != null && output[_lSTS][_i] != null) { - contents[_LST] = de_LocalStorageTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lSTS][_i]), context); - } - if (output[_tLSGB] != null) { - contents[_TLSGB] = de_TotalLocalStorageGB(output[_tLSGB], context); - } - if (output[_bEBM] != null) { - contents[_BEBM] = de_BaselineEbsBandwidthMbps(output[_bEBM], context); - } - if (output.acceleratorTypeSet === "") { - contents[_ATc] = []; - } else if (output[_aTSc] != null && output[_aTSc][_i] != null) { - contents[_ATc] = de_AcceleratorTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aTSc][_i]), context); - } - if (output[_aCc] != null) { - contents[_ACc] = de_AcceleratorCount(output[_aCc], context); - } - if (output.acceleratorManufacturerSet === "") { - contents[_AM] = []; - } else if (output[_aMS] != null && output[_aMS][_i] != null) { - contents[_AM] = de_AcceleratorManufacturerSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aMS][_i]), context); - } - if (output.acceleratorNameSet === "") { - contents[_ANc] = []; - } else if (output[_aNS] != null && output[_aNS][_i] != null) { - contents[_ANc] = de_AcceleratorNameSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aNS][_i]), context); - } - if (output[_aTMMB] != null) { - contents[_ATMMB] = de_AcceleratorTotalMemoryMiB(output[_aTMMB], context); - } - if (output[_nBGe] != null) { - contents[_NBGe] = de_NetworkBandwidthGbps(output[_nBGe], context); - } - if (output.allowedInstanceTypeSet === "") { - contents[_AIT] = []; - } else if (output[_aITS] != null && output[_aITS][_i] != null) { - contents[_AIT] = de_AllowedInstanceTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aITS][_i]), context); - } - if (output[_mSPAPOOODP] != null) { - contents[_MSPAPOOODP] = (0, import_smithy_client.strictParseInt32)(output[_mSPAPOOODP]); - } - return contents; -}, "de_InstanceRequirements"); -var de_InstanceSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceTopology(entry, context); - }); -}, "de_InstanceSet"); -var de_InstanceState = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.strictParseInt32)(output[_co]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - return contents; -}, "de_InstanceState"); -var de_InstanceStateChange = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cSu] != null) { - contents[_CSu] = de_InstanceState(output[_cSu], context); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_pS] != null) { - contents[_PSr] = de_InstanceState(output[_pS], context); - } - return contents; -}, "de_InstanceStateChange"); -var de_InstanceStateChangeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceStateChange(entry, context); - }); -}, "de_InstanceStateChangeList"); -var de_InstanceStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output.eventsSet === "") { - contents[_Ev] = []; - } else if (output[_eSv] != null && output[_eSv][_i] != null) { - contents[_Ev] = de_InstanceStatusEventList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSv][_i]), context); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_iSnst] != null) { - contents[_ISnst] = de_InstanceState(output[_iSnst], context); - } - if (output[_iSnsta] != null) { - contents[_ISnsta] = de_InstanceStatusSummary(output[_iSnsta], context); - } - if (output[_sSy] != null) { - contents[_SSy] = de_InstanceStatusSummary(output[_sSy], context); - } - return contents; -}, "de_InstanceStatus"); -var de_InstanceStatusDetails = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iSmp] != null) { - contents[_ISmp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_iSmp])); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - return contents; -}, "de_InstanceStatusDetails"); -var de_InstanceStatusDetailsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceStatusDetails(entry, context); - }); -}, "de_InstanceStatusDetailsList"); -var de_InstanceStatusEvent = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iEI] != null) { - contents[_IEI] = (0, import_smithy_client.expectString)(output[_iEI]); - } - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_nAo] != null) { - contents[_NAo] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nAo])); - } - if (output[_nB] != null) { - contents[_NB] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nB])); - } - if (output[_nBD] != null) { - contents[_NBD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nBD])); - } - return contents; -}, "de_InstanceStatusEvent"); -var de_InstanceStatusEventList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceStatusEvent(entry, context); - }); -}, "de_InstanceStatusEventList"); -var de_InstanceStatusList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceStatus(entry, context); - }); -}, "de_InstanceStatusList"); -var de_InstanceStatusSummary = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.details === "") { - contents[_Det] = []; - } else if (output[_det] != null && output[_det][_i] != null) { - contents[_Det] = de_InstanceStatusDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_det][_i]), context); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - return contents; -}, "de_InstanceStatusSummary"); -var de_InstanceStorageInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tSIGB] != null) { - contents[_TSIGB] = (0, import_smithy_client.strictParseLong)(output[_tSIGB]); - } - if (output.disks === "") { - contents[_Dis] = []; - } else if (output[_dis] != null && output[_dis][_i] != null) { - contents[_Dis] = de_DiskInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_dis][_i]), context); - } - if (output[_nS] != null) { - contents[_NS] = (0, import_smithy_client.expectString)(output[_nS]); - } - if (output[_eSn] != null) { - contents[_ESnc] = (0, import_smithy_client.expectString)(output[_eSn]); - } - return contents; -}, "de_InstanceStorageInfo"); -var de_InstanceTagKeySet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_InstanceTagKeySet"); -var de_InstanceTagNotificationAttribute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instanceTagKeySet === "") { - contents[_ITK] = []; - } else if (output[_iTKS] != null && output[_iTKS][_i] != null) { - contents[_ITK] = de_InstanceTagKeySet((0, import_smithy_client.getArrayIfSingleItem)(output[_iTKS][_i]), context); - } - if (output[_iATOI] != null) { - contents[_IATOI] = (0, import_smithy_client.parseBoolean)(output[_iATOI]); - } - return contents; -}, "de_InstanceTagNotificationAttribute"); -var de_InstanceTopology = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - if (output.networkNodeSet === "") { - contents[_NN] = []; - } else if (output[_nNS] != null && output[_nNS][_i] != null) { - contents[_NN] = de_NetworkNodesList((0, import_smithy_client.getArrayIfSingleItem)(output[_nNS][_i]), context); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_zI] != null) { - contents[_ZIo] = (0, import_smithy_client.expectString)(output[_zI]); - } - return contents; -}, "de_InstanceTopology"); -var de_InstanceTypeInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_cGur] != null) { - contents[_CGur] = (0, import_smithy_client.parseBoolean)(output[_cGur]); - } - if (output[_fTE] != null) { - contents[_FTE] = (0, import_smithy_client.parseBoolean)(output[_fTE]); - } - if (output.supportedUsageClasses === "") { - contents[_SUC] = []; - } else if (output[_sUC] != null && output[_sUC][_i] != null) { - contents[_SUC] = de_UsageClassTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sUC][_i]), context); - } - if (output.supportedRootDeviceTypes === "") { - contents[_SRDT] = []; - } else if (output[_sRDT] != null && output[_sRDT][_i] != null) { - contents[_SRDT] = de_RootDeviceTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sRDT][_i]), context); - } - if (output.supportedVirtualizationTypes === "") { - contents[_SVT] = []; - } else if (output[_sVT] != null && output[_sVT][_i] != null) { - contents[_SVT] = de_VirtualizationTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sVT][_i]), context); - } - if (output[_bMa] != null) { - contents[_BMa] = (0, import_smithy_client.parseBoolean)(output[_bMa]); - } - if (output[_h] != null) { - contents[_H] = (0, import_smithy_client.expectString)(output[_h]); - } - if (output[_pIr] != null) { - contents[_PIro] = de_ProcessorInfo(output[_pIr], context); - } - if (output[_vCIp] != null) { - contents[_VCIpu] = de_VCpuInfo(output[_vCIp], context); - } - if (output[_mIe] != null) { - contents[_MIe] = de_MemoryInfo(output[_mIe], context); - } - if (output[_iSSn] != null) { - contents[_ISS] = (0, import_smithy_client.parseBoolean)(output[_iSSn]); - } - if (output[_iSI] != null) { - contents[_ISIn] = de_InstanceStorageInfo(output[_iSI], context); - } - if (output[_eIb] != null) { - contents[_EIb] = de_EbsInfo(output[_eIb], context); - } - if (output[_nIet] != null) { - contents[_NIetw] = de_NetworkInfo(output[_nIet], context); - } - if (output[_gIp] != null) { - contents[_GIp] = de_GpuInfo(output[_gIp], context); - } - if (output[_fIp] != null) { - contents[_FIpg] = de_FpgaInfo(output[_fIp], context); - } - if (output[_pGI] != null) { - contents[_PGI] = de_PlacementGroupInfo(output[_pGI], context); - } - if (output[_iAI] != null) { - contents[_IAIn] = de_InferenceAcceleratorInfo(output[_iAI], context); - } - if (output[_hSi] != null) { - contents[_HS] = (0, import_smithy_client.parseBoolean)(output[_hSi]); - } - if (output[_bPS] != null) { - contents[_BPS] = (0, import_smithy_client.parseBoolean)(output[_bPS]); - } - if (output[_dHS] != null) { - contents[_DHS] = (0, import_smithy_client.parseBoolean)(output[_dHS]); - } - if (output[_aRSu] != null) { - contents[_ARS] = (0, import_smithy_client.parseBoolean)(output[_aRSu]); - } - if (output.supportedBootModes === "") { - contents[_SBM] = []; - } else if (output[_sBM] != null && output[_sBM][_i] != null) { - contents[_SBM] = de_BootModeTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sBM][_i]), context); - } - if (output[_nES] != null) { - contents[_NES] = (0, import_smithy_client.expectString)(output[_nES]); - } - if (output[_nTS] != null) { - contents[_NTS] = (0, import_smithy_client.expectString)(output[_nTS]); - } - if (output[_nTI] != null) { - contents[_NTI] = de_NitroTpmInfo(output[_nTI], context); - } - if (output[_mAIe] != null) { - contents[_MAIe] = de_MediaAcceleratorInfo(output[_mAIe], context); - } - if (output[_nIeu] != null) { - contents[_NIeu] = de_NeuronInfo(output[_nIeu], context); - } - return contents; -}, "de_InstanceTypeInfo"); -var de_InstanceTypeInfoFromInstanceRequirements = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - return contents; -}, "de_InstanceTypeInfoFromInstanceRequirements"); -var de_InstanceTypeInfoFromInstanceRequirementsSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceTypeInfoFromInstanceRequirements(entry, context); - }); -}, "de_InstanceTypeInfoFromInstanceRequirementsSet"); -var de_InstanceTypeInfoList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceTypeInfo(entry, context); - }); -}, "de_InstanceTypeInfoList"); -var de_InstanceTypeOffering = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_lTo] != null) { - contents[_LT] = (0, import_smithy_client.expectString)(output[_lTo]); - } - if (output[_lo] != null) { - contents[_Lo] = (0, import_smithy_client.expectString)(output[_lo]); - } - return contents; -}, "de_InstanceTypeOffering"); -var de_InstanceTypeOfferingsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceTypeOffering(entry, context); - }); -}, "de_InstanceTypeOfferingsList"); -var de_InstanceTypesList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_InstanceTypesList"); -var de_InstanceUsage = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIc] != null) { - contents[_AIcc] = (0, import_smithy_client.expectString)(output[_aIc]); - } - if (output[_uIC] != null) { - contents[_UIC] = (0, import_smithy_client.strictParseInt32)(output[_uIC]); - } - return contents; -}, "de_InstanceUsage"); -var de_InstanceUsageSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InstanceUsage(entry, context); - }); -}, "de_InstanceUsageSet"); -var de_InternetGateway = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.attachmentSet === "") { - contents[_Atta] = []; - } else if (output[_aSt] != null && output[_aSt][_i] != null) { - contents[_Atta] = de_InternetGatewayAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSt][_i]), context); - } - if (output[_iGI] != null) { - contents[_IGI] = (0, import_smithy_client.expectString)(output[_iGI]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_InternetGateway"); -var de_InternetGatewayAttachment = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - return contents; -}, "de_InternetGatewayAttachment"); -var de_InternetGatewayAttachmentList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InternetGatewayAttachment(entry, context); - }); -}, "de_InternetGatewayAttachmentList"); -var de_InternetGatewayList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_InternetGateway(entry, context); - }); -}, "de_InternetGatewayList"); -var de_IpAddressList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_IpAddressList"); -var de_Ipam = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_iIp] != null) { - contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]); - } - if (output[_iApa] != null) { - contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]); - } - if (output[_iRp] != null) { - contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]); - } - if (output[_pDSI] != null) { - contents[_PDSI] = (0, import_smithy_client.expectString)(output[_pDSI]); - } - if (output[_pDSIr] != null) { - contents[_PDSIr] = (0, import_smithy_client.expectString)(output[_pDSIr]); - } - if (output[_sCc] != null) { - contents[_SCc] = (0, import_smithy_client.strictParseInt32)(output[_sCc]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.operatingRegionSet === "") { - contents[_OR] = []; - } else if (output[_oRS] != null && output[_oRS][_i] != null) { - contents[_OR] = de_IpamOperatingRegionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oRS][_i]), context); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_dRDI] != null) { - contents[_DRDI] = (0, import_smithy_client.expectString)(output[_dRDI]); - } - if (output[_dRDAI] != null) { - contents[_DRDAI] = (0, import_smithy_client.expectString)(output[_dRDAI]); - } - if (output[_rDAC] != null) { - contents[_RDAC] = (0, import_smithy_client.strictParseInt32)(output[_rDAC]); - } - if (output[_sMt] != null) { - contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]); - } - if (output[_tie] != null) { - contents[_Ti] = (0, import_smithy_client.expectString)(output[_tie]); - } - return contents; -}, "de_Ipam"); -var de_IpamAddressHistoryRecord = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rOI] != null) { - contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); - } - if (output[_rR] != null) { - contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rCe] != null) { - contents[_RC] = (0, import_smithy_client.expectString)(output[_rCe]); - } - if (output[_rNes] != null) { - contents[_RNes] = (0, import_smithy_client.expectString)(output[_rNes]); - } - if (output[_rCS] != null) { - contents[_RCS] = (0, import_smithy_client.expectString)(output[_rCS]); - } - if (output[_rOSe] != null) { - contents[_ROS] = (0, import_smithy_client.expectString)(output[_rOSe]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_sST] != null) { - contents[_SST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sST])); - } - if (output[_sET] != null) { - contents[_SET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sET])); - } - return contents; -}, "de_IpamAddressHistoryRecord"); -var de_IpamAddressHistoryRecordSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamAddressHistoryRecord(entry, context); - }); -}, "de_IpamAddressHistoryRecordSet"); -var de_IpamDiscoveredAccount = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIc] != null) { - contents[_AIcc] = (0, import_smithy_client.expectString)(output[_aIc]); - } - if (output[_dR] != null) { - contents[_DRi] = (0, import_smithy_client.expectString)(output[_dR]); - } - if (output[_fR] != null) { - contents[_FR] = de_IpamDiscoveryFailureReason(output[_fR], context); - } - if (output[_lADT] != null) { - contents[_LADT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lADT])); - } - if (output[_lSDT] != null) { - contents[_LSDT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lSDT])); - } - return contents; -}, "de_IpamDiscoveredAccount"); -var de_IpamDiscoveredAccountSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamDiscoveredAccount(entry, context); - }); -}, "de_IpamDiscoveredAccountSet"); -var de_IpamDiscoveredPublicAddress = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iRDI] != null) { - contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]); - } - if (output[_aRd] != null) { - contents[_ARd] = (0, import_smithy_client.expectString)(output[_aRd]); - } - if (output[_ad] != null) { - contents[_Ad] = (0, import_smithy_client.expectString)(output[_ad]); - } - if (output[_aOI] != null) { - contents[_AOI] = (0, import_smithy_client.expectString)(output[_aOI]); - } - if (output[_aAId] != null) { - contents[_AAId] = (0, import_smithy_client.expectString)(output[_aAId]); - } - if (output[_aSs] != null) { - contents[_ASss] = (0, import_smithy_client.expectString)(output[_aSs]); - } - if (output[_aTd] != null) { - contents[_ATddre] = (0, import_smithy_client.expectString)(output[_aTd]); - } - if (output[_se] != null) { - contents[_Se] = (0, import_smithy_client.expectString)(output[_se]); - } - if (output[_sRe] != null) { - contents[_SRe] = (0, import_smithy_client.expectString)(output[_sRe]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_pIPI] != null) { - contents[_PIPI] = (0, import_smithy_client.expectString)(output[_pIPI]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_nID] != null) { - contents[_NID] = (0, import_smithy_client.expectString)(output[_nID]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_ta] != null) { - contents[_Ta] = de_IpamPublicAddressTags(output[_ta], context); - } - if (output[_nBG] != null) { - contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); - } - if (output.securityGroupSet === "") { - contents[_SG] = []; - } else if (output[_sGS] != null && output[_sGS][_i] != null) { - contents[_SG] = de_IpamPublicAddressSecurityGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGS][_i]), context); - } - if (output[_sTa] != null) { - contents[_STa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTa])); - } - return contents; -}, "de_IpamDiscoveredPublicAddress"); -var de_IpamDiscoveredPublicAddressSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamDiscoveredPublicAddress(entry, context); - }); -}, "de_IpamDiscoveredPublicAddressSet"); -var de_IpamDiscoveredResourceCidr = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iRDI] != null) { - contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]); - } - if (output[_rR] != null) { - contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rOI] != null) { - contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); - } - if (output[_rCe] != null) { - contents[_RC] = (0, import_smithy_client.expectString)(output[_rCe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output.resourceTagSet === "") { - contents[_RTesou] = []; - } else if (output[_rTSe] != null && output[_rTSe][_i] != null) { - contents[_RTesou] = de_IpamResourceTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTSe][_i]), context); - } - if (output[_iU] != null) { - contents[_IUp] = (0, import_smithy_client.strictParseFloat)(output[_iU]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_sTa] != null) { - contents[_STa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTa])); - } - return contents; -}, "de_IpamDiscoveredResourceCidr"); -var de_IpamDiscoveredResourceCidrSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamDiscoveredResourceCidr(entry, context); - }); -}, "de_IpamDiscoveredResourceCidrSet"); -var de_IpamDiscoveryFailureReason = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_IpamDiscoveryFailureReason"); -var de_IpamOperatingRegion = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rNe] != null) { - contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]); - } - return contents; -}, "de_IpamOperatingRegion"); -var de_IpamOperatingRegionSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamOperatingRegion(entry, context); - }); -}, "de_IpamOperatingRegionSet"); -var de_IpamPool = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_iPIp] != null) { - contents[_IPI] = (0, import_smithy_client.expectString)(output[_iPIp]); - } - if (output[_sIPI] != null) { - contents[_SIPI] = (0, import_smithy_client.expectString)(output[_sIPI]); - } - if (output[_iPAp] != null) { - contents[_IPApa] = (0, import_smithy_client.expectString)(output[_iPAp]); - } - if (output[_iSA] != null) { - contents[_ISA] = (0, import_smithy_client.expectString)(output[_iSA]); - } - if (output[_iST] != null) { - contents[_ISTp] = (0, import_smithy_client.expectString)(output[_iST]); - } - if (output[_iApa] != null) { - contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]); - } - if (output[_iRp] != null) { - contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]); - } - if (output[_loc] != null) { - contents[_L] = (0, import_smithy_client.expectString)(output[_loc]); - } - if (output[_pDoo] != null) { - contents[_PDo] = (0, import_smithy_client.strictParseInt32)(output[_pDoo]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sMt] != null) { - contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_aIu] != null) { - contents[_AIu] = (0, import_smithy_client.parseBoolean)(output[_aIu]); - } - if (output[_pAu] != null) { - contents[_PA] = (0, import_smithy_client.parseBoolean)(output[_pAu]); - } - if (output[_aF] != null) { - contents[_AF] = (0, import_smithy_client.expectString)(output[_aF]); - } - if (output[_aMNL] != null) { - contents[_AMNL] = (0, import_smithy_client.strictParseInt32)(output[_aMNL]); - } - if (output[_aMNLl] != null) { - contents[_AMNLl] = (0, import_smithy_client.strictParseInt32)(output[_aMNLl]); - } - if (output[_aDNL] != null) { - contents[_ADNL] = (0, import_smithy_client.strictParseInt32)(output[_aDNL]); - } - if (output.allocationResourceTagSet === "") { - contents[_ARTl] = []; - } else if (output[_aRTS] != null && output[_aRTS][_i] != null) { - contents[_ARTl] = de_IpamResourceTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_aRTS][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_aSw] != null) { - contents[_ASw] = (0, import_smithy_client.expectString)(output[_aSw]); - } - if (output[_pIS] != null) { - contents[_PIS] = (0, import_smithy_client.expectString)(output[_pIS]); - } - if (output[_sRo] != null) { - contents[_SRo] = de_IpamPoolSourceResource(output[_sRo], context); - } - return contents; -}, "de_IpamPool"); -var de_IpamPoolAllocation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ci] != null) { - contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); - } - if (output[_iPAI] != null) { - contents[_IPAI] = (0, import_smithy_client.expectString)(output[_iPAI]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_rR] != null) { - contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]); - } - if (output[_rO] != null) { - contents[_RO] = (0, import_smithy_client.expectString)(output[_rO]); - } - return contents; -}, "de_IpamPoolAllocation"); -var de_IpamPoolAllocationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamPoolAllocation(entry, context); - }); -}, "de_IpamPoolAllocationSet"); -var de_IpamPoolCidr = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ci] != null) { - contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_fR] != null) { - contents[_FR] = de_IpamPoolCidrFailureReason(output[_fR], context); - } - if (output[_iPCI] != null) { - contents[_IPCI] = (0, import_smithy_client.expectString)(output[_iPCI]); - } - if (output[_nL] != null) { - contents[_NL] = (0, import_smithy_client.strictParseInt32)(output[_nL]); - } - return contents; -}, "de_IpamPoolCidr"); -var de_IpamPoolCidrFailureReason = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_IpamPoolCidrFailureReason"); -var de_IpamPoolCidrSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamPoolCidr(entry, context); - }); -}, "de_IpamPoolCidrSet"); -var de_IpamPoolSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamPool(entry, context); - }); -}, "de_IpamPoolSet"); -var de_IpamPoolSourceResource = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_rR] != null) { - contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]); - } - if (output[_rO] != null) { - contents[_RO] = (0, import_smithy_client.expectString)(output[_rO]); - } - return contents; -}, "de_IpamPoolSourceResource"); -var de_IpamPublicAddressSecurityGroup = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - return contents; -}, "de_IpamPublicAddressSecurityGroup"); -var de_IpamPublicAddressSecurityGroupList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamPublicAddressSecurityGroup(entry, context); - }); -}, "de_IpamPublicAddressSecurityGroupList"); -var de_IpamPublicAddressTag = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_k] != null) { - contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]); - } - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - return contents; -}, "de_IpamPublicAddressTag"); -var de_IpamPublicAddressTagList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamPublicAddressTag(entry, context); - }); -}, "de_IpamPublicAddressTagList"); -var de_IpamPublicAddressTags = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.eipTagSet === "") { - contents[_ETi] = []; - } else if (output[_eTSi] != null && output[_eTSi][_i] != null) { - contents[_ETi] = de_IpamPublicAddressTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_eTSi][_i]), context); - } - return contents; -}, "de_IpamPublicAddressTags"); -var de_IpamResourceCidr = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIp] != null) { - contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]); - } - if (output[_iSIp] != null) { - contents[_ISI] = (0, import_smithy_client.expectString)(output[_iSIp]); - } - if (output[_iPIp] != null) { - contents[_IPI] = (0, import_smithy_client.expectString)(output[_iPIp]); - } - if (output[_rR] != null) { - contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]); - } - if (output[_rOI] != null) { - contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rNes] != null) { - contents[_RNes] = (0, import_smithy_client.expectString)(output[_rNes]); - } - if (output[_rCe] != null) { - contents[_RC] = (0, import_smithy_client.expectString)(output[_rCe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output.resourceTagSet === "") { - contents[_RTesou] = []; - } else if (output[_rTSe] != null && output[_rTSe][_i] != null) { - contents[_RTesou] = de_IpamResourceTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTSe][_i]), context); - } - if (output[_iU] != null) { - contents[_IUp] = (0, import_smithy_client.strictParseFloat)(output[_iU]); - } - if (output[_cSo] != null) { - contents[_CSo] = (0, import_smithy_client.expectString)(output[_cSo]); - } - if (output[_mSa] != null) { - contents[_MSa] = (0, import_smithy_client.expectString)(output[_mSa]); - } - if (output[_oSv] != null) { - contents[_OSv] = (0, import_smithy_client.expectString)(output[_oSv]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - return contents; -}, "de_IpamResourceCidr"); -var de_IpamResourceCidrSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamResourceCidr(entry, context); - }); -}, "de_IpamResourceCidrSet"); -var de_IpamResourceDiscovery = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_iRDI] != null) { - contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]); - } - if (output[_iRDAp] != null) { - contents[_IRDApa] = (0, import_smithy_client.expectString)(output[_iRDAp]); - } - if (output[_iRDR] != null) { - contents[_IRDR] = (0, import_smithy_client.expectString)(output[_iRDR]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.operatingRegionSet === "") { - contents[_OR] = []; - } else if (output[_oRS] != null && output[_oRS][_i] != null) { - contents[_OR] = de_IpamOperatingRegionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oRS][_i]), context); - } - if (output[_iDs] != null) { - contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_IpamResourceDiscovery"); -var de_IpamResourceDiscoveryAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_iRDAI] != null) { - contents[_IRDAIp] = (0, import_smithy_client.expectString)(output[_iRDAI]); - } - if (output[_iRDAA] != null) { - contents[_IRDAA] = (0, import_smithy_client.expectString)(output[_iRDAA]); - } - if (output[_iRDI] != null) { - contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]); - } - if (output[_iIp] != null) { - contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]); - } - if (output[_iApa] != null) { - contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]); - } - if (output[_iRp] != null) { - contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]); - } - if (output[_iDs] != null) { - contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]); - } - if (output[_rDS] != null) { - contents[_RDS] = (0, import_smithy_client.expectString)(output[_rDS]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_IpamResourceDiscoveryAssociation"); -var de_IpamResourceDiscoveryAssociationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamResourceDiscoveryAssociation(entry, context); - }); -}, "de_IpamResourceDiscoveryAssociationSet"); -var de_IpamResourceDiscoverySet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamResourceDiscovery(entry, context); - }); -}, "de_IpamResourceDiscoverySet"); -var de_IpamResourceTag = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_k] != null) { - contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]); - } - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - return contents; -}, "de_IpamResourceTag"); -var de_IpamResourceTagList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamResourceTag(entry, context); - }); -}, "de_IpamResourceTagList"); -var de_IpamScope = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_iSIp] != null) { - contents[_ISI] = (0, import_smithy_client.expectString)(output[_iSIp]); - } - if (output[_iSA] != null) { - contents[_ISA] = (0, import_smithy_client.expectString)(output[_iSA]); - } - if (output[_iApa] != null) { - contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]); - } - if (output[_iRp] != null) { - contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]); - } - if (output[_iST] != null) { - contents[_ISTp] = (0, import_smithy_client.expectString)(output[_iST]); - } - if (output[_iDs] != null) { - contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_pCo] != null) { - contents[_PCoo] = (0, import_smithy_client.strictParseInt32)(output[_pCo]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_IpamScope"); -var de_IpamScopeSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpamScope(entry, context); - }); -}, "de_IpamScopeSet"); -var de_IpamSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ipam(entry, context); - }); -}, "de_IpamSet"); -var de_IpPermission = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fP] != null) { - contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]); - } - if (output[_iPpr] != null) { - contents[_IPpr] = (0, import_smithy_client.expectString)(output[_iPpr]); - } - if (output.ipRanges === "") { - contents[_IRp] = []; - } else if (output[_iRpa] != null && output[_iRpa][_i] != null) { - contents[_IRp] = de_IpRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iRpa][_i]), context); - } - if (output.ipv6Ranges === "") { - contents[_IRpv] = []; - } else if (output[_iRpv] != null && output[_iRpv][_i] != null) { - contents[_IRpv] = de_Ipv6RangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iRpv][_i]), context); - } - if (output.prefixListIds === "") { - contents[_PLIr] = []; - } else if (output[_pLIr] != null && output[_pLIr][_i] != null) { - contents[_PLIr] = de_PrefixListIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_pLIr][_i]), context); - } - if (output[_tPo] != null) { - contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]); - } - if (output.groups === "") { - contents[_UIGP] = []; - } else if (output[_gr] != null && output[_gr][_i] != null) { - contents[_UIGP] = de_UserIdGroupPairList((0, import_smithy_client.getArrayIfSingleItem)(output[_gr][_i]), context); - } - return contents; -}, "de_IpPermission"); -var de_IpPermissionList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpPermission(entry, context); - }); -}, "de_IpPermissionList"); -var de_IpPrefixList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_IpPrefixList"); -var de_IpRange = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cIi] != null) { - contents[_CIi] = (0, import_smithy_client.expectString)(output[_cIi]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - return contents; -}, "de_IpRange"); -var de_IpRangeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_IpRange(entry, context); - }); -}, "de_IpRangeList"); -var de_IpRanges = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_IpRanges"); -var de_Ipv4PrefixesList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ipv4PrefixSpecification(entry, context); - }); -}, "de_Ipv4PrefixesList"); -var de_Ipv4PrefixList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ipv4PrefixSpecificationRequest(entry, context); - }); -}, "de_Ipv4PrefixList"); -var de_Ipv4PrefixListResponse = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ipv4PrefixSpecificationResponse(entry, context); - }); -}, "de_Ipv4PrefixListResponse"); -var de_Ipv4PrefixSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPpv] != null) { - contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_iPpv]); - } - return contents; -}, "de_Ipv4PrefixSpecification"); -var de_Ipv4PrefixSpecificationRequest = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_IPpvr] != null) { - contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_IPpvr]); - } - return contents; -}, "de_Ipv4PrefixSpecificationRequest"); -var de_Ipv4PrefixSpecificationResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPpv] != null) { - contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_iPpv]); - } - return contents; -}, "de_Ipv4PrefixSpecificationResponse"); -var de_Ipv6AddressList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_Ipv6AddressList"); -var de_Ipv6CidrAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iCp] != null) { - contents[_ICp] = (0, import_smithy_client.expectString)(output[_iCp]); - } - if (output[_aRs] != null) { - contents[_ARs] = (0, import_smithy_client.expectString)(output[_aRs]); - } - return contents; -}, "de_Ipv6CidrAssociation"); -var de_Ipv6CidrAssociationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ipv6CidrAssociation(entry, context); - }); -}, "de_Ipv6CidrAssociationSet"); -var de_Ipv6CidrBlock = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iCB] != null) { - contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]); - } - return contents; -}, "de_Ipv6CidrBlock"); -var de_Ipv6CidrBlockSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ipv6CidrBlock(entry, context); - }); -}, "de_Ipv6CidrBlockSet"); -var de_Ipv6Pool = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pIo] != null) { - contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.poolCidrBlockSet === "") { - contents[_PCBo] = []; - } else if (output[_pCBS] != null && output[_pCBS][_i] != null) { - contents[_PCBo] = de_PoolCidrBlocksSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pCBS][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_Ipv6Pool"); -var de_Ipv6PoolSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ipv6Pool(entry, context); - }); -}, "de_Ipv6PoolSet"); -var de_Ipv6PrefixesList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ipv6PrefixSpecification(entry, context); - }); -}, "de_Ipv6PrefixesList"); -var de_Ipv6PrefixList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ipv6PrefixSpecificationRequest(entry, context); - }); -}, "de_Ipv6PrefixList"); -var de_Ipv6PrefixListResponse = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ipv6PrefixSpecificationResponse(entry, context); - }); -}, "de_Ipv6PrefixListResponse"); -var de_Ipv6PrefixSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPpvr] != null) { - contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_iPpvr]); - } - return contents; -}, "de_Ipv6PrefixSpecification"); -var de_Ipv6PrefixSpecificationRequest = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_IPpvre] != null) { - contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_IPpvre]); - } - return contents; -}, "de_Ipv6PrefixSpecificationRequest"); -var de_Ipv6PrefixSpecificationResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPpvr] != null) { - contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_iPpvr]); - } - return contents; -}, "de_Ipv6PrefixSpecificationResponse"); -var de_Ipv6Range = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cIid] != null) { - contents[_CIid] = (0, import_smithy_client.expectString)(output[_cIid]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - return contents; -}, "de_Ipv6Range"); -var de_Ipv6RangeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Ipv6Range(entry, context); - }); -}, "de_Ipv6RangeList"); -var de_KeyPair = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_kF] != null) { - contents[_KFe] = (0, import_smithy_client.expectString)(output[_kF]); - } - if (output[_kM] != null) { - contents[_KM] = (0, import_smithy_client.expectString)(output[_kM]); - } - if (output[_kN] != null) { - contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); - } - if (output[_kPI] != null) { - contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_KeyPair"); -var de_KeyPairInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_kPI] != null) { - contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]); - } - if (output[_kF] != null) { - contents[_KFe] = (0, import_smithy_client.expectString)(output[_kF]); - } - if (output[_kN] != null) { - contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); - } - if (output[_kT] != null) { - contents[_KT] = (0, import_smithy_client.expectString)(output[_kT]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_pK] != null) { - contents[_PK] = (0, import_smithy_client.expectString)(output[_pK]); - } - if (output[_cTr] != null) { - contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); - } - return contents; -}, "de_KeyPairInfo"); -var de_KeyPairList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_KeyPairInfo(entry, context); - }); -}, "de_KeyPairList"); -var de_LastError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - return contents; -}, "de_LastError"); -var de_LaunchPermission = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_g] != null) { - contents[_Gr] = (0, import_smithy_client.expectString)(output[_g]); - } - if (output[_uI] != null) { - contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]); - } - if (output[_oAr] != null) { - contents[_OAr] = (0, import_smithy_client.expectString)(output[_oAr]); - } - if (output[_oUA] != null) { - contents[_OUA] = (0, import_smithy_client.expectString)(output[_oUA]); - } - return contents; -}, "de_LaunchPermission"); -var de_LaunchPermissionList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LaunchPermission(entry, context); - }); -}, "de_LaunchPermissionList"); -var de_LaunchSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_uDs] != null) { - contents[_UD] = (0, import_smithy_client.expectString)(output[_uDs]); - } - if (output.groupSet === "") { - contents[_SG] = []; - } else if (output[_gS] != null && output[_gS][_i] != null) { - contents[_SG] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); - } - if (output[_aTdd] != null) { - contents[_ATd] = (0, import_smithy_client.expectString)(output[_aTdd]); - } - if (output.blockDeviceMapping === "") { - contents[_BDM] = []; - } else if (output[_bDM] != null && output[_bDM][_i] != null) { - contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); - } - if (output[_eO] != null) { - contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); - } - if (output[_iIP] != null) { - contents[_IIP] = de_IamInstanceProfileSpecification(output[_iIP], context); - } - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_kI] != null) { - contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); - } - if (output[_kN] != null) { - contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); - } - if (output.networkInterfaceSet === "") { - contents[_NI] = []; - } else if (output[_nIS] != null && output[_nIS][_i] != null) { - contents[_NI] = de_InstanceNetworkInterfaceSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context); - } - if (output[_pla] != null) { - contents[_Pl] = de_SpotPlacement(output[_pla], context); - } - if (output[_rIa] != null) { - contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_mo] != null) { - contents[_Mon] = de_RunInstancesMonitoringEnabled(output[_mo], context); - } - return contents; -}, "de_LaunchSpecification"); -var de_LaunchSpecsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_SpotFleetLaunchSpecification(entry, context); - }); -}, "de_LaunchSpecsList"); -var de_LaunchTemplate = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTI] != null) { - contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); - } - if (output[_lTN] != null) { - contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); - } - if (output[_cTr] != null) { - contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); - } - if (output[_cBr] != null) { - contents[_CBr] = (0, import_smithy_client.expectString)(output[_cBr]); - } - if (output[_dVN] != null) { - contents[_DVN] = (0, import_smithy_client.strictParseLong)(output[_dVN]); - } - if (output[_lVN] != null) { - contents[_LVN] = (0, import_smithy_client.strictParseLong)(output[_lVN]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_LaunchTemplate"); -var de_LaunchTemplateAndOverridesResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTS] != null) { - contents[_LTS] = de_FleetLaunchTemplateSpecification(output[_lTS], context); - } - if (output[_ov] != null) { - contents[_Ov] = de_FleetLaunchTemplateOverrides(output[_ov], context); - } - return contents; -}, "de_LaunchTemplateAndOverridesResponse"); -var de_LaunchTemplateBlockDeviceMapping = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dN] != null) { - contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]); - } - if (output[_vN] != null) { - contents[_VN] = (0, import_smithy_client.expectString)(output[_vN]); - } - if (output[_eb] != null) { - contents[_E] = de_LaunchTemplateEbsBlockDevice(output[_eb], context); - } - if (output[_nD] != null) { - contents[_ND] = (0, import_smithy_client.expectString)(output[_nD]); - } - return contents; -}, "de_LaunchTemplateBlockDeviceMapping"); -var de_LaunchTemplateBlockDeviceMappingList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LaunchTemplateBlockDeviceMapping(entry, context); - }); -}, "de_LaunchTemplateBlockDeviceMappingList"); -var de_LaunchTemplateCapacityReservationSpecificationResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cRP] != null) { - contents[_CRP] = (0, import_smithy_client.expectString)(output[_cRP]); - } - if (output[_cRT] != null) { - contents[_CRTa] = de_CapacityReservationTargetResponse(output[_cRT], context); - } - return contents; -}, "de_LaunchTemplateCapacityReservationSpecificationResponse"); -var de_LaunchTemplateConfig = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTS] != null) { - contents[_LTS] = de_FleetLaunchTemplateSpecification(output[_lTS], context); - } - if (output.overrides === "") { - contents[_Ov] = []; - } else if (output[_ov] != null && output[_ov][_i] != null) { - contents[_Ov] = de_LaunchTemplateOverridesList((0, import_smithy_client.getArrayIfSingleItem)(output[_ov][_i]), context); - } - return contents; -}, "de_LaunchTemplateConfig"); -var de_LaunchTemplateConfigList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LaunchTemplateConfig(entry, context); - }); -}, "de_LaunchTemplateConfigList"); -var de_LaunchTemplateCpuOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cCo] != null) { - contents[_CC] = (0, import_smithy_client.strictParseInt32)(output[_cCo]); - } - if (output[_tPC] != null) { - contents[_TPC] = (0, import_smithy_client.strictParseInt32)(output[_tPC]); - } - if (output[_aSS] != null) { - contents[_ASS] = (0, import_smithy_client.expectString)(output[_aSS]); - } - return contents; -}, "de_LaunchTemplateCpuOptions"); -var de_LaunchTemplateEbsBlockDevice = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_enc] != null) { - contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); - } - if (output[_dOT] != null) { - contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); - } - if (output[_io] != null) { - contents[_Io] = (0, import_smithy_client.strictParseInt32)(output[_io]); - } - if (output[_kKI] != null) { - contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); - } - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_vSo] != null) { - contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]); - } - if (output[_vT] != null) { - contents[_VT] = (0, import_smithy_client.expectString)(output[_vT]); - } - if (output[_th] != null) { - contents[_Th] = (0, import_smithy_client.strictParseInt32)(output[_th]); - } - return contents; -}, "de_LaunchTemplateEbsBlockDevice"); -var de_LaunchTemplateElasticInferenceAcceleratorResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - if (output[_cou] != null) { - contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); - } - return contents; -}, "de_LaunchTemplateElasticInferenceAcceleratorResponse"); -var de_LaunchTemplateElasticInferenceAcceleratorResponseList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LaunchTemplateElasticInferenceAcceleratorResponse(entry, context); - }); -}, "de_LaunchTemplateElasticInferenceAcceleratorResponseList"); -var de_LaunchTemplateEnaSrdSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eSE] != null) { - contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_eSE]); - } - if (output[_eSUS] != null) { - contents[_ESUS] = de_LaunchTemplateEnaSrdUdpSpecification(output[_eSUS], context); - } - return contents; -}, "de_LaunchTemplateEnaSrdSpecification"); -var de_LaunchTemplateEnaSrdUdpSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eSUE] != null) { - contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_eSUE]); - } - return contents; -}, "de_LaunchTemplateEnaSrdUdpSpecification"); -var de_LaunchTemplateEnclaveOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_en] != null) { - contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); - } - return contents; -}, "de_LaunchTemplateEnclaveOptions"); -var de_LaunchTemplateHibernationOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_conf] != null) { - contents[_Conf] = (0, import_smithy_client.parseBoolean)(output[_conf]); - } - return contents; -}, "de_LaunchTemplateHibernationOptions"); -var de_LaunchTemplateIamInstanceProfileSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ar] != null) { - contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - return contents; -}, "de_LaunchTemplateIamInstanceProfileSpecification"); -var de_LaunchTemplateInstanceMaintenanceOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aRu] != null) { - contents[_ARu] = (0, import_smithy_client.expectString)(output[_aRu]); - } - return contents; -}, "de_LaunchTemplateInstanceMaintenanceOptions"); -var de_LaunchTemplateInstanceMarketOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_mT] != null) { - contents[_MT] = (0, import_smithy_client.expectString)(output[_mT]); - } - if (output[_sO] != null) { - contents[_SO] = de_LaunchTemplateSpotMarketOptions(output[_sO], context); - } - return contents; -}, "de_LaunchTemplateInstanceMarketOptions"); -var de_LaunchTemplateInstanceMetadataOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_hT] != null) { - contents[_HT] = (0, import_smithy_client.expectString)(output[_hT]); - } - if (output[_hPRHL] != null) { - contents[_HPRHL] = (0, import_smithy_client.strictParseInt32)(output[_hPRHL]); - } - if (output[_hE] != null) { - contents[_HE] = (0, import_smithy_client.expectString)(output[_hE]); - } - if (output[_hPI] != null) { - contents[_HPI] = (0, import_smithy_client.expectString)(output[_hPI]); - } - if (output[_iMT] != null) { - contents[_IMT] = (0, import_smithy_client.expectString)(output[_iMT]); - } - return contents; -}, "de_LaunchTemplateInstanceMetadataOptions"); -var de_LaunchTemplateInstanceNetworkInterfaceSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aCIA] != null) { - contents[_ACIA] = (0, import_smithy_client.parseBoolean)(output[_aCIA]); - } - if (output[_aPIA] != null) { - contents[_APIAs] = (0, import_smithy_client.parseBoolean)(output[_aPIA]); - } - if (output[_dOT] != null) { - contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_dIe] != null) { - contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]); - } - if (output.groupSet === "") { - contents[_G] = []; - } else if (output[_gS] != null && output[_gS][_gIr] != null) { - contents[_G] = de_GroupIdStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_gIr]), context); - } - if (output[_iTnt] != null) { - contents[_ITn] = (0, import_smithy_client.expectString)(output[_iTnt]); - } - if (output[_iAC] != null) { - contents[_IAC] = (0, import_smithy_client.strictParseInt32)(output[_iAC]); - } - if (output.ipv6AddressesSet === "") { - contents[_IA] = []; - } else if (output[_iASp] != null && output[_iASp][_i] != null) { - contents[_IA] = de_InstanceIpv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_pIA] != null) { - contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); - } - if (output.privateIpAddressesSet === "") { - contents[_PIA] = []; - } else if (output[_pIAS] != null && output[_pIAS][_i] != null) { - contents[_PIA] = de_PrivateIpAddressSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context); - } - if (output[_sPIAC] != null) { - contents[_SPIAC] = (0, import_smithy_client.strictParseInt32)(output[_sPIAC]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_nCI] != null) { - contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]); - } - if (output.ipv4PrefixSet === "") { - contents[_IPp] = []; - } else if (output[_iPSpv] != null && output[_iPSpv][_i] != null) { - contents[_IPp] = de_Ipv4PrefixListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpv][_i]), context); - } - if (output[_iPCp] != null) { - contents[_IPCp] = (0, import_smithy_client.strictParseInt32)(output[_iPCp]); - } - if (output.ipv6PrefixSet === "") { - contents[_IP] = []; - } else if (output[_iPSpvr] != null && output[_iPSpvr][_i] != null) { - contents[_IP] = de_Ipv6PrefixListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpvr][_i]), context); - } - if (output[_iPCpv] != null) { - contents[_IPC] = (0, import_smithy_client.strictParseInt32)(output[_iPCpv]); - } - if (output[_pIri] != null) { - contents[_PIr] = (0, import_smithy_client.parseBoolean)(output[_pIri]); - } - if (output[_eSS] != null) { - contents[_ESS] = de_LaunchTemplateEnaSrdSpecification(output[_eSS], context); - } - if (output[_cTS] != null) { - contents[_CTS] = de_ConnectionTrackingSpecification(output[_cTS], context); - } - return contents; -}, "de_LaunchTemplateInstanceNetworkInterfaceSpecification"); -var de_LaunchTemplateInstanceNetworkInterfaceSpecificationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LaunchTemplateInstanceNetworkInterfaceSpecification(entry, context); - }); -}, "de_LaunchTemplateInstanceNetworkInterfaceSpecificationList"); -var de_LaunchTemplateLicenseConfiguration = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lCA] != null) { - contents[_LCA] = (0, import_smithy_client.expectString)(output[_lCA]); - } - return contents; -}, "de_LaunchTemplateLicenseConfiguration"); -var de_LaunchTemplateLicenseList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LaunchTemplateLicenseConfiguration(entry, context); - }); -}, "de_LaunchTemplateLicenseList"); -var de_LaunchTemplateOverrides = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_sPp] != null) { - contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_wC] != null) { - contents[_WC] = (0, import_smithy_client.strictParseFloat)(output[_wC]); - } - if (output[_pri] != null) { - contents[_Pri] = (0, import_smithy_client.strictParseFloat)(output[_pri]); - } - if (output[_iR] != null) { - contents[_IR] = de_InstanceRequirements(output[_iR], context); - } - return contents; -}, "de_LaunchTemplateOverrides"); -var de_LaunchTemplateOverridesList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LaunchTemplateOverrides(entry, context); - }); -}, "de_LaunchTemplateOverridesList"); -var de_LaunchTemplatePlacement = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_af] != null) { - contents[_Af] = (0, import_smithy_client.expectString)(output[_af]); - } - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - if (output[_hI] != null) { - contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]); - } - if (output[_t] != null) { - contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); - } - if (output[_sDp] != null) { - contents[_SD] = (0, import_smithy_client.expectString)(output[_sDp]); - } - if (output[_hRGA] != null) { - contents[_HRGA] = (0, import_smithy_client.expectString)(output[_hRGA]); - } - if (output[_pN] != null) { - contents[_PN] = (0, import_smithy_client.strictParseInt32)(output[_pN]); - } - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - return contents; -}, "de_LaunchTemplatePlacement"); -var de_LaunchTemplatePrivateDnsNameOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_hTo] != null) { - contents[_HTo] = (0, import_smithy_client.expectString)(output[_hTo]); - } - if (output[_eRNDAR] != null) { - contents[_ERNDAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAR]); - } - if (output[_eRNDAAAAR] != null) { - contents[_ERNDAAAAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAAAAR]); - } - return contents; -}, "de_LaunchTemplatePrivateDnsNameOptions"); -var de_LaunchTemplateSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LaunchTemplate(entry, context); - }); -}, "de_LaunchTemplateSet"); -var de_LaunchTemplatesMonitoring = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_en] != null) { - contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); - } - return contents; -}, "de_LaunchTemplatesMonitoring"); -var de_LaunchTemplateSpotMarketOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_mP] != null) { - contents[_MPa] = (0, import_smithy_client.expectString)(output[_mP]); - } - if (output[_sIT] != null) { - contents[_SIT] = (0, import_smithy_client.expectString)(output[_sIT]); - } - if (output[_bDMl] != null) { - contents[_BDMl] = (0, import_smithy_client.strictParseInt32)(output[_bDMl]); - } - if (output[_vU] != null) { - contents[_VU] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vU])); - } - if (output[_iIB] != null) { - contents[_IIB] = (0, import_smithy_client.expectString)(output[_iIB]); - } - return contents; -}, "de_LaunchTemplateSpotMarketOptions"); -var de_LaunchTemplateTagSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_LaunchTemplateTagSpecification"); -var de_LaunchTemplateTagSpecificationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LaunchTemplateTagSpecification(entry, context); - }); -}, "de_LaunchTemplateTagSpecificationList"); -var de_LaunchTemplateVersion = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lTI] != null) { - contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); - } - if (output[_lTN] != null) { - contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); - } - if (output[_vNe] != null) { - contents[_VNe] = (0, import_smithy_client.strictParseLong)(output[_vNe]); - } - if (output[_vD] != null) { - contents[_VD] = (0, import_smithy_client.expectString)(output[_vD]); - } - if (output[_cTr] != null) { - contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); - } - if (output[_cBr] != null) { - contents[_CBr] = (0, import_smithy_client.expectString)(output[_cBr]); - } - if (output[_dVe] != null) { - contents[_DVef] = (0, import_smithy_client.parseBoolean)(output[_dVe]); - } - if (output[_lTD] != null) { - contents[_LTD] = de_ResponseLaunchTemplateData(output[_lTD], context); - } - return contents; -}, "de_LaunchTemplateVersion"); -var de_LaunchTemplateVersionSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LaunchTemplateVersion(entry, context); - }); -}, "de_LaunchTemplateVersionSet"); -var de_LicenseConfiguration = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lCA] != null) { - contents[_LCA] = (0, import_smithy_client.expectString)(output[_lCA]); - } - return contents; -}, "de_LicenseConfiguration"); -var de_LicenseList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LicenseConfiguration(entry, context); - }); -}, "de_LicenseList"); -var de_ListImagesInRecycleBinResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.imageSet === "") { - contents[_Ima] = []; - } else if (output[_iSmag] != null && output[_iSmag][_i] != null) { - contents[_Ima] = de_ImageRecycleBinInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSmag][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_ListImagesInRecycleBinResult"); -var de_ListSnapshotsInRecycleBinResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.snapshotSet === "") { - contents[_Sn] = []; - } else if (output[_sS] != null && output[_sS][_i] != null) { - contents[_Sn] = de_SnapshotRecycleBinInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_ListSnapshotsInRecycleBinResult"); -var de_LoadBalancersConfig = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cLBC] != null) { - contents[_CLBC] = de_ClassicLoadBalancersConfig(output[_cLBC], context); - } - if (output[_tGCa] != null) { - contents[_TGC] = de_TargetGroupsConfig(output[_tGCa], context); - } - return contents; -}, "de_LoadBalancersConfig"); -var de_LoadPermission = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_uI] != null) { - contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]); - } - if (output[_g] != null) { - contents[_Gr] = (0, import_smithy_client.expectString)(output[_g]); - } - return contents; -}, "de_LoadPermission"); -var de_LoadPermissionList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LoadPermission(entry, context); - }); -}, "de_LoadPermissionList"); -var de_LocalGateway = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGI] != null) { - contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); - } - if (output[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_LocalGateway"); -var de_LocalGatewayRoute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dCB] != null) { - contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); - } - if (output[_lGVIGI] != null) { - contents[_LGVIGI] = (0, import_smithy_client.expectString)(output[_lGVIGI]); - } - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_lGRTI] != null) { - contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); - } - if (output[_lGRTA] != null) { - contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_cPI] != null) { - contents[_CPIo] = (0, import_smithy_client.expectString)(output[_cPI]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_dPLI] != null) { - contents[_DPLI] = (0, import_smithy_client.expectString)(output[_dPLI]); - } - return contents; -}, "de_LocalGatewayRoute"); -var de_LocalGatewayRouteList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LocalGatewayRoute(entry, context); - }); -}, "de_LocalGatewayRouteList"); -var de_LocalGatewayRouteTable = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGRTI] != null) { - contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); - } - if (output[_lGRTA] != null) { - contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]); - } - if (output[_lGI] != null) { - contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); - } - if (output[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_mod] != null) { - contents[_Mo] = (0, import_smithy_client.expectString)(output[_mod]); - } - if (output[_sR] != null) { - contents[_SRt] = de_StateReason(output[_sR], context); - } - return contents; -}, "de_LocalGatewayRouteTable"); -var de_LocalGatewayRouteTableSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LocalGatewayRouteTable(entry, context); - }); -}, "de_LocalGatewayRouteTableSet"); -var de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGRTVIGAI] != null) { - contents[_LGRTVIGAI] = (0, import_smithy_client.expectString)(output[_lGRTVIGAI]); - } - if (output[_lGVIGI] != null) { - contents[_LGVIGI] = (0, import_smithy_client.expectString)(output[_lGVIGI]); - } - if (output[_lGI] != null) { - contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); - } - if (output[_lGRTI] != null) { - contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); - } - if (output[_lGRTA] != null) { - contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation"); -var de_LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation(entry, context); - }); -}, "de_LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet"); -var de_LocalGatewayRouteTableVpcAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGRTVAI] != null) { - contents[_LGRTVAI] = (0, import_smithy_client.expectString)(output[_lGRTVAI]); - } - if (output[_lGRTI] != null) { - contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); - } - if (output[_lGRTA] != null) { - contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]); - } - if (output[_lGI] != null) { - contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_LocalGatewayRouteTableVpcAssociation"); -var de_LocalGatewayRouteTableVpcAssociationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LocalGatewayRouteTableVpcAssociation(entry, context); - }); -}, "de_LocalGatewayRouteTableVpcAssociationSet"); -var de_LocalGatewaySet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LocalGateway(entry, context); - }); -}, "de_LocalGatewaySet"); -var de_LocalGatewayVirtualInterface = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGVII] != null) { - contents[_LGVIIo] = (0, import_smithy_client.expectString)(output[_lGVII]); - } - if (output[_lGI] != null) { - contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); - } - if (output[_vl] != null) { - contents[_Vl] = (0, import_smithy_client.strictParseInt32)(output[_vl]); - } - if (output[_lA] != null) { - contents[_LA] = (0, import_smithy_client.expectString)(output[_lA]); - } - if (output[_pAe] != null) { - contents[_PAe] = (0, import_smithy_client.expectString)(output[_pAe]); - } - if (output[_lBAo] != null) { - contents[_LBAo] = (0, import_smithy_client.strictParseInt32)(output[_lBAo]); - } - if (output[_pBA] != null) { - contents[_PBA] = (0, import_smithy_client.strictParseInt32)(output[_pBA]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_LocalGatewayVirtualInterface"); -var de_LocalGatewayVirtualInterfaceGroup = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lGVIGI] != null) { - contents[_LGVIGI] = (0, import_smithy_client.expectString)(output[_lGVIGI]); - } - if (output.localGatewayVirtualInterfaceIdSet === "") { - contents[_LGVII] = []; - } else if (output[_lGVIIS] != null && output[_lGVIIS][_i] != null) { - contents[_LGVII] = de_LocalGatewayVirtualInterfaceIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGVIIS][_i]), context); - } - if (output[_lGI] != null) { - contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_LocalGatewayVirtualInterfaceGroup"); -var de_LocalGatewayVirtualInterfaceGroupSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LocalGatewayVirtualInterfaceGroup(entry, context); - }); -}, "de_LocalGatewayVirtualInterfaceGroupSet"); -var de_LocalGatewayVirtualInterfaceIdSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_LocalGatewayVirtualInterfaceIdSet"); -var de_LocalGatewayVirtualInterfaceSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LocalGatewayVirtualInterface(entry, context); - }); -}, "de_LocalGatewayVirtualInterfaceSet"); -var de_LocalStorageTypeSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_LocalStorageTypeSet"); -var de_LockedSnapshotsInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_lSoc] != null) { - contents[_LSoc] = (0, import_smithy_client.expectString)(output[_lSoc]); - } - if (output[_lDo] != null) { - contents[_LDo] = (0, import_smithy_client.strictParseInt32)(output[_lDo]); - } - if (output[_cOP] != null) { - contents[_COP] = (0, import_smithy_client.strictParseInt32)(output[_cOP]); - } - if (output[_cOPEO] != null) { - contents[_COPEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cOPEO])); - } - if (output[_lCO] != null) { - contents[_LCO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lCO])); - } - if (output[_lDST] != null) { - contents[_LDST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lDST])); - } - if (output[_lEO] != null) { - contents[_LEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lEO])); - } - return contents; -}, "de_LockedSnapshotsInfo"); -var de_LockedSnapshotsInfoList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_LockedSnapshotsInfo(entry, context); - }); -}, "de_LockedSnapshotsInfoList"); -var de_LockSnapshotResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_lSoc] != null) { - contents[_LSoc] = (0, import_smithy_client.expectString)(output[_lSoc]); - } - if (output[_lDo] != null) { - contents[_LDo] = (0, import_smithy_client.strictParseInt32)(output[_lDo]); - } - if (output[_cOP] != null) { - contents[_COP] = (0, import_smithy_client.strictParseInt32)(output[_cOP]); - } - if (output[_cOPEO] != null) { - contents[_COPEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cOPEO])); - } - if (output[_lCO] != null) { - contents[_LCO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lCO])); - } - if (output[_lEO] != null) { - contents[_LEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lEO])); - } - if (output[_lDST] != null) { - contents[_LDST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lDST])); - } - return contents; -}, "de_LockSnapshotResult"); -var de_MacHost = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_hI] != null) { - contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]); - } - if (output.macOSLatestSupportedVersionSet === "") { - contents[_MOSLSV] = []; - } else if (output[_mOSLSVS] != null && output[_mOSLSVS][_i] != null) { - contents[_MOSLSV] = de_MacOSVersionStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_mOSLSVS][_i]), context); - } - return contents; -}, "de_MacHost"); -var de_MacHostList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_MacHost(entry, context); - }); -}, "de_MacHostList"); -var de_MacOSVersionStringList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_MacOSVersionStringList"); -var de_MaintenanceDetails = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pM] != null) { - contents[_PM] = (0, import_smithy_client.expectString)(output[_pM]); - } - if (output[_mAAA] != null) { - contents[_MAAA] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_mAAA])); - } - if (output[_lMA] != null) { - contents[_LMA] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lMA])); - } - return contents; -}, "de_MaintenanceDetails"); -var de_ManagedPrefixList = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pLI] != null) { - contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); - } - if (output[_aF] != null) { - contents[_AF] = (0, import_smithy_client.expectString)(output[_aF]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sMt] != null) { - contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]); - } - if (output[_pLA] != null) { - contents[_PLAr] = (0, import_smithy_client.expectString)(output[_pLA]); - } - if (output[_pLN] != null) { - contents[_PLN] = (0, import_smithy_client.expectString)(output[_pLN]); - } - if (output[_mE] != null) { - contents[_ME] = (0, import_smithy_client.strictParseInt32)(output[_mE]); - } - if (output[_ve] != null) { - contents[_V] = (0, import_smithy_client.strictParseLong)(output[_ve]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - return contents; -}, "de_ManagedPrefixList"); -var de_ManagedPrefixListSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ManagedPrefixList(entry, context); - }); -}, "de_ManagedPrefixListSet"); -var de_MediaAcceleratorInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.accelerators === "") { - contents[_Acc] = []; - } else if (output[_acc] != null && output[_acc][_i] != null) { - contents[_Acc] = de_MediaDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_acc][_i]), context); - } - if (output[_tMMIMB] != null) { - contents[_TMMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tMMIMB]); - } - return contents; -}, "de_MediaAcceleratorInfo"); -var de_MediaDeviceInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cou] != null) { - contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_man] != null) { - contents[_Man] = (0, import_smithy_client.expectString)(output[_man]); - } - if (output[_mIe] != null) { - contents[_MIe] = de_MediaDeviceMemoryInfo(output[_mIe], context); - } - return contents; -}, "de_MediaDeviceInfo"); -var de_MediaDeviceInfoList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_MediaDeviceInfo(entry, context); - }); -}, "de_MediaDeviceInfoList"); -var de_MediaDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIMB] != null) { - contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]); - } - return contents; -}, "de_MediaDeviceMemoryInfo"); -var de_MemoryGiBPerVCpu = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_m] != null) { - contents[_M] = (0, import_smithy_client.strictParseFloat)(output[_m]); - } - if (output[_ma] != null) { - contents[_Ma] = (0, import_smithy_client.strictParseFloat)(output[_ma]); - } - return contents; -}, "de_MemoryGiBPerVCpu"); -var de_MemoryInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIMB] != null) { - contents[_SIMB] = (0, import_smithy_client.strictParseLong)(output[_sIMB]); - } - return contents; -}, "de_MemoryInfo"); -var de_MemoryMiB = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_m] != null) { - contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); - } - if (output[_ma] != null) { - contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); - } - return contents; -}, "de_MemoryMiB"); -var de_MetricPoint = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sD] != null) { - contents[_SDt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD])); - } - if (output[_eD] != null) { - contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); - } - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.strictParseFloat)(output[_v]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - return contents; -}, "de_MetricPoint"); -var de_MetricPoints = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_MetricPoint(entry, context); - }); -}, "de_MetricPoints"); -var de_ModifyAddressAttributeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ad] != null) { - contents[_Ad] = de_AddressAttribute(output[_ad], context); - } - return contents; -}, "de_ModifyAddressAttributeResult"); -var de_ModifyAvailabilityZoneGroupResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyAvailabilityZoneGroupResult"); -var de_ModifyCapacityReservationFleetResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyCapacityReservationFleetResult"); -var de_ModifyCapacityReservationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyCapacityReservationResult"); -var de_ModifyClientVpnEndpointResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyClientVpnEndpointResult"); -var de_ModifyDefaultCreditSpecificationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iFCS] != null) { - contents[_IFCS] = de_InstanceFamilyCreditSpecification(output[_iFCS], context); - } - return contents; -}, "de_ModifyDefaultCreditSpecificationResult"); -var de_ModifyEbsDefaultKmsKeyIdResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_kKI] != null) { - contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); - } - return contents; -}, "de_ModifyEbsDefaultKmsKeyIdResult"); -var de_ModifyFleetResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyFleetResult"); -var de_ModifyFpgaImageAttributeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fIA] != null) { - contents[_FIAp] = de_FpgaImageAttribute(output[_fIA], context); - } - return contents; -}, "de_ModifyFpgaImageAttributeResult"); -var de_ModifyHostsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.successful === "") { - contents[_Suc] = []; - } else if (output[_suc] != null && output[_suc][_i] != null) { - contents[_Suc] = de_ResponseHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context); - } - if (output.unsuccessful === "") { - contents[_Un] = []; - } else if (output[_u] != null && output[_u][_i] != null) { - contents[_Un] = de_UnsuccessfulItemList((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); - } - return contents; -}, "de_ModifyHostsResult"); -var de_ModifyInstanceCapacityReservationAttributesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyInstanceCapacityReservationAttributesResult"); -var de_ModifyInstanceCreditSpecificationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.successfulInstanceCreditSpecificationSet === "") { - contents[_SICS] = []; - } else if (output[_sICSS] != null && output[_sICSS][_i] != null) { - contents[_SICS] = de_SuccessfulInstanceCreditSpecificationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sICSS][_i]), context); - } - if (output.unsuccessfulInstanceCreditSpecificationSet === "") { - contents[_UICS] = []; - } else if (output[_uICSS] != null && output[_uICSS][_i] != null) { - contents[_UICS] = de_UnsuccessfulInstanceCreditSpecificationSet( - (0, import_smithy_client.getArrayIfSingleItem)(output[_uICSS][_i]), - context - ); - } - return contents; -}, "de_ModifyInstanceCreditSpecificationResult"); -var de_ModifyInstanceEventStartTimeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ev] != null) { - contents[_Eve] = de_InstanceStatusEvent(output[_ev], context); - } - return contents; -}, "de_ModifyInstanceEventStartTimeResult"); -var de_ModifyInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iEW] != null) { - contents[_IEW] = de_InstanceEventWindow(output[_iEW], context); - } - return contents; -}, "de_ModifyInstanceEventWindowResult"); -var de_ModifyInstanceMaintenanceOptionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_aRu] != null) { - contents[_ARu] = (0, import_smithy_client.expectString)(output[_aRu]); - } - return contents; -}, "de_ModifyInstanceMaintenanceOptionsResult"); -var de_ModifyInstanceMetadataDefaultsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyInstanceMetadataDefaultsResult"); -var de_ModifyInstanceMetadataOptionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_iMO] != null) { - contents[_IMOn] = de_InstanceMetadataOptionsResponse(output[_iMO], context); - } - return contents; -}, "de_ModifyInstanceMetadataOptionsResult"); -var de_ModifyInstancePlacementResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyInstancePlacementResult"); -var de_ModifyIpamPoolResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPp] != null) { - contents[_IPpa] = de_IpamPool(output[_iPp], context); - } - return contents; -}, "de_ModifyIpamPoolResult"); -var de_ModifyIpamResourceCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iRC] != null) { - contents[_IRCp] = de_IpamResourceCidr(output[_iRC], context); - } - return contents; -}, "de_ModifyIpamResourceCidrResult"); -var de_ModifyIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iRD] != null) { - contents[_IRD] = de_IpamResourceDiscovery(output[_iRD], context); - } - return contents; -}, "de_ModifyIpamResourceDiscoveryResult"); -var de_ModifyIpamResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ip] != null) { - contents[_Ipa] = de_Ipam(output[_ip], context); - } - return contents; -}, "de_ModifyIpamResult"); -var de_ModifyIpamScopeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iS] != null) { - contents[_ISpa] = de_IpamScope(output[_iS], context); - } - return contents; -}, "de_ModifyIpamScopeResult"); -var de_ModifyLaunchTemplateResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lT] != null) { - contents[_LTa] = de_LaunchTemplate(output[_lT], context); - } - return contents; -}, "de_ModifyLaunchTemplateResult"); -var de_ModifyLocalGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ro] != null) { - contents[_Ro] = de_LocalGatewayRoute(output[_ro], context); - } - return contents; -}, "de_ModifyLocalGatewayRouteResult"); -var de_ModifyManagedPrefixListResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pL] != null) { - contents[_PLr] = de_ManagedPrefixList(output[_pL], context); - } - return contents; -}, "de_ModifyManagedPrefixListResult"); -var de_ModifyPrivateDnsNameOptionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyPrivateDnsNameOptionsResult"); -var de_ModifyReservedInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rIMI] != null) { - contents[_RIMIe] = (0, import_smithy_client.expectString)(output[_rIMI]); - } - return contents; -}, "de_ModifyReservedInstancesResult"); -var de_ModifySecurityGroupRulesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifySecurityGroupRulesResult"); -var de_ModifySnapshotTierResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_tST] != null) { - contents[_TST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tST])); - } - return contents; -}, "de_ModifySnapshotTierResult"); -var de_ModifySpotFleetRequestResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifySpotFleetRequestResponse"); -var de_ModifyTrafficMirrorFilterNetworkServicesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMF] != null) { - contents[_TMF] = de_TrafficMirrorFilter(output[_tMF], context); - } - return contents; -}, "de_ModifyTrafficMirrorFilterNetworkServicesResult"); -var de_ModifyTrafficMirrorFilterRuleResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMFR] != null) { - contents[_TMFR] = de_TrafficMirrorFilterRule(output[_tMFR], context); - } - return contents; -}, "de_ModifyTrafficMirrorFilterRuleResult"); -var de_ModifyTrafficMirrorSessionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMS] != null) { - contents[_TMS] = de_TrafficMirrorSession(output[_tMS], context); - } - return contents; -}, "de_ModifyTrafficMirrorSessionResult"); -var de_ModifyTransitGatewayPrefixListReferenceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGPLR] != null) { - contents[_TGPLR] = de_TransitGatewayPrefixListReference(output[_tGPLR], context); - } - return contents; -}, "de_ModifyTransitGatewayPrefixListReferenceResult"); -var de_ModifyTransitGatewayResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tG] != null) { - contents[_TGr] = de_TransitGateway(output[_tG], context); - } - return contents; -}, "de_ModifyTransitGatewayResult"); -var de_ModifyTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGVA] != null) { - contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context); - } - return contents; -}, "de_ModifyTransitGatewayVpcAttachmentResult"); -var de_ModifyVerifiedAccessEndpointPolicyResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pE] != null) { - contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]); - } - if (output[_pDo] != null) { - contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]); - } - if (output[_sSs] != null) { - contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context); - } - return contents; -}, "de_ModifyVerifiedAccessEndpointPolicyResult"); -var de_ModifyVerifiedAccessEndpointResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAE] != null) { - contents[_VAE] = de_VerifiedAccessEndpoint(output[_vAE], context); - } - return contents; -}, "de_ModifyVerifiedAccessEndpointResult"); -var de_ModifyVerifiedAccessGroupPolicyResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pE] != null) { - contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]); - } - if (output[_pDo] != null) { - contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]); - } - if (output[_sSs] != null) { - contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context); - } - return contents; -}, "de_ModifyVerifiedAccessGroupPolicyResult"); -var de_ModifyVerifiedAccessGroupResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAG] != null) { - contents[_VAG] = de_VerifiedAccessGroup(output[_vAG], context); - } - return contents; -}, "de_ModifyVerifiedAccessGroupResult"); -var de_ModifyVerifiedAccessInstanceLoggingConfigurationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_lC] != null) { - contents[_LCo] = de_VerifiedAccessInstanceLoggingConfiguration(output[_lC], context); - } - return contents; -}, "de_ModifyVerifiedAccessInstanceLoggingConfigurationResult"); -var de_ModifyVerifiedAccessInstanceResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAI] != null) { - contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context); - } - return contents; -}, "de_ModifyVerifiedAccessInstanceResult"); -var de_ModifyVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vATP] != null) { - contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context); - } - return contents; -}, "de_ModifyVerifiedAccessTrustProviderResult"); -var de_ModifyVolumeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vM] != null) { - contents[_VMo] = de_VolumeModification(output[_vM], context); - } - return contents; -}, "de_ModifyVolumeResult"); -var de_ModifyVpcEndpointConnectionNotificationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyVpcEndpointConnectionNotificationResult"); -var de_ModifyVpcEndpointResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyVpcEndpointResult"); -var de_ModifyVpcEndpointServiceConfigurationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyVpcEndpointServiceConfigurationResult"); -var de_ModifyVpcEndpointServicePayerResponsibilityResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyVpcEndpointServicePayerResponsibilityResult"); -var de_ModifyVpcEndpointServicePermissionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.addedPrincipalSet === "") { - contents[_APd] = []; - } else if (output[_aPS] != null && output[_aPS][_i] != null) { - contents[_APd] = de_AddedPrincipalSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aPS][_i]), context); - } - if (output[_r] != null) { - contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyVpcEndpointServicePermissionsResult"); -var de_ModifyVpcPeeringConnectionOptionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aPCO] != null) { - contents[_APCO] = de_PeeringConnectionOptions(output[_aPCO], context); - } - if (output[_rPCO] != null) { - contents[_RPCO] = de_PeeringConnectionOptions(output[_rPCO], context); - } - return contents; -}, "de_ModifyVpcPeeringConnectionOptionsResult"); -var de_ModifyVpcTenancyResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ModifyVpcTenancyResult"); -var de_ModifyVpnConnectionOptionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vC] != null) { - contents[_VC] = de_VpnConnection(output[_vC], context); - } - return contents; -}, "de_ModifyVpnConnectionOptionsResult"); -var de_ModifyVpnConnectionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vC] != null) { - contents[_VC] = de_VpnConnection(output[_vC], context); - } - return contents; -}, "de_ModifyVpnConnectionResult"); -var de_ModifyVpnTunnelCertificateResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vC] != null) { - contents[_VC] = de_VpnConnection(output[_vC], context); - } - return contents; -}, "de_ModifyVpnTunnelCertificateResult"); -var de_ModifyVpnTunnelOptionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vC] != null) { - contents[_VC] = de_VpnConnection(output[_vC], context); - } - return contents; -}, "de_ModifyVpnTunnelOptionsResult"); -var de_Monitoring = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_Monitoring"); -var de_MonitorInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instancesSet === "") { - contents[_IMn] = []; - } else if (output[_iSn] != null && output[_iSn][_i] != null) { - contents[_IMn] = de_InstanceMonitoringList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); - } - return contents; -}, "de_MonitorInstancesResult"); -var de_MoveAddressToVpcResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aI] != null) { - contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - return contents; -}, "de_MoveAddressToVpcResult"); -var de_MoveByoipCidrToIpamResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_bC] != null) { - contents[_BC] = de_ByoipCidr(output[_bC], context); - } - return contents; -}, "de_MoveByoipCidrToIpamResult"); -var de_MovingAddressStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_mSo] != null) { - contents[_MSo] = (0, import_smithy_client.expectString)(output[_mSo]); - } - if (output[_pI] != null) { - contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); - } - return contents; -}, "de_MovingAddressStatus"); -var de_MovingAddressStatusSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_MovingAddressStatus(entry, context); - }); -}, "de_MovingAddressStatusSet"); -var de_NatGateway = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cTr] != null) { - contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); - } - if (output[_dTel] != null) { - contents[_DTele] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTel])); - } - if (output[_fCa] != null) { - contents[_FCa] = (0, import_smithy_client.expectString)(output[_fCa]); - } - if (output[_fM] != null) { - contents[_FM] = (0, import_smithy_client.expectString)(output[_fM]); - } - if (output.natGatewayAddressSet === "") { - contents[_NGA] = []; - } else if (output[_nGAS] != null && output[_nGAS][_i] != null) { - contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context); - } - if (output[_nGI] != null) { - contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); - } - if (output[_pB] != null) { - contents[_PB] = de_ProvisionedBandwidth(output[_pB], context); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_cTonn] != null) { - contents[_CTo] = (0, import_smithy_client.expectString)(output[_cTonn]); - } - return contents; -}, "de_NatGateway"); -var de_NatGatewayAddress = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aI] != null) { - contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_pIriv] != null) { - contents[_PIri] = (0, import_smithy_client.expectString)(output[_pIriv]); - } - if (output[_pI] != null) { - contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); - } - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_iPsr] != null) { - contents[_IPs] = (0, import_smithy_client.parseBoolean)(output[_iPsr]); - } - if (output[_fM] != null) { - contents[_FM] = (0, import_smithy_client.expectString)(output[_fM]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - return contents; -}, "de_NatGatewayAddress"); -var de_NatGatewayAddressList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NatGatewayAddress(entry, context); - }); -}, "de_NatGatewayAddressList"); -var de_NatGatewayList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NatGateway(entry, context); - }); -}, "de_NatGatewayList"); -var de_NetworkAcl = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.associationSet === "") { - contents[_Ass] = []; - } else if (output[_aSss] != null && output[_aSss][_i] != null) { - contents[_Ass] = de_NetworkAclAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSss][_i]), context); - } - if (output.entrySet === "") { - contents[_Ent] = []; - } else if (output[_eSnt] != null && output[_eSnt][_i] != null) { - contents[_Ent] = de_NetworkAclEntryList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSnt][_i]), context); - } - if (output[_def] != null) { - contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_def]); - } - if (output[_nAI] != null) { - contents[_NAI] = (0, import_smithy_client.expectString)(output[_nAI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - return contents; -}, "de_NetworkAcl"); -var de_NetworkAclAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nAAI] != null) { - contents[_NAAI] = (0, import_smithy_client.expectString)(output[_nAAI]); - } - if (output[_nAI] != null) { - contents[_NAI] = (0, import_smithy_client.expectString)(output[_nAI]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - return contents; -}, "de_NetworkAclAssociation"); -var de_NetworkAclAssociationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkAclAssociation(entry, context); - }); -}, "de_NetworkAclAssociationList"); -var de_NetworkAclEntry = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cB] != null) { - contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); - } - if (output[_e] != null) { - contents[_Eg] = (0, import_smithy_client.parseBoolean)(output[_e]); - } - if (output[_iTC] != null) { - contents[_ITC] = de_IcmpTypeCode(output[_iTC], context); - } - if (output[_iCB] != null) { - contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]); - } - if (output[_pRo] != null) { - contents[_PR] = de_PortRange(output[_pRo], context); - } - if (output[_pr] != null) { - contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); - } - if (output[_rA] != null) { - contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]); - } - if (output[_rN] != null) { - contents[_RNu] = (0, import_smithy_client.strictParseInt32)(output[_rN]); - } - return contents; -}, "de_NetworkAclEntry"); -var de_NetworkAclEntryList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkAclEntry(entry, context); - }); -}, "de_NetworkAclEntryList"); -var de_NetworkAclList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkAcl(entry, context); - }); -}, "de_NetworkAclList"); -var de_NetworkBandwidthGbps = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_m] != null) { - contents[_M] = (0, import_smithy_client.strictParseFloat)(output[_m]); - } - if (output[_ma] != null) { - contents[_Ma] = (0, import_smithy_client.strictParseFloat)(output[_ma]); - } - return contents; -}, "de_NetworkBandwidthGbps"); -var de_NetworkCardInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nCI] != null) { - contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]); - } - if (output[_nP] != null) { - contents[_NP] = (0, import_smithy_client.expectString)(output[_nP]); - } - if (output[_mNI] != null) { - contents[_MNI] = (0, import_smithy_client.strictParseInt32)(output[_mNI]); - } - if (output[_bBIG] != null) { - contents[_BBIG] = (0, import_smithy_client.strictParseFloat)(output[_bBIG]); - } - if (output[_pBIG] != null) { - contents[_PBIG] = (0, import_smithy_client.strictParseFloat)(output[_pBIG]); - } - return contents; -}, "de_NetworkCardInfo"); -var de_NetworkCardInfoList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkCardInfo(entry, context); - }); -}, "de_NetworkCardInfoList"); -var de_NetworkInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nP] != null) { - contents[_NP] = (0, import_smithy_client.expectString)(output[_nP]); - } - if (output[_mNI] != null) { - contents[_MNI] = (0, import_smithy_client.strictParseInt32)(output[_mNI]); - } - if (output[_mNC] != null) { - contents[_MNC] = (0, import_smithy_client.strictParseInt32)(output[_mNC]); - } - if (output[_dNCI] != null) { - contents[_DNCI] = (0, import_smithy_client.strictParseInt32)(output[_dNCI]); - } - if (output.networkCards === "") { - contents[_NC] = []; - } else if (output[_nC] != null && output[_nC][_i] != null) { - contents[_NC] = de_NetworkCardInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_nC][_i]), context); - } - if (output[_iAPI] != null) { - contents[_IAPI] = (0, import_smithy_client.strictParseInt32)(output[_iAPI]); - } - if (output[_iAPIp] != null) { - contents[_IAPIp] = (0, import_smithy_client.strictParseInt32)(output[_iAPIp]); - } - if (output[_iSpv] != null) { - contents[_ISpv] = (0, import_smithy_client.parseBoolean)(output[_iSpv]); - } - 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]); - } - return contents; -}, "de_NetworkInfo"); -var de_NetworkInsightsAccessScope = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIASI] != null) { - contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]); - } - if (output[_nIASA] != null) { - contents[_NIASAe] = (0, import_smithy_client.expectString)(output[_nIASA]); - } - if (output[_cDre] != null) { - contents[_CDrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cDre])); - } - if (output[_uDp] != null) { - contents[_UDp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uDp])); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_NetworkInsightsAccessScope"); -var de_NetworkInsightsAccessScopeAnalysis = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIASAI] != null) { - contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]); - } - if (output[_nIASAA] != null) { - contents[_NIASAA] = (0, import_smithy_client.expectString)(output[_nIASAA]); - } - if (output[_nIASI] != null) { - contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output[_wM] != null) { - contents[_WM] = (0, import_smithy_client.expectString)(output[_wM]); - } - if (output[_sD] != null) { - contents[_SDt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD])); - } - if (output[_eD] != null) { - contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); - } - if (output[_fFi] != null) { - contents[_FFi] = (0, import_smithy_client.expectString)(output[_fFi]); - } - if (output[_aEC] != null) { - contents[_AEC] = (0, import_smithy_client.strictParseInt32)(output[_aEC]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_NetworkInsightsAccessScopeAnalysis"); -var de_NetworkInsightsAccessScopeAnalysisList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkInsightsAccessScopeAnalysis(entry, context); - }); -}, "de_NetworkInsightsAccessScopeAnalysisList"); -var de_NetworkInsightsAccessScopeContent = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIASI] != null) { - contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]); - } - if (output.matchPathSet === "") { - contents[_MP] = []; - } else if (output[_mPSa] != null && output[_mPSa][_i] != null) { - contents[_MP] = de_AccessScopePathList((0, import_smithy_client.getArrayIfSingleItem)(output[_mPSa][_i]), context); - } - if (output.excludePathSet === "") { - contents[_EP] = []; - } else if (output[_ePS] != null && output[_ePS][_i] != null) { - contents[_EP] = de_AccessScopePathList((0, import_smithy_client.getArrayIfSingleItem)(output[_ePS][_i]), context); - } - return contents; -}, "de_NetworkInsightsAccessScopeContent"); -var de_NetworkInsightsAccessScopeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkInsightsAccessScope(entry, context); - }); -}, "de_NetworkInsightsAccessScopeList"); -var de_NetworkInsightsAnalysis = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIAI] != null) { - contents[_NIAI] = (0, import_smithy_client.expectString)(output[_nIAI]); - } - if (output[_nIAA] != null) { - contents[_NIAA] = (0, import_smithy_client.expectString)(output[_nIAA]); - } - if (output[_nIPI] != null) { - contents[_NIPI] = (0, import_smithy_client.expectString)(output[_nIPI]); - } - if (output.additionalAccountSet === "") { - contents[_AAd] = []; - } else if (output[_aASd] != null && output[_aASd][_i] != null) { - contents[_AAd] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aASd][_i]), context); - } - if (output.filterInArnSet === "") { - contents[_FIA] = []; - } else if (output[_fIAS] != null && output[_fIAS][_i] != null) { - contents[_FIA] = de_ArnList((0, import_smithy_client.getArrayIfSingleItem)(output[_fIAS][_i]), context); - } - if (output[_sD] != null) { - contents[_SDt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD])); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output[_wM] != null) { - contents[_WM] = (0, import_smithy_client.expectString)(output[_wM]); - } - if (output[_nPF] != null) { - contents[_NPF] = (0, import_smithy_client.parseBoolean)(output[_nPF]); - } - if (output.forwardPathComponentSet === "") { - contents[_FPC] = []; - } else if (output[_fPCS] != null && output[_fPCS][_i] != null) { - contents[_FPC] = de_PathComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_fPCS][_i]), context); - } - if (output.returnPathComponentSet === "") { - contents[_RPC] = []; - } else if (output[_rPCS] != null && output[_rPCS][_i] != null) { - contents[_RPC] = de_PathComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_rPCS][_i]), context); - } - if (output.explanationSet === "") { - contents[_Ex] = []; - } else if (output[_eSx] != null && output[_eSx][_i] != null) { - contents[_Ex] = de_ExplanationList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSx][_i]), context); - } - if (output.alternatePathHintSet === "") { - contents[_APH] = []; - } else if (output[_aPHS] != null && output[_aPHS][_i] != null) { - contents[_APH] = de_AlternatePathHintList((0, import_smithy_client.getArrayIfSingleItem)(output[_aPHS][_i]), context); - } - if (output.suggestedAccountSet === "") { - contents[_SAu] = []; - } else if (output[_sASu] != null && output[_sASu][_i] != null) { - contents[_SAu] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sASu][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_NetworkInsightsAnalysis"); -var de_NetworkInsightsAnalysisList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkInsightsAnalysis(entry, context); - }); -}, "de_NetworkInsightsAnalysisList"); -var de_NetworkInsightsPath = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIPI] != null) { - contents[_NIPI] = (0, import_smithy_client.expectString)(output[_nIPI]); - } - if (output[_nIPA] != null) { - contents[_NIPA] = (0, import_smithy_client.expectString)(output[_nIPA]); - } - if (output[_cDre] != null) { - contents[_CDrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cDre])); - } - if (output[_s] != null) { - contents[_S] = (0, import_smithy_client.expectString)(output[_s]); - } - if (output[_d] != null) { - contents[_D] = (0, import_smithy_client.expectString)(output[_d]); - } - if (output[_sA] != null) { - contents[_SAour] = (0, import_smithy_client.expectString)(output[_sA]); - } - if (output[_dA] != null) { - contents[_DAesti] = (0, import_smithy_client.expectString)(output[_dA]); - } - if (output[_sIo] != null) { - contents[_SIo] = (0, import_smithy_client.expectString)(output[_sIo]); - } - if (output[_dIes] != null) { - contents[_DIest] = (0, import_smithy_client.expectString)(output[_dIes]); - } - if (output[_pr] != null) { - contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); - } - if (output[_dP] != null) { - contents[_DP] = (0, import_smithy_client.strictParseInt32)(output[_dP]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_fAS] != null) { - contents[_FAS] = de_PathFilter(output[_fAS], context); - } - if (output[_fAD] != null) { - contents[_FAD] = de_PathFilter(output[_fAD], context); - } - return contents; -}, "de_NetworkInsightsPath"); -var de_NetworkInsightsPathList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkInsightsPath(entry, context); - }); -}, "de_NetworkInsightsPathList"); -var de_NetworkInterface = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ass] != null) { - contents[_Asso] = de_NetworkInterfaceAssociation(output[_ass], context); - } - if (output[_at] != null) { - contents[_Att] = de_NetworkInterfaceAttachment(output[_at], context); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_cTC] != null) { - contents[_CTC] = de_ConnectionTrackingConfiguration(output[_cTC], context); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.groupSet === "") { - contents[_G] = []; - } else if (output[_gS] != null && output[_gS][_i] != null) { - contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); - } - if (output[_iTnt] != null) { - contents[_ITn] = (0, import_smithy_client.expectString)(output[_iTnt]); - } - if (output.ipv6AddressesSet === "") { - contents[_IA] = []; - } else if (output[_iASp] != null && output[_iASp][_i] != null) { - contents[_IA] = de_NetworkInterfaceIpv6AddressesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context); - } - if (output[_mAa] != null) { - contents[_MAa] = (0, import_smithy_client.expectString)(output[_mAa]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_pDN] != null) { - contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); - } - if (output[_pIA] != null) { - contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); - } - if (output.privateIpAddressesSet === "") { - contents[_PIA] = []; - } else if (output[_pIAS] != null && output[_pIAS][_i] != null) { - contents[_PIA] = de_NetworkInterfacePrivateIpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context); - } - if (output.ipv4PrefixSet === "") { - contents[_IPp] = []; - } else if (output[_iPSpv] != null && output[_iPSpv][_i] != null) { - contents[_IPp] = de_Ipv4PrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpv][_i]), context); - } - if (output.ipv6PrefixSet === "") { - contents[_IP] = []; - } else if (output[_iPSpvr] != null && output[_iPSpvr][_i] != null) { - contents[_IP] = de_Ipv6PrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpvr][_i]), context); - } - if (output[_rIeq] != null) { - contents[_RIeq] = (0, import_smithy_client.expectString)(output[_rIeq]); - } - if (output[_rM] != null) { - contents[_RMe] = (0, import_smithy_client.parseBoolean)(output[_rM]); - } - if (output[_sDC] != null) { - contents[_SDC] = (0, import_smithy_client.parseBoolean)(output[_sDC]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output.tagSet === "") { - contents[_TSag] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_TSag] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_dAIT] != null) { - contents[_DAIT] = (0, import_smithy_client.parseBoolean)(output[_dAIT]); - } - if (output[_iN] != null) { - contents[_IN] = (0, import_smithy_client.parseBoolean)(output[_iN]); - } - if (output[_iApv] != null) { - contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]); - } - return contents; -}, "de_NetworkInterface"); -var de_NetworkInterfaceAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aI] != null) { - contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); - } - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_iOIp] != null) { - contents[_IOI] = (0, import_smithy_client.expectString)(output[_iOIp]); - } - if (output[_pDNu] != null) { - contents[_PDNu] = (0, import_smithy_client.expectString)(output[_pDNu]); - } - if (output[_pI] != null) { - contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); - } - if (output[_cOI] != null) { - contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]); - } - if (output[_cI] != null) { - contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]); - } - return contents; -}, "de_NetworkInterfaceAssociation"); -var de_NetworkInterfaceAttachment = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aTt] != null) { - contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt])); - } - if (output[_aIt] != null) { - contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]); - } - if (output[_dOT] != null) { - contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); - } - if (output[_dIe] != null) { - contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]); - } - if (output[_nCI] != null) { - contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_iOIn] != null) { - contents[_IOIn] = (0, import_smithy_client.expectString)(output[_iOIn]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_eSS] != null) { - contents[_ESS] = de_AttachmentEnaSrdSpecification(output[_eSS], context); - } - return contents; -}, "de_NetworkInterfaceAttachment"); -var de_NetworkInterfaceCount = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_m] != null) { - contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); - } - if (output[_ma] != null) { - contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); - } - return contents; -}, "de_NetworkInterfaceCount"); -var de_NetworkInterfaceIdSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_NetworkInterfaceIdSet"); -var de_NetworkInterfaceIpv6Address = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iApv] != null) { - contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]); - } - if (output[_iPI] != null) { - contents[_IPIs] = (0, import_smithy_client.parseBoolean)(output[_iPI]); - } - return contents; -}, "de_NetworkInterfaceIpv6Address"); -var de_NetworkInterfaceIpv6AddressesList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkInterfaceIpv6Address(entry, context); - }); -}, "de_NetworkInterfaceIpv6AddressesList"); -var de_NetworkInterfaceList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkInterface(entry, context); - }); -}, "de_NetworkInterfaceList"); -var de_NetworkInterfacePermission = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIPIe] != null) { - contents[_NIPIe] = (0, import_smithy_client.expectString)(output[_nIPIe]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_aAI] != null) { - contents[_AAI] = (0, import_smithy_client.expectString)(output[_aAI]); - } - if (output[_aSw] != null) { - contents[_ASw] = (0, import_smithy_client.expectString)(output[_aSw]); - } - if (output[_per] != null) { - contents[_Pe] = (0, import_smithy_client.expectString)(output[_per]); - } - if (output[_pSe] != null) { - contents[_PSer] = de_NetworkInterfacePermissionState(output[_pSe], context); - } - return contents; -}, "de_NetworkInterfacePermission"); -var de_NetworkInterfacePermissionList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkInterfacePermission(entry, context); - }); -}, "de_NetworkInterfacePermissionList"); -var de_NetworkInterfacePermissionState = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - return contents; -}, "de_NetworkInterfacePermissionState"); -var de_NetworkInterfacePrivateIpAddress = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ass] != null) { - contents[_Asso] = de_NetworkInterfaceAssociation(output[_ass], context); - } - if (output[_prim] != null) { - contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]); - } - if (output[_pDN] != null) { - contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); - } - if (output[_pIA] != null) { - contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); - } - return contents; -}, "de_NetworkInterfacePrivateIpAddress"); -var de_NetworkInterfacePrivateIpAddressList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NetworkInterfacePrivateIpAddress(entry, context); - }); -}, "de_NetworkInterfacePrivateIpAddressList"); -var de_NetworkNodesList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_NetworkNodesList"); -var de_NeuronDeviceCoreInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cou] != null) { - contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); - } - if (output[_ve] != null) { - contents[_V] = (0, import_smithy_client.strictParseInt32)(output[_ve]); - } - return contents; -}, "de_NeuronDeviceCoreInfo"); -var de_NeuronDeviceInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cou] != null) { - contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_cIor] != null) { - contents[_CIor] = de_NeuronDeviceCoreInfo(output[_cIor], context); - } - if (output[_mIe] != null) { - contents[_MIe] = de_NeuronDeviceMemoryInfo(output[_mIe], context); - } - return contents; -}, "de_NeuronDeviceInfo"); -var de_NeuronDeviceInfoList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_NeuronDeviceInfo(entry, context); - }); -}, "de_NeuronDeviceInfoList"); -var de_NeuronDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIMB] != null) { - contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]); - } - return contents; -}, "de_NeuronDeviceMemoryInfo"); -var de_NeuronInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.neuronDevices === "") { - contents[_NDe] = []; - } else if (output[_nDe] != null && output[_nDe][_i] != null) { - contents[_NDe] = de_NeuronDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_nDe][_i]), context); - } - if (output[_tNDMIMB] != null) { - contents[_TNDMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tNDMIMB]); - } - return contents; -}, "de_NeuronInfo"); -var de_NitroTpmInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.supportedVersions === "") { - contents[_SVu] = []; - } else if (output[_sVu] != null && output[_sVu][_i] != null) { - contents[_SVu] = de_NitroTpmSupportedVersionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_sVu][_i]), context); - } - return contents; -}, "de_NitroTpmInfo"); -var de_NitroTpmSupportedVersionsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_NitroTpmSupportedVersionsList"); -var de_OccurrenceDaySet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.strictParseInt32)(entry); - }); -}, "de_OccurrenceDaySet"); -var de_OidcOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_is] != null) { - contents[_I] = (0, import_smithy_client.expectString)(output[_is]); - } - if (output[_aE] != null) { - contents[_AE] = (0, import_smithy_client.expectString)(output[_aE]); - } - if (output[_tEo] != null) { - contents[_TEo] = (0, import_smithy_client.expectString)(output[_tEo]); - } - if (output[_uIE] != null) { - contents[_UIE] = (0, import_smithy_client.expectString)(output[_uIE]); - } - if (output[_cIli] != null) { - contents[_CIl] = (0, import_smithy_client.expectString)(output[_cIli]); - } - if (output[_cSl] != null) { - contents[_CSl] = (0, import_smithy_client.expectString)(output[_cSl]); - } - if (output[_sc] != null) { - contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]); - } - return contents; -}, "de_OidcOptions"); -var de_OnDemandOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aSl] != null) { - contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]); - } - if (output[_cRO] != null) { - contents[_CRO] = de_CapacityReservationOptions(output[_cRO], context); - } - if (output[_sITi] != null) { - contents[_SITi] = (0, import_smithy_client.parseBoolean)(output[_sITi]); - } - if (output[_sAZ] != null) { - contents[_SAZ] = (0, import_smithy_client.parseBoolean)(output[_sAZ]); - } - if (output[_mTC] != null) { - contents[_MTC] = (0, import_smithy_client.strictParseInt32)(output[_mTC]); - } - if (output[_mTP] != null) { - contents[_MTP] = (0, import_smithy_client.expectString)(output[_mTP]); - } - return contents; -}, "de_OnDemandOptions"); -var de_PacketHeaderStatement = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.sourceAddressSet === "") { - contents[_SAo] = []; - } else if (output[_sAS] != null && output[_sAS][_i] != null) { - contents[_SAo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sAS][_i]), context); - } - if (output.destinationAddressSet === "") { - contents[_DAes] = []; - } else if (output[_dAS] != null && output[_dAS][_i] != null) { - contents[_DAes] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dAS][_i]), context); - } - if (output.sourcePortSet === "") { - contents[_SPo] = []; - } else if (output[_sPS] != null && output[_sPS][_i] != null) { - contents[_SPo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPS][_i]), context); - } - if (output.destinationPortSet === "") { - contents[_DPe] = []; - } else if (output[_dPS] != null && output[_dPS][_i] != null) { - contents[_DPe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPS][_i]), context); - } - if (output.sourcePrefixListSet === "") { - contents[_SPL] = []; - } else if (output[_sPLS] != null && output[_sPLS][_i] != null) { - contents[_SPL] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPLS][_i]), context); - } - if (output.destinationPrefixListSet === "") { - contents[_DPLe] = []; - } else if (output[_dPLS] != null && output[_dPLS][_i] != null) { - contents[_DPLe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPLS][_i]), context); - } - if (output.protocolSet === "") { - contents[_Pro] = []; - } else if (output[_pSro] != null && output[_pSro][_i] != null) { - contents[_Pro] = de_ProtocolList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSro][_i]), context); - } - return contents; -}, "de_PacketHeaderStatement"); -var de_PathComponent = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sNe] != null) { - contents[_SNeq] = (0, import_smithy_client.strictParseInt32)(output[_sNe]); - } - if (output[_aRc] != null) { - contents[_ARcl] = de_AnalysisAclRule(output[_aRc], context); - } - if (output[_aTtt] != null) { - contents[_ATtta] = de_AnalysisComponent(output[_aTtt], context); - } - if (output[_c] != null) { - contents[_Com] = de_AnalysisComponent(output[_c], context); - } - if (output[_dV] != null) { - contents[_DVest] = de_AnalysisComponent(output[_dV], context); - } - if (output[_oH] != null) { - contents[_OH] = de_AnalysisPacketHeader(output[_oH], context); - } - if (output[_iHn] != null) { - contents[_IHn] = de_AnalysisPacketHeader(output[_iHn], context); - } - if (output[_rTR] != null) { - contents[_RTR] = de_AnalysisRouteTableRoute(output[_rTR], context); - } - if (output[_sGR] != null) { - contents[_SGRe] = de_AnalysisSecurityGroupRule(output[_sGR], context); - } - if (output[_sV] != null) { - contents[_SVo] = de_AnalysisComponent(output[_sV], context); - } - if (output[_su] != null) { - contents[_Su] = de_AnalysisComponent(output[_su], context); - } - if (output[_vp] != null) { - contents[_Vp] = de_AnalysisComponent(output[_vp], context); - } - if (output.additionalDetailSet === "") { - contents[_ADd] = []; - } else if (output[_aDS] != null && output[_aDS][_i] != null) { - contents[_ADd] = de_AdditionalDetailList((0, import_smithy_client.getArrayIfSingleItem)(output[_aDS][_i]), context); - } - if (output[_tG] != null) { - contents[_TGr] = de_AnalysisComponent(output[_tG], context); - } - if (output[_tGRTR] != null) { - contents[_TGRTR] = de_TransitGatewayRouteTableRoute(output[_tGRTR], context); - } - if (output.explanationSet === "") { - contents[_Ex] = []; - } else if (output[_eSx] != null && output[_eSx][_i] != null) { - contents[_Ex] = de_ExplanationList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSx][_i]), context); - } - if (output[_eLBL] != null) { - contents[_ELBL] = de_AnalysisComponent(output[_eLBL], context); - } - if (output[_fSR] != null) { - contents[_FSRi] = de_FirewallStatelessRule(output[_fSR], context); - } - if (output[_fSRi] != null) { - contents[_FSRir] = de_FirewallStatefulRule(output[_fSRi], context); - } - if (output[_sN] != null) { - contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]); - } - return contents; -}, "de_PathComponent"); -var de_PathComponentList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PathComponent(entry, context); - }); -}, "de_PathComponentList"); -var de_PathFilter = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sAo] != null) { - contents[_SAou] = (0, import_smithy_client.expectString)(output[_sAo]); - } - if (output[_sPR] != null) { - contents[_SPR] = de_FilterPortRange(output[_sPR], context); - } - if (output[_dAe] != null) { - contents[_DAest] = (0, import_smithy_client.expectString)(output[_dAe]); - } - if (output[_dPR] != null) { - contents[_DPR] = de_FilterPortRange(output[_dPR], context); - } - return contents; -}, "de_PathFilter"); -var de_PathStatement = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pHS] != null) { - contents[_PHS] = de_PacketHeaderStatement(output[_pHS], context); - } - if (output[_rSes] != null) { - contents[_RSe] = de_ResourceStatement(output[_rSes], context); - } - return contents; -}, "de_PathStatement"); -var de_PciId = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_DIevi] != null) { - contents[_DIevi] = (0, import_smithy_client.expectString)(output[_DIevi]); - } - if (output[_VIe] != null) { - contents[_VIe] = (0, import_smithy_client.expectString)(output[_VIe]); - } - if (output[_SIubs] != null) { - contents[_SIubs] = (0, import_smithy_client.expectString)(output[_SIubs]); - } - if (output[_SVI] != null) { - contents[_SVI] = (0, import_smithy_client.expectString)(output[_SVI]); - } - return contents; -}, "de_PciId"); -var de_PeeringAttachmentStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_PeeringAttachmentStatus"); -var de_PeeringConnectionOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aDRFRV] != null) { - contents[_ADRFRV] = (0, import_smithy_client.parseBoolean)(output[_aDRFRV]); - } - if (output[_aEFLCLTRV] != null) { - contents[_AEFLCLTRV] = (0, import_smithy_client.parseBoolean)(output[_aEFLCLTRV]); - } - if (output[_aEFLVTRCL] != null) { - contents[_AEFLVTRCL] = (0, import_smithy_client.parseBoolean)(output[_aEFLVTRCL]); - } - return contents; -}, "de_PeeringConnectionOptions"); -var de_PeeringTgwInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_cNIo] != null) { - contents[_CNIor] = (0, import_smithy_client.expectString)(output[_cNIo]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_reg] != null) { - contents[_Regi] = (0, import_smithy_client.expectString)(output[_reg]); - } - return contents; -}, "de_PeeringTgwInfo"); -var de_Phase1DHGroupNumbersList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Phase1DHGroupNumbersListValue(entry, context); - }); -}, "de_Phase1DHGroupNumbersList"); -var de_Phase1DHGroupNumbersListValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.strictParseInt32)(output[_v]); - } - return contents; -}, "de_Phase1DHGroupNumbersListValue"); -var de_Phase1EncryptionAlgorithmsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Phase1EncryptionAlgorithmsListValue(entry, context); - }); -}, "de_Phase1EncryptionAlgorithmsList"); -var de_Phase1EncryptionAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - return contents; -}, "de_Phase1EncryptionAlgorithmsListValue"); -var de_Phase1IntegrityAlgorithmsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Phase1IntegrityAlgorithmsListValue(entry, context); - }); -}, "de_Phase1IntegrityAlgorithmsList"); -var de_Phase1IntegrityAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - return contents; -}, "de_Phase1IntegrityAlgorithmsListValue"); -var de_Phase2DHGroupNumbersList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Phase2DHGroupNumbersListValue(entry, context); - }); -}, "de_Phase2DHGroupNumbersList"); -var de_Phase2DHGroupNumbersListValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.strictParseInt32)(output[_v]); - } - return contents; -}, "de_Phase2DHGroupNumbersListValue"); -var de_Phase2EncryptionAlgorithmsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Phase2EncryptionAlgorithmsListValue(entry, context); - }); -}, "de_Phase2EncryptionAlgorithmsList"); -var de_Phase2EncryptionAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - return contents; -}, "de_Phase2EncryptionAlgorithmsListValue"); -var de_Phase2IntegrityAlgorithmsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Phase2IntegrityAlgorithmsListValue(entry, context); - }); -}, "de_Phase2IntegrityAlgorithmsList"); -var de_Phase2IntegrityAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - return contents; -}, "de_Phase2IntegrityAlgorithmsListValue"); -var de_Placement = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_af] != null) { - contents[_Af] = (0, import_smithy_client.expectString)(output[_af]); - } - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - if (output[_pN] != null) { - contents[_PN] = (0, import_smithy_client.strictParseInt32)(output[_pN]); - } - if (output[_hI] != null) { - contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]); - } - if (output[_t] != null) { - contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); - } - if (output[_sDp] != null) { - contents[_SD] = (0, import_smithy_client.expectString)(output[_sDp]); - } - if (output[_hRGA] != null) { - contents[_HRGA] = (0, import_smithy_client.expectString)(output[_hRGA]); - } - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - return contents; -}, "de_Placement"); -var de_PlacementGroup = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_str] != null) { - contents[_Str] = (0, import_smithy_client.expectString)(output[_str]); - } - if (output[_pCa] != null) { - contents[_PCa] = (0, import_smithy_client.strictParseInt32)(output[_pCa]); - } - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_gA] != null) { - contents[_GA] = (0, import_smithy_client.expectString)(output[_gA]); - } - if (output[_sLp] != null) { - contents[_SL] = (0, import_smithy_client.expectString)(output[_sLp]); - } - return contents; -}, "de_PlacementGroup"); -var de_PlacementGroupInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.supportedStrategies === "") { - contents[_SSu] = []; - } else if (output[_sSup] != null && output[_sSup][_i] != null) { - contents[_SSu] = de_PlacementGroupStrategyList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSup][_i]), context); - } - return contents; -}, "de_PlacementGroupInfo"); -var de_PlacementGroupList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PlacementGroup(entry, context); - }); -}, "de_PlacementGroupList"); -var de_PlacementGroupStrategyList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_PlacementGroupStrategyList"); -var de_PlacementResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - return contents; -}, "de_PlacementResponse"); -var de_PoolCidrBlock = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pCB] != null) { - contents[_C] = (0, import_smithy_client.expectString)(output[_pCB]); - } - return contents; -}, "de_PoolCidrBlock"); -var de_PoolCidrBlocksSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PoolCidrBlock(entry, context); - }); -}, "de_PoolCidrBlocksSet"); -var de_PortRange = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fr] != null) { - contents[_Fr] = (0, import_smithy_client.strictParseInt32)(output[_fr]); - } - if (output[_to] != null) { - contents[_To] = (0, import_smithy_client.strictParseInt32)(output[_to]); - } - return contents; -}, "de_PortRange"); -var de_PortRangeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PortRange(entry, context); - }); -}, "de_PortRangeList"); -var de_PrefixList = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.cidrSet === "") { - contents[_Ci] = []; - } else if (output[_cS] != null && output[_cS][_i] != null) { - contents[_Ci] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_cS][_i]), context); - } - if (output[_pLI] != null) { - contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); - } - if (output[_pLN] != null) { - contents[_PLN] = (0, import_smithy_client.expectString)(output[_pLN]); - } - return contents; -}, "de_PrefixList"); -var de_PrefixListAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rO] != null) { - contents[_RO] = (0, import_smithy_client.expectString)(output[_rO]); - } - return contents; -}, "de_PrefixListAssociation"); -var de_PrefixListAssociationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PrefixListAssociation(entry, context); - }); -}, "de_PrefixListAssociationSet"); -var de_PrefixListEntry = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ci] != null) { - contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - return contents; -}, "de_PrefixListEntry"); -var de_PrefixListEntrySet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PrefixListEntry(entry, context); - }); -}, "de_PrefixListEntrySet"); -var de_PrefixListId = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_pLI] != null) { - contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); - } - return contents; -}, "de_PrefixListId"); -var de_PrefixListIdList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PrefixListId(entry, context); - }); -}, "de_PrefixListIdList"); -var de_PrefixListIdSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_PrefixListIdSet"); -var de_PrefixListSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PrefixList(entry, context); - }); -}, "de_PrefixListSet"); -var de_PriceSchedule = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_act] != null) { - contents[_Act] = (0, import_smithy_client.parseBoolean)(output[_act]); - } - if (output[_cC] != null) { - contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); - } - if (output[_pric] != null) { - contents[_Pric] = (0, import_smithy_client.strictParseFloat)(output[_pric]); - } - if (output[_te] != null) { - contents[_Ter] = (0, import_smithy_client.strictParseLong)(output[_te]); - } - return contents; -}, "de_PriceSchedule"); -var de_PriceScheduleList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PriceSchedule(entry, context); - }); -}, "de_PriceScheduleList"); -var de_PricingDetail = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cou] != null) { - contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); - } - if (output[_pric] != null) { - contents[_Pric] = (0, import_smithy_client.strictParseFloat)(output[_pric]); - } - return contents; -}, "de_PricingDetail"); -var de_PricingDetailsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PricingDetail(entry, context); - }); -}, "de_PricingDetailsList"); -var de_PrincipalIdFormat = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ar] != null) { - contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); - } - if (output.statusSet === "") { - contents[_Status] = []; - } else if (output[_sSt] != null && output[_sSt][_i] != null) { - contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context); - } - return contents; -}, "de_PrincipalIdFormat"); -var de_PrincipalIdFormatList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PrincipalIdFormat(entry, context); - }); -}, "de_PrincipalIdFormatList"); -var de_PrivateDnsDetails = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pDN] != null) { - contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); - } - return contents; -}, "de_PrivateDnsDetails"); -var de_PrivateDnsDetailsSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PrivateDnsDetails(entry, context); - }); -}, "de_PrivateDnsDetailsSet"); -var de_PrivateDnsNameConfiguration = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - return contents; -}, "de_PrivateDnsNameConfiguration"); -var de_PrivateDnsNameOptionsOnLaunch = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_hTo] != null) { - contents[_HTo] = (0, import_smithy_client.expectString)(output[_hTo]); - } - if (output[_eRNDAR] != null) { - contents[_ERNDAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAR]); - } - if (output[_eRNDAAAAR] != null) { - contents[_ERNDAAAAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAAAAR]); - } - return contents; -}, "de_PrivateDnsNameOptionsOnLaunch"); -var de_PrivateDnsNameOptionsResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_hTo] != null) { - contents[_HTo] = (0, import_smithy_client.expectString)(output[_hTo]); - } - if (output[_eRNDAR] != null) { - contents[_ERNDAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAR]); - } - if (output[_eRNDAAAAR] != null) { - contents[_ERNDAAAAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAAAAR]); - } - return contents; -}, "de_PrivateDnsNameOptionsResponse"); -var de_PrivateIpAddressSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_prim] != null) { - contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]); - } - if (output[_pIA] != null) { - contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); - } - return contents; -}, "de_PrivateIpAddressSpecification"); -var de_PrivateIpAddressSpecificationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PrivateIpAddressSpecification(entry, context); - }); -}, "de_PrivateIpAddressSpecificationList"); -var de_ProcessorInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.supportedArchitectures === "") { - contents[_SAup] = []; - } else if (output[_sAu] != null && output[_sAu][_i] != null) { - contents[_SAup] = de_ArchitectureTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sAu][_i]), context); - } - if (output[_sCSIG] != null) { - contents[_SCSIG] = (0, import_smithy_client.strictParseFloat)(output[_sCSIG]); - } - if (output.supportedFeatures === "") { - contents[_SF] = []; - } else if (output[_sF] != null && output[_sF][_i] != null) { - contents[_SF] = de_SupportedAdditionalProcessorFeatureList((0, import_smithy_client.getArrayIfSingleItem)(output[_sF][_i]), context); - } - if (output[_man] != null) { - contents[_Man] = (0, import_smithy_client.expectString)(output[_man]); - } - return contents; -}, "de_ProcessorInfo"); -var de_ProductCode = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pCr] != null) { - contents[_PCIr] = (0, import_smithy_client.expectString)(output[_pCr]); - } - if (output[_ty] != null) { - contents[_PCT] = (0, import_smithy_client.expectString)(output[_ty]); - } - return contents; -}, "de_ProductCode"); -var de_ProductCodeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ProductCode(entry, context); - }); -}, "de_ProductCodeList"); -var de_PropagatingVgw = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gI] != null) { - contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]); - } - return contents; -}, "de_PropagatingVgw"); -var de_PropagatingVgwList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PropagatingVgw(entry, context); - }); -}, "de_PropagatingVgwList"); -var de_ProtocolIntList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.strictParseInt32)(entry); - }); -}, "de_ProtocolIntList"); -var de_ProtocolList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_ProtocolList"); -var de_ProvisionByoipCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_bC] != null) { - contents[_BC] = de_ByoipCidr(output[_bC], context); - } - return contents; -}, "de_ProvisionByoipCidrResult"); -var de_ProvisionedBandwidth = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pTr] != null) { - contents[_PTro] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_pTr])); - } - if (output[_prov] != null) { - contents[_Prov] = (0, import_smithy_client.expectString)(output[_prov]); - } - if (output[_rTeq] != null) { - contents[_RTeq] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rTeq])); - } - if (output[_req] != null) { - contents[_Req] = (0, import_smithy_client.expectString)(output[_req]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - return contents; -}, "de_ProvisionedBandwidth"); -var de_ProvisionIpamByoasnResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_b] != null) { - contents[_Byo] = de_Byoasn(output[_b], context); - } - return contents; -}, "de_ProvisionIpamByoasnResult"); -var de_ProvisionIpamPoolCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPC] != null) { - contents[_IPCpa] = de_IpamPoolCidr(output[_iPC], context); - } - return contents; -}, "de_ProvisionIpamPoolCidrResult"); -var de_ProvisionPublicIpv4PoolCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pIo] != null) { - contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); - } - if (output[_pAR] != null) { - contents[_PAR] = de_PublicIpv4PoolRange(output[_pAR], context); - } - return contents; -}, "de_ProvisionPublicIpv4PoolCidrResult"); -var de_PtrUpdateStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_rea] != null) { - contents[_Rea] = (0, import_smithy_client.expectString)(output[_rea]); - } - return contents; -}, "de_PtrUpdateStatus"); -var de_PublicIpv4Pool = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pIo] != null) { - contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.poolAddressRangeSet === "") { - contents[_PARo] = []; - } else if (output[_pARS] != null && output[_pARS][_i] != null) { - contents[_PARo] = de_PublicIpv4PoolRangeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pARS][_i]), context); - } - if (output[_tAC] != null) { - contents[_TAC] = (0, import_smithy_client.strictParseInt32)(output[_tAC]); - } - if (output[_tAAC] != null) { - contents[_TAAC] = (0, import_smithy_client.strictParseInt32)(output[_tAAC]); - } - if (output[_nBG] != null) { - contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_PublicIpv4Pool"); -var de_PublicIpv4PoolRange = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fAi] != null) { - contents[_FAi] = (0, import_smithy_client.expectString)(output[_fAi]); - } - if (output[_lAa] != null) { - contents[_LAa] = (0, import_smithy_client.expectString)(output[_lAa]); - } - if (output[_aCd] != null) { - contents[_ACd] = (0, import_smithy_client.strictParseInt32)(output[_aCd]); - } - if (output[_aAC] != null) { - contents[_AACv] = (0, import_smithy_client.strictParseInt32)(output[_aAC]); - } - return contents; -}, "de_PublicIpv4PoolRange"); -var de_PublicIpv4PoolRangeSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PublicIpv4PoolRange(entry, context); - }); -}, "de_PublicIpv4PoolRangeSet"); -var de_PublicIpv4PoolSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_PublicIpv4Pool(entry, context); - }); -}, "de_PublicIpv4PoolSet"); -var de_Purchase = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cC] != null) { - contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); - } - if (output[_du] != null) { - contents[_Du] = (0, import_smithy_client.strictParseInt32)(output[_du]); - } - if (output.hostIdSet === "") { - contents[_HIS] = []; - } else if (output[_hIS] != null && output[_hIS][_i] != null) { - contents[_HIS] = de_ResponseHostIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hIS][_i]), context); - } - if (output[_hRI] != null) { - contents[_HRI] = (0, import_smithy_client.expectString)(output[_hRI]); - } - if (output[_hPo] != null) { - contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); - } - if (output[_iF] != null) { - contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]); - } - if (output[_pO] != null) { - contents[_PO] = (0, import_smithy_client.expectString)(output[_pO]); - } - if (output[_uP] != null) { - contents[_UPp] = (0, import_smithy_client.expectString)(output[_uP]); - } - return contents; -}, "de_Purchase"); -var de_PurchaseCapacityBlockResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cR] != null) { - contents[_CRapa] = de_CapacityReservation(output[_cR], context); - } - return contents; -}, "de_PurchaseCapacityBlockResult"); -var de_PurchasedScheduledInstanceSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ScheduledInstance(entry, context); - }); -}, "de_PurchasedScheduledInstanceSet"); -var de_PurchaseHostReservationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - if (output[_cC] != null) { - contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); - } - if (output.purchase === "") { - contents[_Pur] = []; - } else if (output[_pur] != null && output[_pur][_i] != null) { - contents[_Pur] = de_PurchaseSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pur][_i]), context); - } - if (output[_tHP] != null) { - contents[_THP] = (0, import_smithy_client.expectString)(output[_tHP]); - } - if (output[_tUP] != null) { - contents[_TUP] = (0, import_smithy_client.expectString)(output[_tUP]); - } - return contents; -}, "de_PurchaseHostReservationResult"); -var de_PurchaseReservedInstancesOfferingResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rII] != null) { - contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); - } - return contents; -}, "de_PurchaseReservedInstancesOfferingResult"); -var de_PurchaseScheduledInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.scheduledInstanceSet === "") { - contents[_SIS] = []; - } else if (output[_sIS] != null && output[_sIS][_i] != null) { - contents[_SIS] = de_PurchasedScheduledInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIS][_i]), context); - } - return contents; -}, "de_PurchaseScheduledInstancesResult"); -var de_PurchaseSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Purchase(entry, context); - }); -}, "de_PurchaseSet"); -var de_RecurringCharge = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_am] != null) { - contents[_Am] = (0, import_smithy_client.strictParseFloat)(output[_am]); - } - if (output[_fre] != null) { - contents[_Fre] = (0, import_smithy_client.expectString)(output[_fre]); - } - return contents; -}, "de_RecurringCharge"); -var de_RecurringChargesList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_RecurringCharge(entry, context); - }); -}, "de_RecurringChargesList"); -var de_ReferencedSecurityGroup = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - if (output[_pSee] != null) { - contents[_PSe] = (0, import_smithy_client.expectString)(output[_pSee]); - } - if (output[_uI] != null) { - contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_vPCI] != null) { - contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); - } - return contents; -}, "de_ReferencedSecurityGroup"); -var de_Region = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rEe] != null) { - contents[_Endp] = (0, import_smithy_client.expectString)(output[_rEe]); - } - if (output[_rNe] != null) { - contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]); - } - if (output[_oIS] != null) { - contents[_OIS] = (0, import_smithy_client.expectString)(output[_oIS]); - } - return contents; -}, "de_Region"); -var de_RegionList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Region(entry, context); - }); -}, "de_RegionList"); -var de_RegisterImageResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - return contents; -}, "de_RegisterImageResult"); -var de_RegisterInstanceEventNotificationAttributesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iTA] != null) { - contents[_ITA] = de_InstanceTagNotificationAttribute(output[_iTA], context); - } - return contents; -}, "de_RegisterInstanceEventNotificationAttributesResult"); -var de_RegisterTransitGatewayMulticastGroupMembersResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rMGM] != null) { - contents[_RMGM] = de_TransitGatewayMulticastRegisteredGroupMembers(output[_rMGM], context); - } - return contents; -}, "de_RegisterTransitGatewayMulticastGroupMembersResult"); -var de_RegisterTransitGatewayMulticastGroupSourcesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rMGS] != null) { - contents[_RMGS] = de_TransitGatewayMulticastRegisteredGroupSources(output[_rMGS], context); - } - return contents; -}, "de_RegisterTransitGatewayMulticastGroupSourcesResult"); -var de_RejectTransitGatewayMulticastDomainAssociationsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_a] != null) { - contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context); - } - return contents; -}, "de_RejectTransitGatewayMulticastDomainAssociationsResult"); -var de_RejectTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGPA] != null) { - contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context); - } - return contents; -}, "de_RejectTransitGatewayPeeringAttachmentResult"); -var de_RejectTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGVA] != null) { - contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context); - } - return contents; -}, "de_RejectTransitGatewayVpcAttachmentResult"); -var de_RejectVpcEndpointConnectionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.unsuccessful === "") { - contents[_Un] = []; - } else if (output[_u] != null && output[_u][_i] != null) { - contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); - } - return contents; -}, "de_RejectVpcEndpointConnectionsResult"); -var de_RejectVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_RejectVpcPeeringConnectionResult"); -var de_ReleaseHostsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.successful === "") { - contents[_Suc] = []; - } else if (output[_suc] != null && output[_suc][_i] != null) { - contents[_Suc] = de_ResponseHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context); - } - if (output.unsuccessful === "") { - contents[_Un] = []; - } else if (output[_u] != null && output[_u][_i] != null) { - contents[_Un] = de_UnsuccessfulItemList((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); - } - return contents; -}, "de_ReleaseHostsResult"); -var de_ReleaseIpamPoolAllocationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_succ] != null) { - contents[_Succ] = (0, import_smithy_client.parseBoolean)(output[_succ]); - } - return contents; -}, "de_ReleaseIpamPoolAllocationResult"); -var de_ReplaceIamInstanceProfileAssociationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iIPA] != null) { - contents[_IIPA] = de_IamInstanceProfileAssociation(output[_iIPA], context); - } - return contents; -}, "de_ReplaceIamInstanceProfileAssociationResult"); -var de_ReplaceNetworkAclAssociationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nAIe] != null) { - contents[_NAIew] = (0, import_smithy_client.expectString)(output[_nAIe]); - } - return contents; -}, "de_ReplaceNetworkAclAssociationResult"); -var de_ReplaceRootVolumeTask = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rRVTI] != null) { - contents[_RRVTIe] = (0, import_smithy_client.expectString)(output[_rRVTI]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_tSas] != null) { - contents[_TSas] = (0, import_smithy_client.expectString)(output[_tSas]); - } - if (output[_sT] != null) { - contents[_STt] = (0, import_smithy_client.expectString)(output[_sT]); - } - if (output[_cTom] != null) { - contents[_CTom] = (0, import_smithy_client.expectString)(output[_cTom]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_dRRV] != null) { - contents[_DRRV] = (0, import_smithy_client.parseBoolean)(output[_dRRV]); - } - return contents; -}, "de_ReplaceRootVolumeTask"); -var de_ReplaceRootVolumeTasks = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ReplaceRootVolumeTask(entry, context); - }); -}, "de_ReplaceRootVolumeTasks"); -var de_ReplaceRouteTableAssociationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nAIe] != null) { - contents[_NAIew] = (0, import_smithy_client.expectString)(output[_nAIe]); - } - if (output[_aS] != null) { - contents[_ASs] = de_RouteTableAssociationState(output[_aS], context); - } - return contents; -}, "de_ReplaceRouteTableAssociationResult"); -var de_ReplaceTransitGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ro] != null) { - contents[_Ro] = de_TransitGatewayRoute(output[_ro], context); - } - return contents; -}, "de_ReplaceTransitGatewayRouteResult"); -var de_ReplaceVpnTunnelResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ReplaceVpnTunnelResult"); -var de_RequestSpotFleetResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sFRI] != null) { - contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); - } - return contents; -}, "de_RequestSpotFleetResponse"); -var de_RequestSpotInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.spotInstanceRequestSet === "") { - contents[_SIR] = []; - } else if (output[_sIRS] != null && output[_sIRS][_i] != null) { - contents[_SIR] = de_SpotInstanceRequestList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIRS][_i]), context); - } - return contents; -}, "de_RequestSpotInstancesResult"); -var de_Reservation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.groupSet === "") { - contents[_G] = []; - } else if (output[_gS] != null && output[_gS][_i] != null) { - contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); - } - if (output.instancesSet === "") { - contents[_In] = []; - } else if (output[_iSn] != null && output[_iSn][_i] != null) { - contents[_In] = de_InstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_rIeq] != null) { - contents[_RIeq] = (0, import_smithy_client.expectString)(output[_rIeq]); - } - if (output[_rIes] != null) { - contents[_RIeser] = (0, import_smithy_client.expectString)(output[_rIes]); - } - return contents; -}, "de_Reservation"); -var de_ReservationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Reservation(entry, context); - }); -}, "de_ReservationList"); -var de_ReservationValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_hPo] != null) { - contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); - } - if (output[_rTV] != null) { - contents[_RTV] = (0, import_smithy_client.expectString)(output[_rTV]); - } - if (output[_rUV] != null) { - contents[_RUV] = (0, import_smithy_client.expectString)(output[_rUV]); - } - return contents; -}, "de_ReservationValue"); -var de_ReservedInstanceReservationValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rVe] != null) { - contents[_RVe] = de_ReservationValue(output[_rVe], context); - } - if (output[_rIIe] != null) { - contents[_RIIese] = (0, import_smithy_client.expectString)(output[_rIIe]); - } - return contents; -}, "de_ReservedInstanceReservationValue"); -var de_ReservedInstanceReservationValueSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ReservedInstanceReservationValue(entry, context); - }); -}, "de_ReservedInstanceReservationValueSet"); -var de_ReservedInstances = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_du] != null) { - contents[_Du] = (0, import_smithy_client.strictParseLong)(output[_du]); - } - if (output[_end] != null) { - contents[_End] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_end])); - } - if (output[_fPi] != null) { - contents[_FPi] = (0, import_smithy_client.strictParseFloat)(output[_fPi]); - } - if (output[_iC] != null) { - contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_pDr] != null) { - contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]); - } - if (output[_rII] != null) { - contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); - } - if (output[_star] != null) { - contents[_Star] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_star])); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_uPs] != null) { - contents[_UPs] = (0, import_smithy_client.strictParseFloat)(output[_uPs]); - } - if (output[_cC] != null) { - contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); - } - if (output[_iTns] != null) { - contents[_ITns] = (0, import_smithy_client.expectString)(output[_iTns]); - } - if (output[_oC] != null) { - contents[_OC] = (0, import_smithy_client.expectString)(output[_oC]); - } - if (output[_oTf] != null) { - contents[_OT] = (0, import_smithy_client.expectString)(output[_oTf]); - } - if (output.recurringCharges === "") { - contents[_RCec] = []; - } else if (output[_rCec] != null && output[_rCec][_i] != null) { - contents[_RCec] = de_RecurringChargesList((0, import_smithy_client.getArrayIfSingleItem)(output[_rCec][_i]), context); - } - if (output[_sc] != null) { - contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_ReservedInstances"); -var de_ReservedInstancesConfiguration = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_iC] != null) { - contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_pl] != null) { - contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); - } - if (output[_sc] != null) { - contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]); - } - return contents; -}, "de_ReservedInstancesConfiguration"); -var de_ReservedInstancesId = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rII] != null) { - contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); - } - return contents; -}, "de_ReservedInstancesId"); -var de_ReservedInstancesList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ReservedInstances(entry, context); - }); -}, "de_ReservedInstancesList"); -var de_ReservedInstancesListing = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - if (output[_cD] != null) { - contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD])); - } - if (output.instanceCounts === "") { - contents[_ICn] = []; - } else if (output[_iCn] != null && output[_iCn][_i] != null) { - contents[_ICn] = de_InstanceCountList((0, import_smithy_client.getArrayIfSingleItem)(output[_iCn][_i]), context); - } - if (output.priceSchedules === "") { - contents[_PS] = []; - } else if (output[_pSri] != null && output[_pSri][_i] != null) { - contents[_PS] = de_PriceScheduleList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSri][_i]), context); - } - if (output[_rII] != null) { - contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); - } - if (output[_rILI] != null) { - contents[_RILI] = (0, import_smithy_client.expectString)(output[_rILI]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_uDpd] != null) { - contents[_UDpd] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uDpd])); - } - return contents; -}, "de_ReservedInstancesListing"); -var de_ReservedInstancesListingList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ReservedInstancesListing(entry, context); - }); -}, "de_ReservedInstancesListingList"); -var de_ReservedInstancesModification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - if (output[_cD] != null) { - contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD])); - } - if (output[_eDf] != null) { - contents[_EDf] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eDf])); - } - if (output.modificationResultSet === "") { - contents[_MRo] = []; - } else if (output[_mRS] != null && output[_mRS][_i] != null) { - contents[_MRo] = de_ReservedInstancesModificationResultList((0, import_smithy_client.getArrayIfSingleItem)(output[_mRS][_i]), context); - } - if (output.reservedInstancesSet === "") { - contents[_RIIes] = []; - } else if (output[_rIS] != null && output[_rIS][_i] != null) { - contents[_RIIes] = de_ReservedIntancesIds((0, import_smithy_client.getArrayIfSingleItem)(output[_rIS][_i]), context); - } - if (output[_rIMI] != null) { - contents[_RIMIe] = (0, import_smithy_client.expectString)(output[_rIMI]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output[_uDpd] != null) { - contents[_UDpd] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uDpd])); - } - return contents; -}, "de_ReservedInstancesModification"); -var de_ReservedInstancesModificationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ReservedInstancesModification(entry, context); - }); -}, "de_ReservedInstancesModificationList"); -var de_ReservedInstancesModificationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rII] != null) { - contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); - } - if (output[_tCa] != null) { - contents[_TCar] = de_ReservedInstancesConfiguration(output[_tCa], context); - } - return contents; -}, "de_ReservedInstancesModificationResult"); -var de_ReservedInstancesModificationResultList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ReservedInstancesModificationResult(entry, context); - }); -}, "de_ReservedInstancesModificationResultList"); -var de_ReservedInstancesOffering = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_du] != null) { - contents[_Du] = (0, import_smithy_client.strictParseLong)(output[_du]); - } - if (output[_fPi] != null) { - contents[_FPi] = (0, import_smithy_client.strictParseFloat)(output[_fPi]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_pDr] != null) { - contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]); - } - if (output[_rIOI] != null) { - contents[_RIOIe] = (0, import_smithy_client.expectString)(output[_rIOI]); - } - if (output[_uPs] != null) { - contents[_UPs] = (0, import_smithy_client.strictParseFloat)(output[_uPs]); - } - if (output[_cC] != null) { - contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); - } - if (output[_iTns] != null) { - contents[_ITns] = (0, import_smithy_client.expectString)(output[_iTns]); - } - if (output[_mar] != null) { - contents[_Mar] = (0, import_smithy_client.parseBoolean)(output[_mar]); - } - if (output[_oC] != null) { - contents[_OC] = (0, import_smithy_client.expectString)(output[_oC]); - } - if (output[_oTf] != null) { - contents[_OT] = (0, import_smithy_client.expectString)(output[_oTf]); - } - if (output.pricingDetailsSet === "") { - contents[_PDri] = []; - } else if (output[_pDS] != null && output[_pDS][_i] != null) { - contents[_PDri] = de_PricingDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pDS][_i]), context); - } - if (output.recurringCharges === "") { - contents[_RCec] = []; - } else if (output[_rCec] != null && output[_rCec][_i] != null) { - contents[_RCec] = de_RecurringChargesList((0, import_smithy_client.getArrayIfSingleItem)(output[_rCec][_i]), context); - } - if (output[_sc] != null) { - contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]); - } - return contents; -}, "de_ReservedInstancesOffering"); -var de_ReservedInstancesOfferingList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ReservedInstancesOffering(entry, context); - }); -}, "de_ReservedInstancesOfferingList"); -var de_ReservedIntancesIds = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ReservedInstancesId(entry, context); - }); -}, "de_ReservedIntancesIds"); -var de_ResetAddressAttributeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ad] != null) { - contents[_Ad] = de_AddressAttribute(output[_ad], context); - } - return contents; -}, "de_ResetAddressAttributeResult"); -var de_ResetEbsDefaultKmsKeyIdResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_kKI] != null) { - contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); - } - return contents; -}, "de_ResetEbsDefaultKmsKeyIdResult"); -var de_ResetFpgaImageAttributeResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_ResetFpgaImageAttributeResult"); -var de_ResourceStatement = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.resourceSet === "") { - contents[_R] = []; - } else if (output[_rSeso] != null && output[_rSeso][_i] != null) { - contents[_R] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSeso][_i]), context); - } - if (output.resourceTypeSet === "") { - contents[_RTeso] = []; - } else if (output[_rTSes] != null && output[_rTSes][_i] != null) { - contents[_RTeso] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTSes][_i]), context); - } - return contents; -}, "de_ResourceStatement"); -var de_ResponseError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_ResponseError"); -var de_ResponseHostIdList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_ResponseHostIdList"); -var de_ResponseHostIdSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_ResponseHostIdSet"); -var de_ResponseLaunchTemplateData = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_kI] != null) { - contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); - } - if (output[_eO] != null) { - contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); - } - if (output[_iIP] != null) { - contents[_IIP] = de_LaunchTemplateIamInstanceProfileSpecification(output[_iIP], context); - } - if (output.blockDeviceMappingSet === "") { - contents[_BDM] = []; - } else if (output[_bDMS] != null && output[_bDMS][_i] != null) { - contents[_BDM] = de_LaunchTemplateBlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDMS][_i]), context); - } - if (output.networkInterfaceSet === "") { - contents[_NI] = []; - } else if (output[_nIS] != null && output[_nIS][_i] != null) { - contents[_NI] = de_LaunchTemplateInstanceNetworkInterfaceSpecificationList( - (0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), - context - ); - } - 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[_CO] = de_LaunchTemplateCpuOptions(output[_cO], context); - } - if (output[_cRSa] != null) { - contents[_CRS] = de_LaunchTemplateCapacityReservationSpecificationResponse(output[_cRSa], context); - } - if (output.licenseSet === "") { - contents[_LSi] = []; - } else if (output[_lSi] != null && output[_lSi][_i] != null) { - contents[_LSi] = de_LaunchTemplateLicenseList((0, import_smithy_client.getArrayIfSingleItem)(output[_lSi][_i]), context); - } - if (output[_hO] != null) { - contents[_HO] = de_LaunchTemplateHibernationOptions(output[_hO], context); - } - if (output[_mO] != null) { - contents[_MO] = de_LaunchTemplateInstanceMetadataOptions(output[_mO], context); - } - if (output[_eOn] != null) { - contents[_EOn] = de_LaunchTemplateEnclaveOptions(output[_eOn], context); - } - if (output[_iR] != null) { - contents[_IR] = de_InstanceRequirements(output[_iR], context); - } - if (output[_pDNO] != null) { - contents[_PDNO] = de_LaunchTemplatePrivateDnsNameOptions(output[_pDNO], context); - } - if (output[_mOa] != null) { - contents[_MOa] = de_LaunchTemplateInstanceMaintenanceOptions(output[_mOa], context); - } - if (output[_dASi] != null) { - contents[_DAS] = (0, import_smithy_client.parseBoolean)(output[_dASi]); - } - return contents; -}, "de_ResponseLaunchTemplateData"); -var de_RestoreAddressToClassicResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pI] != null) { - contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - return contents; -}, "de_RestoreAddressToClassicResult"); -var de_RestoreImageFromRecycleBinResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_RestoreImageFromRecycleBinResult"); -var de_RestoreManagedPrefixListVersionResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pL] != null) { - contents[_PLr] = de_ManagedPrefixList(output[_pL], context); - } - return contents; -}, "de_RestoreManagedPrefixListVersionResult"); -var de_RestoreSnapshotFromRecycleBinResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_enc] != null) { - contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_pro] != null) { - contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); - } - if (output[_sT] != null) { - contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); - } - if (output[_sta] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_vIo] != null) { - contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); - } - if (output[_vSo] != null) { - contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]); - } - if (output[_sTs] != null) { - contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]); - } - return contents; -}, "de_RestoreSnapshotFromRecycleBinResult"); -var de_RestoreSnapshotTierResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_rST] != null) { - contents[_RSTe] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rST])); - } - if (output[_rD] != null) { - contents[_RD] = (0, import_smithy_client.strictParseInt32)(output[_rD]); - } - if (output[_iPR] != null) { - contents[_IPR] = (0, import_smithy_client.parseBoolean)(output[_iPR]); - } - return contents; -}, "de_RestoreSnapshotTierResult"); -var de_RevokeClientVpnIngressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sta] != null) { - contents[_Statu] = de_ClientVpnAuthorizationRuleStatus(output[_sta], context); - } - return contents; -}, "de_RevokeClientVpnIngressResult"); -var de_RevokeSecurityGroupEgressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - if (output.unknownIpPermissionSet === "") { - contents[_UIP] = []; - } else if (output[_uIPS] != null && output[_uIPS][_i] != null) { - contents[_UIP] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIPS][_i]), context); - } - return contents; -}, "de_RevokeSecurityGroupEgressResult"); -var de_RevokeSecurityGroupIngressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - if (output.unknownIpPermissionSet === "") { - contents[_UIP] = []; - } else if (output[_uIPS] != null && output[_uIPS][_i] != null) { - contents[_UIP] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIPS][_i]), context); - } - return contents; -}, "de_RevokeSecurityGroupIngressResult"); -var de_RootDeviceTypeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_RootDeviceTypeList"); -var de_Route = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dCB] != null) { - contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); - } - if (output[_dICB] != null) { - contents[_DICB] = (0, import_smithy_client.expectString)(output[_dICB]); - } - if (output[_dPLI] != null) { - contents[_DPLI] = (0, import_smithy_client.expectString)(output[_dPLI]); - } - if (output[_eOIGI] != null) { - contents[_EOIGI] = (0, import_smithy_client.expectString)(output[_eOIGI]); - } - if (output[_gI] != null) { - contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_iOIn] != null) { - contents[_IOIn] = (0, import_smithy_client.expectString)(output[_iOIn]); - } - if (output[_nGI] != null) { - contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_lGI] != null) { - contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); - } - if (output[_cGI] != null) { - contents[_CGI] = (0, import_smithy_client.expectString)(output[_cGI]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_o] != null) { - contents[_Or] = (0, import_smithy_client.expectString)(output[_o]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_vPCI] != null) { - contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); - } - if (output[_cNA] != null) { - contents[_CNAo] = (0, import_smithy_client.expectString)(output[_cNA]); - } - return contents; -}, "de_Route"); -var de_RouteList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Route(entry, context); - }); -}, "de_RouteList"); -var de_RouteTable = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.associationSet === "") { - contents[_Ass] = []; - } else if (output[_aSss] != null && output[_aSss][_i] != null) { - contents[_Ass] = de_RouteTableAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSss][_i]), context); - } - if (output.propagatingVgwSet === "") { - contents[_PVr] = []; - } else if (output[_pVS] != null && output[_pVS][_i] != null) { - contents[_PVr] = de_PropagatingVgwList((0, import_smithy_client.getArrayIfSingleItem)(output[_pVS][_i]), context); - } - if (output[_rTI] != null) { - contents[_RTI] = (0, import_smithy_client.expectString)(output[_rTI]); - } - if (output.routeSet === "") { - contents[_Rou] = []; - } else if (output[_rSo] != null && output[_rSo][_i] != null) { - contents[_Rou] = de_RouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSo][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - return contents; -}, "de_RouteTable"); -var de_RouteTableAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_mai] != null) { - contents[_Mai] = (0, import_smithy_client.parseBoolean)(output[_mai]); - } - if (output[_rTAI] != null) { - contents[_RTAI] = (0, import_smithy_client.expectString)(output[_rTAI]); - } - if (output[_rTI] != null) { - contents[_RTI] = (0, import_smithy_client.expectString)(output[_rTI]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_gI] != null) { - contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]); - } - if (output[_aS] != null) { - contents[_ASs] = de_RouteTableAssociationState(output[_aS], context); - } - return contents; -}, "de_RouteTableAssociation"); -var de_RouteTableAssociationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_RouteTableAssociation(entry, context); - }); -}, "de_RouteTableAssociationList"); -var de_RouteTableAssociationState = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - return contents; -}, "de_RouteTableAssociationState"); -var de_RouteTableList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_RouteTable(entry, context); - }); -}, "de_RouteTableList"); -var de_RuleGroupRuleOptionsPair = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rGA] != null) { - contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]); - } - if (output.ruleOptionSet === "") { - contents[_ROu] = []; - } else if (output[_rOS] != null && output[_rOS][_i] != null) { - contents[_ROu] = de_RuleOptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_rOS][_i]), context); - } - return contents; -}, "de_RuleGroupRuleOptionsPair"); -var de_RuleGroupRuleOptionsPairList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_RuleGroupRuleOptionsPair(entry, context); - }); -}, "de_RuleGroupRuleOptionsPairList"); -var de_RuleGroupTypePair = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rGA] != null) { - contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]); - } - if (output[_rGT] != null) { - contents[_RGT] = (0, import_smithy_client.expectString)(output[_rGT]); - } - return contents; -}, "de_RuleGroupTypePair"); -var de_RuleGroupTypePairList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_RuleGroupTypePair(entry, context); - }); -}, "de_RuleGroupTypePairList"); -var de_RuleOption = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_key] != null) { - contents[_Key] = (0, import_smithy_client.expectString)(output[_key]); - } - if (output.settingSet === "") { - contents[_Set] = []; - } else if (output[_sSe] != null && output[_sSe][_i] != null) { - contents[_Set] = de_StringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSe][_i]), context); - } - return contents; -}, "de_RuleOption"); -var de_RuleOptionList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_RuleOption(entry, context); - }); -}, "de_RuleOptionList"); -var de_RunInstancesMonitoringEnabled = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_en] != null) { - contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); - } - return contents; -}, "de_RunInstancesMonitoringEnabled"); -var de_RunScheduledInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instanceIdSet === "") { - contents[_IIS] = []; - } else if (output[_iIS] != null && output[_iIS][_i] != null) { - contents[_IIS] = de_InstanceIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIS][_i]), context); - } - return contents; -}, "de_RunScheduledInstancesResult"); -var de_S3Storage = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_AWSAKI] != null) { - contents[_AWSAKI] = (0, import_smithy_client.expectString)(output[_AWSAKI]); - } - if (output[_bu] != null) { - contents[_B] = (0, import_smithy_client.expectString)(output[_bu]); - } - if (output[_pre] != null) { - contents[_Pr] = (0, import_smithy_client.expectString)(output[_pre]); - } - if (output[_uPp] != null) { - contents[_UP] = context.base64Decoder(output[_uPp]); - } - if (output[_uPS] != null) { - contents[_UPS] = (0, import_smithy_client.expectString)(output[_uPS]); - } - return contents; -}, "de_S3Storage"); -var de_ScheduledInstance = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_cD] != null) { - contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD])); - } - if (output[_hPo] != null) { - contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); - } - if (output[_iC] != null) { - contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_nPe] != null) { - contents[_NPe] = (0, import_smithy_client.expectString)(output[_nPe]); - } - if (output[_nSST] != null) { - contents[_NSST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nSST])); - } - if (output[_pl] != null) { - contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); - } - if (output[_pSET] != null) { - contents[_PSET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_pSET])); - } - if (output[_rec] != null) { - contents[_Rec] = de_ScheduledInstanceRecurrence(output[_rec], context); - } - if (output[_sIIc] != null) { - contents[_SIIch] = (0, import_smithy_client.expectString)(output[_sIIc]); - } - if (output[_sDIH] != null) { - contents[_SDIH] = (0, import_smithy_client.strictParseInt32)(output[_sDIH]); - } - if (output[_tED] != null) { - contents[_TED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tED])); - } - if (output[_tSD] != null) { - contents[_TSD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tSD])); - } - if (output[_tSIH] != null) { - contents[_TSIH] = (0, import_smithy_client.strictParseInt32)(output[_tSIH]); - } - return contents; -}, "de_ScheduledInstance"); -var de_ScheduledInstanceAvailability = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_aICv] != null) { - contents[_AICv] = (0, import_smithy_client.strictParseInt32)(output[_aICv]); - } - if (output[_fSST] != null) { - contents[_FSST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_fSST])); - } - if (output[_hPo] != null) { - contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_mTDID] != null) { - contents[_MTDID] = (0, import_smithy_client.strictParseInt32)(output[_mTDID]); - } - if (output[_mTDIDi] != null) { - contents[_MTDIDi] = (0, import_smithy_client.strictParseInt32)(output[_mTDIDi]); - } - 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[_Rou] = []; - } else if (output[_rSo] != null && output[_rSo][_i] != null) { - contents[_Rou] = de_LocalGatewayRouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSo][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_SearchLocalGatewayRoutesResult"); -var de_SearchTransitGatewayMulticastGroupsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.multicastGroups === "") { - contents[_MG] = []; - } else if (output[_mG] != null && output[_mG][_i] != null) { - contents[_MG] = de_TransitGatewayMulticastGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_mG][_i]), context); - } - if (output[_nTe] != null) { - contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); - } - return contents; -}, "de_SearchTransitGatewayMulticastGroupsResult"); -var de_SearchTransitGatewayRoutesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.routeSet === "") { - contents[_Rou] = []; - } else if (output[_rSo] != null && output[_rSo][_i] != null) { - contents[_Rou] = de_TransitGatewayRouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSo][_i]), context); - } - if (output[_aRAd] != null) { - contents[_ARAd] = (0, import_smithy_client.parseBoolean)(output[_aRAd]); - } - return contents; -}, "de_SearchTransitGatewayRoutesResult"); -var de_SecurityGroup = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gD] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_gD]); - } - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - if (output.ipPermissions === "") { - contents[_IPpe] = []; - } else if (output[_iPpe] != null && output[_iPpe][_i] != null) { - contents[_IPpe] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPpe][_i]), context); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - if (output.ipPermissionsEgress === "") { - contents[_IPE] = []; - } else if (output[_iPE] != null && output[_iPE][_i] != null) { - contents[_IPE] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPE][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - return contents; -}, "de_SecurityGroup"); -var de_SecurityGroupForVpc = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_pVI] != null) { - contents[_PVIr] = (0, import_smithy_client.expectString)(output[_pVI]); - } - return contents; -}, "de_SecurityGroupForVpc"); -var de_SecurityGroupForVpcList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_SecurityGroupForVpc(entry, context); - }); -}, "de_SecurityGroupForVpcList"); -var de_SecurityGroupIdentifier = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - return contents; -}, "de_SecurityGroupIdentifier"); -var de_SecurityGroupIdList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_SecurityGroupIdList"); -var de_SecurityGroupIdSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_SecurityGroupIdSet"); -var de_SecurityGroupIdStringList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_SecurityGroupIdStringList"); -var de_SecurityGroupList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_SecurityGroup(entry, context); - }); -}, "de_SecurityGroupList"); -var de_SecurityGroupReference = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - if (output[_rVI] != null) { - contents[_RVI] = (0, import_smithy_client.expectString)(output[_rVI]); - } - if (output[_vPCI] != null) { - contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - return contents; -}, "de_SecurityGroupReference"); -var de_SecurityGroupReferences = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_SecurityGroupReference(entry, context); - }); -}, "de_SecurityGroupReferences"); -var de_SecurityGroupRule = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sGRI] != null) { - contents[_SGRIe] = (0, import_smithy_client.expectString)(output[_sGRI]); - } - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - if (output[_gOI] != null) { - contents[_GOI] = (0, import_smithy_client.expectString)(output[_gOI]); - } - if (output[_iEs] != null) { - contents[_IE] = (0, import_smithy_client.parseBoolean)(output[_iEs]); - } - if (output[_iPpr] != null) { - contents[_IPpr] = (0, import_smithy_client.expectString)(output[_iPpr]); - } - if (output[_fP] != null) { - contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]); - } - if (output[_tPo] != null) { - contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]); - } - if (output[_cIidr] != null) { - contents[_CIidr] = (0, import_smithy_client.expectString)(output[_cIidr]); - } - if (output[_cIid] != null) { - contents[_CIid] = (0, import_smithy_client.expectString)(output[_cIid]); - } - if (output[_pLI] != null) { - contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); - } - if (output[_rGI] != null) { - contents[_RGIe] = de_ReferencedSecurityGroup(output[_rGI], context); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_SecurityGroupRule"); -var de_SecurityGroupRuleList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_SecurityGroupRule(entry, context); - }); -}, "de_SecurityGroupRuleList"); -var de_ServiceConfiguration = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.serviceType === "") { - contents[_STe] = []; - } else if (output[_sTe] != null && output[_sTe][_i] != null) { - contents[_STe] = de_ServiceTypeDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sTe][_i]), context); - } - if (output[_sI] != null) { - contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); - } - if (output[_sN] != null) { - contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]); - } - if (output[_sSer] != null) { - contents[_SSe] = (0, import_smithy_client.expectString)(output[_sSer]); - } - if (output.availabilityZoneSet === "") { - contents[_AZv] = []; - } else if (output[_aZS] != null && output[_aZS][_i] != null) { - contents[_AZv] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZS][_i]), context); - } - if (output[_aRcc] != null) { - contents[_ARc] = (0, import_smithy_client.parseBoolean)(output[_aRcc]); - } - if (output[_mVE] != null) { - contents[_MVEa] = (0, import_smithy_client.parseBoolean)(output[_mVE]); - } - if (output.networkLoadBalancerArnSet === "") { - contents[_NLBAe] = []; - } else if (output[_nLBAS] != null && output[_nLBAS][_i] != null) { - contents[_NLBAe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_nLBAS][_i]), context); - } - if (output.gatewayLoadBalancerArnSet === "") { - contents[_GLBA] = []; - } else if (output[_gLBAS] != null && output[_gLBAS][_i] != null) { - contents[_GLBA] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_gLBAS][_i]), context); - } - if (output.supportedIpAddressTypeSet === "") { - contents[_SIAT] = []; - } else if (output[_sIATS] != null && output[_sIATS][_i] != null) { - contents[_SIAT] = de_SupportedIpAddressTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_sIATS][_i]), context); - } - if (output.baseEndpointDnsNameSet === "") { - contents[_BEDN] = []; - } else if (output[_bEDNS] != null && output[_bEDNS][_i] != null) { - contents[_BEDN] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_bEDNS][_i]), context); - } - if (output[_pDN] != null) { - contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); - } - if (output[_pDNC] != null) { - contents[_PDNC] = de_PrivateDnsNameConfiguration(output[_pDNC], context); - } - if (output[_pRa] != null) { - contents[_PRa] = (0, import_smithy_client.expectString)(output[_pRa]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_ServiceConfiguration"); -var de_ServiceConfigurationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ServiceConfiguration(entry, context); - }); -}, "de_ServiceConfigurationSet"); -var de_ServiceDetail = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sN] != null) { - contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]); - } - if (output[_sI] != null) { - contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); - } - if (output.serviceType === "") { - contents[_STe] = []; - } else if (output[_sTe] != null && output[_sTe][_i] != null) { - contents[_STe] = de_ServiceTypeDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sTe][_i]), context); - } - if (output.availabilityZoneSet === "") { - contents[_AZv] = []; - } else if (output[_aZS] != null && output[_aZS][_i] != null) { - contents[_AZv] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZS][_i]), context); - } - if (output[_ow] != null) { - contents[_Own] = (0, import_smithy_client.expectString)(output[_ow]); - } - if (output.baseEndpointDnsNameSet === "") { - contents[_BEDN] = []; - } else if (output[_bEDNS] != null && output[_bEDNS][_i] != null) { - contents[_BEDN] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_bEDNS][_i]), context); - } - if (output[_pDN] != null) { - contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); - } - if (output.privateDnsNameSet === "") { - contents[_PDNr] = []; - } else if (output[_pDNS] != null && output[_pDNS][_i] != null) { - contents[_PDNr] = de_PrivateDnsDetailsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pDNS][_i]), context); - } - if (output[_vEPS] != null) { - contents[_VEPS] = (0, import_smithy_client.parseBoolean)(output[_vEPS]); - } - if (output[_aRcc] != null) { - contents[_ARc] = (0, import_smithy_client.parseBoolean)(output[_aRcc]); - } - if (output[_mVE] != null) { - contents[_MVEa] = (0, import_smithy_client.parseBoolean)(output[_mVE]); - } - if (output[_pRa] != null) { - contents[_PRa] = (0, import_smithy_client.expectString)(output[_pRa]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_pDNVS] != null) { - contents[_PDNVS] = (0, import_smithy_client.expectString)(output[_pDNVS]); - } - if (output.supportedIpAddressTypeSet === "") { - contents[_SIAT] = []; - } else if (output[_sIATS] != null && output[_sIATS][_i] != null) { - contents[_SIAT] = de_SupportedIpAddressTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_sIATS][_i]), context); - } - return contents; -}, "de_ServiceDetail"); -var de_ServiceDetailSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ServiceDetail(entry, context); - }); -}, "de_ServiceDetailSet"); -var de_ServiceTypeDetail = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sTe] != null) { - contents[_STe] = (0, import_smithy_client.expectString)(output[_sTe]); - } - return contents; -}, "de_ServiceTypeDetail"); -var de_ServiceTypeDetailSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ServiceTypeDetail(entry, context); - }); -}, "de_ServiceTypeDetailSet"); -var de_Snapshot = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dEKI] != null) { - contents[_DEKI] = (0, import_smithy_client.expectString)(output[_dEKI]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_enc] != null) { - contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); - } - if (output[_kKI] != null) { - contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_pro] != null) { - contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); - } - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_sT] != null) { - contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); - } - if (output[_sta] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_sM] != null) { - contents[_SMt] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output[_vIo] != null) { - contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); - } - if (output[_vSo] != null) { - contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]); - } - if (output[_oAw] != null) { - contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]); - } - 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]); - } - 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[_rSe] != null) { - contents[_RS] = (0, import_smithy_client.expectString)(output[_rSe]); - } - if (output[_tD] != null) { - contents[_TDe] = (0, import_smithy_client.strictParseInt32)(output[_tD]); - } - return contents; -}, "de_SpotCapacityRebalance"); -var de_SpotDatafeedSubscription = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_bu] != null) { - contents[_B] = (0, import_smithy_client.expectString)(output[_bu]); - } - if (output[_fa] != null) { - contents[_Fa] = de_SpotInstanceStateFault(output[_fa], context); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_pre] != null) { - contents[_Pr] = (0, import_smithy_client.expectString)(output[_pre]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_SpotDatafeedSubscription"); -var de_SpotFleetLaunchSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.groupSet === "") { - contents[_SG] = []; - } else if (output[_gS] != null && output[_gS][_i] != null) { - contents[_SG] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); - } - if (output[_aTdd] != null) { - contents[_ATd] = (0, import_smithy_client.expectString)(output[_aTdd]); - } - if (output.blockDeviceMapping === "") { - contents[_BDM] = []; - } else if (output[_bDM] != null && output[_bDM][_i] != null) { - contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); - } - if (output[_eO] != null) { - contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); - } - if (output[_iIP] != null) { - contents[_IIP] = de_IamInstanceProfileSpecification(output[_iIP], context); - } - if (output[_iIma] != null) { - contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); - } - if (output[_iT] != null) { - contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); - } - if (output[_kI] != null) { - contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); - } - if (output[_kN] != null) { - contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); - } - if (output[_mo] != null) { - contents[_Mon] = de_SpotFleetMonitoring(output[_mo], context); - } - if (output.networkInterfaceSet === "") { - contents[_NI] = []; - } else if (output[_nIS] != null && output[_nIS][_i] != null) { - contents[_NI] = de_InstanceNetworkInterfaceSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context); - } - if (output[_pla] != null) { - contents[_Pl] = de_SpotPlacement(output[_pla], context); - } - if (output[_rIa] != null) { - contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]); - } - if (output[_sPp] != null) { - contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_uDs] != null) { - contents[_UD] = (0, import_smithy_client.expectString)(output[_uDs]); - } - if (output[_wC] != null) { - contents[_WC] = (0, import_smithy_client.strictParseFloat)(output[_wC]); - } - if (output.tagSpecificationSet === "") { - contents[_TS] = []; - } else if (output[_tSS] != null && output[_tSS][_i] != null) { - contents[_TS] = de_SpotFleetTagSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_tSS][_i]), context); - } - if (output[_iR] != null) { - contents[_IR] = de_InstanceRequirements(output[_iR], context); - } - return contents; -}, "de_SpotFleetLaunchSpecification"); -var de_SpotFleetMonitoring = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_en] != null) { - contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); - } - return contents; -}, "de_SpotFleetMonitoring"); -var de_SpotFleetRequestConfig = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aSc] != null) { - contents[_ASc] = (0, import_smithy_client.expectString)(output[_aSc]); - } - if (output[_cTr] != null) { - contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); - } - if (output[_sFRC] != null) { - contents[_SFRC] = de_SpotFleetRequestConfigData(output[_sFRC], context); - } - if (output[_sFRI] != null) { - contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); - } - if (output[_sFRSp] != null) { - contents[_SFRS] = (0, import_smithy_client.expectString)(output[_sFRSp]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_SpotFleetRequestConfig"); -var de_SpotFleetRequestConfigData = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aSl] != null) { - contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]); - } - if (output[_oDAS] != null) { - contents[_ODAS] = (0, import_smithy_client.expectString)(output[_oDAS]); - } - if (output[_sMS] != null) { - contents[_SMS] = de_SpotMaintenanceStrategies(output[_sMS], context); - } - if (output[_cT] != null) { - contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); - } - if (output[_eCTP] != null) { - contents[_ECTP] = (0, import_smithy_client.expectString)(output[_eCTP]); - } - if (output[_fC] != null) { - contents[_FC] = (0, import_smithy_client.strictParseFloat)(output[_fC]); - } - if (output[_oDFC] != null) { - contents[_ODFC] = (0, import_smithy_client.strictParseFloat)(output[_oDFC]); - } - if (output[_iFR] != null) { - contents[_IFR] = (0, import_smithy_client.expectString)(output[_iFR]); - } - if (output.launchSpecifications === "") { - contents[_LSau] = []; - } else if (output[_lSa] != null && output[_lSa][_i] != null) { - contents[_LSau] = de_LaunchSpecsList((0, import_smithy_client.getArrayIfSingleItem)(output[_lSa][_i]), context); - } - 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[_reg] != null) { - contents[_Regi] = (0, import_smithy_client.expectString)(output[_reg]); - } - if (output[_aZI] != null) { - contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); - } - if (output[_sco] != null) { - contents[_Sco] = (0, import_smithy_client.strictParseInt32)(output[_sco]); - } - return contents; -}, "de_SpotPlacementScore"); -var de_SpotPlacementScores = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_SpotPlacementScore(entry, context); - }); -}, "de_SpotPlacementScores"); -var de_SpotPrice = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - 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_StartInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instancesSet === "") { - contents[_SIta] = []; - } else if (output[_iSn] != null && output[_iSn][_i] != null) { - contents[_SIta] = de_InstanceStateChangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); - } - return contents; -}, "de_StartInstancesResult"); -var de_StartNetworkInsightsAccessScopeAnalysisResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIASAe] != null) { - contents[_NIASAet] = de_NetworkInsightsAccessScopeAnalysis(output[_nIASAe], context); - } - return contents; -}, "de_StartNetworkInsightsAccessScopeAnalysisResult"); -var de_StartNetworkInsightsAnalysisResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nIA] != null) { - contents[_NIAe] = de_NetworkInsightsAnalysis(output[_nIA], context); - } - return contents; -}, "de_StartNetworkInsightsAnalysisResult"); -var de_StartVpcEndpointServicePrivateDnsVerificationResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_StartVpcEndpointServicePrivateDnsVerificationResult"); -var de_StateReason = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_StateReason"); -var de_StopInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instancesSet === "") { - contents[_SIto] = []; - } else if (output[_iSn] != null && output[_iSn][_i] != null) { - contents[_SIto] = de_InstanceStateChangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); - } - return contents; -}, "de_StopInstancesResult"); -var de_Storage = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_S_] != null) { - contents[_S_] = de_S3Storage(output[_S_], context); - } - return contents; -}, "de_Storage"); -var de_StoreImageTaskResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIm] != null) { - contents[_AIm] = (0, import_smithy_client.expectString)(output[_aIm]); - } - if (output[_tSTa] != null) { - contents[_TSTa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tSTa])); - } - if (output[_bu] != null) { - contents[_B] = (0, import_smithy_client.expectString)(output[_bu]); - } - if (output[_sKo] != null) { - contents[_SKo] = (0, import_smithy_client.expectString)(output[_sKo]); - } - if (output[_pP] != null) { - contents[_PP] = (0, import_smithy_client.strictParseInt32)(output[_pP]); - } - if (output[_sTS] != null) { - contents[_STSt] = (0, import_smithy_client.expectString)(output[_sTS]); - } - if (output[_sTFR] != null) { - contents[_STFR] = (0, import_smithy_client.expectString)(output[_sTFR]); - } - return contents; -}, "de_StoreImageTaskResult"); -var de_StoreImageTaskResultSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_StoreImageTaskResult(entry, context); - }); -}, "de_StoreImageTaskResultSet"); -var de_StringList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_StringList"); -var de_Subnet = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_aZI] != null) { - contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); - } - if (output[_aIAC] != null) { - contents[_AIAC] = (0, import_smithy_client.strictParseInt32)(output[_aIAC]); - } - if (output[_cB] != null) { - contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); - } - if (output[_dFA] != null) { - contents[_DFA] = (0, import_smithy_client.parseBoolean)(output[_dFA]); - } - if (output[_eLADI] != null) { - contents[_ELADI] = (0, import_smithy_client.strictParseInt32)(output[_eLADI]); - } - if (output[_mPIOL] != null) { - contents[_MPIOL] = (0, import_smithy_client.parseBoolean)(output[_mPIOL]); - } - if (output[_mCOIOL] != null) { - contents[_MCOIOL] = (0, import_smithy_client.parseBoolean)(output[_mCOIOL]); - } - if (output[_cOIP] != null) { - contents[_COIP] = (0, import_smithy_client.expectString)(output[_cOIP]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_aIAOC] != null) { - contents[_AIAOC] = (0, import_smithy_client.parseBoolean)(output[_aIAOC]); - } - if (output.ipv6CidrBlockAssociationSet === "") { - contents[_ICBAS] = []; - } else if (output[_iCBAS] != null && output[_iCBAS][_i] != null) { - contents[_ICBAS] = de_SubnetIpv6CidrBlockAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBAS][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_sAub] != null) { - contents[_SAub] = (0, import_smithy_client.expectString)(output[_sAub]); - } - if (output[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output[_eDn] != null) { - contents[_EDn] = (0, import_smithy_client.parseBoolean)(output[_eDn]); - } - if (output[_iN] != null) { - contents[_IN] = (0, import_smithy_client.parseBoolean)(output[_iN]); - } - if (output[_pDNOOL] != null) { - contents[_PDNOOL] = de_PrivateDnsNameOptionsOnLaunch(output[_pDNOOL], context); - } - return contents; -}, "de_Subnet"); -var de_SubnetAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_SubnetAssociation"); -var de_SubnetAssociationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_SubnetAssociation(entry, context); - }); -}, "de_SubnetAssociationList"); -var de_SubnetCidrBlockState = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - return contents; -}, "de_SubnetCidrBlockState"); -var de_SubnetCidrReservation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sCRI] != null) { - contents[_SCRI] = (0, import_smithy_client.expectString)(output[_sCRI]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_ci] != null) { - contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); - } - if (output[_rT] != null) { - contents[_RTe] = (0, import_smithy_client.expectString)(output[_rT]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_SubnetCidrReservation"); -var de_SubnetCidrReservationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_SubnetCidrReservation(entry, context); - }); -}, "de_SubnetCidrReservationList"); -var de_SubnetIpv6CidrBlockAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_iCB] != null) { - contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]); - } - if (output[_iCBS] != null) { - contents[_ICBS] = de_SubnetCidrBlockState(output[_iCBS], context); - } - return contents; -}, "de_SubnetIpv6CidrBlockAssociation"); -var de_SubnetIpv6CidrBlockAssociationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_SubnetIpv6CidrBlockAssociation(entry, context); - }); -}, "de_SubnetIpv6CidrBlockAssociationSet"); -var de_SubnetList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Subnet(entry, context); - }); -}, "de_SubnetList"); -var de_Subscription = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_s] != null) { - contents[_S] = (0, import_smithy_client.expectString)(output[_s]); - } - 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_Tag = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_k] != null) { - contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]); - } - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - return contents; -}, "de_Tag"); -var de_TagDescription = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_k] != null) { - contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_v] != null) { - contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); - } - return contents; -}, "de_TagDescription"); -var de_TagDescriptionList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TagDescription(entry, context); - }); -}, "de_TagDescriptionList"); -var de_TagList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Tag(entry, context); - }); -}, "de_TagList"); -var de_TagSpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output.Tag === "") { - contents[_Ta] = []; - } else if (output[_Tag] != null && output[_Tag][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_Tag][_i]), context); - } - return contents; -}, "de_TagSpecification"); -var de_TagSpecificationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TagSpecification(entry, context); - }); -}, "de_TagSpecificationList"); -var de_TargetCapacitySpecification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tTC] != null) { - contents[_TTC] = (0, import_smithy_client.strictParseInt32)(output[_tTC]); - } - if (output[_oDTC] != null) { - contents[_ODTC] = (0, import_smithy_client.strictParseInt32)(output[_oDTC]); - } - if (output[_sTC] != null) { - contents[_STC] = (0, import_smithy_client.strictParseInt32)(output[_sTC]); - } - if (output[_dTCT] != null) { - contents[_DTCT] = (0, import_smithy_client.expectString)(output[_dTCT]); - } - if (output[_tCUT] != null) { - contents[_TCUT] = (0, import_smithy_client.expectString)(output[_tCUT]); - } - return contents; -}, "de_TargetCapacitySpecification"); -var de_TargetConfiguration = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iC] != null) { - contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); - } - if (output[_oIf] != null) { - contents[_OI] = (0, import_smithy_client.expectString)(output[_oIf]); - } - return contents; -}, "de_TargetConfiguration"); -var de_TargetGroup = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_ar] != null) { - contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); - } - return contents; -}, "de_TargetGroup"); -var de_TargetGroups = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TargetGroup(entry, context); - }); -}, "de_TargetGroups"); -var de_TargetGroupsConfig = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.targetGroups === "") { - contents[_TG] = []; - } else if (output[_tGa] != null && output[_tGa][_i] != null) { - contents[_TG] = de_TargetGroups((0, import_smithy_client.getArrayIfSingleItem)(output[_tGa][_i]), context); - } - return contents; -}, "de_TargetGroupsConfig"); -var de_TargetNetwork = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_tNI] != null) { - contents[_TNI] = (0, import_smithy_client.expectString)(output[_tNI]); - } - if (output[_cVEI] != null) { - contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); - } - if (output[_sta] != null) { - contents[_Statu] = de_AssociationStatus(output[_sta], context); - } - if (output.securityGroups === "") { - contents[_SG] = []; - } else if (output[_sGe] != null && output[_sGe][_i] != null) { - contents[_SG] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGe][_i]), context); - } - return contents; -}, "de_TargetNetwork"); -var de_TargetNetworkSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TargetNetwork(entry, context); - }); -}, "de_TargetNetworkSet"); -var de_TargetReservationValue = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rVe] != null) { - contents[_RVe] = de_ReservationValue(output[_rVe], context); - } - if (output[_tCa] != null) { - contents[_TCar] = de_TargetConfiguration(output[_tCa], context); - } - return contents; -}, "de_TargetReservationValue"); -var de_TargetReservationValueSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TargetReservationValue(entry, context); - }); -}, "de_TargetReservationValueSet"); -var de_TerminateClientVpnConnectionsResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cVEI] != null) { - contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); - } - if (output[_us] != null) { - contents[_Us] = (0, import_smithy_client.expectString)(output[_us]); - } - if (output.connectionStatuses === "") { - contents[_CSon] = []; - } else if (output[_cSon] != null && output[_cSon][_i] != null) { - contents[_CSon] = de_TerminateConnectionStatusSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cSon][_i]), context); - } - return contents; -}, "de_TerminateClientVpnConnectionsResult"); -var de_TerminateConnectionStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cIon] != null) { - contents[_CIo] = (0, import_smithy_client.expectString)(output[_cIon]); - } - if (output[_pSre] != null) { - contents[_PSre] = de_ClientVpnConnectionStatus(output[_pSre], context); - } - if (output[_cSur] != null) { - contents[_CSur] = de_ClientVpnConnectionStatus(output[_cSur], context); - } - return contents; -}, "de_TerminateConnectionStatus"); -var de_TerminateConnectionStatusSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TerminateConnectionStatus(entry, context); - }); -}, "de_TerminateConnectionStatusSet"); -var de_TerminateInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instancesSet === "") { - contents[_TIer] = []; - } else if (output[_iSn] != null && output[_iSn][_i] != null) { - contents[_TIer] = de_InstanceStateChangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); - } - return contents; -}, "de_TerminateInstancesResult"); -var de_ThreadsPerCoreList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.strictParseInt32)(entry); - }); -}, "de_ThreadsPerCoreList"); -var de_ThroughResourcesStatement = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rSes] != null) { - contents[_RSe] = de_ResourceStatement(output[_rSes], context); - } - return contents; -}, "de_ThroughResourcesStatement"); -var de_ThroughResourcesStatementList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_ThroughResourcesStatement(entry, context); - }); -}, "de_ThroughResourcesStatementList"); -var de_TotalLocalStorageGB = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_m] != null) { - contents[_M] = (0, import_smithy_client.strictParseFloat)(output[_m]); - } - if (output[_ma] != null) { - contents[_Ma] = (0, import_smithy_client.strictParseFloat)(output[_ma]); - } - return contents; -}, "de_TotalLocalStorageGB"); -var de_TrafficMirrorFilter = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMFI] != null) { - contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]); - } - if (output.ingressFilterRuleSet === "") { - contents[_IFRn] = []; - } else if (output[_iFRS] != null && output[_iFRS][_i] != null) { - contents[_IFRn] = de_TrafficMirrorFilterRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_iFRS][_i]), context); - } - if (output.egressFilterRuleSet === "") { - contents[_EFR] = []; - } else if (output[_eFRS] != null && output[_eFRS][_i] != null) { - contents[_EFR] = de_TrafficMirrorFilterRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_eFRS][_i]), context); - } - if (output.networkServiceSet === "") { - contents[_NSe] = []; - } else if (output[_nSS] != null && output[_nSS][_i] != null) { - contents[_NSe] = de_TrafficMirrorNetworkServiceList((0, import_smithy_client.getArrayIfSingleItem)(output[_nSS][_i]), context); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TrafficMirrorFilter"); -var de_TrafficMirrorFilterRule = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMFRI] != null) { - contents[_TMFRI] = (0, import_smithy_client.expectString)(output[_tMFRI]); - } - if (output[_tMFI] != null) { - contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]); - } - if (output[_tDr] != null) { - contents[_TD] = (0, import_smithy_client.expectString)(output[_tDr]); - } - if (output[_rN] != null) { - contents[_RNu] = (0, import_smithy_client.strictParseInt32)(output[_rN]); - } - if (output[_rA] != null) { - contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]); - } - if (output[_pr] != null) { - contents[_P] = (0, import_smithy_client.strictParseInt32)(output[_pr]); - } - if (output[_dPR] != null) { - contents[_DPR] = de_TrafficMirrorPortRange(output[_dPR], context); - } - if (output[_sPR] != null) { - contents[_SPR] = de_TrafficMirrorPortRange(output[_sPR], context); - } - if (output[_dCB] != null) { - contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); - } - if (output[_sCB] != null) { - contents[_SCB] = (0, import_smithy_client.expectString)(output[_sCB]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - return contents; -}, "de_TrafficMirrorFilterRule"); -var de_TrafficMirrorFilterRuleList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TrafficMirrorFilterRule(entry, context); - }); -}, "de_TrafficMirrorFilterRuleList"); -var de_TrafficMirrorFilterSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TrafficMirrorFilter(entry, context); - }); -}, "de_TrafficMirrorFilterSet"); -var de_TrafficMirrorNetworkServiceList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_TrafficMirrorNetworkServiceList"); -var de_TrafficMirrorPortRange = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_fP] != null) { - contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]); - } - if (output[_tPo] != null) { - contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]); - } - return contents; -}, "de_TrafficMirrorPortRange"); -var de_TrafficMirrorSession = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMSI] != null) { - contents[_TMSI] = (0, import_smithy_client.expectString)(output[_tMSI]); - } - if (output[_tMTI] != null) { - contents[_TMTI] = (0, import_smithy_client.expectString)(output[_tMTI]); - } - if (output[_tMFI] != null) { - contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_pLa] != null) { - contents[_PL] = (0, import_smithy_client.strictParseInt32)(output[_pLa]); - } - if (output[_sNes] != null) { - contents[_SN] = (0, import_smithy_client.strictParseInt32)(output[_sNes]); - } - if (output[_vNI] != null) { - contents[_VNI] = (0, import_smithy_client.strictParseInt32)(output[_vNI]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TrafficMirrorSession"); -var de_TrafficMirrorSessionSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TrafficMirrorSession(entry, context); - }); -}, "de_TrafficMirrorSessionSet"); -var de_TrafficMirrorTarget = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tMTI] != null) { - contents[_TMTI] = (0, import_smithy_client.expectString)(output[_tMTI]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_nLBA] != null) { - contents[_NLBA] = (0, import_smithy_client.expectString)(output[_nLBA]); - } - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_gLBEI] != null) { - contents[_GLBEI] = (0, import_smithy_client.expectString)(output[_gLBEI]); - } - return contents; -}, "de_TrafficMirrorTarget"); -var de_TrafficMirrorTargetSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TrafficMirrorTarget(entry, context); - }); -}, "de_TrafficMirrorTargetSet"); -var de_TransitGateway = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_tGAra] != null) { - contents[_TGAran] = (0, import_smithy_client.expectString)(output[_tGAra]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); - } - if (output[_op] != null) { - contents[_O] = de_TransitGatewayOptions(output[_op], context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TransitGateway"); -var de_TransitGatewayAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGRTI] != null) { - contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); - } - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_TransitGatewayAssociation"); -var de_TransitGatewayAttachment = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_tGOI] != null) { - contents[_TGOI] = (0, import_smithy_client.expectString)(output[_tGOI]); - } - if (output[_rOI] != null) { - contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_ass] != null) { - contents[_Asso] = de_TransitGatewayAttachmentAssociation(output[_ass], context); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TransitGatewayAttachment"); -var de_TransitGatewayAttachmentAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGRTI] != null) { - contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_TransitGatewayAttachmentAssociation"); -var de_TransitGatewayAttachmentBgpConfiguration = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGAran] != null) { - contents[_TGArans] = (0, import_smithy_client.strictParseLong)(output[_tGAran]); - } - if (output[_pAee] != null) { - contents[_PAee] = (0, import_smithy_client.strictParseLong)(output[_pAee]); - } - if (output[_tGArans] != null) { - contents[_TGA] = (0, import_smithy_client.expectString)(output[_tGArans]); - } - if (output[_pAe] != null) { - contents[_PAe] = (0, import_smithy_client.expectString)(output[_pAe]); - } - if (output[_bSg] != null) { - contents[_BS] = (0, import_smithy_client.expectString)(output[_bSg]); - } - return contents; -}, "de_TransitGatewayAttachmentBgpConfiguration"); -var de_TransitGatewayAttachmentBgpConfigurationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayAttachmentBgpConfiguration(entry, context); - }); -}, "de_TransitGatewayAttachmentBgpConfigurationList"); -var de_TransitGatewayAttachmentList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayAttachment(entry, context); - }); -}, "de_TransitGatewayAttachmentList"); -var de_TransitGatewayAttachmentPropagation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGRTI] != null) { - contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_TransitGatewayAttachmentPropagation"); -var de_TransitGatewayAttachmentPropagationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayAttachmentPropagation(entry, context); - }); -}, "de_TransitGatewayAttachmentPropagationList"); -var de_TransitGatewayConnect = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_tTGAI] != null) { - contents[_TTGAI] = (0, import_smithy_client.expectString)(output[_tTGAI]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); - } - if (output[_op] != null) { - contents[_O] = de_TransitGatewayConnectOptions(output[_op], context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TransitGatewayConnect"); -var de_TransitGatewayConnectList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayConnect(entry, context); - }); -}, "de_TransitGatewayConnectList"); -var de_TransitGatewayConnectOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pr] != null) { - contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); - } - return contents; -}, "de_TransitGatewayConnectOptions"); -var de_TransitGatewayConnectPeer = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_tGCPI] != null) { - contents[_TGCPI] = (0, import_smithy_client.expectString)(output[_tGCPI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); - } - if (output[_cPC] != null) { - contents[_CPC] = de_TransitGatewayConnectPeerConfiguration(output[_cPC], context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TransitGatewayConnectPeer"); -var de_TransitGatewayConnectPeerConfiguration = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGArans] != null) { - contents[_TGA] = (0, import_smithy_client.expectString)(output[_tGArans]); - } - if (output[_pAe] != null) { - contents[_PAe] = (0, import_smithy_client.expectString)(output[_pAe]); - } - if (output.insideCidrBlocks === "") { - contents[_ICBn] = []; - } else if (output[_iCBn] != null && output[_iCBn][_i] != null) { - contents[_ICBn] = de_InsideCidrBlocksStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBn][_i]), context); - } - if (output[_pr] != null) { - contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); - } - if (output.bgpConfigurations === "") { - contents[_BCg] = []; - } else if (output[_bCg] != null && output[_bCg][_i] != null) { - contents[_BCg] = de_TransitGatewayAttachmentBgpConfigurationList((0, import_smithy_client.getArrayIfSingleItem)(output[_bCg][_i]), context); - } - return contents; -}, "de_TransitGatewayConnectPeerConfiguration"); -var de_TransitGatewayConnectPeerList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayConnectPeer(entry, context); - }); -}, "de_TransitGatewayConnectPeerList"); -var de_TransitGatewayList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGateway(entry, context); - }); -}, "de_TransitGatewayList"); -var de_TransitGatewayMulticastDeregisteredGroupMembers = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGMDI] != null) { - contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); - } - if (output.deregisteredNetworkInterfaceIds === "") { - contents[_DNII] = []; - } else if (output[_dNII] != null && output[_dNII][_i] != null) { - contents[_DNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dNII][_i]), context); - } - if (output[_gIA] != null) { - contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]); - } - return contents; -}, "de_TransitGatewayMulticastDeregisteredGroupMembers"); -var de_TransitGatewayMulticastDeregisteredGroupSources = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGMDI] != null) { - contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); - } - if (output.deregisteredNetworkInterfaceIds === "") { - contents[_DNII] = []; - } else if (output[_dNII] != null && output[_dNII][_i] != null) { - contents[_DNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dNII][_i]), context); - } - if (output[_gIA] != null) { - contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]); - } - return contents; -}, "de_TransitGatewayMulticastDeregisteredGroupSources"); -var de_TransitGatewayMulticastDomain = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGMDI] != null) { - contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_tGMDA] != null) { - contents[_TGMDA] = (0, import_smithy_client.expectString)(output[_tGMDA]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_op] != null) { - contents[_O] = de_TransitGatewayMulticastDomainOptions(output[_op], context); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TransitGatewayMulticastDomain"); -var de_TransitGatewayMulticastDomainAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_rOI] != null) { - contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); - } - if (output[_su] != null) { - contents[_Su] = de_SubnetAssociation(output[_su], context); - } - return contents; -}, "de_TransitGatewayMulticastDomainAssociation"); -var de_TransitGatewayMulticastDomainAssociationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayMulticastDomainAssociation(entry, context); - }); -}, "de_TransitGatewayMulticastDomainAssociationList"); -var de_TransitGatewayMulticastDomainAssociations = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGMDI] != null) { - contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); - } - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_rOI] != null) { - contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); - } - if (output.subnets === "") { - contents[_Subn] = []; - } else if (output[_sub] != null && output[_sub][_i] != null) { - contents[_Subn] = de_SubnetAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_sub][_i]), context); - } - return contents; -}, "de_TransitGatewayMulticastDomainAssociations"); -var de_TransitGatewayMulticastDomainList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayMulticastDomain(entry, context); - }); -}, "de_TransitGatewayMulticastDomainList"); -var de_TransitGatewayMulticastDomainOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iSg] != null) { - contents[_ISg] = (0, import_smithy_client.expectString)(output[_iSg]); - } - if (output[_sSS] != null) { - contents[_SSS] = (0, import_smithy_client.expectString)(output[_sSS]); - } - if (output[_aASA] != null) { - contents[_AASA] = (0, import_smithy_client.expectString)(output[_aASA]); - } - return contents; -}, "de_TransitGatewayMulticastDomainOptions"); -var de_TransitGatewayMulticastGroup = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_gIA] != null) { - contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]); - } - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_sIu] != null) { - contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_rOI] != null) { - contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); - } - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output[_gM] != null) { - contents[_GM] = (0, import_smithy_client.parseBoolean)(output[_gM]); - } - if (output[_gSr] != null) { - contents[_GS] = (0, import_smithy_client.parseBoolean)(output[_gSr]); - } - if (output[_mTe] != null) { - contents[_MTe] = (0, import_smithy_client.expectString)(output[_mTe]); - } - if (output[_sTo] != null) { - contents[_STo] = (0, import_smithy_client.expectString)(output[_sTo]); - } - return contents; -}, "de_TransitGatewayMulticastGroup"); -var de_TransitGatewayMulticastGroupList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayMulticastGroup(entry, context); - }); -}, "de_TransitGatewayMulticastGroupList"); -var de_TransitGatewayMulticastRegisteredGroupMembers = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGMDI] != null) { - contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); - } - if (output.registeredNetworkInterfaceIds === "") { - contents[_RNII] = []; - } else if (output[_rNII] != null && output[_rNII][_i] != null) { - contents[_RNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rNII][_i]), context); - } - if (output[_gIA] != null) { - contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]); - } - return contents; -}, "de_TransitGatewayMulticastRegisteredGroupMembers"); -var de_TransitGatewayMulticastRegisteredGroupSources = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGMDI] != null) { - contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); - } - if (output.registeredNetworkInterfaceIds === "") { - contents[_RNII] = []; - } else if (output[_rNII] != null && output[_rNII][_i] != null) { - contents[_RNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rNII][_i]), context); - } - if (output[_gIA] != null) { - contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]); - } - return contents; -}, "de_TransitGatewayMulticastRegisteredGroupSources"); -var de_TransitGatewayOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aSA] != null) { - contents[_ASA] = (0, import_smithy_client.strictParseLong)(output[_aSA]); - } - if (output.transitGatewayCidrBlocks === "") { - contents[_TGCB] = []; - } else if (output[_tGCB] != null && output[_tGCB][_i] != null) { - contents[_TGCB] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGCB][_i]), context); - } - if (output[_aASAu] != null) { - contents[_AASAu] = (0, import_smithy_client.expectString)(output[_aASAu]); - } - if (output[_dRTA] != null) { - contents[_DRTA] = (0, import_smithy_client.expectString)(output[_dRTA]); - } - if (output[_aDRTI] != null) { - contents[_ADRTI] = (0, import_smithy_client.expectString)(output[_aDRTI]); - } - if (output[_dRTP] != null) { - contents[_DRTP] = (0, import_smithy_client.expectString)(output[_dRTP]); - } - if (output[_pDRTI] != null) { - contents[_PDRTI] = (0, import_smithy_client.expectString)(output[_pDRTI]); - } - if (output[_vESpn] != null) { - contents[_VES] = (0, import_smithy_client.expectString)(output[_vESpn]); - } - if (output[_dSn] != null) { - contents[_DSns] = (0, import_smithy_client.expectString)(output[_dSn]); - } - if (output[_sGRSec] != null) { - contents[_SGRS] = (0, import_smithy_client.expectString)(output[_sGRSec]); - } - if (output[_mSu] != null) { - contents[_MSu] = (0, import_smithy_client.expectString)(output[_mSu]); - } - return contents; -}, "de_TransitGatewayOptions"); -var de_TransitGatewayPeeringAttachment = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_aTGAI] != null) { - contents[_ATGAI] = (0, import_smithy_client.expectString)(output[_aTGAI]); - } - if (output[_rTIe] != null) { - contents[_RTIe] = de_PeeringTgwInfo(output[_rTIe], context); - } - if (output[_aTI] != null) { - contents[_ATIc] = de_PeeringTgwInfo(output[_aTI], context); - } - if (output[_op] != null) { - contents[_O] = de_TransitGatewayPeeringAttachmentOptions(output[_op], context); - } - if (output[_sta] != null) { - contents[_Statu] = de_PeeringAttachmentStatus(output[_sta], context); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TransitGatewayPeeringAttachment"); -var de_TransitGatewayPeeringAttachmentList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayPeeringAttachment(entry, context); - }); -}, "de_TransitGatewayPeeringAttachmentList"); -var de_TransitGatewayPeeringAttachmentOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dRy] != null) { - contents[_DRy] = (0, import_smithy_client.expectString)(output[_dRy]); - } - return contents; -}, "de_TransitGatewayPeeringAttachmentOptions"); -var de_TransitGatewayPolicyRule = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sCB] != null) { - contents[_SCB] = (0, import_smithy_client.expectString)(output[_sCB]); - } - if (output[_sPR] != null) { - contents[_SPR] = (0, import_smithy_client.expectString)(output[_sPR]); - } - if (output[_dCB] != null) { - contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); - } - if (output[_dPR] != null) { - contents[_DPR] = (0, import_smithy_client.expectString)(output[_dPR]); - } - if (output[_pr] != null) { - contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); - } - if (output[_mDe] != null) { - contents[_MDe] = de_TransitGatewayPolicyRuleMetaData(output[_mDe], context); - } - return contents; -}, "de_TransitGatewayPolicyRule"); -var de_TransitGatewayPolicyRuleMetaData = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_mDK] != null) { - contents[_MDK] = (0, import_smithy_client.expectString)(output[_mDK]); - } - if (output[_mDV] != null) { - contents[_MDV] = (0, import_smithy_client.expectString)(output[_mDV]); - } - return contents; -}, "de_TransitGatewayPolicyRuleMetaData"); -var de_TransitGatewayPolicyTable = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGPTI] != null) { - contents[_TGPTI] = (0, import_smithy_client.expectString)(output[_tGPTI]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TransitGatewayPolicyTable"); -var de_TransitGatewayPolicyTableAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGPTI] != null) { - contents[_TGPTI] = (0, import_smithy_client.expectString)(output[_tGPTI]); - } - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_TransitGatewayPolicyTableAssociation"); -var de_TransitGatewayPolicyTableAssociationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayPolicyTableAssociation(entry, context); - }); -}, "de_TransitGatewayPolicyTableAssociationList"); -var de_TransitGatewayPolicyTableEntry = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_pRN] != null) { - contents[_PRNo] = (0, import_smithy_client.expectString)(output[_pRN]); - } - if (output[_pRol] != null) { - contents[_PRol] = de_TransitGatewayPolicyRule(output[_pRol], context); - } - if (output[_tRTI] != null) { - contents[_TRTI] = (0, import_smithy_client.expectString)(output[_tRTI]); - } - return contents; -}, "de_TransitGatewayPolicyTableEntry"); -var de_TransitGatewayPolicyTableEntryList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayPolicyTableEntry(entry, context); - }); -}, "de_TransitGatewayPolicyTableEntryList"); -var de_TransitGatewayPolicyTableList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayPolicyTable(entry, context); - }); -}, "de_TransitGatewayPolicyTableList"); -var de_TransitGatewayPrefixListAttachment = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - return contents; -}, "de_TransitGatewayPrefixListAttachment"); -var de_TransitGatewayPrefixListReference = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGRTI] != null) { - contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); - } - if (output[_pLI] != null) { - contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); - } - if (output[_pLOI] != null) { - contents[_PLOI] = (0, import_smithy_client.expectString)(output[_pLOI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_bl] != null) { - contents[_Bl] = (0, import_smithy_client.parseBoolean)(output[_bl]); - } - if (output[_tGAr] != null) { - contents[_TGAra] = de_TransitGatewayPrefixListAttachment(output[_tGAr], context); - } - return contents; -}, "de_TransitGatewayPrefixListReference"); -var de_TransitGatewayPrefixListReferenceSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayPrefixListReference(entry, context); - }); -}, "de_TransitGatewayPrefixListReferenceSet"); -var de_TransitGatewayPropagation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_tGRTI] != null) { - contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_tGRTAI] != null) { - contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]); - } - return contents; -}, "de_TransitGatewayPropagation"); -var de_TransitGatewayRoute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dCB] != null) { - contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); - } - if (output[_pLI] != null) { - contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); - } - if (output[_tGRTAI] != null) { - contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]); - } - if (output.transitGatewayAttachments === "") { - contents[_TGAr] = []; - } else if (output[_tGA] != null && output[_tGA][_i] != null) { - contents[_TGAr] = de_TransitGatewayRouteAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGA][_i]), context); - } - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_TransitGatewayRoute"); -var de_TransitGatewayRouteAttachment = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - return contents; -}, "de_TransitGatewayRouteAttachment"); -var de_TransitGatewayRouteAttachmentList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayRouteAttachment(entry, context); - }); -}, "de_TransitGatewayRouteAttachmentList"); -var de_TransitGatewayRouteList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayRoute(entry, context); - }); -}, "de_TransitGatewayRouteList"); -var de_TransitGatewayRouteTable = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGRTI] != null) { - contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_dART] != null) { - contents[_DART] = (0, import_smithy_client.parseBoolean)(output[_dART]); - } - if (output[_dPRT] != null) { - contents[_DPRT] = (0, import_smithy_client.parseBoolean)(output[_dPRT]); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TransitGatewayRouteTable"); -var de_TransitGatewayRouteTableAnnouncement = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGRTAI] != null) { - contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_cNIo] != null) { - contents[_CNIor] = (0, import_smithy_client.expectString)(output[_cNIo]); - } - if (output[_pTGI] != null) { - contents[_PTGI] = (0, import_smithy_client.expectString)(output[_pTGI]); - } - if (output[_pCNI] != null) { - contents[_PCNI] = (0, import_smithy_client.expectString)(output[_pCNI]); - } - if (output[_pAI] != null) { - contents[_PAIe] = (0, import_smithy_client.expectString)(output[_pAI]); - } - if (output[_aDn] != null) { - contents[_ADn] = (0, import_smithy_client.expectString)(output[_aDn]); - } - if (output[_tGRTI] != null) { - contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TransitGatewayRouteTableAnnouncement"); -var de_TransitGatewayRouteTableAnnouncementList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayRouteTableAnnouncement(entry, context); - }); -}, "de_TransitGatewayRouteTableAnnouncementList"); -var de_TransitGatewayRouteTableAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_TransitGatewayRouteTableAssociation"); -var de_TransitGatewayRouteTableAssociationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayRouteTableAssociation(entry, context); - }); -}, "de_TransitGatewayRouteTableAssociationList"); -var de_TransitGatewayRouteTableList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayRouteTable(entry, context); - }); -}, "de_TransitGatewayRouteTableList"); -var de_TransitGatewayRouteTablePropagation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_tGRTAI] != null) { - contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]); - } - return contents; -}, "de_TransitGatewayRouteTablePropagation"); -var de_TransitGatewayRouteTablePropagationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayRouteTablePropagation(entry, context); - }); -}, "de_TransitGatewayRouteTablePropagationList"); -var de_TransitGatewayRouteTableRoute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dC] != null) { - contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_rOo] != null) { - contents[_ROo] = (0, import_smithy_client.expectString)(output[_rOo]); - } - if (output[_pLI] != null) { - contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); - } - if (output[_aIt] != null) { - contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - if (output[_rTe] != null) { - contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); - } - return contents; -}, "de_TransitGatewayRouteTableRoute"); -var de_TransitGatewayVpcAttachment = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_tGAI] != null) { - contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_vOIp] != null) { - contents[_VOIp] = (0, import_smithy_client.expectString)(output[_vOIp]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output.subnetIds === "") { - contents[_SIu] = []; - } else if (output[_sIub] != null && output[_sIub][_i] != null) { - contents[_SIu] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIub][_i]), context); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); - } - if (output[_op] != null) { - contents[_O] = de_TransitGatewayVpcAttachmentOptions(output[_op], context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TransitGatewayVpcAttachment"); -var de_TransitGatewayVpcAttachmentList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TransitGatewayVpcAttachment(entry, context); - }); -}, "de_TransitGatewayVpcAttachmentList"); -var de_TransitGatewayVpcAttachmentOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dSn] != null) { - contents[_DSns] = (0, import_smithy_client.expectString)(output[_dSn]); - } - if (output[_sGRSec] != null) { - contents[_SGRS] = (0, import_smithy_client.expectString)(output[_sGRSec]); - } - if (output[_iSpvu] != null) { - contents[_ISp] = (0, import_smithy_client.expectString)(output[_iSpvu]); - } - if (output[_aMSp] != null) { - contents[_AMS] = (0, import_smithy_client.expectString)(output[_aMSp]); - } - return contents; -}, "de_TransitGatewayVpcAttachmentOptions"); -var de_TrunkInterfaceAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_bII] != null) { - contents[_BII] = (0, import_smithy_client.expectString)(output[_bII]); - } - if (output[_tII] != null) { - contents[_TII] = (0, import_smithy_client.expectString)(output[_tII]); - } - if (output[_iPnte] != null) { - contents[_IPnte] = (0, import_smithy_client.expectString)(output[_iPnte]); - } - if (output[_vIl] != null) { - contents[_VIl] = (0, import_smithy_client.strictParseInt32)(output[_vIl]); - } - if (output[_gK] != null) { - contents[_GK] = (0, import_smithy_client.strictParseInt32)(output[_gK]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_TrunkInterfaceAssociation"); -var de_TrunkInterfaceAssociationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TrunkInterfaceAssociation(entry, context); - }); -}, "de_TrunkInterfaceAssociationList"); -var de_TunnelOption = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_oIA] != null) { - contents[_OIA] = (0, import_smithy_client.expectString)(output[_oIA]); - } - if (output[_tICu] != null) { - contents[_TIC] = (0, import_smithy_client.expectString)(output[_tICu]); - } - if (output[_tIIC] != null) { - contents[_TIIC] = (0, import_smithy_client.expectString)(output[_tIIC]); - } - if (output[_pSK] != null) { - contents[_PSK] = (0, import_smithy_client.expectString)(output[_pSK]); - } - if (output[_pLSh] != null) { - contents[_PLS] = (0, import_smithy_client.strictParseInt32)(output[_pLSh]); - } - if (output[_pLSha] != null) { - contents[_PLSh] = (0, import_smithy_client.strictParseInt32)(output[_pLSha]); - } - if (output[_rMTS] != null) { - contents[_RMTS] = (0, import_smithy_client.strictParseInt32)(output[_rMTS]); - } - if (output[_rFP] != null) { - contents[_RFP] = (0, import_smithy_client.strictParseInt32)(output[_rFP]); - } - if (output[_rWS] != null) { - contents[_RWS] = (0, import_smithy_client.strictParseInt32)(output[_rWS]); - } - if (output[_dTS] != null) { - contents[_DTS] = (0, import_smithy_client.strictParseInt32)(output[_dTS]); - } - if (output[_dTA] != null) { - contents[_DTA] = (0, import_smithy_client.expectString)(output[_dTA]); - } - if (output.phase1EncryptionAlgorithmSet === "") { - contents[_PEA] = []; - } else if (output[_pEAS] != null && output[_pEAS][_i] != null) { - contents[_PEA] = de_Phase1EncryptionAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pEAS][_i]), context); - } - if (output.phase2EncryptionAlgorithmSet === "") { - contents[_PEAh] = []; - } else if (output[_pEASh] != null && output[_pEASh][_i] != null) { - contents[_PEAh] = de_Phase2EncryptionAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pEASh][_i]), context); - } - if (output.phase1IntegrityAlgorithmSet === "") { - contents[_PIAh] = []; - } else if (output[_pIASh] != null && output[_pIASh][_i] != null) { - contents[_PIAh] = de_Phase1IntegrityAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIASh][_i]), context); - } - if (output.phase2IntegrityAlgorithmSet === "") { - contents[_PIAha] = []; - } else if (output[_pIASha] != null && output[_pIASha][_i] != null) { - contents[_PIAha] = de_Phase2IntegrityAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIASha][_i]), context); - } - if (output.phase1DHGroupNumberSet === "") { - contents[_PDHGN] = []; - } else if (output[_pDHGNS] != null && output[_pDHGNS][_i] != null) { - contents[_PDHGN] = de_Phase1DHGroupNumbersList((0, import_smithy_client.getArrayIfSingleItem)(output[_pDHGNS][_i]), context); - } - if (output.phase2DHGroupNumberSet === "") { - contents[_PDHGNh] = []; - } else if (output[_pDHGNSh] != null && output[_pDHGNSh][_i] != null) { - contents[_PDHGNh] = de_Phase2DHGroupNumbersList((0, import_smithy_client.getArrayIfSingleItem)(output[_pDHGNSh][_i]), context); - } - if (output.ikeVersionSet === "") { - contents[_IVk] = []; - } else if (output[_iVS] != null && output[_iVS][_i] != null) { - contents[_IVk] = de_IKEVersionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_iVS][_i]), context); - } - if (output[_sAt] != null) { - contents[_SA] = (0, import_smithy_client.expectString)(output[_sAt]); - } - if (output[_lO] != null) { - contents[_LO] = de_VpnTunnelLogOptions(output[_lO], context); - } - if (output[_eTLC] != null) { - contents[_ETLC] = (0, import_smithy_client.parseBoolean)(output[_eTLC]); - } - return contents; -}, "de_TunnelOption"); -var de_TunnelOptionsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_TunnelOption(entry, context); - }); -}, "de_TunnelOptionsList"); -var de_UnassignIpv6AddressesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nII] != null) { - contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); - } - if (output.unassignedIpv6Addresses === "") { - contents[_UIAn] = []; - } else if (output[_uIA] != null && output[_uIA][_i] != null) { - contents[_UIAn] = de_Ipv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIA][_i]), context); - } - if (output.unassignedIpv6PrefixSet === "") { - contents[_UIPn] = []; - } else if (output[_uIPSn] != null && output[_uIPSn][_i] != null) { - contents[_UIPn] = de_IpPrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIPSn][_i]), context); - } - return contents; -}, "de_UnassignIpv6AddressesResult"); -var de_UnassignPrivateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_nGI] != null) { - contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); - } - if (output.natGatewayAddressSet === "") { - contents[_NGA] = []; - } else if (output[_nGAS] != null && output[_nGAS][_i] != null) { - contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context); - } - return contents; -}, "de_UnassignPrivateNatGatewayAddressResult"); -var de_UnlockSnapshotResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - return contents; -}, "de_UnlockSnapshotResult"); -var de_UnmonitorInstancesResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.instancesSet === "") { - contents[_IMn] = []; - } else if (output[_iSn] != null && output[_iSn][_i] != null) { - contents[_IMn] = de_InstanceMonitoringList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); - } - return contents; -}, "de_UnmonitorInstancesResult"); -var de_UnsuccessfulInstanceCreditSpecificationItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_er] != null) { - contents[_Er] = de_UnsuccessfulInstanceCreditSpecificationItemError(output[_er], context); - } - return contents; -}, "de_UnsuccessfulInstanceCreditSpecificationItem"); -var de_UnsuccessfulInstanceCreditSpecificationItemError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_UnsuccessfulInstanceCreditSpecificationItemError"); -var de_UnsuccessfulInstanceCreditSpecificationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_UnsuccessfulInstanceCreditSpecificationItem(entry, context); - }); -}, "de_UnsuccessfulInstanceCreditSpecificationSet"); -var de_UnsuccessfulItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_er] != null) { - contents[_Er] = de_UnsuccessfulItemError(output[_er], context); - } - if (output[_rIe] != null) { - contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); - } - return contents; -}, "de_UnsuccessfulItem"); -var de_UnsuccessfulItemError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_UnsuccessfulItemError"); -var de_UnsuccessfulItemList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_UnsuccessfulItem(entry, context); - }); -}, "de_UnsuccessfulItemList"); -var de_UnsuccessfulItemSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_UnsuccessfulItem(entry, context); - }); -}, "de_UnsuccessfulItemSet"); -var de_UpdateSecurityGroupRuleDescriptionsEgressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_UpdateSecurityGroupRuleDescriptionsEgressResult"); -var de_UpdateSecurityGroupRuleDescriptionsIngressResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_r] != null) { - contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); - } - return contents; -}, "de_UpdateSecurityGroupRuleDescriptionsIngressResult"); -var de_UsageClassTypeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_UsageClassTypeList"); -var de_UserBucketDetails = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sB] != null) { - contents[_SB] = (0, import_smithy_client.expectString)(output[_sB]); - } - if (output[_sK] != null) { - contents[_SK] = (0, import_smithy_client.expectString)(output[_sK]); - } - return contents; -}, "de_UserBucketDetails"); -var de_UserIdGroupPair = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_gIr] != null) { - contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); - } - if (output[_gN] != null) { - contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); - } - if (output[_pSee] != null) { - contents[_PSe] = (0, import_smithy_client.expectString)(output[_pSee]); - } - if (output[_uI] != null) { - contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_vPCI] != null) { - contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); - } - return contents; -}, "de_UserIdGroupPair"); -var de_UserIdGroupPairList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_UserIdGroupPair(entry, context); - }); -}, "de_UserIdGroupPairList"); -var de_UserIdGroupPairSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_UserIdGroupPair(entry, context); - }); -}, "de_UserIdGroupPairSet"); -var de_ValidationError = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_ValidationError"); -var de_ValidationWarning = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.errorSet === "") { - contents[_Err] = []; - } else if (output[_eSr] != null && output[_eSr][_i] != null) { - contents[_Err] = de_ErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSr][_i]), context); - } - return contents; -}, "de_ValidationWarning"); -var de_ValueStringList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_ValueStringList"); -var de_VCpuCountRange = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_m] != null) { - contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); - } - if (output[_ma] != null) { - contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); - } - return contents; -}, "de_VCpuCountRange"); -var de_VCpuInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dVC] != null) { - contents[_DVCef] = (0, import_smithy_client.strictParseInt32)(output[_dVC]); - } - if (output[_dCe] != null) { - contents[_DCef] = (0, import_smithy_client.strictParseInt32)(output[_dCe]); - } - if (output[_dTPC] != null) { - contents[_DTPC] = (0, import_smithy_client.strictParseInt32)(output[_dTPC]); - } - if (output.validCores === "") { - contents[_VCa] = []; - } else if (output[_vCa] != null && output[_vCa][_i] != null) { - contents[_VCa] = de_CoreCountList((0, import_smithy_client.getArrayIfSingleItem)(output[_vCa][_i]), context); - } - if (output.validThreadsPerCore === "") { - contents[_VTPC] = []; - } else if (output[_vTPC] != null && output[_vTPC][_i] != null) { - contents[_VTPC] = de_ThreadsPerCoreList((0, import_smithy_client.getArrayIfSingleItem)(output[_vTPC][_i]), context); - } - return contents; -}, "de_VCpuInfo"); -var de_VerifiedAccessEndpoint = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAII] != null) { - contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]); - } - if (output[_vAGI] != null) { - contents[_VAGI] = (0, import_smithy_client.expectString)(output[_vAGI]); - } - if (output[_vAEI] != null) { - contents[_VAEI] = (0, import_smithy_client.expectString)(output[_vAEI]); - } - if (output[_aDp] != null) { - contents[_ADp] = (0, import_smithy_client.expectString)(output[_aDp]); - } - if (output[_eTnd] != null) { - contents[_ET] = (0, import_smithy_client.expectString)(output[_eTnd]); - } - if (output[_aTtta] != null) { - contents[_ATt] = (0, import_smithy_client.expectString)(output[_aTtta]); - } - if (output[_dCA] != null) { - contents[_DCA] = (0, import_smithy_client.expectString)(output[_dCA]); - } - if (output[_eDnd] != null) { - contents[_EDnd] = (0, import_smithy_client.expectString)(output[_eDnd]); - } - if (output[_dVD] != null) { - contents[_DVD] = (0, import_smithy_client.expectString)(output[_dVD]); - } - if (output.securityGroupIdSet === "") { - contents[_SGI] = []; - } else if (output[_sGIS] != null && output[_sGIS][_i] != null) { - contents[_SGI] = de_SecurityGroupIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIS][_i]), context); - } - if (output[_lBO] != null) { - contents[_LBO] = de_VerifiedAccessEndpointLoadBalancerOptions(output[_lBO], context); - } - if (output[_nIO] != null) { - contents[_NIO] = de_VerifiedAccessEndpointEniOptions(output[_nIO], context); - } - if (output[_sta] != null) { - contents[_Statu] = de_VerifiedAccessEndpointStatus(output[_sta], context); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]); - } - if (output[_lUT] != null) { - contents[_LUT] = (0, import_smithy_client.expectString)(output[_lUT]); - } - if (output[_dT] != null) { - contents[_DTel] = (0, import_smithy_client.expectString)(output[_dT]); - } - 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_VerifiedAccessEndpoint"); -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]); - } - 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); - } - return contents; -}, "de_VerifiedAccessEndpointLoadBalancerOptions"); -var de_VerifiedAccessEndpointStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_VerifiedAccessEndpointStatus"); -var de_VerifiedAccessEndpointSubnetIdList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return (0, import_smithy_client.expectString)(entry); - }); -}, "de_VerifiedAccessEndpointSubnetIdList"); -var de_VerifiedAccessGroup = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAGI] != null) { - contents[_VAGI] = (0, import_smithy_client.expectString)(output[_vAGI]); - } - if (output[_vAII] != null) { - contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_ow] != null) { - contents[_Own] = (0, import_smithy_client.expectString)(output[_ow]); - } - if (output[_vAGA] != null) { - contents[_VAGA] = (0, import_smithy_client.expectString)(output[_vAGA]); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]); - } - if (output[_lUT] != null) { - contents[_LUT] = (0, import_smithy_client.expectString)(output[_lUT]); - } - if (output[_dT] != null) { - contents[_DTel] = (0, import_smithy_client.expectString)(output[_dT]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_sSs] != null) { - contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context); - } - return contents; -}, "de_VerifiedAccessGroup"); -var de_VerifiedAccessGroupList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VerifiedAccessGroup(entry, context); - }); -}, "de_VerifiedAccessGroupList"); -var de_VerifiedAccessInstance = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAII] != null) { - contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output.verifiedAccessTrustProviderSet === "") { - contents[_VATPe] = []; - } else if (output[_vATPS] != null && output[_vATPS][_i] != null) { - contents[_VATPe] = de_VerifiedAccessTrustProviderCondensedList((0, import_smithy_client.getArrayIfSingleItem)(output[_vATPS][_i]), context); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]); - } - if (output[_lUT] != null) { - contents[_LUT] = (0, import_smithy_client.expectString)(output[_lUT]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_fE] != null) { - contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_fE]); - } - return contents; -}, "de_VerifiedAccessInstance"); -var de_VerifiedAccessInstanceList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VerifiedAccessInstance(entry, context); - }); -}, "de_VerifiedAccessInstanceList"); -var de_VerifiedAccessInstanceLoggingConfiguration = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vAII] != null) { - contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]); - } - if (output[_aLc] != null) { - contents[_AL] = de_VerifiedAccessLogs(output[_aLc], context); - } - return contents; -}, "de_VerifiedAccessInstanceLoggingConfiguration"); -var de_VerifiedAccessInstanceLoggingConfigurationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VerifiedAccessInstanceLoggingConfiguration(entry, context); - }); -}, "de_VerifiedAccessInstanceLoggingConfigurationList"); -var de_VerifiedAccessLogCloudWatchLogsDestination = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_en] != null) { - contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); - } - if (output[_dSel] != null) { - contents[_DSeli] = de_VerifiedAccessLogDeliveryStatus(output[_dSel], context); - } - if (output[_lGo] != null) { - contents[_LGo] = (0, import_smithy_client.expectString)(output[_lGo]); - } - return contents; -}, "de_VerifiedAccessLogCloudWatchLogsDestination"); -var de_VerifiedAccessLogDeliveryStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_VerifiedAccessLogDeliveryStatus"); -var de_VerifiedAccessLogKinesisDataFirehoseDestination = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_en] != null) { - contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); - } - if (output[_dSel] != null) { - contents[_DSeli] = de_VerifiedAccessLogDeliveryStatus(output[_dSel], context); - } - if (output[_dSeli] != null) { - contents[_DSel] = (0, import_smithy_client.expectString)(output[_dSeli]); - } - return contents; -}, "de_VerifiedAccessLogKinesisDataFirehoseDestination"); -var de_VerifiedAccessLogs = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_s_] != null) { - contents[_S_] = de_VerifiedAccessLogS3Destination(output[_s_], context); - } - if (output[_cWL] != null) { - contents[_CWL] = de_VerifiedAccessLogCloudWatchLogsDestination(output[_cWL], context); - } - if (output[_kDF] != null) { - contents[_KDF] = de_VerifiedAccessLogKinesisDataFirehoseDestination(output[_kDF], context); - } - if (output[_lV] != null) { - contents[_LV] = (0, import_smithy_client.expectString)(output[_lV]); - } - if (output[_iTCn] != null) { - contents[_ITCn] = (0, import_smithy_client.parseBoolean)(output[_iTCn]); - } - return contents; -}, "de_VerifiedAccessLogs"); -var de_VerifiedAccessLogS3Destination = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_en] != null) { - contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); - } - if (output[_dSel] != null) { - contents[_DSeli] = de_VerifiedAccessLogDeliveryStatus(output[_dSel], context); - } - if (output[_bN] != null) { - contents[_BN] = (0, import_smithy_client.expectString)(output[_bN]); - } - if (output[_pre] != null) { - contents[_Pr] = (0, import_smithy_client.expectString)(output[_pre]); - } - if (output[_bO] != null) { - contents[_BOu] = (0, import_smithy_client.expectString)(output[_bO]); - } - return contents; -}, "de_VerifiedAccessLogS3Destination"); -var de_VerifiedAccessSseSpecificationResponse = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cMKE] != null) { - contents[_CMKE] = (0, import_smithy_client.parseBoolean)(output[_cMKE]); - } - if (output[_kKA] != null) { - contents[_KKA] = (0, import_smithy_client.expectString)(output[_kKA]); - } - return contents; -}, "de_VerifiedAccessSseSpecificationResponse"); -var de_VerifiedAccessTrustProvider = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vATPI] != null) { - contents[_VATPI] = (0, import_smithy_client.expectString)(output[_vATPI]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_tPT] != null) { - contents[_TPT] = (0, import_smithy_client.expectString)(output[_tPT]); - } - if (output[_uTPT] != null) { - contents[_UTPT] = (0, import_smithy_client.expectString)(output[_uTPT]); - } - if (output[_dTPT] != null) { - contents[_DTPT] = (0, import_smithy_client.expectString)(output[_dTPT]); - } - if (output[_oO] != null) { - contents[_OO] = de_OidcOptions(output[_oO], context); - } - if (output[_dOev] != null) { - contents[_DOe] = de_DeviceOptions(output[_dOev], context); - } - if (output[_pRNo] != null) { - contents[_PRN] = (0, import_smithy_client.expectString)(output[_pRNo]); - } - if (output[_cTre] != null) { - contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]); - } - if (output[_lUT] != null) { - contents[_LUT] = (0, import_smithy_client.expectString)(output[_lUT]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_sSs] != null) { - contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context); - } - return contents; -}, "de_VerifiedAccessTrustProvider"); -var de_VerifiedAccessTrustProviderCondensed = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vATPI] != null) { - contents[_VATPI] = (0, import_smithy_client.expectString)(output[_vATPI]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_tPT] != null) { - contents[_TPT] = (0, import_smithy_client.expectString)(output[_tPT]); - } - if (output[_uTPT] != null) { - contents[_UTPT] = (0, import_smithy_client.expectString)(output[_uTPT]); - } - if (output[_dTPT] != null) { - contents[_DTPT] = (0, import_smithy_client.expectString)(output[_dTPT]); - } - return contents; -}, "de_VerifiedAccessTrustProviderCondensed"); -var de_VerifiedAccessTrustProviderCondensedList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VerifiedAccessTrustProviderCondensed(entry, context); - }); -}, "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.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[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_cTr] != null) { - contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); - } - 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[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output[_si] != null) { - contents[_Siz] = (0, import_smithy_client.strictParseInt32)(output[_si]); - } - if (output[_sIn] != null) { - contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); - } - if (output[_sta] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_vIo] != null) { - contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); - } - if (output[_io] != null) { - contents[_Io] = (0, import_smithy_client.strictParseInt32)(output[_io]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_vT] != null) { - contents[_VT] = (0, import_smithy_client.expectString)(output[_vT]); - } - if (output[_fRa] != null) { - contents[_FRa] = (0, import_smithy_client.parseBoolean)(output[_fRa]); - } - if (output[_mAE] != null) { - contents[_MAE] = (0, import_smithy_client.parseBoolean)(output[_mAE]); - } - if (output[_th] != null) { - contents[_Th] = (0, import_smithy_client.strictParseInt32)(output[_th]); - } - if (output[_sTs] != null) { - contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]); - } - return contents; -}, "de_Volume"); -var de_VolumeAttachment = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aTt] != null) { - contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt])); - } - if (output[_dev] != null) { - contents[_Dev] = (0, import_smithy_client.expectString)(output[_dev]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - if (output[_sta] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]); - } - if (output[_vIo] != null) { - contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); - } - if (output[_dOT] != null) { - contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); - } - if (output[_aRs] != null) { - contents[_ARs] = (0, import_smithy_client.expectString)(output[_aRs]); - } - if (output[_iOS] != null) { - contents[_IOS] = (0, import_smithy_client.expectString)(output[_iOS]); - } - return contents; -}, "de_VolumeAttachment"); -var de_VolumeAttachmentList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VolumeAttachment(entry, context); - }); -}, "de_VolumeAttachmentList"); -var de_VolumeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Volume(entry, context); - }); -}, "de_VolumeList"); -var de_VolumeModification = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vIo] != null) { - contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); - } - if (output[_mSod] != null) { - contents[_MSod] = (0, import_smithy_client.expectString)(output[_mSod]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - if (output[_tSar] != null) { - contents[_TSar] = (0, import_smithy_client.strictParseInt32)(output[_tSar]); - } - if (output[_tIa] != null) { - contents[_TIa] = (0, import_smithy_client.strictParseInt32)(output[_tIa]); - } - if (output[_tVT] != null) { - contents[_TVT] = (0, import_smithy_client.expectString)(output[_tVT]); - } - if (output[_tTa] != null) { - contents[_TTa] = (0, import_smithy_client.strictParseInt32)(output[_tTa]); - } - if (output[_tMAE] != null) { - contents[_TMAE] = (0, import_smithy_client.parseBoolean)(output[_tMAE]); - } - if (output[_oSr] != null) { - contents[_OSr] = (0, import_smithy_client.strictParseInt32)(output[_oSr]); - } - if (output[_oIr] != null) { - contents[_OIr] = (0, import_smithy_client.strictParseInt32)(output[_oIr]); - } - if (output[_oVT] != null) { - contents[_OVT] = (0, import_smithy_client.expectString)(output[_oVT]); - } - if (output[_oTr] != null) { - contents[_OTr] = (0, import_smithy_client.strictParseInt32)(output[_oTr]); - } - if (output[_oMAE] != null) { - contents[_OMAE] = (0, import_smithy_client.parseBoolean)(output[_oMAE]); - } - if (output[_pro] != null) { - contents[_Prog] = (0, import_smithy_client.strictParseLong)(output[_pro]); - } - if (output[_sT] != null) { - contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); - } - if (output[_eTndi] != null) { - contents[_ETn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTndi])); - } - return contents; -}, "de_VolumeModification"); -var de_VolumeModificationList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VolumeModification(entry, context); - }); -}, "de_VolumeModificationList"); -var de_VolumeStatusAction = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_eIve] != null) { - contents[_EIve] = (0, import_smithy_client.expectString)(output[_eIve]); - } - if (output[_eTv] != null) { - contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]); - } - return contents; -}, "de_VolumeStatusAction"); -var de_VolumeStatusActionsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VolumeStatusAction(entry, context); - }); -}, "de_VolumeStatusActionsList"); -var de_VolumeStatusAttachmentStatus = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_iPo] != null) { - contents[_IPo] = (0, import_smithy_client.expectString)(output[_iPo]); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - return contents; -}, "de_VolumeStatusAttachmentStatus"); -var de_VolumeStatusAttachmentStatusList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VolumeStatusAttachmentStatus(entry, context); - }); -}, "de_VolumeStatusAttachmentStatusList"); -var de_VolumeStatusDetails = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_n] != null) { - contents[_N] = (0, import_smithy_client.expectString)(output[_n]); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - return contents; -}, "de_VolumeStatusDetails"); -var de_VolumeStatusDetailsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VolumeStatusDetails(entry, context); - }); -}, "de_VolumeStatusDetailsList"); -var de_VolumeStatusEvent = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_de] != null) { - contents[_De] = (0, import_smithy_client.expectString)(output[_de]); - } - if (output[_eIve] != null) { - contents[_EIve] = (0, import_smithy_client.expectString)(output[_eIve]); - } - if (output[_eTv] != null) { - contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]); - } - if (output[_nAo] != null) { - contents[_NAo] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nAo])); - } - if (output[_nB] != null) { - contents[_NB] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nB])); - } - if (output[_iI] != null) { - contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); - } - return contents; -}, "de_VolumeStatusEvent"); -var de_VolumeStatusEventsList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VolumeStatusEvent(entry, context); - }); -}, "de_VolumeStatusEventsList"); -var de_VolumeStatusInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.details === "") { - contents[_Det] = []; - } else if (output[_det] != null && output[_det][_i] != null) { - contents[_Det] = de_VolumeStatusDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_det][_i]), context); - } - if (output[_sta] != null) { - contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); - } - return contents; -}, "de_VolumeStatusInfo"); -var de_VolumeStatusItem = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output.actionsSet === "") { - contents[_Acti] = []; - } else if (output[_aSct] != null && output[_aSct][_i] != null) { - contents[_Acti] = de_VolumeStatusActionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSct][_i]), context); - } - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_oA] != null) { - contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); - } - if (output.eventsSet === "") { - contents[_Ev] = []; - } else if (output[_eSv] != null && output[_eSv][_i] != null) { - contents[_Ev] = de_VolumeStatusEventsList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSv][_i]), context); - } - if (output[_vIo] != null) { - contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); - } - if (output[_vSol] != null) { - contents[_VSol] = de_VolumeStatusInfo(output[_vSol], context); - } - if (output.attachmentStatuses === "") { - contents[_ASt] = []; - } else if (output[_aStt] != null && output[_aStt][_i] != null) { - contents[_ASt] = de_VolumeStatusAttachmentStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_aStt][_i]), context); - } - return contents; -}, "de_VolumeStatusItem"); -var de_VolumeStatusList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VolumeStatusItem(entry, context); - }); -}, "de_VolumeStatusList"); -var de_Vpc = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cB] != null) { - contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); - } - if (output[_dOI] != null) { - contents[_DOI] = (0, import_smithy_client.expectString)(output[_dOI]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_iTns] != null) { - contents[_ITns] = (0, import_smithy_client.expectString)(output[_iTns]); - } - if (output.ipv6CidrBlockAssociationSet === "") { - contents[_ICBAS] = []; - } else if (output[_iCBAS] != null && output[_iCBAS][_i] != null) { - contents[_ICBAS] = de_VpcIpv6CidrBlockAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBAS][_i]), context); - } - if (output.cidrBlockAssociationSet === "") { - contents[_CBAS] = []; - } else if (output[_cBAS] != null && output[_cBAS][_i] != null) { - contents[_CBAS] = de_VpcCidrBlockAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBAS][_i]), context); - } - if (output[_iDs] != null) { - contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_Vpc"); -var de_VpcAttachment = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - return contents; -}, "de_VpcAttachment"); -var de_VpcAttachmentList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VpcAttachment(entry, context); - }); -}, "de_VpcAttachmentList"); -var de_VpcCidrBlockAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_cB] != null) { - contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); - } - if (output[_cBS] != null) { - contents[_CBS] = de_VpcCidrBlockState(output[_cBS], context); - } - return contents; -}, "de_VpcCidrBlockAssociation"); -var de_VpcCidrBlockAssociationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VpcCidrBlockAssociation(entry, context); - }); -}, "de_VpcCidrBlockAssociationSet"); -var de_VpcCidrBlockState = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_sM] != null) { - contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); - } - return contents; -}, "de_VpcCidrBlockState"); -var de_VpcClassicLink = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cLE] != null) { - contents[_CLE] = (0, import_smithy_client.parseBoolean)(output[_cLE]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - return contents; -}, "de_VpcClassicLink"); -var de_VpcClassicLinkList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VpcClassicLink(entry, context); - }); -}, "de_VpcClassicLinkList"); -var de_VpcEndpoint = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vEI] != null) { - contents[_VEIp] = (0, import_smithy_client.expectString)(output[_vEI]); - } - if (output[_vET] != null) { - contents[_VET] = (0, import_smithy_client.expectString)(output[_vET]); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_sN] != null) { - contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_pDo] != null) { - contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]); - } - if (output.routeTableIdSet === "") { - contents[_RTIo] = []; - } else if (output[_rTIS] != null && output[_rTIS][_i] != null) { - contents[_RTIo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTIS][_i]), context); - } - if (output.subnetIdSet === "") { - contents[_SIu] = []; - } else if (output[_sISu] != null && output[_sISu][_i] != null) { - contents[_SIu] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sISu][_i]), context); - } - if (output.groupSet === "") { - contents[_G] = []; - } else if (output[_gS] != null && output[_gS][_i] != null) { - contents[_G] = de_GroupIdentifierSet((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); - } - if (output[_iAT] != null) { - contents[_IAT] = (0, import_smithy_client.expectString)(output[_iAT]); - } - if (output[_dOn] != null) { - contents[_DOn] = de_DnsOptions(output[_dOn], context); - } - if (output[_pDE] != null) { - contents[_PDE] = (0, import_smithy_client.parseBoolean)(output[_pDE]); - } - if (output[_rM] != null) { - contents[_RMe] = (0, import_smithy_client.parseBoolean)(output[_rM]); - } - if (output.networkInterfaceIdSet === "") { - contents[_NIIe] = []; - } else if (output[_nIIS] != null && output[_nIIS][_i] != null) { - contents[_NIIe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIIS][_i]), context); - } - if (output.dnsEntrySet === "") { - contents[_DE] = []; - } else if (output[_dES] != null && output[_dES][_i] != null) { - contents[_DE] = de_DnsEntrySet((0, import_smithy_client.getArrayIfSingleItem)(output[_dES][_i]), context); - } - if (output[_cTrea] != null) { - contents[_CTrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTrea])); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_lEa] != null) { - contents[_LEa] = de_LastError(output[_lEa], context); - } - return contents; -}, "de_VpcEndpoint"); -var de_VpcEndpointConnection = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_sI] != null) { - contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); - } - if (output[_vEI] != null) { - contents[_VEIp] = (0, import_smithy_client.expectString)(output[_vEI]); - } - if (output[_vEO] != null) { - contents[_VEO] = (0, import_smithy_client.expectString)(output[_vEO]); - } - if (output[_vESpc] != null) { - contents[_VESpc] = (0, import_smithy_client.expectString)(output[_vESpc]); - } - if (output[_cTrea] != null) { - contents[_CTrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTrea])); - } - if (output.dnsEntrySet === "") { - contents[_DE] = []; - } else if (output[_dES] != null && output[_dES][_i] != null) { - contents[_DE] = de_DnsEntrySet((0, import_smithy_client.getArrayIfSingleItem)(output[_dES][_i]), context); - } - if (output.networkLoadBalancerArnSet === "") { - contents[_NLBAe] = []; - } else if (output[_nLBAS] != null && output[_nLBAS][_i] != null) { - contents[_NLBAe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_nLBAS][_i]), context); - } - if (output.gatewayLoadBalancerArnSet === "") { - contents[_GLBA] = []; - } else if (output[_gLBAS] != null && output[_gLBAS][_i] != null) { - contents[_GLBA] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_gLBAS][_i]), context); - } - if (output[_iAT] != null) { - contents[_IAT] = (0, import_smithy_client.expectString)(output[_iAT]); - } - if (output[_vECI] != null) { - contents[_VECI] = (0, import_smithy_client.expectString)(output[_vECI]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_VpcEndpointConnection"); -var de_VpcEndpointConnectionSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VpcEndpointConnection(entry, context); - }); -}, "de_VpcEndpointConnectionSet"); -var de_VpcEndpointSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VpcEndpoint(entry, context); - }); -}, "de_VpcEndpointSet"); -var de_VpcIpv6CidrBlockAssociation = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aIs] != null) { - contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); - } - if (output[_iCB] != null) { - contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]); - } - if (output[_iCBS] != null) { - contents[_ICBS] = de_VpcCidrBlockState(output[_iCBS], context); - } - if (output[_nBG] != null) { - contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); - } - if (output[_iPpvo] != null) { - contents[_IPpv] = (0, import_smithy_client.expectString)(output[_iPpvo]); - } - return contents; -}, "de_VpcIpv6CidrBlockAssociation"); -var de_VpcIpv6CidrBlockAssociationSet = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VpcIpv6CidrBlockAssociation(entry, context); - }); -}, "de_VpcIpv6CidrBlockAssociationSet"); -var de_VpcList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_Vpc(entry, context); - }); -}, "de_VpcList"); -var de_VpcPeeringConnection = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aVI] != null) { - contents[_AVI] = de_VpcPeeringConnectionVpcInfo(output[_aVI], context); - } - if (output[_eT] != null) { - contents[_ETx] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eT])); - } - if (output[_rVIe] != null) { - contents[_RVIe] = de_VpcPeeringConnectionVpcInfo(output[_rVIe], context); - } - if (output[_sta] != null) { - contents[_Statu] = de_VpcPeeringConnectionStateReason(output[_sta], context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output[_vPCI] != null) { - contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); - } - return contents; -}, "de_VpcPeeringConnection"); -var de_VpcPeeringConnectionList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VpcPeeringConnection(entry, context); - }); -}, "de_VpcPeeringConnectionList"); -var de_VpcPeeringConnectionOptionsDescription = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aDRFRV] != null) { - contents[_ADRFRV] = (0, import_smithy_client.parseBoolean)(output[_aDRFRV]); - } - if (output[_aEFLCLTRV] != null) { - contents[_AEFLCLTRV] = (0, import_smithy_client.parseBoolean)(output[_aEFLCLTRV]); - } - if (output[_aEFLVTRCL] != null) { - contents[_AEFLVTRCL] = (0, import_smithy_client.parseBoolean)(output[_aEFLVTRCL]); - } - return contents; -}, "de_VpcPeeringConnectionOptionsDescription"); -var de_VpcPeeringConnectionStateReason = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_co] != null) { - contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); - } - if (output[_me] != null) { - contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); - } - return contents; -}, "de_VpcPeeringConnectionStateReason"); -var de_VpcPeeringConnectionVpcInfo = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cB] != null) { - contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); - } - if (output.ipv6CidrBlockSet === "") { - contents[_ICBSp] = []; - } else if (output[_iCBSp] != null && output[_iCBSp][_i] != null) { - contents[_ICBSp] = de_Ipv6CidrBlockSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBSp][_i]), context); - } - if (output.cidrBlockSet === "") { - contents[_CBSi] = []; - } else if (output[_cBSi] != null && output[_cBSi][_i] != null) { - contents[_CBSi] = de_CidrBlockSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBSi][_i]), context); - } - if (output[_oI] != null) { - contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); - } - if (output[_pOe] != null) { - contents[_POe] = de_VpcPeeringConnectionOptionsDescription(output[_pOe], context); - } - if (output[_vI] != null) { - contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); - } - if (output[_reg] != null) { - contents[_Regi] = (0, import_smithy_client.expectString)(output[_reg]); - } - return contents; -}, "de_VpcPeeringConnectionVpcInfo"); -var de_VpnConnection = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cGC] != null) { - contents[_CGC] = (0, import_smithy_client.expectString)(output[_cGC]); - } - if (output[_cGIu] != null) { - contents[_CGIu] = (0, import_smithy_client.expectString)(output[_cGIu]); - } - if (output[_ca] != null) { - contents[_Cat] = (0, import_smithy_client.expectString)(output[_ca]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - if (output[_vCI] != null) { - contents[_VCI] = (0, import_smithy_client.expectString)(output[_vCI]); - } - if (output[_vGI] != null) { - contents[_VGI] = (0, import_smithy_client.expectString)(output[_vGI]); - } - if (output[_tGI] != null) { - contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); - } - if (output[_cNA] != null) { - contents[_CNAo] = (0, import_smithy_client.expectString)(output[_cNA]); - } - if (output[_cNAA] != null) { - contents[_CNAA] = (0, import_smithy_client.expectString)(output[_cNAA]); - } - if (output[_gAS] != null) { - contents[_GAS] = (0, import_smithy_client.expectString)(output[_gAS]); - } - if (output[_op] != null) { - contents[_O] = de_VpnConnectionOptions(output[_op], context); - } - if (output.routes === "") { - contents[_Rou] = []; - } else if (output[_rou] != null && output[_rou][_i] != null) { - contents[_Rou] = de_VpnStaticRouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rou][_i]), context); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - if (output.vgwTelemetry === "") { - contents[_VTg] = []; - } else if (output[_vTg] != null && output[_vTg][_i] != null) { - contents[_VTg] = de_VgwTelemetryList((0, import_smithy_client.getArrayIfSingleItem)(output[_vTg][_i]), context); - } - return contents; -}, "de_VpnConnection"); -var de_VpnConnectionDeviceType = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_vCDTI] != null) { - contents[_VCDTI] = (0, import_smithy_client.expectString)(output[_vCDTI]); - } - if (output[_ven] != null) { - contents[_Ven] = (0, import_smithy_client.expectString)(output[_ven]); - } - if (output[_pl] != null) { - contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); - } - if (output[_sof] != null) { - contents[_Sof] = (0, import_smithy_client.expectString)(output[_sof]); - } - return contents; -}, "de_VpnConnectionDeviceType"); -var de_VpnConnectionDeviceTypeList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VpnConnectionDeviceType(entry, context); - }); -}, "de_VpnConnectionDeviceTypeList"); -var de_VpnConnectionList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VpnConnection(entry, context); - }); -}, "de_VpnConnectionList"); -var de_VpnConnectionOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_eA] != null) { - contents[_EA] = (0, import_smithy_client.parseBoolean)(output[_eA]); - } - if (output[_sRO] != null) { - contents[_SRO] = (0, import_smithy_client.parseBoolean)(output[_sRO]); - } - if (output[_lINC] != null) { - contents[_LINC] = (0, import_smithy_client.expectString)(output[_lINC]); - } - if (output[_rINC] != null) { - contents[_RINC] = (0, import_smithy_client.expectString)(output[_rINC]); - } - if (output[_lINCo] != null) { - contents[_LINCo] = (0, import_smithy_client.expectString)(output[_lINCo]); - } - if (output[_rINCe] != null) { - contents[_RINCe] = (0, import_smithy_client.expectString)(output[_rINCe]); - } - if (output[_oIAT] != null) { - contents[_OIAT] = (0, import_smithy_client.expectString)(output[_oIAT]); - } - if (output[_tTGAI] != null) { - contents[_TTGAI] = (0, import_smithy_client.expectString)(output[_tTGAI]); - } - if (output[_tIIV] != null) { - contents[_TIIV] = (0, import_smithy_client.expectString)(output[_tIIV]); - } - if (output.tunnelOptionSet === "") { - contents[_TO] = []; - } else if (output[_tOS] != null && output[_tOS][_i] != null) { - contents[_TO] = de_TunnelOptionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_tOS][_i]), context); - } - return contents; -}, "de_VpnConnectionOptions"); -var de_VpnGateway = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_aZ] != null) { - contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - if (output[_ty] != null) { - contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); - } - if (output.attachments === "") { - contents[_VAp] = []; - } else if (output[_att] != null && output[_att][_i] != null) { - contents[_VAp] = de_VpcAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_att][_i]), context); - } - if (output[_vGI] != null) { - contents[_VGI] = (0, import_smithy_client.expectString)(output[_vGI]); - } - if (output[_aSA] != null) { - contents[_ASA] = (0, import_smithy_client.strictParseLong)(output[_aSA]); - } - if (output.tagSet === "") { - contents[_Ta] = []; - } else if (output[_tS] != null && output[_tS][_i] != null) { - contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); - } - return contents; -}, "de_VpnGateway"); -var de_VpnGatewayList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VpnGateway(entry, context); - }); -}, "de_VpnGatewayList"); -var de_VpnStaticRoute = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_dCB] != null) { - contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); - } - if (output[_s] != null) { - contents[_S] = (0, import_smithy_client.expectString)(output[_s]); - } - if (output[_st] != null) { - contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); - } - return contents; -}, "de_VpnStaticRoute"); -var de_VpnStaticRouteList = /* @__PURE__ */ __name((output, context) => { - return (output || []).filter((e) => e != null).map((entry) => { - return de_VpnStaticRoute(entry, context); - }); -}, "de_VpnStaticRouteList"); -var de_VpnTunnelLogOptions = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_cWLO] != null) { - contents[_CWLO] = de_CloudWatchLogOptions(output[_cWLO], context); - } - return contents; -}, "de_VpnTunnelLogOptions"); -var de_WithdrawByoipCidrResult = /* @__PURE__ */ __name((output, context) => { - const contents = {}; - if (output[_bC] != null) { - contents[_BC] = de_ByoipCidr(output[_bC], context); - } - return contents; -}, "de_WithdrawByoipCidrResult"); -var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ - httpStatusCode: output.statusCode, - requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"] -}), "deserializeMetadata"); -var throwDefaultError = (0, import_smithy_client.withBaseException)(EC2ServiceException); -var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const contents = { - protocol, - hostname, - port, - method: "POST", - path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, - headers - }; - if (resolvedHostname !== void 0) { - contents.hostname = resolvedHostname; - } - if (body !== void 0) { - contents.body = body; - } - return new import_protocol_http.HttpRequest(contents); -}, "buildHttpRpcRequest"); -var SHARED_HEADERS = { - "content-type": "application/x-www-form-urlencoded" -}; -var _ = "2016-11-15"; -var _A = "Action"; -var _AA = "AllocateAddress"; -var _AAC = "AsnAuthorizationContext"; -var _AACv = "AvailableAddressCount"; -var _AAG = "AuthorizeAllGroups"; -var _AAI = "AwsAccountId"; -var _AAId = "AddressAllocationId"; -var _AAP = "AddAllowedPrincipals"; -var _AART = "AddAllocationResourceTags"; -var _AASA = "AutoAcceptSharedAssociations"; -var _AASAu = "AutoAcceptSharedAttachments"; -var _AAT = "AcceptAddressTransfer"; -var _AAZ = "AllAvailabilityZones"; -var _AAc = "AccessAll"; -var _AAcc = "AccountAttributes"; -var _AAd = "AdditionalAccounts"; -var _AAs = "AssociateAddress"; -var _AAsn = "AsnAssociation"; -var _AAsns = "AsnAssociations"; -var _ABC = "AdvertiseByoipCidr"; -var _ABHP = "ActualBlockHourlyPrice"; -var _AC = "AllowedCidrs"; -var _ACIA = "AssociateCarrierIpAddress"; -var _ACLV = "AttachClassicLinkVpc"; -var _ACT = "ArchivalCompleteTime"; -var _ACVI = "AuthorizeClientVpnIngress"; -var _ACVTN = "AssociateClientVpnTargetNetwork"; -var _ACc = "AcceleratorCount"; -var _ACd = "AddressCount"; -var _ACv = "AvailableCapacity"; -var _AD = "ActiveDirectory"; -var _ADNL = "AllocationDefaultNetmaskLength"; -var _ADO = "AssociateDhcpOptions"; -var _ADRFRV = "AllowDnsResolutionFromRemoteVpc"; -var _ADRTI = "AssociationDefaultRouteTableId"; -var _ADT = "AdditionalDetailType"; -var _ADd = "AdditionalDetails"; -var _ADn = "AnnouncementDirection"; -var _ADp = "ApplicationDomain"; -var _AE = "AuthorizationEndpoint"; -var _AEC = "AnalyzedEniCount"; -var _AECIR = "AssociateEnclaveCertificateIamRole"; -var _AEFLCLTRV = "AllowEgressFromLocalClassicLinkToRemoteVpc"; -var _AEFLVTRCL = "AllowEgressFromLocalVpcToRemoteClassicLink"; -var _AEIO = "AutoEnableIO"; -var _AET = "AnalysisEndTime"; -var _AEd = "AddEntries"; -var _AF = "AddressFamily"; -var _AFn = "AnalysisFindings"; -var _AGI = "AccessGroupId"; -var _AGLBA = "AddGatewayLoadBalancerArns"; -var _AH = "AllocateHosts"; -var _AI = "AssetIds"; -var _AIA = "AssignIpv6Addresses"; -var _AIAC = "AvailableIpAddressCount"; -var _AIAOC = "AssignIpv6AddressOnCreation"; -var _AIAs = "AssignedIpv6Addresses"; -var _AIB = "AssociateIpamByoasn"; -var _AIC = "AvailableInstanceCapacity"; -var _AICv = "AvailableInstanceCount"; -var _AIEW = "AssociateInstanceEventWindow"; -var _AIG = "AttachInternetGateway"; -var _AIIP = "AssociateIamInstanceProfile"; -var _AIP = "AssignedIpv6Prefixes"; -var _AIPC = "AllocateIpamPoolCidr"; -var _AIPs = "AssignedIpv4Prefixes"; -var _AIRD = "AssociateIpamResourceDiscovery"; -var _AIT = "AllowedInstanceTypes"; -var _AIc = "ActiveInstances"; -var _AIcc = "AccountId"; -var _AId = "AdditionalInfo"; -var _AIl = "AllocationId"; -var _AIll = "AllocationIds"; -var _AIm = "AmiId"; -var _AIs = "AssociationIds"; -var _AIss = "AssociationId"; -var _AIsse = "AssetId"; -var _AIt = "AttachmentId"; -var _AIth = "AthenaIntegrations"; -var _AIu = "AutoImport"; -var _AL = "AccessLogs"; -var _ALI = "AmiLaunchIndex"; -var _ALc = "AccountLevel"; -var _AM = "AcceleratorManufacturers"; -var _AMIT = "AllowsMultipleInstanceTypes"; -var _AMNL = "AllocationMinNetmaskLength"; -var _AMNLl = "AllocationMaxNetmaskLength"; -var _AMS = "ApplianceModeSupport"; -var _AN = "AttributeNames"; -var _ANGA = "AssociateNatGatewayAddress"; -var _ANI = "AttachNetworkInterface"; -var _ANLBA = "AddNetworkLoadBalancerArns"; -var _ANS = "AddNetworkServices"; -var _ANc = "AcceleratorNames"; -var _ANt = "AttributeName"; -var _AO = "AuthenticationOptions"; -var _AOI = "AddressOwnerId"; -var _AOR = "AddOperatingRegions"; -var _AP = "AutoPlacement"; -var _APCO = "AccepterPeeringConnectionOptions"; -var _APH = "AlternatePathHints"; -var _APIA = "AssignPrivateIpAddresses"; -var _APIAs = "AssociatePublicIpAddress"; -var _APIAss = "AssignedPrivateIpAddresses"; -var _APICB = "AmazonProvidedIpv6CidrBlock"; -var _APM = "ApplyPendingMaintenance"; -var _APNGA = "AssignPrivateNatGatewayAddress"; -var _APd = "AddedPrincipals"; -var _APl = "AllowedPrincipals"; -var _AR = "AllowReassignment"; -var _ARA = "AssociatedRoleArn"; -var _ARAd = "AdditionalRoutesAvailable"; -var _ARC = "AcceptedRouteCount"; -var _ARIEQ = "AcceptReservedInstancesExchangeQuote"; -var _ARS = "AutoRecoverySupported"; -var _ART = "AssociateRouteTable"; -var _ARTI = "AddRouteTableIds"; -var _ARTl = "AllocationResourceTags"; -var _ARc = "AcceptanceRequired"; -var _ARcl = "AclRule"; -var _ARd = "AddressRegion"; -var _ARl = "AllowReassociation"; -var _ARll = "AllRegions"; -var _ARs = "AssociatedResource"; -var _ARss = "AssociatedRoles"; -var _ARu = "AutoRecovery"; -var _ARut = "AuthorizationRules"; -var _AS = "AllocationStrategy"; -var _ASA = "AmazonSideAsn"; -var _ASCB = "AssociateSubnetCidrBlock"; -var _ASGE = "AuthorizeSecurityGroupEgress"; -var _ASGI = "AuthorizeSecurityGroupIngress"; -var _ASGId = "AddSecurityGroupIds"; -var _ASGTCVTN = "ApplySecurityGroupsToClientVpnTargetNetwork"; -var _ASI = "AddSubnetIds"; -var _ASIAT = "AddSupportedIpAddressTypes"; -var _ASS = "AmdSevSnp"; -var _AST = "AnalysisStartTime"; -var _ASTB = "AnalysisStartTimeBegin"; -var _ASTE = "AnalysisStartTimeEnd"; -var _ASc = "ActivityStatus"; -var _ASn = "AnalysisStatus"; -var _ASs = "AssociationState"; -var _ASss = "AssociationStatus"; -var _ASt = "AttachmentStatuses"; -var _ASw = "AwsService"; -var _AT = "AssociationTarget"; -var _ATGAI = "AccepterTransitGatewayAttachmentId"; -var _ATGCB = "AddTransitGatewayCidrBlocks"; -var _ATGMD = "AssociateTransitGatewayMulticastDomain"; -var _ATGMDA = "AcceptTransitGatewayMulticastDomainAssociations"; -var _ATGPA = "AcceptTransitGatewayPeeringAttachment"; -var _ATGPT = "AssociateTransitGatewayPolicyTable"; -var _ATGRT = "AssociateTransitGatewayRouteTable"; -var _ATGVA = "AcceptTransitGatewayVpcAttachment"; -var _ATI = "AssociateTrunkInterface"; -var _ATIc = "AccepterTgwInfo"; -var _ATMMB = "AcceleratorTotalMemoryMiB"; -var _ATN = "AssociatedTargetNetworks"; -var _ATS = "AddressTransferStatus"; -var _ATc = "AcceleratorTypes"; -var _ATd = "AddressingType"; -var _ATdd = "AddressTransfer"; -var _ATddr = "AddressTransfers"; -var _ATddre = "AddressType"; -var _ATl = "AllocationType"; -var _ATll = "AllocationTime"; -var _ATr = "ArchitectureTypes"; -var _ATt = "AttachmentType"; -var _ATtt = "AttachTime"; -var _ATtta = "AttachedTo"; -var _AV = "AttachVolume"; -var _AVATP = "AttachVerifiedAccessTrustProvider"; -var _AVC = "AvailableVCpus"; -var _AVCB = "AssociateVpcCidrBlock"; -var _AVEC = "AcceptVpcEndpointConnections"; -var _AVG = "AttachVpnGateway"; -var _AVI = "AccepterVpcInfo"; -var _AVPC = "AcceptVpcPeeringConnection"; -var _AVt = "AttributeValues"; -var _AVtt = "AttributeValue"; -var _AWSAKI = "AWSAccessKeyId"; -var _AZ = "AvailabilityZone"; -var _AZG = "AvailabilityZoneGroup"; -var _AZI = "AvailabilityZoneId"; -var _AZv = "AvailabilityZones"; -var _Ac = "Accept"; -var _Acc = "Accelerators"; -var _Acl = "Acl"; -var _Act = "Active"; -var _Acti = "Actions"; -var _Ad = "Address"; -var _Add = "Add"; -var _Addr = "Addresses"; -var _Af = "Affinity"; -var _Am = "Amount"; -var _Ar = "Arn"; -var _Arc = "Architecture"; -var _As = "Asn"; -var _Ass = "Associations"; -var _Asso = "Association"; -var _At = "Attribute"; -var _Att = "Attachment"; -var _Atta = "Attachments"; -var _B = "Bucket"; -var _BA = "BgpAsn"; -var _BBIG = "BaselineBandwidthInGbps"; -var _BBIM = "BaselineBandwidthInMbps"; -var _BC = "ByoipCidr"; -var _BCg = "BgpConfigurations"; -var _BCy = "ByoipCidrs"; -var _BCyt = "BytesConverted"; -var _BDM = "BlockDeviceMappings"; -var _BDMl = "BlockDurationMinutes"; -var _BEBM = "BaselineEbsBandwidthMbps"; -var _BEDN = "BaseEndpointDnsNames"; -var _BI = "BundleInstance"; -var _BII = "BranchInterfaceId"; -var _BIa = "BaselineIops"; -var _BIu = "BundleId"; -var _BIun = "BundleIds"; -var _BM = "BootMode"; -var _BMa = "BareMetal"; -var _BN = "BucketName"; -var _BO = "BgpOptions"; -var _BOu = "BucketOwner"; -var _BP = "BurstablePerformance"; -var _BPS = "BurstablePerformanceSupported"; -var _BPi = "BillingProducts"; -var _BS = "BgpStatus"; -var _BT = "BannerText"; -var _BTE = "BundleTaskError"; -var _BTIMB = "BaselineThroughputInMBps"; -var _BTu = "BundleTask"; -var _BTun = "BundleTasks"; -var _Bl = "Blackhole"; -var _By = "Bytes"; -var _Byo = "Byoasn"; -var _Byoa = "Byoasns"; -var _C = "Cidr"; -var _CA = "CertificateArn"; -var _CAC = "CidrAuthorizationContext"; -var _CADNL = "ClearAllocationDefaultNetmaskLength"; -var _CAU = "CoipAddressUsages"; -var _CAa = "CapacityAllocations"; -var _CAo = "ComponentArn"; -var _CAom = "ComponentAccount"; -var _CAr = "CreatedAt"; -var _CB = "CidrBlock"; -var _CBA = "CidrBlockAssociation"; -var _CBAS = "CidrBlockAssociationSet"; -var _CBDH = "CapacityBlockDurationHours"; -var _CBO = "CapacityBlockOfferings"; -var _CBOI = "CapacityBlockOfferingId"; -var _CBS = "CidrBlockState"; -var _CBSi = "CidrBlockSet"; -var _CBT = "CancelBundleTask"; -var _CBr = "CreatedBy"; -var _CC = "CoreCount"; -var _CCB = "ClientCidrBlock"; -var _CCC = "CreateCoipCidr"; -var _CCG = "CreateCarrierGateway"; -var _CCGr = "CreateCustomerGateway"; -var _CCO = "ClientConnectOptions"; -var _CCP = "CreateCoipPool"; -var _CCR = "CancelCapacityReservation"; -var _CCRF = "CancelCapacityReservationFleets"; -var _CCRFE = "CancelCapacityReservationFleetError"; -var _CCRFr = "CreateCapacityReservationFleet"; -var _CCRr = "CreateCapacityReservation"; -var _CCT = "CancelConversionTask"; -var _CCVE = "CreateClientVpnEndpoint"; -var _CCVR = "CreateClientVpnRoute"; -var _CCl = "ClientConfiguration"; -var _CCo = "CoipCidr"; -var _CCp = "CpuCredits"; -var _CCu = "CurrencyCode"; -var _CD = "ClientData"; -var _CDH = "CapacityDurationHours"; -var _CDO = "CreateDhcpOptions"; -var _CDS = "CreateDefaultSubnet"; -var _CDSDA = "ConfigDeliveryS3DestinationArn"; -var _CDSu = "CustomDnsServers"; -var _CDV = "CreateDefaultVpc"; -var _CDr = "CreateDate"; -var _CDre = "CreationDate"; -var _CDrea = "CreatedDate"; -var _CE = "CronExpression"; -var _CEOIG = "CreateEgressOnlyInternetGateway"; -var _CET = "CancelExportTask"; -var _CETo = "ConnectionEstablishedTime"; -var _CETon = "ConnectionEndTime"; -var _CEo = "ConnectionEvents"; -var _CF = "CreateFleet"; -var _CFI = "CopyFpgaImage"; -var _CFIr = "CreateFpgaImage"; -var _CFL = "CreateFlowLogs"; -var _CFS = "CurrentFleetState"; -var _CFo = "ContainerFormat"; -var _CG = "CarrierGateway"; -var _CGC = "CustomerGatewayConfiguration"; -var _CGI = "CarrierGatewayId"; -var _CGIa = "CarrierGatewayIds"; -var _CGIu = "CustomerGatewayId"; -var _CGIus = "CustomerGatewayIds"; -var _CGa = "CarrierGateways"; -var _CGu = "CustomerGateway"; -var _CGur = "CurrentGeneration"; -var _CGus = "CustomerGateways"; -var _CI = "CopyImage"; -var _CIBM = "CurrentInstanceBootMode"; -var _CICE = "CreateInstanceConnectEndpoint"; -var _CIET = "CreateInstanceExportTask"; -var _CIEW = "CreateInstanceEventWindow"; -var _CIG = "CreateInternetGateway"; -var _CILP = "CancelImageLaunchPermission"; -var _CIP = "CreateIpamPool"; -var _CIRD = "CreateIpamResourceDiscovery"; -var _CIS = "CreateIpamScope"; -var _CISI = "CurrentIpamScopeId"; -var _CIT = "CancelImportTask"; -var _CITo = "CopyImageTags"; -var _CIa = "CarrierIp"; -var _CIi = "CidrIp"; -var _CIid = "CidrIpv6"; -var _CIidr = "CidrIpv4"; -var _CIl = "ClientId"; -var _CIli = "ClientIp"; -var _CIo = "ConnectionId"; -var _CIom = "ComponentId"; -var _CIop = "CoIp"; -var _CIor = "CoreInfo"; -var _CIr = "CreateImage"; -var _CIre = "CreateIpam"; -var _CKP = "CreateKeyPair"; -var _CLB = "ClassicLoadBalancers"; -var _CLBC = "ClassicLoadBalancersConfig"; -var _CLBL = "ClassicLoadBalancerListener"; -var _CLBO = "ClientLoginBannerOptions"; -var _CLDS = "ClassicLinkDnsSupported"; -var _CLE = "ClassicLinkEnabled"; -var _CLG = "CloudwatchLogGroup"; -var _CLGR = "CreateLocalGatewayRoute"; -var _CLGRT = "CreateLocalGatewayRouteTable"; -var _CLGRTVA = "CreateLocalGatewayRouteTableVpcAssociation"; -var _CLGRTVIGA = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"; -var _CLO = "ConnectionLogOptions"; -var _CLS = "CloudwatchLogStream"; -var _CLT = "CreateLaunchTemplate"; -var _CLTV = "CreateLaunchTemplateVersion"; -var _CM = "CpuManufacturers"; -var _CMKE = "CustomerManagedKeyEnabled"; -var _CMPL = "CreateManagedPrefixList"; -var _CN = "CommonName"; -var _CNA = "CreateNetworkAcl"; -var _CNAA = "CoreNetworkAttachmentArn"; -var _CNAE = "CreateNetworkAclEntry"; -var _CNAo = "CoreNetworkArn"; -var _CNAon = "ConnectionNotificationArn"; -var _CNG = "CreateNatGateway"; -var _CNI = "CreateNetworkInterface"; -var _CNIAS = "CreateNetworkInsightsAccessScope"; -var _CNIP = "CreateNetworkInsightsPath"; -var _CNIPr = "CreateNetworkInterfacePermission"; -var _CNIo = "ConnectionNotificationIds"; -var _CNIon = "ConnectionNotificationId"; -var _CNIor = "CoreNetworkId"; -var _CNS = "ConnectionNotificationState"; -var _CNSo = "ConnectionNotificationSet"; -var _CNT = "ConnectionNotificationType"; -var _CNo = "ConnectionNotification"; -var _CO = "CpuOptions"; -var _COI = "CustomerOwnedIp"; -var _COIP = "CustomerOwnedIpv4Pool"; -var _COP = "CoolOffPeriod"; -var _COPEO = "CoolOffPeriodExpiresOn"; -var _CP = "CoipPool"; -var _CPC = "ConnectPeerConfiguration"; -var _CPG = "CreatePlacementGroup"; -var _CPI = "ConfirmProductInstance"; -var _CPIP = "CreatePublicIpv4Pool"; -var _CPIo = "CoipPoolId"; -var _CPo = "CoipPools"; -var _CR = "CreateRoute"; -var _CRA = "CapacityReservationArn"; -var _CRCC = "ClientRootCertificateChain"; -var _CRCCA = "ClientRootCertificateChainArn"; -var _CRF = "CapacityReservationFleets"; -var _CRFA = "CapacityReservationFleetArn"; -var _CRFI = "CapacityReservationFleetIds"; -var _CRFIa = "CapacityReservationFleetId"; -var _CRG = "CapacityReservationGroups"; -var _CRI = "CapacityReservationId"; -var _CRIL = "CancelReservedInstancesListing"; -var _CRILr = "CreateReservedInstancesListing"; -var _CRIT = "CreateRestoreImageTask"; -var _CRIa = "CapacityReservationIds"; -var _CRL = "CertificateRevocationList"; -var _CRO = "CapacityReservationOptions"; -var _CRP = "CapacityReservationPreference"; -var _CRRGA = "CapacityReservationResourceGroupArn"; -var _CRRVT = "CreateReplaceRootVolumeTask"; -var _CRS = "CapacityReservationSpecification"; -var _CRT = "CreateRouteTable"; -var _CRTa = "CapacityReservationTarget"; -var _CRa = "CancelReason"; -var _CRap = "CapacityRebalance"; -var _CRapa = "CapacityReservation"; -var _CRapac = "CapacityReservations"; -var _CRo = "ComponentRegion"; -var _CS = "CopySnapshot"; -var _CSBN = "CertificateS3BucketName"; -var _CSCR = "CreateSubnetCidrReservation"; -var _CSDS = "CreateSpotDatafeedSubscription"; -var _CSFR = "CancelSpotFleetRequests"; -var _CSFRS = "CurrentSpotFleetRequestState"; -var _CSG = "CreateSecurityGroup"; -var _CSIR = "CancelSpotInstanceRequests"; -var _CSIRa = "CancelledSpotInstanceRequests"; -var _CSIT = "CreateStoreImageTask"; -var _CSOK = "CertificateS3ObjectKey"; -var _CSl = "ClientSecret"; -var _CSo = "ComplianceStatus"; -var _CSon = "ConnectionStatuses"; -var _CSr = "CreateSnapshot"; -var _CSre = "CreateSnapshots"; -var _CSrea = "CreateSubnet"; -var _CSred = "CreditSpecification"; -var _CSu = "CurrentState"; -var _CSur = "CurrentStatus"; -var _CT = "CreateTags"; -var _CTC = "ConnectionTrackingConfiguration"; -var _CTFS = "CopyTagsFromSource"; -var _CTG = "CreateTransitGateway"; -var _CTGC = "CreateTransitGatewayConnect"; -var _CTGCP = "CreateTransitGatewayConnectPeer"; -var _CTGMD = "CreateTransitGatewayMulticastDomain"; -var _CTGPA = "CreateTransitGatewayPeeringAttachment"; -var _CTGPLR = "CreateTransitGatewayPrefixListReference"; -var _CTGPT = "CreateTransitGatewayPolicyTable"; -var _CTGR = "CreateTransitGatewayRoute"; -var _CTGRT = "CreateTransitGatewayRouteTable"; -var _CTGRTA = "CreateTransitGatewayRouteTableAnnouncement"; -var _CTGVA = "CreateTransitGatewayVpcAttachment"; -var _CTI = "ConversionTaskId"; -var _CTIo = "ConversionTaskIds"; -var _CTMF = "CreateTrafficMirrorFilter"; -var _CTMFR = "CreateTrafficMirrorFilterRule"; -var _CTMS = "CreateTrafficMirrorSession"; -var _CTMT = "CreateTrafficMirrorTarget"; -var _CTS = "ConnectionTrackingSpecification"; -var _CTl = "ClientToken"; -var _CTo = "ConnectivityType"; -var _CTom = "CompleteTime"; -var _CTon = "ConversionTasks"; -var _CTonv = "ConversionTask"; -var _CTr = "CreateTime"; -var _CTre = "CreationTime"; -var _CTrea = "CreationTimestamp"; -var _CV = "CreateVolume"; -var _CVAE = "CreateVerifiedAccessEndpoint"; -var _CVAG = "CreateVerifiedAccessGroup"; -var _CVAI = "CreateVerifiedAccessInstance"; -var _CVATP = "CreateVerifiedAccessTrustProvider"; -var _CVC = "CreateVpnConnection"; -var _CVCR = "CreateVpnConnectionRoute"; -var _CVE = "CreateVpcEndpoint"; -var _CVECN = "CreateVpcEndpointConnectionNotification"; -var _CVEI = "ClientVpnEndpointId"; -var _CVEIl = "ClientVpnEndpointIds"; -var _CVESC = "CreateVpcEndpointServiceConfiguration"; -var _CVEl = "ClientVpnEndpoints"; -var _CVG = "CreateVpnGateway"; -var _CVP = "CreateVolumePermission"; -var _CVPC = "CreateVpcPeeringConnection"; -var _CVPr = "CreateVolumePermissions"; -var _CVTN = "ClientVpnTargetNetworks"; -var _CVr = "CreateVpc"; -var _CVu = "CurrentVersion"; -var _CWL = "CloudWatchLogs"; -var _CWLO = "CloudWatchLogOptions"; -var _Ca = "Cascade"; -var _Cat = "Category"; -var _Ch = "Checksum"; -var _Ci = "Cidrs"; -var _Co = "Comment"; -var _Cod = "Code"; -var _Com = "Component"; -var _Con = "Context"; -var _Conf = "Configured"; -var _Conn = "Connections"; -var _Cor = "Cores"; -var _Cou = "Count"; -var _D = "Destination"; -var _DA = "DescribeAddresses"; -var _DAA = "DescribeAccountAttributes"; -var _DAAI = "DelegatedAdminAccountId"; -var _DAAe = "DescribeAddressesAttribute"; -var _DAIF = "DescribeAggregateIdFormat"; -var _DAIT = "DenyAllIgwTraffic"; -var _DANPMS = "DescribeAwsNetworkPerformanceMetricSubscriptions"; -var _DANPMSi = "DisableAwsNetworkPerformanceMetricSubscription"; -var _DART = "DefaultAssociationRouteTable"; -var _DAS = "DisableApiStop"; -var _DAT = "DescribeAddressTransfers"; -var _DATi = "DisableAddressTransfer"; -var _DATis = "DisableApiTermination"; -var _DAZ = "DescribeAvailabilityZones"; -var _DAe = "DeprecateAt"; -var _DAep = "DeprovisionedAddresses"; -var _DAes = "DestinationAddresses"; -var _DAest = "DestinationAddress"; -var _DAesti = "DestinationArn"; -var _DAi = "DisassociateAddress"; -var _DBC = "DeprovisionByoipCidr"; -var _DBCe = "DescribeByoipCidrs"; -var _DBT = "DescribeBundleTasks"; -var _DC = "DisallowedCidrs"; -var _DCA = "DomainCertificateArn"; -var _DCAR = "DeliverCrossAccountRole"; -var _DCB = "DestinationCidrBlock"; -var _DCBO = "DescribeCapacityBlockOfferings"; -var _DCC = "DeleteCoipCidr"; -var _DCG = "DeleteCarrierGateway"; -var _DCGe = "DeleteCustomerGateway"; -var _DCGes = "DescribeCarrierGateways"; -var _DCGesc = "DescribeCustomerGateways"; -var _DCLI = "DescribeClassicLinkInstances"; -var _DCLV = "DetachClassicLinkVpc"; -var _DCP = "DeleteCoipPool"; -var _DCPe = "DescribeCoipPools"; -var _DCR = "DescribeCapacityReservations"; -var _DCRF = "DescribeCapacityReservationFleets"; -var _DCT = "DescribeConversionTasks"; -var _DCVAR = "DescribeClientVpnAuthorizationRules"; -var _DCVC = "DescribeClientVpnConnections"; -var _DCVE = "DeleteClientVpnEndpoint"; -var _DCVEe = "DescribeClientVpnEndpoints"; -var _DCVR = "DeleteClientVpnRoute"; -var _DCVRe = "DescribeClientVpnRoutes"; -var _DCVTN = "DescribeClientVpnTargetNetworks"; -var _DCVTNi = "DisassociateClientVpnTargetNetwork"; -var _DCe = "DestinationCidr"; -var _DCef = "DefaultCores"; -var _DCh = "DhcpConfigurations"; -var _DCi = "DiskContainers"; -var _DCis = "DiskContainer"; -var _DDO = "DeleteDhcpOptions"; -var _DDOe = "DescribeDhcpOptions"; -var _DE = "DnsEntries"; -var _DECIR = "DisassociateEnclaveCertificateIamRole"; -var _DEEBD = "DisableEbsEncryptionByDefault"; -var _DEG = "DescribeElasticGpus"; -var _DEIT = "DescribeExportImageTasks"; -var _DEKI = "DataEncryptionKeyId"; -var _DEOIG = "DeleteEgressOnlyInternetGateway"; -var _DEOIGe = "DescribeEgressOnlyInternetGateways"; -var _DET = "DescribeExportTasks"; -var _DF = "DeleteFleets"; -var _DFA = "DefaultForAz"; -var _DFH = "DescribeFleetHistory"; -var _DFI = "DeleteFpgaImage"; -var _DFIA = "DescribeFpgaImageAttribute"; -var _DFIe = "DescribeFleetInstances"; -var _DFIes = "DescribeFpgaImages"; -var _DFL = "DeleteFlowLogs"; -var _DFLI = "DescribeFastLaunchImages"; -var _DFLe = "DescribeFlowLogs"; -var _DFLi = "DisableFastLaunch"; -var _DFSR = "DescribeFastSnapshotRestores"; -var _DFSRi = "DisableFastSnapshotRestores"; -var _DFe = "DescribeFleets"; -var _DH = "DescribeHosts"; -var _DHI = "DedicatedHostIds"; -var _DHR = "DescribeHostReservations"; -var _DHRO = "DescribeHostReservationOfferings"; -var _DHS = "DedicatedHostsSupported"; -var _DI = "DeleteIpam"; -var _DIA = "DescribeImageAttribute"; -var _DIAe = "DescribeInstanceAttribute"; -var _DIB = "DeprovisionIpamByoasn"; -var _DIBPA = "DisableImageBlockPublicAccess"; -var _DIBe = "DescribeIpamByoasn"; -var _DIBi = "DisassociateIpamByoasn"; -var _DICB = "DestinationIpv6CidrBlock"; -var _DICE = "DeleteInstanceConnectEndpoint"; -var _DICEe = "DescribeInstanceConnectEndpoints"; -var _DICS = "DescribeInstanceCreditSpecifications"; -var _DID = "DisableImageDeprecation"; -var _DIENA = "DeregisterInstanceEventNotificationAttributes"; -var _DIENAe = "DescribeInstanceEventNotificationAttributes"; -var _DIEW = "DeleteInstanceEventWindow"; -var _DIEWe = "DescribeInstanceEventWindows"; -var _DIEWi = "DisassociateInstanceEventWindow"; -var _DIF = "DescribeIdFormat"; -var _DIFi = "DiskImageFormat"; -var _DIG = "DeleteInternetGateway"; -var _DIGe = "DescribeInternetGateways"; -var _DIGet = "DetachInternetGateway"; -var _DIIF = "DescribeIdentityIdFormat"; -var _DIIP = "DisassociateIamInstanceProfile"; -var _DIIPA = "DescribeIamInstanceProfileAssociations"; -var _DIIT = "DescribeImportImageTasks"; -var _DIOAA = "DisableIpamOrganizationAdminAccount"; -var _DIP = "DeleteIpamPool"; -var _DIPC = "DeprovisionIpamPoolCidr"; -var _DIPe = "DescribeIpamPools"; -var _DIPes = "DescribeIpv6Pools"; -var _DIRD = "DeleteIpamResourceDiscovery"; -var _DIRDA = "DescribeIpamResourceDiscoveryAssociations"; -var _DIRDe = "DescribeIpamResourceDiscoveries"; -var _DIRDi = "DisassociateIpamResourceDiscovery"; -var _DIS = "DeleteIpamScope"; -var _DISI = "DestinationIpamScopeId"; -var _DIST = "DescribeImportSnapshotTasks"; -var _DISe = "DescribeInstanceStatus"; -var _DISes = "DescribeIpamScopes"; -var _DISi = "DiskImageSize"; -var _DIT = "DescribeInstanceTopology"; -var _DITO = "DescribeInstanceTypeOfferings"; -var _DITe = "DescribeInstanceTypes"; -var _DIe = "DeregisterImage"; -var _DIes = "DescribeImages"; -var _DIesc = "DescribeInstances"; -var _DIescr = "DescribeIpams"; -var _DIest = "DestinationIp"; -var _DIev = "DeviceIndex"; -var _DIevi = "DeviceId"; -var _DIi = "DisableImage"; -var _DIir = "DirectoryId"; -var _DIis = "DiskImages"; -var _DKP = "DeleteKeyPair"; -var _DKPe = "DescribeKeyPairs"; -var _DLADI = "DisableLniAtDeviceIndex"; -var _DLEM = "DeliverLogsErrorMessage"; -var _DLG = "DescribeLocalGateways"; -var _DLGR = "DeleteLocalGatewayRoute"; -var _DLGRT = "DeleteLocalGatewayRouteTable"; -var _DLGRTVA = "DeleteLocalGatewayRouteTableVpcAssociation"; -var _DLGRTVAe = "DescribeLocalGatewayRouteTableVpcAssociations"; -var _DLGRTVIGA = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"; -var _DLGRTVIGAe = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"; -var _DLGRTe = "DescribeLocalGatewayRouteTables"; -var _DLGVI = "DescribeLocalGatewayVirtualInterfaces"; -var _DLGVIG = "DescribeLocalGatewayVirtualInterfaceGroups"; -var _DLPA = "DeliverLogsPermissionArn"; -var _DLS = "DescribeLockedSnapshots"; -var _DLSe = "DeliverLogsStatus"; -var _DLT = "DeleteLaunchTemplate"; -var _DLTV = "DeleteLaunchTemplateVersions"; -var _DLTVe = "DescribeLaunchTemplateVersions"; -var _DLTe = "DescribeLaunchTemplates"; -var _DMA = "DescribeMovingAddresses"; -var _DMGM = "DeregisteredMulticastGroupMembers"; -var _DMGS = "DeregisteredMulticastGroupSources"; -var _DMH = "DescribeMacHosts"; -var _DMPL = "DeleteManagedPrefixList"; -var _DMPLe = "DescribeManagedPrefixLists"; -var _DN = "DeviceName"; -var _DNA = "DeleteNetworkAcl"; -var _DNAE = "DeleteNetworkAclEntry"; -var _DNAe = "DescribeNetworkAcls"; -var _DNCI = "DefaultNetworkCardIndex"; -var _DNG = "DeleteNatGateway"; -var _DNGA = "DisassociateNatGatewayAddress"; -var _DNGe = "DescribeNatGateways"; -var _DNI = "DeleteNetworkInterface"; -var _DNIA = "DeleteNetworkInsightsAnalysis"; -var _DNIAS = "DeleteNetworkInsightsAccessScope"; -var _DNIASA = "DeleteNetworkInsightsAccessScopeAnalysis"; -var _DNIASAe = "DescribeNetworkInsightsAccessScopeAnalyses"; -var _DNIASe = "DescribeNetworkInsightsAccessScopes"; -var _DNIAe = "DescribeNetworkInsightsAnalyses"; -var _DNIAes = "DescribeNetworkInterfaceAttribute"; -var _DNII = "DeregisteredNetworkInterfaceIds"; -var _DNIP = "DeleteNetworkInsightsPath"; -var _DNIPe = "DeleteNetworkInterfacePermission"; -var _DNIPes = "DescribeNetworkInsightsPaths"; -var _DNIPesc = "DescribeNetworkInterfacePermissions"; -var _DNIe = "DescribeNetworkInterfaces"; -var _DNIet = "DetachNetworkInterface"; -var _DNn = "DnsName"; -var _DNo = "DomainName"; -var _DO = "DestinationOptions"; -var _DOA = "DestinationOutpostArn"; -var _DOI = "DhcpOptionsId"; -var _DOIh = "DhcpOptionsIds"; -var _DOT = "DeleteOnTermination"; -var _DOe = "DeviceOptions"; -var _DOh = "DhcpOptions"; -var _DOn = "DnsOptions"; -var _DP = "DestinationPort"; -var _DPDTA = "DPDTimeoutAction"; -var _DPDTS = "DPDTimeoutSeconds"; -var _DPG = "DeletePlacementGroup"; -var _DPGe = "DescribePlacementGroups"; -var _DPIF = "DescribePrincipalIdFormat"; -var _DPIP = "DeletePublicIpv4Pool"; -var _DPIPC = "DeprovisionPublicIpv4PoolCidr"; -var _DPIPe = "DescribePublicIpv4Pools"; -var _DPL = "DescribePrefixLists"; -var _DPLI = "DestinationPrefixListId"; -var _DPLe = "DestinationPrefixLists"; -var _DPR = "DestinationPortRange"; -var _DPRT = "DefaultPropagationRouteTable"; -var _DPRe = "DestinationPortRanges"; -var _DPe = "DestinationPorts"; -var _DQ = "DataQueries"; -var _DQRI = "DeleteQueuedReservedInstances"; -var _DR = "DeleteRoute"; -var _DRDAI = "DefaultResourceDiscoveryAssociationId"; -var _DRDI = "DefaultResourceDiscoveryId"; -var _DRI = "DescribeReservedInstances"; -var _DRIL = "DescribeReservedInstancesListings"; -var _DRIM = "DescribeReservedInstancesModifications"; -var _DRIO = "DescribeReservedInstancesOfferings"; -var _DRIT = "DnsRecordIpType"; -var _DRRV = "DeleteReplacedRootVolume"; -var _DRRVT = "DescribeReplaceRootVolumeTasks"; -var _DRS = "DataRetentionSupport"; -var _DRT = "DeleteRouteTable"; -var _DRTA = "DefaultRouteTableAssociation"; -var _DRTP = "DefaultRouteTablePropagation"; -var _DRTe = "DescribeRouteTables"; -var _DRTi = "DisassociateRouteTable"; -var _DRa = "DataResponses"; -var _DRe = "DescribeRegions"; -var _DRes = "DestinationRegion"; -var _DRi = "DiscoveryRegion"; -var _DRr = "DryRun"; -var _DRy = "DynamicRouting"; -var _DS = "DeleteSnapshot"; -var _DSA = "DescribeSnapshotAttribute"; -var _DSBPA = "DisableSnapshotBlockPublicAccess"; -var _DSCA = "DisableSerialConsoleAccess"; -var _DSCB = "DisassociateSubnetCidrBlock"; -var _DSCR = "DeleteSubnetCidrReservation"; -var _DSCRe = "DeletedSubnetCidrReservation"; -var _DSDS = "DeleteSpotDatafeedSubscription"; -var _DSDSe = "DescribeSpotDatafeedSubscription"; -var _DSFI = "DescribeSpotFleetInstances"; -var _DSFR = "DescribeSpotFleetRequests"; -var _DSFRH = "DescribeSpotFleetRequestHistory"; -var _DSG = "DeleteSecurityGroup"; -var _DSGR = "DescribeSecurityGroupReferences"; -var _DSGRe = "DescribeSecurityGroupRules"; -var _DSGe = "DescribeSecurityGroups"; -var _DSI = "DescribeScheduledInstances"; -var _DSIA = "DescribeScheduledInstanceAvailability"; -var _DSIR = "DescribeSpotInstanceRequests"; -var _DSIT = "DescribeStoreImageTasks"; -var _DSPH = "DescribeSpotPriceHistory"; -var _DSSG = "DescribeStaleSecurityGroups"; -var _DSTS = "DescribeSnapshotTierStatus"; -var _DSe = "DeleteSubnet"; -var _DSel = "DeliveryStream"; -var _DSeli = "DeliveryStatus"; -var _DSes = "DescribeSnapshots"; -var _DSesc = "DescribeSubnets"; -var _DSn = "DnsServers"; -var _DSns = "DnsSupport"; -var _DT = "DeleteTags"; -var _DTA = "DpdTimeoutAction"; -var _DTCT = "DefaultTargetCapacityType"; -var _DTG = "DeleteTransitGateway"; -var _DTGA = "DescribeTransitGatewayAttachments"; -var _DTGC = "DeleteTransitGatewayConnect"; -var _DTGCP = "DeleteTransitGatewayConnectPeer"; -var _DTGCPe = "DescribeTransitGatewayConnectPeers"; -var _DTGCe = "DescribeTransitGatewayConnects"; -var _DTGMD = "DeleteTransitGatewayMulticastDomain"; -var _DTGMDe = "DescribeTransitGatewayMulticastDomains"; -var _DTGMDi = "DisassociateTransitGatewayMulticastDomain"; -var _DTGMGM = "DeregisterTransitGatewayMulticastGroupMembers"; -var _DTGMGS = "DeregisterTransitGatewayMulticastGroupSources"; -var _DTGPA = "DeleteTransitGatewayPeeringAttachment"; -var _DTGPAe = "DescribeTransitGatewayPeeringAttachments"; -var _DTGPLR = "DeleteTransitGatewayPrefixListReference"; -var _DTGPT = "DeleteTransitGatewayPolicyTable"; -var _DTGPTe = "DescribeTransitGatewayPolicyTables"; -var _DTGPTi = "DisassociateTransitGatewayPolicyTable"; -var _DTGR = "DeleteTransitGatewayRoute"; -var _DTGRT = "DeleteTransitGatewayRouteTable"; -var _DTGRTA = "DeleteTransitGatewayRouteTableAnnouncement"; -var _DTGRTAe = "DescribeTransitGatewayRouteTableAnnouncements"; -var _DTGRTP = "DisableTransitGatewayRouteTablePropagation"; -var _DTGRTe = "DescribeTransitGatewayRouteTables"; -var _DTGRTi = "DisassociateTransitGatewayRouteTable"; -var _DTGVA = "DeleteTransitGatewayVpcAttachment"; -var _DTGVAe = "DescribeTransitGatewayVpcAttachments"; -var _DTGe = "DescribeTransitGateways"; -var _DTI = "DisassociateTrunkInterface"; -var _DTIA = "DescribeTrunkInterfaceAssociations"; -var _DTMF = "DeleteTrafficMirrorFilter"; -var _DTMFR = "DeleteTrafficMirrorFilterRule"; -var _DTMFe = "DescribeTrafficMirrorFilters"; -var _DTMS = "DeleteTrafficMirrorSession"; -var _DTMSe = "DescribeTrafficMirrorSessions"; -var _DTMT = "DeleteTrafficMirrorTarget"; -var _DTMTe = "DescribeTrafficMirrorTargets"; -var _DTPC = "DefaultThreadsPerCore"; -var _DTPT = "DeviceTrustProviderType"; -var _DTS = "DpdTimeoutSeconds"; -var _DTe = "DescribeTags"; -var _DTel = "DeletionTime"; -var _DTele = "DeleteTime"; -var _DTep = "DeprecationTime"; -var _DTi = "DisablingTime"; -var _DTis = "DisabledTime"; -var _DV = "DeleteVolume"; -var _DVA = "DescribeVolumeAttribute"; -var _DVAE = "DeleteVerifiedAccessEndpoint"; -var _DVAEe = "DescribeVerifiedAccessEndpoints"; -var _DVAG = "DeleteVerifiedAccessGroup"; -var _DVAGe = "DescribeVerifiedAccessGroups"; -var _DVAI = "DeleteVerifiedAccessInstance"; -var _DVAILC = "DescribeVerifiedAccessInstanceLoggingConfigurations"; -var _DVAIe = "DescribeVerifiedAccessInstances"; -var _DVATP = "DeleteVerifiedAccessTrustProvider"; -var _DVATPe = "DescribeVerifiedAccessTrustProviders"; -var _DVATPet = "DetachVerifiedAccessTrustProvider"; -var _DVAe = "DescribeVpcAttribute"; -var _DVC = "DeleteVpnConnection"; -var _DVCB = "DisassociateVpcCidrBlock"; -var _DVCL = "DescribeVpcClassicLink"; -var _DVCLDS = "DescribeVpcClassicLinkDnsSupport"; -var _DVCLDSi = "DisableVpcClassicLinkDnsSupport"; -var _DVCLi = "DisableVpcClassicLink"; -var _DVCR = "DeleteVpnConnectionRoute"; -var _DVCe = "DescribeVpnConnections"; -var _DVCef = "DefaultVCpus"; -var _DVD = "DeviceValidationDomain"; -var _DVE = "DeleteVpcEndpoints"; -var _DVEC = "DescribeVpcEndpointConnections"; -var _DVECN = "DeleteVpcEndpointConnectionNotifications"; -var _DVECNe = "DescribeVpcEndpointConnectionNotifications"; -var _DVES = "DescribeVpcEndpointServices"; -var _DVESC = "DeleteVpcEndpointServiceConfigurations"; -var _DVESCe = "DescribeVpcEndpointServiceConfigurations"; -var _DVESP = "DescribeVpcEndpointServicePermissions"; -var _DVEe = "DescribeVpcEndpoints"; -var _DVG = "DeleteVpnGateway"; -var _DVGe = "DescribeVpnGateways"; -var _DVGet = "DetachVpnGateway"; -var _DVM = "DescribeVolumesModifications"; -var _DVN = "DefaultVersionNumber"; -var _DVPC = "DeleteVpcPeeringConnection"; -var _DVPCe = "DescribeVpcPeeringConnections"; -var _DVRP = "DisableVgwRoutePropagation"; -var _DVS = "DescribeVolumeStatus"; -var _DVe = "DeleteVpc"; -var _DVef = "DefaultVersion"; -var _DVes = "DescribeVolumes"; -var _DVesc = "DescribeVpcs"; -var _DVest = "DestinationVpc"; -var _DVet = "DetachVolume"; -var _Da = "Data"; -var _De = "Description"; -var _Dea = "Deadline"; -var _Des = "Destinations"; -var _Det = "Details"; -var _Dev = "Device"; -var _Di = "Direction"; -var _Dis = "Disks"; -var _Do = "Domain"; -var _Du = "Duration"; -var _E = "Ebs"; -var _EA = "EnableAcceleration"; -var _EANPMS = "EnableAwsNetworkPerformanceMetricSubscription"; -var _EAT = "EnableAddressTransfer"; -var _EB = "EgressBytes"; -var _EBV = "ExcludeBootVolume"; -var _EC = "ErrorCode"; -var _ECTP = "ExcessCapacityTerminationPolicy"; -var _ECVCC = "ExportClientVpnClientConfiguration"; -var _ECVCCRL = "ExportClientVpnClientCertificateRevocationList"; -var _ECx = "ExplanationCode"; -var _ED = "EndDate"; -var _EDH = "EnableDnsHostnames"; -var _EDP = "EndpointDomainPrefix"; -var _EDR = "EndDateRange"; -var _EDS = "EnableDnsSupport"; -var _EDT = "EndDateType"; -var _EDVI = "ExcludeDataVolumeIds"; -var _EDf = "EffectiveDate"; -var _EDn = "EnableDns64"; -var _EDnd = "EndpointDomain"; -var _EDv = "EventDescription"; -var _EDx = "ExpirationDate"; -var _EEBD = "EbsEncryptionByDefault"; -var _EEEBD = "EnableEbsEncryptionByDefault"; -var _EFL = "EnableFastLaunch"; -var _EFR = "EgressFilterRules"; -var _EFSR = "EnableFastSnapshotRestores"; -var _EGA = "ElasticGpuAssociations"; -var _EGAI = "ElasticGpuAssociationId"; -var _EGAS = "ElasticGpuAssociationState"; -var _EGAT = "ElasticGpuAssociationTime"; -var _EGH = "ElasticGpuHealth"; -var _EGI = "ElasticGpuIds"; -var _EGIl = "ElasticGpuId"; -var _EGS = "ElasticGpuSpecifications"; -var _EGSl = "ElasticGpuSpecification"; -var _EGSla = "ElasticGpuSet"; -var _EGSlas = "ElasticGpuState"; -var _EGT = "ElasticGpuType"; -var _EH = "EndHour"; -var _EI = "EnableImage"; -var _EIA = "ElasticInferenceAccelerators"; -var _EIAA = "ElasticInferenceAcceleratorArn"; -var _EIAAI = "ElasticInferenceAcceleratorAssociationId"; -var _EIAAS = "ElasticInferenceAcceleratorAssociationState"; -var _EIAAT = "ElasticInferenceAcceleratorAssociationTime"; -var _EIAAl = "ElasticInferenceAcceleratorAssociations"; -var _EIBPA = "EnableImageBlockPublicAccess"; -var _EID = "EnableImageDeprecation"; -var _EIOAA = "EnableIpamOrganizationAdminAccount"; -var _EIT = "ExcludedInstanceTypes"; -var _EITI = "ExportImageTaskIds"; -var _EITIx = "ExportImageTaskId"; -var _EITS = "EncryptionInTransitSupported"; -var _EITx = "ExportImageTasks"; -var _EIb = "EbsInfo"; -var _EIf = "EfaInfo"; -var _EIv = "EventInformation"; -var _EIve = "EventId"; -var _EIx = "ExportImage"; -var _EIxc = "ExchangeId"; -var _EKKI = "EncryptionKmsKeyId"; -var _ELADI = "EnableLniAtDeviceIndex"; -var _ELBL = "ElasticLoadBalancerListener"; -var _EM = "ErrorMessage"; -var _ENAUM = "EnableNetworkAddressUsageMetrics"; -var _EO = "EbsOptimized"; -var _EOI = "EbsOptimizedInfo"; -var _EOIG = "EgressOnlyInternetGateway"; -var _EOIGI = "EgressOnlyInternetGatewayId"; -var _EOIGIg = "EgressOnlyInternetGatewayIds"; -var _EOIGg = "EgressOnlyInternetGateways"; -var _EOS = "EbsOptimizedSupport"; -var _EOn = "EnclaveOptions"; -var _EP = "ExcludePaths"; -var _EPI = "EnablePrimaryIpv6"; -var _EPg = "EgressPackets"; -var _ERAOS = "EnableReachabilityAnalyzerOrganizationSharing"; -var _ERNDAAAAR = "EnableResourceNameDnsAAAARecord"; -var _ERNDAAAAROL = "EnableResourceNameDnsAAAARecordOnLaunch"; -var _ERNDAR = "EnableResourceNameDnsARecord"; -var _ERNDAROL = "EnableResourceNameDnsARecordOnLaunch"; -var _ES = "EphemeralStorage"; -var _ESBPA = "EnableSnapshotBlockPublicAccess"; -var _ESCA = "EnableSerialConsoleAccess"; -var _ESE = "EnaSrdEnabled"; -var _ESS = "EnaSrdSpecification"; -var _ESSn = "EnaSrdSupported"; -var _EST = "EventSubType"; -var _ESUE = "EnaSrdUdpEnabled"; -var _ESUS = "EnaSrdUdpSpecification"; -var _ESf = "EfaSupported"; -var _ESn = "EnaSupport"; -var _ESnc = "EncryptionSupport"; -var _ET = "EndpointType"; -var _ETGR = "ExportTransitGatewayRoutes"; -var _ETGRTP = "EnableTransitGatewayRouteTablePropagation"; -var _ETI = "ExportTaskId"; -var _ETIx = "ExportTaskIds"; -var _ETLC = "EnableTunnelLifecycleControl"; -var _ETST = "ExportToS3Task"; -var _ETa = "EarliestTime"; -var _ETi = "EipTags"; -var _ETn = "EndTime"; -var _ETna = "EnablingTime"; -var _ETnab = "EnabledTime"; -var _ETv = "EventType"; -var _ETx = "ExpirationTime"; -var _ETxp = "ExportTask"; -var _ETxpo = "ExportTasks"; -var _EU = "ExecutableUsers"; -var _EVCL = "EnableVpcClassicLink"; -var _EVCLDS = "EnableVpcClassicLinkDnsSupport"; -var _EVIO = "EnableVolumeIO"; -var _EVRP = "EnableVgwRoutePropagation"; -var _EWD = "EndWeekDay"; -var _Eg = "Egress"; -var _En = "Enabled"; -var _Enc = "Encrypted"; -var _End = "End"; -var _Endp = "Endpoint"; -var _Ent = "Entries"; -var _Er = "Error"; -var _Err = "Errors"; -var _Ev = "Events"; -var _Eve = "Event"; -var _Ex = "Explanations"; -var _F = "Force"; -var _FA = "FederatedAuthentication"; -var _FAD = "FilterAtDestination"; -var _FAS = "FilterAtSource"; -var _FAi = "FirstAddress"; -var _FC = "FulfilledCapacity"; -var _FCR = "FleetCapacityReservations"; -var _FCa = "FailureCode"; -var _FCi = "FindingComponents"; -var _FD = "ForceDelete"; -var _FDN = "FipsDnsName"; -var _FE = "FipsEnabled"; -var _FF = "FileFormat"; -var _FFC = "FailedFleetCancellations"; -var _FFi = "FindingsFound"; -var _FI = "FleetIds"; -var _FIA = "FilterInArns"; -var _FIAp = "FpgaImageAttribute"; -var _FIGI = "FpgaImageGlobalId"; -var _FII = "FpgaImageId"; -var _FIIp = "FpgaImageIds"; -var _FIPSE = "FIPSEnabled"; -var _FIi = "FindingId"; -var _FIl = "FleetId"; -var _FIp = "FpgaImages"; -var _FIpg = "FpgaInfo"; -var _FL = "FlowLogs"; -var _FLI = "FlowLogIds"; -var _FLIa = "FastLaunchImages"; -var _FLIl = "FlowLogId"; -var _FLS = "FlowLogStatus"; -var _FM = "FailureMessage"; -var _FODC = "FulfilledOnDemandCapacity"; -var _FP = "FromPort"; -var _FPC = "ForwardPathComponents"; -var _FPi = "FixedPrice"; -var _FQPD = "FailedQueuedPurchaseDeletions"; -var _FR = "FailureReason"; -var _FRa = "FastRestored"; -var _FS = "FleetState"; -var _FSR = "FastSnapshotRestores"; -var _FSRSE = "FastSnapshotRestoreStateErrors"; -var _FSRi = "FirewallStatelessRule"; -var _FSRir = "FirewallStatefulRule"; -var _FSST = "FirstSlotStartTime"; -var _FSSTR = "FirstSlotStartTimeRange"; -var _FTE = "FreeTierEligible"; -var _Fa = "Fault"; -var _Fi = "Filters"; -var _Fil = "Filter"; -var _Fl = "Fleets"; -var _Fo = "Format"; -var _Fp = "Fpgas"; -var _Fr = "From"; -var _Fre = "Frequency"; -var _G = "Groups"; -var _GA = "GroupArn"; -var _GAECIR = "GetAssociatedEnclaveCertificateIamRoles"; -var _GAIPC = "GetAssociatedIpv6PoolCidrs"; -var _GANPD = "GetAwsNetworkPerformanceData"; -var _GAS = "GatewayAssociationState"; -var _GCO = "GetConsoleOutput"; -var _GCPU = "GetCoipPoolUsage"; -var _GCRU = "GetCapacityReservationUsage"; -var _GCS = "GetConsoleScreenshot"; -var _GD = "GroupDescription"; -var _GDCS = "GetDefaultCreditSpecification"; -var _GEDKKI = "GetEbsDefaultKmsKeyId"; -var _GEEBD = "GetEbsEncryptionByDefault"; -var _GFLIT = "GetFlowLogsIntegrationTemplate"; -var _GGFCR = "GetGroupsForCapacityReservation"; -var _GHRPP = "GetHostReservationPurchasePreview"; -var _GI = "GatewayId"; -var _GIA = "GroupIpAddress"; -var _GIAH = "GetIpamAddressHistory"; -var _GIBPAS = "GetImageBlockPublicAccessState"; -var _GIDA = "GetIpamDiscoveredAccounts"; -var _GIDPA = "GetIpamDiscoveredPublicAddresses"; -var _GIDRC = "GetIpamDiscoveredResourceCidrs"; -var _GIMD = "GetInstanceMetadataDefaults"; -var _GIPA = "GetIpamPoolAllocations"; -var _GIPC = "GetIpamPoolCidrs"; -var _GIRC = "GetIpamResourceCidrs"; -var _GITFIR = "GetInstanceTypesFromInstanceRequirements"; -var _GIUD = "GetInstanceUefiData"; -var _GIp = "GpuInfo"; -var _GIr = "GroupId"; -var _GIro = "GroupIds"; -var _GK = "GreKey"; -var _GLBA = "GatewayLoadBalancerArns"; -var _GLBEI = "GatewayLoadBalancerEndpointId"; -var _GLTD = "GetLaunchTemplateData"; -var _GM = "GroupMember"; -var _GMPLA = "GetManagedPrefixListAssociations"; -var _GMPLE = "GetManagedPrefixListEntries"; -var _GN = "GroupName"; -var _GNIASAF = "GetNetworkInsightsAccessScopeAnalysisFindings"; -var _GNIASC = "GetNetworkInsightsAccessScopeContent"; -var _GNr = "GroupNames"; -var _GOI = "GroupOwnerId"; -var _GPD = "GetPasswordData"; -var _GRIEQ = "GetReservedInstancesExchangeQuote"; -var _GS = "GroupSource"; -var _GSBPAS = "GetSnapshotBlockPublicAccessState"; -var _GSCAS = "GetSerialConsoleAccessStatus"; -var _GSCR = "GetSubnetCidrReservations"; -var _GSGFV = "GetSecurityGroupsForVpc"; -var _GSPS = "GetSpotPlacementScores"; -var _GTGAP = "GetTransitGatewayAttachmentPropagations"; -var _GTGMDA = "GetTransitGatewayMulticastDomainAssociations"; -var _GTGPLR = "GetTransitGatewayPrefixListReferences"; -var _GTGPTA = "GetTransitGatewayPolicyTableAssociations"; -var _GTGPTE = "GetTransitGatewayPolicyTableEntries"; -var _GTGRTA = "GetTransitGatewayRouteTableAssociations"; -var _GTGRTP = "GetTransitGatewayRouteTablePropagations"; -var _GVAEP = "GetVerifiedAccessEndpointPolicy"; -var _GVAGP = "GetVerifiedAccessGroupPolicy"; -var _GVCDSC = "GetVpnConnectionDeviceSampleConfiguration"; -var _GVCDT = "GetVpnConnectionDeviceTypes"; -var _GVTRS = "GetVpnTunnelReplacementStatus"; -var _Gp = "Gpus"; -var _Gr = "Group"; -var _H = "Hypervisor"; -var _HCP = "HiveCompatiblePartitions"; -var _HE = "HttpEndpoint"; -var _HI = "HostIds"; -var _HIS = "HostIdSet"; -var _HIo = "HostId"; -var _HM = "HostMaintenance"; -var _HO = "HibernationOptions"; -var _HP = "HostProperties"; -var _HPI = "HttpProtocolIpv6"; -var _HPRHL = "HttpPutResponseHopLimit"; -var _HPo = "HourlyPrice"; -var _HR = "HostRecovery"; -var _HRGA = "HostResourceGroupArn"; -var _HRI = "HostReservationId"; -var _HRIS = "HostReservationIdSet"; -var _HRS = "HostReservationSet"; -var _HRi = "HistoryRecords"; -var _HS = "HibernationSupported"; -var _HT = "HttpTokens"; -var _HTo = "HostnameType"; -var _HZI = "HostedZoneId"; -var _Hi = "Hibernate"; -var _Ho = "Hosts"; -var _I = "Issuer"; -var _IA = "Ipv6Addresses"; -var _IAC = "Ipv6AddressCount"; -var _IAI = "IncludeAllInstances"; -var _IAIn = "InferenceAcceleratorInfo"; -var _IAPI = "Ipv4AddressesPerInterface"; -var _IAPIp = "Ipv6AddressesPerInterface"; -var _IAT = "IpAddressType"; -var _IATOI = "IncludeAllTagsOfInstance"; -var _IAn = "InterfaceAssociation"; -var _IAnt = "InterfaceAssociations"; -var _IAp = "IpAddress"; -var _IApa = "IpamArn"; -var _IApv = "Ipv6Address"; -var _IB = "IngressBytes"; -var _IBPAS = "ImageBlockPublicAccessState"; -var _IC = "InstanceCount"; -var _ICA = "Ipv6CidrAssociations"; -var _ICB = "Ipv6CidrBlock"; -var _ICBA = "Ipv6CidrBlockAssociation"; -var _ICBAS = "Ipv6CidrBlockAssociationSet"; -var _ICBNBG = "Ipv6CidrBlockNetworkBorderGroup"; -var _ICBS = "Ipv6CidrBlockState"; -var _ICBSp = "Ipv6CidrBlockSet"; -var _ICBn = "InsideCidrBlocks"; -var _ICE = "InstanceConnectEndpoint"; -var _ICEA = "InstanceConnectEndpointArn"; -var _ICEI = "InstanceConnectEndpointId"; -var _ICEIn = "InstanceConnectEndpointIds"; -var _ICEn = "InstanceConnectEndpoints"; -var _ICS = "InstanceCreditSpecifications"; -var _ICVCCRL = "ImportClientVpnClientCertificateRevocationList"; -var _ICn = "InstanceCounts"; -var _ICp = "Ipv6Cidr"; -var _ID = "IncludeDeprecated"; -var _IDA = "IpamDiscoveredAccounts"; -var _IDPA = "IpamDiscoveredPublicAddresses"; -var _IDRC = "IpamDiscoveredResourceCidrs"; -var _IDm = "ImageData"; -var _IDn = "IncludeDisabled"; -var _IDs = "IsDefault"; -var _IE = "IsEgress"; -var _IED = "InstanceExportDetails"; -var _IEI = "InstanceEventId"; -var _IEW = "InstanceEventWindow"; -var _IEWI = "InstanceEventWindowId"; -var _IEWIn = "InstanceEventWindowIds"; -var _IEWS = "InstanceEventWindowState"; -var _IEWn = "InstanceEventWindows"; -var _IF = "InstanceFamily"; -var _IFCS = "InstanceFamilyCreditSpecification"; -var _IFR = "IamFleetRole"; -var _IFRn = "IngressFilterRules"; -var _IG = "InstanceGenerations"; -var _IGI = "InternetGatewayId"; -var _IGIn = "InternetGatewayIds"; -var _IGn = "InternetGateway"; -var _IGnt = "InternetGateways"; -var _IH = "InstanceHealth"; -var _IHn = "InboundHeader"; -var _II = "ImportImage"; -var _IIB = "InstanceInterruptionBehavior"; -var _IIP = "IamInstanceProfile"; -var _IIPA = "IamInstanceProfileAssociation"; -var _IIPAa = "IamInstanceProfileAssociations"; -var _IIPI = "Ipv6IpamPoolId"; -var _IIPIp = "Ipv4IpamPoolId"; -var _IIS = "InstanceIdSet"; -var _IISB = "InstanceInitiatedShutdownBehavior"; -var _IIT = "ImportImageTasks"; -var _IIm = "ImportInstance"; -var _IIma = "ImageId"; -var _IImag = "ImageIds"; -var _IIn = "InstanceId"; -var _IIns = "InstanceIds"; -var _IIp = "IpamId"; -var _IIpa = "IpamIds"; -var _IKEV = "InternetKeyExchangeVersion"; -var _IKEVe = "IKEVersions"; -var _IKP = "ImportKeyPair"; -var _IL = "ImageLocation"; -var _ILn = "InstanceLifecycle"; -var _IM = "IncludeMarketplace"; -var _IMC = "InstanceMatchCriteria"; -var _IMO = "InstanceMarketOptions"; -var _IMOn = "InstanceMetadataOptions"; -var _IMT = "InstanceMetadataTags"; -var _IMU = "ImportManifestUrl"; -var _IMn = "InstanceMonitorings"; -var _IN = "Ipv6Native"; -var _INL = "Ipv6NetmaskLength"; -var _INLp = "Ipv4NetmaskLength"; -var _IOA = "ImageOwnerAlias"; -var _IOI = "IpOwnerId"; -var _IOIn = "InstanceOwnerId"; -var _IOS = "InstanceOwningService"; -var _IP = "Ipv6Prefixes"; -var _IPA = "IpamPoolAllocation"; -var _IPAI = "IpamPoolAllocationId"; -var _IPAp = "IpamPoolAllocations"; -var _IPApa = "IpamPoolArn"; -var _IPC = "Ipv6PrefixCount"; -var _IPCI = "IpamPoolCidrId"; -var _IPCp = "Ipv4PrefixCount"; -var _IPCpa = "IpamPoolCidr"; -var _IPCpam = "IpamPoolCidrs"; -var _IPE = "IpPermissionsEgress"; -var _IPI = "IpamPoolId"; -var _IPIp = "IpamPoolIds"; -var _IPIs = "IsPrimaryIpv6"; -var _IPK = "IncludePublicKey"; -var _IPO = "IpamPoolOwner"; -var _IPR = "IsPermanentRestore"; -var _IPTUC = "InstancePoolsToUseCount"; -var _IPn = "InstancePlatform"; -var _IPng = "IngressPackets"; -var _IPns = "InstancePort"; -var _IPnt = "InterfacePermission"; -var _IPnte = "InterfaceProtocol"; -var _IPo = "IoPerformance"; -var _IPp = "Ipv4Prefixes"; -var _IPpa = "IpamPool"; -var _IPpam = "IpamPools"; -var _IPpe = "IpPermissions"; -var _IPpr = "IpProtocol"; -var _IPpv = "Ipv6Pool"; -var _IPpvo = "Ipv6Pools"; -var _IPpvr = "Ipv4Prefix"; -var _IPpvre = "Ipv6Prefix"; -var _IPs = "IsPrimary"; -var _IR = "InstanceRequirements"; -var _IRC = "IpamResourceCidrs"; -var _IRCp = "IpamResourceCidr"; -var _IRD = "IpamResourceDiscovery"; -var _IRDA = "IpamResourceDiscoveryAssociation"; -var _IRDAA = "IpamResourceDiscoveryAssociationArn"; -var _IRDAI = "IpamResourceDiscoveryAssociationIds"; -var _IRDAIp = "IpamResourceDiscoveryAssociationId"; -var _IRDAp = "IpamResourceDiscoveryAssociations"; -var _IRDApa = "IpamResourceDiscoveryArn"; -var _IRDI = "IpamResourceDiscoveryId"; -var _IRDIp = "IpamResourceDiscoveryIds"; -var _IRDR = "IpamResourceDiscoveryRegion"; -var _IRDp = "IpamResourceDiscoveries"; -var _IRSDA = "IntegrationResultS3DestinationArn"; -var _IRT = "IngressRouteTable"; -var _IRWM = "InstanceRequirementsWithMetadata"; -var _IRp = "IpRanges"; -var _IRpa = "IpamRegion"; -var _IRpv = "Ipv6Ranges"; -var _IS = "ImportSnapshot"; -var _ISA = "IpamScopeArn"; -var _ISI = "IpamScopeId"; -var _ISIn = "InstanceStorageInfo"; -var _ISIp = "IpamScopeIds"; -var _ISL = "InputStorageLocation"; -var _ISS = "InstanceStorageSupported"; -var _IST = "ImportSnapshotTasks"; -var _ISTp = "IpamScopeType"; -var _ISg = "Igmpv2Support"; -var _ISm = "ImdsSupport"; -var _ISmp = "ImpairedSince"; -var _ISn = "InstanceSpecification"; -var _ISns = "InstanceStatuses"; -var _ISnst = "InstanceState"; -var _ISnsta = "InstanceStatus"; -var _ISnt = "IntegrateServices"; -var _ISp = "Ipv6Support"; -var _ISpa = "IpamScope"; -var _ISpam = "IpamScopes"; -var _ISpv = "Ipv6Supported"; -var _IT = "InstanceType"; -var _ITA = "InstanceTagAttribute"; -var _ITC = "IcmpTypeCode"; -var _ITCn = "IncludeTrustContext"; -var _ITI = "ImportTaskId"; -var _ITIm = "ImportTaskIds"; -var _ITK = "InstanceTagKeys"; -var _ITO = "InstanceTypeOfferings"; -var _ITS = "InstanceTypeSpecifications"; -var _ITm = "ImageType"; -var _ITn = "InterfaceType"; -var _ITns = "InstanceTenancy"; -var _ITnst = "InstanceTypes"; -var _ITnsta = "InstanceTags"; -var _IU = "InstanceUsages"; -var _IUp = "IpUsage"; -var _IV = "ImportVolume"; -var _IVE = "IsValidExchange"; -var _IVk = "IkeVersions"; -var _Id = "Id"; -var _Im = "Image"; -var _Ima = "Images"; -var _In = "Instances"; -var _Ins = "Instance"; -var _Int = "Interval"; -var _Io = "Iops"; -var _Ip = "Ipv4"; -var _Ipa = "Ipam"; -var _Ipam = "Ipams"; -var _Ipv = "Ipv6"; -var _K = "Kernel"; -var _KDF = "KinesisDataFirehose"; -var _KF = "KeyFormat"; -var _KFe = "KeyFingerprint"; -var _KI = "KernelId"; -var _KKA = "KmsKeyArn"; -var _KKI = "KmsKeyId"; -var _KM = "KeyMaterial"; -var _KN = "KeyName"; -var _KNe = "KeyNames"; -var _KP = "KeyPairs"; -var _KPI = "KeyPairId"; -var _KPIe = "KeyPairIds"; -var _KT = "KeyType"; -var _Ke = "Key"; -var _Key = "Keyword"; -var _L = "Locale"; -var _LA = "LocalAddress"; -var _LADT = "LastAttemptedDiscoveryTime"; -var _LAZ = "LaunchedAvailabilityZone"; -var _LAa = "LastAddress"; -var _LB = "LoadBalancers"; -var _LBA = "LoadBalancerArn"; -var _LBAo = "LocalBgpAsn"; -var _LBC = "LoadBalancersConfig"; -var _LBLP = "LoadBalancerListenerPort"; -var _LBO = "LoadBalancerOptions"; -var _LBP = "LoadBalancerPort"; -var _LBT = "LoadBalancerTarget"; -var _LBTG = "LoadBalancerTargetGroup"; -var _LBTGo = "LoadBalancerTargetGroups"; -var _LBTP = "LoadBalancerTargetPort"; -var _LC = "LoggingConfigurations"; -var _LCA = "LicenseConfigurationArn"; -var _LCO = "LockCreatedOn"; -var _LCo = "LoggingConfiguration"; -var _LD = "LogDestination"; -var _LDST = "LockDurationStartTime"; -var _LDT = "LogDestinationType"; -var _LDo = "LockDuration"; -var _LE = "LogEnabled"; -var _LEO = "LockExpiresOn"; -var _LET = "LastEvaluatedTime"; -var _LEa = "LastError"; -var _LF = "LogFormat"; -var _LFA = "LambdaFunctionArn"; -var _LG = "LaunchGroup"; -var _LGA = "LogGroupArn"; -var _LGI = "LocalGatewayId"; -var _LGIo = "LocalGatewayIds"; -var _LGN = "LogGroupName"; -var _LGRT = "LocalGatewayRouteTable"; -var _LGRTA = "LocalGatewayRouteTableArn"; -var _LGRTI = "LocalGatewayRouteTableId"; -var _LGRTIo = "LocalGatewayRouteTableIds"; -var _LGRTVA = "LocalGatewayRouteTableVpcAssociation"; -var _LGRTVAI = "LocalGatewayRouteTableVpcAssociationId"; -var _LGRTVAIo = "LocalGatewayRouteTableVpcAssociationIds"; -var _LGRTVAo = "LocalGatewayRouteTableVpcAssociations"; -var _LGRTVIGA = "LocalGatewayRouteTableVirtualInterfaceGroupAssociation"; -var _LGRTVIGAI = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationId"; -var _LGRTVIGAIo = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds"; -var _LGRTVIGAo = "LocalGatewayRouteTableVirtualInterfaceGroupAssociations"; -var _LGRTo = "LocalGatewayRouteTables"; -var _LGVI = "LocalGatewayVirtualInterfaces"; -var _LGVIG = "LocalGatewayVirtualInterfaceGroups"; -var _LGVIGI = "LocalGatewayVirtualInterfaceGroupId"; -var _LGVIGIo = "LocalGatewayVirtualInterfaceGroupIds"; -var _LGVII = "LocalGatewayVirtualInterfaceIds"; -var _LGVIIo = "LocalGatewayVirtualInterfaceId"; -var _LGo = "LogGroup"; -var _LGoc = "LocalGateways"; -var _LIIRB = "ListImagesInRecycleBin"; -var _LINC = "LocalIpv4NetworkCidr"; -var _LINCo = "LocalIpv6NetworkCidr"; -var _LLT = "LastLaunchedTime"; -var _LM = "LockMode"; -var _LMA = "LastMaintenanceApplied"; -var _LO = "LogOptions"; -var _LOF = "LogOutputFormat"; -var _LP = "LoadPermission"; -var _LPa = "LaunchPermission"; -var _LPau = "LaunchPermissions"; -var _LPi = "LimitPrice"; -var _LPo = "LoadPermissions"; -var _LS = "LockSnapshot"; -var _LSC = "LastStatusChange"; -var _LSDT = "LastSuccessfulDiscoveryTime"; -var _LSIRB = "ListSnapshotsInRecycleBin"; -var _LSL = "LogsStorageLocation"; -var _LST = "LocalStorageTypes"; -var _LSa = "LaunchSpecification"; -var _LSau = "LaunchSpecifications"; -var _LSi = "LicenseSpecifications"; -var _LSo = "LocalStorage"; -var _LSoc = "LockState"; -var _LT = "LocationType"; -var _LTAO = "LaunchTemplateAndOverrides"; -var _LTC = "LaunchTemplateConfigs"; -var _LTD = "LaunchTemplateData"; -var _LTI = "LaunchTemplateId"; -var _LTIa = "LaunchTemplateIds"; -var _LTN = "LaunchTemplateName"; -var _LTNa = "LaunchTemplateNames"; -var _LTOS = "LastTieringOperationStatus"; -var _LTOSD = "LastTieringOperationStatusDetail"; -var _LTP = "LastTieringProgress"; -var _LTS = "LaunchTemplateSpecification"; -var _LTST = "LastTieringStartTime"; -var _LTV = "LaunchTemplateVersion"; -var _LTVa = "LaunchTemplateVersions"; -var _LTa = "LaunchTemplate"; -var _LTat = "LatestTime"; -var _LTau = "LaunchTemplates"; -var _LTaun = "LaunchTime"; -var _LTi = "LicenseType"; -var _LTo = "LocalTarget"; -var _LUT = "LastUpdatedTime"; -var _LV = "LogVersion"; -var _LVN = "LatestVersionNumber"; -var _La = "Latest"; -var _Li = "Lifecycle"; -var _Lic = "Licenses"; -var _Lo = "Location"; -var _M = "Min"; -var _MA = "MutualAuthentication"; -var _MAA = "ModifyAddressAttribute"; -var _MAAA = "MaintenanceAutoAppliedAfter"; -var _MAE = "MultiAttachEnabled"; -var _MAI = "MaxAggregationInterval"; -var _MAIe = "MediaAcceleratorInfo"; -var _MAS = "MovingAddressStatuses"; -var _MATV = "MoveAddressToVpc"; -var _MAZG = "ModifyAvailabilityZoneGroup"; -var _MAa = "MacAddress"; -var _MBCTI = "MoveByoipCidrToIpam"; -var _MBIM = "MaximumBandwidthInMbps"; -var _MC = "MaxCount"; -var _MCOIOL = "MapCustomerOwnedIpOnLaunch"; -var _MCR = "ModifyCapacityReservation"; -var _MCRF = "ModifyCapacityReservationFleet"; -var _MCVE = "ModifyClientVpnEndpoint"; -var _MCi = "MinCount"; -var _MCis = "MissingComponent"; -var _MD = "MaxDuration"; -var _MDA = "MulticastDomainAssociations"; -var _MDCS = "ModifyDefaultCreditSpecification"; -var _MDDS = "MaxDrainDurationSeconds"; -var _MDK = "MetaDataKey"; -var _MDV = "MetaDataValue"; -var _MDa = "MaintenanceDetails"; -var _MDe = "MetaData"; -var _MDi = "MinDuration"; -var _ME = "MaxEntries"; -var _MEDKKI = "ModifyEbsDefaultKmsKeyId"; -var _MEI = "MaximumEfaInterfaces"; -var _MF = "ModifyFleet"; -var _MFIA = "ModifyFpgaImageAttribute"; -var _MG = "MulticastGroups"; -var _MGBPVC = "MemoryGiBPerVCpu"; -var _MH = "ModifyHosts"; -var _MHa = "MacHosts"; -var _MI = "ModifyIpam"; -var _MIA = "ModifyImageAttribute"; -var _MIAo = "ModifyInstanceAttribute"; -var _MIC = "MaxInstanceCount"; -var _MICRA = "ModifyInstanceCapacityReservationAttributes"; -var _MICS = "ModifyInstanceCreditSpecification"; -var _MIEST = "ModifyInstanceEventStartTime"; -var _MIEW = "ModifyInstanceEventWindow"; -var _MIF = "ModifyIdFormat"; -var _MIIF = "ModifyIdentityIdFormat"; -var _MIMD = "ModifyInstanceMetadataDefaults"; -var _MIMO = "ModifyInstanceMaintenanceOptions"; -var _MIMOo = "ModifyInstanceMetadataOptions"; -var _MIP = "ModifyInstancePlacement"; -var _MIPo = "ModifyIpamPool"; -var _MIRC = "ModifyIpamResourceCidr"; -var _MIRD = "ModifyIpamResourceDiscovery"; -var _MIS = "ModifyIpamScope"; -var _MIa = "MaximumIops"; -var _MIe = "MemoryInfo"; -var _MIo = "MonitorInstances"; -var _MLGR = "ModifyLocalGatewayRoute"; -var _MLT = "ModifyLaunchTemplate"; -var _MMB = "MemoryMiB"; -var _MMPL = "ModifyManagedPrefixList"; -var _MNC = "MaximumNetworkCards"; -var _MNI = "MaximumNetworkInterfaces"; -var _MNIA = "ModifyNetworkInterfaceAttribute"; -var _MO = "MetadataOptions"; -var _MOSLRG = "MemberOfServiceLinkedResourceGroup"; -var _MOSLSV = "MacOSLatestSupportedVersions"; -var _MOa = "MaintenanceOptions"; -var _MP = "MatchPaths"; -var _MPDNO = "ModifyPrivateDnsNameOptions"; -var _MPIOL = "MapPublicIpOnLaunch"; -var _MPL = "MaxParallelLaunches"; -var _MPa = "MaxPrice"; -var _MPe = "MetricPoints"; -var _MR = "MaxResults"; -var _MRI = "ModifyReservedInstances"; -var _MRo = "ModificationResults"; -var _MRu = "MultiRegion"; -var _MS = "MaintenanceStrategies"; -var _MSA = "ModifySnapshotAttribute"; -var _MSAo = "ModifySubnetAttribute"; -var _MSDIH = "MaxSlotDurationInHours"; -var _MSDIHi = "MinSlotDurationInHours"; -var _MSFR = "ModifySpotFleetRequest"; -var _MSGR = "ModifySecurityGroupRules"; -var _MSPAPOOODP = "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice"; -var _MST = "ModifySnapshotTier"; -var _MSa = "ManagementState"; -var _MSo = "MoveStatus"; -var _MSod = "ModificationState"; -var _MSu = "MulticastSupport"; -var _MT = "MarketType"; -var _MTC = "MinTargetCapacity"; -var _MTDID = "MaxTermDurationInDays"; -var _MTDIDi = "MinTermDurationInDays"; -var _MTG = "ModifyTransitGateway"; -var _MTGPLR = "ModifyTransitGatewayPrefixListReference"; -var _MTGVA = "ModifyTransitGatewayVpcAttachment"; -var _MTIMB = "MaximumThroughputInMBps"; -var _MTMFNS = "ModifyTrafficMirrorFilterNetworkServices"; -var _MTMFR = "ModifyTrafficMirrorFilterRule"; -var _MTMS = "ModifyTrafficMirrorSession"; -var _MTP = "MaxTotalPrice"; -var _MTe = "MemberType"; -var _MV = "ModifyVolume"; -var _MVA = "ModifyVolumeAttribute"; -var _MVAE = "ModifyVerifiedAccessEndpoint"; -var _MVAEP = "ModifyVerifiedAccessEndpointPolicy"; -var _MVAG = "ModifyVerifiedAccessGroup"; -var _MVAGP = "ModifyVerifiedAccessGroupPolicy"; -var _MVAI = "ModifyVerifiedAccessInstance"; -var _MVAILC = "ModifyVerifiedAccessInstanceLoggingConfiguration"; -var _MVATP = "ModifyVerifiedAccessTrustProvider"; -var _MVAo = "ModifyVpcAttribute"; -var _MVC = "ModifyVpnConnection"; -var _MVCO = "ModifyVpnConnectionOptions"; -var _MVE = "ModifyVpcEndpoint"; -var _MVECN = "ModifyVpcEndpointConnectionNotification"; -var _MVESC = "ModifyVpcEndpointServiceConfiguration"; -var _MVESP = "ModifyVpcEndpointServicePermissions"; -var _MVESPR = "ModifyVpcEndpointServicePayerResponsibility"; -var _MVEa = "ManagesVpcEndpoints"; -var _MVPCO = "ModifyVpcPeeringConnectionOptions"; -var _MVT = "ModifyVpcTenancy"; -var _MVTC = "ModifyVpnTunnelCertificate"; -var _MVTO = "ModifyVpnTunnelOptions"; -var _MVa = "MaxVersion"; -var _MVi = "MinVersion"; -var _Ma = "Max"; -var _Mai = "Main"; -var _Man = "Manufacturer"; -var _Mar = "Marketplace"; -var _Me = "Message"; -var _Mes = "Messages"; -var _Met = "Metric"; -var _Mo = "Mode"; -var _Mon = "Monitoring"; -var _Moni = "Monitored"; -var _N = "Name"; -var _NA = "NetworkAcl"; -var _NAAI = "NetworkAclAssociationId"; -var _NAI = "NetworkAclId"; -var _NAIe = "NetworkAclIds"; -var _NAIew = "NewAssociationId"; -var _NAe = "NetworkAcls"; -var _NAo = "NotAfter"; -var _NB = "NotBefore"; -var _NBD = "NotBeforeDeadline"; -var _NBG = "NetworkBorderGroup"; -var _NBGe = "NetworkBandwidthGbps"; -var _NC = "NetworkCards"; -var _NCI = "NetworkCardIndex"; -var _ND = "NoDevice"; -var _NDe = "NeuronDevices"; -var _NES = "NitroEnclavesSupport"; -var _NG = "NatGateway"; -var _NGA = "NatGatewayAddresses"; -var _NGI = "NatGatewayId"; -var _NGIa = "NatGatewayIds"; -var _NGa = "NatGateways"; -var _NI = "NetworkInterfaces"; -var _NIA = "NetworkInsightsAnalyses"; -var _NIAA = "NetworkInsightsAnalysisArn"; -var _NIAI = "NetworkInsightsAnalysisId"; -var _NIAIe = "NetworkInsightsAnalysisIds"; -var _NIAS = "NetworkInsightsAccessScope"; -var _NIASA = "NetworkInsightsAccessScopeAnalyses"; -var _NIASAA = "NetworkInsightsAccessScopeAnalysisArn"; -var _NIASAI = "NetworkInsightsAccessScopeAnalysisId"; -var _NIASAIe = "NetworkInsightsAccessScopeAnalysisIds"; -var _NIASAe = "NetworkInsightsAccessScopeArn"; -var _NIASAet = "NetworkInsightsAccessScopeAnalysis"; -var _NIASC = "NetworkInsightsAccessScopeContent"; -var _NIASI = "NetworkInsightsAccessScopeId"; -var _NIASIe = "NetworkInsightsAccessScopeIds"; -var _NIASe = "NetworkInsightsAccessScopes"; -var _NIAe = "NetworkInsightsAnalysis"; -var _NIC = "NetworkInterfaceCount"; -var _NID = "NetworkInterfaceDescription"; -var _NII = "NetworkInterfaceId"; -var _NIIe = "NetworkInterfaceIds"; -var _NIO = "NetworkInterfaceOptions"; -var _NIOI = "NetworkInterfaceOwnerId"; -var _NIP = "NetworkInsightsPath"; -var _NIPA = "NetworkInsightsPathArn"; -var _NIPI = "NetworkInsightsPathId"; -var _NIPIe = "NetworkInterfacePermissionId"; -var _NIPIet = "NetworkInsightsPathIds"; -var _NIPIetw = "NetworkInterfacePermissionIds"; -var _NIPe = "NetworkInsightsPaths"; -var _NIPet = "NetworkInterfacePermissions"; -var _NIe = "NetworkId"; -var _NIet = "NetworkInterface"; -var _NIetw = "NetworkInfo"; -var _NIeu = "NeuronInfo"; -var _NL = "NetmaskLength"; -var _NLBA = "NetworkLoadBalancerArn"; -var _NLBAe = "NetworkLoadBalancerArns"; -var _NN = "NetworkNodes"; -var _NP = "NetworkPerformance"; -var _NPF = "NetworkPathFound"; -var _NPe = "NetworkPlatform"; -var _NR = "NoReboot"; -var _NS = "NvmeSupport"; -var _NSST = "NextSlotStartTime"; -var _NSe = "NetworkServices"; -var _NT = "NextToken"; -var _NTI = "NitroTpmInfo"; -var _NTS = "NitroTpmSupport"; -var _NTe = "NetworkType"; -var _O = "Options"; -var _OA = "OutpostArn"; -var _OAr = "OrganizationArn"; -var _OArg = "OrganizationArns"; -var _OAw = "OwnerAlias"; -var _OC = "OfferingClass"; -var _OD = "OccurrenceDays"; -var _ODAS = "OnDemandAllocationStrategy"; -var _ODFC = "OnDemandFulfilledCapacity"; -var _ODMPPOLP = "OnDemandMaxPricePercentageOverLowestPrice"; -var _ODMTP = "OnDemandMaxTotalPrice"; -var _ODO = "OnDemandOptions"; -var _ODS = "OccurrenceDaySet"; -var _ODTC = "OnDemandTargetCapacity"; -var _OH = "OutboundHeader"; -var _OI = "OfferingId"; -var _OIA = "OutsideIpAddress"; -var _OIAT = "OutsideIpAddressType"; -var _OIS = "OptInStatus"; -var _OIr = "OriginalIops"; -var _OIw = "OwnerIds"; -var _OIwn = "OwnerId"; -var _OK = "ObjectKey"; -var _OMAE = "OriginalMultiAttachEnabled"; -var _OO = "OidcOptions"; -var _OR = "OperatingRegions"; -var _ORIWEA = "OutputReservedInstancesWillExpireAt"; -var _ORTE = "OccurrenceRelativeToEnd"; -var _OS = "OfferingSet"; -var _OST = "OldestSampleTime"; -var _OSr = "OriginalSize"; -var _OSv = "OverlapStatus"; -var _OT = "OfferingType"; -var _OTp = "OperationType"; -var _OTpt = "OptimizingTime"; -var _OTr = "OriginalThroughput"; -var _OU = "OccurrenceUnit"; -var _OUA = "OrganizationalUnitArn"; -var _OUAr = "OrganizationalUnitArns"; -var _OVT = "OriginalVolumeType"; -var _Or = "Origin"; -var _Ou = "Output"; -var _Ov = "Overrides"; -var _Ow = "Owners"; -var _Own = "Owner"; -var _P = "Protocol"; -var _PA = "PubliclyAdvertisable"; -var _PAI = "PeerAccountId"; -var _PAIe = "PeeringAttachmentId"; -var _PAR = "PoolAddressRange"; -var _PARo = "PoolAddressRanges"; -var _PAe = "PeerAddress"; -var _PAee = "PeerAsn"; -var _PAo = "PoolArn"; -var _PAr = "PrincipalArn"; -var _PB = "ProvisionedBandwidth"; -var _PBA = "PeerBgpAsn"; -var _PBC = "ProvisionByoipCidr"; -var _PBIG = "PeakBandwidthInGbps"; -var _PC = "ProductCode"; -var _PCB = "PurchaseCapacityBlock"; -var _PCBo = "PoolCidrBlocks"; -var _PCI = "PreserveClientIp"; -var _PCIr = "ProductCodeId"; -var _PCNI = "PeerCoreNetworkId"; -var _PCS = "PostureComplianceStatuses"; -var _PCT = "ProductCodeType"; -var _PCa = "PartitionCount"; -var _PCo = "PoolCidrs"; -var _PCoo = "PoolCount"; -var _PCr = "ProductCodes"; -var _PD = "PolicyDocument"; -var _PDE = "PrivateDnsEnabled"; -var _PDHGN = "Phase1DHGroupNumbers"; -var _PDHGNh = "Phase2DHGroupNumbers"; -var _PDHT = "PrivateDnsHostnameType"; -var _PDHTOL = "PrivateDnsHostnameTypeOnLaunch"; -var _PDN = "PrivateDnsName"; -var _PDNC = "PrivateDnsNameConfiguration"; -var _PDNO = "PrivateDnsNameOptions"; -var _PDNOOL = "PrivateDnsNameOptionsOnLaunch"; -var _PDNVS = "PrivateDnsNameVerificationState"; -var _PDNr = "PrivateDnsNames"; -var _PDNu = "PublicDnsName"; -var _PDOFIRE = "PrivateDnsOnlyForInboundResolverEndpoint"; -var _PDRTI = "PropagationDefaultRouteTableId"; -var _PDSI = "PublicDefaultScopeId"; -var _PDSIr = "PrivateDefaultScopeId"; -var _PDa = "PasswordData"; -var _PDay = "PaymentDue"; -var _PDl = "PlatformDetails"; -var _PDo = "PoolDepth"; -var _PDr = "ProductDescription"; -var _PDri = "PricingDetails"; -var _PDro = "ProductDescriptions"; -var _PE = "PolicyEnabled"; -var _PEA = "Phase1EncryptionAlgorithms"; -var _PEAh = "Phase2EncryptionAlgorithms"; -var _PED = "PartitionEndDate"; -var _PF = "PacketField"; -var _PFS = "PreviousFleetState"; -var _PG = "PlacementGroup"; -var _PGA = "PlacementGroupArn"; -var _PGI = "PlacementGroupInfo"; -var _PGl = "PlacementGroups"; -var _PHP = "PerHourPartition"; -var _PHR = "PurchaseHostReservation"; -var _PHS = "PacketHeaderStatement"; -var _PI = "PublicIp"; -var _PIA = "PrivateIpAddresses"; -var _PIAC = "PrivateIpAddressCount"; -var _PIACr = "PrivateIpAddressConfigs"; -var _PIAh = "Phase1IntegrityAlgorithms"; -var _PIAha = "Phase2IntegrityAlgorithms"; -var _PIAr = "PrivateIpAddress"; -var _PIAu = "PublicIpAddress"; -var _PIB = "ProvisionIpamByoasn"; -var _PIP = "PublicIpv4Pool"; -var _PIPC = "ProvisionIpamPoolCidr"; -var _PIPI = "PublicIpv4PoolId"; -var _PIPu = "PublicIpv4Pools"; -var _PIS = "PublicIpSource"; -var _PIc = "PciId"; -var _PIo = "PoolId"; -var _PIoo = "PoolIds"; -var _PIr = "PrimaryIpv6"; -var _PIri = "PrivateIp"; -var _PIro = "ProcessorInfo"; -var _PIu = "PublicIps"; -var _PK = "PublicKey"; -var _PKM = "PublicKeyMaterial"; -var _PL = "PacketLength"; -var _PLA = "PrefixListAssociations"; -var _PLAr = "PrefixListArn"; -var _PLF = "PartitionLoadFrequency"; -var _PLI = "PrefixListId"; -var _PLIr = "PrefixListIds"; -var _PLN = "PrefixListName"; -var _PLOI = "PrefixListOwnerId"; -var _PLS = "Phase1LifetimeSeconds"; -var _PLSh = "Phase2LifetimeSeconds"; -var _PLr = "PrefixList"; -var _PLre = "PrefixLists"; -var _PM = "PendingMaintenance"; -var _PN = "PartitionNumber"; -var _PNC = "PreviewNextCidr"; -var _PO = "PaymentOption"; -var _POI = "PeerOwnerId"; -var _POe = "PeeringOptions"; -var _PP = "ProgressPercentage"; -var _PPIPC = "ProvisionPublicIpv4PoolCidr"; -var _PR = "PortRange"; -var _PRIO = "PurchaseReservedInstancesOffering"; -var _PRN = "PolicyReferenceName"; -var _PRNo = "PolicyRuleNumber"; -var _PRU = "PtrRecordUpdate"; -var _PRa = "PayerResponsibility"; -var _PRe = "PeerRegion"; -var _PRer = "PermanentRestore"; -var _PRo = "PortRanges"; -var _PRol = "PolicyRule"; -var _PRt = "PtrRecord"; -var _PRu = "PurchaseRequests"; -var _PS = "PriceSchedules"; -var _PSD = "PartitionStartDate"; -var _PSET = "PreviousSlotEndTime"; -var _PSFRS = "PreviousSpotFleetRequestState"; -var _PSI = "PurchaseScheduledInstances"; -var _PSK = "PreSharedKey"; -var _PSKU = "PublicSigningKeyUrl"; -var _PSe = "PeeringStatus"; -var _PSer = "PermissionState"; -var _PSr = "PreviousState"; -var _PSre = "PreviousStatus"; -var _PT = "PurchaseToken"; -var _PTGI = "PeerTransitGatewayId"; -var _PTS = "PoolTagSpecifications"; -var _PTr = "PrincipalType"; -var _PTro = "ProvisionTime"; -var _PTu = "PurchaseTime"; -var _PU = "PresignedUrl"; -var _PV = "PreviousVersion"; -var _PVI = "PeerVpcId"; -var _PVIr = "PrimaryVpcId"; -var _PVr = "PropagatingVgws"; -var _PZI = "ParentZoneId"; -var _PZN = "ParentZoneName"; -var _Pe = "Permission"; -var _Per = "Period"; -var _Pl = "Placement"; -var _Pla = "Platform"; -var _Po = "Port"; -var _Pr = "Prefix"; -var _Pri = "Priority"; -var _Pric = "Price"; -var _Prim = "Primary"; -var _Prin = "Principal"; -var _Princ = "Principals"; -var _Pro = "Protocols"; -var _Prog = "Progress"; -var _Prop = "Propagation"; -var _Prov = "Provisioned"; -var _Pu = "Public"; -var _Pur = "Purchase"; -var _Q = "Quantity"; -var _R = "Resources"; -var _RA = "ReleaseAddress"; -var _RAA = "ResetAddressAttribute"; -var _RAG = "RevokeAllGroups"; -var _RAP = "RemoveAllowedPrincipals"; -var _RART = "RemoveAllocationResourceTags"; -var _RATC = "RestoreAddressToClassic"; -var _RAe = "ResolveAlias"; -var _RAo = "RoleArn"; -var _RAu = "RuleAction"; -var _RBET = "RecycleBinEnterTime"; -var _RBETe = "RecycleBinExitTime"; -var _RBUI = "RestorableByUserIds"; -var _RC = "ResourceCidr"; -var _RCS = "ResourceComplianceStatus"; -var _RCVI = "RevokeClientVpnIngress"; -var _RCe = "ReasonCodes"; -var _RCec = "RecurringCharges"; -var _RCet = "ReturnCode"; -var _RD = "RestoreDuration"; -var _RDAC = "ResourceDiscoveryAssociationCount"; -var _RDI = "RamDiskId"; -var _RDN = "RootDeviceName"; -var _RDS = "ResourceDiscoveryStatus"; -var _RDT = "RootDeviceType"; -var _RE = "RemoveEntries"; -var _RED = "RemoveEndDate"; -var _REDKKI = "ResetEbsDefaultKmsKeyId"; -var _RET = "RestoreExpiryTime"; -var _REe = "ResponseError"; -var _RF = "RemoveFields"; -var _RFIA = "ResetFpgaImageAttribute"; -var _RFP = "RekeyFuzzPercentage"; -var _RGA = "RuleGroupArn"; -var _RGI = "ReferencedGroupId"; -var _RGIe = "ReferencedGroupInfo"; -var _RGLBA = "RemoveGatewayLoadBalancerArns"; -var _RGROP = "RuleGroupRuleOptionsPairs"; -var _RGT = "RuleGroupType"; -var _RGTP = "RuleGroupTypePairs"; -var _RH = "ReleaseHosts"; -var _RHS = "RequireHibernateSupport"; -var _RI = "RebootInstances"; -var _RIA = "ResetImageAttribute"; -var _RIAe = "ResetInstanceAttribute"; -var _RIENA = "RegisterInstanceEventNotificationAttributes"; -var _RIFRB = "RestoreImageFromRecycleBin"; -var _RII = "ReservedInstanceIds"; -var _RIIPA = "ReplaceIamInstanceProfileAssociation"; -var _RIIe = "ReservedInstancesId"; -var _RIIes = "ReservedInstancesIds"; -var _RIIese = "ReservedInstanceId"; -var _RIL = "ReservedInstancesListings"; -var _RILI = "ReservedInstancesListingId"; -var _RIM = "ReservedInstancesModifications"; -var _RIMI = "ReservedInstancesModificationIds"; -var _RIMIe = "ReservedInstancesModificationId"; -var _RINC = "RemoteIpv4NetworkCidr"; -var _RINCe = "RemoteIpv6NetworkCidr"; -var _RIO = "ReservedInstancesOfferings"; -var _RIOI = "ReservedInstancesOfferingIds"; -var _RIOIe = "ReservedInstancesOfferingId"; -var _RIPA = "ReleaseIpamPoolAllocation"; -var _RIS = "ReportInstanceStatus"; -var _RIVR = "ReservedInstanceValueRollup"; -var _RIVS = "ReservedInstanceValueSet"; -var _RIa = "RamdiskId"; -var _RIe = "RegisterImage"; -var _RIeq = "RequesterId"; -var _RIes = "ResourceIds"; -var _RIese = "ReservedInstances"; -var _RIeser = "ReservationId"; -var _RIeso = "ResourceId"; -var _RIu = "RunInstances"; -var _RM = "ReasonMessage"; -var _RMGM = "RegisteredMulticastGroupMembers"; -var _RMGS = "RegisteredMulticastGroupSources"; -var _RMPLV = "RestoreManagedPrefixListVersion"; -var _RMTS = "RekeyMarginTimeSeconds"; -var _RMe = "RequesterManaged"; -var _RN = "RegionName"; -var _RNAA = "ReplaceNetworkAclAssociation"; -var _RNAE = "ReplaceNetworkAclEntry"; -var _RNIA = "ResetNetworkInterfaceAttribute"; -var _RNII = "RegisteredNetworkInterfaceIds"; -var _RNLBA = "RemoveNetworkLoadBalancerArns"; -var _RNS = "RemoveNetworkServices"; -var _RNe = "RegionNames"; -var _RNes = "ResourceName"; -var _RNo = "RoleName"; -var _RNu = "RuleNumber"; -var _RO = "ResourceOwner"; -var _ROI = "ResourceOwnerId"; -var _ROR = "RemoveOperatingRegions"; -var _ROS = "ResourceOverlapStatus"; -var _ROo = "RouteOrigin"; -var _ROu = "RuleOptions"; -var _RP = "ResetPolicy"; -var _RPC = "ReturnPathComponents"; -var _RPCO = "RequesterPeeringConnectionOptions"; -var _RPDN = "RemovePrivateDnsName"; -var _RR = "ReplaceRoute"; -var _RRTA = "ReplaceRouteTableAssociation"; -var _RRTI = "RemoveRouteTableIds"; -var _RRVT = "ReplaceRootVolumeTask"; -var _RRVTI = "ReplaceRootVolumeTaskIds"; -var _RRVTIe = "ReplaceRootVolumeTaskId"; -var _RRVTe = "ReplaceRootVolumeTasks"; -var _RRe = "ResourceRegion"; -var _RS = "ReplacementStrategy"; -var _RSA = "ResetSnapshotAttribute"; -var _RSF = "RequestSpotFleet"; -var _RSFRB = "RestoreSnapshotFromRecycleBin"; -var _RSGE = "RevokeSecurityGroupEgress"; -var _RSGI = "RevokeSecurityGroupIngress"; -var _RSGIe = "RemoveSecurityGroupIds"; -var _RSI = "RequestSpotInstances"; -var _RSIAT = "RemoveSupportedIpAddressTypes"; -var _RSIe = "RemoveSubnetIds"; -var _RSIu = "RunScheduledInstances"; -var _RST = "RestoreSnapshotTier"; -var _RSTe = "RestoreStartTime"; -var _RSe = "ResourceStatement"; -var _RT = "ResourceType"; -var _RTAI = "RouteTableAssociationId"; -var _RTGCB = "RemoveTransitGatewayCidrBlocks"; -var _RTGMDA = "RejectTransitGatewayMulticastDomainAssociations"; -var _RTGMGM = "RegisterTransitGatewayMulticastGroupMembers"; -var _RTGMGS = "RegisterTransitGatewayMulticastGroupSources"; -var _RTGPA = "RejectTransitGatewayPeeringAttachment"; -var _RTGR = "ReplaceTransitGatewayRoute"; -var _RTGVA = "RejectTransitGatewayVpcAttachment"; -var _RTI = "RouteTableId"; -var _RTIe = "RequesterTgwInfo"; -var _RTIo = "RouteTableIds"; -var _RTR = "RouteTableRoute"; -var _RTV = "RemainingTotalValue"; -var _RTe = "ReservationType"; -var _RTel = "ReleaseTime"; -var _RTeq = "RequestTime"; -var _RTes = "ResourceTag"; -var _RTeso = "ResourceTypes"; -var _RTesou = "ResourceTags"; -var _RTo = "RouteTable"; -var _RTou = "RouteTables"; -var _RUI = "ReplaceUnhealthyInstances"; -var _RUV = "RemainingUpfrontValue"; -var _RV = "ReturnValue"; -var _RVEC = "RejectVpcEndpointConnections"; -var _RVI = "ReferencingVpcId"; -var _RVIe = "RequesterVpcInfo"; -var _RVPC = "RejectVpcPeeringConnection"; -var _RVT = "ReplaceVpnTunnel"; -var _RVe = "ReservationValue"; -var _RWS = "ReplayWindowSize"; -var _Ra = "Ramdisk"; -var _Re = "Remove"; -var _Rea = "Reason"; -var _Rec = "Recurrence"; -var _Reg = "Regions"; -var _Regi = "Region"; -var _Req = "Requested"; -var _Res = "Resource"; -var _Rese = "Reservations"; -var _Resu = "Result"; -var _Ret = "Return"; -var _Ro = "Route"; -var _Rou = "Routes"; -var _S = "Source"; -var _SA = "StartupAction"; -var _SAI = "SecondaryAllocationIds"; -var _SAMLPA = "SAMLProviderArn"; -var _SAZ = "SingleAvailabilityZone"; -var _SAo = "SourceAddresses"; -var _SAou = "SourceAddress"; -var _SAour = "SourceArn"; -var _SAu = "SuggestedAccounts"; -var _SAub = "SubnetArn"; -var _SAup = "SupportedArchitectures"; -var _SB = "S3Bucket"; -var _SBM = "SupportedBootModes"; -var _SC = "SubnetConfigurations"; -var _SCA = "ServerCertificateArn"; -var _SCAE = "SerialConsoleAccessEnabled"; -var _SCB = "SourceCidrBlock"; -var _SCR = "SubnetCidrReservation"; -var _SCRI = "SubnetCidrReservationId"; -var _SCSIG = "SustainedClockSpeedInGhz"; -var _SCc = "ScopeCount"; -var _SCe = "ServiceConfiguration"; -var _SCer = "ServiceConfigurations"; -var _SCn = "SnapshotConfiguration"; -var _SD = "SpreadDomain"; -var _SDC = "SourceDestCheck"; -var _SDI = "SendDiagnosticInterrupt"; -var _SDIH = "SlotDurationInHours"; -var _SDLTV = "SuccessfullyDeletedLaunchTemplateVersions"; -var _SDR = "StartDateRange"; -var _SDS = "SpotDatafeedSubscription"; -var _SDV = "SetDefaultVersion"; -var _SDe = "ServiceDetails"; -var _SDn = "SnapshotDetails"; -var _SDt = "StartDate"; -var _SEL = "S3ExportLocation"; -var _SET = "SampledEndTime"; -var _SF = "SupportedFeatures"; -var _SFC = "SuccessfulFleetCancellations"; -var _SFD = "SuccessfulFleetDeletions"; -var _SFII = "SourceFpgaImageId"; -var _SFR = "SuccessfulFleetRequests"; -var _SFRC = "SpotFleetRequestConfig"; -var _SFRCp = "SpotFleetRequestConfigs"; -var _SFRI = "SpotFleetRequestIds"; -var _SFRIp = "SpotFleetRequestId"; -var _SFRS = "SpotFleetRequestState"; -var _SG = "SecurityGroups"; -var _SGFV = "SecurityGroupForVpcs"; -var _SGI = "SecurityGroupIds"; -var _SGIe = "SecurityGroupId"; -var _SGR = "SecurityGroupRules"; -var _SGRD = "SecurityGroupRuleDescriptions"; -var _SGRI = "SecurityGroupRuleIds"; -var _SGRIe = "SecurityGroupRuleId"; -var _SGRS = "SecurityGroupReferencingSupport"; -var _SGRSe = "SecurityGroupReferenceSet"; -var _SGRe = "SecurityGroupRule"; -var _SGe = "SecurityGroup"; -var _SH = "StartHour"; -var _SI = "StartInstances"; -var _SIAS = "ScheduledInstanceAvailabilitySet"; -var _SIAT = "SupportedIpAddressTypes"; -var _SICR = "SubnetIpv4CidrReservations"; -var _SICRu = "SubnetIpv6CidrReservations"; -var _SICS = "SuccessfulInstanceCreditSpecifications"; -var _SIGB = "SizeInGB"; -var _SII = "SourceImageId"; -var _SIIc = "ScheduledInstanceIds"; -var _SIIch = "ScheduledInstanceId"; -var _SIIo = "SourceInstanceId"; -var _SIMB = "SizeInMiB"; -var _SIP = "StaleIpPermissions"; -var _SIPE = "StaleIpPermissionsEgress"; -var _SIPI = "SourceIpamPoolId"; -var _SIR = "SpotInstanceRequests"; -var _SIRI = "SpotInstanceRequestIds"; -var _SIRIp = "SpotInstanceRequestId"; -var _SIS = "ScheduledInstanceSet"; -var _SIT = "SpotInstanceType"; -var _SITR = "StoreImageTaskResults"; -var _SITi = "SingleInstanceType"; -var _SIe = "ServiceId"; -var _SIer = "ServiceIds"; -var _SIn = "SnapshotId"; -var _SIna = "SnapshotIds"; -var _SIo = "SourceIp"; -var _SIt = "StopInstances"; -var _SIta = "StartingInstances"; -var _SIto = "StoppingInstances"; -var _SIu = "SubnetIds"; -var _SIub = "SubnetId"; -var _SIubs = "SubsystemId"; -var _SK = "S3Key"; -var _SKo = "S3objectKey"; -var _SL = "SpreadLevel"; -var _SLGR = "SearchLocalGatewayRoutes"; -var _SLo = "S3Location"; -var _SM = "StatusMessage"; -var _SMPPOLP = "SpotMaxPricePercentageOverLowestPrice"; -var _SMS = "SpotMaintenanceStrategies"; -var _SMTP = "SpotMaxTotalPrice"; -var _SMt = "StateMessage"; -var _SN = "SessionNumber"; -var _SNIA = "StartNetworkInsightsAnalysis"; -var _SNIASA = "StartNetworkInsightsAccessScopeAnalysis"; -var _SNS = "SriovNetSupport"; -var _SNe = "ServiceName"; -var _SNeq = "SequenceNumber"; -var _SNer = "ServiceNames"; -var _SO = "SpotOptions"; -var _SOT = "S3ObjectTags"; -var _SP = "S3Prefix"; -var _SPA = "SamlProviderArn"; -var _SPH = "SpotPriceHistory"; -var _SPI = "ServicePermissionId"; -var _SPIA = "SecondaryPrivateIpAddresses"; -var _SPIAC = "SecondaryPrivateIpAddressCount"; -var _SPL = "SourcePrefixLists"; -var _SPR = "SourcePortRange"; -var _SPRo = "SourcePortRanges"; -var _SPS = "SpotPlacementScores"; -var _SPo = "SourcePorts"; -var _SPp = "SpotPrice"; -var _SQPD = "SuccessfulQueuedPurchaseDeletions"; -var _SR = "SourceRegion"; -var _SRDT = "SupportedRootDeviceTypes"; -var _SRO = "StaticRoutesOnly"; -var _SRT = "SubnetRouteTable"; -var _SRe = "ServiceResource"; -var _SRo = "SourceResource"; -var _SRt = "StateReason"; -var _SS = "SseSpecification"; -var _SSGN = "SourceSecurityGroupName"; -var _SSGOI = "SourceSecurityGroupOwnerId"; -var _SSGS = "StaleSecurityGroupSet"; -var _SSI = "SourceSnapshotId"; -var _SSIo = "SourceSnapshotIds"; -var _SSP = "SelfServicePortal"; -var _SSPU = "SelfServicePortalUrl"; -var _SSS = "StaticSourcesSupport"; -var _SSSAMLPA = "SelfServiceSAMLProviderArn"; -var _SSSPA = "SelfServiceSamlProviderArn"; -var _SST = "SampledStartTime"; -var _SSTR = "SlotStartTimeRange"; -var _SSe = "ServiceState"; -var _SSu = "SupportedStrategies"; -var _SSy = "SystemStatus"; -var _ST = "SplitTunnel"; -var _STC = "SpotTargetCapacity"; -var _STD = "SnapshotTaskDetail"; -var _STFR = "StoreTaskFailureReason"; -var _STGMG = "SearchTransitGatewayMulticastGroups"; -var _STGR = "SearchTransitGatewayRoutes"; -var _STH = "SessionTimeoutHours"; -var _STR = "SkipTunnelReplacement"; -var _STRt = "StateTransitionReason"; -var _STS = "SnapshotTierStatuses"; -var _STSt = "StoreTaskState"; -var _STT = "StateTransitionTime"; -var _STa = "SampleTime"; -var _STe = "ServiceType"; -var _STo = "SourceType"; -var _STs = "SseType"; -var _STt = "StartTime"; -var _STto = "StorageTier"; -var _SUC = "SupportedUsageClasses"; -var _SV = "SourceVersion"; -var _SVESPDV = "StartVpcEndpointServicePrivateDnsVerification"; -var _SVI = "SubsystemVendorId"; -var _SVT = "SupportedVirtualizationTypes"; -var _SVh = "ShellVersion"; -var _SVo = "SourceVpc"; -var _SVu = "SupportedVersions"; -var _SWD = "StartWeekDay"; -var _S_ = "S3"; -var _Sc = "Scope"; -var _Sco = "Score"; -var _Se = "Service"; -var _Set = "Settings"; -var _Si = "Signature"; -var _Siz = "Size"; -var _Sn = "Snapshots"; -var _So = "Sources"; -var _Soc = "Sockets"; -var _Sof = "Software"; -var _St = "Storage"; -var _Sta = "Statistic"; -var _Star = "Start"; -var _Stat = "State"; -var _Statu = "Status"; -var _Status = "Statuses"; -var _Str = "Strategy"; -var _Su = "Subnet"; -var _Sub = "Subscriptions"; -var _Subn = "Subnets"; -var _Suc = "Successful"; -var _Succ = "Success"; -var _T = "Type"; -var _TAAC = "TotalAvailableAddressCount"; -var _TAC = "TotalAddressCount"; -var _TAI = "TransferAccountId"; -var _TC = "TargetConfigurations"; -var _TCS = "TargetCapacitySpecification"; -var _TCUT = "TargetCapacityUnitType"; -var _TCVC = "TerminateClientVpnConnections"; -var _TCVR = "TargetConfigurationValueRollup"; -var _TCVS = "TargetConfigurationValueSet"; -var _TCa = "TargetCapacity"; -var _TCar = "TargetConfiguration"; -var _TCo = "TotalCapacity"; -var _TD = "TrafficDirection"; -var _TDe = "TerminationDelay"; -var _TE = "TargetEnvironment"; -var _TED = "TermEndDate"; -var _TET = "TcpEstablishedTimeout"; -var _TEo = "TokenEndpoint"; -var _TFC = "TotalFulfilledCapacity"; -var _TFMIMB = "TotalFpgaMemoryInMiB"; -var _TG = "TargetGroups"; -var _TGA = "TransitGatewayAddress"; -var _TGAI = "TransitGatewayAttachmentId"; -var _TGAIr = "TransitGatewayAttachmentIds"; -var _TGAP = "TransitGatewayAttachmentPropagations"; -var _TGAr = "TransitGatewayAttachments"; -var _TGAra = "TransitGatewayAttachment"; -var _TGAran = "TransitGatewayArn"; -var _TGArans = "TransitGatewayAsn"; -var _TGC = "TargetGroupsConfig"; -var _TGCB = "TransitGatewayCidrBlocks"; -var _TGCP = "TransitGatewayConnectPeer"; -var _TGCPI = "TransitGatewayConnectPeerId"; -var _TGCPIr = "TransitGatewayConnectPeerIds"; -var _TGCPr = "TransitGatewayConnectPeers"; -var _TGCr = "TransitGatewayConnect"; -var _TGCra = "TransitGatewayConnects"; -var _TGI = "TransitGatewayId"; -var _TGIr = "TransitGatewayIds"; -var _TGMD = "TransitGatewayMulticastDomain"; -var _TGMDA = "TransitGatewayMulticastDomainArn"; -var _TGMDI = "TransitGatewayMulticastDomainId"; -var _TGMDIr = "TransitGatewayMulticastDomainIds"; -var _TGMDr = "TransitGatewayMulticastDomains"; -var _TGMIMB = "TotalGpuMemoryInMiB"; -var _TGOI = "TransitGatewayOwnerId"; -var _TGPA = "TransitGatewayPeeringAttachment"; -var _TGPAr = "TransitGatewayPeeringAttachments"; -var _TGPLR = "TransitGatewayPrefixListReference"; -var _TGPLRr = "TransitGatewayPrefixListReferences"; -var _TGPT = "TransitGatewayPolicyTable"; -var _TGPTE = "TransitGatewayPolicyTableEntries"; -var _TGPTI = "TransitGatewayPolicyTableId"; -var _TGPTIr = "TransitGatewayPolicyTableIds"; -var _TGPTr = "TransitGatewayPolicyTables"; -var _TGRT = "TransitGatewayRouteTable"; -var _TGRTA = "TransitGatewayRouteTableAnnouncement"; -var _TGRTAI = "TransitGatewayRouteTableAnnouncementId"; -var _TGRTAIr = "TransitGatewayRouteTableAnnouncementIds"; -var _TGRTAr = "TransitGatewayRouteTableAnnouncements"; -var _TGRTI = "TransitGatewayRouteTableId"; -var _TGRTIr = "TransitGatewayRouteTableIds"; -var _TGRTP = "TransitGatewayRouteTablePropagations"; -var _TGRTR = "TransitGatewayRouteTableRoute"; -var _TGRTr = "TransitGatewayRouteTables"; -var _TGVA = "TransitGatewayVpcAttachment"; -var _TGVAr = "TransitGatewayVpcAttachments"; -var _TGr = "TransitGateway"; -var _TGra = "TransitGateways"; -var _THP = "TotalHourlyPrice"; -var _TI = "TerminateInstances"; -var _TIC = "TunnelInsideCidr"; -var _TICo = "TotalInstanceCount"; -var _TII = "TrunkInterfaceId"; -var _TIIC = "TunnelInsideIpv6Cidr"; -var _TIIV = "TunnelInsideIpVersion"; -var _TIMIMB = "TotalInferenceMemoryInMiB"; -var _TIWE = "TerminateInstancesWithExpiration"; -var _TIa = "TargetIops"; -var _TIe = "TenantId"; -var _TIer = "TerminatingInstances"; -var _TLSGB = "TotalLocalStorageGB"; -var _TMAE = "TargetMultiAttachEnabled"; -var _TMF = "TrafficMirrorFilter"; -var _TMFI = "TrafficMirrorFilterId"; -var _TMFIr = "TrafficMirrorFilterIds"; -var _TMFR = "TrafficMirrorFilterRule"; -var _TMFRI = "TrafficMirrorFilterRuleId"; -var _TMFr = "TrafficMirrorFilters"; -var _TMMIMB = "TotalMediaMemoryInMiB"; -var _TMS = "TrafficMirrorSession"; -var _TMSI = "TrafficMirrorSessionId"; -var _TMSIr = "TrafficMirrorSessionIds"; -var _TMSr = "TrafficMirrorSessions"; -var _TMT = "TrafficMirrorTarget"; -var _TMTI = "TrafficMirrorTargetId"; -var _TMTIr = "TrafficMirrorTargetIds"; -var _TMTr = "TrafficMirrorTargets"; -var _TNC = "TargetNetworkCidr"; -var _TNDMIMB = "TotalNeuronDeviceMemoryInMiB"; -var _TNI = "TargetNetworkId"; -var _TO = "TunnelOptions"; -var _TOAT = "TransferOfferAcceptedTimestamp"; -var _TOET = "TransferOfferExpirationTimestamp"; -var _TP = "ToPort"; -var _TPC = "ThreadsPerCore"; -var _TPT = "TrustProviderType"; -var _TPr = "TransportProtocol"; -var _TR = "ThroughResources"; -var _TRC = "TargetResourceCount"; -var _TRD = "TemporaryRestoreDays"; -var _TRTI = "TargetRouteTableId"; -var _TRi = "TimeRanges"; -var _TS = "TagSpecifications"; -var _TSD = "TermStartDate"; -var _TSIGB = "TotalSizeInGB"; -var _TSIH = "TotalScheduledInstanceHours"; -var _TST = "TieringStartTime"; -var _TSTa = "TaskStartTime"; -var _TSa = "TargetSubnet"; -var _TSag = "TagSet"; -var _TSagp = "TagSpecification"; -var _TSar = "TargetSize"; -var _TSas = "TaskState"; -var _TSp = "TpmSupport"; -var _TT = "TrafficType"; -var _TTC = "TotalTargetCapacity"; -var _TTGAI = "TransportTransitGatewayAttachmentId"; -var _TTa = "TargetThroughput"; -var _TUP = "TotalUpfrontPrice"; -var _TV = "TargetVersion"; -var _TVC = "TotalVCpus"; -var _TVSI = "TargetVpcSubnetId"; -var _TVT = "TargetVolumeType"; -var _Ta = "Tags"; -var _Tag = "Tag"; -var _Te = "Tenancy"; -var _Ter = "Term"; -var _Th = "Throughput"; -var _Ti = "Tier"; -var _Tim = "Timestamp"; -var _To = "To"; -var _U = "Url"; -var _UB = "UserBucket"; -var _UD = "UserData"; -var _UDLTV = "UnsuccessfullyDeletedLaunchTemplateVersions"; -var _UDe = "UefiData"; -var _UDp = "UpdatedDate"; -var _UDpd = "UpdateDate"; -var _UE = "UploadEnd"; -var _UF = "UpfrontFee"; -var _UFD = "UnsuccessfulFleetDeletions"; -var _UFR = "UnsuccessfulFleetRequests"; -var _UG = "UserGroups"; -var _UI = "UnmonitorInstances"; -var _UIA = "UnassignIpv6Addresses"; -var _UIAn = "UnassignedIpv6Addresses"; -var _UIC = "UsedInstanceCount"; -var _UICS = "UnsuccessfulInstanceCreditSpecifications"; -var _UIE = "UserInfoEndpoint"; -var _UIGP = "UserIdGroupPairs"; -var _UIP = "UnknownIpPermissions"; -var _UIPn = "UnassignedIpv6Prefixes"; -var _UIs = "UserId"; -var _UIse = "UserIds"; -var _ULI = "UseLongIds"; -var _ULIA = "UseLongIdsAggregated"; -var _UO = "UsageOperation"; -var _UOUT = "UsageOperationUpdateTime"; -var _UP = "UploadPolicy"; -var _UPIA = "UnassignPrivateIpAddresses"; -var _UPNGA = "UnassignPrivateNatGatewayAddress"; -var _UPS = "UploadPolicySignature"; -var _UPp = "UpfrontPrice"; -var _UPs = "UsagePrice"; -var _US = "UnlockSnapshot"; -var _USGRDE = "UpdateSecurityGroupRuleDescriptionsEgress"; -var _USGRDI = "UpdateSecurityGroupRuleDescriptionsIngress"; -var _UST = "UdpStreamTimeout"; -var _USp = "UploadSize"; -var _USpl = "UploadStart"; -var _USs = "UsageStrategy"; -var _UT = "UdpTimeout"; -var _UTPT = "UserTrustProviderType"; -var _UTp = "UpdateTime"; -var _Un = "Unsuccessful"; -var _Us = "Username"; -var _V = "Version"; -var _VA = "VpcAttachment"; -var _VAE = "VerifiedAccessEndpoint"; -var _VAEI = "VerifiedAccessEndpointId"; -var _VAEIe = "VerifiedAccessEndpointIds"; -var _VAEe = "VerifiedAccessEndpoints"; -var _VAG = "VerifiedAccessGroup"; -var _VAGA = "VerifiedAccessGroupArn"; -var _VAGI = "VerifiedAccessGroupId"; -var _VAGIe = "VerifiedAccessGroupIds"; -var _VAGe = "VerifiedAccessGroups"; -var _VAI = "VerifiedAccessInstance"; -var _VAII = "VerifiedAccessInstanceId"; -var _VAIIe = "VerifiedAccessInstanceIds"; -var _VAIe = "VerifiedAccessInstances"; -var _VATP = "VerifiedAccessTrustProvider"; -var _VATPI = "VerifiedAccessTrustProviderId"; -var _VATPIe = "VerifiedAccessTrustProviderIds"; -var _VATPe = "VerifiedAccessTrustProviders"; -var _VAp = "VpcAttachments"; -var _VC = "VpnConnection"; -var _VCC = "VCpuCount"; -var _VCDSC = "VpnConnectionDeviceSampleConfiguration"; -var _VCDT = "VpnConnectionDeviceTypes"; -var _VCDTI = "VpnConnectionDeviceTypeId"; -var _VCI = "VpnConnectionId"; -var _VCIp = "VpnConnectionIds"; -var _VCIpu = "VCpuInfo"; -var _VCa = "ValidCores"; -var _VCp = "VpnConnections"; -var _VD = "VersionDescription"; -var _VE = "VpcEndpoint"; -var _VEC = "VpcEndpointConnections"; -var _VECI = "VpcEndpointConnectionId"; -var _VEI = "VpcEndpointIds"; -var _VEIp = "VpcEndpointId"; -var _VEO = "VpcEndpointOwner"; -var _VEPS = "VpcEndpointPolicySupported"; -var _VES = "VpnEcmpSupport"; -var _VESp = "VpcEndpointService"; -var _VESpc = "VpcEndpointState"; -var _VET = "VpcEndpointType"; -var _VEp = "VpcEndpoints"; -var _VF = "ValidFrom"; -var _VFR = "ValidationFailureReason"; -var _VG = "VpnGateway"; -var _VGI = "VpnGatewayId"; -var _VGIp = "VpnGatewayIds"; -var _VGp = "VpnGateways"; -var _VI = "VpcId"; -var _VIe = "VendorId"; -var _VIl = "VlanId"; -var _VIo = "VolumeId"; -var _VIol = "VolumeIds"; -var _VIp = "VpcIds"; -var _VM = "VolumesModifications"; -var _VMo = "VolumeModification"; -var _VN = "VirtualName"; -var _VNI = "VirtualNetworkId"; -var _VNe = "VersionNumber"; -var _VOI = "VolumeOwnerId"; -var _VOIp = "VpcOwnerId"; -var _VP = "VpnPort"; -var _VPC = "VpcPeeringConnection"; -var _VPCI = "VpcPeeringConnectionId"; -var _VPCIp = "VpcPeeringConnectionIds"; -var _VPCp = "VpcPeeringConnections"; -var _VPp = "VpnProtocol"; -var _VS = "VolumeSize"; -var _VSo = "VolumeStatuses"; -var _VSol = "VolumeStatus"; -var _VT = "VolumeType"; -var _VTOIA = "VpnTunnelOutsideIpAddress"; -var _VTPC = "ValidThreadsPerCore"; -var _VTg = "VgwTelemetry"; -var _VTi = "VirtualizationTypes"; -var _VTir = "VirtualizationType"; -var _VU = "ValidUntil"; -var _Va = "Value"; -var _Val = "Values"; -var _Ve = "Versions"; -var _Ven = "Vendor"; -var _Vl = "Vlan"; -var _Vo = "Volume"; -var _Vol = "Volumes"; -var _Vp = "Vpc"; -var _Vpc = "Vpcs"; -var _W = "Weight"; -var _WBC = "WithdrawByoipCidr"; -var _WC = "WeightedCapacity"; -var _WM = "WarningMessage"; -var _WU = "WakeUp"; -var _Wa = "Warning"; -var _ZI = "ZoneIds"; -var _ZIo = "ZoneId"; -var _ZN = "ZoneNames"; -var _ZNo = "ZoneName"; -var _ZT = "ZoneType"; -var _a = "associations"; -var _aA = "asnAssociation"; -var _aAC = "availableAddressCount"; -var _aAI = "awsAccountId"; -var _aAId = "addressAllocationId"; -var _aAS = "asnAssociationSet"; -var _aASA = "autoAcceptSharedAssociations"; -var _aASAu = "autoAcceptSharedAttachments"; -var _aASc = "accountAttributeSet"; -var _aASd = "additionalAccountSet"; -var _aAc = "accessAll"; -var _aBHP = "actualBlockHourlyPrice"; -var _aC = "availableCapacity"; -var _aCIA = "associateCarrierIpAddress"; -var _aCT = "archivalCompleteTime"; -var _aCc = "acceleratorCount"; -var _aCd = "addressCount"; -var _aD = "activeDirectory"; -var _aDNL = "allocationDefaultNetmaskLength"; -var _aDRFRV = "allowDnsResolutionFromRemoteVpc"; -var _aDRTI = "associationDefaultRouteTableId"; -var _aDS = "additionalDetailSet"; -var _aDT = "additionalDetailType"; -var _aDn = "announcementDirection"; -var _aDp = "applicationDomain"; -var _aE = "authorizationEndpoint"; -var _aEC = "analyzedEniCount"; -var _aEFLCLTRV = "allowEgressFromLocalClassicLinkToRemoteVpc"; -var _aEFLVTRCL = "allowEgressFromLocalVpcToRemoteClassicLink"; -var _aEIO = "autoEnableIO"; -var _aF = "addressFamily"; -var _aFS = "analysisFindingSet"; -var _aI = "allocationId"; -var _aIA = "assignedIpv6Addresses"; -var _aIAC = "availableIpAddressCount"; -var _aIAOC = "assignIpv6AddressOnCreation"; -var _aIC = "availableInstanceCapacity"; -var _aICv = "availableInstanceCount"; -var _aIPS = "assignedIpv6PrefixSet"; -var _aIPSs = "assignedIpv4PrefixSet"; -var _aIS = "activeInstanceSet"; -var _aITS = "allowedInstanceTypeSet"; -var _aIc = "accountId"; -var _aIm = "amiId"; -var _aIs = "associationId"; -var _aIss = "assetId"; -var _aIt = "attachmentId"; -var _aIu = "autoImport"; -var _aL = "accountLevel"; -var _aLI = "amiLaunchIndex"; -var _aLc = "accessLogs"; -var _aMIT = "allowsMultipleInstanceTypes"; -var _aMNL = "allocationMinNetmaskLength"; -var _aMNLl = "allocationMaxNetmaskLength"; -var _aMS = "acceleratorManufacturerSet"; -var _aMSp = "applianceModeSupport"; -var _aN = "attributeName"; -var _aNS = "acceleratorNameSet"; -var _aO = "authenticationOptions"; -var _aOI = "addressOwnerId"; -var _aP = "allowedPrincipals"; -var _aPCO = "accepterPeeringConnectionOptions"; -var _aPHS = "alternatePathHintSet"; -var _aPIA = "associatePublicIpAddress"; -var _aPIAS = "assignedPrivateIpAddressesSet"; -var _aPS = "addedPrincipalSet"; -var _aPu = "autoPlacement"; -var _aR = "authorizationRule"; -var _aRA = "associatedRoleArn"; -var _aRAd = "additionalRoutesAvailable"; -var _aRC = "acceptedRouteCount"; -var _aRS = "associatedRoleSet"; -var _aRSu = "autoRecoverySupported"; -var _aRTS = "allocationResourceTagSet"; -var _aRc = "aclRule"; -var _aRcc = "acceptanceRequired"; -var _aRd = "addressRegion"; -var _aRs = "associatedResource"; -var _aRu = "autoRecovery"; -var _aS = "associationState"; -var _aSA = "amazonSideAsn"; -var _aSS = "amdSevSnp"; -var _aSc = "activityStatus"; -var _aSct = "actionsSet"; -var _aSd = "addressSet"; -var _aSdd = "addressesSet"; -var _aSl = "allocationStrategy"; -var _aSn = "analysisStatus"; -var _aSs = "associationStatus"; -var _aSss = "associationSet"; -var _aSt = "attachmentSet"; -var _aStt = "attachmentStatuses"; -var _aSw = "awsService"; -var _aT = "addressTransfer"; -var _aTGAI = "accepterTransitGatewayAttachmentId"; -var _aTI = "accepterTgwInfo"; -var _aTMMB = "acceleratorTotalMemoryMiB"; -var _aTN = "associatedTargetNetwork"; -var _aTS = "addressTransferStatus"; -var _aTSc = "acceleratorTypeSet"; -var _aTSd = "addressTransferSet"; -var _aTd = "addressType"; -var _aTdd = "addressingType"; -var _aTl = "allocationType"; -var _aTll = "allocationTime"; -var _aTs = "associationTarget"; -var _aTt = "attachTime"; -var _aTtt = "attachedTo"; -var _aTtta = "attachmentType"; -var _aV = "attributeValue"; -var _aVC = "availableVCpus"; -var _aVI = "accepterVpcInfo"; -var _aVS = "attributeValueSet"; -var _aZ = "availabilityZone"; -var _aZG = "availabilityZoneGroup"; -var _aZI = "availabilityZoneId"; -var _aZIv = "availabilityZoneInfo"; -var _aZS = "availabilityZoneSet"; -var _ac = "acl"; -var _acc = "accelerators"; -var _act = "active"; -var _ad = "address"; -var _af = "affinity"; -var _am = "amount"; -var _ar = "arn"; -var _arc = "architecture"; -var _as = "asn"; -var _ass = "association"; -var _at = "attachment"; -var _att = "attachments"; -var _b = "byoasn"; -var _bA = "bgpAsn"; -var _bBIG = "baselineBandwidthInGbps"; -var _bBIM = "baselineBandwidthInMbps"; -var _bC = "byoipCidr"; -var _bCS = "byoipCidrSet"; -var _bCg = "bgpConfigurations"; -var _bCy = "bytesConverted"; -var _bDM = "blockDeviceMapping"; -var _bDMS = "blockDeviceMappingSet"; -var _bDMl = "blockDurationMinutes"; -var _bEBM = "baselineEbsBandwidthMbps"; -var _bEDNS = "baseEndpointDnsNameSet"; -var _bI = "bundleId"; -var _bII = "branchInterfaceId"; -var _bIT = "bundleInstanceTask"; -var _bITS = "bundleInstanceTasksSet"; -var _bIa = "baselineIops"; -var _bM = "bootMode"; -var _bMa = "bareMetal"; -var _bN = "bucketName"; -var _bO = "bucketOwner"; -var _bP = "burstablePerformance"; -var _bPS = "burstablePerformanceSupported"; -var _bS = "byoasnSet"; -var _bSg = "bgpStatus"; -var _bT = "bannerText"; -var _bTIMB = "baselineThroughputInMBps"; -var _bl = "blackhole"; -var _bu = "bucket"; -var _c = "component"; -var _cA = "componentArn"; -var _cAS = "capacityAllocationSet"; -var _cAUS = "coipAddressUsageSet"; -var _cAe = "certificateArn"; -var _cAo = "componentAccount"; -var _cAr = "createdAt"; -var _cB = "cidrBlock"; -var _cBA = "cidrBlockAssociation"; -var _cBAS = "cidrBlockAssociationSet"; -var _cBDH = "capacityBlockDurationHours"; -var _cBOI = "capacityBlockOfferingId"; -var _cBOS = "capacityBlockOfferingSet"; -var _cBS = "cidrBlockState"; -var _cBSi = "cidrBlockSet"; -var _cBr = "createdBy"; -var _cC = "currencyCode"; -var _cCB = "clientCidrBlock"; -var _cCO = "clientConnectOptions"; -var _cCRFE = "cancelCapacityReservationFleetError"; -var _cCl = "clientConfiguration"; -var _cCo = "coreCount"; -var _cCoi = "coipCidr"; -var _cCp = "cpuCredits"; -var _cD = "createDate"; -var _cDr = "creationDate"; -var _cDre = "createdDate"; -var _cE = "connectionEvents"; -var _cET = "connectionEstablishedTime"; -var _cETo = "connectionEndTime"; -var _cEr = "cronExpression"; -var _cF = "containerFormat"; -var _cFS = "currentFleetState"; -var _cG = "carrierGateway"; -var _cGC = "customerGatewayConfiguration"; -var _cGI = "carrierGatewayId"; -var _cGIu = "customerGatewayId"; -var _cGS = "carrierGatewaySet"; -var _cGSu = "customerGatewaySet"; -var _cGu = "customerGateway"; -var _cGur = "currentGeneration"; -var _cI = "carrierIp"; -var _cIBM = "currentInstanceBootMode"; -var _cIi = "cidrIp"; -var _cIid = "cidrIpv6"; -var _cIidr = "cidrIpv4"; -var _cIl = "clientIp"; -var _cIli = "clientId"; -var _cIo = "componentId"; -var _cIon = "connectionId"; -var _cIop = "coIp"; -var _cIor = "coreInfo"; -var _cLB = "classicLoadBalancers"; -var _cLBC = "classicLoadBalancersConfig"; -var _cLBL = "classicLoadBalancerListener"; -var _cLBO = "clientLoginBannerOptions"; -var _cLDS = "classicLinkDnsSupported"; -var _cLE = "classicLinkEnabled"; -var _cLO = "connectionLogOptions"; -var _cMKE = "customerManagedKeyEnabled"; -var _cMS = "cpuManufacturerSet"; -var _cN = "commonName"; -var _cNA = "coreNetworkArn"; -var _cNAA = "coreNetworkAttachmentArn"; -var _cNAo = "connectionNotificationArn"; -var _cNI = "connectionNotificationId"; -var _cNIo = "coreNetworkId"; -var _cNS = "connectionNotificationState"; -var _cNSo = "connectionNotificationSet"; -var _cNT = "connectionNotificationType"; -var _cNo = "connectionNotification"; -var _cO = "cpuOptions"; -var _cOI = "customerOwnedIp"; -var _cOIP = "customerOwnedIpv4Pool"; -var _cOP = "coolOffPeriod"; -var _cOPEO = "coolOffPeriodExpiresOn"; -var _cP = "coipPool"; -var _cPC = "connectPeerConfiguration"; -var _cPI = "coipPoolId"; -var _cPS = "coipPoolSet"; -var _cR = "capacityReservation"; -var _cRA = "capacityReservationArn"; -var _cRCC = "clientRootCertificateChain"; -var _cRFA = "capacityReservationFleetArn"; -var _cRFI = "capacityReservationFleetId"; -var _cRFS = "capacityReservationFleetSet"; -var _cRGS = "capacityReservationGroupSet"; -var _cRI = "capacityReservationId"; -var _cRL = "certificateRevocationList"; -var _cRO = "capacityReservationOptions"; -var _cRP = "capacityReservationPreference"; -var _cRRGA = "capacityReservationResourceGroupArn"; -var _cRS = "capacityReservationSet"; -var _cRSa = "capacityReservationSpecification"; -var _cRT = "capacityReservationTarget"; -var _cRa = "capacityRebalance"; -var _cRo = "componentRegion"; -var _cS = "cidrSet"; -var _cSBN = "certificateS3BucketName"; -var _cSFRS = "currentSpotFleetRequestState"; -var _cSOK = "certificateS3ObjectKey"; -var _cSl = "clientSecret"; -var _cSo = "complianceStatus"; -var _cSon = "connectionStatuses"; -var _cSr = "creditSpecification"; -var _cSu = "currentState"; -var _cSur = "currentStatus"; -var _cT = "clientToken"; -var _cTC = "connectionTrackingConfiguration"; -var _cTI = "conversionTaskId"; -var _cTS = "connectionTrackingSpecification"; -var _cTo = "conversionTasks"; -var _cTom = "completeTime"; -var _cTon = "conversionTask"; -var _cTonn = "connectivityType"; -var _cTr = "createTime"; -var _cTre = "creationTime"; -var _cTrea = "creationTimestamp"; -var _cVE = "clientVpnEndpoint"; -var _cVEI = "clientVpnEndpointId"; -var _cVP = "createVolumePermission"; -var _cVTN = "clientVpnTargetNetworks"; -var _cWL = "cloudWatchLogs"; -var _cWLO = "cloudWatchLogOptions"; -var _ca = "category"; -var _ch = "checksum"; -var _ci = "cidr"; -var _co = "code"; -var _con = "connections"; -var _conf = "configured"; -var _cont = "context"; -var _cor = "cores"; -var _cou = "count"; -var _d = "destination"; -var _dA = "destinationArn"; -var _dAIT = "denyAllIgwTraffic"; -var _dART = "defaultAssociationRouteTable"; -var _dAS = "destinationAddressSet"; -var _dASe = "deprovisionedAddressSet"; -var _dASi = "disableApiStop"; -var _dAT = "disableApiTermination"; -var _dAe = "destinationAddress"; -var _dC = "destinationCidr"; -var _dCA = "domainCertificateArn"; -var _dCAR = "deliverCrossAccountRole"; -var _dCB = "destinationCidrBlock"; -var _dCS = "dhcpConfigurationSet"; -var _dCe = "defaultCores"; -var _dEKI = "dataEncryptionKeyId"; -var _dES = "dnsEntrySet"; -var _dFA = "defaultForAz"; -var _dHIS = "dedicatedHostIdSet"; -var _dHS = "dedicatedHostsSupported"; -var _dI = "directoryId"; -var _dICB = "destinationIpv6CidrBlock"; -var _dIF = "diskImageFormat"; -var _dIS = "diskImageSize"; -var _dIe = "deviceIndex"; -var _dIes = "destinationIp"; -var _dLEM = "deliverLogsErrorMessage"; -var _dLPA = "deliverLogsPermissionArn"; -var _dLS = "deliverLogsStatus"; -var _dMGM = "deregisteredMulticastGroupMembers"; -var _dMGS = "deregisteredMulticastGroupSources"; -var _dN = "deviceName"; -var _dNCI = "defaultNetworkCardIndex"; -var _dNII = "deregisteredNetworkInterfaceIds"; -var _dNn = "dnsName"; -var _dO = "dhcpOptions"; -var _dOI = "dhcpOptionsId"; -var _dOS = "dhcpOptionsSet"; -var _dOT = "deleteOnTermination"; -var _dOe = "destinationOptions"; -var _dOev = "deviceOptions"; -var _dOn = "dnsOptions"; -var _dP = "destinationPort"; -var _dPLI = "destinationPrefixListId"; -var _dPLS = "destinationPrefixListSet"; -var _dPR = "destinationPortRange"; -var _dPRS = "destinationPortRangeSet"; -var _dPRT = "defaultPropagationRouteTable"; -var _dPS = "destinationPortSet"; -var _dR = "discoveryRegion"; -var _dRDAI = "defaultResourceDiscoveryAssociationId"; -var _dRDI = "defaultResourceDiscoveryId"; -var _dRIT = "dnsRecordIpType"; -var _dRRV = "deleteReplacedRootVolume"; -var _dRS = "dataRetentionSupport"; -var _dRSa = "dataResponseSet"; -var _dRTA = "defaultRouteTableAssociation"; -var _dRTP = "defaultRouteTablePropagation"; -var _dRy = "dynamicRouting"; -var _dS = "dnsServer"; -var _dSCR = "deletedSubnetCidrReservation"; -var _dSe = "destinationSet"; -var _dSel = "deliveryStatus"; -var _dSeli = "deliveryStream"; -var _dSn = "dnsSupport"; -var _dT = "deletionTime"; -var _dTA = "dpdTimeoutAction"; -var _dTCT = "defaultTargetCapacityType"; -var _dTPC = "defaultThreadsPerCore"; -var _dTPT = "deviceTrustProviderType"; -var _dTS = "dpdTimeoutSeconds"; -var _dTe = "deprecationTime"; -var _dTel = "deleteTime"; -var _dTi = "disablingTime"; -var _dTis = "disabledTime"; -var _dV = "destinationVpc"; -var _dVC = "defaultVCpus"; -var _dVD = "deviceValidationDomain"; -var _dVN = "defaultVersionNumber"; -var _dVe = "defaultVersion"; -var _de = "description"; -var _dea = "deadline"; -var _def = "default"; -var _det = "details"; -var _dev = "device"; -var _di = "direction"; -var _dis = "disks"; -var _do = "domain"; -var _du = "duration"; -var _e = "egress"; -var _eA = "enableAcceleration"; -var _eB = "egressBytes"; -var _eC = "errorCode"; -var _eCTP = "excessCapacityTerminationPolicy"; -var _eCx = "explanationCode"; -var _eD = "endDate"; -var _eDH = "enableDnsHostnames"; -var _eDS = "enableDnsSupport"; -var _eDT = "endDateType"; -var _eDf = "effectiveDate"; -var _eDn = "enableDns64"; -var _eDnd = "endpointDomain"; -var _eDv = "eventDescription"; -var _eEBD = "ebsEncryptionByDefault"; -var _eFRS = "egressFilterRuleSet"; -var _eGAI = "elasticGpuAssociationId"; -var _eGAS = "elasticGpuAssociationState"; -var _eGASl = "elasticGpuAssociationSet"; -var _eGAT = "elasticGpuAssociationTime"; -var _eGH = "elasticGpuHealth"; -var _eGI = "elasticGpuId"; -var _eGS = "elasticGpuSet"; -var _eGSS = "elasticGpuSpecificationSet"; -var _eGSl = "elasticGpuState"; -var _eGT = "elasticGpuType"; -var _eH = "endHour"; -var _eI = "exchangeId"; -var _eIAA = "elasticInferenceAcceleratorArn"; -var _eIAAI = "elasticInferenceAcceleratorAssociationId"; -var _eIAAS = "elasticInferenceAcceleratorAssociationState"; -var _eIAASl = "elasticInferenceAcceleratorAssociationSet"; -var _eIAAT = "elasticInferenceAcceleratorAssociationTime"; -var _eIAS = "elasticInferenceAcceleratorSet"; -var _eITI = "exportImageTaskId"; -var _eITS = "exportImageTaskSet"; -var _eITSn = "encryptionInTransitSupported"; -var _eITSx = "excludedInstanceTypeSet"; -var _eIb = "ebsInfo"; -var _eIf = "efaInfo"; -var _eIv = "eventInformation"; -var _eIve = "eventId"; -var _eKKI = "encryptionKmsKeyId"; -var _eLADI = "enableLniAtDeviceIndex"; -var _eLBL = "elasticLoadBalancerListener"; -var _eM = "errorMessage"; -var _eNAUM = "enableNetworkAddressUsageMetrics"; -var _eO = "ebsOptimized"; -var _eOI = "ebsOptimizedInfo"; -var _eOIG = "egressOnlyInternetGateway"; -var _eOIGI = "egressOnlyInternetGatewayId"; -var _eOIGS = "egressOnlyInternetGatewaySet"; -var _eOS = "ebsOptimizedSupport"; -var _eOn = "enclaveOptions"; -var _eP = "egressPackets"; -var _ePS = "excludePathSet"; -var _eRNDAAAAR = "enableResourceNameDnsAAAARecord"; -var _eRNDAR = "enableResourceNameDnsARecord"; -var _eS = "ephemeralStorage"; -var _eSE = "enaSrdEnabled"; -var _eSS = "enaSrdSpecification"; -var _eSSn = "enaSrdSupported"; -var _eST = "eventSubType"; -var _eSUE = "enaSrdUdpEnabled"; -var _eSUS = "enaSrdUdpSpecification"; -var _eSf = "efaSupported"; -var _eSn = "encryptionSupport"; -var _eSna = "enaSupport"; -var _eSnt = "entrySet"; -var _eSr = "errorSet"; -var _eSv = "eventsSet"; -var _eSx = "explanationSet"; -var _eT = "expirationTime"; -var _eTI = "exportTaskId"; -var _eTLC = "enableTunnelLifecycleControl"; -var _eTS = "exportTaskSet"; -var _eTSi = "eipTagSet"; -var _eTSx = "exportToS3"; -var _eTn = "enablingTime"; -var _eTna = "enabledTime"; -var _eTnd = "endpointType"; -var _eTndi = "endTime"; -var _eTv = "eventType"; -var _eTx = "exportTask"; -var _eWD = "endWeekDay"; -var _eb = "ebs"; -var _en = "enabled"; -var _enc = "encrypted"; -var _end = "end"; -var _er = "error"; -var _ev = "event"; -var _f = "format"; -var _fA = "federatedAuthentication"; -var _fAD = "filterAtDestination"; -var _fAS = "filterAtSource"; -var _fAi = "firstAddress"; -var _fC = "fulfilledCapacity"; -var _fCRS = "fleetCapacityReservationSet"; -var _fCS = "findingComponentSet"; -var _fCa = "failureCode"; -var _fDN = "fipsDnsName"; -var _fE = "fipsEnabled"; -var _fF = "fileFormat"; -var _fFCS = "failedFleetCancellationSet"; -var _fFi = "findingsFound"; -var _fI = "findingId"; -var _fIA = "fpgaImageAttribute"; -var _fIAS = "filterInArnSet"; -var _fIGI = "fpgaImageGlobalId"; -var _fII = "fpgaImageId"; -var _fIS = "fleetInstanceSet"; -var _fISp = "fpgaImageSet"; -var _fIl = "fleetId"; -var _fIp = "fpgaInfo"; -var _fLI = "flowLogId"; -var _fLIS = "flowLogIdSet"; -var _fLISa = "fastLaunchImageSet"; -var _fLS = "flowLogSet"; -var _fLSl = "flowLogStatus"; -var _fM = "failureMessage"; -var _fODC = "fulfilledOnDemandCapacity"; -var _fP = "fromPort"; -var _fPCS = "forwardPathComponentSet"; -var _fPi = "fixedPrice"; -var _fQPDS = "failedQueuedPurchaseDeletionSet"; -var _fR = "failureReason"; -var _fRa = "fastRestored"; -var _fS = "fleetSet"; -var _fSR = "firewallStatelessRule"; -var _fSRS = "fastSnapshotRestoreSet"; -var _fSRSES = "fastSnapshotRestoreStateErrorSet"; -var _fSRi = "firewallStatefulRule"; -var _fSST = "firstSlotStartTime"; -var _fSl = "fleetState"; -var _fTE = "freeTierEligible"; -var _fa = "fault"; -var _fp = "fpgas"; -var _fr = "from"; -var _fre = "frequency"; -var _g = "group"; -var _gA = "groupArn"; -var _gAS = "gatewayAssociationState"; -var _gD = "groupDescription"; -var _gI = "gatewayId"; -var _gIA = "groupIpAddress"; -var _gIp = "gpuInfo"; -var _gIr = "groupId"; -var _gK = "greKey"; -var _gLBAS = "gatewayLoadBalancerArnSet"; -var _gLBEI = "gatewayLoadBalancerEndpointId"; -var _gM = "groupMember"; -var _gN = "groupName"; -var _gOI = "groupOwnerId"; -var _gS = "groupSet"; -var _gSr = "groupSource"; -var _gp = "gpus"; -var _gr = "groups"; -var _h = "hypervisor"; -var _hCP = "hiveCompatiblePartitions"; -var _hE = "httpEndpoint"; -var _hI = "hostId"; -var _hIS = "hostIdSet"; -var _hM = "hostMaintenance"; -var _hO = "hibernationOptions"; -var _hP = "hostProperties"; -var _hPI = "httpProtocolIpv6"; -var _hPRHL = "httpPutResponseHopLimit"; -var _hPo = "hourlyPrice"; -var _hR = "hostRecovery"; -var _hRGA = "hostResourceGroupArn"; -var _hRI = "hostReservationId"; -var _hRS = "historyRecordSet"; -var _hRSo = "hostReservationSet"; -var _hS = "hostSet"; -var _hSi = "hibernationSupported"; -var _hT = "httpTokens"; -var _hTo = "hostnameType"; -var _hZI = "hostedZoneId"; -var _i = "item"; -var _iA = "interfaceAssociation"; -var _iAC = "ipv6AddressCount"; -var _iAI = "inferenceAcceleratorInfo"; -var _iAPI = "ipv4AddressesPerInterface"; -var _iAPIp = "ipv6AddressesPerInterface"; -var _iAS = "interfaceAssociationSet"; -var _iASp = "ipv6AddressesSet"; -var _iAT = "ipAddressType"; -var _iATOI = "includeAllTagsOfInstance"; -var _iAp = "ipAddress"; -var _iApa = "ipamArn"; -var _iApv = "ipv6Address"; -var _iB = "ingressBytes"; -var _iBPAS = "imageBlockPublicAccessState"; -var _iC = "instanceCount"; -var _iCAS = "ipv6CidrAssociationSet"; -var _iCB = "ipv6CidrBlock"; -var _iCBA = "ipv6CidrBlockAssociation"; -var _iCBAS = "ipv6CidrBlockAssociationSet"; -var _iCBS = "ipv6CidrBlockState"; -var _iCBSp = "ipv6CidrBlockSet"; -var _iCBn = "insideCidrBlocks"; -var _iCE = "instanceConnectEndpoint"; -var _iCEA = "instanceConnectEndpointArn"; -var _iCEI = "instanceConnectEndpointId"; -var _iCES = "instanceConnectEndpointSet"; -var _iCSS = "instanceCreditSpecificationSet"; -var _iCn = "instanceCounts"; -var _iCp = "ipv6Cidr"; -var _iD = "imageData"; -var _iDAS = "ipamDiscoveredAccountSet"; -var _iDPAS = "ipamDiscoveredPublicAddressSet"; -var _iDRCS = "ipamDiscoveredResourceCidrSet"; -var _iDs = "isDefault"; -var _iE = "instanceExport"; -var _iEI = "instanceEventId"; -var _iEW = "instanceEventWindow"; -var _iEWI = "instanceEventWindowId"; -var _iEWS = "instanceEventWindowState"; -var _iEWSn = "instanceEventWindowSet"; -var _iEs = "isEgress"; -var _iF = "instanceFamily"; -var _iFCS = "instanceFamilyCreditSpecification"; -var _iFR = "iamFleetRole"; -var _iFRS = "ingressFilterRuleSet"; -var _iG = "internetGateway"; -var _iGI = "internetGatewayId"; -var _iGS = "internetGatewaySet"; -var _iGSn = "instanceGenerationSet"; -var _iH = "instanceHealth"; -var _iHn = "inboundHeader"; -var _iI = "instanceId"; -var _iIB = "instanceInterruptionBehavior"; -var _iIP = "iamInstanceProfile"; -var _iIPA = "iamInstanceProfileAssociation"; -var _iIPAS = "iamInstanceProfileAssociationSet"; -var _iIS = "instanceIdSet"; -var _iISB = "instanceInitiatedShutdownBehavior"; -var _iITS = "importImageTaskSet"; -var _iIm = "importInstance"; -var _iIma = "imageId"; -var _iIn = "instanceIds"; -var _iIp = "ipamId"; -var _iL = "imageLocation"; -var _iLn = "instanceLifecycle"; -var _iMC = "instanceMatchCriteria"; -var _iMO = "instanceMetadataOptions"; -var _iMOn = "instanceMarketOptions"; -var _iMT = "instanceMetadataTags"; -var _iMU = "importManifestUrl"; -var _iN = "ipv6Native"; -var _iOA = "imageOwnerAlias"; -var _iOI = "imageOwnerId"; -var _iOIn = "instanceOwnerId"; -var _iOIp = "ipOwnerId"; -var _iOS = "instanceOwningService"; -var _iP = "instancePort"; -var _iPA = "ipamPoolAllocation"; -var _iPAI = "ipamPoolAllocationId"; -var _iPAS = "ipamPoolAllocationSet"; -var _iPAp = "ipamPoolArn"; -var _iPC = "ipamPoolCidr"; -var _iPCI = "ipamPoolCidrId"; -var _iPCS = "ipamPoolCidrSet"; -var _iPCp = "ipv4PrefixCount"; -var _iPCpv = "ipv6PrefixCount"; -var _iPE = "ipPermissionsEgress"; -var _iPI = "isPrimaryIpv6"; -var _iPIp = "ipamPoolId"; -var _iPR = "isPermanentRestore"; -var _iPS = "ipamPoolSet"; -var _iPSp = "ipv6PoolSet"; -var _iPSpv = "ipv4PrefixSet"; -var _iPSpvr = "ipv6PrefixSet"; -var _iPTUC = "instancePoolsToUseCount"; -var _iPn = "instancePlatform"; -var _iPng = "ingressPackets"; -var _iPnt = "interfacePermission"; -var _iPnte = "interfaceProtocol"; -var _iPo = "ioPerformance"; -var _iPp = "ipamPool"; -var _iPpe = "ipPermissions"; -var _iPpr = "ipProtocol"; -var _iPpv = "ipv4Prefix"; -var _iPpvo = "ipv6Pool"; -var _iPpvr = "ipv6Prefix"; -var _iPs = "isPublic"; -var _iPsr = "isPrimary"; -var _iR = "instanceRequirements"; -var _iRC = "ipamResourceCidr"; -var _iRCS = "ipamResourceCidrSet"; -var _iRD = "ipamResourceDiscovery"; -var _iRDA = "ipamResourceDiscoveryAssociation"; -var _iRDAA = "ipamResourceDiscoveryAssociationArn"; -var _iRDAI = "ipamResourceDiscoveryAssociationId"; -var _iRDAS = "ipamResourceDiscoveryAssociationSet"; -var _iRDAp = "ipamResourceDiscoveryArn"; -var _iRDI = "ipamResourceDiscoveryId"; -var _iRDR = "ipamResourceDiscoveryRegion"; -var _iRDS = "ipamResourceDiscoverySet"; -var _iRT = "ingressRouteTable"; -var _iRp = "ipamRegion"; -var _iRpa = "ipRanges"; -var _iRpv = "ipv6Ranges"; -var _iS = "ipamScope"; -var _iSA = "ipamScopeArn"; -var _iSI = "instanceStorageInfo"; -var _iSIp = "ipamScopeId"; -var _iSS = "instanceStatusSet"; -var _iSSn = "instanceStorageSupported"; -var _iSSp = "ipamScopeSet"; -var _iST = "ipamScopeType"; -var _iSTS = "importSnapshotTaskSet"; -var _iSg = "igmpv2Support"; -var _iSm = "imagesSet"; -var _iSma = "imageState"; -var _iSmag = "imageSet"; -var _iSmd = "imdsSupport"; -var _iSmp = "impairedSince"; -var _iSn = "instancesSet"; -var _iSns = "instanceSet"; -var _iSnst = "instanceState"; -var _iSnsta = "instanceStatus"; -var _iSp = "ipamSet"; -var _iSpv = "ipv6Supported"; -var _iSpvu = "ipv6Support"; -var _iT = "instanceType"; -var _iTA = "instanceTagAttribute"; -var _iTC = "icmpTypeCode"; -var _iTCn = "includeTrustContext"; -var _iTI = "importTaskId"; -var _iTKS = "instanceTagKeySet"; -var _iTOS = "instanceTypeOfferingSet"; -var _iTS = "instanceTypeSet"; -var _iTSS = "instanceTypeSpecificationSet"; -var _iTm = "imageType"; -var _iTn = "instanceTypes"; -var _iTns = "instanceTenancy"; -var _iTnt = "interfaceType"; -var _iU = "ipUsage"; -var _iUS = "instanceUsageSet"; -var _iV = "importVolume"; -var _iVE = "isValidExchange"; -var _iVS = "ikeVersionSet"; -var _id = "id"; -var _im = "image"; -var _in = "instance"; -var _ins = "instances"; -var _int = "interval"; -var _io = "iops"; -var _ip = "ipam"; -var _is = "issuer"; -var _k = "key"; -var _kDF = "kinesisDataFirehose"; -var _kF = "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 _ke = "kernel"; -var _key = "keyword"; -var _l = "lifecycle"; -var _lA = "localAddress"; -var _lADT = "lastAttemptedDiscoveryTime"; -var _lAZ = "launchedAvailabilityZone"; -var _lAa = "lastAddress"; -var _lBA = "loadBalancerArn"; -var _lBAo = "localBgpAsn"; -var _lBC = "loadBalancersConfig"; -var _lBLP = "loadBalancerListenerPort"; -var _lBO = "loadBalancerOptions"; -var _lBP = "loadBalancerPort"; -var _lBS = "loadBalancerSet"; -var _lBT = "loadBalancerTarget"; -var _lBTG = "loadBalancerTargetGroup"; -var _lBTGS = "loadBalancerTargetGroupSet"; -var _lBTP = "loadBalancerTargetPort"; -var _lC = "loggingConfiguration"; -var _lCA = "licenseConfigurationArn"; -var _lCO = "lockCreatedOn"; -var _lCS = "loggingConfigurationSet"; -var _lD = "logDestination"; -var _lDST = "lockDurationStartTime"; -var _lDT = "logDestinationType"; -var _lDo = "lockDuration"; -var _lE = "logEnabled"; -var _lEO = "lockExpiresOn"; -var _lET = "lastEvaluatedTime"; -var _lEa = "lastError"; -var _lF = "logFormat"; -var _lFA = "lambdaFunctionArn"; -var _lG = "launchGroup"; -var _lGA = "logGroupArn"; -var _lGI = "localGatewayId"; -var _lGN = "logGroupName"; -var _lGRT = "localGatewayRouteTable"; -var _lGRTA = "localGatewayRouteTableArn"; -var _lGRTI = "localGatewayRouteTableId"; -var _lGRTS = "localGatewayRouteTableSet"; -var _lGRTVA = "localGatewayRouteTableVpcAssociation"; -var _lGRTVAI = "localGatewayRouteTableVpcAssociationId"; -var _lGRTVAS = "localGatewayRouteTableVpcAssociationSet"; -var _lGRTVIGA = "localGatewayRouteTableVirtualInterfaceGroupAssociation"; -var _lGRTVIGAI = "localGatewayRouteTableVirtualInterfaceGroupAssociationId"; -var _lGRTVIGAS = "localGatewayRouteTableVirtualInterfaceGroupAssociationSet"; -var _lGS = "localGatewaySet"; -var _lGVIGI = "localGatewayVirtualInterfaceGroupId"; -var _lGVIGS = "localGatewayVirtualInterfaceGroupSet"; -var _lGVII = "localGatewayVirtualInterfaceId"; -var _lGVIIS = "localGatewayVirtualInterfaceIdSet"; -var _lGVIS = "localGatewayVirtualInterfaceSet"; -var _lGo = "logGroup"; -var _lINC = "localIpv4NetworkCidr"; -var _lINCo = "localIpv6NetworkCidr"; -var _lLT = "lastLaunchedTime"; -var _lMA = "lastMaintenanceApplied"; -var _lO = "logOptions"; -var _lOF = "logOutputFormat"; -var _lP = "loadPermissions"; -var _lPa = "launchPermission"; -var _lS = "licenseSpecifications"; -var _lSC = "lastStatusChange"; -var _lSDT = "lastSuccessfulDiscoveryTime"; -var _lSTS = "localStorageTypeSet"; -var _lSa = "launchSpecifications"; -var _lSau = "launchSpecification"; -var _lSi = "licenseSet"; -var _lSo = "localStorage"; -var _lSoc = "lockState"; -var _lT = "launchTemplate"; -var _lTAO = "launchTemplateAndOverrides"; -var _lTC = "launchTemplateConfigs"; -var _lTD = "launchTemplateData"; -var _lTI = "launchTemplateId"; -var _lTN = "launchTemplateName"; -var _lTOS = "lastTieringOperationStatus"; -var _lTOSD = "lastTieringOperationStatusDetail"; -var _lTP = "lastTieringProgress"; -var _lTS = "launchTemplateSpecification"; -var _lTST = "lastTieringStartTime"; -var _lTV = "launchTemplateVersion"; -var _lTVS = "launchTemplateVersionSet"; -var _lTa = "launchTemplates"; -var _lTau = "launchTime"; -var _lTi = "licenseType"; -var _lTo = "locationType"; -var _lUT = "lastUpdatedTime"; -var _lV = "logVersion"; -var _lVN = "latestVersionNumber"; -var _lo = "location"; -var _loc = "locale"; -var _m = "min"; -var _mA = "mutualAuthentication"; -var _mAAA = "maintenanceAutoAppliedAfter"; -var _mAE = "multiAttachEnabled"; -var _mAI = "maxAggregationInterval"; -var _mAIe = "mediaAcceleratorInfo"; -var _mASS = "movingAddressStatusSet"; -var _mAa = "macAddress"; -var _mBIM = "maximumBandwidthInMbps"; -var _mC = "missingComponent"; -var _mCOIOL = "mapCustomerOwnedIpOnLaunch"; -var _mD = "maintenanceDetails"; -var _mDA = "multicastDomainAssociations"; -var _mDK = "metaDataKey"; -var _mDV = "metaDataValue"; -var _mDe = "metaData"; -var _mE = "maxEntries"; -var _mEI = "maximumEfaInterfaces"; -var _mG = "multicastGroups"; -var _mGBPVC = "memoryGiBPerVCpu"; -var _mHS = "macHostSet"; -var _mI = "maximumIops"; -var _mIe = "memoryInfo"; -var _mMB = "memoryMiB"; -var _mNC = "maximumNetworkCards"; -var _mNI = "maximumNetworkInterfaces"; -var _mO = "metadataOptions"; -var _mOSLRG = "memberOfServiceLinkedResourceGroup"; -var _mOSLSVS = "macOSLatestSupportedVersionSet"; -var _mOa = "maintenanceOptions"; -var _mP = "maxPrice"; -var _mPIOL = "mapPublicIpOnLaunch"; -var _mPL = "maxParallelLaunches"; -var _mPS = "metricPointSet"; -var _mPSa = "matchPathSet"; -var _mR = "maxResults"; -var _mRS = "modificationResultSet"; -var _mS = "messageSet"; -var _mSPAPOOODP = "maxSpotPriceAsPercentageOfOptimalOnDemandPrice"; -var _mSa = "managementState"; -var _mSai = "maintenanceStrategies"; -var _mSo = "moveStatus"; -var _mSod = "modificationState"; -var _mSu = "multicastSupport"; -var _mT = "marketType"; -var _mTC = "minTargetCapacity"; -var _mTDID = "maxTermDurationInDays"; -var _mTDIDi = "minTermDurationInDays"; -var _mTIMB = "maximumThroughputInMBps"; -var _mTP = "maxTotalPrice"; -var _mTe = "memberType"; -var _mVE = "managesVpcEndpoints"; -var _ma = "max"; -var _mai = "main"; -var _man = "manufacturer"; -var _mar = "marketplace"; -var _me = "message"; -var _mem = "member"; -var _met = "metric"; -var _mo = "monitoring"; -var _mod = "mode"; -var _n = "name"; -var _nA = "networkAcl"; -var _nAAI = "networkAclAssociationId"; -var _nAI = "networkAclId"; -var _nAIe = "newAssociationId"; -var _nAS = "networkAclSet"; -var _nAo = "notAfter"; -var _nB = "notBefore"; -var _nBD = "notBeforeDeadline"; -var _nBG = "networkBorderGroup"; -var _nBGe = "networkBandwidthGbps"; -var _nC = "networkCards"; -var _nCI = "networkCardIndex"; -var _nD = "noDevice"; -var _nDe = "neuronDevices"; -var _nES = "nitroEnclavesSupport"; -var _nG = "natGateway"; -var _nGAS = "natGatewayAddressSet"; -var _nGI = "natGatewayId"; -var _nGS = "natGatewaySet"; -var _nI = "networkId"; -var _nIA = "networkInsightsAnalysis"; -var _nIAA = "networkInsightsAnalysisArn"; -var _nIAI = "networkInsightsAnalysisId"; -var _nIAS = "networkInsightsAccessScope"; -var _nIASA = "networkInsightsAccessScopeArn"; -var _nIASAA = "networkInsightsAccessScopeAnalysisArn"; -var _nIASAI = "networkInsightsAccessScopeAnalysisId"; -var _nIASAS = "networkInsightsAccessScopeAnalysisSet"; -var _nIASAe = "networkInsightsAccessScopeAnalysis"; -var _nIASC = "networkInsightsAccessScopeContent"; -var _nIASI = "networkInsightsAccessScopeId"; -var _nIASS = "networkInsightsAccessScopeSet"; -var _nIASe = "networkInsightsAnalysisSet"; -var _nIC = "networkInterfaceCount"; -var _nID = "networkInterfaceDescription"; -var _nII = "networkInterfaceId"; -var _nIIS = "networkInterfaceIdSet"; -var _nIO = "networkInterfaceOptions"; -var _nIOI = "networkInterfaceOwnerId"; -var _nIP = "networkInsightsPath"; -var _nIPA = "networkInsightsPathArn"; -var _nIPI = "networkInsightsPathId"; -var _nIPIe = "networkInterfacePermissionId"; -var _nIPS = "networkInsightsPathSet"; -var _nIPe = "networkInterfacePermissions"; -var _nIS = "networkInterfaceSet"; -var _nIe = "networkInterface"; -var _nIet = "networkInfo"; -var _nIeu = "neuronInfo"; -var _nL = "netmaskLength"; -var _nLBA = "networkLoadBalancerArn"; -var _nLBAS = "networkLoadBalancerArnSet"; -var _nNS = "networkNodeSet"; -var _nP = "networkPerformance"; -var _nPF = "networkPathFound"; -var _nPe = "networkPlatform"; -var _nS = "nvmeSupport"; -var _nSS = "networkServiceSet"; -var _nSST = "nextSlotStartTime"; -var _nT = "networkType"; -var _nTI = "nitroTpmInfo"; -var _nTS = "nitroTpmSupport"; -var _nTe = "nextToken"; -var _o = "origin"; -var _oA = "outpostArn"; -var _oAr = "organizationArn"; -var _oAw = "ownerAlias"; -var _oC = "offeringClass"; -var _oDAS = "onDemandAllocationStrategy"; -var _oDFC = "onDemandFulfilledCapacity"; -var _oDMPPOLP = "onDemandMaxPricePercentageOverLowestPrice"; -var _oDMTP = "onDemandMaxTotalPrice"; -var _oDO = "onDemandOptions"; -var _oDS = "occurrenceDaySet"; -var _oDTC = "onDemandTargetCapacity"; -var _oH = "outboundHeader"; -var _oI = "ownerId"; -var _oIA = "outsideIpAddress"; -var _oIAT = "outsideIpAddressType"; -var _oIS = "optInStatus"; -var _oIf = "offeringId"; -var _oIr = "originalIops"; -var _oK = "objectKey"; -var _oMAE = "originalMultiAttachEnabled"; -var _oO = "oidcOptions"; -var _oRIWEA = "outputReservedInstancesWillExpireAt"; -var _oRS = "operatingRegionSet"; -var _oRTE = "occurrenceRelativeToEnd"; -var _oS = "offeringSet"; -var _oST = "oldestSampleTime"; -var _oSr = "originalSize"; -var _oSv = "overlapStatus"; -var _oT = "optimizingTime"; -var _oTf = "offeringType"; -var _oTr = "originalThroughput"; -var _oU = "occurrenceUnit"; -var _oUA = "organizationalUnitArn"; -var _oVT = "originalVolumeType"; -var _op = "options"; -var _ou = "output"; -var _ov = "overrides"; -var _ow = "owner"; -var _p = "principal"; -var _pA = "poolArn"; -var _pAI = "peeringAttachmentId"; -var _pAR = "poolAddressRange"; -var _pARS = "poolAddressRangeSet"; -var _pAe = "peerAddress"; -var _pAee = "peerAsn"; -var _pAu = "publiclyAdvertisable"; -var _pB = "provisionedBandwidth"; -var _pBA = "peerBgpAsn"; -var _pBIG = "peakBandwidthInGbps"; -var _pC = "productCodes"; -var _pCB = "poolCidrBlock"; -var _pCBS = "poolCidrBlockSet"; -var _pCI = "preserveClientIp"; -var _pCNI = "peerCoreNetworkId"; -var _pCS = "poolCidrSet"; -var _pCSS = "postureComplianceStatusSet"; -var _pCa = "partitionCount"; -var _pCo = "poolCount"; -var _pCr = "productCode"; -var _pD = "passwordData"; -var _pDE = "privateDnsEnabled"; -var _pDHGNS = "phase1DHGroupNumberSet"; -var _pDHGNSh = "phase2DHGroupNumberSet"; -var _pDN = "privateDnsName"; -var _pDNC = "privateDnsNameConfiguration"; -var _pDNO = "privateDnsNameOptions"; -var _pDNOOL = "privateDnsNameOptionsOnLaunch"; -var _pDNS = "privateDnsNameSet"; -var _pDNVS = "privateDnsNameVerificationState"; -var _pDNu = "publicDnsName"; -var _pDOFIRE = "privateDnsOnlyForInboundResolverEndpoint"; -var _pDRTI = "propagationDefaultRouteTableId"; -var _pDS = "pricingDetailsSet"; -var _pDSI = "publicDefaultScopeId"; -var _pDSIr = "privateDefaultScopeId"; -var _pDa = "paymentDue"; -var _pDl = "platformDetails"; -var _pDo = "policyDocument"; -var _pDoo = "poolDepth"; -var _pDr = "productDescription"; -var _pE = "policyEnabled"; -var _pEAS = "phase1EncryptionAlgorithmSet"; -var _pEASh = "phase2EncryptionAlgorithmSet"; -var _pF = "packetField"; -var _pFS = "previousFleetState"; -var _pG = "placementGroup"; -var _pGA = "placementGroupArn"; -var _pGI = "placementGroupInfo"; -var _pGS = "placementGroupSet"; -var _pHP = "perHourPartition"; -var _pHS = "packetHeaderStatement"; -var _pI = "publicIp"; -var _pIA = "privateIpAddress"; -var _pIAS = "privateIpAddressesSet"; -var _pIASh = "phase1IntegrityAlgorithmSet"; -var _pIASha = "phase2IntegrityAlgorithmSet"; -var _pIP = "publicIpv4Pool"; -var _pIPI = "publicIpv4PoolId"; -var _pIPS = "publicIpv4PoolSet"; -var _pIS = "publicIpSource"; -var _pIc = "pciId"; -var _pIo = "poolId"; -var _pIr = "processorInfo"; -var _pIri = "primaryIpv6"; -var _pIriv = "privateIp"; -var _pK = "publicKey"; -var _pL = "prefixList"; -var _pLA = "prefixListArn"; -var _pLAS = "prefixListAssociationSet"; -var _pLI = "prefixListId"; -var _pLIr = "prefixListIds"; -var _pLN = "prefixListName"; -var _pLOI = "prefixListOwnerId"; -var _pLS = "prefixListSet"; -var _pLSh = "phase1LifetimeSeconds"; -var _pLSha = "phase2LifetimeSeconds"; -var _pLa = "packetLength"; -var _pM = "pendingMaintenance"; -var _pN = "partitionNumber"; -var _pO = "paymentOption"; -var _pOe = "peeringOptions"; -var _pP = "progressPercentage"; -var _pR = "ptrRecord"; -var _pRN = "policyRuleNumber"; -var _pRNo = "policyReferenceName"; -var _pRS = "portRangeSet"; -var _pRU = "ptrRecordUpdate"; -var _pRa = "payerResponsibility"; -var _pRo = "portRange"; -var _pRol = "policyRule"; -var _pS = "previousState"; -var _pSET = "previousSlotEndTime"; -var _pSFRS = "previousSpotFleetRequestState"; -var _pSK = "preSharedKey"; -var _pSKU = "publicSigningKeyUrl"; -var _pSe = "permissionState"; -var _pSee = "peeringStatus"; -var _pSr = "principalSet"; -var _pSre = "previousStatus"; -var _pSri = "priceSchedules"; -var _pSro = "protocolSet"; -var _pT = "principalType"; -var _pTGI = "peerTransitGatewayId"; -var _pTr = "provisionTime"; -var _pTu = "purchaseToken"; -var _pVI = "primaryVpcId"; -var _pVS = "propagatingVgwSet"; -var _pZI = "parentZoneId"; -var _pZN = "parentZoneName"; -var _pe = "period"; -var _per = "permission"; -var _pl = "platform"; -var _pla = "placement"; -var _po = "port"; -var _pr = "protocol"; -var _pre = "prefix"; -var _pri = "priority"; -var _pric = "price"; -var _prim = "primary"; -var _pro = "progress"; -var _prop = "propagation"; -var _prov = "provisioned"; -var _pu = "public"; -var _pur = "purchase"; -var _r = "return"; -var _rA = "ruleAction"; -var _rBET = "recycleBinEnterTime"; -var _rBETe = "recycleBinExitTime"; -var _rC = "returnCode"; -var _rCS = "resourceComplianceStatus"; -var _rCe = "resourceCidr"; -var _rCec = "recurringCharges"; -var _rD = "restoreDuration"; -var _rDAC = "resourceDiscoveryAssociationCount"; -var _rDI = "ramDiskId"; -var _rDN = "rootDeviceName"; -var _rDS = "resourceDiscoveryStatus"; -var _rDT = "rootDeviceType"; -var _rE = "responseError"; -var _rET = "restoreExpiryTime"; -var _rEe = "regionEndpoint"; -var _rFP = "rekeyFuzzPercentage"; -var _rGA = "ruleGroupArn"; -var _rGI = "referencedGroupInfo"; -var _rGROPS = "ruleGroupRuleOptionsPairSet"; -var _rGT = "ruleGroupType"; -var _rGTPS = "ruleGroupTypePairSet"; -var _rHS = "requireHibernateSupport"; -var _rI = "regionInfo"; -var _rII = "reservedInstancesId"; -var _rIIe = "reservedInstanceId"; -var _rILI = "reservedInstancesListingId"; -var _rILS = "reservedInstancesListingsSet"; -var _rIMI = "reservedInstancesModificationId"; -var _rIMS = "reservedInstancesModificationsSet"; -var _rINC = "remoteIpv4NetworkCidr"; -var _rINCe = "remoteIpv6NetworkCidr"; -var _rIOI = "reservedInstancesOfferingId"; -var _rIOS = "reservedInstancesOfferingsSet"; -var _rIS = "reservedInstancesSet"; -var _rIVR = "reservedInstanceValueRollup"; -var _rIVS = "reservedInstanceValueSet"; -var _rIa = "ramdiskId"; -var _rIe = "resourceId"; -var _rIeq = "requesterId"; -var _rIes = "reservationId"; -var _rM = "requesterManaged"; -var _rMGM = "registeredMulticastGroupMembers"; -var _rMGS = "registeredMulticastGroupSources"; -var _rMTS = "rekeyMarginTimeSeconds"; -var _rN = "ruleNumber"; -var _rNII = "registeredNetworkInterfaceIds"; -var _rNe = "regionName"; -var _rNes = "resourceName"; -var _rNo = "roleName"; -var _rO = "resourceOwner"; -var _rOI = "resourceOwnerId"; -var _rOS = "ruleOptionSet"; -var _rOSe = "resourceOverlapStatus"; -var _rOo = "routeOrigin"; -var _rPCO = "requesterPeeringConnectionOptions"; -var _rPCS = "returnPathComponentSet"; -var _rR = "resourceRegion"; -var _rRVT = "replaceRootVolumeTask"; -var _rRVTI = "replaceRootVolumeTaskId"; -var _rRVTS = "replaceRootVolumeTaskSet"; -var _rS = "reservationSet"; -var _rST = "restoreStartTime"; -var _rSe = "replacementStrategy"; -var _rSes = "resourceStatement"; -var _rSeso = "resourceSet"; -var _rSo = "routeSet"; -var _rT = "reservationType"; -var _rTAI = "routeTableAssociationId"; -var _rTI = "routeTableId"; -var _rTIS = "routeTableIdSet"; -var _rTIe = "requesterTgwInfo"; -var _rTR = "routeTableRoute"; -var _rTS = "routeTableSet"; -var _rTSe = "resourceTagSet"; -var _rTSes = "resourceTypeSet"; -var _rTV = "remainingTotalValue"; -var _rTe = "resourceType"; -var _rTel = "releaseTime"; -var _rTeq = "requestTime"; -var _rTo = "routeTable"; -var _rUI = "replaceUnhealthyInstances"; -var _rUV = "remainingUpfrontValue"; -var _rV = "returnValue"; -var _rVI = "referencingVpcId"; -var _rVIe = "requesterVpcInfo"; -var _rVe = "reservationValue"; -var _rWS = "replayWindowSize"; -var _ra = "ramdisk"; -var _re = "result"; -var _rea = "reason"; -var _rec = "recurrence"; -var _reg = "region"; -var _req = "requested"; -var _res = "resource"; -var _ro = "route"; -var _rou = "routes"; -var _s = "source"; -var _sA = "sourceArn"; -var _sAS = "sourceAddressSet"; -var _sASu = "suggestedAccountSet"; -var _sAZ = "singleAvailabilityZone"; -var _sAo = "sourceAddress"; -var _sAt = "startupAction"; -var _sAu = "supportedArchitectures"; -var _sAub = "subnetArn"; -var _sB = "s3Bucket"; -var _sBM = "supportedBootModes"; -var _sC = "serviceConfiguration"; -var _sCA = "serverCertificateArn"; -var _sCAE = "serialConsoleAccessEnabled"; -var _sCB = "sourceCidrBlock"; -var _sCR = "subnetCidrReservation"; -var _sCRI = "subnetCidrReservationId"; -var _sCS = "serviceConfigurationSet"; -var _sCSIG = "sustainedClockSpeedInGhz"; -var _sCc = "scopeCount"; -var _sCn = "snapshotConfiguration"; -var _sD = "startDate"; -var _sDC = "sourceDestCheck"; -var _sDIH = "slotDurationInHours"; -var _sDLTVS = "successfullyDeletedLaunchTemplateVersionSet"; -var _sDS = "spotDatafeedSubscription"; -var _sDSe = "serviceDetailSet"; -var _sDSn = "snapshotDetailSet"; -var _sDp = "spreadDomain"; -var _sEL = "s3ExportLocation"; -var _sET = "sampledEndTime"; -var _sF = "supportedFeatures"; -var _sFCS = "successfulFleetCancellationSet"; -var _sFDS = "successfulFleetDeletionSet"; -var _sFRC = "spotFleetRequestConfig"; -var _sFRCS = "spotFleetRequestConfigSet"; -var _sFRI = "spotFleetRequestId"; -var _sFRS = "successfulFleetRequestSet"; -var _sFRSp = "spotFleetRequestState"; -var _sG = "securityGroup"; -var _sGFVS = "securityGroupForVpcSet"; -var _sGI = "securityGroupId"; -var _sGIS = "securityGroupIdSet"; -var _sGIe = "securityGroupIds"; -var _sGIec = "securityGroupInfo"; -var _sGR = "securityGroupRule"; -var _sGRI = "securityGroupRuleId"; -var _sGRS = "securityGroupRuleSet"; -var _sGRSe = "securityGroupReferenceSet"; -var _sGRSec = "securityGroupReferencingSupport"; -var _sGS = "securityGroupSet"; -var _sGe = "securityGroups"; -var _sH = "startHour"; -var _sI = "serviceId"; -var _sIAS = "scheduledInstanceAvailabilitySet"; -var _sIATS = "supportedIpAddressTypeSet"; -var _sICRS = "subnetIpv4CidrReservationSet"; -var _sICRSu = "subnetIpv6CidrReservationSet"; -var _sICSS = "successfulInstanceCreditSpecificationSet"; -var _sIGB = "sizeInGB"; -var _sII = "sourceInstanceId"; -var _sIIc = "scheduledInstanceId"; -var _sIMB = "sizeInMiB"; -var _sIP = "staleIpPermissions"; -var _sIPE = "staleIpPermissionsEgress"; -var _sIPI = "sourceIpamPoolId"; -var _sIRI = "spotInstanceRequestId"; -var _sIRS = "spotInstanceRequestSet"; -var _sIS = "scheduledInstanceSet"; -var _sISu = "subnetIdSet"; -var _sIT = "spotInstanceType"; -var _sITRS = "storeImageTaskResultSet"; -var _sITi = "singleInstanceType"; -var _sIn = "snapshotId"; -var _sIo = "sourceIp"; -var _sIu = "subnetId"; -var _sIub = "subnetIds"; -var _sK = "s3Key"; -var _sKo = "s3objectKey"; -var _sL = "s3Location"; -var _sLp = "spreadLevel"; -var _sM = "statusMessage"; -var _sMPPOLP = "spotMaxPricePercentageOverLowestPrice"; -var _sMS = "spotMaintenanceStrategies"; -var _sMTP = "spotMaxTotalPrice"; -var _sMt = "stateMessage"; -var _sN = "serviceName"; -var _sNS = "serviceNameSet"; -var _sNSr = "sriovNetSupport"; -var _sNe = "sequenceNumber"; -var _sNes = "sessionNumber"; -var _sO = "spotOptions"; -var _sP = "s3Prefix"; -var _sPA = "samlProviderArn"; -var _sPHS = "spotPriceHistorySet"; -var _sPI = "servicePermissionId"; -var _sPIAC = "secondaryPrivateIpAddressCount"; -var _sPLS = "sourcePrefixListSet"; -var _sPR = "sourcePortRange"; -var _sPRS = "sourcePortRangeSet"; -var _sPS = "sourcePortSet"; -var _sPSS = "spotPlacementScoreSet"; -var _sPp = "spotPrice"; -var _sQPDS = "successfulQueuedPurchaseDeletionSet"; -var _sR = "stateReason"; -var _sRDT = "supportedRootDeviceTypes"; -var _sRO = "staticRoutesOnly"; -var _sRT = "subnetRouteTable"; -var _sRe = "serviceResource"; -var _sRo = "sourceResource"; -var _sS = "snapshotSet"; -var _sSGS = "staleSecurityGroupSet"; -var _sSPU = "selfServicePortalUrl"; -var _sSS = "staticSourcesSupport"; -var _sSSPA = "selfServiceSamlProviderArn"; -var _sST = "sampledStartTime"; -var _sSe = "settingSet"; -var _sSer = "serviceState"; -var _sSo = "sourceSet"; -var _sSs = "sseSpecification"; -var _sSt = "statusSet"; -var _sSu = "subscriptionSet"; -var _sSub = "subnetSet"; -var _sSup = "supportedStrategies"; -var _sSy = "systemStatus"; -var _sT = "startTime"; -var _sTC = "spotTargetCapacity"; -var _sTD = "snapshotTaskDetail"; -var _sTFR = "storeTaskFailureReason"; -var _sTH = "sessionTimeoutHours"; -var _sTR = "stateTransitionReason"; -var _sTS = "storeTaskState"; -var _sTSS = "snapshotTierStatusSet"; -var _sTT = "stateTransitionTime"; -var _sTa = "sampleTime"; -var _sTe = "serviceType"; -var _sTo = "sourceType"; -var _sTp = "splitTunnel"; -var _sTs = "sseType"; -var _sTt = "storageTier"; -var _sUC = "supportedUsageClasses"; -var _sV = "sourceVpc"; -var _sVT = "supportedVirtualizationTypes"; -var _sVh = "shellVersion"; -var _sVu = "supportedVersions"; -var _sWD = "startWeekDay"; -var _s_ = "s3"; -var _sc = "scope"; -var _sco = "score"; -var _se = "service"; -var _si = "size"; -var _so = "sockets"; -var _sof = "software"; -var _st = "state"; -var _sta = "status"; -var _star = "start"; -var _stat = "statistic"; -var _sto = "storage"; -var _str = "strategy"; -var _su = "subnet"; -var _sub = "subnets"; -var _suc = "successful"; -var _succ = "success"; -var _t = "tenancy"; -var _tAAC = "totalAvailableAddressCount"; -var _tAC = "totalAddressCount"; -var _tAI = "transferAccountId"; -var _tC = "totalCapacity"; -var _tCS = "targetCapacitySpecification"; -var _tCUT = "targetCapacityUnitType"; -var _tCVR = "targetConfigurationValueRollup"; -var _tCVS = "targetConfigurationValueSet"; -var _tCa = "targetConfiguration"; -var _tCar = "targetCapacity"; -var _tD = "terminationDelay"; -var _tDr = "trafficDirection"; -var _tE = "targetEnvironment"; -var _tED = "termEndDate"; -var _tET = "tcpEstablishedTimeout"; -var _tEo = "tokenEndpoint"; -var _tFC = "totalFulfilledCapacity"; -var _tFMIMB = "totalFpgaMemoryInMiB"; -var _tG = "transitGateway"; -var _tGA = "transitGatewayAttachments"; -var _tGAI = "transitGatewayAttachmentId"; -var _tGAP = "transitGatewayAttachmentPropagations"; -var _tGAr = "transitGatewayAttachment"; -var _tGAra = "transitGatewayArn"; -var _tGAran = "transitGatewayAsn"; -var _tGArans = "transitGatewayAddress"; -var _tGC = "transitGatewayConnect"; -var _tGCB = "transitGatewayCidrBlocks"; -var _tGCP = "transitGatewayConnectPeer"; -var _tGCPI = "transitGatewayConnectPeerId"; -var _tGCPS = "transitGatewayConnectPeerSet"; -var _tGCS = "transitGatewayConnectSet"; -var _tGCa = "targetGroupsConfig"; -var _tGI = "transitGatewayId"; -var _tGMD = "transitGatewayMulticastDomain"; -var _tGMDA = "transitGatewayMulticastDomainArn"; -var _tGMDI = "transitGatewayMulticastDomainId"; -var _tGMDr = "transitGatewayMulticastDomains"; -var _tGMIMB = "totalGpuMemoryInMiB"; -var _tGOI = "transitGatewayOwnerId"; -var _tGPA = "transitGatewayPeeringAttachment"; -var _tGPAr = "transitGatewayPeeringAttachments"; -var _tGPLR = "transitGatewayPrefixListReference"; -var _tGPLRS = "transitGatewayPrefixListReferenceSet"; -var _tGPT = "transitGatewayPolicyTable"; -var _tGPTE = "transitGatewayPolicyTableEntries"; -var _tGPTI = "transitGatewayPolicyTableId"; -var _tGPTr = "transitGatewayPolicyTables"; -var _tGRT = "transitGatewayRouteTable"; -var _tGRTA = "transitGatewayRouteTableAnnouncement"; -var _tGRTAI = "transitGatewayRouteTableAnnouncementId"; -var _tGRTAr = "transitGatewayRouteTableAnnouncements"; -var _tGRTI = "transitGatewayRouteTableId"; -var _tGRTP = "transitGatewayRouteTablePropagations"; -var _tGRTR = "transitGatewayRouteTableRoute"; -var _tGRTr = "transitGatewayRouteTables"; -var _tGS = "transitGatewaySet"; -var _tGVA = "transitGatewayVpcAttachment"; -var _tGVAr = "transitGatewayVpcAttachments"; -var _tGa = "targetGroups"; -var _tHP = "totalHourlyPrice"; -var _tI = "tenantId"; -var _tIC = "totalInstanceCount"; -var _tICu = "tunnelInsideCidr"; -var _tII = "trunkInterfaceId"; -var _tIIC = "tunnelInsideIpv6Cidr"; -var _tIIV = "tunnelInsideIpVersion"; -var _tIMIMB = "totalInferenceMemoryInMiB"; -var _tIWE = "terminateInstancesWithExpiration"; -var _tIa = "targetIops"; -var _tLSGB = "totalLocalStorageGB"; -var _tMAE = "targetMultiAttachEnabled"; -var _tMF = "trafficMirrorFilter"; -var _tMFI = "trafficMirrorFilterId"; -var _tMFR = "trafficMirrorFilterRule"; -var _tMFRI = "trafficMirrorFilterRuleId"; -var _tMFS = "trafficMirrorFilterSet"; -var _tMMIMB = "totalMediaMemoryInMiB"; -var _tMS = "trafficMirrorSession"; -var _tMSI = "trafficMirrorSessionId"; -var _tMSS = "trafficMirrorSessionSet"; -var _tMT = "trafficMirrorTarget"; -var _tMTI = "trafficMirrorTargetId"; -var _tMTS = "trafficMirrorTargetSet"; -var _tNDMIMB = "totalNeuronDeviceMemoryInMiB"; -var _tNI = "targetNetworkId"; -var _tOAT = "transferOfferAcceptedTimestamp"; -var _tOET = "transferOfferExpirationTimestamp"; -var _tOS = "tunnelOptionSet"; -var _tP = "transportProtocol"; -var _tPC = "threadsPerCore"; -var _tPT = "trustProviderType"; -var _tPo = "toPort"; -var _tRC = "targetResourceCount"; -var _tRS = "throughResourceSet"; -var _tRSi = "timeRangeSet"; -var _tRTI = "targetRouteTableId"; -var _tS = "tagSet"; -var _tSD = "termStartDate"; -var _tSIGB = "totalSizeInGB"; -var _tSIH = "totalScheduledInstanceHours"; -var _tSS = "tagSpecificationSet"; -var _tST = "tieringStartTime"; -var _tSTa = "taskStartTime"; -var _tSa = "targetSubnet"; -var _tSar = "targetSize"; -var _tSas = "taskState"; -var _tSp = "tpmSupport"; -var _tT = "trafficType"; -var _tTC = "totalTargetCapacity"; -var _tTGAI = "transportTransitGatewayAttachmentId"; -var _tTa = "targetThroughput"; -var _tUP = "totalUpfrontPrice"; -var _tVC = "totalVCpus"; -var _tVT = "targetVolumeType"; -var _ta = "tags"; -var _tag = "tag"; -var _te = "term"; -var _th = "throughput"; -var _ti = "timestamp"; -var _tie = "tier"; -var _to = "to"; -var _ty = "type"; -var _u = "unsuccessful"; -var _uB = "userBucket"; -var _uD = "uefiData"; -var _uDLTVS = "unsuccessfullyDeletedLaunchTemplateVersionSet"; -var _uDp = "updatedDate"; -var _uDpd = "updateDate"; -var _uDs = "userData"; -var _uF = "upfrontFee"; -var _uFDS = "unsuccessfulFleetDeletionSet"; -var _uFRS = "unsuccessfulFleetRequestSet"; -var _uI = "userId"; -var _uIA = "unassignedIpv6Addresses"; -var _uIC = "usedInstanceCount"; -var _uICSS = "unsuccessfulInstanceCreditSpecificationSet"; -var _uIE = "userInfoEndpoint"; -var _uIPS = "unknownIpPermissionSet"; -var _uIPSn = "unassignedIpv6PrefixSet"; -var _uLI = "useLongIds"; -var _uLIA = "useLongIdsAggregated"; -var _uO = "usageOperation"; -var _uOUT = "usageOperationUpdateTime"; -var _uP = "upfrontPrice"; -var _uPS = "uploadPolicySignature"; -var _uPp = "uploadPolicy"; -var _uPs = "usagePrice"; -var _uS = "usageStrategy"; -var _uST = "udpStreamTimeout"; -var _uT = "updateTime"; -var _uTPT = "userTrustProviderType"; -var _uTd = "udpTimeout"; -var _ur = "url"; -var _us = "username"; -var _v = "value"; -var _vAE = "verifiedAccessEndpoint"; -var _vAEI = "verifiedAccessEndpointId"; -var _vAES = "verifiedAccessEndpointSet"; -var _vAG = "verifiedAccessGroup"; -var _vAGA = "verifiedAccessGroupArn"; -var _vAGI = "verifiedAccessGroupId"; -var _vAGS = "verifiedAccessGroupSet"; -var _vAI = "verifiedAccessInstance"; -var _vAII = "verifiedAccessInstanceId"; -var _vAIS = "verifiedAccessInstanceSet"; -var _vATP = "verifiedAccessTrustProvider"; -var _vATPI = "verifiedAccessTrustProviderId"; -var _vATPS = "verifiedAccessTrustProviderSet"; -var _vC = "vpnConnection"; -var _vCC = "vCpuCount"; -var _vCDSC = "vpnConnectionDeviceSampleConfiguration"; -var _vCDTI = "vpnConnectionDeviceTypeId"; -var _vCDTS = "vpnConnectionDeviceTypeSet"; -var _vCI = "vpnConnectionId"; -var _vCIp = "vCpuInfo"; -var _vCS = "vpnConnectionSet"; -var _vCa = "validCores"; -var _vD = "versionDescription"; -var _vE = "vpcEndpoint"; -var _vECI = "vpcEndpointConnectionId"; -var _vECS = "vpcEndpointConnectionSet"; -var _vEI = "vpcEndpointId"; -var _vEO = "vpcEndpointOwner"; -var _vEPS = "vpcEndpointPolicySupported"; -var _vES = "vpcEndpointService"; -var _vESp = "vpcEndpointSet"; -var _vESpc = "vpcEndpointState"; -var _vESpn = "vpnEcmpSupport"; -var _vET = "vpcEndpointType"; -var _vF = "validFrom"; -var _vFR = "validationFailureReason"; -var _vG = "vpnGateway"; -var _vGI = "vpnGatewayId"; -var _vGS = "vpnGatewaySet"; -var _vI = "vpcId"; -var _vIl = "vlanId"; -var _vIo = "volumeId"; -var _vM = "volumeModification"; -var _vMS = "volumeModificationSet"; -var _vN = "virtualName"; -var _vNI = "virtualNetworkId"; -var _vNe = "versionNumber"; -var _vOI = "volumeOwnerId"; -var _vOIp = "vpcOwnerId"; -var _vP = "vpnProtocol"; -var _vPC = "vpcPeeringConnection"; -var _vPCI = "vpcPeeringConnectionId"; -var _vPCS = "vpcPeeringConnectionSet"; -var _vPp = "vpnPort"; -var _vS = "volumeSet"; -var _vSS = "volumeStatusSet"; -var _vSa = "valueSet"; -var _vSo = "volumeSize"; -var _vSol = "volumeStatus"; -var _vSp = "vpcSet"; -var _vT = "volumeType"; -var _vTOIA = "vpnTunnelOutsideIpAddress"; -var _vTPC = "validThreadsPerCore"; -var _vTg = "vgwTelemetry"; -var _vTi = "virtualizationType"; -var _vU = "validUntil"; -var _ve = "version"; -var _ven = "vendor"; -var _vl = "vlan"; -var _vo = "volumes"; -var _vol = "volume"; -var _vp = "vpc"; -var _vpc = "vpcs"; -var _w = "warning"; -var _wC = "weightedCapacity"; -var _wM = "warningMessage"; -var _we = "weight"; -var _zI = "zoneId"; -var _zN = "zoneName"; -var _zS = "zoneState"; -var _zT = "zoneType"; -var buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client.extendedEncodeURIComponent)(key) + "=" + (0, import_smithy_client.extendedEncodeURIComponent)(value)).join("&"), "buildFormUrlencodedString"); -var loadEc2ErrorCode = /* @__PURE__ */ __name((output, data) => { - var _a2; - if (((_a2 = data.Errors.Error) == null ? void 0 : _a2.Code) !== void 0) { - return data.Errors.Error.Code; - } - if (output.statusCode == 404) { - return "NotFound"; - } -}, "loadEc2ErrorCode"); - -// src/commands/AcceptAddressTransferCommand.ts -var _AcceptAddressTransferCommand = class _AcceptAddressTransferCommand extends import_smithy_client.Command.classBuilder().ep({ - ...commonParams -}).m(function(Command, cs, config, o) { - return [ - (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) - ]; -}).s("AmazonEC2", "AcceptAddressTransfer", {}).n("EC2Client", "AcceptAddressTransferCommand").f(void 0, void 0).ser(se_AcceptAddressTransferCommand).de(de_AcceptAddressTransferCommand).build() { -}; -__name(_AcceptAddressTransferCommand, "AcceptAddressTransferCommand"); -var AcceptAddressTransferCommand = _AcceptAddressTransferCommand; - -// 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/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/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", - dedicated_host: "dedicated-host", - dhcp_options: "dhcp-options", - egress_only_internet_gateway: "egress-only-internet-gateway", - elastic_gpu: "elastic-gpu", - elastic_ip: "elastic-ip", - export_image_task: "export-image-task", - export_instance_task: "export-instance-task", - fleet: "fleet", - fpga_image: "fpga-image", - host_reservation: "host-reservation", - image: "image", - import_image_task: "import-image-task", - import_snapshot_task: "import-snapshot-task", - instance: "instance", - instance_connect_endpoint: "instance-connect-endpoint", - instance_event_window: "instance-event-window", - internet_gateway: "internet-gateway", - ipam: "ipam", - ipam_pool: "ipam-pool", - ipam_resource_discovery: "ipam-resource-discovery", - ipam_resource_discovery_association: "ipam-resource-discovery-association", - ipam_scope: "ipam-scope", - ipv4pool_ec2: "ipv4pool-ec2", - ipv6pool_ec2: "ipv6pool-ec2", - key_pair: "key-pair", - launch_template: "launch-template", - local_gateway: "local-gateway", - local_gateway_route_table: "local-gateway-route-table", - local_gateway_route_table_virtual_interface_group_association: "local-gateway-route-table-virtual-interface-group-association", - local_gateway_route_table_vpc_association: "local-gateway-route-table-vpc-association", - local_gateway_virtual_interface: "local-gateway-virtual-interface", - local_gateway_virtual_interface_group: "local-gateway-virtual-interface-group", - natgateway: "natgateway", - network_acl: "network-acl", - network_insights_access_scope: "network-insights-access-scope", - network_insights_access_scope_analysis: "network-insights-access-scope-analysis", - network_insights_analysis: "network-insights-analysis", - network_insights_path: "network-insights-path", - network_interface: "network-interface", - placement_group: "placement-group", - prefix_list: "prefix-list", - replace_root_volume_task: "replace-root-volume-task", - reserved_instances: "reserved-instances", - route_table: "route-table", - security_group: "security-group", - security_group_rule: "security-group-rule", - snapshot: "snapshot", - spot_fleet_request: "spot-fleet-request", - spot_instances_request: "spot-instances-request", - subnet: "subnet", - subnet_cidr_reservation: "subnet-cidr-reservation", - traffic_mirror_filter: "traffic-mirror-filter", - traffic_mirror_filter_rule: "traffic-mirror-filter-rule", - traffic_mirror_session: "traffic-mirror-session", - traffic_mirror_target: "traffic-mirror-target", - transit_gateway: "transit-gateway", - transit_gateway_attachment: "transit-gateway-attachment", - transit_gateway_connect_peer: "transit-gateway-connect-peer", - transit_gateway_multicast_domain: "transit-gateway-multicast-domain", - transit_gateway_policy_table: "transit-gateway-policy-table", - transit_gateway_route_table: "transit-gateway-route-table", - transit_gateway_route_table_announcement: "transit-gateway-route-table-announcement", - verified_access_endpoint: "verified-access-endpoint", - verified_access_group: "verified-access-group", - verified_access_instance: "verified-access-instance", - verified_access_policy: "verified-access-policy", - verified_access_trust_provider: "verified-access-trust-provider", - volume: "volume", - vpc: "vpc", - vpc_block_public_access_exclusion: "vpc-block-public-access-exclusion", - vpc_endpoint: "vpc-endpoint", - vpc_endpoint_connection: "vpc-endpoint-connection", - vpc_endpoint_connection_device_type: "vpc-endpoint-connection-device-type", - vpc_endpoint_service: "vpc-endpoint-service", - vpc_endpoint_service_permission: "vpc-endpoint-service-permission", - vpc_flow_log: "vpc-flow-log", - vpc_peering_connection: "vpc-peering-connection", - vpn_connection: "vpn-connection", - vpn_connection_device_type: "vpn-connection-device-type", - vpn_gateway: "vpn-gateway" -}; -var AddressTransferStatus = { - accepted: "accepted", - disabled: "disabled", - pending: "pending" -}; -var TransitGatewayAttachmentResourceType = { - connect: "connect", - direct_connect_gateway: "direct-connect-gateway", - peering: "peering", - tgw_peering: "tgw-peering", - vpc: "vpc", - vpn: "vpn" -}; -var TransitGatewayMulitcastDomainAssociationState = { - associated: "associated", - associating: "associating", - disassociated: "disassociated", - disassociating: "disassociating", - failed: "failed", - pendingAcceptance: "pendingAcceptance", - rejected: "rejected" -}; -var DynamicRoutingValue = { - disable: "disable", - enable: "enable" -}; -var TransitGatewayAttachmentState = { - available: "available", - deleted: "deleted", - deleting: "deleting", - failed: "failed", - failing: "failing", - initiating: "initiating", - initiatingRequest: "initiatingRequest", - modifying: "modifying", - pending: "pending", - pendingAcceptance: "pendingAcceptance", - rejected: "rejected", - rejecting: "rejecting", - rollingBack: "rollingBack" -}; -var ApplianceModeSupportValue = { - disable: "disable", - enable: "enable" -}; -var DnsSupportValue = { - disable: "disable", - enable: "enable" -}; -var Ipv6SupportValue = { - disable: "disable", - enable: "enable" -}; -var SecurityGroupReferencingSupportValue = { - disable: "disable", - enable: "enable" -}; -var VpcPeeringConnectionStateReasonCode = { - active: "active", - deleted: "deleted", - deleting: "deleting", - expired: "expired", - failed: "failed", - initiating_request: "initiating-request", - pending_acceptance: "pending-acceptance", - provisioning: "provisioning", - rejected: "rejected" -}; -var Protocol = { - tcp: "tcp", - udp: "udp" -}; -var AccountAttributeName = { - default_vpc: "default-vpc", - supported_platforms: "supported-platforms" -}; -var InstanceHealthStatus = { - HEALTHY_STATUS: "healthy", - UNHEALTHY_STATUS: "unhealthy" -}; -var ActivityStatus = { - ERROR: "error", - FULFILLED: "fulfilled", - PENDING_FULFILLMENT: "pending_fulfillment", - PENDING_TERMINATION: "pending_termination" -}; -var PrincipalType = { - Account: "Account", - All: "All", - OrganizationUnit: "OrganizationUnit", - Role: "Role", - Service: "Service", - User: "User" -}; -var DomainType = { - standard: "standard", - vpc: "vpc" -}; -var AddressAttributeName = { - domain_name: "domain-name" -}; -var AddressFamily = { - ipv4: "ipv4", - ipv6: "ipv6" -}; -var AsnAssociationState = { - associated: "associated", - disassociated: "disassociated", - failed_association: "failed-association", - failed_disassociation: "failed-disassociation", - pending_association: "pending-association", - pending_disassociation: "pending-disassociation" -}; -var ByoipCidrState = { - advertised: "advertised", - deprovisioned: "deprovisioned", - failed_deprovision: "failed-deprovision", - failed_provision: "failed-provision", - pending_deprovision: "pending-deprovision", - pending_provision: "pending-provision", - provisioned: "provisioned", - provisioned_not_publicly_advertisable: "provisioned-not-publicly-advertisable" -}; -var Affinity = { - default: "default", - host: "host" -}; -var AutoPlacement = { - off: "off", - on: "on" -}; -var HostMaintenance = { - off: "off", - on: "on" -}; -var HostRecovery = { - off: "off", - on: "on" -}; -var IpamPoolAllocationResourceType = { - custom: "custom", - ec2_public_ipv4_pool: "ec2-public-ipv4-pool", - ipam_pool: "ipam-pool", - subnet: "subnet", - vpc: "vpc" -}; -var AllocationState = { - available: "available", - pending: "pending", - permanent_failure: "permanent-failure", - released: "released", - released_permanent_failure: "released-permanent-failure", - under_assessment: "under-assessment" -}; -var AllocationStrategy = { - CAPACITY_OPTIMIZED: "capacityOptimized", - CAPACITY_OPTIMIZED_PRIORITIZED: "capacityOptimizedPrioritized", - DIVERSIFIED: "diversified", - LOWEST_PRICE: "lowestPrice", - PRICE_CAPACITY_OPTIMIZED: "priceCapacityOptimized" -}; -var AllocationType = { - used: "used" -}; -var AllowsMultipleInstanceTypes = { - off: "off", - on: "on" -}; -var NatGatewayAddressStatus = { - ASSIGNING: "assigning", - ASSOCIATING: "associating", - DISASSOCIATING: "disassociating", - FAILED: "failed", - SUCCEEDED: "succeeded", - UNASSIGNING: "unassigning" -}; -var AssociationStatusCode = { - associated: "associated", - associating: "associating", - association_failed: "association-failed", - disassociated: "disassociated", - disassociating: "disassociating" -}; -var IamInstanceProfileAssociationState = { - ASSOCIATED: "associated", - ASSOCIATING: "associating", - DISASSOCIATED: "disassociated", - DISASSOCIATING: "disassociating" -}; -var InstanceEventWindowState = { - active: "active", - creating: "creating", - deleted: "deleted", - deleting: "deleting" -}; -var WeekDay = { - friday: "friday", - monday: "monday", - saturday: "saturday", - sunday: "sunday", - thursday: "thursday", - tuesday: "tuesday", - wednesday: "wednesday" -}; -var IpamAssociatedResourceDiscoveryStatus = { - ACTIVE: "active", - NOT_FOUND: "not-found" -}; -var IpamResourceDiscoveryAssociationState = { - ASSOCIATE_COMPLETE: "associate-complete", - ASSOCIATE_FAILED: "associate-failed", - ASSOCIATE_IN_PROGRESS: "associate-in-progress", - DISASSOCIATE_COMPLETE: "disassociate-complete", - DISASSOCIATE_FAILED: "disassociate-failed", - DISASSOCIATE_IN_PROGRESS: "disassociate-in-progress", - ISOLATE_COMPLETE: "isolate-complete", - ISOLATE_IN_PROGRESS: "isolate-in-progress", - RESTORE_IN_PROGRESS: "restore-in-progress" -}; -var RouteTableAssociationStateCode = { - associated: "associated", - associating: "associating", - disassociated: "disassociated", - disassociating: "disassociating", - failed: "failed" -}; -var SubnetCidrBlockStateCode = { - associated: "associated", - associating: "associating", - disassociated: "disassociated", - disassociating: "disassociating", - failed: "failed", - failing: "failing" -}; -var TransitGatewayAssociationState = { - associated: "associated", - associating: "associating", - disassociated: "disassociated", - disassociating: "disassociating" -}; -var InterfaceProtocolType = { - GRE: "GRE", - VLAN: "VLAN" -}; -var VpcCidrBlockStateCode = { - associated: "associated", - associating: "associating", - disassociated: "disassociated", - disassociating: "disassociating", - failed: "failed", - failing: "failing" -}; -var DeviceTrustProviderType = { - crowdstrike: "crowdstrike", - jamf: "jamf", - jumpcloud: "jumpcloud" -}; -var TrustProviderType = { - device: "device", - user: "user" -}; -var UserTrustProviderType = { - iam_identity_center: "iam-identity-center", - oidc: "oidc" -}; -var VolumeAttachmentState = { - attached: "attached", - attaching: "attaching", - busy: "busy", - detached: "detached", - detaching: "detaching" -}; -var AttachmentStatus = { - attached: "attached", - attaching: "attaching", - detached: "detached", - detaching: "detaching" -}; -var ClientVpnAuthorizationRuleStatusCode = { - active: "active", - authorizing: "authorizing", - failed: "failed", - revoking: "revoking" -}; -var BundleTaskState = { - bundling: "bundling", - cancelling: "cancelling", - complete: "complete", - failed: "failed", - pending: "pending", - storing: "storing", - waiting_for_shutdown: "waiting-for-shutdown" -}; -var CapacityReservationFleetState = { - ACTIVE: "active", - CANCELLED: "cancelled", - CANCELLING: "cancelling", - EXPIRED: "expired", - EXPIRING: "expiring", - FAILED: "failed", - MODIFYING: "modifying", - PARTIALLY_FULFILLED: "partially_fulfilled", - SUBMITTED: "submitted" -}; -var ListingState = { - available: "available", - cancelled: "cancelled", - pending: "pending", - sold: "sold" -}; -var CurrencyCodeValues = { - USD: "USD" -}; -var ListingStatus = { - active: "active", - cancelled: "cancelled", - closed: "closed", - pending: "pending" -}; -var BatchState = { - ACTIVE: "active", - CANCELLED: "cancelled", - CANCELLED_RUNNING: "cancelled_running", - CANCELLED_TERMINATING_INSTANCES: "cancelled_terminating", - FAILED: "failed", - MODIFYING: "modifying", - SUBMITTED: "submitted" -}; -var CancelBatchErrorCode = { - FLEET_REQUEST_ID_DOES_NOT_EXIST: "fleetRequestIdDoesNotExist", - FLEET_REQUEST_ID_MALFORMED: "fleetRequestIdMalformed", - FLEET_REQUEST_NOT_IN_CANCELLABLE_STATE: "fleetRequestNotInCancellableState", - UNEXPECTED_ERROR: "unexpectedError" -}; -var CancelSpotInstanceRequestState = { - active: "active", - cancelled: "cancelled", - closed: "closed", - completed: "completed", - open: "open" -}; -var EndDateType = { - limited: "limited", - unlimited: "unlimited" -}; -var InstanceMatchCriteria = { - open: "open", - targeted: "targeted" -}; -var CapacityReservationInstancePlatform = { - LINUX_UNIX: "Linux/UNIX", - LINUX_WITH_SQL_SERVER_ENTERPRISE: "Linux with SQL Server Enterprise", - LINUX_WITH_SQL_SERVER_STANDARD: "Linux with SQL Server Standard", - LINUX_WITH_SQL_SERVER_WEB: "Linux with SQL Server Web", - RED_HAT_ENTERPRISE_LINUX: "Red Hat Enterprise Linux", - RHEL_WITH_HA: "RHEL with HA", - RHEL_WITH_HA_AND_SQL_SERVER_ENTERPRISE: "RHEL with HA and SQL Server Enterprise", - RHEL_WITH_HA_AND_SQL_SERVER_STANDARD: "RHEL with HA and SQL Server Standard", - RHEL_WITH_SQL_SERVER_ENTERPRISE: "RHEL with SQL Server Enterprise", - RHEL_WITH_SQL_SERVER_STANDARD: "RHEL with SQL Server Standard", - RHEL_WITH_SQL_SERVER_WEB: "RHEL with SQL Server Web", - SUSE_LINUX: "SUSE Linux", - UBUNTU_PRO_LINUX: "Ubuntu Pro", - WINDOWS: "Windows", - WINDOWS_WITH_SQL_SERVER: "Windows with SQL Server", - WINDOWS_WITH_SQL_SERVER_ENTERPRISE: "Windows with SQL Server Enterprise", - WINDOWS_WITH_SQL_SERVER_STANDARD: "Windows with SQL Server Standard", - WINDOWS_WITH_SQL_SERVER_WEB: "Windows with SQL Server Web" -}; -var CapacityReservationTenancy = { - dedicated: "dedicated", - default: "default" -}; -var CapacityReservationType = { - CAPACITY_BLOCK: "capacity-block", - DEFAULT: "default" -}; -var CapacityReservationState = { - active: "active", - cancelled: "cancelled", - expired: "expired", - failed: "failed", - payment_failed: "payment-failed", - payment_pending: "payment-pending", - pending: "pending", - scheduled: "scheduled" -}; -var FleetInstanceMatchCriteria = { - open: "open" -}; -var _InstanceType = { - a1_2xlarge: "a1.2xlarge", - a1_4xlarge: "a1.4xlarge", - a1_large: "a1.large", - a1_medium: "a1.medium", - a1_metal: "a1.metal", - a1_xlarge: "a1.xlarge", - c1_medium: "c1.medium", - c1_xlarge: "c1.xlarge", - c3_2xlarge: "c3.2xlarge", - c3_4xlarge: "c3.4xlarge", - c3_8xlarge: "c3.8xlarge", - c3_large: "c3.large", - c3_xlarge: "c3.xlarge", - c4_2xlarge: "c4.2xlarge", - c4_4xlarge: "c4.4xlarge", - c4_8xlarge: "c4.8xlarge", - c4_large: "c4.large", - c4_xlarge: "c4.xlarge", - c5_12xlarge: "c5.12xlarge", - c5_18xlarge: "c5.18xlarge", - c5_24xlarge: "c5.24xlarge", - c5_2xlarge: "c5.2xlarge", - c5_4xlarge: "c5.4xlarge", - c5_9xlarge: "c5.9xlarge", - c5_large: "c5.large", - c5_metal: "c5.metal", - c5_xlarge: "c5.xlarge", - c5a_12xlarge: "c5a.12xlarge", - c5a_16xlarge: "c5a.16xlarge", - c5a_24xlarge: "c5a.24xlarge", - c5a_2xlarge: "c5a.2xlarge", - c5a_4xlarge: "c5a.4xlarge", - c5a_8xlarge: "c5a.8xlarge", - c5a_large: "c5a.large", - c5a_xlarge: "c5a.xlarge", - c5ad_12xlarge: "c5ad.12xlarge", - c5ad_16xlarge: "c5ad.16xlarge", - c5ad_24xlarge: "c5ad.24xlarge", - c5ad_2xlarge: "c5ad.2xlarge", - c5ad_4xlarge: "c5ad.4xlarge", - c5ad_8xlarge: "c5ad.8xlarge", - c5ad_large: "c5ad.large", - c5ad_xlarge: "c5ad.xlarge", - c5d_12xlarge: "c5d.12xlarge", - c5d_18xlarge: "c5d.18xlarge", - c5d_24xlarge: "c5d.24xlarge", - c5d_2xlarge: "c5d.2xlarge", - c5d_4xlarge: "c5d.4xlarge", - c5d_9xlarge: "c5d.9xlarge", - c5d_large: "c5d.large", - c5d_metal: "c5d.metal", - c5d_xlarge: "c5d.xlarge", - c5n_18xlarge: "c5n.18xlarge", - c5n_2xlarge: "c5n.2xlarge", - c5n_4xlarge: "c5n.4xlarge", - c5n_9xlarge: "c5n.9xlarge", - c5n_large: "c5n.large", - c5n_metal: "c5n.metal", - c5n_xlarge: "c5n.xlarge", - c6a_12xlarge: "c6a.12xlarge", - c6a_16xlarge: "c6a.16xlarge", - c6a_24xlarge: "c6a.24xlarge", - c6a_2xlarge: "c6a.2xlarge", - c6a_32xlarge: "c6a.32xlarge", - c6a_48xlarge: "c6a.48xlarge", - c6a_4xlarge: "c6a.4xlarge", - c6a_8xlarge: "c6a.8xlarge", - c6a_large: "c6a.large", - c6a_metal: "c6a.metal", - c6a_xlarge: "c6a.xlarge", - c6g_12xlarge: "c6g.12xlarge", - c6g_16xlarge: "c6g.16xlarge", - c6g_2xlarge: "c6g.2xlarge", - c6g_4xlarge: "c6g.4xlarge", - c6g_8xlarge: "c6g.8xlarge", - c6g_large: "c6g.large", - c6g_medium: "c6g.medium", - c6g_metal: "c6g.metal", - c6g_xlarge: "c6g.xlarge", - c6gd_12xlarge: "c6gd.12xlarge", - c6gd_16xlarge: "c6gd.16xlarge", - c6gd_2xlarge: "c6gd.2xlarge", - c6gd_4xlarge: "c6gd.4xlarge", - c6gd_8xlarge: "c6gd.8xlarge", - c6gd_large: "c6gd.large", - c6gd_medium: "c6gd.medium", - c6gd_metal: "c6gd.metal", - c6gd_xlarge: "c6gd.xlarge", - c6gn_12xlarge: "c6gn.12xlarge", - c6gn_16xlarge: "c6gn.16xlarge", - c6gn_2xlarge: "c6gn.2xlarge", - c6gn_4xlarge: "c6gn.4xlarge", - c6gn_8xlarge: "c6gn.8xlarge", - c6gn_large: "c6gn.large", - c6gn_medium: "c6gn.medium", - c6gn_xlarge: "c6gn.xlarge", - c6i_12xlarge: "c6i.12xlarge", - c6i_16xlarge: "c6i.16xlarge", - c6i_24xlarge: "c6i.24xlarge", - c6i_2xlarge: "c6i.2xlarge", - c6i_32xlarge: "c6i.32xlarge", - c6i_4xlarge: "c6i.4xlarge", - c6i_8xlarge: "c6i.8xlarge", - c6i_large: "c6i.large", - c6i_metal: "c6i.metal", - c6i_xlarge: "c6i.xlarge", - c6id_12xlarge: "c6id.12xlarge", - c6id_16xlarge: "c6id.16xlarge", - c6id_24xlarge: "c6id.24xlarge", - c6id_2xlarge: "c6id.2xlarge", - c6id_32xlarge: "c6id.32xlarge", - c6id_4xlarge: "c6id.4xlarge", - c6id_8xlarge: "c6id.8xlarge", - c6id_large: "c6id.large", - c6id_metal: "c6id.metal", - c6id_xlarge: "c6id.xlarge", - c6in_12xlarge: "c6in.12xlarge", - c6in_16xlarge: "c6in.16xlarge", - c6in_24xlarge: "c6in.24xlarge", - c6in_2xlarge: "c6in.2xlarge", - c6in_32xlarge: "c6in.32xlarge", - c6in_4xlarge: "c6in.4xlarge", - c6in_8xlarge: "c6in.8xlarge", - c6in_large: "c6in.large", - c6in_metal: "c6in.metal", - c6in_xlarge: "c6in.xlarge", - c7a_12xlarge: "c7a.12xlarge", - c7a_16xlarge: "c7a.16xlarge", - c7a_24xlarge: "c7a.24xlarge", - c7a_2xlarge: "c7a.2xlarge", - c7a_32xlarge: "c7a.32xlarge", - c7a_48xlarge: "c7a.48xlarge", - c7a_4xlarge: "c7a.4xlarge", - c7a_8xlarge: "c7a.8xlarge", - c7a_large: "c7a.large", - c7a_medium: "c7a.medium", - c7a_metal_48xl: "c7a.metal-48xl", - c7a_xlarge: "c7a.xlarge", - c7g_12xlarge: "c7g.12xlarge", - c7g_16xlarge: "c7g.16xlarge", - c7g_2xlarge: "c7g.2xlarge", - c7g_4xlarge: "c7g.4xlarge", - c7g_8xlarge: "c7g.8xlarge", - c7g_large: "c7g.large", - c7g_medium: "c7g.medium", - c7g_metal: "c7g.metal", - c7g_xlarge: "c7g.xlarge", - c7gd_12xlarge: "c7gd.12xlarge", - c7gd_16xlarge: "c7gd.16xlarge", - c7gd_2xlarge: "c7gd.2xlarge", - c7gd_4xlarge: "c7gd.4xlarge", - c7gd_8xlarge: "c7gd.8xlarge", - c7gd_large: "c7gd.large", - c7gd_medium: "c7gd.medium", - c7gd_metal: "c7gd.metal", - c7gd_xlarge: "c7gd.xlarge", - c7gn_12xlarge: "c7gn.12xlarge", - c7gn_16xlarge: "c7gn.16xlarge", - c7gn_2xlarge: "c7gn.2xlarge", - c7gn_4xlarge: "c7gn.4xlarge", - c7gn_8xlarge: "c7gn.8xlarge", - c7gn_large: "c7gn.large", - c7gn_medium: "c7gn.medium", - c7gn_xlarge: "c7gn.xlarge", - c7i_12xlarge: "c7i.12xlarge", - c7i_16xlarge: "c7i.16xlarge", - c7i_24xlarge: "c7i.24xlarge", - c7i_2xlarge: "c7i.2xlarge", - c7i_48xlarge: "c7i.48xlarge", - c7i_4xlarge: "c7i.4xlarge", - c7i_8xlarge: "c7i.8xlarge", - c7i_large: "c7i.large", - c7i_metal_24xl: "c7i.metal-24xl", - c7i_metal_48xl: "c7i.metal-48xl", - c7i_xlarge: "c7i.xlarge", - cc1_4xlarge: "cc1.4xlarge", - cc2_8xlarge: "cc2.8xlarge", - cg1_4xlarge: "cg1.4xlarge", - cr1_8xlarge: "cr1.8xlarge", - d2_2xlarge: "d2.2xlarge", - d2_4xlarge: "d2.4xlarge", - d2_8xlarge: "d2.8xlarge", - d2_xlarge: "d2.xlarge", - d3_2xlarge: "d3.2xlarge", - d3_4xlarge: "d3.4xlarge", - d3_8xlarge: "d3.8xlarge", - d3_xlarge: "d3.xlarge", - d3en_12xlarge: "d3en.12xlarge", - d3en_2xlarge: "d3en.2xlarge", - d3en_4xlarge: "d3en.4xlarge", - d3en_6xlarge: "d3en.6xlarge", - d3en_8xlarge: "d3en.8xlarge", - d3en_xlarge: "d3en.xlarge", - dl1_24xlarge: "dl1.24xlarge", - dl2q_24xlarge: "dl2q.24xlarge", - f1_16xlarge: "f1.16xlarge", - f1_2xlarge: "f1.2xlarge", - f1_4xlarge: "f1.4xlarge", - g2_2xlarge: "g2.2xlarge", - g2_8xlarge: "g2.8xlarge", - g3_16xlarge: "g3.16xlarge", - g3_4xlarge: "g3.4xlarge", - g3_8xlarge: "g3.8xlarge", - g3s_xlarge: "g3s.xlarge", - g4ad_16xlarge: "g4ad.16xlarge", - g4ad_2xlarge: "g4ad.2xlarge", - g4ad_4xlarge: "g4ad.4xlarge", - g4ad_8xlarge: "g4ad.8xlarge", - g4ad_xlarge: "g4ad.xlarge", - g4dn_12xlarge: "g4dn.12xlarge", - g4dn_16xlarge: "g4dn.16xlarge", - g4dn_2xlarge: "g4dn.2xlarge", - g4dn_4xlarge: "g4dn.4xlarge", - g4dn_8xlarge: "g4dn.8xlarge", - g4dn_metal: "g4dn.metal", - g4dn_xlarge: "g4dn.xlarge", - g5_12xlarge: "g5.12xlarge", - g5_16xlarge: "g5.16xlarge", - g5_24xlarge: "g5.24xlarge", - g5_2xlarge: "g5.2xlarge", - g5_48xlarge: "g5.48xlarge", - g5_4xlarge: "g5.4xlarge", - g5_8xlarge: "g5.8xlarge", - g5_xlarge: "g5.xlarge", - g5g_16xlarge: "g5g.16xlarge", - g5g_2xlarge: "g5g.2xlarge", - g5g_4xlarge: "g5g.4xlarge", - g5g_8xlarge: "g5g.8xlarge", - g5g_metal: "g5g.metal", - g5g_xlarge: "g5g.xlarge", - g6_12xlarge: "g6.12xlarge", - g6_16xlarge: "g6.16xlarge", - g6_24xlarge: "g6.24xlarge", - g6_2xlarge: "g6.2xlarge", - g6_48xlarge: "g6.48xlarge", - g6_4xlarge: "g6.4xlarge", - g6_8xlarge: "g6.8xlarge", - g6_xlarge: "g6.xlarge", - gr6_4xlarge: "gr6.4xlarge", - gr6_8xlarge: "gr6.8xlarge", - h1_16xlarge: "h1.16xlarge", - h1_2xlarge: "h1.2xlarge", - h1_4xlarge: "h1.4xlarge", - h1_8xlarge: "h1.8xlarge", - hi1_4xlarge: "hi1.4xlarge", - hpc6a_48xlarge: "hpc6a.48xlarge", - hpc6id_32xlarge: "hpc6id.32xlarge", - hpc7a_12xlarge: "hpc7a.12xlarge", - hpc7a_24xlarge: "hpc7a.24xlarge", - hpc7a_48xlarge: "hpc7a.48xlarge", - hpc7a_96xlarge: "hpc7a.96xlarge", - hpc7g_16xlarge: "hpc7g.16xlarge", - hpc7g_4xlarge: "hpc7g.4xlarge", - hpc7g_8xlarge: "hpc7g.8xlarge", - hs1_8xlarge: "hs1.8xlarge", - i2_2xlarge: "i2.2xlarge", - i2_4xlarge: "i2.4xlarge", - i2_8xlarge: "i2.8xlarge", - i2_xlarge: "i2.xlarge", - i3_16xlarge: "i3.16xlarge", - i3_2xlarge: "i3.2xlarge", - i3_4xlarge: "i3.4xlarge", - i3_8xlarge: "i3.8xlarge", - i3_large: "i3.large", - i3_metal: "i3.metal", - i3_xlarge: "i3.xlarge", - i3en_12xlarge: "i3en.12xlarge", - i3en_24xlarge: "i3en.24xlarge", - i3en_2xlarge: "i3en.2xlarge", - i3en_3xlarge: "i3en.3xlarge", - i3en_6xlarge: "i3en.6xlarge", - i3en_large: "i3en.large", - i3en_metal: "i3en.metal", - i3en_xlarge: "i3en.xlarge", - i4g_16xlarge: "i4g.16xlarge", - i4g_2xlarge: "i4g.2xlarge", - i4g_4xlarge: "i4g.4xlarge", - i4g_8xlarge: "i4g.8xlarge", - i4g_large: "i4g.large", - i4g_xlarge: "i4g.xlarge", - i4i_12xlarge: "i4i.12xlarge", - i4i_16xlarge: "i4i.16xlarge", - i4i_24xlarge: "i4i.24xlarge", - i4i_2xlarge: "i4i.2xlarge", - i4i_32xlarge: "i4i.32xlarge", - i4i_4xlarge: "i4i.4xlarge", - i4i_8xlarge: "i4i.8xlarge", - i4i_large: "i4i.large", - i4i_metal: "i4i.metal", - i4i_xlarge: "i4i.xlarge", - im4gn_16xlarge: "im4gn.16xlarge", - im4gn_2xlarge: "im4gn.2xlarge", - im4gn_4xlarge: "im4gn.4xlarge", - im4gn_8xlarge: "im4gn.8xlarge", - im4gn_large: "im4gn.large", - im4gn_xlarge: "im4gn.xlarge", - inf1_24xlarge: "inf1.24xlarge", - inf1_2xlarge: "inf1.2xlarge", - inf1_6xlarge: "inf1.6xlarge", - inf1_xlarge: "inf1.xlarge", - inf2_24xlarge: "inf2.24xlarge", - inf2_48xlarge: "inf2.48xlarge", - inf2_8xlarge: "inf2.8xlarge", - inf2_xlarge: "inf2.xlarge", - is4gen_2xlarge: "is4gen.2xlarge", - is4gen_4xlarge: "is4gen.4xlarge", - is4gen_8xlarge: "is4gen.8xlarge", - is4gen_large: "is4gen.large", - is4gen_medium: "is4gen.medium", - is4gen_xlarge: "is4gen.xlarge", - m1_large: "m1.large", - m1_medium: "m1.medium", - m1_small: "m1.small", - m1_xlarge: "m1.xlarge", - m2_2xlarge: "m2.2xlarge", - m2_4xlarge: "m2.4xlarge", - m2_xlarge: "m2.xlarge", - m3_2xlarge: "m3.2xlarge", - m3_large: "m3.large", - m3_medium: "m3.medium", - m3_xlarge: "m3.xlarge", - m4_10xlarge: "m4.10xlarge", - m4_16xlarge: "m4.16xlarge", - m4_2xlarge: "m4.2xlarge", - m4_4xlarge: "m4.4xlarge", - m4_large: "m4.large", - m4_xlarge: "m4.xlarge", - m5_12xlarge: "m5.12xlarge", - m5_16xlarge: "m5.16xlarge", - m5_24xlarge: "m5.24xlarge", - m5_2xlarge: "m5.2xlarge", - m5_4xlarge: "m5.4xlarge", - m5_8xlarge: "m5.8xlarge", - m5_large: "m5.large", - m5_metal: "m5.metal", - m5_xlarge: "m5.xlarge", - m5a_12xlarge: "m5a.12xlarge", - m5a_16xlarge: "m5a.16xlarge", - m5a_24xlarge: "m5a.24xlarge", - m5a_2xlarge: "m5a.2xlarge", - m5a_4xlarge: "m5a.4xlarge", - m5a_8xlarge: "m5a.8xlarge", - m5a_large: "m5a.large", - m5a_xlarge: "m5a.xlarge", - m5ad_12xlarge: "m5ad.12xlarge", - m5ad_16xlarge: "m5ad.16xlarge", - m5ad_24xlarge: "m5ad.24xlarge", - m5ad_2xlarge: "m5ad.2xlarge", - m5ad_4xlarge: "m5ad.4xlarge", - m5ad_8xlarge: "m5ad.8xlarge", - m5ad_large: "m5ad.large", - m5ad_xlarge: "m5ad.xlarge", - m5d_12xlarge: "m5d.12xlarge", - m5d_16xlarge: "m5d.16xlarge", - m5d_24xlarge: "m5d.24xlarge", - m5d_2xlarge: "m5d.2xlarge", - m5d_4xlarge: "m5d.4xlarge", - m5d_8xlarge: "m5d.8xlarge", - m5d_large: "m5d.large", - m5d_metal: "m5d.metal", - m5d_xlarge: "m5d.xlarge", - m5dn_12xlarge: "m5dn.12xlarge", - m5dn_16xlarge: "m5dn.16xlarge", - m5dn_24xlarge: "m5dn.24xlarge", - m5dn_2xlarge: "m5dn.2xlarge", - m5dn_4xlarge: "m5dn.4xlarge", - m5dn_8xlarge: "m5dn.8xlarge", - m5dn_large: "m5dn.large", - m5dn_metal: "m5dn.metal", - m5dn_xlarge: "m5dn.xlarge", - m5n_12xlarge: "m5n.12xlarge", - m5n_16xlarge: "m5n.16xlarge", - m5n_24xlarge: "m5n.24xlarge", - m5n_2xlarge: "m5n.2xlarge", - m5n_4xlarge: "m5n.4xlarge", - m5n_8xlarge: "m5n.8xlarge", - m5n_large: "m5n.large", - m5n_metal: "m5n.metal", - m5n_xlarge: "m5n.xlarge", - m5zn_12xlarge: "m5zn.12xlarge", - m5zn_2xlarge: "m5zn.2xlarge", - m5zn_3xlarge: "m5zn.3xlarge", - m5zn_6xlarge: "m5zn.6xlarge", - m5zn_large: "m5zn.large", - m5zn_metal: "m5zn.metal", - m5zn_xlarge: "m5zn.xlarge", - m6a_12xlarge: "m6a.12xlarge", - m6a_16xlarge: "m6a.16xlarge", - m6a_24xlarge: "m6a.24xlarge", - m6a_2xlarge: "m6a.2xlarge", - m6a_32xlarge: "m6a.32xlarge", - m6a_48xlarge: "m6a.48xlarge", - m6a_4xlarge: "m6a.4xlarge", - m6a_8xlarge: "m6a.8xlarge", - m6a_large: "m6a.large", - m6a_metal: "m6a.metal", - m6a_xlarge: "m6a.xlarge", - m6g_12xlarge: "m6g.12xlarge", - m6g_16xlarge: "m6g.16xlarge", - m6g_2xlarge: "m6g.2xlarge", - m6g_4xlarge: "m6g.4xlarge", - m6g_8xlarge: "m6g.8xlarge", - m6g_large: "m6g.large", - m6g_medium: "m6g.medium", - m6g_metal: "m6g.metal", - m6g_xlarge: "m6g.xlarge", - m6gd_12xlarge: "m6gd.12xlarge", - m6gd_16xlarge: "m6gd.16xlarge", - m6gd_2xlarge: "m6gd.2xlarge", - m6gd_4xlarge: "m6gd.4xlarge", - m6gd_8xlarge: "m6gd.8xlarge", - m6gd_large: "m6gd.large", - m6gd_medium: "m6gd.medium", - m6gd_metal: "m6gd.metal", - m6gd_xlarge: "m6gd.xlarge", - m6i_12xlarge: "m6i.12xlarge", - m6i_16xlarge: "m6i.16xlarge", - m6i_24xlarge: "m6i.24xlarge", - m6i_2xlarge: "m6i.2xlarge", - m6i_32xlarge: "m6i.32xlarge", - m6i_4xlarge: "m6i.4xlarge", - m6i_8xlarge: "m6i.8xlarge", - m6i_large: "m6i.large", - m6i_metal: "m6i.metal", - m6i_xlarge: "m6i.xlarge", - m6id_12xlarge: "m6id.12xlarge", - m6id_16xlarge: "m6id.16xlarge", - m6id_24xlarge: "m6id.24xlarge", - m6id_2xlarge: "m6id.2xlarge", - m6id_32xlarge: "m6id.32xlarge", - m6id_4xlarge: "m6id.4xlarge", - m6id_8xlarge: "m6id.8xlarge", - m6id_large: "m6id.large", - m6id_metal: "m6id.metal", - m6id_xlarge: "m6id.xlarge", - m6idn_12xlarge: "m6idn.12xlarge", - m6idn_16xlarge: "m6idn.16xlarge", - m6idn_24xlarge: "m6idn.24xlarge", - m6idn_2xlarge: "m6idn.2xlarge", - m6idn_32xlarge: "m6idn.32xlarge", - m6idn_4xlarge: "m6idn.4xlarge", - m6idn_8xlarge: "m6idn.8xlarge", - m6idn_large: "m6idn.large", - m6idn_metal: "m6idn.metal", - m6idn_xlarge: "m6idn.xlarge", - m6in_12xlarge: "m6in.12xlarge", - m6in_16xlarge: "m6in.16xlarge", - m6in_24xlarge: "m6in.24xlarge", - m6in_2xlarge: "m6in.2xlarge", - m6in_32xlarge: "m6in.32xlarge", - m6in_4xlarge: "m6in.4xlarge", - m6in_8xlarge: "m6in.8xlarge", - m6in_large: "m6in.large", - m6in_metal: "m6in.metal", - m6in_xlarge: "m6in.xlarge", - m7a_12xlarge: "m7a.12xlarge", - m7a_16xlarge: "m7a.16xlarge", - m7a_24xlarge: "m7a.24xlarge", - m7a_2xlarge: "m7a.2xlarge", - m7a_32xlarge: "m7a.32xlarge", - m7a_48xlarge: "m7a.48xlarge", - m7a_4xlarge: "m7a.4xlarge", - m7a_8xlarge: "m7a.8xlarge", - m7a_large: "m7a.large", - m7a_medium: "m7a.medium", - m7a_metal_48xl: "m7a.metal-48xl", - m7a_xlarge: "m7a.xlarge", - m7g_12xlarge: "m7g.12xlarge", - m7g_16xlarge: "m7g.16xlarge", - m7g_2xlarge: "m7g.2xlarge", - m7g_4xlarge: "m7g.4xlarge", - m7g_8xlarge: "m7g.8xlarge", - m7g_large: "m7g.large", - m7g_medium: "m7g.medium", - m7g_metal: "m7g.metal", - m7g_xlarge: "m7g.xlarge", - m7gd_12xlarge: "m7gd.12xlarge", - m7gd_16xlarge: "m7gd.16xlarge", - m7gd_2xlarge: "m7gd.2xlarge", - m7gd_4xlarge: "m7gd.4xlarge", - m7gd_8xlarge: "m7gd.8xlarge", - m7gd_large: "m7gd.large", - m7gd_medium: "m7gd.medium", - m7gd_metal: "m7gd.metal", - m7gd_xlarge: "m7gd.xlarge", - m7i_12xlarge: "m7i.12xlarge", - m7i_16xlarge: "m7i.16xlarge", - m7i_24xlarge: "m7i.24xlarge", - m7i_2xlarge: "m7i.2xlarge", - m7i_48xlarge: "m7i.48xlarge", - m7i_4xlarge: "m7i.4xlarge", - m7i_8xlarge: "m7i.8xlarge", - m7i_flex_2xlarge: "m7i-flex.2xlarge", - m7i_flex_4xlarge: "m7i-flex.4xlarge", - m7i_flex_8xlarge: "m7i-flex.8xlarge", - m7i_flex_large: "m7i-flex.large", - m7i_flex_xlarge: "m7i-flex.xlarge", - m7i_large: "m7i.large", - m7i_metal_24xl: "m7i.metal-24xl", - m7i_metal_48xl: "m7i.metal-48xl", - m7i_xlarge: "m7i.xlarge", - mac1_metal: "mac1.metal", - mac2_m2_metal: "mac2-m2.metal", - mac2_m2pro_metal: "mac2-m2pro.metal", - mac2_metal: "mac2.metal", - p2_16xlarge: "p2.16xlarge", - p2_8xlarge: "p2.8xlarge", - p2_xlarge: "p2.xlarge", - p3_16xlarge: "p3.16xlarge", - p3_2xlarge: "p3.2xlarge", - p3_8xlarge: "p3.8xlarge", - p3dn_24xlarge: "p3dn.24xlarge", - p4d_24xlarge: "p4d.24xlarge", - p4de_24xlarge: "p4de.24xlarge", - p5_48xlarge: "p5.48xlarge", - r3_2xlarge: "r3.2xlarge", - r3_4xlarge: "r3.4xlarge", - r3_8xlarge: "r3.8xlarge", - r3_large: "r3.large", - r3_xlarge: "r3.xlarge", - r4_16xlarge: "r4.16xlarge", - r4_2xlarge: "r4.2xlarge", - r4_4xlarge: "r4.4xlarge", - r4_8xlarge: "r4.8xlarge", - r4_large: "r4.large", - r4_xlarge: "r4.xlarge", - r5_12xlarge: "r5.12xlarge", - r5_16xlarge: "r5.16xlarge", - r5_24xlarge: "r5.24xlarge", - r5_2xlarge: "r5.2xlarge", - r5_4xlarge: "r5.4xlarge", - r5_8xlarge: "r5.8xlarge", - r5_large: "r5.large", - r5_metal: "r5.metal", - r5_xlarge: "r5.xlarge", - r5a_12xlarge: "r5a.12xlarge", - r5a_16xlarge: "r5a.16xlarge", - r5a_24xlarge: "r5a.24xlarge", - r5a_2xlarge: "r5a.2xlarge", - r5a_4xlarge: "r5a.4xlarge", - r5a_8xlarge: "r5a.8xlarge", - r5a_large: "r5a.large", - r5a_xlarge: "r5a.xlarge", - r5ad_12xlarge: "r5ad.12xlarge", - r5ad_16xlarge: "r5ad.16xlarge", - r5ad_24xlarge: "r5ad.24xlarge", - r5ad_2xlarge: "r5ad.2xlarge", - r5ad_4xlarge: "r5ad.4xlarge", - r5ad_8xlarge: "r5ad.8xlarge", - r5ad_large: "r5ad.large", - r5ad_xlarge: "r5ad.xlarge", - r5b_12xlarge: "r5b.12xlarge", - r5b_16xlarge: "r5b.16xlarge", - r5b_24xlarge: "r5b.24xlarge", - r5b_2xlarge: "r5b.2xlarge", - r5b_4xlarge: "r5b.4xlarge", - r5b_8xlarge: "r5b.8xlarge", - r5b_large: "r5b.large", - r5b_metal: "r5b.metal", - r5b_xlarge: "r5b.xlarge", - r5d_12xlarge: "r5d.12xlarge", - r5d_16xlarge: "r5d.16xlarge", - r5d_24xlarge: "r5d.24xlarge", - r5d_2xlarge: "r5d.2xlarge", - r5d_4xlarge: "r5d.4xlarge", - r5d_8xlarge: "r5d.8xlarge", - r5d_large: "r5d.large", - r5d_metal: "r5d.metal", - r5d_xlarge: "r5d.xlarge", - r5dn_12xlarge: "r5dn.12xlarge", - r5dn_16xlarge: "r5dn.16xlarge", - r5dn_24xlarge: "r5dn.24xlarge", - r5dn_2xlarge: "r5dn.2xlarge", - r5dn_4xlarge: "r5dn.4xlarge", - r5dn_8xlarge: "r5dn.8xlarge", - r5dn_large: "r5dn.large", - r5dn_metal: "r5dn.metal", - r5dn_xlarge: "r5dn.xlarge", - r5n_12xlarge: "r5n.12xlarge", - r5n_16xlarge: "r5n.16xlarge", - r5n_24xlarge: "r5n.24xlarge", - r5n_2xlarge: "r5n.2xlarge", - r5n_4xlarge: "r5n.4xlarge", - r5n_8xlarge: "r5n.8xlarge", - r5n_large: "r5n.large", - r5n_metal: "r5n.metal", - r5n_xlarge: "r5n.xlarge", - r6a_12xlarge: "r6a.12xlarge", - r6a_16xlarge: "r6a.16xlarge", - r6a_24xlarge: "r6a.24xlarge", - r6a_2xlarge: "r6a.2xlarge", - r6a_32xlarge: "r6a.32xlarge", - r6a_48xlarge: "r6a.48xlarge", - r6a_4xlarge: "r6a.4xlarge", - r6a_8xlarge: "r6a.8xlarge", - r6a_large: "r6a.large", - r6a_metal: "r6a.metal", - r6a_xlarge: "r6a.xlarge", - r6g_12xlarge: "r6g.12xlarge", - r6g_16xlarge: "r6g.16xlarge", - r6g_2xlarge: "r6g.2xlarge", - r6g_4xlarge: "r6g.4xlarge", - r6g_8xlarge: "r6g.8xlarge", - r6g_large: "r6g.large", - r6g_medium: "r6g.medium", - r6g_metal: "r6g.metal", - r6g_xlarge: "r6g.xlarge", - r6gd_12xlarge: "r6gd.12xlarge", - r6gd_16xlarge: "r6gd.16xlarge", - r6gd_2xlarge: "r6gd.2xlarge", - r6gd_4xlarge: "r6gd.4xlarge", - r6gd_8xlarge: "r6gd.8xlarge", - r6gd_large: "r6gd.large", - r6gd_medium: "r6gd.medium", - r6gd_metal: "r6gd.metal", - r6gd_xlarge: "r6gd.xlarge", - r6i_12xlarge: "r6i.12xlarge", - r6i_16xlarge: "r6i.16xlarge", - r6i_24xlarge: "r6i.24xlarge", - r6i_2xlarge: "r6i.2xlarge", - r6i_32xlarge: "r6i.32xlarge", - r6i_4xlarge: "r6i.4xlarge", - r6i_8xlarge: "r6i.8xlarge", - r6i_large: "r6i.large", - r6i_metal: "r6i.metal", - r6i_xlarge: "r6i.xlarge", - r6id_12xlarge: "r6id.12xlarge", - r6id_16xlarge: "r6id.16xlarge", - r6id_24xlarge: "r6id.24xlarge", - r6id_2xlarge: "r6id.2xlarge", - r6id_32xlarge: "r6id.32xlarge", - r6id_4xlarge: "r6id.4xlarge", - r6id_8xlarge: "r6id.8xlarge", - r6id_large: "r6id.large", - r6id_metal: "r6id.metal", - r6id_xlarge: "r6id.xlarge", - r6idn_12xlarge: "r6idn.12xlarge", - r6idn_16xlarge: "r6idn.16xlarge", - r6idn_24xlarge: "r6idn.24xlarge", - r6idn_2xlarge: "r6idn.2xlarge", - r6idn_32xlarge: "r6idn.32xlarge", - r6idn_4xlarge: "r6idn.4xlarge", - r6idn_8xlarge: "r6idn.8xlarge", - r6idn_large: "r6idn.large", - r6idn_metal: "r6idn.metal", - r6idn_xlarge: "r6idn.xlarge", - r6in_12xlarge: "r6in.12xlarge", - r6in_16xlarge: "r6in.16xlarge", - r6in_24xlarge: "r6in.24xlarge", - r6in_2xlarge: "r6in.2xlarge", - r6in_32xlarge: "r6in.32xlarge", - r6in_4xlarge: "r6in.4xlarge", - r6in_8xlarge: "r6in.8xlarge", - r6in_large: "r6in.large", - r6in_metal: "r6in.metal", - r6in_xlarge: "r6in.xlarge", - r7a_12xlarge: "r7a.12xlarge", - r7a_16xlarge: "r7a.16xlarge", - r7a_24xlarge: "r7a.24xlarge", - r7a_2xlarge: "r7a.2xlarge", - r7a_32xlarge: "r7a.32xlarge", - r7a_48xlarge: "r7a.48xlarge", - r7a_4xlarge: "r7a.4xlarge", - r7a_8xlarge: "r7a.8xlarge", - r7a_large: "r7a.large", - r7a_medium: "r7a.medium", - r7a_metal_48xl: "r7a.metal-48xl", - r7a_xlarge: "r7a.xlarge", - r7g_12xlarge: "r7g.12xlarge", - r7g_16xlarge: "r7g.16xlarge", - r7g_2xlarge: "r7g.2xlarge", - r7g_4xlarge: "r7g.4xlarge", - r7g_8xlarge: "r7g.8xlarge", - r7g_large: "r7g.large", - r7g_medium: "r7g.medium", - r7g_metal: "r7g.metal", - r7g_xlarge: "r7g.xlarge", - r7gd_12xlarge: "r7gd.12xlarge", - r7gd_16xlarge: "r7gd.16xlarge", - r7gd_2xlarge: "r7gd.2xlarge", - r7gd_4xlarge: "r7gd.4xlarge", - r7gd_8xlarge: "r7gd.8xlarge", - r7gd_large: "r7gd.large", - r7gd_medium: "r7gd.medium", - r7gd_metal: "r7gd.metal", - r7gd_xlarge: "r7gd.xlarge", - r7i_12xlarge: "r7i.12xlarge", - r7i_16xlarge: "r7i.16xlarge", - r7i_24xlarge: "r7i.24xlarge", - r7i_2xlarge: "r7i.2xlarge", - r7i_48xlarge: "r7i.48xlarge", - r7i_4xlarge: "r7i.4xlarge", - r7i_8xlarge: "r7i.8xlarge", - r7i_large: "r7i.large", - r7i_metal_24xl: "r7i.metal-24xl", - r7i_metal_48xl: "r7i.metal-48xl", - r7i_xlarge: "r7i.xlarge", - r7iz_12xlarge: "r7iz.12xlarge", - r7iz_16xlarge: "r7iz.16xlarge", - r7iz_2xlarge: "r7iz.2xlarge", - r7iz_32xlarge: "r7iz.32xlarge", - r7iz_4xlarge: "r7iz.4xlarge", - r7iz_8xlarge: "r7iz.8xlarge", - r7iz_large: "r7iz.large", - r7iz_metal_16xl: "r7iz.metal-16xl", - r7iz_metal_32xl: "r7iz.metal-32xl", - r7iz_xlarge: "r7iz.xlarge", - t1_micro: "t1.micro", - t2_2xlarge: "t2.2xlarge", - t2_large: "t2.large", - t2_medium: "t2.medium", - t2_micro: "t2.micro", - t2_nano: "t2.nano", - t2_small: "t2.small", - t2_xlarge: "t2.xlarge", - t3_2xlarge: "t3.2xlarge", - t3_large: "t3.large", - t3_medium: "t3.medium", - t3_micro: "t3.micro", - t3_nano: "t3.nano", - t3_small: "t3.small", - t3_xlarge: "t3.xlarge", - t3a_2xlarge: "t3a.2xlarge", - t3a_large: "t3a.large", - t3a_medium: "t3a.medium", - t3a_micro: "t3a.micro", - t3a_nano: "t3a.nano", - t3a_small: "t3a.small", - t3a_xlarge: "t3a.xlarge", - t4g_2xlarge: "t4g.2xlarge", - t4g_large: "t4g.large", - t4g_medium: "t4g.medium", - t4g_micro: "t4g.micro", - t4g_nano: "t4g.nano", - t4g_small: "t4g.small", - t4g_xlarge: "t4g.xlarge", - trn1_2xlarge: "trn1.2xlarge", - trn1_32xlarge: "trn1.32xlarge", - trn1n_32xlarge: "trn1n.32xlarge", - u_12tb1_112xlarge: "u-12tb1.112xlarge", - u_12tb1_metal: "u-12tb1.metal", - u_18tb1_112xlarge: "u-18tb1.112xlarge", - u_18tb1_metal: "u-18tb1.metal", - u_24tb1_112xlarge: "u-24tb1.112xlarge", - u_24tb1_metal: "u-24tb1.metal", - u_3tb1_56xlarge: "u-3tb1.56xlarge", - u_6tb1_112xlarge: "u-6tb1.112xlarge", - u_6tb1_56xlarge: "u-6tb1.56xlarge", - u_6tb1_metal: "u-6tb1.metal", - u_9tb1_112xlarge: "u-9tb1.112xlarge", - u_9tb1_metal: "u-9tb1.metal", - vt1_24xlarge: "vt1.24xlarge", - vt1_3xlarge: "vt1.3xlarge", - vt1_6xlarge: "vt1.6xlarge", - x1_16xlarge: "x1.16xlarge", - x1_32xlarge: "x1.32xlarge", - x1e_16xlarge: "x1e.16xlarge", - x1e_2xlarge: "x1e.2xlarge", - x1e_32xlarge: "x1e.32xlarge", - x1e_4xlarge: "x1e.4xlarge", - x1e_8xlarge: "x1e.8xlarge", - x1e_xlarge: "x1e.xlarge", - x2gd_12xlarge: "x2gd.12xlarge", - x2gd_16xlarge: "x2gd.16xlarge", - x2gd_2xlarge: "x2gd.2xlarge", - x2gd_4xlarge: "x2gd.4xlarge", - x2gd_8xlarge: "x2gd.8xlarge", - x2gd_large: "x2gd.large", - x2gd_medium: "x2gd.medium", - x2gd_metal: "x2gd.metal", - x2gd_xlarge: "x2gd.xlarge", - x2idn_16xlarge: "x2idn.16xlarge", - x2idn_24xlarge: "x2idn.24xlarge", - x2idn_32xlarge: "x2idn.32xlarge", - x2idn_metal: "x2idn.metal", - x2iedn_16xlarge: "x2iedn.16xlarge", - x2iedn_24xlarge: "x2iedn.24xlarge", - x2iedn_2xlarge: "x2iedn.2xlarge", - x2iedn_32xlarge: "x2iedn.32xlarge", - x2iedn_4xlarge: "x2iedn.4xlarge", - x2iedn_8xlarge: "x2iedn.8xlarge", - x2iedn_metal: "x2iedn.metal", - x2iedn_xlarge: "x2iedn.xlarge", - x2iezn_12xlarge: "x2iezn.12xlarge", - x2iezn_2xlarge: "x2iezn.2xlarge", - x2iezn_4xlarge: "x2iezn.4xlarge", - x2iezn_6xlarge: "x2iezn.6xlarge", - x2iezn_8xlarge: "x2iezn.8xlarge", - x2iezn_metal: "x2iezn.metal", - z1d_12xlarge: "z1d.12xlarge", - z1d_2xlarge: "z1d.2xlarge", - z1d_3xlarge: "z1d.3xlarge", - z1d_6xlarge: "z1d.6xlarge", - z1d_large: "z1d.large", - z1d_metal: "z1d.metal", - z1d_xlarge: "z1d.xlarge" -}; -var FleetCapacityReservationTenancy = { - default: "default" -}; -var OidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING } -}), "OidcOptionsFilterSensitiveLog"); -var VerifiedAccessTrustProviderFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.OidcOptions && { OidcOptions: OidcOptionsFilterSensitiveLog(obj.OidcOptions) } -}), "VerifiedAccessTrustProviderFilterSensitiveLog"); -var AttachVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.VerifiedAccessTrustProvider && { - VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider) - } -}), "AttachVerifiedAccessTrustProviderResultFilterSensitiveLog"); -var S3StorageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.UploadPolicySignature && { UploadPolicySignature: import_smithy_client.SENSITIVE_STRING } -}), "S3StorageFilterSensitiveLog"); -var StorageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.S3 && { S3: S3StorageFilterSensitiveLog(obj.S3) } -}), "StorageFilterSensitiveLog"); -var BundleInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Storage && { Storage: StorageFilterSensitiveLog(obj.Storage) } -}), "BundleInstanceRequestFilterSensitiveLog"); -var BundleTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Storage && { Storage: StorageFilterSensitiveLog(obj.Storage) } -}), "BundleTaskFilterSensitiveLog"); -var BundleInstanceResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.BundleTask && { BundleTask: BundleTaskFilterSensitiveLog(obj.BundleTask) } -}), "BundleInstanceResultFilterSensitiveLog"); -var CancelBundleTaskResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.BundleTask && { BundleTask: BundleTaskFilterSensitiveLog(obj.BundleTask) } -}), "CancelBundleTaskResultFilterSensitiveLog"); -var CopySnapshotRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.PresignedUrl && { PresignedUrl: import_smithy_client.SENSITIVE_STRING } -}), "CopySnapshotRequestFilterSensitiveLog"); - -// src/commands/AttachVerifiedAccessTrustProviderCommand.ts -var _AttachVerifiedAccessTrustProviderCommand = class _AttachVerifiedAccessTrustProviderCommand extends import_smithy_client.Command.classBuilder().ep({ - ...commonParams -}).m(function(Command, cs, config, o) { - return [ - (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) - ]; -}).s("AmazonEC2", "AttachVerifiedAccessTrustProvider", {}).n("EC2Client", "AttachVerifiedAccessTrustProviderCommand").f(void 0, AttachVerifiedAccessTrustProviderResultFilterSensitiveLog).ser(se_AttachVerifiedAccessTrustProviderCommand).de(de_AttachVerifiedAccessTrustProviderCommand).build() { -}; -__name(_AttachVerifiedAccessTrustProviderCommand, "AttachVerifiedAccessTrustProviderCommand"); -var AttachVerifiedAccessTrustProviderCommand = _AttachVerifiedAccessTrustProviderCommand; - -// 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/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/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/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 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 HostnameType = { - ip_name: "ip-name", - resource_name: "resource-name" -}; -var SubnetState = { - available: "available", - pending: "pending", - unavailable: "unavailable" -}; -var Tenancy = { - dedicated: "dedicated", - default: "default", - host: "host" -}; -var VpcState = { - available: "available", - pending: "pending" -}; -var FleetExcessCapacityTerminationPolicy = { - NO_TERMINATION: "no-termination", - TERMINATION: "termination" -}; -var BareMetal = { - EXCLUDED: "excluded", - INCLUDED: "included", - REQUIRED: "required" -}; -var BurstablePerformance = { - EXCLUDED: "excluded", - INCLUDED: "included", - REQUIRED: "required" -}; -var CpuManufacturer = { - AMAZON_WEB_SERVICES: "amazon-web-services", - AMD: "amd", - INTEL: "intel" -}; -var InstanceGeneration = { - CURRENT: "current", - PREVIOUS: "previous" -}; -var LocalStorage = { - EXCLUDED: "excluded", - INCLUDED: "included", - REQUIRED: "required" -}; -var LocalStorageType = { - HDD: "hdd", - SSD: "ssd" -}; -var FleetOnDemandAllocationStrategy = { - LOWEST_PRICE: "lowest-price", - PRIORITIZED: "prioritized" -}; -var FleetCapacityReservationUsageStrategy = { - USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first" -}; -var SpotAllocationStrategy = { - CAPACITY_OPTIMIZED: "capacity-optimized", - CAPACITY_OPTIMIZED_PRIORITIZED: "capacity-optimized-prioritized", - DIVERSIFIED: "diversified", - LOWEST_PRICE: "lowest-price", - PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized" -}; -var SpotInstanceInterruptionBehavior = { - hibernate: "hibernate", - stop: "stop", - terminate: "terminate" -}; -var FleetReplacementStrategy = { - LAUNCH: "launch", - LAUNCH_BEFORE_TERMINATE: "launch-before-terminate" -}; -var DefaultTargetCapacityType = { - CAPACITY_BLOCK: "capacity-block", - ON_DEMAND: "on-demand", - SPOT: "spot" -}; -var TargetCapacityUnitType = { - MEMORY_MIB: "memory-mib", - UNITS: "units", - VCPU: "vcpu" -}; -var FleetType = { - INSTANT: "instant", - MAINTAIN: "maintain", - REQUEST: "request" -}; -var InstanceLifecycle = { - ON_DEMAND: "on-demand", - SPOT: "spot" -}; -var PlatformValues = { - Windows: "Windows" -}; -var DestinationFileFormat = { - parquet: "parquet", - plain_text: "plain-text" -}; -var LogDestinationType = { - cloud_watch_logs: "cloud-watch-logs", - kinesis_data_firehose: "kinesis-data-firehose", - s3: "s3" -}; -var FlowLogsResourceType = { - NetworkInterface: "NetworkInterface", - Subnet: "Subnet", - TransitGateway: "TransitGateway", - TransitGatewayAttachment: "TransitGatewayAttachment", - VPC: "VPC" -}; -var TrafficType = { - ACCEPT: "ACCEPT", - ALL: "ALL", - REJECT: "REJECT" -}; -var VolumeType = { - gp2: "gp2", - gp3: "gp3", - io1: "io1", - io2: "io2", - sc1: "sc1", - st1: "st1", - standard: "standard" -}; -var Ec2InstanceConnectEndpointState = { - create_complete: "create-complete", - create_failed: "create-failed", - create_in_progress: "create-in-progress", - delete_complete: "delete-complete", - delete_failed: "delete-failed", - delete_in_progress: "delete-in-progress" -}; -var ContainerFormat = { - ova: "ova" -}; -var DiskImageFormat = { - RAW: "RAW", - VHD: "VHD", - VMDK: "VMDK" -}; -var ExportEnvironment = { - citrix: "citrix", - microsoft: "microsoft", - vmware: "vmware" -}; -var ExportTaskState = { - active: "active", - cancelled: "cancelled", - cancelling: "cancelling", - completed: "completed" -}; -var IpamTier = { - advanced: "advanced", - free: "free" -}; -var IpamState = { - create_complete: "create-complete", - create_failed: "create-failed", - create_in_progress: "create-in-progress", - delete_complete: "delete-complete", - delete_failed: "delete-failed", - delete_in_progress: "delete-in-progress", - isolate_complete: "isolate-complete", - isolate_in_progress: "isolate-in-progress", - modify_complete: "modify-complete", - modify_failed: "modify-failed", - modify_in_progress: "modify-in-progress", - restore_in_progress: "restore-in-progress" -}; -var IpamPoolAwsService = { - ec2: "ec2" -}; -var IpamPoolPublicIpSource = { - amazon: "amazon", - byoip: "byoip" -}; -var IpamPoolSourceResourceType = { - vpc: "vpc" -}; -var IpamScopeType = { - private: "private", - public: "public" -}; -var IpamPoolState = { - create_complete: "create-complete", - create_failed: "create-failed", - create_in_progress: "create-in-progress", - delete_complete: "delete-complete", - delete_failed: "delete-failed", - delete_in_progress: "delete-in-progress", - isolate_complete: "isolate-complete", - isolate_in_progress: "isolate-in-progress", - modify_complete: "modify-complete", - modify_failed: "modify-failed", - modify_in_progress: "modify-in-progress", - restore_in_progress: "restore-in-progress" -}; -var IpamResourceDiscoveryState = { - CREATE_COMPLETE: "create-complete", - CREATE_FAILED: "create-failed", - CREATE_IN_PROGRESS: "create-in-progress", - DELETE_COMPLETE: "delete-complete", - DELETE_FAILED: "delete-failed", - DELETE_IN_PROGRESS: "delete-in-progress", - ISOLATE_COMPLETE: "isolate-complete", - ISOLATE_IN_PROGRESS: "isolate-in-progress", - MODIFY_COMPLETE: "modify-complete", - MODIFY_FAILED: "modify-failed", - MODIFY_IN_PROGRESS: "modify-in-progress", - RESTORE_IN_PROGRESS: "restore-in-progress" -}; -var IpamScopeState = { - create_complete: "create-complete", - create_failed: "create-failed", - create_in_progress: "create-in-progress", - delete_complete: "delete-complete", - delete_failed: "delete-failed", - delete_in_progress: "delete-in-progress", - isolate_complete: "isolate-complete", - isolate_in_progress: "isolate-in-progress", - modify_complete: "modify-complete", - modify_failed: "modify-failed", - modify_in_progress: "modify-in-progress", - restore_in_progress: "restore-in-progress" -}; -var KeyFormat = { - pem: "pem", - ppk: "ppk" -}; -var KeyType = { - ed25519: "ed25519", - rsa: "rsa" -}; -var CapacityReservationPreference = { - none: "none", - open: "open" -}; -var AmdSevSnpSpecification = { - disabled: "disabled", - enabled: "enabled" -}; -var ShutdownBehavior = { - stop: "stop", - terminate: "terminate" -}; -var MarketType = { - capacity_block: "capacity-block", - spot: "spot" -}; -var InstanceInterruptionBehavior = { - hibernate: "hibernate", - stop: "stop", - terminate: "terminate" -}; -var SpotInstanceType = { - one_time: "one-time", - persistent: "persistent" -}; -var LaunchTemplateAutoRecoveryState = { - default: "default", - disabled: "disabled" -}; -var LaunchTemplateInstanceMetadataEndpointState = { - disabled: "disabled", - enabled: "enabled" -}; -var LaunchTemplateInstanceMetadataProtocolIpv6 = { - disabled: "disabled", - enabled: "enabled" -}; -var LaunchTemplateHttpTokensState = { - optional: "optional", - required: "required" -}; -var LaunchTemplateInstanceMetadataTagsState = { - disabled: "disabled", - enabled: "enabled" -}; -var LaunchTemplateInstanceMetadataOptionsState = { - applied: "applied", - pending: "pending" -}; -var LocalGatewayRouteState = { - active: "active", - blackhole: "blackhole", - deleted: "deleted", - deleting: "deleting", - pending: "pending" -}; -var LocalGatewayRouteType = { - propagated: "propagated", - static: "static" -}; -var LocalGatewayRouteTableMode = { - coip: "coip", - direct_vpc_routing: "direct-vpc-routing" -}; -var PrefixListState = { - create_complete: "create-complete", - create_failed: "create-failed", - create_in_progress: "create-in-progress", - delete_complete: "delete-complete", - delete_failed: "delete-failed", - delete_in_progress: "delete-in-progress", - modify_complete: "modify-complete", - modify_failed: "modify-failed", - modify_in_progress: "modify-in-progress", - restore_complete: "restore-complete", - restore_failed: "restore-failed", - restore_in_progress: "restore-in-progress" -}; -var ConnectivityType = { - PRIVATE: "private", - PUBLIC: "public" -}; -var NatGatewayState = { - AVAILABLE: "available", - DELETED: "deleted", - DELETING: "deleting", - FAILED: "failed", - PENDING: "pending" -}; -var RuleAction = { - allow: "allow", - deny: "deny" -}; -var NetworkInterfaceCreationType = { - branch: "branch", - efa: "efa", - trunk: "trunk" -}; -var NetworkInterfaceType = { - api_gateway_managed: "api_gateway_managed", - aws_codestar_connections_managed: "aws_codestar_connections_managed", - branch: "branch", - efa: "efa", - gateway_load_balancer: "gateway_load_balancer", - gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint", - global_accelerator_managed: "global_accelerator_managed", - interface: "interface", - iot_rules_managed: "iot_rules_managed", - lambda: "lambda", - load_balancer: "load_balancer", - natGateway: "natGateway", - network_load_balancer: "network_load_balancer", - quicksight: "quicksight", - transit_gateway: "transit_gateway", - trunk: "trunk", - vpc_endpoint: "vpc_endpoint" -}; -var KeyPairFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.KeyMaterial && { KeyMaterial: import_smithy_client.SENSITIVE_STRING } -}), "KeyPairFilterSensitiveLog"); -var RequestLaunchTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } -}), "RequestLaunchTemplateDataFilterSensitiveLog"); -var CreateLaunchTemplateRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.LaunchTemplateData && { - LaunchTemplateData: RequestLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData) - } -}), "CreateLaunchTemplateRequestFilterSensitiveLog"); -var CreateLaunchTemplateVersionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.LaunchTemplateData && { - LaunchTemplateData: RequestLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData) - } -}), "CreateLaunchTemplateVersionRequestFilterSensitiveLog"); -var ResponseLaunchTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } -}), "ResponseLaunchTemplateDataFilterSensitiveLog"); -var LaunchTemplateVersionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.LaunchTemplateData && { - LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData) - } -}), "LaunchTemplateVersionFilterSensitiveLog"); -var CreateLaunchTemplateVersionResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.LaunchTemplateVersion && { - LaunchTemplateVersion: LaunchTemplateVersionFilterSensitiveLog(obj.LaunchTemplateVersion) - } -}), "CreateLaunchTemplateVersionResultFilterSensitiveLog"); - -// src/commands/CreateKeyPairCommand.ts -var _CreateKeyPairCommand = class _CreateKeyPairCommand extends import_smithy_client.Command.classBuilder().ep({ - ...commonParams -}).m(function(Command, cs, config, o) { - return [ - (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) - ]; -}).s("AmazonEC2", "CreateKeyPair", {}).n("EC2Client", "CreateKeyPairCommand").f(void 0, KeyPairFilterSensitiveLog).ser(se_CreateKeyPairCommand).de(de_CreateKeyPairCommand).build() { -}; -__name(_CreateKeyPairCommand, "CreateKeyPairCommand"); -var CreateKeyPairCommand = _CreateKeyPairCommand; - -// 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 NetworkInterfaceStatus = { - associated: "associated", - attaching: "attaching", - available: "available", - detaching: "detaching", - in_use: "in-use" -}; -var InterfacePermissionType = { - EIP_ASSOCIATE: "EIP-ASSOCIATE", - INSTANCE_ATTACH: "INSTANCE-ATTACH" -}; -var NetworkInterfacePermissionStateCode = { - granted: "granted", - pending: "pending", - revoked: "revoked", - revoking: "revoking" -}; -var SpreadLevel = { - host: "host", - rack: "rack" -}; -var PlacementStrategy = { - cluster: "cluster", - partition: "partition", - spread: "spread" -}; -var PlacementGroupState = { - available: "available", - deleted: "deleted", - deleting: "deleting", - pending: "pending" -}; -var ReplaceRootVolumeTaskState = { - failed: "failed", - failed_detached: "failed-detached", - failing: "failing", - in_progress: "in-progress", - pending: "pending", - succeeded: "succeeded" -}; -var RouteOrigin = { - CreateRoute: "CreateRoute", - CreateRouteTable: "CreateRouteTable", - EnableVgwRoutePropagation: "EnableVgwRoutePropagation" -}; -var RouteState = { - active: "active", - blackhole: "blackhole" -}; -var SSEType = { - none: "none", - sse_ebs: "sse-ebs", - sse_kms: "sse-kms" -}; -var SnapshotState = { - completed: "completed", - error: "error", - pending: "pending", - recoverable: "recoverable", - recovering: "recovering" -}; -var StorageTier = { - archive: "archive", - standard: "standard" -}; -var CopyTagsFromSource = { - volume: "volume" -}; -var DatafeedSubscriptionState = { - Active: "Active", - Inactive: "Inactive" -}; -var SubnetCidrReservationType = { - explicit: "explicit", - prefix: "prefix" -}; -var TrafficMirrorRuleAction = { - accept: "accept", - reject: "reject" -}; -var TrafficDirection = { - egress: "egress", - ingress: "ingress" -}; -var TrafficMirrorNetworkService = { - amazon_dns: "amazon-dns" -}; -var TrafficMirrorTargetType = { - gateway_load_balancer_endpoint: "gateway-load-balancer-endpoint", - network_interface: "network-interface", - network_load_balancer: "network-load-balancer" -}; -var AutoAcceptSharedAttachmentsValue = { - disable: "disable", - enable: "enable" -}; -var DefaultRouteTableAssociationValue = { - disable: "disable", - enable: "enable" -}; -var DefaultRouteTablePropagationValue = { - disable: "disable", - enable: "enable" -}; -var MulticastSupportValue = { - disable: "disable", - enable: "enable" -}; -var VpnEcmpSupportValue = { - disable: "disable", - enable: "enable" -}; -var TransitGatewayState = { - available: "available", - deleted: "deleted", - deleting: "deleting", - modifying: "modifying", - pending: "pending" -}; -var ProtocolValue = { - gre: "gre" -}; -var BgpStatus = { - down: "down", - up: "up" -}; -var TransitGatewayConnectPeerState = { - available: "available", - deleted: "deleted", - deleting: "deleting", - pending: "pending" -}; -var AutoAcceptSharedAssociationsValue = { - disable: "disable", - enable: "enable" -}; -var Igmpv2SupportValue = { - disable: "disable", - enable: "enable" -}; -var StaticSourcesSupportValue = { - disable: "disable", - enable: "enable" -}; -var TransitGatewayMulticastDomainState = { - available: "available", - deleted: "deleted", - deleting: "deleting", - pending: "pending" -}; -var TransitGatewayPolicyTableState = { - available: "available", - deleted: "deleted", - deleting: "deleting", - pending: "pending" -}; -var TransitGatewayPrefixListReferenceState = { - available: "available", - deleting: "deleting", - modifying: "modifying", - pending: "pending" -}; -var TransitGatewayRouteState = { - active: "active", - blackhole: "blackhole", - deleted: "deleted", - deleting: "deleting", - pending: "pending" -}; -var TransitGatewayRouteType = { - propagated: "propagated", - static: "static" -}; -var TransitGatewayRouteTableState = { - available: "available", - deleted: "deleted", - deleting: "deleting", - pending: "pending" -}; -var TransitGatewayRouteTableAnnouncementDirection = { - incoming: "incoming", - outgoing: "outgoing" -}; -var TransitGatewayRouteTableAnnouncementState = { - available: "available", - deleted: "deleted", - deleting: "deleting", - failed: "failed", - failing: "failing", - pending: "pending" -}; -var VerifiedAccessEndpointAttachmentType = { - vpc: "vpc" -}; -var VerifiedAccessEndpointType = { - load_balancer: "load-balancer", - network_interface: "network-interface" -}; -var VerifiedAccessEndpointProtocol = { - http: "http", - https: "https" -}; -var VerifiedAccessEndpointStatusCode = { - active: "active", - deleted: "deleted", - deleting: "deleting", - pending: "pending", - updating: "updating" -}; -var VolumeState = { - available: "available", - creating: "creating", - deleted: "deleted", - deleting: "deleting", - error: "error", - in_use: "in-use" -}; -var DnsRecordIpType = { - dualstack: "dualstack", - ipv4: "ipv4", - ipv6: "ipv6", - service_defined: "service-defined" -}; -var IpAddressType = { - dualstack: "dualstack", - ipv4: "ipv4", - ipv6: "ipv6" -}; -var VpcEndpointType = { - Gateway: "Gateway", - GatewayLoadBalancer: "GatewayLoadBalancer", - Interface: "Interface" -}; -var State = { - Available: "Available", - Deleted: "Deleted", - Deleting: "Deleting", - Expired: "Expired", - Failed: "Failed", - Pending: "Pending", - PendingAcceptance: "PendingAcceptance", - Rejected: "Rejected" -}; -var ConnectionNotificationState = { - Disabled: "Disabled", - Enabled: "Enabled" -}; -var ConnectionNotificationType = { - Topic: "Topic" -}; -var PayerResponsibility = { - ServiceOwner: "ServiceOwner" -}; -var DnsNameState = { - Failed: "failed", - PendingVerification: "pendingVerification", - Verified: "verified" -}; -var ServiceState = { - Available: "Available", - Deleted: "Deleted", - Deleting: "Deleting", - Failed: "Failed", - Pending: "Pending" -}; -var ServiceType = { - Gateway: "Gateway", - GatewayLoadBalancer: "GatewayLoadBalancer", - Interface: "Interface" -}; -var ServiceConnectivityType = { - ipv4: "ipv4", - ipv6: "ipv6" -}; -var TunnelInsideIpVersion = { - ipv4: "ipv4", - ipv6: "ipv6" -}; -var GatewayAssociationState = { - associated: "associated", - associating: "associating", - disassociating: "disassociating", - not_associated: "not-associated" -}; -var VpnStaticRouteSource = { - Static: "Static" -}; -var VpnState = { - available: "available", - deleted: "deleted", - deleting: "deleting", - pending: "pending" -}; -var TelemetryStatus = { - DOWN: "DOWN", - UP: "UP" -}; -var FleetStateCode = { - ACTIVE: "active", - DELETED: "deleted", - DELETED_RUNNING: "deleted_running", - DELETED_TERMINATING_INSTANCES: "deleted_terminating", - FAILED: "failed", - MODIFYING: "modifying", - SUBMITTED: "submitted" -}; -var DeleteFleetErrorCode = { - FLEET_ID_DOES_NOT_EXIST: "fleetIdDoesNotExist", - FLEET_ID_MALFORMED: "fleetIdMalformed", - FLEET_NOT_IN_DELETABLE_STATE: "fleetNotInDeletableState", - UNEXPECTED_ERROR: "unexpectedError" -}; -var LaunchTemplateErrorCode = { - LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST: "launchTemplateIdDoesNotExist", - LAUNCH_TEMPLATE_ID_MALFORMED: "launchTemplateIdMalformed", - LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST: "launchTemplateNameDoesNotExist", - LAUNCH_TEMPLATE_NAME_MALFORMED: "launchTemplateNameMalformed", - LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST: "launchTemplateVersionDoesNotExist", - UNEXPECTED_ERROR: "unexpectedError" -}; -var CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING } -}), "CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog"); -var CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.OidcOptions && { - OidcOptions: CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog(obj.OidcOptions) - } -}), "CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog"); -var CreateVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.VerifiedAccessTrustProvider && { - VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider) - } -}), "CreateVerifiedAccessTrustProviderResultFilterSensitiveLog"); -var VpnTunnelOptionsSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.PreSharedKey && { PreSharedKey: import_smithy_client.SENSITIVE_STRING } -}), "VpnTunnelOptionsSpecificationFilterSensitiveLog"); -var VpnConnectionOptionsSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.TunnelOptions && { - TunnelOptions: obj.TunnelOptions.map((item) => VpnTunnelOptionsSpecificationFilterSensitiveLog(item)) - } -}), "VpnConnectionOptionsSpecificationFilterSensitiveLog"); -var CreateVpnConnectionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Options && { Options: VpnConnectionOptionsSpecificationFilterSensitiveLog(obj.Options) } -}), "CreateVpnConnectionRequestFilterSensitiveLog"); -var TunnelOptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.PreSharedKey && { PreSharedKey: import_smithy_client.SENSITIVE_STRING } -}), "TunnelOptionFilterSensitiveLog"); -var VpnConnectionOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.TunnelOptions && { TunnelOptions: obj.TunnelOptions.map((item) => TunnelOptionFilterSensitiveLog(item)) } -}), "VpnConnectionOptionsFilterSensitiveLog"); -var VpnConnectionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.CustomerGatewayConfiguration && { CustomerGatewayConfiguration: import_smithy_client.SENSITIVE_STRING }, - ...obj.Options && { Options: VpnConnectionOptionsFilterSensitiveLog(obj.Options) } -}), "VpnConnectionFilterSensitiveLog"); -var CreateVpnConnectionResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) } -}), "CreateVpnConnectionResultFilterSensitiveLog"); - -// src/commands/CreateVerifiedAccessTrustProviderCommand.ts -var _CreateVerifiedAccessTrustProviderCommand = class _CreateVerifiedAccessTrustProviderCommand extends import_smithy_client.Command.classBuilder().ep({ - ...commonParams -}).m(function(Command, cs, config, o) { - return [ - (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) - ]; -}).s("AmazonEC2", "CreateVerifiedAccessTrustProvider", {}).n("EC2Client", "CreateVerifiedAccessTrustProviderCommand").f( - CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog, - CreateVerifiedAccessTrustProviderResultFilterSensitiveLog -).ser(se_CreateVerifiedAccessTrustProviderCommand).de(de_CreateVerifiedAccessTrustProviderCommand).build() { -}; -__name(_CreateVerifiedAccessTrustProviderCommand, "CreateVerifiedAccessTrustProviderCommand"); -var CreateVerifiedAccessTrustProviderCommand = _CreateVerifiedAccessTrustProviderCommand; - -// 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/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/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 DeleteQueuedReservedInstancesErrorCode = { - RESERVED_INSTANCES_ID_INVALID: "reserved-instances-id-invalid", - RESERVED_INSTANCES_NOT_IN_QUEUED_STATE: "reserved-instances-not-in-queued-state", - UNEXPECTED_ERROR: "unexpected-error" -}; -var AsnState = { - deprovisioned: "deprovisioned", - failed_deprovision: "failed-deprovision", - failed_provision: "failed-provision", - pending_deprovision: "pending-deprovision", - pending_provision: "pending-provision", - provisioned: "provisioned" -}; -var IpamPoolCidrFailureCode = { - cidr_not_available: "cidr-not-available", - limit_exceeded: "limit-exceeded" -}; -var IpamPoolCidrState = { - deprovisioned: "deprovisioned", - failed_deprovision: "failed-deprovision", - failed_import: "failed-import", - failed_provision: "failed-provision", - pending_deprovision: "pending-deprovision", - pending_import: "pending-import", - pending_provision: "pending-provision", - provisioned: "provisioned" -}; -var AvailabilityZoneOptInStatus = { - not_opted_in: "not-opted-in", - opt_in_not_required: "opt-in-not-required", - opted_in: "opted-in" -}; -var AvailabilityZoneState = { - available: "available", - constrained: "constrained", - impaired: "impaired", - information: "information", - unavailable: "unavailable" -}; -var MetricType = { - aggregate_latency: "aggregate-latency" -}; -var PeriodType = { - fifteen_minutes: "fifteen-minutes", - five_minutes: "five-minutes", - one_day: "one-day", - one_hour: "one-hour", - one_week: "one-week", - three_hours: "three-hours" -}; -var StatisticType = { - p50: "p50" -}; -var ClientVpnConnectionStatusCode = { - active: "active", - failed_to_terminate: "failed-to-terminate", - terminated: "terminated", - terminating: "terminating" -}; -var AssociatedNetworkType = { - vpc: "vpc" -}; -var ClientVpnEndpointAttributeStatusCode = { - applied: "applied", - applying: "applying" -}; -var VpnProtocol = { - openvpn: "openvpn" -}; -var ConversionTaskState = { - active: "active", - cancelled: "cancelled", - cancelling: "cancelling", - completed: "completed" -}; -var ElasticGpuStatus = { - Impaired: "IMPAIRED", - Ok: "OK" -}; -var ElasticGpuState = { - Attached: "ATTACHED" -}; -var FastLaunchResourceType = { - SNAPSHOT: "snapshot" -}; -var FastLaunchStateCode = { - disabling: "disabling", - disabling_failed: "disabling-failed", - enabled: "enabled", - enabled_failed: "enabled-failed", - enabling: "enabling", - enabling_failed: "enabling-failed" -}; -var FastSnapshotRestoreStateCode = { - disabled: "disabled", - disabling: "disabling", - enabled: "enabled", - enabling: "enabling", - optimizing: "optimizing" -}; -var FleetEventType = { - FLEET_CHANGE: "fleet-change", - INSTANCE_CHANGE: "instance-change", - SERVICE_ERROR: "service-error" -}; -var FleetActivityStatus = { - ERROR: "error", - FULFILLED: "fulfilled", - PENDING_FULFILLMENT: "pending_fulfillment", - PENDING_TERMINATION: "pending_termination" -}; -var FpgaImageAttributeName = { - description: "description", - loadPermission: "loadPermission", - name: "name", - productCodes: "productCodes" -}; -var PermissionGroup = { - all: "all" -}; -var ProductCodeValues = { - devpay: "devpay", - marketplace: "marketplace" -}; -var FpgaImageStateCode = { - available: "available", - failed: "failed", - pending: "pending", - unavailable: "unavailable" -}; -var PaymentOption = { - ALL_UPFRONT: "AllUpfront", - NO_UPFRONT: "NoUpfront", - PARTIAL_UPFRONT: "PartialUpfront" -}; -var ReservationState = { - ACTIVE: "active", - PAYMENT_FAILED: "payment-failed", - PAYMENT_PENDING: "payment-pending", - RETIRED: "retired" -}; -var ImageAttributeName = { - blockDeviceMapping: "blockDeviceMapping", - bootMode: "bootMode", - description: "description", - imdsSupport: "imdsSupport", - kernel: "kernel", - lastLaunchedTime: "lastLaunchedTime", - launchPermission: "launchPermission", - productCodes: "productCodes", - ramdisk: "ramdisk", - sriovNetSupport: "sriovNetSupport", - tpmSupport: "tpmSupport", - uefiData: "uefiData" -}; -var ArchitectureValues = { - arm64: "arm64", - arm64_mac: "arm64_mac", - i386: "i386", - x86_64: "x86_64", - x86_64_mac: "x86_64_mac" -}; -var BootModeValues = { - legacy_bios: "legacy-bios", - uefi: "uefi", - uefi_preferred: "uefi-preferred" -}; -var HypervisorType = { - ovm: "ovm", - xen: "xen" -}; -var ImageTypeValues = { - kernel: "kernel", - machine: "machine", - ramdisk: "ramdisk" -}; -var ImdsSupportValues = { - v2_0: "v2.0" -}; -var DeviceType = { - ebs: "ebs", - instance_store: "instance-store" -}; -var ImageState = { - available: "available", - deregistered: "deregistered", - disabled: "disabled", - error: "error", - failed: "failed", - invalid: "invalid", - pending: "pending", - transient: "transient" -}; -var TpmSupportValues = { - v2_0: "v2.0" -}; -var VirtualizationType = { - hvm: "hvm", - paravirtual: "paravirtual" -}; -var DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.VerifiedAccessTrustProvider && { - VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider) - } -}), "DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog"); -var DescribeBundleTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.BundleTasks && { BundleTasks: obj.BundleTasks.map((item) => BundleTaskFilterSensitiveLog(item)) } -}), "DescribeBundleTasksResultFilterSensitiveLog"); -var DiskImageDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.ImportManifestUrl && { ImportManifestUrl: import_smithy_client.SENSITIVE_STRING } -}), "DiskImageDescriptionFilterSensitiveLog"); -var ImportInstanceVolumeDetailItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Image && { Image: DiskImageDescriptionFilterSensitiveLog(obj.Image) } -}), "ImportInstanceVolumeDetailItemFilterSensitiveLog"); -var ImportInstanceTaskDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Volumes && { Volumes: obj.Volumes.map((item) => ImportInstanceVolumeDetailItemFilterSensitiveLog(item)) } -}), "ImportInstanceTaskDetailsFilterSensitiveLog"); -var ImportVolumeTaskDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Image && { Image: DiskImageDescriptionFilterSensitiveLog(obj.Image) } -}), "ImportVolumeTaskDetailsFilterSensitiveLog"); -var ConversionTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.ImportInstance && { ImportInstance: ImportInstanceTaskDetailsFilterSensitiveLog(obj.ImportInstance) }, - ...obj.ImportVolume && { ImportVolume: ImportVolumeTaskDetailsFilterSensitiveLog(obj.ImportVolume) } -}), "ConversionTaskFilterSensitiveLog"); -var DescribeConversionTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.ConversionTasks && { - ConversionTasks: obj.ConversionTasks.map((item) => ConversionTaskFilterSensitiveLog(item)) - } -}), "DescribeConversionTasksResultFilterSensitiveLog"); -var SnapshotDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING } -}), "SnapshotDetailFilterSensitiveLog"); -var ImportImageTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.SnapshotDetails && { - SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item)) - } -}), "ImportImageTaskFilterSensitiveLog"); -var DescribeImportImageTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj -}), "DescribeImportImageTasksResultFilterSensitiveLog"); - -// src/commands/DeleteVerifiedAccessTrustProviderCommand.ts -var _DeleteVerifiedAccessTrustProviderCommand = class _DeleteVerifiedAccessTrustProviderCommand extends import_smithy_client.Command.classBuilder().ep({ - ...commonParams -}).m(function(Command, cs, config, o) { - return [ - (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) - ]; -}).s("AmazonEC2", "DeleteVerifiedAccessTrustProvider", {}).n("EC2Client", "DeleteVerifiedAccessTrustProviderCommand").f(void 0, DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog).ser(se_DeleteVerifiedAccessTrustProviderCommand).de(de_DeleteVerifiedAccessTrustProviderCommand).build() { -}; -__name(_DeleteVerifiedAccessTrustProviderCommand, "DeleteVerifiedAccessTrustProviderCommand"); -var DeleteVerifiedAccessTrustProviderCommand = _DeleteVerifiedAccessTrustProviderCommand; - -// 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/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/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/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/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 - - - - -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 - - - - - -// src/models/models_4.ts - -var InstanceAttributeName = { - blockDeviceMapping: "blockDeviceMapping", - disableApiStop: "disableApiStop", - disableApiTermination: "disableApiTermination", - ebsOptimized: "ebsOptimized", - enaSupport: "enaSupport", - enclaveOptions: "enclaveOptions", - groupSet: "groupSet", - instanceInitiatedShutdownBehavior: "instanceInitiatedShutdownBehavior", - instanceType: "instanceType", - kernel: "kernel", - productCodes: "productCodes", - ramdisk: "ramdisk", - rootDeviceName: "rootDeviceName", - sourceDestCheck: "sourceDestCheck", - sriovNetSupport: "sriovNetSupport", - userData: "userData" -}; -var InstanceBootModeValues = { - legacy_bios: "legacy-bios", - uefi: "uefi" -}; -var InstanceLifecycleType = { - capacity_block: "capacity-block", - scheduled: "scheduled", - spot: "spot" -}; -var InstanceAutoRecoveryState = { - default: "default", - disabled: "disabled" -}; -var InstanceMetadataEndpointState = { - disabled: "disabled", - enabled: "enabled" -}; -var InstanceMetadataProtocolState = { - disabled: "disabled", - enabled: "enabled" -}; -var HttpTokensState = { - optional: "optional", - required: "required" -}; -var InstanceMetadataTagsState = { - disabled: "disabled", - enabled: "enabled" -}; -var InstanceMetadataOptionsState = { - applied: "applied", - pending: "pending" -}; -var MonitoringState = { - disabled: "disabled", - disabling: "disabling", - enabled: "enabled", - pending: "pending" -}; -var InstanceStateName = { - pending: "pending", - running: "running", - shutting_down: "shutting-down", - stopped: "stopped", - stopping: "stopping", - terminated: "terminated" -}; -var EventCode = { - instance_reboot: "instance-reboot", - instance_retirement: "instance-retirement", - instance_stop: "instance-stop", - system_maintenance: "system-maintenance", - system_reboot: "system-reboot" -}; -var StatusName = { - reachability: "reachability" -}; -var StatusType = { - failed: "failed", - initializing: "initializing", - insufficient_data: "insufficient-data", - passed: "passed" -}; -var SummaryStatus = { - impaired: "impaired", - initializing: "initializing", - insufficient_data: "insufficient-data", - not_applicable: "not-applicable", - ok: "ok" -}; -var LocationType = { - availability_zone: "availability-zone", - availability_zone_id: "availability-zone-id", - outpost: "outpost", - region: "region" -}; -var EbsOptimizedSupport = { - default: "default", - supported: "supported", - unsupported: "unsupported" -}; -var EbsEncryptionSupport = { - supported: "supported", - unsupported: "unsupported" -}; -var EbsNvmeSupport = { - REQUIRED: "required", - SUPPORTED: "supported", - UNSUPPORTED: "unsupported" -}; -var InstanceTypeHypervisor = { - NITRO: "nitro", - XEN: "xen" -}; -var DiskType = { - hdd: "hdd", - ssd: "ssd" -}; -var InstanceStorageEncryptionSupport = { - required: "required", - unsupported: "unsupported" -}; -var EphemeralNvmeSupport = { - REQUIRED: "required", - SUPPORTED: "supported", - UNSUPPORTED: "unsupported" -}; -var EnaSupport = { - required: "required", - supported: "supported", - unsupported: "unsupported" -}; -var NitroEnclavesSupport = { - SUPPORTED: "supported", - UNSUPPORTED: "unsupported" -}; -var NitroTpmSupport = { - SUPPORTED: "supported", - UNSUPPORTED: "unsupported" -}; -var PlacementGroupStrategy = { - cluster: "cluster", - partition: "partition", - spread: "spread" -}; -var ArchitectureType = { - arm64: "arm64", - arm64_mac: "arm64_mac", - i386: "i386", - x86_64: "x86_64", - x86_64_mac: "x86_64_mac" -}; -var SupportedAdditionalProcessorFeature = { - AMD_SEV_SNP: "amd-sev-snp" -}; -var BootModeType = { - legacy_bios: "legacy-bios", - uefi: "uefi" -}; -var RootDeviceType = { - ebs: "ebs", - instance_store: "instance-store" -}; -var UsageClassType = { - capacity_block: "capacity-block", - on_demand: "on-demand", - spot: "spot" -}; -var LockState = { - compliance: "compliance", - compliance_cooloff: "compliance-cooloff", - expired: "expired", - governance: "governance" -}; -var MoveStatus = { - movingToVpc: "movingToVpc", - restoringToClassic: "restoringToClassic" -}; -var FindingsFound = { - false: "false", - true: "true", - unknown: "unknown" -}; -var AnalysisStatus = { - failed: "failed", - running: "running", - succeeded: "succeeded" -}; -var NetworkInterfaceAttribute = { - attachment: "attachment", - description: "description", - groupSet: "groupSet", - sourceDestCheck: "sourceDestCheck" -}; -var OfferingClassType = { - CONVERTIBLE: "convertible", - STANDARD: "standard" -}; -var OfferingTypeValues = { - All_Upfront: "All Upfront", - Heavy_Utilization: "Heavy Utilization", - Light_Utilization: "Light Utilization", - Medium_Utilization: "Medium Utilization", - No_Upfront: "No Upfront", - Partial_Upfront: "Partial Upfront" -}; -var RIProductDescription = { - Linux_UNIX: "Linux/UNIX", - Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)", - Windows: "Windows", - Windows_Amazon_VPC_: "Windows (Amazon VPC)" -}; -var RecurringChargeFrequency = { - Hourly: "Hourly" -}; -var Scope = { - AVAILABILITY_ZONE: "Availability Zone", - REGIONAL: "Region" -}; -var ReservedInstanceState = { - active: "active", - payment_failed: "payment-failed", - payment_pending: "payment-pending", - queued: "queued", - queued_deleted: "queued-deleted", - retired: "retired" -}; -var SnapshotAttributeName = { - createVolumePermission: "createVolumePermission", - productCodes: "productCodes" -}; -var TieringOperationStatus = { - archival_completed: "archival-completed", - archival_failed: "archival-failed", - archival_in_progress: "archival-in-progress", - permanent_restore_completed: "permanent-restore-completed", - permanent_restore_failed: "permanent-restore-failed", - permanent_restore_in_progress: "permanent-restore-in-progress", - temporary_restore_completed: "temporary-restore-completed", - temporary_restore_failed: "temporary-restore-failed", - temporary_restore_in_progress: "temporary-restore-in-progress" -}; -var EventType = { - BATCH_CHANGE: "fleetRequestChange", - ERROR: "error", - INFORMATION: "information", - INSTANCE_CHANGE: "instanceChange" -}; -var ExcessCapacityTerminationPolicy = { - DEFAULT: "default", - NO_TERMINATION: "noTermination" -}; -var OnDemandAllocationStrategy = { - LOWEST_PRICE: "lowestPrice", - PRIORITIZED: "prioritized" -}; -var ReplacementStrategy = { - LAUNCH: "launch", - LAUNCH_BEFORE_TERMINATE: "launch-before-terminate" -}; -var SpotInstanceState = { - active: "active", - cancelled: "cancelled", - closed: "closed", - disabled: "disabled", - failed: "failed", - open: "open" -}; -var SnapshotTaskDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING } -}), "SnapshotTaskDetailFilterSensitiveLog"); -var ImportSnapshotTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.SnapshotTaskDetail && { SnapshotTaskDetail: SnapshotTaskDetailFilterSensitiveLog(obj.SnapshotTaskDetail) } -}), "ImportSnapshotTaskFilterSensitiveLog"); -var DescribeImportSnapshotTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.ImportSnapshotTasks && { - ImportSnapshotTasks: obj.ImportSnapshotTasks.map((item) => ImportSnapshotTaskFilterSensitiveLog(item)) - } -}), "DescribeImportSnapshotTasksResultFilterSensitiveLog"); -var DescribeLaunchTemplateVersionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.LaunchTemplateVersions && { - LaunchTemplateVersions: obj.LaunchTemplateVersions.map((item) => LaunchTemplateVersionFilterSensitiveLog(item)) - } -}), "DescribeLaunchTemplateVersionsResultFilterSensitiveLog"); -var SpotFleetLaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } -}), "SpotFleetLaunchSpecificationFilterSensitiveLog"); -var SpotFleetRequestConfigDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.LaunchSpecifications && { - LaunchSpecifications: obj.LaunchSpecifications.map((item) => SpotFleetLaunchSpecificationFilterSensitiveLog(item)) - } -}), "SpotFleetRequestConfigDataFilterSensitiveLog"); -var SpotFleetRequestConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.SpotFleetRequestConfig && { - SpotFleetRequestConfig: SpotFleetRequestConfigDataFilterSensitiveLog(obj.SpotFleetRequestConfig) - } -}), "SpotFleetRequestConfigFilterSensitiveLog"); -var DescribeSpotFleetRequestsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj -}), "DescribeSpotFleetRequestsResponseFilterSensitiveLog"); -var LaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } -}), "LaunchSpecificationFilterSensitiveLog"); -var SpotInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.LaunchSpecification && { - LaunchSpecification: LaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification) - } -}), "SpotInstanceRequestFilterSensitiveLog"); -var DescribeSpotInstanceRequestsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.SpotInstanceRequests && { - SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => SpotInstanceRequestFilterSensitiveLog(item)) - } -}), "DescribeSpotInstanceRequestsResultFilterSensitiveLog"); - -// src/commands/DescribeImportSnapshotTasksCommand.ts -var _DescribeImportSnapshotTasksCommand = class _DescribeImportSnapshotTasksCommand extends import_smithy_client.Command.classBuilder().ep({ - ...commonParams -}).m(function(Command, cs, config, o) { - return [ - (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) - ]; -}).s("AmazonEC2", "DescribeImportSnapshotTasks", {}).n("EC2Client", "DescribeImportSnapshotTasksCommand").f(void 0, DescribeImportSnapshotTasksResultFilterSensitiveLog).ser(se_DescribeImportSnapshotTasksCommand).de(de_DescribeImportSnapshotTasksCommand).build() { -}; -__name(_DescribeImportSnapshotTasksCommand, "DescribeImportSnapshotTasksCommand"); -var DescribeImportSnapshotTasksCommand = _DescribeImportSnapshotTasksCommand; - -// 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/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/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/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 - - - - -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/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 - - - - - -// src/models/models_5.ts -var VerifiedAccessLogDeliveryStatusCode = { - FAILED: "failed", - SUCCESS: "success" -}; -var VolumeAttributeName = { - autoEnableIO: "autoEnableIO", - productCodes: "productCodes" -}; -var VolumeModificationState = { - completed: "completed", - failed: "failed", - modifying: "modifying", - optimizing: "optimizing" -}; -var VolumeStatusName = { - io_enabled: "io-enabled", - io_performance: "io-performance" -}; -var VolumeStatusInfoStatus = { - impaired: "impaired", - insufficient_data: "insufficient-data", - ok: "ok" -}; -var VpcAttributeName = { - enableDnsHostnames: "enableDnsHostnames", - enableDnsSupport: "enableDnsSupport", - enableNetworkAddressUsageMetrics: "enableNetworkAddressUsageMetrics" -}; -var ImageBlockPublicAccessDisabledState = { - unblocked: "unblocked" -}; -var SnapshotBlockPublicAccessState = { - block_all_sharing: "block-all-sharing", - block_new_sharing: "block-new-sharing", - unblocked: "unblocked" -}; -var TransitGatewayPropagationState = { - disabled: "disabled", - disabling: "disabling", - enabled: "enabled", - enabling: "enabling" -}; -var ImageBlockPublicAccessEnabledState = { - block_new_sharing: "block-new-sharing" -}; -var ClientCertificateRevocationListStatusCode = { - active: "active", - pending: "pending" -}; -var UnlimitedSupportedInstanceFamily = { - t2: "t2", - t3: "t3", - t3a: "t3a", - t4g: "t4g" -}; -var PartitionLoadFrequency = { - DAILY: "daily", - MONTHLY: "monthly", - NONE: "none", - WEEKLY: "weekly" -}; -var 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_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 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/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/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/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/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/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/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/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/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/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/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/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/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 - - - - - -// src/models/models_6.ts - -var IpamPublicAddressAwsService = { - AGA: "global-accelerator", - DMS: "database-migration-service", - EC2_LB: "load-balancer", - ECS: "elastic-container-service", - NAT_GATEWAY: "nat-gateway", - OTHER: "other", - RDS: "relational-database-service", - REDSHIFT: "redshift", - S2S_VPN: "site-to-site-vpn" -}; -var IpamResourceType = { - eip: "eip", - eni: "eni", - ipv6_pool: "ipv6-pool", - public_ipv4_pool: "public-ipv4-pool", - subnet: "subnet", - vpc: "vpc" -}; -var IpamManagementState = { - ignored: "ignored", - managed: "managed", - unmanaged: "unmanaged" -}; -var LockMode = { - compliance: "compliance", - governance: "governance" -}; -var ModifyAvailabilityZoneOptInStatus = { - not_opted_in: "not-opted-in", - opted_in: "opted-in" -}; -var OperationType = { - add: "add", - remove: "remove" -}; -var UnsuccessfulInstanceCreditSpecificationErrorCode = { - INCORRECT_INSTANCE_STATE: "IncorrectInstanceState", - INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported", - INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound", - INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed" -}; -var DefaultInstanceMetadataEndpointState = { - disabled: "disabled", - enabled: "enabled", - no_preference: "no-preference" -}; -var MetadataDefaultHttpTokensState = { - no_preference: "no-preference", - optional: "optional", - required: "required" -}; -var DefaultInstanceMetadataTagsState = { - disabled: "disabled", - enabled: "enabled", - no_preference: "no-preference" -}; -var HostTenancy = { - dedicated: "dedicated", - host: "host" -}; -var TargetStorageTier = { - archive: "archive" -}; -var TrafficMirrorFilterRuleField = { - description: "description", - destination_port_range: "destination-port-range", - protocol: "protocol", - source_port_range: "source-port-range" -}; -var TrafficMirrorSessionField = { - description: "description", - packet_length: "packet-length", - virtual_network_id: "virtual-network-id" -}; -var VpcTenancy = { - default: "default" -}; -var Status = { - inClassic: "InClassic", - inVpc: "InVpc", - moveInProgress: "MoveInProgress" -}; -var GetLaunchTemplateDataResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.LaunchTemplateData && { - LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData) - } -}), "GetLaunchTemplateDataResultFilterSensitiveLog"); -var GetPasswordDataResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.PasswordData && { PasswordData: import_smithy_client.SENSITIVE_STRING } -}), "GetPasswordDataResultFilterSensitiveLog"); -var GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.VpnConnectionDeviceSampleConfiguration && { VpnConnectionDeviceSampleConfiguration: import_smithy_client.SENSITIVE_STRING } -}), "GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog"); -var ImageDiskContainerFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING } -}), "ImageDiskContainerFilterSensitiveLog"); -var ImportImageRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.DiskContainers && { - DiskContainers: obj.DiskContainers.map((item) => ImageDiskContainerFilterSensitiveLog(item)) - } -}), "ImportImageRequestFilterSensitiveLog"); -var ImportImageResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.SnapshotDetails && { - SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item)) - } -}), "ImportImageResultFilterSensitiveLog"); -var DiskImageDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.ImportManifestUrl && { ImportManifestUrl: import_smithy_client.SENSITIVE_STRING } -}), "DiskImageDetailFilterSensitiveLog"); -var DiskImageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Image && { Image: DiskImageDetailFilterSensitiveLog(obj.Image) } -}), "DiskImageFilterSensitiveLog"); -var UserDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj -}), "UserDataFilterSensitiveLog"); -var ImportInstanceLaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } -}), "ImportInstanceLaunchSpecificationFilterSensitiveLog"); -var ImportInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.DiskImages && { DiskImages: obj.DiskImages.map((item) => DiskImageFilterSensitiveLog(item)) }, - ...obj.LaunchSpecification && { - LaunchSpecification: ImportInstanceLaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification) - } -}), "ImportInstanceRequestFilterSensitiveLog"); -var ImportInstanceResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.ConversionTask && { ConversionTask: ConversionTaskFilterSensitiveLog(obj.ConversionTask) } -}), "ImportInstanceResultFilterSensitiveLog"); -var SnapshotDiskContainerFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING } -}), "SnapshotDiskContainerFilterSensitiveLog"); -var ImportSnapshotRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.DiskContainer && { DiskContainer: SnapshotDiskContainerFilterSensitiveLog(obj.DiskContainer) } -}), "ImportSnapshotRequestFilterSensitiveLog"); -var ImportSnapshotResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.SnapshotTaskDetail && { SnapshotTaskDetail: SnapshotTaskDetailFilterSensitiveLog(obj.SnapshotTaskDetail) } -}), "ImportSnapshotResultFilterSensitiveLog"); -var ImportVolumeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.Image && { Image: DiskImageDetailFilterSensitiveLog(obj.Image) } -}), "ImportVolumeRequestFilterSensitiveLog"); -var ImportVolumeResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.ConversionTask && { ConversionTask: ConversionTaskFilterSensitiveLog(obj.ConversionTask) } -}), "ImportVolumeResultFilterSensitiveLog"); -var ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING } -}), "ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog"); -var ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.OidcOptions && { - OidcOptions: ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog(obj.OidcOptions) - } -}), "ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog"); -var ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.VerifiedAccessTrustProvider && { - VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider) - } -}), "ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog"); -var ModifyVpnConnectionResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) } -}), "ModifyVpnConnectionResultFilterSensitiveLog"); -var ModifyVpnConnectionOptionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) } -}), "ModifyVpnConnectionOptionsResultFilterSensitiveLog"); -var ModifyVpnTunnelCertificateResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) } -}), "ModifyVpnTunnelCertificateResultFilterSensitiveLog"); -var ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.PreSharedKey && { PreSharedKey: import_smithy_client.SENSITIVE_STRING } -}), "ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog"); -var ModifyVpnTunnelOptionsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.TunnelOptions && { TunnelOptions: import_smithy_client.SENSITIVE_STRING } -}), "ModifyVpnTunnelOptionsRequestFilterSensitiveLog"); -var ModifyVpnTunnelOptionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) } -}), "ModifyVpnTunnelOptionsResultFilterSensitiveLog"); - -// src/commands/GetLaunchTemplateDataCommand.ts -var _GetLaunchTemplateDataCommand = class _GetLaunchTemplateDataCommand extends import_smithy_client.Command.classBuilder().ep({ - ...commonParams -}).m(function(Command, cs, config, o) { - return [ - (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) - ]; -}).s("AmazonEC2", "GetLaunchTemplateData", {}).n("EC2Client", "GetLaunchTemplateDataCommand").f(void 0, GetLaunchTemplateDataResultFilterSensitiveLog).ser(se_GetLaunchTemplateDataCommand).de(de_GetLaunchTemplateDataCommand).build() { -}; -__name(_GetLaunchTemplateDataCommand, "GetLaunchTemplateDataCommand"); -var GetLaunchTemplateDataCommand = _GetLaunchTemplateDataCommand; - -// 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/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/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/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 - - - - -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/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/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/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/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/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(void 0, void 0).ser(se_ReportInstanceStatusCommand).de(de_ReportInstanceStatusCommand).build() { -}; -__name(_ReportInstanceStatusCommand, "ReportInstanceStatusCommand"); -var ReportInstanceStatusCommand = _ReportInstanceStatusCommand; - -// src/commands/RequestSpotFleetCommand.ts - - - - - -// src/models/models_7.ts - -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 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/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/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, - AcceptReservedInstancesExchangeQuoteCommand, - AcceptTransitGatewayMulticastDomainAssociationsCommand, - AcceptTransitGatewayPeeringAttachmentCommand, - AcceptTransitGatewayVpcAttachmentCommand, - AcceptVpcEndpointConnectionsCommand, - AcceptVpcPeeringConnectionCommand, - AdvertiseByoipCidrCommand, - AllocateAddressCommand, - AllocateHostsCommand, - AllocateIpamPoolCidrCommand, - ApplySecurityGroupsToClientVpnTargetNetworkCommand, - AssignIpv6AddressesCommand, - AssignPrivateIpAddressesCommand, - AssignPrivateNatGatewayAddressCommand, - AssociateAddressCommand, - AssociateClientVpnTargetNetworkCommand, - AssociateDhcpOptionsCommand, - AssociateEnclaveCertificateIamRoleCommand, - AssociateIamInstanceProfileCommand, - AssociateInstanceEventWindowCommand, - AssociateIpamByoasnCommand, - AssociateIpamResourceDiscoveryCommand, - AssociateNatGatewayAddressCommand, - AssociateRouteTableCommand, - AssociateSubnetCidrBlockCommand, - AssociateTransitGatewayMulticastDomainCommand, - AssociateTransitGatewayPolicyTableCommand, - AssociateTransitGatewayRouteTableCommand, - AssociateTrunkInterfaceCommand, - AssociateVpcCidrBlockCommand, - AttachClassicLinkVpcCommand, - AttachInternetGatewayCommand, - AttachNetworkInterfaceCommand, - AttachVerifiedAccessTrustProviderCommand, - AttachVolumeCommand, - AttachVpnGatewayCommand, - AuthorizeClientVpnIngressCommand, - AuthorizeSecurityGroupEgressCommand, - AuthorizeSecurityGroupIngressCommand, - BundleInstanceCommand, - CancelBundleTaskCommand, - CancelCapacityReservationCommand, - CancelCapacityReservationFleetsCommand, - CancelConversionTaskCommand, - CancelExportTaskCommand, - CancelImageLaunchPermissionCommand, - CancelImportTaskCommand, - CancelReservedInstancesListingCommand, - CancelSpotFleetRequestsCommand, - CancelSpotInstanceRequestsCommand, - ConfirmProductInstanceCommand, - CopyFpgaImageCommand, - CopyImageCommand, - CopySnapshotCommand, - CreateCapacityReservationCommand, - CreateCapacityReservationFleetCommand, - CreateCarrierGatewayCommand, - CreateClientVpnEndpointCommand, - CreateClientVpnRouteCommand, - CreateCoipCidrCommand, - CreateCoipPoolCommand, - CreateCustomerGatewayCommand, - CreateDefaultSubnetCommand, - CreateDefaultVpcCommand, - CreateDhcpOptionsCommand, - CreateEgressOnlyInternetGatewayCommand, - CreateFleetCommand, - CreateFlowLogsCommand, - CreateFpgaImageCommand, - CreateImageCommand, - CreateInstanceConnectEndpointCommand, - CreateInstanceEventWindowCommand, - CreateInstanceExportTaskCommand, - CreateInternetGatewayCommand, - CreateIpamCommand, - 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, - CreateVpcEndpointCommand, - CreateVpcEndpointConnectionNotificationCommand, - CreateVpcEndpointServiceConfigurationCommand, - CreateVpcPeeringConnectionCommand, - CreateVpnConnectionCommand, - CreateVpnConnectionRouteCommand, - CreateVpnGatewayCommand, - DeleteCarrierGatewayCommand, - DeleteClientVpnEndpointCommand, - DeleteClientVpnRouteCommand, - DeleteCoipCidrCommand, - DeleteCoipPoolCommand, - DeleteCustomerGatewayCommand, - DeleteDhcpOptionsCommand, - DeleteEgressOnlyInternetGatewayCommand, - DeleteFleetsCommand, - DeleteFlowLogsCommand, - DeleteFpgaImageCommand, - DeleteInstanceConnectEndpointCommand, - DeleteInstanceEventWindowCommand, - DeleteInternetGatewayCommand, - DeleteIpamCommand, - 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, - DeleteVpcEndpointConnectionNotificationsCommand, - DeleteVpcEndpointsCommand, - DeleteVpcEndpointServiceConfigurationsCommand, - DeleteVpcPeeringConnectionCommand, - DeleteVpnConnectionCommand, - DeleteVpnConnectionRouteCommand, - DeleteVpnGatewayCommand, - DeprovisionByoipCidrCommand, - DeprovisionIpamByoasnCommand, - DeprovisionIpamPoolCidrCommand, - DeprovisionPublicIpv4PoolCidrCommand, - DeregisterImageCommand, - DeregisterInstanceEventNotificationAttributesCommand, - DeregisterTransitGatewayMulticastGroupMembersCommand, - DeregisterTransitGatewayMulticastGroupSourcesCommand, - DescribeAccountAttributesCommand, - DescribeAddressesCommand, - DescribeAddressesAttributeCommand, - DescribeAddressTransfersCommand, - DescribeAggregateIdFormatCommand, - DescribeAvailabilityZonesCommand, - DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, - DescribeBundleTasksCommand, - DescribeByoipCidrsCommand, - DescribeCapacityBlockOfferingsCommand, - DescribeCapacityReservationFleetsCommand, - DescribeCapacityReservationsCommand, - DescribeCarrierGatewaysCommand, - DescribeClassicLinkInstancesCommand, - DescribeClientVpnAuthorizationRulesCommand, - DescribeClientVpnConnectionsCommand, - DescribeClientVpnEndpointsCommand, - DescribeClientVpnRoutesCommand, - DescribeClientVpnTargetNetworksCommand, - DescribeCoipPoolsCommand, - DescribeConversionTasksCommand, - DescribeCustomerGatewaysCommand, - 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, - DescribeInstancesCommand, - DescribeInstanceStatusCommand, - DescribeInstanceTopologyCommand, - DescribeInstanceTypeOfferingsCommand, - DescribeInstanceTypesCommand, - DescribeInternetGatewaysCommand, - DescribeIpamByoasnCommand, - 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, - DescribeSnapshotAttributeCommand, - DescribeSnapshotsCommand, - DescribeSnapshotTierStatusCommand, - DescribeSpotDatafeedSubscriptionCommand, - DescribeSpotFleetInstancesCommand, - DescribeSpotFleetRequestHistoryCommand, - DescribeSpotFleetRequestsCommand, - DescribeSpotInstanceRequestsCommand, - DescribeSpotPriceHistoryCommand, - DescribeStaleSecurityGroupsCommand, - DescribeStoreImageTasksCommand, - DescribeSubnetsCommand, - DescribeTagsCommand, - DescribeTrafficMirrorFiltersCommand, - DescribeTrafficMirrorSessionsCommand, - DescribeTrafficMirrorTargetsCommand, - DescribeTransitGatewayAttachmentsCommand, - DescribeTransitGatewayConnectPeersCommand, - DescribeTransitGatewayConnectsCommand, - DescribeTransitGatewayMulticastDomainsCommand, - DescribeTransitGatewayPeeringAttachmentsCommand, - DescribeTransitGatewayPolicyTablesCommand, - DescribeTransitGatewayRouteTableAnnouncementsCommand, - DescribeTransitGatewayRouteTablesCommand, - DescribeTransitGatewaysCommand, - DescribeTransitGatewayVpcAttachmentsCommand, - DescribeTrunkInterfaceAssociationsCommand, - DescribeVerifiedAccessEndpointsCommand, - DescribeVerifiedAccessGroupsCommand, - DescribeVerifiedAccessInstanceLoggingConfigurationsCommand, - DescribeVerifiedAccessInstancesCommand, - DescribeVerifiedAccessTrustProvidersCommand, - DescribeVolumeAttributeCommand, - DescribeVolumesCommand, - DescribeVolumesModificationsCommand, - DescribeVolumeStatusCommand, - DescribeVpcAttributeCommand, - DescribeVpcClassicLinkCommand, - DescribeVpcClassicLinkDnsSupportCommand, - DescribeVpcEndpointConnectionNotificationsCommand, - DescribeVpcEndpointConnectionsCommand, - DescribeVpcEndpointsCommand, - DescribeVpcEndpointServiceConfigurationsCommand, - DescribeVpcEndpointServicePermissionsCommand, - DescribeVpcEndpointServicesCommand, - DescribeVpcPeeringConnectionsCommand, - DescribeVpcsCommand, - DescribeVpnConnectionsCommand, - DescribeVpnGatewaysCommand, - DetachClassicLinkVpcCommand, - DetachInternetGatewayCommand, - DetachNetworkInterfaceCommand, - DetachVerifiedAccessTrustProviderCommand, - DetachVolumeCommand, - DetachVpnGatewayCommand, - DisableAddressTransferCommand, - DisableAwsNetworkPerformanceMetricSubscriptionCommand, - DisableEbsEncryptionByDefaultCommand, - DisableFastLaunchCommand, - DisableFastSnapshotRestoresCommand, - DisableImageCommand, - DisableImageBlockPublicAccessCommand, - DisableImageDeprecationCommand, - DisableIpamOrganizationAdminAccountCommand, - DisableSerialConsoleAccessCommand, - DisableSnapshotBlockPublicAccessCommand, - DisableTransitGatewayRouteTablePropagationCommand, - DisableVgwRoutePropagationCommand, - DisableVpcClassicLinkCommand, - DisableVpcClassicLinkDnsSupportCommand, - DisassociateAddressCommand, - DisassociateClientVpnTargetNetworkCommand, - DisassociateEnclaveCertificateIamRoleCommand, - DisassociateIamInstanceProfileCommand, - DisassociateInstanceEventWindowCommand, - DisassociateIpamByoasnCommand, - DisassociateIpamResourceDiscoveryCommand, - DisassociateNatGatewayAddressCommand, - DisassociateRouteTableCommand, - DisassociateSubnetCidrBlockCommand, - DisassociateTransitGatewayMulticastDomainCommand, - DisassociateTransitGatewayPolicyTableCommand, - DisassociateTransitGatewayRouteTableCommand, - DisassociateTrunkInterfaceCommand, - DisassociateVpcCidrBlockCommand, - EnableAddressTransferCommand, - EnableAwsNetworkPerformanceMetricSubscriptionCommand, - EnableEbsEncryptionByDefaultCommand, - EnableFastLaunchCommand, - EnableFastSnapshotRestoresCommand, - EnableImageCommand, - EnableImageBlockPublicAccessCommand, - EnableImageDeprecationCommand, - EnableIpamOrganizationAdminAccountCommand, - EnableReachabilityAnalyzerOrganizationSharingCommand, - EnableSerialConsoleAccessCommand, - EnableSnapshotBlockPublicAccessCommand, - EnableTransitGatewayRouteTablePropagationCommand, - EnableVgwRoutePropagationCommand, - EnableVolumeIOCommand, - EnableVpcClassicLinkCommand, - EnableVpcClassicLinkDnsSupportCommand, - ExportClientVpnClientCertificateRevocationListCommand, - ExportClientVpnClientConfigurationCommand, - ExportImageCommand, - ExportTransitGatewayRoutesCommand, - GetAssociatedEnclaveCertificateIamRolesCommand, - GetAssociatedIpv6PoolCidrsCommand, - GetAwsNetworkPerformanceDataCommand, - GetCapacityReservationUsageCommand, - GetCoipPoolUsageCommand, - GetConsoleOutputCommand, - GetConsoleScreenshotCommand, - GetDefaultCreditSpecificationCommand, - GetEbsDefaultKmsKeyIdCommand, - GetEbsEncryptionByDefaultCommand, - GetFlowLogsIntegrationTemplateCommand, - GetGroupsForCapacityReservationCommand, - GetHostReservationPurchasePreviewCommand, - GetImageBlockPublicAccessStateCommand, - GetInstanceMetadataDefaultsCommand, - 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, - 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, - ModifyInstanceCreditSpecificationCommand, - ModifyInstanceEventStartTimeCommand, - ModifyInstanceEventWindowCommand, - ModifyInstanceMaintenanceOptionsCommand, - ModifyInstanceMetadataDefaultsCommand, - ModifyInstanceMetadataOptionsCommand, - 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, - ModifyVpcEndpointCommand, - ModifyVpcEndpointConnectionNotificationCommand, - ModifyVpcEndpointServiceConfigurationCommand, - ModifyVpcEndpointServicePayerResponsibilityCommand, - ModifyVpcEndpointServicePermissionsCommand, - ModifyVpcPeeringConnectionOptionsCommand, - ModifyVpcTenancyCommand, - ModifyVpnConnectionCommand, - ModifyVpnConnectionOptionsCommand, - ModifyVpnTunnelCertificateCommand, - ModifyVpnTunnelOptionsCommand, - MonitorInstancesCommand, - MoveAddressToVpcCommand, - MoveByoipCidrToIpamCommand, - ProvisionByoipCidrCommand, - ProvisionIpamByoasnCommand, - ProvisionIpamPoolCidrCommand, - ProvisionPublicIpv4PoolCidrCommand, - PurchaseCapacityBlockCommand, - PurchaseHostReservationCommand, - PurchaseReservedInstancesOfferingCommand, - PurchaseScheduledInstancesCommand, - RebootInstancesCommand, - RegisterImageCommand, - RegisterInstanceEventNotificationAttributesCommand, - RegisterTransitGatewayMulticastGroupMembersCommand, - RegisterTransitGatewayMulticastGroupSourcesCommand, - RejectTransitGatewayMulticastDomainAssociationsCommand, - RejectTransitGatewayPeeringAttachmentCommand, - RejectTransitGatewayVpcAttachmentCommand, - RejectVpcEndpointConnectionsCommand, - RejectVpcPeeringConnectionCommand, - ReleaseAddressCommand, - ReleaseHostsCommand, - ReleaseIpamPoolAllocationCommand, - ReplaceIamInstanceProfileAssociationCommand, - 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, - 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/DescribeCapacityBlockOfferingsPaginator.ts - -var paginateDescribeCapacityBlockOfferings = (0, import_core.createPaginator)(EC2Client, DescribeCapacityBlockOfferingsCommand, "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/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/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__(9679); -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.defaultUserAgent)({ 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), - }; -}; -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; - - -/***/ }), - -/***/ 4034: -/***/ ((__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__(7962)); - -var _v2 = _interopRequireDefault(__nccwpck_require__(6982)); - -var _v3 = _interopRequireDefault(__nccwpck_require__(6498)); - -var _v4 = _interopRequireDefault(__nccwpck_require__(2182)); - -var _nil = _interopRequireDefault(__nccwpck_require__(9277)); - -var _version = _interopRequireDefault(__nccwpck_require__(7442)); - -var _validate = _interopRequireDefault(__nccwpck_require__(3811)); - -var _stringify = _interopRequireDefault(__nccwpck_require__(8189)); - -var _parse = _interopRequireDefault(__nccwpck_require__(7264)); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -/***/ }), - -/***/ 2071: -/***/ ((__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; - -/***/ }), - -/***/ 5229: -/***/ ((__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; - -/***/ }), - -/***/ 9277: -/***/ ((__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; - -/***/ }), - -/***/ 7264: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _validate = _interopRequireDefault(__nccwpck_require__(3811)); - -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; - -/***/ }), - -/***/ 8334: -/***/ ((__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; - -/***/ }), - -/***/ 3785: -/***/ ((__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); -} - -/***/ }), - -/***/ 8137: -/***/ ((__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; - -/***/ }), - -/***/ 8189: -/***/ ((__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__(3811)); - -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; - -/***/ }), - -/***/ 7962: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _rng = _interopRequireDefault(__nccwpck_require__(3785)); - -var _stringify = __nccwpck_require__(8189); - -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; - -/***/ }), - -/***/ 6982: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _v = _interopRequireDefault(__nccwpck_require__(4362)); - -var _md = _interopRequireDefault(__nccwpck_require__(2071)); - -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; - -/***/ }), - -/***/ 4362: -/***/ ((__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__(8189); - -var _parse = _interopRequireDefault(__nccwpck_require__(7264)); - -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; -} - -/***/ }), - -/***/ 6498: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _native = _interopRequireDefault(__nccwpck_require__(5229)); - -var _rng = _interopRequireDefault(__nccwpck_require__(3785)); - -var _stringify = __nccwpck_require__(8189); - -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; - -/***/ }), - -/***/ 2182: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _v = _interopRequireDefault(__nccwpck_require__(4362)); - -var _sha = _interopRequireDefault(__nccwpck_require__(8137)); - -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; - -/***/ }), - -/***/ 3811: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _regex = _interopRequireDefault(__nccwpck_require__(8334)); - -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; - -/***/ }), - -/***/ 7442: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _validate = _interopRequireDefault(__nccwpck_require__(3811)); - -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; - -/***/ }), - -/***/ 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; - - -/***/ }), - -/***/ 118: -/***/ (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.defaultProvider = void 0; -exports.defaultProvider = ((input) => { - return () => Promise.resolve().then(() => __importStar(__nccwpck_require__(5531))).then(({ defaultProvider }) => defaultProvider(input)()); -}); - - -/***/ }), - -/***/ 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 defaultEndpointResolver = (endpointParams, context = {}) => { - return (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, - 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_config_resolver.resolveRegionConfig)(_config_1); - const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2); - const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3); - const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); - const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5); - const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); - const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []); - super(_config_8); - this.config = _config_8; - this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); - this.middlewareStack.use( - (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { - httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(), - identityProviderConfigProvider: this.getIdentityProviderConfigProvider() - }) - ); - this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); - } - /** - * Destroy underlying resources, like sockets. It's usually not necessary to do this. - * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. - * Otherwise, sockets might stay open for quite a long time before the server terminates them. - */ - destroy() { - super.destroy(); - } - getDefaultHttpAuthSchemeParametersProvider() { - return import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider; - } - getIdentityProviderConfigProvider() { - return async (config) => new import_core.DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials - }); - } -}; -__name(_SSOOIDCClient, "SSOOIDCClient"); -var SSOOIDCClient = _SSOOIDCClient; - -// src/SSOOIDC.ts - - -// src/commands/CreateTokenCommand.ts - -var import_middleware_serde = __nccwpck_require__(1238); - -var import_types = __nccwpck_require__(5756); - -// 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 CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ - ...obj, - ...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING }, - ...obj.refreshToken && { refreshToken: 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 } -}), "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: [], - 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: [], - 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: [], - 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); - 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_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__(9679); -const package_json_1 = tslib_1.__importDefault(__nccwpck_require__(9722)); -const credentialDefaultProvider_1 = __nccwpck_require__(118); -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__(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 ?? credentialDefaultProvider_1.defaultProvider, - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? - (0, util_user_agent_node_1.defaultUserAgent)({ 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), - }; -}; -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 defaultEndpointResolver = (endpointParams, context = {}) => { - return (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_config_resolver.resolveRegionConfig)(_config_1); - const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2); - const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3); - const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); - const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5); - const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); - const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []); - super(_config_8); - this.config = _config_8; - this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); - this.middlewareStack.use( - (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { - httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(), - identityProviderConfigProvider: this.getIdentityProviderConfigProvider() - }) - ); - this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); - } - /** - * Destroy underlying resources, like sockets. It's usually not necessary to do this. - * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. - * Otherwise, sockets might stay open for quite a long time before the server terminates them. - */ - destroy() { - super.destroy(); - } - getDefaultHttpAuthSchemeParametersProvider() { - return import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider; - } - getIdentityProviderConfigProvider() { - return async (config) => new import_core.DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials - }); - } -}; -__name(_SSOClient, "SSOClient"); -var SSOClient = _SSOClient; - -// src/SSO.ts - - -// src/commands/GetRoleCredentialsCommand.ts - -var import_middleware_serde = __nccwpck_require__(1238); - -var import_types = __nccwpck_require__(5756); - -// 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)({}, 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)({}, 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)({}, 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)({}, 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 isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue"); -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__(9679); -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.defaultUserAgent)({ 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), - }; -}; -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, config_resolver_1.resolveRegionConfig)(_config_1); - const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2); - const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3); - const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); - const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_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_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, middleware_user_agent_1.getUserAgentPlugin)(this.config)); - this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { - httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(), - identityProviderConfigProvider: this.getIdentityProviderConfigProvider(), - })); - this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config)); - } - destroy() { - super.destroy(); - } - getDefaultHttpAuthSchemeParametersProvider() { - return httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider; - } - getIdentityProviderConfigProvider() { - return async (config) => new core_1.DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials, - }); - } -} -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; - - -/***/ }), - -/***/ 4800: -/***/ (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.defaultProvider = void 0; -exports.defaultProvider = ((input) => { - return () => Promise.resolve().then(() => __importStar(__nccwpck_require__(5531))).then(({ defaultProvider }) => defaultProvider(input)()); -}); - - -/***/ }), - -/***/ 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 defaultEndpointResolver = (endpointParams, context = {}) => { - return (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, - ClientInputEndpointParameters: () => import_EndpointParameters9.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, - RuntimeExtension: () => import_runtimeExtensions.RuntimeExtension, - 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_types = __nccwpck_require__(5756); -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 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_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_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_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_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 _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 _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/DecodeAuthorizationMessageCommand.ts - - - - -var import_EndpointParameters4 = __nccwpck_require__(510); -var _DecodeAuthorizationMessageCommand = class _DecodeAuthorizationMessageCommand 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", "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_EndpointParameters5 = __nccwpck_require__(510); -var _GetAccessKeyInfoCommand = class _GetAccessKeyInfoCommand 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", "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_EndpointParameters6 = __nccwpck_require__(510); -var _GetCallerIdentityCommand = class _GetCallerIdentityCommand 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", "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_EndpointParameters7 = __nccwpck_require__(510); -var _GetFederationTokenCommand = class _GetFederationTokenCommand 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", "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_EndpointParameters8 = __nccwpck_require__(510); -var _GetSessionTokenCommand = class _GetSessionTokenCommand 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", "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, - 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_EndpointParameters9 = __nccwpck_require__(510); -var import_runtimeExtensions = __nccwpck_require__(2053); - -// src/defaultStsRoleAssumers.ts -var ASSUME_ROLE_DEFAULT_REGION = "us-east-1"; -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 - ); - stsClient = new stsClientCtor({ - // A hack to make sts client uses the credential in current closure. - credentialDefaultProvider: () => async () => closureSourceCreds, - region: resolvedRegion, - requestHandler, - logger - }); - } - const { Credentials: Credentials2 } = 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}`); - } - return { - accessKeyId: Credentials2.AccessKeyId, - secretAccessKey: Credentials2.SecretAccessKey, - sessionToken: Credentials2.SessionToken, - expiration: Credentials2.Expiration, - // TODO(credentialScope): access normally when shape is updated. - credentialScope: Credentials2.CredentialScope - }; - }; -}, "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 - ); - stsClient = new stsClientCtor({ - region: resolvedRegion, - requestHandler, - logger - }); - } - const { Credentials: Credentials2 } = 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}`); - } - return { - accessKeyId: Credentials2.AccessKeyId, - secretAccessKey: Credentials2.SecretAccessKey, - sessionToken: Credentials2.SessionToken, - expiration: Credentials2.Expiration, - // TODO(credentialScope): access normally when shape is updated. - credentialScope: Credentials2.CredentialScope - }; - }; -}, "getDefaultRoleAssumerWithWebIdentity"); - -// 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__(9679); -const package_json_1 = tslib_1.__importDefault(__nccwpck_require__(7947)); -const credentialDefaultProvider_1 = __nccwpck_require__(4800); -const core_1 = __nccwpck_require__(9963); -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 ?? credentialDefaultProvider_1.defaultProvider, - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? - (0, util_user_agent_node_1.defaultUserAgent)({ 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, credentialDefaultProvider_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), - }; -}; -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: -/***/ ((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, { - AWSSDKSigV4Signer: () => AWSSDKSigV4Signer, - AwsSdkSigV4Signer: () => AwsSdkSigV4Signer, - _toBool: () => _toBool, - _toNum: () => _toNum, - _toStr: () => _toStr, - awsExpectUnion: () => awsExpectUnion, - emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion, - loadRestJsonErrorCode: () => loadRestJsonErrorCode, - loadRestXmlErrorCode: () => loadRestXmlErrorCode, - parseJsonBody: () => parseJsonBody, - parseJsonErrorBody: () => parseJsonErrorBody, - parseXmlBody: () => parseXmlBody, - parseXmlErrorBody: () => parseXmlErrorBody, - resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config, - resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config -}); -module.exports = __toCommonJS(src_exports); - -// src/client/emitWarningIfUnsupportedVersion.ts -var warningEmitted = false; -var emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => { - if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) { - warningEmitted = true; - process.emitWarning( - `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will -no longer support Node.js 14.x on May 1, 2024. - -To continue receiving updates to AWS services, bug fixes, and security -updates please upgrade to an active Node.js LTS version. - -More information can be found at: https://a.co/dzr2AJd` - ); - } -}, "emitWarningIfUnsupportedVersion"); - -// src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts - - -// src/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/httpAuthSchemes/utils/getSkewCorrectedDate.ts -var getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), "getSkewCorrectedDate"); - -// src/httpAuthSchemes/utils/isClockSkewed.ts -var isClockSkewed = /* @__PURE__ */ __name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, "isClockSkewed"); - -// src/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/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 signingName = signingProperties == null ? void 0 : signingProperties.signingName; - return { - config, - signer, - signingRegion, - signingName - }; -}, "validateSigningProperties"); -var _AwsSdkSigV4Signer = class _AwsSdkSigV4Signer { - async sign(httpRequest, identity, signingProperties) { - if (!import_protocol_http.HttpRequest.isInstance(httpRequest)) { - throw new Error("The request is not an instance of `HttpRequest` and cannot be signed"); - } - const { config, signer, signingRegion, signingName } = await validateSigningProperties(signingProperties); - 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/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts -var import_core = __nccwpck_require__(5829); -var import_signature_v4 = __nccwpck_require__(1528); -var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => { - let normalizedCreds; - if (config.credentials) { - normalizedCreds = (0, import_core.memoizeIdentityProvider)(config.credentials, import_core.isIdentityExpired, import_core.doesIdentityRequireRefresh); - } - if (!normalizedCreds) { - if (config.credentialDefaultProvider) { - normalizedCreds = (0, import_core.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_core.normalizeProvider)(config.signer); - } else if (config.regionInfoProvider) { - signer = /* @__PURE__ */ __name(() => (0, import_core.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_core.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: normalizedCreds, - signer - }; -}, "resolveAwsSdkSigV4Config"); -var resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config; - -// src/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/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/protocols/common.ts - -var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString"); - -// src/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/protocols/xml/parseXmlBody.ts - -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_client.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__) => { - -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_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_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 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]; - if (accessKeyId && secretAccessKey) { - return { - accessKeyId, - secretAccessKey, - ...sessionToken && { sessionToken }, - ...expiry && { expiration: new Date(expiry) }, - ...credentialScope && { credentialScope } - }; - } - throw new import_property_provider.CredentialsProviderError("Unable to find environment variable credentials."); -}, "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) => { - 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]`); -}; -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__(9679); -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) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _j; - (_a = options.logger) === null || _a === void 0 ? void 0 : _a.debug("@aws-sdk/credential-provider-http", "fromHttp"); - let host; - const relative = (_b = options.awsContainerCredentialsRelativeUri) !== null && _b !== void 0 ? _b : process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI]; - const full = (_c = options.awsContainerCredentialsFullUri) !== null && _c !== void 0 ? _c : process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI]; - const token = (_d = options.awsContainerAuthorizationToken) !== null && _d !== void 0 ? _d : process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN]; - const tokenFile = (_e = options.awsContainerAuthorizationTokenFile) !== null && _e !== void 0 ? _e : process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE]; - if (relative && full) { - console.warn("AWS SDK HTTP credentials provider:", "you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri."); - console.warn("awsContainerCredentialsFullUri will take precedence."); - } - if (token && tokenFile) { - console.warn("AWS SDK HTTP credentials provider:", "you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile."); - console.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.`); - } - const url = new URL(host); - (0, checkUrl_1.checkUrl)(url); - const requestHandler = new node_http_handler_1.NodeHttpHandler({ - requestTimeout: (_f = options.timeout) !== null && _f !== void 0 ? _f : 1000, - connectionTimeout: (_g = options.timeout) !== null && _g !== void 0 ? _g : 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); - } - catch (e) { - throw new property_provider_1.CredentialsProviderError(String(e)); - } - }, (_h = options.maxRetries) !== null && _h !== void 0 ? _h : 3, (_j = options.timeout) !== null && _j !== void 0 ? _j : 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) { - var _a, _b; - const contentType = (_b = (_a = response === null || response === void 0 ? void 0 : response.headers["content-type"]) !== null && _a !== void 0 ? _a : response === null || response === void 0 ? void 0 : response.headers["Content-Type"]) !== null && _b !== void 0 ? _b : ""; - if (!contentType.includes("json")) { - console.warn("HTTP credential provider response header content-type was not application/json. Observed: " + contentType + "."); - } - 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) }"); - } - 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}`), { - Code: parsedBody.Code, - Message: parsedBody.Message, - }); - } - throw new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`); -} -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__) => { - -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 __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 __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/loadSts.ts -var loadSts_exports = {}; -__export(loadSts_exports, { - getDefaultRoleAssumer: () => import_client_sts.getDefaultRoleAssumer -}); -var import_client_sts; -var init_loadSts = __esm({ - "src/loadSts.ts"() { - import_client_sts = __nccwpck_require__(2209); - } -}); - -// 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_property_provider = __nccwpck_require__(9721); -var resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileName) => { - const sourceProvidersMap = { - EcsContainer: (options) => Promise.resolve().then(() => __toESM(__nccwpck_require__(7477))).then(({ fromContainerMetadata }) => fromContainerMetadata(options)), - Ec2InstanceMetadata: (options) => Promise.resolve().then(() => __toESM(__nccwpck_require__(7477))).then(({ fromInstanceMetadata }) => fromInstanceMetadata(options)), - Environment: (options) => Promise.resolve().then(() => __toESM(__nccwpck_require__(5972))).then(({ fromEnv }) => fromEnv(options)) - }; - 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.` - ); - } -}, "resolveCredentialSource"); - -// src/resolveAssumeRoleCredentials.ts -var isAssumeRoleProfile = /* @__PURE__ */ __name((arg) => 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) || isAssumeRoleWithProviderProfile(arg)), "isAssumeRoleProfile"); -var isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg) => typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined", "isAssumeRoleWithSourceProfile"); -var isAssumeRoleWithProviderProfile = /* @__PURE__ */ __name((arg) => typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined", "isAssumeRoleWithProviderProfile"); -var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => { - var _a; - (_a = options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini", "resolveAssumeRoleCredentials (STS)"); - const data = profiles[profileName]; - if (!options.roleAssumer) { - const { getDefaultRoleAssumer: getDefaultRoleAssumer2 } = await Promise.resolve().then(() => (init_loadSts(), loadSts_exports)); - options.roleAssumer = getDefaultRoleAssumer2( - { - ...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(", "), - false - ); - } - const sourceCredsProvider = source_profile ? resolveProfileData(source_profile, profiles, options, { - ...visitedProfiles, - [source_profile]: true - }) : (await resolveCredentialSource(data.credential_source, profileName)(options))(); - 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.`, - false - ); - } - params.SerialNumber = mfa_serial; - params.TokenCode = await options.mfaCodeProvider(mfa_serial); - } - const sourceCreds = await sourceCredsProvider; - return options.roleAssumer(sourceCreds, params); -}, "resolveAssumeRoleCredentials"); - -// 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 - })() -), "resolveProcessCredentials"); - -// src/resolveSsoCredentials.ts -var resolveSsoCredentials = /* @__PURE__ */ __name(async (profile, options = {}) => { - const { fromSSO } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(6414))); - return fromSSO({ - profile, - logger: options.logger - })(); -}, "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, "isStaticCredsProfile"); -var resolveStaticCredentials = /* @__PURE__ */ __name((profile, options) => { - var _a; - (_a = options == null ? void 0 : options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini", "resolveStaticCredentials"); - return Promise.resolve({ - accessKeyId: profile.aws_access_key_id, - secretAccessKey: profile.aws_secret_access_key, - sessionToken: profile.aws_session_token, - credentialScope: profile.aws_credential_scope - }); -}, "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 - })() -), "resolveWebIdentityCredentials"); - -// src/resolveProfileData.ts -var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => { - const data = profiles[profileName]; - if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) { - return resolveStaticCredentials(data, options); - } - if (isAssumeRoleProfile(data)) { - 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, options); - } - throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found or parsed in shared credentials file.`); -}, "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__) => { - -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_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"); - }; - } - (_b = init.logger) == null ? void 0 : _b.debug("@aws-sdk/credential-provider-node", "remoteProvider::fromInstanceMetadata"); - return fromInstanceMetadata(init); -}, "remoteProvider"); - -// src/defaultProvider.ts -var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)( - (0, import_property_provider.chain)( - ...init.profile || process.env[import_shared_ini_file_loader.ENV_PROFILE] ? [] : [ - async () => { - var _a; - (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromEnv"); - const { fromEnv } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(5972))); - return 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)." - ); - } - 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", false); - } - ), - 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__) => { - -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 getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data) => { - 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.`); - } - } - return { - accessKeyId: data.AccessKeyId, - secretAccessKey: data.SecretAccessKey, - ...data.SessionToken && { sessionToken: data.SessionToken }, - ...data.Expiration && { expiration: new Date(data.Expiration) }, - ...data.CredentialScope && { credentialScope: data.CredentialScope } - }; -}, "getValidatedProcessCredentials"); - -// src/resolveProcessCredentials.ts -var resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profiles) => { - 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); - } catch (error) { - throw new import_property_provider.CredentialsProviderError(error.message); - } - } else { - throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`); - } - } else { - throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`); - } -}, "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); -}, "fromProcess"); -// Annotate the CommonJS export names for ESM import in node: - -0 && (0); - - - -/***/ }), - -/***/ 6414: -/***/ ((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 __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"() { - 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_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, - profile -}) => { - 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, SHOULD_FAIL_CREDENTIAL_CHAIN); - } - } 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}`, - SHOULD_FAIL_CREDENTIAL_CHAIN - ); - } - } - 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}`, - SHOULD_FAIL_CREDENTIAL_CHAIN - ); - } - const { accessToken } = token; - const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports)); - const sso = ssoClient || new SSOClient2( - Object.assign({}, clientConfig ?? {}, { - 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 import_property_provider.CredentialsProviderError.from(e, SHOULD_FAIL_CREDENTIAL_CHAIN); - } - const { roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope } = {} } = ssoResp; - if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) { - throw new import_property_provider.CredentialsProviderError("SSO returns an invalid temporary credential.", SHOULD_FAIL_CREDENTIAL_CHAIN); - } - return { accessKeyId, secretAccessKey, sessionToken, expiration: new Date(expiration), credentialScope }; -}, "resolveSSOCredentials"); - -// src/validateSsoProfile.ts - -var validateSsoProfile = /* @__PURE__ */ __name((profile) => { - 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`, - false - ); - } - 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.`); - } - if (!isSsoProfile(profile)) { - throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`); - } - 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, false); - } - if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) { - throw new import_property_provider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, false); - } - 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); - return resolveSSOCredentials({ - ssoStartUrl: sso_start_url, - ssoSession: sso_session, - ssoAccountId: sso_account_id, - ssoRegion: sso_region, - ssoRoleName: sso_role_name, - ssoClient, - clientConfig: init.clientConfig, - 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"' - ); - } else { - return resolveSSOCredentials({ - ssoStartUrl, - ssoSession, - ssoAccountId, - ssoRegion, - ssoRoleName, - ssoClient, - clientConfig: init.clientConfig, - 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 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 () => { - var _a, _b, _c, _d; - (_a = init.logger) === null || _a === void 0 ? void 0 : _a.debug("@aws-sdk/credential-provider-web-identity", "fromTokenFile"); - const webIdentityTokenFile = (_b = init === null || init === void 0 ? void 0 : init.webIdentityTokenFile) !== null && _b !== void 0 ? _b : process.env[ENV_TOKEN_FILE]; - const roleArn = (_c = init === null || init === void 0 ? void 0 : init.roleArn) !== null && _c !== void 0 ? _c : process.env[ENV_ROLE_ARN]; - const roleSessionName = (_d = init === null || init === void 0 ? void 0 : init.roleSessionName) !== null && _d !== void 0 ? _d : process.env[ENV_ROLE_SESSION_NAME]; - if (!webIdentityTokenFile || !roleArn) { - throw new property_provider_1.CredentialsProviderError("Web identity configuration not specified"); - } - return (0, fromWebToken_1.fromWebToken)({ - ...init, - webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }), - roleArn, - roleSessionName, - })(); -}; -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 () => { - var _a; - (_a = init.logger) === null || _a === void 0 ? void 0 : _a.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__(4999))); - roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({ - ...init.clientConfig, - credentialProviderLogger: init.logger, - parentClientConfig: init.parentClientConfig, - }, init.clientPlugins); - } - return roleAssumerWithWebIdentity({ - RoleArn: roleArn, - RoleSessionName: roleSessionName !== null && roleSessionName !== void 0 ? 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__) => { - -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); - - - -/***/ }), - -/***/ 4999: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.getDefaultRoleAssumerWithWebIdentity = void 0; -const client_sts_1 = __nccwpck_require__(2209); -Object.defineProperty(exports, "getDefaultRoleAssumerWithWebIdentity", ({ enumerable: true, get: function () { return client_sts_1.getDefaultRoleAssumerWithWebIdentity; } })); - - -/***/ }), - -/***/ 2545: -/***/ ((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, { - 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) => { - -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__) => { - -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__) => { - -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__) => { - -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, { - getUserAgentMiddlewareOptions: () => getUserAgentMiddlewareOptions, - getUserAgentPlugin: () => getUserAgentPlugin, - resolveUserAgentConfig: () => resolveUserAgentConfig, - userAgentMiddleware: () => userAgentMiddleware -}); -module.exports = __toCommonJS(src_exports); - -// src/configurations.ts -function resolveUserAgentConfig(input) { - return { - ...input, - customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent - }; -} -__name(resolveUserAgentConfig, "resolveUserAgentConfig"); - -// src/user-agent-middleware.ts -var import_util_endpoints = __nccwpck_require__(3350); -var import_protocol_http = __nccwpck_require__(4418); - -// 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/user-agent-middleware.ts -var userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => { - var _a, _b; - 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); - const customUserAgent = ((_b = options == null ? void 0 : options.customUserAgent) == null ? void 0 : _b.map(escapeUserAgent)) || []; - 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) => { - -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__) => { - -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/loadSsoOidc.ts -var loadSsoOidc_exports = {}; -__export(loadSsoOidc_exports, { - CreateTokenCommand: () => import_client_sso_oidc.CreateTokenCommand, - SSOOIDCClient: () => import_client_sso_oidc.SSOOIDCClient -}); -var import_client_sso_oidc; -var init_loadSsoOidc = __esm({ - "src/loadSsoOidc.ts"() { - import_client_sso_oidc = __nccwpck_require__(4527); - } -}); - -// 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 ssoOidcClientsHash = {}; -var getSsoOidcClient = /* @__PURE__ */ __name(async (ssoRegion) => { - const { SSOOIDCClient: SSOOIDCClient2 } = await Promise.resolve().then(() => (init_loadSsoOidc(), loadSsoOidc_exports)); - if (ssoOidcClientsHash[ssoRegion]) { - return ssoOidcClientsHash[ssoRegion]; - } - const ssoOidcClient = new SSOOIDCClient2({ region: ssoRegion }); - ssoOidcClientsHash[ssoRegion] = ssoOidcClient; - return ssoOidcClient; -}, "getSsoOidcClient"); - -// src/getNewSsoOidcToken.ts -var getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion) => { - const { CreateTokenCommand: CreateTokenCommand2 } = await Promise.resolve().then(() => (init_loadSsoOidc(), loadSsoOidc_exports)); - const ssoOidcClient = await getSsoOidcClient(ssoRegion); - return ssoOidcClient.send( - new CreateTokenCommand2({ - 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); - 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__) => { - -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 parseArn = /* @__PURE__ */ __name((value) => { - const segments = value.split(":"); - if (segments.length < 6) - return null; - const [arn, partition2, service, region, accountId, ...resourceId] = segments; - if (arn !== "arn" || partition2 === "" || service === "" || resourceId[0] === "") - return null; - return { - partition: partition2, - service, - region, - accountId, - resourceId: resourceId[0].includes("/") ? resourceId[0].split("/") : 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)\\-\\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)" - }, - "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: {} - }, { - 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__) => { - -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__) => { - -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, { - UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME, - UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME, - crtAvailability: () => crtAvailability, - defaultUserAgent: () => defaultUserAgent -}); -module.exports = __toCommonJS(src_exports); -var import_node_config_provider = __nccwpck_require__(3461); -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/index.ts -var UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; -var UA_APP_ID_INI_NAME = "sdk-ua-app-id"; -var defaultUserAgent = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => { - const sections = [ - // sdk-metadata - ["aws-sdk-js", clientVersion], - // ua-metadata - ["ua", "2.0"], - // 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 appIdPromise = (0, import_node_config_provider.loadConfig)({ - environmentVariableSelector: (env2) => env2[UA_APP_ID_ENV_NAME], - configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME], - default: void 0 - })(); - let resolvedUserAgent = void 0; - return async () => { - if (!resolvedUserAgent) { - const appId = await appIdPromise; - resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections]; - } - return resolvedUserAgent; - }; -}, "defaultUserAgent"); -// Annotate the CommonJS export names for ESM import in node: - -0 && (0); - - - -/***/ }), - -/***/ 334: -/***/ ((module) => { - -"use strict"; - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - createTokenAuth: () => createTokenAuth -}); -module.exports = __toCommonJS(dist_src_exports); - -// pkg/dist-src/auth.js -var REGEX_IS_INSTALLATION_LEGACY = /^v1\./; -var REGEX_IS_INSTALLATION = /^ghs_/; -var REGEX_IS_USER_TO_SERVER = /^ghu_/; -async function auth(token) { - const isApp = token.split(/\./).length === 3; - const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || REGEX_IS_INSTALLATION.test(token); - const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token); - const tokenType = isApp ? "app" : isInstallation ? "installation" : isUserToServer ? "user-to-server" : "oauth"; - return { - type: "token", - token, - tokenType - }; -} - -// pkg/dist-src/with-authorization-prefix.js -function withAuthorizationPrefix(token) { - if (token.split(/\./).length === 3) { - return `bearer ${token}`; - } - return `token ${token}`; -} - -// pkg/dist-src/hook.js -async function hook(token, request, route, parameters) { - const endpoint = request.endpoint.merge( - route, - parameters - ); - endpoint.headers.authorization = withAuthorizationPrefix(token); - return request(endpoint); -} - -// pkg/dist-src/index.js -var createTokenAuth = function createTokenAuth2(token) { - if (!token) { - throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); - } - if (typeof token !== "string") { - throw new Error( - "[@octokit/auth-token] Token passed to createTokenAuth is not a string" - ); - } - token = token.replace(/^(token|bearer) +/i, ""); - return Object.assign(auth.bind(null, token), { - hook: hook.bind(null, token) - }); -}; -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 6762: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -"use strict"; - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - Octokit: () => Octokit -}); -module.exports = __toCommonJS(dist_src_exports); -var import_universal_user_agent = __nccwpck_require__(5030); -var import_before_after_hook = __nccwpck_require__(3682); -var import_request = __nccwpck_require__(6234); -var import_graphql = __nccwpck_require__(8467); -var import_auth_token = __nccwpck_require__(334); - -// pkg/dist-src/version.js -var VERSION = "5.2.0"; - -// pkg/dist-src/index.js -var noop = () => { -}; -var consoleWarn = console.warn.bind(console); -var consoleError = console.error.bind(console); -var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`; -var Octokit = class { - static { - this.VERSION = VERSION; - } - static defaults(defaults) { - const OctokitWithDefaults = class extends this { - constructor(...args) { - const options = args[0] || {}; - if (typeof defaults === "function") { - super(defaults(options)); - return; - } - super( - Object.assign( - {}, - defaults, - options, - options.userAgent && defaults.userAgent ? { - userAgent: `${options.userAgent} ${defaults.userAgent}` - } : null - ) - ); - } - }; - return OctokitWithDefaults; - } - static { - this.plugins = []; - } - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ - static plugin(...newPlugins) { - const currentPlugins = this.plugins; - const NewOctokit = class extends this { - static { - this.plugins = currentPlugins.concat( - newPlugins.filter((plugin) => !currentPlugins.includes(plugin)) - ); - } - }; - return NewOctokit; - } - constructor(options = {}) { - const hook = new import_before_after_hook.Collection(); - const requestDefaults = { - baseUrl: import_request.request.endpoint.DEFAULTS.baseUrl, - headers: {}, - request: Object.assign({}, options.request, { - // @ts-ignore internal usage only, no need to type - hook: hook.bind(null, "request") - }), - mediaType: { - previews: [], - format: "" - } - }; - requestDefaults.headers["user-agent"] = options.userAgent ? `${options.userAgent} ${userAgentTrail}` : userAgentTrail; - if (options.baseUrl) { - requestDefaults.baseUrl = options.baseUrl; - } - if (options.previews) { - requestDefaults.mediaType.previews = options.previews; - } - if (options.timeZone) { - requestDefaults.headers["time-zone"] = options.timeZone; - } - this.request = import_request.request.defaults(requestDefaults); - this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults); - this.log = Object.assign( - { - debug: noop, - info: noop, - warn: consoleWarn, - error: consoleError - }, - options.log - ); - this.hook = hook; - if (!options.authStrategy) { - if (!options.auth) { - this.auth = async () => ({ - type: "unauthenticated" - }); - } else { - const auth = (0, import_auth_token.createTokenAuth)(options.auth); - hook.wrap("request", auth.hook); - this.auth = auth; - } - } else { - const { authStrategy, ...otherOptions } = options; - const auth = authStrategy( - Object.assign( - { - request: this.request, - log: this.log, - // we pass the current octokit instance as well as its constructor options - // to allow for authentication strategies that return a new octokit instance - // that shares the same internal state as the current one. The original - // requirement for this was the "event-octokit" authentication strategy - // of https://github.com/probot/octokit-auth-probot. - octokit: this, - octokitOptions: otherOptions - }, - options.auth - ) - ); - hook.wrap("request", auth.hook); - this.auth = auth; - } - const classConstructor = this.constructor; - for (let i = 0; i < classConstructor.plugins.length; ++i) { - Object.assign(this, classConstructor.plugins[i](this, options)); - } - } -}; -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 9440: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -"use strict"; - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - endpoint: () => endpoint -}); -module.exports = __toCommonJS(dist_src_exports); - -// pkg/dist-src/defaults.js -var import_universal_user_agent = __nccwpck_require__(5030); - -// pkg/dist-src/version.js -var VERSION = "9.0.6"; - -// pkg/dist-src/defaults.js -var userAgent = `octokit-endpoint.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`; -var DEFAULTS = { - method: "GET", - baseUrl: "https://api.github.com", - headers: { - accept: "application/vnd.github.v3+json", - "user-agent": userAgent - }, - mediaType: { - format: "" - } -}; - -// pkg/dist-src/util/lowercase-keys.js -function lowercaseKeys(object) { - if (!object) { - return {}; - } - return Object.keys(object).reduce((newObj, key) => { - newObj[key.toLowerCase()] = object[key]; - return newObj; - }, {}); -} - -// pkg/dist-src/util/is-plain-object.js -function isPlainObject(value) { - if (typeof value !== "object" || value === null) - return false; - if (Object.prototype.toString.call(value) !== "[object Object]") - return false; - const proto = Object.getPrototypeOf(value); - if (proto === null) - return true; - const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor; - return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value); -} - -// pkg/dist-src/util/merge-deep.js -function mergeDeep(defaults, options) { - const result = Object.assign({}, defaults); - Object.keys(options).forEach((key) => { - if (isPlainObject(options[key])) { - if (!(key in defaults)) - Object.assign(result, { [key]: options[key] }); - else - result[key] = mergeDeep(defaults[key], options[key]); - } else { - Object.assign(result, { [key]: options[key] }); - } - }); - return result; -} - -// pkg/dist-src/util/remove-undefined-properties.js -function removeUndefinedProperties(obj) { - for (const key in obj) { - if (obj[key] === void 0) { - delete obj[key]; - } - } - return obj; -} - -// pkg/dist-src/merge.js -function merge(defaults, route, options) { - if (typeof route === "string") { - let [method, url] = route.split(" "); - options = Object.assign(url ? { method, url } : { url: method }, options); - } else { - options = Object.assign({}, route); - } - options.headers = lowercaseKeys(options.headers); - removeUndefinedProperties(options); - removeUndefinedProperties(options.headers); - const mergedOptions = mergeDeep(defaults || {}, options); - if (options.url === "/graphql") { - if (defaults && defaults.mediaType.previews?.length) { - mergedOptions.mediaType.previews = defaults.mediaType.previews.filter( - (preview) => !mergedOptions.mediaType.previews.includes(preview) - ).concat(mergedOptions.mediaType.previews); - } - mergedOptions.mediaType.previews = (mergedOptions.mediaType.previews || []).map((preview) => preview.replace(/-preview/, "")); - } - return mergedOptions; -} - -// pkg/dist-src/util/add-query-parameters.js -function addQueryParameters(url, parameters) { - const separator = /\?/.test(url) ? "&" : "?"; - const names = Object.keys(parameters); - if (names.length === 0) { - return url; - } - return url + separator + names.map((name) => { - if (name === "q") { - return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+"); - } - return `${name}=${encodeURIComponent(parameters[name])}`; - }).join("&"); -} - -// pkg/dist-src/util/extract-url-variable-names.js -var urlVariableRegex = /\{[^{}}]+\}/g; -function removeNonChars(variableName) { - return variableName.replace(/(?:^\W+)|(?:(? a.concat(b), []); -} - -// pkg/dist-src/util/omit.js -function omit(object, keysToOmit) { - const result = { __proto__: null }; - for (const key of Object.keys(object)) { - if (keysToOmit.indexOf(key) === -1) { - result[key] = object[key]; - } - } - return result; -} - -// pkg/dist-src/util/url-template.js -function encodeReserved(str) { - return str.split(/(%[0-9A-Fa-f]{2})/g).map(function(part) { - if (!/%[0-9A-Fa-f]/.test(part)) { - part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]"); - } - return part; - }).join(""); -} -function encodeUnreserved(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function(c) { - return "%" + c.charCodeAt(0).toString(16).toUpperCase(); - }); -} -function encodeValue(operator, value, key) { - value = operator === "+" || operator === "#" ? encodeReserved(value) : encodeUnreserved(value); - if (key) { - return encodeUnreserved(key) + "=" + value; - } else { - return value; - } -} -function isDefined(value) { - return value !== void 0 && value !== null; -} -function isKeyOperator(operator) { - return operator === ";" || operator === "&" || operator === "?"; -} -function getValues(context, operator, key, modifier) { - var value = context[key], result = []; - if (isDefined(value) && value !== "") { - if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") { - value = value.toString(); - if (modifier && modifier !== "*") { - value = value.substring(0, parseInt(modifier, 10)); - } - result.push( - encodeValue(operator, value, isKeyOperator(operator) ? key : "") - ); - } else { - if (modifier === "*") { - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function(value2) { - result.push( - encodeValue(operator, value2, isKeyOperator(operator) ? key : "") - ); - }); - } else { - Object.keys(value).forEach(function(k) { - if (isDefined(value[k])) { - result.push(encodeValue(operator, value[k], k)); - } - }); - } - } else { - const tmp = []; - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function(value2) { - tmp.push(encodeValue(operator, value2)); - }); - } else { - Object.keys(value).forEach(function(k) { - if (isDefined(value[k])) { - tmp.push(encodeUnreserved(k)); - tmp.push(encodeValue(operator, value[k].toString())); - } - }); - } - if (isKeyOperator(operator)) { - result.push(encodeUnreserved(key) + "=" + tmp.join(",")); - } else if (tmp.length !== 0) { - result.push(tmp.join(",")); - } - } - } - } else { - if (operator === ";") { - if (isDefined(value)) { - result.push(encodeUnreserved(key)); - } - } else if (value === "" && (operator === "&" || operator === "?")) { - result.push(encodeUnreserved(key) + "="); - } else if (value === "") { - result.push(""); - } - } - return result; -} -function parseUrl(template) { - return { - expand: expand.bind(null, template) - }; -} -function expand(template, context) { - var operators = ["+", "#", ".", "/", ";", "?", "&"]; - template = template.replace( - /\{([^\{\}]+)\}|([^\{\}]+)/g, - function(_, expression, literal) { - if (expression) { - let operator = ""; - const values = []; - if (operators.indexOf(expression.charAt(0)) !== -1) { - operator = expression.charAt(0); - expression = expression.substr(1); - } - expression.split(/,/g).forEach(function(variable) { - var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); - values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3])); - }); - if (operator && operator !== "+") { - var separator = ","; - if (operator === "?") { - separator = "&"; - } else if (operator !== "#") { - separator = operator; - } - return (values.length !== 0 ? operator : "") + values.join(separator); - } else { - return values.join(","); - } - } else { - return encodeReserved(literal); - } - } - ); - if (template === "/") { - return template; - } else { - return template.replace(/\/$/, ""); - } -} - -// pkg/dist-src/parse.js -function parse(options) { - let method = options.method.toUpperCase(); - let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); - let headers = Object.assign({}, options.headers); - let body; - let parameters = omit(options, [ - "method", - "baseUrl", - "url", - "headers", - "request", - "mediaType" - ]); - const urlVariableNames = extractUrlVariableNames(url); - url = parseUrl(url).expand(parameters); - if (!/^http/.test(url)) { - url = options.baseUrl + url; - } - const omittedParameters = Object.keys(options).filter((option) => urlVariableNames.includes(option)).concat("baseUrl"); - const remainingParameters = omit(parameters, omittedParameters); - const isBinaryRequest = /application\/octet-stream/i.test(headers.accept); - if (!isBinaryRequest) { - if (options.mediaType.format) { - headers.accept = headers.accept.split(/,/).map( - (format) => format.replace( - /application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, - `application/vnd$1$2.${options.mediaType.format}` - ) - ).join(","); - } - if (url.endsWith("/graphql")) { - if (options.mediaType.previews?.length) { - const previewsFromAcceptHeader = headers.accept.match(/(? { - const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json"; - return `application/vnd.github.${preview}-preview${format}`; - }).join(","); - } - } - } - if (["GET", "HEAD"].includes(method)) { - url = addQueryParameters(url, remainingParameters); - } else { - if ("data" in remainingParameters) { - body = remainingParameters.data; - } else { - if (Object.keys(remainingParameters).length) { - body = remainingParameters; - } - } - } - if (!headers["content-type"] && typeof body !== "undefined") { - headers["content-type"] = "application/json; charset=utf-8"; - } - if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { - body = ""; - } - return Object.assign( - { method, url, headers }, - typeof body !== "undefined" ? { body } : null, - options.request ? { request: options.request } : null - ); -} - -// pkg/dist-src/endpoint-with-defaults.js -function endpointWithDefaults(defaults, route, options) { - return parse(merge(defaults, route, options)); -} - -// pkg/dist-src/with-defaults.js -function withDefaults(oldDefaults, newDefaults) { - const DEFAULTS2 = merge(oldDefaults, newDefaults); - const endpoint2 = endpointWithDefaults.bind(null, DEFAULTS2); - return Object.assign(endpoint2, { - DEFAULTS: DEFAULTS2, - defaults: withDefaults.bind(null, DEFAULTS2), - merge: merge.bind(null, DEFAULTS2), - parse - }); -} - -// pkg/dist-src/index.js -var endpoint = withDefaults(null, DEFAULTS); -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 8467: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -"use strict"; - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - GraphqlResponseError: () => GraphqlResponseError, - graphql: () => graphql2, - withCustomRequest: () => withCustomRequest -}); -module.exports = __toCommonJS(dist_src_exports); -var import_request3 = __nccwpck_require__(6234); -var import_universal_user_agent = __nccwpck_require__(5030); - -// pkg/dist-src/version.js -var VERSION = "7.1.0"; - -// pkg/dist-src/with-defaults.js -var import_request2 = __nccwpck_require__(6234); - -// pkg/dist-src/graphql.js -var import_request = __nccwpck_require__(6234); - -// pkg/dist-src/error.js -function _buildMessageForResponseErrors(data) { - return `Request failed due to following response errors: -` + data.errors.map((e) => ` - ${e.message}`).join("\n"); -} -var GraphqlResponseError = class extends Error { - constructor(request2, headers, response) { - super(_buildMessageForResponseErrors(response)); - this.request = request2; - this.headers = headers; - this.response = response; - this.name = "GraphqlResponseError"; - this.errors = response.errors; - this.data = response.data; - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - } -}; - -// pkg/dist-src/graphql.js -var NON_VARIABLE_OPTIONS = [ - "method", - "baseUrl", - "url", - "headers", - "request", - "query", - "mediaType" -]; -var FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"]; -var GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/; -function graphql(request2, query, options) { - if (options) { - if (typeof query === "string" && "query" in options) { - return Promise.reject( - new Error(`[@octokit/graphql] "query" cannot be used as variable name`) - ); - } - for (const key in options) { - if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) - continue; - return Promise.reject( - new Error( - `[@octokit/graphql] "${key}" cannot be used as variable name` - ) - ); - } - } - const parsedOptions = typeof query === "string" ? Object.assign({ query }, options) : query; - const requestOptions = Object.keys( - parsedOptions - ).reduce((result, key) => { - if (NON_VARIABLE_OPTIONS.includes(key)) { - result[key] = parsedOptions[key]; - return result; - } - if (!result.variables) { - result.variables = {}; - } - result.variables[key] = parsedOptions[key]; - return result; - }, {}); - const baseUrl = parsedOptions.baseUrl || request2.endpoint.DEFAULTS.baseUrl; - if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) { - requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql"); - } - return request2(requestOptions).then((response) => { - if (response.data.errors) { - const headers = {}; - for (const key of Object.keys(response.headers)) { - headers[key] = response.headers[key]; - } - throw new GraphqlResponseError( - requestOptions, - headers, - response.data - ); - } - return response.data.data; - }); -} - -// pkg/dist-src/with-defaults.js -function withDefaults(request2, newDefaults) { - const newRequest = request2.defaults(newDefaults); - const newApi = (query, options) => { - return graphql(newRequest, query, options); - }; - return Object.assign(newApi, { - defaults: withDefaults.bind(null, newRequest), - endpoint: newRequest.endpoint - }); -} - -// pkg/dist-src/index.js -var graphql2 = withDefaults(import_request3.request, { - headers: { - "user-agent": `octokit-graphql.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}` - }, - method: "POST", - url: "/graphql" -}); -function withCustomRequest(customRequest) { - return withDefaults(customRequest, { - method: "POST", - url: "/graphql" - }); -} -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 4193: -/***/ ((module) => { - -"use strict"; - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - composePaginateRest: () => composePaginateRest, - isPaginatingEndpoint: () => isPaginatingEndpoint, - paginateRest: () => paginateRest, - paginatingEndpoints: () => paginatingEndpoints -}); -module.exports = __toCommonJS(dist_src_exports); - -// pkg/dist-src/version.js -var VERSION = "9.2.2"; - -// pkg/dist-src/normalize-paginated-list-response.js -function normalizePaginatedListResponse(response) { - if (!response.data) { - return { - ...response, - data: [] - }; - } - const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); - if (!responseNeedsNormalization) - return response; - const incompleteResults = response.data.incomplete_results; - const repositorySelection = response.data.repository_selection; - const totalCount = response.data.total_count; - delete response.data.incomplete_results; - delete response.data.repository_selection; - delete response.data.total_count; - const namespaceKey = Object.keys(response.data)[0]; - const data = response.data[namespaceKey]; - response.data = data; - if (typeof incompleteResults !== "undefined") { - response.data.incomplete_results = incompleteResults; - } - if (typeof repositorySelection !== "undefined") { - response.data.repository_selection = repositorySelection; - } - response.data.total_count = totalCount; - return response; -} - -// pkg/dist-src/iterator.js -function iterator(octokit, route, parameters) { - const options = typeof route === "function" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters); - const requestMethod = typeof route === "function" ? route : octokit.request; - const method = options.method; - const headers = options.headers; - let url = options.url; - return { - [Symbol.asyncIterator]: () => ({ - async next() { - if (!url) - return { done: true }; - try { - const response = await requestMethod({ method, url, headers }); - const normalizedResponse = normalizePaginatedListResponse(response); - url = ((normalizedResponse.headers.link || "").match( - /<([^<>]+)>;\s*rel="next"/ - ) || [])[1]; - return { value: normalizedResponse }; - } catch (error) { - if (error.status !== 409) - throw error; - url = ""; - return { - value: { - status: 200, - headers: {}, - data: [] - } - }; - } - } - }) - }; -} - -// pkg/dist-src/paginate.js -function paginate(octokit, route, parameters, mapFn) { - if (typeof parameters === "function") { - mapFn = parameters; - parameters = void 0; - } - return gather( - octokit, - [], - iterator(octokit, route, parameters)[Symbol.asyncIterator](), - mapFn - ); -} -function gather(octokit, results, iterator2, mapFn) { - return iterator2.next().then((result) => { - if (result.done) { - return results; - } - let earlyExit = false; - function done() { - earlyExit = true; - } - results = results.concat( - mapFn ? mapFn(result.value, done) : result.value.data - ); - if (earlyExit) { - return results; - } - return gather(octokit, results, iterator2, mapFn); - }); -} - -// pkg/dist-src/compose-paginate.js -var composePaginateRest = Object.assign(paginate, { - iterator -}); - -// pkg/dist-src/generated/paginating-endpoints.js -var paginatingEndpoints = [ - "GET /advisories", - "GET /app/hook/deliveries", - "GET /app/installation-requests", - "GET /app/installations", - "GET /assignments/{assignment_id}/accepted_assignments", - "GET /classrooms", - "GET /classrooms/{classroom_id}/assignments", - "GET /enterprises/{enterprise}/dependabot/alerts", - "GET /enterprises/{enterprise}/secret-scanning/alerts", - "GET /events", - "GET /gists", - "GET /gists/public", - "GET /gists/starred", - "GET /gists/{gist_id}/comments", - "GET /gists/{gist_id}/commits", - "GET /gists/{gist_id}/forks", - "GET /installation/repositories", - "GET /issues", - "GET /licenses", - "GET /marketplace_listing/plans", - "GET /marketplace_listing/plans/{plan_id}/accounts", - "GET /marketplace_listing/stubbed/plans", - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", - "GET /networks/{owner}/{repo}/events", - "GET /notifications", - "GET /organizations", - "GET /orgs/{org}/actions/cache/usage-by-repository", - "GET /orgs/{org}/actions/permissions/repositories", - "GET /orgs/{org}/actions/runners", - "GET /orgs/{org}/actions/secrets", - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", - "GET /orgs/{org}/actions/variables", - "GET /orgs/{org}/actions/variables/{name}/repositories", - "GET /orgs/{org}/blocks", - "GET /orgs/{org}/code-scanning/alerts", - "GET /orgs/{org}/codespaces", - "GET /orgs/{org}/codespaces/secrets", - "GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories", - "GET /orgs/{org}/copilot/billing/seats", - "GET /orgs/{org}/dependabot/alerts", - "GET /orgs/{org}/dependabot/secrets", - "GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories", - "GET /orgs/{org}/events", - "GET /orgs/{org}/failed_invitations", - "GET /orgs/{org}/hooks", - "GET /orgs/{org}/hooks/{hook_id}/deliveries", - "GET /orgs/{org}/installations", - "GET /orgs/{org}/invitations", - "GET /orgs/{org}/invitations/{invitation_id}/teams", - "GET /orgs/{org}/issues", - "GET /orgs/{org}/members", - "GET /orgs/{org}/members/{username}/codespaces", - "GET /orgs/{org}/migrations", - "GET /orgs/{org}/migrations/{migration_id}/repositories", - "GET /orgs/{org}/organization-roles/{role_id}/teams", - "GET /orgs/{org}/organization-roles/{role_id}/users", - "GET /orgs/{org}/outside_collaborators", - "GET /orgs/{org}/packages", - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions", - "GET /orgs/{org}/personal-access-token-requests", - "GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories", - "GET /orgs/{org}/personal-access-tokens", - "GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories", - "GET /orgs/{org}/projects", - "GET /orgs/{org}/properties/values", - "GET /orgs/{org}/public_members", - "GET /orgs/{org}/repos", - "GET /orgs/{org}/rulesets", - "GET /orgs/{org}/rulesets/rule-suites", - "GET /orgs/{org}/secret-scanning/alerts", - "GET /orgs/{org}/security-advisories", - "GET /orgs/{org}/teams", - "GET /orgs/{org}/teams/{team_slug}/discussions", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "GET /orgs/{org}/teams/{team_slug}/invitations", - "GET /orgs/{org}/teams/{team_slug}/members", - "GET /orgs/{org}/teams/{team_slug}/projects", - "GET /orgs/{org}/teams/{team_slug}/repos", - "GET /orgs/{org}/teams/{team_slug}/teams", - "GET /projects/columns/{column_id}/cards", - "GET /projects/{project_id}/collaborators", - "GET /projects/{project_id}/columns", - "GET /repos/{owner}/{repo}/actions/artifacts", - "GET /repos/{owner}/{repo}/actions/caches", - "GET /repos/{owner}/{repo}/actions/organization-secrets", - "GET /repos/{owner}/{repo}/actions/organization-variables", - "GET /repos/{owner}/{repo}/actions/runners", - "GET /repos/{owner}/{repo}/actions/runs", - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs", - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - "GET /repos/{owner}/{repo}/actions/secrets", - "GET /repos/{owner}/{repo}/actions/variables", - "GET /repos/{owner}/{repo}/actions/workflows", - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - "GET /repos/{owner}/{repo}/activity", - "GET /repos/{owner}/{repo}/assignees", - "GET /repos/{owner}/{repo}/branches", - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "GET /repos/{owner}/{repo}/code-scanning/alerts", - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", - "GET /repos/{owner}/{repo}/code-scanning/analyses", - "GET /repos/{owner}/{repo}/codespaces", - "GET /repos/{owner}/{repo}/codespaces/devcontainers", - "GET /repos/{owner}/{repo}/codespaces/secrets", - "GET /repos/{owner}/{repo}/collaborators", - "GET /repos/{owner}/{repo}/comments", - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/commits", - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", - "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", - "GET /repos/{owner}/{repo}/commits/{ref}/status", - "GET /repos/{owner}/{repo}/commits/{ref}/statuses", - "GET /repos/{owner}/{repo}/contributors", - "GET /repos/{owner}/{repo}/dependabot/alerts", - "GET /repos/{owner}/{repo}/dependabot/secrets", - "GET /repos/{owner}/{repo}/deployments", - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "GET /repos/{owner}/{repo}/environments", - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies", - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps", - "GET /repos/{owner}/{repo}/events", - "GET /repos/{owner}/{repo}/forks", - "GET /repos/{owner}/{repo}/hooks", - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", - "GET /repos/{owner}/{repo}/invitations", - "GET /repos/{owner}/{repo}/issues", - "GET /repos/{owner}/{repo}/issues/comments", - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/issues/events", - "GET /repos/{owner}/{repo}/issues/{issue_number}/comments", - "GET /repos/{owner}/{repo}/issues/{issue_number}/events", - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", - "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", - "GET /repos/{owner}/{repo}/keys", - "GET /repos/{owner}/{repo}/labels", - "GET /repos/{owner}/{repo}/milestones", - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "GET /repos/{owner}/{repo}/notifications", - "GET /repos/{owner}/{repo}/pages/builds", - "GET /repos/{owner}/{repo}/projects", - "GET /repos/{owner}/{repo}/pulls", - "GET /repos/{owner}/{repo}/pulls/comments", - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/files", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "GET /repos/{owner}/{repo}/releases", - "GET /repos/{owner}/{repo}/releases/{release_id}/assets", - "GET /repos/{owner}/{repo}/releases/{release_id}/reactions", - "GET /repos/{owner}/{repo}/rules/branches/{branch}", - "GET /repos/{owner}/{repo}/rulesets", - "GET /repos/{owner}/{repo}/rulesets/rule-suites", - "GET /repos/{owner}/{repo}/secret-scanning/alerts", - "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", - "GET /repos/{owner}/{repo}/security-advisories", - "GET /repos/{owner}/{repo}/stargazers", - "GET /repos/{owner}/{repo}/subscribers", - "GET /repos/{owner}/{repo}/tags", - "GET /repos/{owner}/{repo}/teams", - "GET /repos/{owner}/{repo}/topics", - "GET /repositories", - "GET /repositories/{repository_id}/environments/{environment_name}/secrets", - "GET /repositories/{repository_id}/environments/{environment_name}/variables", - "GET /search/code", - "GET /search/commits", - "GET /search/issues", - "GET /search/labels", - "GET /search/repositories", - "GET /search/topics", - "GET /search/users", - "GET /teams/{team_id}/discussions", - "GET /teams/{team_id}/discussions/{discussion_number}/comments", - "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "GET /teams/{team_id}/discussions/{discussion_number}/reactions", - "GET /teams/{team_id}/invitations", - "GET /teams/{team_id}/members", - "GET /teams/{team_id}/projects", - "GET /teams/{team_id}/repos", - "GET /teams/{team_id}/teams", - "GET /user/blocks", - "GET /user/codespaces", - "GET /user/codespaces/secrets", - "GET /user/emails", - "GET /user/followers", - "GET /user/following", - "GET /user/gpg_keys", - "GET /user/installations", - "GET /user/installations/{installation_id}/repositories", - "GET /user/issues", - "GET /user/keys", - "GET /user/marketplace_purchases", - "GET /user/marketplace_purchases/stubbed", - "GET /user/memberships/orgs", - "GET /user/migrations", - "GET /user/migrations/{migration_id}/repositories", - "GET /user/orgs", - "GET /user/packages", - "GET /user/packages/{package_type}/{package_name}/versions", - "GET /user/public_emails", - "GET /user/repos", - "GET /user/repository_invitations", - "GET /user/social_accounts", - "GET /user/ssh_signing_keys", - "GET /user/starred", - "GET /user/subscriptions", - "GET /user/teams", - "GET /users", - "GET /users/{username}/events", - "GET /users/{username}/events/orgs/{org}", - "GET /users/{username}/events/public", - "GET /users/{username}/followers", - "GET /users/{username}/following", - "GET /users/{username}/gists", - "GET /users/{username}/gpg_keys", - "GET /users/{username}/keys", - "GET /users/{username}/orgs", - "GET /users/{username}/packages", - "GET /users/{username}/projects", - "GET /users/{username}/received_events", - "GET /users/{username}/received_events/public", - "GET /users/{username}/repos", - "GET /users/{username}/social_accounts", - "GET /users/{username}/ssh_signing_keys", - "GET /users/{username}/starred", - "GET /users/{username}/subscriptions" -]; - -// pkg/dist-src/paginating-endpoints.js -function isPaginatingEndpoint(arg) { - if (typeof arg === "string") { - return paginatingEndpoints.includes(arg); - } else { - return false; - } -} - -// pkg/dist-src/index.js -function paginateRest(octokit) { - return { - paginate: Object.assign(paginate.bind(null, octokit), { - iterator: iterator.bind(null, octokit) - }) - }; -} -paginateRest.VERSION = VERSION; -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 3044: -/***/ ((module) => { - -"use strict"; - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - legacyRestEndpointMethods: () => legacyRestEndpointMethods, - restEndpointMethods: () => restEndpointMethods -}); -module.exports = __toCommonJS(dist_src_exports); - -// pkg/dist-src/version.js -var VERSION = "10.4.1"; - -// pkg/dist-src/generated/endpoints.js -var Endpoints = { - actions: { - addCustomLabelsToSelfHostedRunnerForOrg: [ - "POST /orgs/{org}/actions/runners/{runner_id}/labels" - ], - addCustomLabelsToSelfHostedRunnerForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels" - ], - addSelectedRepoToOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}" - ], - addSelectedRepoToOrgVariable: [ - "PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}" - ], - approveWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve" - ], - cancelWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel" - ], - createEnvironmentVariable: [ - "POST /repositories/{repository_id}/environments/{environment_name}/variables" - ], - createOrUpdateEnvironmentSecret: [ - "PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" - ], - createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], - createOrUpdateRepoSecret: [ - "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}" - ], - createOrgVariable: ["POST /orgs/{org}/actions/variables"], - createRegistrationTokenForOrg: [ - "POST /orgs/{org}/actions/runners/registration-token" - ], - createRegistrationTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/registration-token" - ], - createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"], - createRemoveTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/remove-token" - ], - createRepoVariable: ["POST /repos/{owner}/{repo}/actions/variables"], - createWorkflowDispatch: [ - "POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches" - ], - deleteActionsCacheById: [ - "DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}" - ], - deleteActionsCacheByKey: [ - "DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}" - ], - deleteArtifact: [ - "DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}" - ], - deleteEnvironmentSecret: [ - "DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" - ], - deleteEnvironmentVariable: [ - "DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}" - ], - deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], - deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], - deleteRepoSecret: [ - "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}" - ], - deleteRepoVariable: [ - "DELETE /repos/{owner}/{repo}/actions/variables/{name}" - ], - deleteSelfHostedRunnerFromOrg: [ - "DELETE /orgs/{org}/actions/runners/{runner_id}" - ], - deleteSelfHostedRunnerFromRepo: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}" - ], - deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"], - deleteWorkflowRunLogs: [ - "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs" - ], - disableSelectedRepositoryGithubActionsOrganization: [ - "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}" - ], - disableWorkflow: [ - "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable" - ], - downloadArtifact: [ - "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}" - ], - downloadJobLogsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs" - ], - downloadWorkflowRunAttemptLogs: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs" - ], - downloadWorkflowRunLogs: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs" - ], - enableSelectedRepositoryGithubActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/repositories/{repository_id}" - ], - enableWorkflow: [ - "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable" - ], - forceCancelWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel" - ], - generateRunnerJitconfigForOrg: [ - "POST /orgs/{org}/actions/runners/generate-jitconfig" - ], - generateRunnerJitconfigForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig" - ], - getActionsCacheList: ["GET /repos/{owner}/{repo}/actions/caches"], - getActionsCacheUsage: ["GET /repos/{owner}/{repo}/actions/cache/usage"], - getActionsCacheUsageByRepoForOrg: [ - "GET /orgs/{org}/actions/cache/usage-by-repository" - ], - getActionsCacheUsageForOrg: ["GET /orgs/{org}/actions/cache/usage"], - getAllowedActionsOrganization: [ - "GET /orgs/{org}/actions/permissions/selected-actions" - ], - getAllowedActionsRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions/selected-actions" - ], - getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - getCustomOidcSubClaimForRepo: [ - "GET /repos/{owner}/{repo}/actions/oidc/customization/sub" - ], - getEnvironmentPublicKey: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key" - ], - getEnvironmentSecret: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" - ], - getEnvironmentVariable: [ - "GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}" - ], - getGithubActionsDefaultWorkflowPermissionsOrganization: [ - "GET /orgs/{org}/actions/permissions/workflow" - ], - getGithubActionsDefaultWorkflowPermissionsRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions/workflow" - ], - getGithubActionsPermissionsOrganization: [ - "GET /orgs/{org}/actions/permissions" - ], - getGithubActionsPermissionsRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions" - ], - getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], - getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], - getOrgVariable: ["GET /orgs/{org}/actions/variables/{name}"], - getPendingDeploymentsForRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments" - ], - getRepoPermissions: [ - "GET /repos/{owner}/{repo}/actions/permissions", - {}, - { renamed: ["actions", "getGithubActionsPermissionsRepository"] } - ], - getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], - getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"], - getRepoVariable: ["GET /repos/{owner}/{repo}/actions/variables/{name}"], - getReviewsForRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals" - ], - getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"], - getSelfHostedRunnerForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/{runner_id}" - ], - getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"], - getWorkflowAccessToRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions/access" - ], - getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], - getWorkflowRunAttempt: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}" - ], - getWorkflowRunUsage: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing" - ], - getWorkflowUsage: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing" - ], - listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], - listEnvironmentSecrets: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets" - ], - listEnvironmentVariables: [ - "GET /repositories/{repository_id}/environments/{environment_name}/variables" - ], - listJobsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" - ], - listJobsForWorkflowRunAttempt: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs" - ], - listLabelsForSelfHostedRunnerForOrg: [ - "GET /orgs/{org}/actions/runners/{runner_id}/labels" - ], - listLabelsForSelfHostedRunnerForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels" - ], - listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], - listOrgVariables: ["GET /orgs/{org}/actions/variables"], - listRepoOrganizationSecrets: [ - "GET /repos/{owner}/{repo}/actions/organization-secrets" - ], - listRepoOrganizationVariables: [ - "GET /repos/{owner}/{repo}/actions/organization-variables" - ], - listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], - listRepoVariables: ["GET /repos/{owner}/{repo}/actions/variables"], - listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], - listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"], - listRunnerApplicationsForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/downloads" - ], - listSelectedReposForOrgSecret: [ - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories" - ], - listSelectedReposForOrgVariable: [ - "GET /orgs/{org}/actions/variables/{name}/repositories" - ], - listSelectedRepositoriesEnabledGithubActionsOrganization: [ - "GET /orgs/{org}/actions/permissions/repositories" - ], - listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], - listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], - listWorkflowRunArtifacts: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts" - ], - listWorkflowRuns: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs" - ], - listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"], - reRunJobForWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun" - ], - reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], - reRunWorkflowFailedJobs: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs" - ], - removeAllCustomLabelsFromSelfHostedRunnerForOrg: [ - "DELETE /orgs/{org}/actions/runners/{runner_id}/labels" - ], - removeAllCustomLabelsFromSelfHostedRunnerForRepo: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels" - ], - removeCustomLabelFromSelfHostedRunnerForOrg: [ - "DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}" - ], - removeCustomLabelFromSelfHostedRunnerForRepo: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}" - ], - removeSelectedRepoFromOrgSecret: [ - "DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}" - ], - removeSelectedRepoFromOrgVariable: [ - "DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}" - ], - reviewCustomGatesForRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule" - ], - reviewPendingDeploymentsForRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments" - ], - setAllowedActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/selected-actions" - ], - setAllowedActionsRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions/selected-actions" - ], - setCustomLabelsForSelfHostedRunnerForOrg: [ - "PUT /orgs/{org}/actions/runners/{runner_id}/labels" - ], - setCustomLabelsForSelfHostedRunnerForRepo: [ - "PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels" - ], - setCustomOidcSubClaimForRepo: [ - "PUT /repos/{owner}/{repo}/actions/oidc/customization/sub" - ], - setGithubActionsDefaultWorkflowPermissionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/workflow" - ], - setGithubActionsDefaultWorkflowPermissionsRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions/workflow" - ], - setGithubActionsPermissionsOrganization: [ - "PUT /orgs/{org}/actions/permissions" - ], - setGithubActionsPermissionsRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions" - ], - setSelectedReposForOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories" - ], - setSelectedReposForOrgVariable: [ - "PUT /orgs/{org}/actions/variables/{name}/repositories" - ], - setSelectedRepositoriesEnabledGithubActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/repositories" - ], - setWorkflowAccessToRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions/access" - ], - updateEnvironmentVariable: [ - "PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}" - ], - updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], - updateRepoVariable: [ - "PATCH /repos/{owner}/{repo}/actions/variables/{name}" - ] - }, - activity: { - checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"], - deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"], - deleteThreadSubscription: [ - "DELETE /notifications/threads/{thread_id}/subscription" - ], - getFeeds: ["GET /feeds"], - getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"], - getThread: ["GET /notifications/threads/{thread_id}"], - getThreadSubscriptionForAuthenticatedUser: [ - "GET /notifications/threads/{thread_id}/subscription" - ], - listEventsForAuthenticatedUser: ["GET /users/{username}/events"], - listNotificationsForAuthenticatedUser: ["GET /notifications"], - listOrgEventsForAuthenticatedUser: [ - "GET /users/{username}/events/orgs/{org}" - ], - listPublicEvents: ["GET /events"], - listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"], - listPublicEventsForUser: ["GET /users/{username}/events/public"], - listPublicOrgEvents: ["GET /orgs/{org}/events"], - listReceivedEventsForUser: ["GET /users/{username}/received_events"], - listReceivedPublicEventsForUser: [ - "GET /users/{username}/received_events/public" - ], - listRepoEvents: ["GET /repos/{owner}/{repo}/events"], - listRepoNotificationsForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/notifications" - ], - listReposStarredByAuthenticatedUser: ["GET /user/starred"], - listReposStarredByUser: ["GET /users/{username}/starred"], - listReposWatchedByUser: ["GET /users/{username}/subscriptions"], - listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"], - listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"], - listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"], - markNotificationsAsRead: ["PUT /notifications"], - markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"], - markThreadAsDone: ["DELETE /notifications/threads/{thread_id}"], - markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"], - setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"], - setThreadSubscription: [ - "PUT /notifications/threads/{thread_id}/subscription" - ], - starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"], - unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"] - }, - apps: { - addRepoToInstallation: [ - "PUT /user/installations/{installation_id}/repositories/{repository_id}", - {}, - { renamed: ["apps", "addRepoToInstallationForAuthenticatedUser"] } - ], - addRepoToInstallationForAuthenticatedUser: [ - "PUT /user/installations/{installation_id}/repositories/{repository_id}" - ], - checkToken: ["POST /applications/{client_id}/token"], - createFromManifest: ["POST /app-manifests/{code}/conversions"], - createInstallationAccessToken: [ - "POST /app/installations/{installation_id}/access_tokens" - ], - deleteAuthorization: ["DELETE /applications/{client_id}/grant"], - deleteInstallation: ["DELETE /app/installations/{installation_id}"], - deleteToken: ["DELETE /applications/{client_id}/token"], - getAuthenticated: ["GET /app"], - getBySlug: ["GET /apps/{app_slug}"], - getInstallation: ["GET /app/installations/{installation_id}"], - getOrgInstallation: ["GET /orgs/{org}/installation"], - getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"], - getSubscriptionPlanForAccount: [ - "GET /marketplace_listing/accounts/{account_id}" - ], - getSubscriptionPlanForAccountStubbed: [ - "GET /marketplace_listing/stubbed/accounts/{account_id}" - ], - getUserInstallation: ["GET /users/{username}/installation"], - getWebhookConfigForApp: ["GET /app/hook/config"], - getWebhookDelivery: ["GET /app/hook/deliveries/{delivery_id}"], - listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"], - listAccountsForPlanStubbed: [ - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts" - ], - listInstallationReposForAuthenticatedUser: [ - "GET /user/installations/{installation_id}/repositories" - ], - listInstallationRequestsForAuthenticatedApp: [ - "GET /app/installation-requests" - ], - listInstallations: ["GET /app/installations"], - listInstallationsForAuthenticatedUser: ["GET /user/installations"], - listPlans: ["GET /marketplace_listing/plans"], - listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"], - listReposAccessibleToInstallation: ["GET /installation/repositories"], - listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"], - listSubscriptionsForAuthenticatedUserStubbed: [ - "GET /user/marketplace_purchases/stubbed" - ], - listWebhookDeliveries: ["GET /app/hook/deliveries"], - redeliverWebhookDelivery: [ - "POST /app/hook/deliveries/{delivery_id}/attempts" - ], - removeRepoFromInstallation: [ - "DELETE /user/installations/{installation_id}/repositories/{repository_id}", - {}, - { renamed: ["apps", "removeRepoFromInstallationForAuthenticatedUser"] } - ], - removeRepoFromInstallationForAuthenticatedUser: [ - "DELETE /user/installations/{installation_id}/repositories/{repository_id}" - ], - resetToken: ["PATCH /applications/{client_id}/token"], - revokeInstallationAccessToken: ["DELETE /installation/token"], - scopeToken: ["POST /applications/{client_id}/token/scoped"], - suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], - unsuspendInstallation: [ - "DELETE /app/installations/{installation_id}/suspended" - ], - updateWebhookConfigForApp: ["PATCH /app/hook/config"] - }, - billing: { - getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"], - getGithubActionsBillingUser: [ - "GET /users/{username}/settings/billing/actions" - ], - getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"], - getGithubPackagesBillingUser: [ - "GET /users/{username}/settings/billing/packages" - ], - getSharedStorageBillingOrg: [ - "GET /orgs/{org}/settings/billing/shared-storage" - ], - getSharedStorageBillingUser: [ - "GET /users/{username}/settings/billing/shared-storage" - ] - }, - checks: { - create: ["POST /repos/{owner}/{repo}/check-runs"], - createSuite: ["POST /repos/{owner}/{repo}/check-suites"], - get: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"], - getSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"], - listAnnotations: [ - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations" - ], - listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"], - listForSuite: [ - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs" - ], - listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"], - rerequestRun: [ - "POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest" - ], - rerequestSuite: [ - "POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest" - ], - setSuitesPreferences: [ - "PATCH /repos/{owner}/{repo}/check-suites/preferences" - ], - update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"] - }, - codeScanning: { - deleteAnalysis: [ - "DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}" - ], - getAlert: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - {}, - { renamedParameters: { alert_id: "alert_number" } } - ], - getAnalysis: [ - "GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}" - ], - getCodeqlDatabase: [ - "GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}" - ], - getDefaultSetup: ["GET /repos/{owner}/{repo}/code-scanning/default-setup"], - getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"], - listAlertInstances: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances" - ], - listAlertsForOrg: ["GET /orgs/{org}/code-scanning/alerts"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"], - listAlertsInstances: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", - {}, - { renamed: ["codeScanning", "listAlertInstances"] } - ], - listCodeqlDatabases: [ - "GET /repos/{owner}/{repo}/code-scanning/codeql/databases" - ], - listRecentAnalyses: ["GET /repos/{owner}/{repo}/code-scanning/analyses"], - updateAlert: [ - "PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}" - ], - updateDefaultSetup: [ - "PATCH /repos/{owner}/{repo}/code-scanning/default-setup" - ], - uploadSarif: ["POST /repos/{owner}/{repo}/code-scanning/sarifs"] - }, - codesOfConduct: { - getAllCodesOfConduct: ["GET /codes_of_conduct"], - getConductCode: ["GET /codes_of_conduct/{key}"] - }, - codespaces: { - addRepositoryForSecretForAuthenticatedUser: [ - "PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}" - ], - addSelectedRepoToOrgSecret: [ - "PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}" - ], - checkPermissionsForDevcontainer: [ - "GET /repos/{owner}/{repo}/codespaces/permissions_check" - ], - codespaceMachinesForAuthenticatedUser: [ - "GET /user/codespaces/{codespace_name}/machines" - ], - createForAuthenticatedUser: ["POST /user/codespaces"], - createOrUpdateOrgSecret: [ - "PUT /orgs/{org}/codespaces/secrets/{secret_name}" - ], - createOrUpdateRepoSecret: [ - "PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}" - ], - createOrUpdateSecretForAuthenticatedUser: [ - "PUT /user/codespaces/secrets/{secret_name}" - ], - createWithPrForAuthenticatedUser: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces" - ], - createWithRepoForAuthenticatedUser: [ - "POST /repos/{owner}/{repo}/codespaces" - ], - deleteForAuthenticatedUser: ["DELETE /user/codespaces/{codespace_name}"], - deleteFromOrganization: [ - "DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}" - ], - deleteOrgSecret: ["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"], - deleteRepoSecret: [ - "DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}" - ], - deleteSecretForAuthenticatedUser: [ - "DELETE /user/codespaces/secrets/{secret_name}" - ], - exportForAuthenticatedUser: [ - "POST /user/codespaces/{codespace_name}/exports" - ], - getCodespacesForUserInOrg: [ - "GET /orgs/{org}/members/{username}/codespaces" - ], - getExportDetailsForAuthenticatedUser: [ - "GET /user/codespaces/{codespace_name}/exports/{export_id}" - ], - getForAuthenticatedUser: ["GET /user/codespaces/{codespace_name}"], - getOrgPublicKey: ["GET /orgs/{org}/codespaces/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/codespaces/secrets/{secret_name}"], - getPublicKeyForAuthenticatedUser: [ - "GET /user/codespaces/secrets/public-key" - ], - getRepoPublicKey: [ - "GET /repos/{owner}/{repo}/codespaces/secrets/public-key" - ], - getRepoSecret: [ - "GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}" - ], - getSecretForAuthenticatedUser: [ - "GET /user/codespaces/secrets/{secret_name}" - ], - listDevcontainersInRepositoryForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/codespaces/devcontainers" - ], - listForAuthenticatedUser: ["GET /user/codespaces"], - listInOrganization: [ - "GET /orgs/{org}/codespaces", - {}, - { renamedParameters: { org_id: "org" } } - ], - listInRepositoryForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/codespaces" - ], - listOrgSecrets: ["GET /orgs/{org}/codespaces/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/codespaces/secrets"], - listRepositoriesForSecretForAuthenticatedUser: [ - "GET /user/codespaces/secrets/{secret_name}/repositories" - ], - listSecretsForAuthenticatedUser: ["GET /user/codespaces/secrets"], - listSelectedReposForOrgSecret: [ - "GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories" - ], - preFlightWithRepoForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/codespaces/new" - ], - publishForAuthenticatedUser: [ - "POST /user/codespaces/{codespace_name}/publish" - ], - removeRepositoryForSecretForAuthenticatedUser: [ - "DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}" - ], - removeSelectedRepoFromOrgSecret: [ - "DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}" - ], - repoMachinesForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/codespaces/machines" - ], - setRepositoriesForSecretForAuthenticatedUser: [ - "PUT /user/codespaces/secrets/{secret_name}/repositories" - ], - setSelectedReposForOrgSecret: [ - "PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories" - ], - startForAuthenticatedUser: ["POST /user/codespaces/{codespace_name}/start"], - stopForAuthenticatedUser: ["POST /user/codespaces/{codespace_name}/stop"], - stopInOrganization: [ - "POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop" - ], - updateForAuthenticatedUser: ["PATCH /user/codespaces/{codespace_name}"] - }, - copilot: { - addCopilotSeatsForTeams: [ - "POST /orgs/{org}/copilot/billing/selected_teams" - ], - addCopilotSeatsForUsers: [ - "POST /orgs/{org}/copilot/billing/selected_users" - ], - cancelCopilotSeatAssignmentForTeams: [ - "DELETE /orgs/{org}/copilot/billing/selected_teams" - ], - cancelCopilotSeatAssignmentForUsers: [ - "DELETE /orgs/{org}/copilot/billing/selected_users" - ], - getCopilotOrganizationDetails: ["GET /orgs/{org}/copilot/billing"], - getCopilotSeatDetailsForUser: [ - "GET /orgs/{org}/members/{username}/copilot" - ], - listCopilotSeats: ["GET /orgs/{org}/copilot/billing/seats"] - }, - dependabot: { - addSelectedRepoToOrgSecret: [ - "PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}" - ], - createOrUpdateOrgSecret: [ - "PUT /orgs/{org}/dependabot/secrets/{secret_name}" - ], - createOrUpdateRepoSecret: [ - "PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}" - ], - deleteOrgSecret: ["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"], - deleteRepoSecret: [ - "DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}" - ], - getAlert: ["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"], - getOrgPublicKey: ["GET /orgs/{org}/dependabot/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/dependabot/secrets/{secret_name}"], - getRepoPublicKey: [ - "GET /repos/{owner}/{repo}/dependabot/secrets/public-key" - ], - getRepoSecret: [ - "GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}" - ], - listAlertsForEnterprise: [ - "GET /enterprises/{enterprise}/dependabot/alerts" - ], - listAlertsForOrg: ["GET /orgs/{org}/dependabot/alerts"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/dependabot/alerts"], - listOrgSecrets: ["GET /orgs/{org}/dependabot/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/dependabot/secrets"], - listSelectedReposForOrgSecret: [ - "GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories" - ], - removeSelectedRepoFromOrgSecret: [ - "DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}" - ], - setSelectedReposForOrgSecret: [ - "PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories" - ], - updateAlert: [ - "PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}" - ] - }, - dependencyGraph: { - createRepositorySnapshot: [ - "POST /repos/{owner}/{repo}/dependency-graph/snapshots" - ], - diffRange: [ - "GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}" - ], - exportSbom: ["GET /repos/{owner}/{repo}/dependency-graph/sbom"] - }, - emojis: { get: ["GET /emojis"] }, - gists: { - checkIsStarred: ["GET /gists/{gist_id}/star"], - create: ["POST /gists"], - createComment: ["POST /gists/{gist_id}/comments"], - delete: ["DELETE /gists/{gist_id}"], - deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"], - fork: ["POST /gists/{gist_id}/forks"], - get: ["GET /gists/{gist_id}"], - getComment: ["GET /gists/{gist_id}/comments/{comment_id}"], - getRevision: ["GET /gists/{gist_id}/{sha}"], - list: ["GET /gists"], - listComments: ["GET /gists/{gist_id}/comments"], - listCommits: ["GET /gists/{gist_id}/commits"], - listForUser: ["GET /users/{username}/gists"], - listForks: ["GET /gists/{gist_id}/forks"], - listPublic: ["GET /gists/public"], - listStarred: ["GET /gists/starred"], - star: ["PUT /gists/{gist_id}/star"], - unstar: ["DELETE /gists/{gist_id}/star"], - update: ["PATCH /gists/{gist_id}"], - updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"] - }, - git: { - createBlob: ["POST /repos/{owner}/{repo}/git/blobs"], - createCommit: ["POST /repos/{owner}/{repo}/git/commits"], - createRef: ["POST /repos/{owner}/{repo}/git/refs"], - createTag: ["POST /repos/{owner}/{repo}/git/tags"], - createTree: ["POST /repos/{owner}/{repo}/git/trees"], - deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"], - getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"], - getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"], - getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"], - getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"], - getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"], - listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"], - updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"] - }, - gitignore: { - getAllTemplates: ["GET /gitignore/templates"], - getTemplate: ["GET /gitignore/templates/{name}"] - }, - interactions: { - getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], - getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], - getRestrictionsForRepo: ["GET /repos/{owner}/{repo}/interaction-limits"], - getRestrictionsForYourPublicRepos: [ - "GET /user/interaction-limits", - {}, - { renamed: ["interactions", "getRestrictionsForAuthenticatedUser"] } - ], - removeRestrictionsForAuthenticatedUser: ["DELETE /user/interaction-limits"], - removeRestrictionsForOrg: ["DELETE /orgs/{org}/interaction-limits"], - removeRestrictionsForRepo: [ - "DELETE /repos/{owner}/{repo}/interaction-limits" - ], - removeRestrictionsForYourPublicRepos: [ - "DELETE /user/interaction-limits", - {}, - { renamed: ["interactions", "removeRestrictionsForAuthenticatedUser"] } - ], - setRestrictionsForAuthenticatedUser: ["PUT /user/interaction-limits"], - setRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits"], - setRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits"], - setRestrictionsForYourPublicRepos: [ - "PUT /user/interaction-limits", - {}, - { renamed: ["interactions", "setRestrictionsForAuthenticatedUser"] } - ] - }, - issues: { - addAssignees: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/assignees" - ], - addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"], - checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"], - checkUserCanBeAssignedToIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}" - ], - create: ["POST /repos/{owner}/{repo}/issues"], - createComment: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/comments" - ], - createLabel: ["POST /repos/{owner}/{repo}/labels"], - createMilestone: ["POST /repos/{owner}/{repo}/milestones"], - deleteComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}" - ], - deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"], - deleteMilestone: [ - "DELETE /repos/{owner}/{repo}/milestones/{milestone_number}" - ], - get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"], - getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"], - getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"], - getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"], - getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"], - list: ["GET /issues"], - listAssignees: ["GET /repos/{owner}/{repo}/assignees"], - listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"], - listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"], - listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"], - listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"], - listEventsForTimeline: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline" - ], - listForAuthenticatedUser: ["GET /user/issues"], - listForOrg: ["GET /orgs/{org}/issues"], - listForRepo: ["GET /repos/{owner}/{repo}/issues"], - listLabelsForMilestone: [ - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels" - ], - listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"], - listLabelsOnIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels" - ], - listMilestones: ["GET /repos/{owner}/{repo}/milestones"], - lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"], - removeAllLabels: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels" - ], - removeAssignees: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees" - ], - removeLabel: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}" - ], - setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"], - unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"], - update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"], - updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"], - updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"], - updateMilestone: [ - "PATCH /repos/{owner}/{repo}/milestones/{milestone_number}" - ] - }, - licenses: { - get: ["GET /licenses/{license}"], - getAllCommonlyUsed: ["GET /licenses"], - getForRepo: ["GET /repos/{owner}/{repo}/license"] - }, - markdown: { - render: ["POST /markdown"], - renderRaw: [ - "POST /markdown/raw", - { headers: { "content-type": "text/plain; charset=utf-8" } } - ] - }, - meta: { - get: ["GET /meta"], - getAllVersions: ["GET /versions"], - getOctocat: ["GET /octocat"], - getZen: ["GET /zen"], - root: ["GET /"] - }, - migrations: { - cancelImport: [ - "DELETE /repos/{owner}/{repo}/import", - {}, - { - deprecated: "octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import" - } - ], - deleteArchiveForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/archive" - ], - deleteArchiveForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/archive" - ], - downloadArchiveForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}/archive" - ], - getArchiveForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}/archive" - ], - getCommitAuthors: [ - "GET /repos/{owner}/{repo}/import/authors", - {}, - { - deprecated: "octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors" - } - ], - getImportStatus: [ - "GET /repos/{owner}/{repo}/import", - {}, - { - deprecated: "octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status" - } - ], - getLargeFiles: [ - "GET /repos/{owner}/{repo}/import/large_files", - {}, - { - deprecated: "octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files" - } - ], - getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}"], - getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}"], - listForAuthenticatedUser: ["GET /user/migrations"], - listForOrg: ["GET /orgs/{org}/migrations"], - listReposForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}/repositories" - ], - listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories"], - listReposForUser: [ - "GET /user/migrations/{migration_id}/repositories", - {}, - { renamed: ["migrations", "listReposForAuthenticatedUser"] } - ], - mapCommitAuthor: [ - "PATCH /repos/{owner}/{repo}/import/authors/{author_id}", - {}, - { - deprecated: "octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author" - } - ], - setLfsPreference: [ - "PATCH /repos/{owner}/{repo}/import/lfs", - {}, - { - deprecated: "octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference" - } - ], - startForAuthenticatedUser: ["POST /user/migrations"], - startForOrg: ["POST /orgs/{org}/migrations"], - startImport: [ - "PUT /repos/{owner}/{repo}/import", - {}, - { - deprecated: "octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import" - } - ], - unlockRepoForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock" - ], - unlockRepoForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock" - ], - updateImport: [ - "PATCH /repos/{owner}/{repo}/import", - {}, - { - deprecated: "octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import" - } - ] - }, - oidc: { - getOidcCustomSubTemplateForOrg: [ - "GET /orgs/{org}/actions/oidc/customization/sub" - ], - updateOidcCustomSubTemplateForOrg: [ - "PUT /orgs/{org}/actions/oidc/customization/sub" - ] - }, - orgs: { - addSecurityManagerTeam: [ - "PUT /orgs/{org}/security-managers/teams/{team_slug}" - ], - assignTeamToOrgRole: [ - "PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}" - ], - assignUserToOrgRole: [ - "PUT /orgs/{org}/organization-roles/users/{username}/{role_id}" - ], - blockUser: ["PUT /orgs/{org}/blocks/{username}"], - cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"], - checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], - checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], - checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], - convertMemberToOutsideCollaborator: [ - "PUT /orgs/{org}/outside_collaborators/{username}" - ], - createCustomOrganizationRole: ["POST /orgs/{org}/organization-roles"], - createInvitation: ["POST /orgs/{org}/invitations"], - createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], - createOrUpdateCustomPropertiesValuesForRepos: [ - "PATCH /orgs/{org}/properties/values" - ], - createOrUpdateCustomProperty: [ - "PUT /orgs/{org}/properties/schema/{custom_property_name}" - ], - createWebhook: ["POST /orgs/{org}/hooks"], - delete: ["DELETE /orgs/{org}"], - deleteCustomOrganizationRole: [ - "DELETE /orgs/{org}/organization-roles/{role_id}" - ], - deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], - enableOrDisableSecurityProductOnAllOrgRepos: [ - "POST /orgs/{org}/{security_product}/{enablement}" - ], - get: ["GET /orgs/{org}"], - getAllCustomProperties: ["GET /orgs/{org}/properties/schema"], - getCustomProperty: [ - "GET /orgs/{org}/properties/schema/{custom_property_name}" - ], - getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], - getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], - getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"], - getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], - getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], - getWebhookDelivery: [ - "GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}" - ], - list: ["GET /organizations"], - listAppInstallations: ["GET /orgs/{org}/installations"], - listBlockedUsers: ["GET /orgs/{org}/blocks"], - listCustomPropertiesValuesForRepos: ["GET /orgs/{org}/properties/values"], - listFailedInvitations: ["GET /orgs/{org}/failed_invitations"], - listForAuthenticatedUser: ["GET /user/orgs"], - listForUser: ["GET /users/{username}/orgs"], - listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], - listMembers: ["GET /orgs/{org}/members"], - listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], - listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"], - listOrgRoleUsers: ["GET /orgs/{org}/organization-roles/{role_id}/users"], - listOrgRoles: ["GET /orgs/{org}/organization-roles"], - listOrganizationFineGrainedPermissions: [ - "GET /orgs/{org}/organization-fine-grained-permissions" - ], - listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"], - listPatGrantRepositories: [ - "GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories" - ], - listPatGrantRequestRepositories: [ - "GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories" - ], - listPatGrantRequests: ["GET /orgs/{org}/personal-access-token-requests"], - listPatGrants: ["GET /orgs/{org}/personal-access-tokens"], - listPendingInvitations: ["GET /orgs/{org}/invitations"], - listPublicMembers: ["GET /orgs/{org}/public_members"], - listSecurityManagerTeams: ["GET /orgs/{org}/security-managers"], - listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"], - listWebhooks: ["GET /orgs/{org}/hooks"], - patchCustomOrganizationRole: [ - "PATCH /orgs/{org}/organization-roles/{role_id}" - ], - pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: [ - "POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts" - ], - removeCustomProperty: [ - "DELETE /orgs/{org}/properties/schema/{custom_property_name}" - ], - removeMember: ["DELETE /orgs/{org}/members/{username}"], - removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"], - removeOutsideCollaborator: [ - "DELETE /orgs/{org}/outside_collaborators/{username}" - ], - removePublicMembershipForAuthenticatedUser: [ - "DELETE /orgs/{org}/public_members/{username}" - ], - removeSecurityManagerTeam: [ - "DELETE /orgs/{org}/security-managers/teams/{team_slug}" - ], - reviewPatGrantRequest: [ - "POST /orgs/{org}/personal-access-token-requests/{pat_request_id}" - ], - reviewPatGrantRequestsInBulk: [ - "POST /orgs/{org}/personal-access-token-requests" - ], - revokeAllOrgRolesTeam: [ - "DELETE /orgs/{org}/organization-roles/teams/{team_slug}" - ], - revokeAllOrgRolesUser: [ - "DELETE /orgs/{org}/organization-roles/users/{username}" - ], - revokeOrgRoleTeam: [ - "DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}" - ], - revokeOrgRoleUser: [ - "DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}" - ], - setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"], - setPublicMembershipForAuthenticatedUser: [ - "PUT /orgs/{org}/public_members/{username}" - ], - unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], - update: ["PATCH /orgs/{org}"], - updateMembershipForAuthenticatedUser: [ - "PATCH /user/memberships/orgs/{org}" - ], - updatePatAccess: ["POST /orgs/{org}/personal-access-tokens/{pat_id}"], - updatePatAccesses: ["POST /orgs/{org}/personal-access-tokens"], - updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"], - updateWebhookConfigForOrg: ["PATCH /orgs/{org}/hooks/{hook_id}/config"] - }, - packages: { - deletePackageForAuthenticatedUser: [ - "DELETE /user/packages/{package_type}/{package_name}" - ], - deletePackageForOrg: [ - "DELETE /orgs/{org}/packages/{package_type}/{package_name}" - ], - deletePackageForUser: [ - "DELETE /users/{username}/packages/{package_type}/{package_name}" - ], - deletePackageVersionForAuthenticatedUser: [ - "DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - deletePackageVersionForOrg: [ - "DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - deletePackageVersionForUser: [ - "DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - getAllPackageVersionsForAPackageOwnedByAnOrg: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions", - {}, - { renamed: ["packages", "getAllPackageVersionsForPackageOwnedByOrg"] } - ], - getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions", - {}, - { - renamed: [ - "packages", - "getAllPackageVersionsForPackageOwnedByAuthenticatedUser" - ] - } - ], - getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions" - ], - getAllPackageVersionsForPackageOwnedByOrg: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions" - ], - getAllPackageVersionsForPackageOwnedByUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}/versions" - ], - getPackageForAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}" - ], - getPackageForOrganization: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}" - ], - getPackageForUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}" - ], - getPackageVersionForAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - getPackageVersionForOrganization: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - getPackageVersionForUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - listDockerMigrationConflictingPackagesForAuthenticatedUser: [ - "GET /user/docker/conflicts" - ], - listDockerMigrationConflictingPackagesForOrganization: [ - "GET /orgs/{org}/docker/conflicts" - ], - listDockerMigrationConflictingPackagesForUser: [ - "GET /users/{username}/docker/conflicts" - ], - listPackagesForAuthenticatedUser: ["GET /user/packages"], - listPackagesForOrganization: ["GET /orgs/{org}/packages"], - listPackagesForUser: ["GET /users/{username}/packages"], - restorePackageForAuthenticatedUser: [ - "POST /user/packages/{package_type}/{package_name}/restore{?token}" - ], - restorePackageForOrg: [ - "POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}" - ], - restorePackageForUser: [ - "POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}" - ], - restorePackageVersionForAuthenticatedUser: [ - "POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore" - ], - restorePackageVersionForOrg: [ - "POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore" - ], - restorePackageVersionForUser: [ - "POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore" - ] - }, - projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], - getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], - removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" - ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] - }, - pulls: { - checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - create: ["POST /repos/{owner}/{repo}/pulls"], - createReplyForReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies" - ], - createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - createReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments" - ], - deletePendingReview: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}" - ], - deleteReviewComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}" - ], - dismissReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals" - ], - get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"], - getReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}" - ], - getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - list: ["GET /repos/{owner}/{repo}/pulls"], - listCommentsForReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments" - ], - listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"], - listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"], - listRequestedReviewers: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers" - ], - listReviewComments: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments" - ], - listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"], - listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - removeRequestedReviewers: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers" - ], - requestReviewers: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers" - ], - submitReview: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events" - ], - update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"], - updateBranch: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch" - ], - updateReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}" - ], - updateReviewComment: [ - "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}" - ] - }, - rateLimit: { get: ["GET /rate_limit"] }, - reactions: { - createForCommitComment: [ - "POST /repos/{owner}/{repo}/comments/{comment_id}/reactions" - ], - createForIssue: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions" - ], - createForIssueComment: [ - "POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions" - ], - createForPullRequestReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions" - ], - createForRelease: [ - "POST /repos/{owner}/{repo}/releases/{release_id}/reactions" - ], - createForTeamDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions" - ], - createForTeamDiscussionInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions" - ], - deleteForCommitComment: [ - "DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}" - ], - deleteForIssue: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}" - ], - deleteForIssueComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}" - ], - deleteForPullRequestComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}" - ], - deleteForRelease: [ - "DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}" - ], - deleteForTeamDiscussion: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}" - ], - deleteForTeamDiscussionComment: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}" - ], - listForCommitComment: [ - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions" - ], - listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"], - listForIssueComment: [ - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions" - ], - listForPullRequestReviewComment: [ - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions" - ], - listForRelease: [ - "GET /repos/{owner}/{repo}/releases/{release_id}/reactions" - ], - listForTeamDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions" - ], - listForTeamDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions" - ] - }, - repos: { - acceptInvitation: [ - "PATCH /user/repository_invitations/{invitation_id}", - {}, - { renamed: ["repos", "acceptInvitationForAuthenticatedUser"] } - ], - acceptInvitationForAuthenticatedUser: [ - "PATCH /user/repository_invitations/{invitation_id}" - ], - addAppAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" } - ], - addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"], - addStatusCheckContexts: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" } - ], - addTeamAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" } - ], - addUserAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" } - ], - cancelPagesDeployment: [ - "POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel" - ], - checkAutomatedSecurityFixes: [ - "GET /repos/{owner}/{repo}/automated-security-fixes" - ], - checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"], - checkVulnerabilityAlerts: [ - "GET /repos/{owner}/{repo}/vulnerability-alerts" - ], - codeownersErrors: ["GET /repos/{owner}/{repo}/codeowners/errors"], - compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"], - compareCommitsWithBasehead: [ - "GET /repos/{owner}/{repo}/compare/{basehead}" - ], - createAutolink: ["POST /repos/{owner}/{repo}/autolinks"], - createCommitComment: [ - "POST /repos/{owner}/{repo}/commits/{commit_sha}/comments" - ], - createCommitSignatureProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures" - ], - createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], - createDeployKey: ["POST /repos/{owner}/{repo}/keys"], - createDeployment: ["POST /repos/{owner}/{repo}/deployments"], - createDeploymentBranchPolicy: [ - "POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies" - ], - createDeploymentProtectionRule: [ - "POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules" - ], - createDeploymentStatus: [ - "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses" - ], - createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"], - createForAuthenticatedUser: ["POST /user/repos"], - createFork: ["POST /repos/{owner}/{repo}/forks"], - createInOrg: ["POST /orgs/{org}/repos"], - createOrUpdateCustomPropertiesValues: [ - "PATCH /repos/{owner}/{repo}/properties/values" - ], - createOrUpdateEnvironment: [ - "PUT /repos/{owner}/{repo}/environments/{environment_name}" - ], - createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], - createOrgRuleset: ["POST /orgs/{org}/rulesets"], - createPagesDeployment: ["POST /repos/{owner}/{repo}/pages/deployments"], - createPagesSite: ["POST /repos/{owner}/{repo}/pages"], - createRelease: ["POST /repos/{owner}/{repo}/releases"], - createRepoRuleset: ["POST /repos/{owner}/{repo}/rulesets"], - createTagProtection: ["POST /repos/{owner}/{repo}/tags/protection"], - createUsingTemplate: [ - "POST /repos/{template_owner}/{template_repo}/generate" - ], - createWebhook: ["POST /repos/{owner}/{repo}/hooks"], - declineInvitation: [ - "DELETE /user/repository_invitations/{invitation_id}", - {}, - { renamed: ["repos", "declineInvitationForAuthenticatedUser"] } - ], - declineInvitationForAuthenticatedUser: [ - "DELETE /user/repository_invitations/{invitation_id}" - ], - delete: ["DELETE /repos/{owner}/{repo}"], - deleteAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions" - ], - deleteAdminBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins" - ], - deleteAnEnvironment: [ - "DELETE /repos/{owner}/{repo}/environments/{environment_name}" - ], - deleteAutolink: ["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"], - deleteBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection" - ], - deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"], - deleteCommitSignatureProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures" - ], - deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], - deleteDeployment: [ - "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}" - ], - deleteDeploymentBranchPolicy: [ - "DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}" - ], - deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"], - deleteInvitation: [ - "DELETE /repos/{owner}/{repo}/invitations/{invitation_id}" - ], - deleteOrgRuleset: ["DELETE /orgs/{org}/rulesets/{ruleset_id}"], - deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages"], - deletePullRequestReviewProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews" - ], - deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"], - deleteReleaseAsset: [ - "DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}" - ], - deleteRepoRuleset: ["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"], - deleteTagProtection: [ - "DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}" - ], - deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"], - disableAutomatedSecurityFixes: [ - "DELETE /repos/{owner}/{repo}/automated-security-fixes" - ], - disableDeploymentProtectionRule: [ - "DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}" - ], - disablePrivateVulnerabilityReporting: [ - "DELETE /repos/{owner}/{repo}/private-vulnerability-reporting" - ], - disableVulnerabilityAlerts: [ - "DELETE /repos/{owner}/{repo}/vulnerability-alerts" - ], - downloadArchive: [ - "GET /repos/{owner}/{repo}/zipball/{ref}", - {}, - { renamed: ["repos", "downloadZipballArchive"] } - ], - downloadTarballArchive: ["GET /repos/{owner}/{repo}/tarball/{ref}"], - downloadZipballArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}"], - enableAutomatedSecurityFixes: [ - "PUT /repos/{owner}/{repo}/automated-security-fixes" - ], - enablePrivateVulnerabilityReporting: [ - "PUT /repos/{owner}/{repo}/private-vulnerability-reporting" - ], - enableVulnerabilityAlerts: [ - "PUT /repos/{owner}/{repo}/vulnerability-alerts" - ], - generateReleaseNotes: [ - "POST /repos/{owner}/{repo}/releases/generate-notes" - ], - get: ["GET /repos/{owner}/{repo}"], - getAccessRestrictions: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions" - ], - getAdminBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins" - ], - getAllDeploymentProtectionRules: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules" - ], - getAllEnvironments: ["GET /repos/{owner}/{repo}/environments"], - getAllStatusCheckContexts: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts" - ], - getAllTopics: ["GET /repos/{owner}/{repo}/topics"], - getAppsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps" - ], - getAutolink: ["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"], - getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"], - getBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection" - ], - getBranchRules: ["GET /repos/{owner}/{repo}/rules/branches/{branch}"], - getClones: ["GET /repos/{owner}/{repo}/traffic/clones"], - getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"], - getCollaboratorPermissionLevel: [ - "GET /repos/{owner}/{repo}/collaborators/{username}/permission" - ], - getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"], - getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"], - getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"], - getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"], - getCommitSignatureProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures" - ], - getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], - getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], - getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"], - getCustomDeploymentProtectionRule: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}" - ], - getCustomPropertiesValues: ["GET /repos/{owner}/{repo}/properties/values"], - getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"], - getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"], - getDeploymentBranchPolicy: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}" - ], - getDeploymentStatus: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}" - ], - getEnvironment: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}" - ], - getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"], - getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"], - getOrgRuleSuite: ["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"], - getOrgRuleSuites: ["GET /orgs/{org}/rulesets/rule-suites"], - getOrgRuleset: ["GET /orgs/{org}/rulesets/{ruleset_id}"], - getOrgRulesets: ["GET /orgs/{org}/rulesets"], - getPages: ["GET /repos/{owner}/{repo}/pages"], - getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"], - getPagesDeployment: [ - "GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}" - ], - getPagesHealthCheck: ["GET /repos/{owner}/{repo}/pages/health"], - getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"], - getPullRequestReviewProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews" - ], - getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"], - getReadme: ["GET /repos/{owner}/{repo}/readme"], - getReadmeInDirectory: ["GET /repos/{owner}/{repo}/readme/{dir}"], - getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"], - getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"], - getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"], - getRepoRuleSuite: [ - "GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}" - ], - getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], - getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], - getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], - getStatusChecksProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" - ], - getTeamsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams" - ], - getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"], - getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"], - getUsersWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users" - ], - getViews: ["GET /repos/{owner}/{repo}/traffic/views"], - getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"], - getWebhookConfigForRepo: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/config" - ], - getWebhookDelivery: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}" - ], - listActivities: ["GET /repos/{owner}/{repo}/activity"], - listAutolinks: ["GET /repos/{owner}/{repo}/autolinks"], - listBranches: ["GET /repos/{owner}/{repo}/branches"], - listBranchesForHeadCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head" - ], - listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"], - listCommentsForCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments" - ], - listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"], - listCommitStatusesForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/statuses" - ], - listCommits: ["GET /repos/{owner}/{repo}/commits"], - listContributors: ["GET /repos/{owner}/{repo}/contributors"], - listCustomDeploymentRuleIntegrations: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps" - ], - listDeployKeys: ["GET /repos/{owner}/{repo}/keys"], - listDeploymentBranchPolicies: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies" - ], - listDeploymentStatuses: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses" - ], - listDeployments: ["GET /repos/{owner}/{repo}/deployments"], - listForAuthenticatedUser: ["GET /user/repos"], - listForOrg: ["GET /orgs/{org}/repos"], - listForUser: ["GET /users/{username}/repos"], - listForks: ["GET /repos/{owner}/{repo}/forks"], - listInvitations: ["GET /repos/{owner}/{repo}/invitations"], - listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"], - listLanguages: ["GET /repos/{owner}/{repo}/languages"], - listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"], - listPublic: ["GET /repositories"], - listPullRequestsAssociatedWithCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls" - ], - listReleaseAssets: [ - "GET /repos/{owner}/{repo}/releases/{release_id}/assets" - ], - listReleases: ["GET /repos/{owner}/{repo}/releases"], - listTagProtection: ["GET /repos/{owner}/{repo}/tags/protection"], - listTags: ["GET /repos/{owner}/{repo}/tags"], - listTeams: ["GET /repos/{owner}/{repo}/teams"], - listWebhookDeliveries: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries" - ], - listWebhooks: ["GET /repos/{owner}/{repo}/hooks"], - merge: ["POST /repos/{owner}/{repo}/merges"], - mergeUpstream: ["POST /repos/{owner}/{repo}/merge-upstream"], - pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: [ - "POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts" - ], - removeAppAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" } - ], - removeCollaborator: [ - "DELETE /repos/{owner}/{repo}/collaborators/{username}" - ], - removeStatusCheckContexts: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" } - ], - removeStatusCheckProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" - ], - removeTeamAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" } - ], - removeUserAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" } - ], - renameBranch: ["POST /repos/{owner}/{repo}/branches/{branch}/rename"], - replaceAllTopics: ["PUT /repos/{owner}/{repo}/topics"], - requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"], - setAdminBranchProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins" - ], - setAppAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" } - ], - setStatusCheckContexts: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" } - ], - setTeamAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" } - ], - setUserAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" } - ], - testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"], - transfer: ["POST /repos/{owner}/{repo}/transfer"], - update: ["PATCH /repos/{owner}/{repo}"], - updateBranchProtection: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection" - ], - updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"], - updateDeploymentBranchPolicy: [ - "PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}" - ], - updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"], - updateInvitation: [ - "PATCH /repos/{owner}/{repo}/invitations/{invitation_id}" - ], - updateOrgRuleset: ["PUT /orgs/{org}/rulesets/{ruleset_id}"], - updatePullRequestReviewProtection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews" - ], - updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"], - updateReleaseAsset: [ - "PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}" - ], - updateRepoRuleset: ["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"], - updateStatusCheckPotection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - {}, - { renamed: ["repos", "updateStatusCheckProtection"] } - ], - updateStatusCheckProtection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" - ], - updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"], - updateWebhookConfigForRepo: [ - "PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config" - ], - uploadReleaseAsset: [ - "POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", - { baseUrl: "https://uploads.github.com" } - ] - }, - search: { - code: ["GET /search/code"], - commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], - labels: ["GET /search/labels"], - repos: ["GET /search/repositories"], - topics: ["GET /search/topics"], - users: ["GET /search/users"] - }, - secretScanning: { - getAlert: [ - "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}" - ], - listAlertsForEnterprise: [ - "GET /enterprises/{enterprise}/secret-scanning/alerts" - ], - listAlertsForOrg: ["GET /orgs/{org}/secret-scanning/alerts"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/secret-scanning/alerts"], - listLocationsForAlert: [ - "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations" - ], - updateAlert: [ - "PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}" - ] - }, - securityAdvisories: { - createFork: [ - "POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks" - ], - createPrivateVulnerabilityReport: [ - "POST /repos/{owner}/{repo}/security-advisories/reports" - ], - createRepositoryAdvisory: [ - "POST /repos/{owner}/{repo}/security-advisories" - ], - createRepositoryAdvisoryCveRequest: [ - "POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve" - ], - getGlobalAdvisory: ["GET /advisories/{ghsa_id}"], - getRepositoryAdvisory: [ - "GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}" - ], - listGlobalAdvisories: ["GET /advisories"], - listOrgRepositoryAdvisories: ["GET /orgs/{org}/security-advisories"], - listRepositoryAdvisories: ["GET /repos/{owner}/{repo}/security-advisories"], - updateRepositoryAdvisory: [ - "PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}" - ] - }, - teams: { - addOrUpdateMembershipForUserInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" - ], - addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" - ], - addOrUpdateRepoPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" - ], - checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" - ], - checkPermissionsForRepoInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" - ], - create: ["POST /orgs/{org}/teams"], - createDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments" - ], - createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"], - deleteDiscussionCommentInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}" - ], - deleteDiscussionInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}" - ], - deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"], - getByName: ["GET /orgs/{org}/teams/{team_slug}"], - getDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}" - ], - getDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}" - ], - getMembershipForUserInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/memberships/{username}" - ], - list: ["GET /orgs/{org}/teams"], - listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"], - listDiscussionCommentsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments" - ], - listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"], - listForAuthenticatedUser: ["GET /user/teams"], - listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"], - listPendingInvitationsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/invitations" - ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], - listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], - removeMembershipForUserInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" - ], - removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" - ], - removeRepoInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" - ], - updateDiscussionCommentInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}" - ], - updateDiscussionInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}" - ], - updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"] - }, - users: { - addEmailForAuthenticated: [ - "POST /user/emails", - {}, - { renamed: ["users", "addEmailForAuthenticatedUser"] } - ], - addEmailForAuthenticatedUser: ["POST /user/emails"], - addSocialAccountForAuthenticatedUser: ["POST /user/social_accounts"], - block: ["PUT /user/blocks/{username}"], - checkBlocked: ["GET /user/blocks/{username}"], - checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], - checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], - createGpgKeyForAuthenticated: [ - "POST /user/gpg_keys", - {}, - { renamed: ["users", "createGpgKeyForAuthenticatedUser"] } - ], - createGpgKeyForAuthenticatedUser: ["POST /user/gpg_keys"], - createPublicSshKeyForAuthenticated: [ - "POST /user/keys", - {}, - { renamed: ["users", "createPublicSshKeyForAuthenticatedUser"] } - ], - createPublicSshKeyForAuthenticatedUser: ["POST /user/keys"], - createSshSigningKeyForAuthenticatedUser: ["POST /user/ssh_signing_keys"], - deleteEmailForAuthenticated: [ - "DELETE /user/emails", - {}, - { renamed: ["users", "deleteEmailForAuthenticatedUser"] } - ], - deleteEmailForAuthenticatedUser: ["DELETE /user/emails"], - deleteGpgKeyForAuthenticated: [ - "DELETE /user/gpg_keys/{gpg_key_id}", - {}, - { renamed: ["users", "deleteGpgKeyForAuthenticatedUser"] } - ], - deleteGpgKeyForAuthenticatedUser: ["DELETE /user/gpg_keys/{gpg_key_id}"], - deletePublicSshKeyForAuthenticated: [ - "DELETE /user/keys/{key_id}", - {}, - { renamed: ["users", "deletePublicSshKeyForAuthenticatedUser"] } - ], - deletePublicSshKeyForAuthenticatedUser: ["DELETE /user/keys/{key_id}"], - deleteSocialAccountForAuthenticatedUser: ["DELETE /user/social_accounts"], - deleteSshSigningKeyForAuthenticatedUser: [ - "DELETE /user/ssh_signing_keys/{ssh_signing_key_id}" - ], - follow: ["PUT /user/following/{username}"], - getAuthenticated: ["GET /user"], - getByUsername: ["GET /users/{username}"], - getContextForUser: ["GET /users/{username}/hovercard"], - getGpgKeyForAuthenticated: [ - "GET /user/gpg_keys/{gpg_key_id}", - {}, - { renamed: ["users", "getGpgKeyForAuthenticatedUser"] } - ], - getGpgKeyForAuthenticatedUser: ["GET /user/gpg_keys/{gpg_key_id}"], - getPublicSshKeyForAuthenticated: [ - "GET /user/keys/{key_id}", - {}, - { renamed: ["users", "getPublicSshKeyForAuthenticatedUser"] } - ], - getPublicSshKeyForAuthenticatedUser: ["GET /user/keys/{key_id}"], - getSshSigningKeyForAuthenticatedUser: [ - "GET /user/ssh_signing_keys/{ssh_signing_key_id}" - ], - list: ["GET /users"], - listBlockedByAuthenticated: [ - "GET /user/blocks", - {}, - { renamed: ["users", "listBlockedByAuthenticatedUser"] } - ], - listBlockedByAuthenticatedUser: ["GET /user/blocks"], - listEmailsForAuthenticated: [ - "GET /user/emails", - {}, - { renamed: ["users", "listEmailsForAuthenticatedUser"] } - ], - listEmailsForAuthenticatedUser: ["GET /user/emails"], - listFollowedByAuthenticated: [ - "GET /user/following", - {}, - { renamed: ["users", "listFollowedByAuthenticatedUser"] } - ], - listFollowedByAuthenticatedUser: ["GET /user/following"], - listFollowersForAuthenticatedUser: ["GET /user/followers"], - listFollowersForUser: ["GET /users/{username}/followers"], - listFollowingForUser: ["GET /users/{username}/following"], - listGpgKeysForAuthenticated: [ - "GET /user/gpg_keys", - {}, - { renamed: ["users", "listGpgKeysForAuthenticatedUser"] } - ], - listGpgKeysForAuthenticatedUser: ["GET /user/gpg_keys"], - listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], - listPublicEmailsForAuthenticated: [ - "GET /user/public_emails", - {}, - { renamed: ["users", "listPublicEmailsForAuthenticatedUser"] } - ], - listPublicEmailsForAuthenticatedUser: ["GET /user/public_emails"], - listPublicKeysForUser: ["GET /users/{username}/keys"], - listPublicSshKeysForAuthenticated: [ - "GET /user/keys", - {}, - { renamed: ["users", "listPublicSshKeysForAuthenticatedUser"] } - ], - listPublicSshKeysForAuthenticatedUser: ["GET /user/keys"], - listSocialAccountsForAuthenticatedUser: ["GET /user/social_accounts"], - listSocialAccountsForUser: ["GET /users/{username}/social_accounts"], - listSshSigningKeysForAuthenticatedUser: ["GET /user/ssh_signing_keys"], - listSshSigningKeysForUser: ["GET /users/{username}/ssh_signing_keys"], - setPrimaryEmailVisibilityForAuthenticated: [ - "PATCH /user/email/visibility", - {}, - { renamed: ["users", "setPrimaryEmailVisibilityForAuthenticatedUser"] } - ], - setPrimaryEmailVisibilityForAuthenticatedUser: [ - "PATCH /user/email/visibility" - ], - unblock: ["DELETE /user/blocks/{username}"], - unfollow: ["DELETE /user/following/{username}"], - updateAuthenticated: ["PATCH /user"] - } -}; -var endpoints_default = Endpoints; - -// pkg/dist-src/endpoints-to-methods.js -var endpointMethodsMap = /* @__PURE__ */ new Map(); -for (const [scope, endpoints] of Object.entries(endpoints_default)) { - for (const [methodName, endpoint] of Object.entries(endpoints)) { - const [route, defaults, decorations] = endpoint; - const [method, url] = route.split(/ /); - const endpointDefaults = Object.assign( - { - method, - url - }, - defaults - ); - if (!endpointMethodsMap.has(scope)) { - endpointMethodsMap.set(scope, /* @__PURE__ */ new Map()); - } - endpointMethodsMap.get(scope).set(methodName, { - scope, - methodName, - endpointDefaults, - decorations - }); - } -} -var handler = { - has({ scope }, methodName) { - return endpointMethodsMap.get(scope).has(methodName); - }, - getOwnPropertyDescriptor(target, methodName) { - return { - value: this.get(target, methodName), - // ensures method is in the cache - configurable: true, - writable: true, - enumerable: true - }; - }, - defineProperty(target, methodName, descriptor) { - Object.defineProperty(target.cache, methodName, descriptor); - return true; - }, - deleteProperty(target, methodName) { - delete target.cache[methodName]; - return true; - }, - ownKeys({ scope }) { - return [...endpointMethodsMap.get(scope).keys()]; - }, - set(target, methodName, value) { - return target.cache[methodName] = value; - }, - get({ octokit, scope, cache }, methodName) { - if (cache[methodName]) { - return cache[methodName]; - } - const method = endpointMethodsMap.get(scope).get(methodName); - if (!method) { - return void 0; - } - const { endpointDefaults, decorations } = method; - if (decorations) { - cache[methodName] = decorate( - octokit, - scope, - methodName, - endpointDefaults, - decorations - ); - } else { - cache[methodName] = octokit.request.defaults(endpointDefaults); - } - return cache[methodName]; - } -}; -function endpointsToMethods(octokit) { - const newMethods = {}; - for (const scope of endpointMethodsMap.keys()) { - newMethods[scope] = new Proxy({ octokit, scope, cache: {} }, handler); - } - return newMethods; -} -function decorate(octokit, scope, methodName, defaults, decorations) { - const requestWithDefaults = octokit.request.defaults(defaults); - function withDecorations(...args) { - let options = requestWithDefaults.endpoint.merge(...args); - if (decorations.mapToData) { - options = Object.assign({}, options, { - data: options[decorations.mapToData], - [decorations.mapToData]: void 0 - }); - return requestWithDefaults(options); - } - if (decorations.renamed) { - const [newScope, newMethodName] = decorations.renamed; - octokit.log.warn( - `octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()` - ); - } - if (decorations.deprecated) { - octokit.log.warn(decorations.deprecated); - } - if (decorations.renamedParameters) { - const options2 = requestWithDefaults.endpoint.merge(...args); - for (const [name, alias] of Object.entries( - decorations.renamedParameters - )) { - if (name in options2) { - octokit.log.warn( - `"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead` - ); - if (!(alias in options2)) { - options2[alias] = options2[name]; - } - delete options2[name]; - } - } - return requestWithDefaults(options2); - } - return requestWithDefaults(...args); - } - return Object.assign(withDecorations, requestWithDefaults); -} - -// pkg/dist-src/index.js -function restEndpointMethods(octokit) { - const api = endpointsToMethods(octokit); - return { - rest: api - }; -} -restEndpointMethods.VERSION = VERSION; -function legacyRestEndpointMethods(octokit) { - const api = endpointsToMethods(octokit); - return { - ...api, - rest: api - }; -} -legacyRestEndpointMethods.VERSION = VERSION; -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 537: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -"use strict"; - -var __create = Object.create; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __getProtoOf = Object.getPrototypeOf; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( - // If the importer is in node compatibility mode or this is not an ESM - // file that has been converted to a CommonJS file using a Babel- - // compatible transform (i.e. "__esModule" has not been set), then set - // "default" to the CommonJS "module.exports" for node compatibility. - isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, - mod -)); -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - RequestError: () => RequestError -}); -module.exports = __toCommonJS(dist_src_exports); -var import_deprecation = __nccwpck_require__(8932); -var import_once = __toESM(__nccwpck_require__(1223)); -var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation)); -var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation)); -var RequestError = class extends Error { - constructor(message, statusCode, options) { - super(message); - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - this.name = "HttpError"; - this.status = statusCode; - let headers; - if ("headers" in options && typeof options.headers !== "undefined") { - headers = options.headers; - } - if ("response" in options) { - this.response = options.response; - headers = options.response.headers; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - /(? { - -"use strict"; - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - request: () => request -}); -module.exports = __toCommonJS(dist_src_exports); -var import_endpoint = __nccwpck_require__(9440); -var import_universal_user_agent = __nccwpck_require__(5030); - -// pkg/dist-src/version.js -var VERSION = "8.4.1"; - -// pkg/dist-src/is-plain-object.js -function isPlainObject(value) { - if (typeof value !== "object" || value === null) - return false; - if (Object.prototype.toString.call(value) !== "[object Object]") - return false; - const proto = Object.getPrototypeOf(value); - if (proto === null) - return true; - const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor; - return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value); -} - -// pkg/dist-src/fetch-wrapper.js -var import_request_error = __nccwpck_require__(537); - -// pkg/dist-src/get-buffer-response.js -function getBufferResponse(response) { - return response.arrayBuffer(); -} - -// pkg/dist-src/fetch-wrapper.js -function fetchWrapper(requestOptions) { - var _a, _b, _c, _d; - const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console; - const parseSuccessResponseBody = ((_a = requestOptions.request) == null ? void 0 : _a.parseSuccessResponseBody) !== false; - if (isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) { - requestOptions.body = JSON.stringify(requestOptions.body); - } - let headers = {}; - let status; - let url; - let { fetch } = globalThis; - if ((_b = requestOptions.request) == null ? void 0 : _b.fetch) { - fetch = requestOptions.request.fetch; - } - if (!fetch) { - throw new Error( - "fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing" - ); - } - return fetch(requestOptions.url, { - method: requestOptions.method, - body: requestOptions.body, - redirect: (_c = requestOptions.request) == null ? void 0 : _c.redirect, - headers: requestOptions.headers, - signal: (_d = requestOptions.request) == null ? void 0 : _d.signal, - // duplex must be set if request.body is ReadableStream or Async Iterables. - // See https://fetch.spec.whatwg.org/#dom-requestinit-duplex. - ...requestOptions.body && { duplex: "half" } - }).then(async (response) => { - url = response.url; - status = response.status; - for (const keyAndValue of response.headers) { - headers[keyAndValue[0]] = keyAndValue[1]; - } - if ("deprecation" in headers) { - const matches = headers.link && headers.link.match(/<([^<>]+)>; rel="deprecation"/); - const deprecationLink = matches && matches.pop(); - log.warn( - `[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}` - ); - } - if (status === 204 || status === 205) { - return; - } - if (requestOptions.method === "HEAD") { - if (status < 400) { - return; - } - throw new import_request_error.RequestError(response.statusText, status, { - response: { - url, - status, - headers, - data: void 0 - }, - request: requestOptions - }); - } - if (status === 304) { - throw new import_request_error.RequestError("Not modified", status, { - response: { - url, - status, - headers, - data: await getResponseData(response) - }, - request: requestOptions - }); - } - if (status >= 400) { - const data = await getResponseData(response); - const error = new import_request_error.RequestError(toErrorMessage(data), status, { - response: { - url, - status, - headers, - data - }, - request: requestOptions - }); - throw error; - } - return parseSuccessResponseBody ? await getResponseData(response) : response.body; - }).then((data) => { - return { - status, - url, - headers, - data - }; - }).catch((error) => { - if (error instanceof import_request_error.RequestError) - throw error; - else if (error.name === "AbortError") - throw error; - let message = error.message; - if (error.name === "TypeError" && "cause" in error) { - if (error.cause instanceof Error) { - message = error.cause.message; - } else if (typeof error.cause === "string") { - message = error.cause; - } - } - throw new import_request_error.RequestError(message, 500, { - request: requestOptions - }); - }); -} -async function getResponseData(response) { - const contentType = response.headers.get("content-type"); - if (/application\/json/.test(contentType)) { - return response.json().catch(() => response.text()).catch(() => ""); - } - if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { - return response.text(); - } - return getBufferResponse(response); -} -function toErrorMessage(data) { - if (typeof data === "string") - return data; - let suffix; - if ("documentation_url" in data) { - suffix = ` - ${data.documentation_url}`; - } else { - suffix = ""; - } - if ("message" in data) { - if (Array.isArray(data.errors)) { - return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}${suffix}`; - } - return `${data.message}${suffix}`; - } - return `Unknown error: ${JSON.stringify(data)}`; -} - -// pkg/dist-src/with-defaults.js -function withDefaults(oldEndpoint, newDefaults) { - const endpoint2 = oldEndpoint.defaults(newDefaults); - const newApi = function(route, parameters) { - const endpointOptions = endpoint2.merge(route, parameters); - if (!endpointOptions.request || !endpointOptions.request.hook) { - return fetchWrapper(endpoint2.parse(endpointOptions)); - } - const request2 = (route2, parameters2) => { - return fetchWrapper( - endpoint2.parse(endpoint2.merge(route2, parameters2)) - ); - }; - Object.assign(request2, { - endpoint: endpoint2, - defaults: withDefaults.bind(null, endpoint2) - }); - return endpointOptions.request.hook(request2, endpointOptions); - }; - return Object.assign(newApi, { - endpoint: endpoint2, - defaults: withDefaults.bind(null, endpoint2) - }); -} - -// pkg/dist-src/index.js -var request = withDefaults(import_endpoint.endpoint, { - headers: { - "user-agent": `octokit-request.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}` - } -}); -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 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, - RequestBuilder: () => RequestBuilder, - createIsIdentityExpiredFunction: () => createIsIdentityExpiredFunction, - createPaginator: () => createPaginator, - doesIdentityRequireRefresh: () => doesIdentityRequireRefresh, - getHttpAuthSchemeEndpointRuleSetPlugin: () => getHttpAuthSchemeEndpointRuleSetPlugin, - getHttpAuthSchemePlugin: () => getHttpAuthSchemePlugin, - getHttpSigningPlugin: () => getHttpSigningPlugin, - getSmithyContext: () => getSmithyContext3, - httpAuthSchemeEndpointRuleSetMiddlewareOptions: () => httpAuthSchemeEndpointRuleSetMiddlewareOptions, - httpAuthSchemeMiddleware: () => httpAuthSchemeMiddleware, - httpAuthSchemeMiddlewareOptions: () => httpAuthSchemeMiddlewareOptions, - httpSigningMiddleware: () => httpSigningMiddleware, - httpSigningMiddlewareOptions: () => httpSigningMiddlewareOptions, - isIdentityExpired: () => isIdentityExpired, - memoizeIdentityProvider: () => memoizeIdentityProvider, - normalizeProvider: () => normalizeProvider, - requestBuilder: () => requestBuilder -}); -module.exports = __toCommonJS(src_exports); - -// 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 import_middleware_endpoint = __nccwpck_require__(2918); -var httpAuthSchemeEndpointRuleSetMiddlewareOptions = { - step: "serialize", - tags: ["HTTP_AUTH_SCHEME"], - name: "httpAuthSchemeMiddleware", - override: true, - relation: "before", - toMiddleware: import_middleware_endpoint.endpointMiddlewareOptions.name -}; -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 import_middleware_retry = __nccwpck_require__(6039); -var httpSigningMiddlewareOptions = { - step: "finalizeRequest", - tags: ["HTTP_SIGNING"], - name: "httpSigningMiddleware", - aliases: ["apiKeyMiddleware", "tokenMiddleware", "awsAuthMiddleware"], - override: true, - relation: "after", - toMiddleware: import_middleware_retry.retryMiddlewareOptions.name -}; -var getHttpSigningPlugin = /* @__PURE__ */ __name((config) => ({ - applyToStack: (clientStack) => { - clientStack.addRelativeTo(httpSigningMiddleware(config), httpSigningMiddlewareOptions); - } -}), "getHttpSigningPlugin"); - -// 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 import_types = __nccwpck_require__(5756); -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 = httpRequest.clone(); - 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 = httpRequest.clone(); - 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"); - -// src/getSmithyContext.ts - -var getSmithyContext3 = /* @__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"); - -// src/protocols/requestBuilder.ts - -var import_smithy_client = __nccwpck_require__(3570); -function requestBuilder(input, context) { - return new RequestBuilder(input, context); -} -__name(requestBuilder, "requestBuilder"); -var _RequestBuilder = class _RequestBuilder { - 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 = (0, import_smithy_client.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; - } -}; -__name(_RequestBuilder, "RequestBuilder"); -var RequestBuilder = _RequestBuilder; - -// 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"); -// 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) -}), "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(); - const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions)); - if (!isImdsCredentials(credsResponse)) { - throw new import_property_provider.CredentialsProviderError("Invalid response received from instance metadata service."); - } - 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 () => { - 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`, - false - ); - } - if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) { - throw new import_property_provider.CredentialsProviderError( - `${parsed.protocol} is not a valid container metadata service protocol`, - false - ); - } - 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`, - false - ); -}, "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(getInstanceImdsProvider(init), { logger: init.logger }), "fromInstanceMetadata"); -var getInstanceImdsProvider = /* @__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.` - ); - } - 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); - } 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 - }); - } - }; -}, "getInstanceImdsProvider"); -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) => { - const credsResponse = JSON.parse( - (await httpRequest({ - ...options, - path: IMDS_PATH + profile - })).toString() - ); - if (!isImdsCredentials(credsResponse)) { - throw new import_property_provider.CredentialsProviderError("Invalid response received from instance metadata service."); - } - return fromImdsCredentials(credsResponse); -}, "getCredentialsFromProfile"); -// 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))(); -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 === "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) { - const 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_util_middleware = __nccwpck_require__(2390); -var endpointMiddleware = /* @__PURE__ */ __name(({ - config, - instructions -}) => { - return (next, context) => async (args) => { - var _a, _b, _c; - 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 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; - return { - ...input, - endpoint: customEndpointProvider, - tls, - isCustomEndpoint, - useDualstackEndpoint: (0, import_util_middleware.normalizeProvider)(input.useDualstackEndpoint ?? false), - useFipsEndpoint: (0, import_util_middleware.normalizeProvider)(input.useFipsEndpoint ?? false) - }; -}, "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__(7761); - -// 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; - - -/***/ }), - -/***/ 7761: -/***/ ((__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__(6310)); - -var _v2 = _interopRequireDefault(__nccwpck_require__(9465)); - -var _v3 = _interopRequireDefault(__nccwpck_require__(6001)); - -var _v4 = _interopRequireDefault(__nccwpck_require__(8310)); - -var _nil = _interopRequireDefault(__nccwpck_require__(3436)); - -var _version = _interopRequireDefault(__nccwpck_require__(7780)); - -var _validate = _interopRequireDefault(__nccwpck_require__(6992)); - -var _stringify = _interopRequireDefault(__nccwpck_require__(9618)); - -var _parse = _interopRequireDefault(__nccwpck_require__(86)); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -/***/ }), - -/***/ 1380: -/***/ ((__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; - -/***/ }), - -/***/ 4672: -/***/ ((__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; - -/***/ }), - -/***/ 3436: -/***/ ((__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; - -/***/ }), - -/***/ 86: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _validate = _interopRequireDefault(__nccwpck_require__(6992)); - -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; - -/***/ }), - -/***/ 3194: -/***/ ((__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; - -/***/ }), - -/***/ 8136: -/***/ ((__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); -} - -/***/ }), - -/***/ 6679: -/***/ ((__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; - -/***/ }), - -/***/ 9618: -/***/ ((__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__(6992)); - -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; - -/***/ }), - -/***/ 6310: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _rng = _interopRequireDefault(__nccwpck_require__(8136)); - -var _stringify = __nccwpck_require__(9618); - -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; - -/***/ }), - -/***/ 9465: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _v = _interopRequireDefault(__nccwpck_require__(2568)); - -var _md = _interopRequireDefault(__nccwpck_require__(1380)); - -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; - -/***/ }), - -/***/ 2568: -/***/ ((__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__(9618); - -var _parse = _interopRequireDefault(__nccwpck_require__(86)); - -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; -} - -/***/ }), - -/***/ 6001: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _native = _interopRequireDefault(__nccwpck_require__(4672)); - -var _rng = _interopRequireDefault(__nccwpck_require__(8136)); - -var _stringify = __nccwpck_require__(9618); - -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; - -/***/ }), - -/***/ 8310: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _v = _interopRequireDefault(__nccwpck_require__(2568)); - -var _sha = _interopRequireDefault(__nccwpck_require__(6679)); - -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; - -/***/ }), - -/***/ 6992: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _regex = _interopRequireDefault(__nccwpck_require__(3194)); - -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; - -/***/ }), - -/***/ 7780: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _validate = _interopRequireDefault(__nccwpck_require__(6992)); - -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; - -/***/ }), - -/***/ 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, context) => 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); -var fromEnv = /* @__PURE__ */ __name((envVarSelector) => 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 || `Cannot load config from environment variables with getter: ${envVarSelector}` - ); - } -}, "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 || `Cannot load config for profile ${profile} in SDK configuration files with getter: ${configSelector}` - ); - } -}, "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/set-connection-timeout.ts -var setConnectionTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => { - if (!timeoutInMs) { - return; - } - const timeoutId = setTimeout(() => { - request.destroy(); - reject( - Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), { - name: "TimeoutError" - }) - ); - }, timeoutInMs); - request.on("socket", (socket) => { - if (socket.connecting) { - socket.on("connect", () => { - clearTimeout(timeoutId); - }); - } else { - clearTimeout(timeoutId); - } - }); -}, "setConnectionTimeout"); - -// src/set-socket-keep-alive.ts -var setSocketKeepAlive = /* @__PURE__ */ __name((request, { keepAlive, keepAliveMsecs }) => { - if (keepAlive !== true) { - return; - } - request.on("socket", (socket) => { - socket.setKeepAlive(keepAlive, keepAliveMsecs || 0); - }); -}, "setSocketKeepAlive"); - -// src/set-socket-timeout.ts -var setSocketTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => { - request.setTimeout(timeoutInMs, () => { - request.destroy(); - reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" })); - }); -}, "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 hasError = false; - if (expect === "100-continue") { - await Promise.race([ - new Promise((resolve) => { - timeoutId = Number(setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs))); - }), - new Promise((resolve) => { - httpRequest.on("continue", () => { - clearTimeout(timeoutId); - resolve(); - }); - httpRequest.on("error", () => { - hasError = true; - clearTimeout(timeoutId); - resolve(); - }); - }) - ]); - } - if (!hasError) { - 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. - * @returns timestamp of last emitted warning. - */ - static checkSocketUsage(agent, socketWarningTimestamp) { - var _a, _b; - 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) { - console.warn( - "@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 }); - })() - }; - } - 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; - } - let socketCheckTimeoutId; - return new Promise((_resolve, _reject) => { - let writeRequestBodyPromise = void 0; - const resolve = /* @__PURE__ */ __name(async (arg) => { - await writeRequestBodyPromise; - clearTimeout(socketCheckTimeoutId); - _resolve(arg); - }, "resolve"); - const reject = /* @__PURE__ */ __name(async (arg) => { - await writeRequestBodyPromise; - _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; - socketCheckTimeoutId = setTimeout(() => { - this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp); - }, 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}`; - } - const nodeHttpsOptions = { - headers: request.headers, - host: request.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); - } - }); - setConnectionTimeout(req, reject, this.config.connectionTimeout); - setSocketTimeout(req, reject, this.config.requestTimeout); - if (abortSignal) { - abortSignal.onabort = () => { - req.abort(); - const abortError = new Error("Request aborted"); - abortError.name = "AbortError"; - reject(abortError); - }; - } - const httpAgent = nodeHttpsOptions.agent; - if (typeof httpAgent === "object" && "keepAlive" in httpAgent) { - 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(_reject); - }); - } - 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 (this.config.maxConcurrency && this.config.maxConcurrency <= 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) { - abortSignal.onabort = () => { - req.close(); - const abortError = new Error("Request aborted"); - abortError.name = "AbortError"; - rejectWithDestroy(abortError); - }; - } - 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) => 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"); -// 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, tryNextLink = true) { - super(message); - this.tryNextLink = tryNextLink; - this.name = "ProviderError"; - Object.setPrototypeOf(this, _ProviderError.prototype); - } - static from(error, tryNextLink = true) { - return Object.assign(new this(error.message, tryNextLink), error); - } -}; -__name(_ProviderError, "ProviderError"); -var ProviderError = _ProviderError; - -// src/CredentialsProviderError.ts -var _CredentialsProviderError = class _CredentialsProviderError extends ProviderError { - constructor(message, tryNextLink = true) { - super(message, tryNextLink); - this.tryNextLink = tryNextLink; - this.name = "CredentialsProviderError"; - Object.setPrototypeOf(this, _CredentialsProviderError.prototype); - } -}; -__name(_CredentialsProviderError, "CredentialsProviderError"); -var CredentialsProviderError = _CredentialsProviderError; - -// src/TokenProviderError.ts -var _TokenProviderError = class _TokenProviderError extends ProviderError { - constructor(message, tryNextLink = true) { - super(message, tryNextLink); - this.tryNextLink = tryNextLink; - 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, - 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; - } - 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"; - } - clone() { - const cloned = new _HttpRequest({ - ...this, - headers: { ...this.headers } - }); - if (cloned.query) - cloned.query = cloneQuery(cloned.query); - return cloned; - } -}; -__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) => { - 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); -}, "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/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/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 parsedFiles = await Promise.all([ - (0, import_slurpFile.slurpFile)(configFilepath, { - ignoreCache: init.ignoreCache - }).then(parseIni).then(getConfigData).catch(swallowError), - (0, import_slurpFile.slurpFile)(filepath, { - 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).sort()) { - if (key.toLowerCase() === SIGNATURE_HEADER) { - continue; - } - keys.push(key); - const value = query[key]; - if (typeof value === "string") { - serialized[key] = `${(0, import_util_uri_escape.escapeUri)(key)}=${(0, import_util_uri_escape.escapeUri)(value)}`; - } else if (Array.isArray(value)) { - serialized[key] = value.slice(0).reduce( - (encoded, value2) => encoded.concat([`${(0, import_util_uri_escape.escapeUri)(key)}=${(0, import_util_uri_escape.escapeUri)(value2)}`]), - [] - ).sort().join("&"); - } - } - return keys.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/cloneRequest.ts -var cloneRequest = /* @__PURE__ */ __name(({ headers, query, ...rest }) => ({ - ...rest, - headers: { ...headers }, - query: query ? cloneQuery(query) : void 0 -}), "cloneRequest"); -var cloneQuery = /* @__PURE__ */ __name((query) => Object.keys(query).reduce((carry, paramName) => { - const param = query[paramName]; - return { - ...carry, - [paramName]: Array.isArray(param) ? [...param] : param - }; -}, {}), "cloneQuery"); - -// src/moveHeadersToQuery.ts -var moveHeadersToQuery = /* @__PURE__ */ __name((request, options = {}) => { - var _a; - const { headers, query = {} } = typeof request.clone === "function" ? request.clone() : cloneRequest(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))) { - query[name] = headers[name]; - delete headers[name]; - } - } - return { - ...request, - headers, - query - }; -}, "moveHeadersToQuery"); - -// src/prepareRequest.ts -var prepareRequest = /* @__PURE__ */ __name((request) => { - request = typeof request.clone === "function" ? request.clone() : cloneRequest(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, - 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 }); - 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, - StringWrapper: () => StringWrapper, - _json: () => _json, - collectBody: () => 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: () => extendedEncodeURIComponent, - getArrayIfSingleItem: () => getArrayIfSingleItem, - getDefaultClientConfiguration: () => getDefaultClientConfiguration, - getDefaultExtensionConfiguration: () => getDefaultExtensionConfiguration, - getValueFromTextNode: () => getValueFromTextNode, - handleFloat: () => handleFloat, - limitedParseDouble: () => limitedParseDouble, - limitedParseFloat: () => limitedParseFloat, - limitedParseFloat32: () => limitedParseFloat32, - loadConfigsForDefaultMode: () => loadConfigsForDefaultMode, - logger: () => logger, - map: () => map, - parseBoolean: () => parseBoolean, - parseEpochTimestamp: () => parseEpochTimestamp, - parseRfc3339DateTime: () => parseRfc3339DateTime, - parseRfc3339DateTimeWithOffset: () => parseRfc3339DateTimeWithOffset, - parseRfc7231DateTime: () => parseRfc7231DateTime, - resolveDefaultRuntimeConfig: () => resolveDefaultRuntimeConfig, - resolvedPath: () => resolvedPath, - serializeFloat: () => serializeFloat, - splitEvery: () => splitEvery, - 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/NoOpLogger.ts -var _NoOpLogger = class _NoOpLogger { - trace() { - } - debug() { - } - info() { - } - warn() { - } - error() { - } -}; -__name(_NoOpLogger, "NoOpLogger"); -var NoOpLogger = _NoOpLogger; - -// src/client.ts -var import_middleware_stack = __nccwpck_require__(7911); -var _Client = class _Client { - constructor(config) { - this.middlewareStack = (0, import_middleware_stack.constructStack)(); - this.config = config; - } - send(command, optionsOrCb, cb) { - const options = typeof optionsOrCb !== "function" ? optionsOrCb : void 0; - const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb; - const 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() { - if (this.config.requestHandler.destroy) - this.config.requestHandler.destroy(); - } -}; -__name(_Client, "Client"); -var Client = _Client; - -// src/collect-stream-body.ts -var import_util_stream = __nccwpck_require__(6607); -var collectBody = /* @__PURE__ */ __name(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); -}, "collectBody"); - -// 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]: { - ...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 { - 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("."))) < 14) { - warningEmitted = true; - } -}, "emitWarningIfUnsupportedVersion"); - -// 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/extended-encode-uri-component.ts -function extendedEncodeURIComponent(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function(c) { - return "%" + c.charCodeAt(0).toString(16).toUpperCase(); - }); -} -__name(extendedEncodeURIComponent, "extendedEncodeURIComponent"); - -// 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/lazy-json.ts -var StringWrapper = /* @__PURE__ */ __name(function() { - const Class = Object.getPrototypeOf(this).constructor; - const Constructor = Function.bind.apply(String, [null, ...arguments]); - const instance = new Constructor(); - Object.setPrototypeOf(instance, Class.prototype); - return instance; -}, "StringWrapper"); -StringWrapper.prototype = Object.create(String.prototype, { - constructor: { - value: StringWrapper, - enumerable: false, - writable: true, - configurable: true - } -}); -Object.setPrototypeOf(StringWrapper, String); -var _LazyJsonString = class _LazyJsonString extends StringWrapper { - deserializeJSON() { - return JSON.parse(super.toString()); - } - toJSON() { - return super.toString(); - } - static fromObject(object) { - if (object instanceof _LazyJsonString) { - return object; - } else if (object instanceof String || typeof object === "string") { - return new _LazyJsonString(object); - } - return new _LazyJsonString(JSON.stringify(object)); - } -}; -__name(_LazyJsonString, "LazyJsonString"); -var LazyJsonString = _LazyJsonString; - -// 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/resolve-path.ts -var resolvedPath = /* @__PURE__ */ __name((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; -}, "resolvedPath"); - -// 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"); - -// 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"); -// 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, { - EndpointError: () => EndpointError, - customEndpointFunctions: () => customEndpointFunctions, - isIpAddress: () => isIpAddress, - isValidHostLabel: () => isValidHostLabel, - resolveEndpoint: () => resolveEndpoint -}); -module.exports = __toCommonJS(src_exports); - -// 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, _e; - 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: {} }); - if ((_c = options.endpointParams) == null ? void 0 : _c.Endpoint) { - try { - const givenEndpoint = new URL(options.endpointParams.Endpoint); - const { protocol, port } = givenEndpoint; - endpoint.url.protocol = protocol; - endpoint.url.port = port; - } catch (e) { - } - } - (_e = (_d = options.logger) == null ? void 0 : _d.debug) == null ? void 0 : _e.call(_d, `${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) => setTimeout(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"); -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; - } - 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); - - - -/***/ }), - -/***/ 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; - - -/***/ }), - -/***/ 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); -// Annotate the CommonJS export names for ESM import in node: - -0 && (0); - - - -/***/ }), - -/***/ 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 util_1 = __nccwpck_require__(3837); -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)) { - 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 util_1.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; - - -/***/ }), - -/***/ 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 { state, reason } = await acceptorChecks(client, input); - if (state !== "RETRY" /* RETRY */) { - return { state, reason }; - } - 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)) { - return { state: "ABORTED" /* ABORTED */ }; - } - const delay = exponentialBackoffWithJitter(minDelay, maxDelay, attemptCeiling, currentAttempt); - if (Date.now() + delay * 1e3 > waitUntil) { - return { state: "TIMEOUT" /* TIMEOUT */ }; - } - await sleep(delay); - const { state: state2, reason: reason2 } = await acceptorChecks(client, input); - if (state2 !== "RETRY" /* RETRY */) { - return { state: state2, reason: reason2 }; - } - currentAttempt += 1; - } -}, "runPolling"); - -// 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) => { - abortSignal.onabort = () => resolve({ state: "ABORTED" /* ABORTED */ }); - }); -}, "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); - - - -/***/ }), - -/***/ 3682: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var register = __nccwpck_require__(4670); -var addHook = __nccwpck_require__(5549); -var removeHook = __nccwpck_require__(6819); - -// bind with array of arguments: https://stackoverflow.com/a/21792913 -var bind = Function.bind; -var bindable = bind.bind(bind); - -function bindApi(hook, state, name) { - var removeHookRef = bindable(removeHook, null).apply( - null, - name ? [state, name] : [state] - ); - hook.api = { remove: removeHookRef }; - hook.remove = removeHookRef; - ["before", "error", "after", "wrap"].forEach(function (kind) { - var args = name ? [state, kind, name] : [state, kind]; - hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args); - }); -} - -function HookSingular() { - var singularHookName = "h"; - var singularHookState = { - registry: {}, - }; - var singularHook = register.bind(null, singularHookState, singularHookName); - bindApi(singularHook, singularHookState, singularHookName); - return singularHook; -} - -function HookCollection() { - var state = { - registry: {}, - }; - - var hook = register.bind(null, state); - bindApi(hook, state); - - return hook; -} - -var collectionHookDeprecationMessageDisplayed = false; -function Hook() { - if (!collectionHookDeprecationMessageDisplayed) { - console.warn( - '[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4' - ); - collectionHookDeprecationMessageDisplayed = true; - } - return HookCollection(); -} - -Hook.Singular = HookSingular.bind(); -Hook.Collection = HookCollection.bind(); - -module.exports = Hook; -// expose constructors as a named property for TypeScript -module.exports.Hook = Hook; -module.exports.Singular = Hook.Singular; -module.exports.Collection = Hook.Collection; - - -/***/ }), - -/***/ 5549: -/***/ ((module) => { - -module.exports = addHook; - -function addHook(state, kind, name, hook) { - var orig = hook; - if (!state.registry[name]) { - state.registry[name] = []; - } - - if (kind === "before") { - hook = function (method, options) { - return Promise.resolve() - .then(orig.bind(null, options)) - .then(method.bind(null, options)); - }; - } - - if (kind === "after") { - hook = function (method, options) { - var result; - return Promise.resolve() - .then(method.bind(null, options)) - .then(function (result_) { - result = result_; - return orig(result, options); - }) - .then(function () { - return result; - }); - }; - } - - if (kind === "error") { - hook = function (method, options) { - return Promise.resolve() - .then(method.bind(null, options)) - .catch(function (error) { - return orig(error, options); - }); - }; - } - - state.registry[name].push({ - hook: hook, - orig: orig, - }); -} - - -/***/ }), - -/***/ 4670: -/***/ ((module) => { - -module.exports = register; - -function register(state, name, method, options) { - if (typeof method !== "function") { - throw new Error("method for before hook must be a function"); - } - - if (!options) { - options = {}; - } - - if (Array.isArray(name)) { - return name.reverse().reduce(function (callback, name) { - return register.bind(null, state, name, callback, options); - }, method)(); - } - - return Promise.resolve().then(function () { - if (!state.registry[name]) { - return method(options); - } - - return state.registry[name].reduce(function (method, registered) { - return registered.hook.bind(null, method, options); - }, method)(); - }); -} - - -/***/ }), - -/***/ 6819: -/***/ ((module) => { - -module.exports = removeHook; - -function removeHook(state, name, method) { - if (!state.registry[name]) { - return; - } - - var index = state.registry[name] - .map(function (registered) { - return registered.orig; - }) - .indexOf(method); - - if (index === -1) { - return; - } - - state.registry[name].splice(index, 1); -} - - -/***/ }), - -/***/ 8932: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -class Deprecation extends Error { - constructor(message) { - super(message); // Maintains proper stack trace (only available on V8) - - /* istanbul ignore next */ - - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - - this.name = 'Deprecation'; - } - -} - -exports.Deprecation = Deprecation; - - -/***/ }), - -/***/ 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 { - 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 (typeof jObj[key] === 'undefined') { - // supress undefined node - } else if (jObj[key] === 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 (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 = ""; - 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 ){ - listTagVal += this.j2x(item, level + 1).val; - }else{ - listTagVal += this.processTextOrObjNode(item, key, level) - } - } else { - listTagVal += this.buildTextValNode(item, key, '', level); - } - } - if(this.options.oneListGroup){ - listTagVal = this.buildObjectNode(listTagVal, key, '', 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); - 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 (key !== ":@") return key; - } -} - -function attr_to_str(attrMap, options) { - let attrStr = ""; - if (attrMap && !options.ignoreAttributes) { - for (let attr in attrMap) { - 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: "₹" }, - }; - 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); - - //cdata should be set even if it is 0 length string - if(this.options.cdataPropName){ - // let val = this.parseTextData(tagExp, this.options.cdataPropName, jPath + "." + this.options.cdataPropName, true, false, true); - // if(!val) val = ""; - currentNode.add(this.options.cdataPropName, [ { [this.options.textNodeName] : tagExp } ]); - }else{ - let val = this.parseTextData(tagExp, currentNode.tagname, jPath, true, false, true); - if(val == undefined) val = ""; - currentNode.add(this.options.textNodeName, val); - } - - i = closeIndex + 2; - }else {//Opening tag - let result = readTagExp(xmlData,i, this.options.removeNSPrefix); - let tagName= result.tagName; - 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)) { //TODO: namespace - let tagContent = ""; - //self-closing tag - if(tagExp.length > 0 && tagExp.lastIndexOf("/") === 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, tagName, closeIndex + 1); - if(!result) throw new Error(`Unexpected end of ${tagName}`); - 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); - 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.substr(0, separatorIndex).replace(/\s\s*$/, ''); - tagExp = tagExp.substr(separatorIndex + 1); - } - - 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, - } -} -/** - * 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; - -/***/ }), - -/***/ 250: -/***/ (function(module, exports, __nccwpck_require__) { - -/* module decorator */ module = __nccwpck_require__.nmd(module); -/** - * @license - * Lodash - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */ -;(function() { - - /** Used as a safe reference for `undefined` in pre-ES5 environments. */ - var undefined; - - /** Used as the semantic version number. */ - var VERSION = '4.17.21'; - - /** Used as the size to enable large array optimizations. */ - var LARGE_ARRAY_SIZE = 200; - - /** Error message constants. */ - var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.', - FUNC_ERROR_TEXT = 'Expected a function', - INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`'; - - /** Used to stand-in for `undefined` hash values. */ - var HASH_UNDEFINED = '__lodash_hash_undefined__'; - - /** Used as the maximum memoize cache size. */ - var MAX_MEMOIZE_SIZE = 500; - - /** Used as the internal argument placeholder. */ - var PLACEHOLDER = '__lodash_placeholder__'; - - /** Used to compose bitmasks for cloning. */ - var CLONE_DEEP_FLAG = 1, - CLONE_FLAT_FLAG = 2, - CLONE_SYMBOLS_FLAG = 4; - - /** Used to compose bitmasks for value comparisons. */ - var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; - - /** Used to compose bitmasks for function metadata. */ - var WRAP_BIND_FLAG = 1, - WRAP_BIND_KEY_FLAG = 2, - WRAP_CURRY_BOUND_FLAG = 4, - WRAP_CURRY_FLAG = 8, - WRAP_CURRY_RIGHT_FLAG = 16, - WRAP_PARTIAL_FLAG = 32, - WRAP_PARTIAL_RIGHT_FLAG = 64, - WRAP_ARY_FLAG = 128, - WRAP_REARG_FLAG = 256, - WRAP_FLIP_FLAG = 512; - - /** Used as default options for `_.truncate`. */ - var DEFAULT_TRUNC_LENGTH = 30, - DEFAULT_TRUNC_OMISSION = '...'; - - /** Used to detect hot functions by number of calls within a span of milliseconds. */ - var HOT_COUNT = 800, - HOT_SPAN = 16; - - /** Used to indicate the type of lazy iteratees. */ - var LAZY_FILTER_FLAG = 1, - LAZY_MAP_FLAG = 2, - LAZY_WHILE_FLAG = 3; - - /** Used as references for various `Number` constants. */ - var INFINITY = 1 / 0, - MAX_SAFE_INTEGER = 9007199254740991, - MAX_INTEGER = 1.7976931348623157e+308, - NAN = 0 / 0; - - /** Used as references for the maximum length and index of an array. */ - var MAX_ARRAY_LENGTH = 4294967295, - MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1, - HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1; - - /** Used to associate wrap methods with their bit flags. */ - var wrapFlags = [ - ['ary', WRAP_ARY_FLAG], - ['bind', WRAP_BIND_FLAG], - ['bindKey', WRAP_BIND_KEY_FLAG], - ['curry', WRAP_CURRY_FLAG], - ['curryRight', WRAP_CURRY_RIGHT_FLAG], - ['flip', WRAP_FLIP_FLAG], - ['partial', WRAP_PARTIAL_FLAG], - ['partialRight', WRAP_PARTIAL_RIGHT_FLAG], - ['rearg', WRAP_REARG_FLAG] - ]; - - /** `Object#toString` result references. */ - var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - asyncTag = '[object AsyncFunction]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - domExcTag = '[object DOMException]', - errorTag = '[object Error]', - funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - mapTag = '[object Map]', - numberTag = '[object Number]', - nullTag = '[object Null]', - objectTag = '[object Object]', - promiseTag = '[object Promise]', - proxyTag = '[object Proxy]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - symbolTag = '[object Symbol]', - undefinedTag = '[object Undefined]', - weakMapTag = '[object WeakMap]', - weakSetTag = '[object WeakSet]'; - - var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; - - /** Used to match empty string literals in compiled template source. */ - var reEmptyStringLeading = /\b__p \+= '';/g, - reEmptyStringMiddle = /\b(__p \+=) '' \+/g, - reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g; - - /** Used to match HTML entities and HTML characters. */ - var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g, - reUnescapedHtml = /[&<>"']/g, - reHasEscapedHtml = RegExp(reEscapedHtml.source), - reHasUnescapedHtml = RegExp(reUnescapedHtml.source); - - /** Used to match template delimiters. */ - var reEscape = /<%-([\s\S]+?)%>/g, - reEvaluate = /<%([\s\S]+?)%>/g, - reInterpolate = /<%=([\s\S]+?)%>/g; - - /** Used to match property names within property paths. */ - var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, - reIsPlainProp = /^\w*$/, - rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; - - /** - * Used to match `RegExp` - * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). - */ - var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, - reHasRegExpChar = RegExp(reRegExpChar.source); - - /** Used to match leading whitespace. */ - var reTrimStart = /^\s+/; - - /** Used to match a single whitespace character. */ - var reWhitespace = /\s/; - - /** Used to match wrap detail comments. */ - var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, - reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, - reSplitDetails = /,? & /; - - /** Used to match words composed of alphanumeric characters. */ - var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; - - /** - * Used to validate the `validate` option in `_.template` variable. - * - * Forbids characters which could potentially change the meaning of the function argument definition: - * - "()," (modification of function parameters) - * - "=" (default value) - * - "[]{}" (destructuring of function parameters) - * - "/" (beginning of a comment) - * - whitespace - */ - var reForbiddenIdentifierChars = /[()=,{}\[\]\/\s]/; - - /** Used to match backslashes in property paths. */ - var reEscapeChar = /\\(\\)?/g; - - /** - * Used to match - * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components). - */ - var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g; - - /** Used to match `RegExp` flags from their coerced string values. */ - var reFlags = /\w*$/; - - /** Used to detect bad signed hexadecimal string values. */ - var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; - - /** Used to detect binary string values. */ - var reIsBinary = /^0b[01]+$/i; - - /** Used to detect host constructors (Safari). */ - var reIsHostCtor = /^\[object .+?Constructor\]$/; - - /** Used to detect octal string values. */ - var reIsOctal = /^0o[0-7]+$/i; - - /** Used to detect unsigned integer values. */ - var reIsUint = /^(?:0|[1-9]\d*)$/; - - /** Used to match Latin Unicode letters (excluding mathematical operators). */ - var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g; - - /** Used to ensure capturing order of template delimiters. */ - var reNoMatch = /($^)/; - - /** Used to match unescaped characters in compiled string literals. */ - var reUnescapedString = /['\n\r\u2028\u2029\\]/g; - - /** Used to compose unicode character classes. */ - var rsAstralRange = '\\ud800-\\udfff', - rsComboMarksRange = '\\u0300-\\u036f', - reComboHalfMarksRange = '\\ufe20-\\ufe2f', - rsComboSymbolsRange = '\\u20d0-\\u20ff', - rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, - rsDingbatRange = '\\u2700-\\u27bf', - rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff', - rsMathOpRange = '\\xac\\xb1\\xd7\\xf7', - rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf', - rsPunctuationRange = '\\u2000-\\u206f', - rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000', - rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde', - rsVarRange = '\\ufe0e\\ufe0f', - rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange; - - /** Used to compose unicode capture groups. */ - var rsApos = "['\u2019]", - rsAstral = '[' + rsAstralRange + ']', - rsBreak = '[' + rsBreakRange + ']', - rsCombo = '[' + rsComboRange + ']', - rsDigits = '\\d+', - rsDingbat = '[' + rsDingbatRange + ']', - rsLower = '[' + rsLowerRange + ']', - rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']', - rsFitz = '\\ud83c[\\udffb-\\udfff]', - rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', - rsNonAstral = '[^' + rsAstralRange + ']', - rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', - rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', - rsUpper = '[' + rsUpperRange + ']', - rsZWJ = '\\u200d'; - - /** Used to compose unicode regexes. */ - var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')', - rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')', - rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?', - rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?', - reOptMod = rsModifier + '?', - rsOptVar = '[' + rsVarRange + ']?', - rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*', - rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])', - rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])', - rsSeq = rsOptVar + reOptMod + rsOptJoin, - rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq, - rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')'; - - /** Used to match apostrophes. */ - var reApos = RegExp(rsApos, 'g'); - - /** - * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and - * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols). - */ - var reComboMark = RegExp(rsCombo, 'g'); - - /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */ - var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g'); - - /** Used to match complex or compound words. */ - var reUnicodeWord = RegExp([ - rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')', - rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')', - rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower, - rsUpper + '+' + rsOptContrUpper, - rsOrdUpper, - rsOrdLower, - rsDigits, - rsEmoji - ].join('|'), 'g'); - - /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */ - var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']'); - - /** Used to detect strings that need a more robust regexp to match words. */ - var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/; - - /** Used to assign default `context` object properties. */ - var contextProps = [ - 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array', - 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object', - 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array', - 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap', - '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout' - ]; - - /** Used to make template sourceURLs easier to identify. */ - var templateCounter = -1; - - /** Used to identify `toStringTag` values of typed arrays. */ - var typedArrayTags = {}; - typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = - typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = - typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = - typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = - typedArrayTags[uint32Tag] = true; - typedArrayTags[argsTag] = typedArrayTags[arrayTag] = - typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = - typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = - typedArrayTags[errorTag] = typedArrayTags[funcTag] = - typedArrayTags[mapTag] = typedArrayTags[numberTag] = - typedArrayTags[objectTag] = typedArrayTags[regexpTag] = - typedArrayTags[setTag] = typedArrayTags[stringTag] = - typedArrayTags[weakMapTag] = false; - - /** Used to identify `toStringTag` values supported by `_.clone`. */ - var cloneableTags = {}; - cloneableTags[argsTag] = cloneableTags[arrayTag] = - cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = - cloneableTags[boolTag] = cloneableTags[dateTag] = - cloneableTags[float32Tag] = cloneableTags[float64Tag] = - cloneableTags[int8Tag] = cloneableTags[int16Tag] = - cloneableTags[int32Tag] = cloneableTags[mapTag] = - cloneableTags[numberTag] = cloneableTags[objectTag] = - cloneableTags[regexpTag] = cloneableTags[setTag] = - cloneableTags[stringTag] = cloneableTags[symbolTag] = - cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = - cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true; - cloneableTags[errorTag] = cloneableTags[funcTag] = - cloneableTags[weakMapTag] = false; - - /** Used to map Latin Unicode letters to basic Latin letters. */ - var deburredLetters = { - // Latin-1 Supplement block. - '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A', - '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a', - '\xc7': 'C', '\xe7': 'c', - '\xd0': 'D', '\xf0': 'd', - '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E', - '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e', - '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I', - '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i', - '\xd1': 'N', '\xf1': 'n', - '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O', - '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o', - '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U', - '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u', - '\xdd': 'Y', '\xfd': 'y', '\xff': 'y', - '\xc6': 'Ae', '\xe6': 'ae', - '\xde': 'Th', '\xfe': 'th', - '\xdf': 'ss', - // Latin Extended-A block. - '\u0100': 'A', '\u0102': 'A', '\u0104': 'A', - '\u0101': 'a', '\u0103': 'a', '\u0105': 'a', - '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C', - '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c', - '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd', - '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E', - '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e', - '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G', - '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g', - '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h', - '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I', - '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i', - '\u0134': 'J', '\u0135': 'j', - '\u0136': 'K', '\u0137': 'k', '\u0138': 'k', - '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L', - '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l', - '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N', - '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n', - '\u014c': 'O', '\u014e': 'O', '\u0150': 'O', - '\u014d': 'o', '\u014f': 'o', '\u0151': 'o', - '\u0154': 'R', '\u0156': 'R', '\u0158': 'R', - '\u0155': 'r', '\u0157': 'r', '\u0159': 'r', - '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S', - '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's', - '\u0162': 'T', '\u0164': 'T', '\u0166': 'T', - '\u0163': 't', '\u0165': 't', '\u0167': 't', - '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U', - '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u', - '\u0174': 'W', '\u0175': 'w', - '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y', - '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z', - '\u017a': 'z', '\u017c': 'z', '\u017e': 'z', - '\u0132': 'IJ', '\u0133': 'ij', - '\u0152': 'Oe', '\u0153': 'oe', - '\u0149': "'n", '\u017f': 's' - }; - - /** Used to map characters to HTML entities. */ - var htmlEscapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''' - }; - - /** Used to map HTML entities to characters. */ - var htmlUnescapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - ''': "'" - }; - - /** Used to escape characters for inclusion in compiled string literals. */ - var stringEscapes = { - '\\': '\\', - "'": "'", - '\n': 'n', - '\r': 'r', - '\u2028': 'u2028', - '\u2029': 'u2029' - }; - - /** Built-in method references without a dependency on `root`. */ - var freeParseFloat = parseFloat, - freeParseInt = parseInt; - - /** Detect free variable `global` from Node.js. */ - var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; - - /** Detect free variable `self`. */ - var freeSelf = typeof self == 'object' && self && self.Object === Object && self; - - /** Used as a reference to the global object. */ - var root = freeGlobal || freeSelf || Function('return this')(); - - /** Detect free variable `exports`. */ - var freeExports = true && exports && !exports.nodeType && exports; - - /** Detect free variable `module`. */ - var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module; - - /** Detect the popular CommonJS extension `module.exports`. */ - var moduleExports = freeModule && freeModule.exports === freeExports; - - /** Detect free variable `process` from Node.js. */ - var freeProcess = moduleExports && freeGlobal.process; - - /** Used to access faster Node.js helpers. */ - var nodeUtil = (function() { - try { - // Use `util.types` for Node.js 10+. - var types = freeModule && freeModule.require && freeModule.require('util').types; - - if (types) { - return types; - } - - // Legacy `process.binding('util')` for Node.js < 10. - return freeProcess && freeProcess.binding && freeProcess.binding('util'); - } catch (e) {} - }()); - - /* Node.js helper references. */ - var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, - nodeIsDate = nodeUtil && nodeUtil.isDate, - nodeIsMap = nodeUtil && nodeUtil.isMap, - nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, - nodeIsSet = nodeUtil && nodeUtil.isSet, - nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; - - /*--------------------------------------------------------------------------*/ - - /** - * A faster alternative to `Function#apply`, this function invokes `func` - * with the `this` binding of `thisArg` and the arguments of `args`. - * - * @private - * @param {Function} func The function to invoke. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} args The arguments to invoke `func` with. - * @returns {*} Returns the result of `func`. - */ - function apply(func, thisArg, args) { - switch (args.length) { - case 0: return func.call(thisArg); - case 1: return func.call(thisArg, args[0]); - case 2: return func.call(thisArg, args[0], args[1]); - case 3: return func.call(thisArg, args[0], args[1], args[2]); - } - return func.apply(thisArg, args); - } - - /** - * A specialized version of `baseAggregator` for arrays. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform keys. - * @param {Object} accumulator The initial aggregated object. - * @returns {Function} Returns `accumulator`. - */ - function arrayAggregator(array, setter, iteratee, accumulator) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - var value = array[index]; - setter(accumulator, value, iteratee(value), array); - } - return accumulator; - } - - /** - * A specialized version of `_.forEach` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns `array`. - */ - function arrayEach(array, iteratee) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (iteratee(array[index], index, array) === false) { - break; - } - } - return array; - } - - /** - * A specialized version of `_.forEachRight` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns `array`. - */ - function arrayEachRight(array, iteratee) { - var length = array == null ? 0 : array.length; - - while (length--) { - if (iteratee(array[length], length, array) === false) { - break; - } - } - return array; - } - - /** - * A specialized version of `_.every` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false`. - */ - function arrayEvery(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (!predicate(array[index], index, array)) { - return false; - } - } - return true; - } - - /** - * A specialized version of `_.filter` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - */ - function arrayFilter(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result[resIndex++] = value; - } - } - return result; - } - - /** - * A specialized version of `_.includes` for arrays without support for - * specifying an index to search from. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ - function arrayIncludes(array, value) { - var length = array == null ? 0 : array.length; - return !!length && baseIndexOf(array, value, 0) > -1; - } - - /** - * This function is like `arrayIncludes` except that it accepts a comparator. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @param {Function} comparator The comparator invoked per element. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ - function arrayIncludesWith(array, value, comparator) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (comparator(value, array[index])) { - return true; - } - } - return false; - } - - /** - * A specialized version of `_.map` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - */ - function arrayMap(array, iteratee) { - var index = -1, - length = array == null ? 0 : array.length, - result = Array(length); - - while (++index < length) { - result[index] = iteratee(array[index], index, array); - } - return result; - } - - /** - * Appends the elements of `values` to `array`. - * - * @private - * @param {Array} array The array to modify. - * @param {Array} values The values to append. - * @returns {Array} Returns `array`. - */ - function arrayPush(array, values) { - var index = -1, - length = values.length, - offset = array.length; - - while (++index < length) { - array[offset + index] = values[index]; - } - return array; - } - - /** - * A specialized version of `_.reduce` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {boolean} [initAccum] Specify using the first element of `array` as - * the initial value. - * @returns {*} Returns the accumulated value. - */ - function arrayReduce(array, iteratee, accumulator, initAccum) { - var index = -1, - length = array == null ? 0 : array.length; - - if (initAccum && length) { - accumulator = array[++index]; - } - while (++index < length) { - accumulator = iteratee(accumulator, array[index], index, array); - } - return accumulator; - } - - /** - * A specialized version of `_.reduceRight` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {boolean} [initAccum] Specify using the last element of `array` as - * the initial value. - * @returns {*} Returns the accumulated value. - */ - function arrayReduceRight(array, iteratee, accumulator, initAccum) { - var length = array == null ? 0 : array.length; - if (initAccum && length) { - accumulator = array[--length]; - } - while (length--) { - accumulator = iteratee(accumulator, array[length], length, array); - } - return accumulator; - } - - /** - * A specialized version of `_.some` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ - function arraySome(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length; - - while (++index < length) { - if (predicate(array[index], index, array)) { - return true; - } - } - return false; - } - - /** - * Gets the size of an ASCII `string`. - * - * @private - * @param {string} string The string inspect. - * @returns {number} Returns the string size. - */ - var asciiSize = baseProperty('length'); - - /** - * Converts an ASCII `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ - function asciiToArray(string) { - return string.split(''); - } - - /** - * Splits an ASCII `string` into an array of its words. - * - * @private - * @param {string} The string to inspect. - * @returns {Array} Returns the words of `string`. - */ - function asciiWords(string) { - return string.match(reAsciiWord) || []; - } - - /** - * The base implementation of methods like `_.findKey` and `_.findLastKey`, - * without support for iteratee shorthands, which iterates over `collection` - * using `eachFunc`. - * - * @private - * @param {Array|Object} collection The collection to inspect. - * @param {Function} predicate The function invoked per iteration. - * @param {Function} eachFunc The function to iterate over `collection`. - * @returns {*} Returns the found element or its key, else `undefined`. - */ - function baseFindKey(collection, predicate, eachFunc) { - var result; - eachFunc(collection, function(value, key, collection) { - if (predicate(value, key, collection)) { - result = key; - return false; - } - }); - return result; - } - - /** - * The base implementation of `_.findIndex` and `_.findLastIndex` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} predicate The function invoked per iteration. - * @param {number} fromIndex The index to search from. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseFindIndex(array, predicate, fromIndex, fromRight) { - var length = array.length, - index = fromIndex + (fromRight ? 1 : -1); - - while ((fromRight ? index-- : ++index < length)) { - if (predicate(array[index], index, array)) { - return index; - } - } - return -1; - } - - /** - * The base implementation of `_.indexOf` without `fromIndex` bounds checks. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseIndexOf(array, value, fromIndex) { - return value === value - ? strictIndexOf(array, value, fromIndex) - : baseFindIndex(array, baseIsNaN, fromIndex); - } - - /** - * This function is like `baseIndexOf` except that it accepts a comparator. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @param {Function} comparator The comparator invoked per element. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseIndexOfWith(array, value, fromIndex, comparator) { - var index = fromIndex - 1, - length = array.length; - - while (++index < length) { - if (comparator(array[index], value)) { - return index; - } - } - return -1; - } - - /** - * The base implementation of `_.isNaN` without support for number objects. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. - */ - function baseIsNaN(value) { - return value !== value; - } - - /** - * The base implementation of `_.mean` and `_.meanBy` without support for - * iteratee shorthands. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {number} Returns the mean. - */ - function baseMean(array, iteratee) { - var length = array == null ? 0 : array.length; - return length ? (baseSum(array, iteratee) / length) : NAN; - } - - /** - * The base implementation of `_.property` without support for deep paths. - * - * @private - * @param {string} key The key of the property to get. - * @returns {Function} Returns the new accessor function. - */ - function baseProperty(key) { - return function(object) { - return object == null ? undefined : object[key]; - }; - } - - /** - * The base implementation of `_.propertyOf` without support for deep paths. - * - * @private - * @param {Object} object The object to query. - * @returns {Function} Returns the new accessor function. - */ - function basePropertyOf(object) { - return function(key) { - return object == null ? undefined : object[key]; - }; - } - - /** - * The base implementation of `_.reduce` and `_.reduceRight`, without support - * for iteratee shorthands, which iterates over `collection` using `eachFunc`. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} accumulator The initial value. - * @param {boolean} initAccum Specify using the first or last element of - * `collection` as the initial value. - * @param {Function} eachFunc The function to iterate over `collection`. - * @returns {*} Returns the accumulated value. - */ - function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) { - eachFunc(collection, function(value, index, collection) { - accumulator = initAccum - ? (initAccum = false, value) - : iteratee(accumulator, value, index, collection); - }); - return accumulator; - } - - /** - * The base implementation of `_.sortBy` which uses `comparer` to define the - * sort order of `array` and replaces criteria objects with their corresponding - * values. - * - * @private - * @param {Array} array The array to sort. - * @param {Function} comparer The function to define sort order. - * @returns {Array} Returns `array`. - */ - function baseSortBy(array, comparer) { - var length = array.length; - - array.sort(comparer); - while (length--) { - array[length] = array[length].value; - } - return array; - } - - /** - * The base implementation of `_.sum` and `_.sumBy` without support for - * iteratee shorthands. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {number} Returns the sum. - */ - function baseSum(array, iteratee) { - var result, - index = -1, - length = array.length; - - while (++index < length) { - var current = iteratee(array[index]); - if (current !== undefined) { - result = result === undefined ? current : (result + current); - } - } - return result; - } - - /** - * The base implementation of `_.times` without support for iteratee shorthands - * or max array length checks. - * - * @private - * @param {number} n The number of times to invoke `iteratee`. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the array of results. - */ - function baseTimes(n, iteratee) { - var index = -1, - result = Array(n); - - while (++index < n) { - result[index] = iteratee(index); - } - return result; - } - - /** - * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array - * of key-value pairs for `object` corresponding to the property names of `props`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} props The property names to get values for. - * @returns {Object} Returns the key-value pairs. - */ - function baseToPairs(object, props) { - return arrayMap(props, function(key) { - return [key, object[key]]; - }); - } - - /** - * The base implementation of `_.trim`. - * - * @private - * @param {string} string The string to trim. - * @returns {string} Returns the trimmed string. - */ - function baseTrim(string) { - return string - ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '') - : string; - } - - /** - * The base implementation of `_.unary` without support for storing metadata. - * - * @private - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. - */ - function baseUnary(func) { - return function(value) { - return func(value); - }; - } - - /** - * The base implementation of `_.values` and `_.valuesIn` which creates an - * array of `object` property values corresponding to the property names - * of `props`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} props The property names to get values for. - * @returns {Object} Returns the array of property values. - */ - function baseValues(object, props) { - return arrayMap(props, function(key) { - return object[key]; - }); - } - - /** - * Checks if a `cache` value for `key` exists. - * - * @private - * @param {Object} cache The cache to query. - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function cacheHas(cache, key) { - return cache.has(key); - } - - /** - * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol - * that is not found in the character symbols. - * - * @private - * @param {Array} strSymbols The string symbols to inspect. - * @param {Array} chrSymbols The character symbols to find. - * @returns {number} Returns the index of the first unmatched string symbol. - */ - function charsStartIndex(strSymbols, chrSymbols) { - var index = -1, - length = strSymbols.length; - - while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} - return index; - } - - /** - * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol - * that is not found in the character symbols. - * - * @private - * @param {Array} strSymbols The string symbols to inspect. - * @param {Array} chrSymbols The character symbols to find. - * @returns {number} Returns the index of the last unmatched string symbol. - */ - function charsEndIndex(strSymbols, chrSymbols) { - var index = strSymbols.length; - - while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} - return index; - } - - /** - * Gets the number of `placeholder` occurrences in `array`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} placeholder The placeholder to search for. - * @returns {number} Returns the placeholder count. - */ - function countHolders(array, placeholder) { - var length = array.length, - result = 0; - - while (length--) { - if (array[length] === placeholder) { - ++result; - } - } - return result; - } - - /** - * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A - * letters to basic Latin letters. - * - * @private - * @param {string} letter The matched letter to deburr. - * @returns {string} Returns the deburred letter. - */ - var deburrLetter = basePropertyOf(deburredLetters); - - /** - * Used by `_.escape` to convert characters to HTML entities. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ - var escapeHtmlChar = basePropertyOf(htmlEscapes); - - /** - * Used by `_.template` to escape characters for inclusion in compiled string literals. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ - function escapeStringChar(chr) { - return '\\' + stringEscapes[chr]; - } - - /** - * Gets the value at `key` of `object`. - * - * @private - * @param {Object} [object] The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ - function getValue(object, key) { - return object == null ? undefined : object[key]; - } - - /** - * Checks if `string` contains Unicode symbols. - * - * @private - * @param {string} string The string to inspect. - * @returns {boolean} Returns `true` if a symbol is found, else `false`. - */ - function hasUnicode(string) { - return reHasUnicode.test(string); - } - - /** - * Checks if `string` contains a word composed of Unicode symbols. - * - * @private - * @param {string} string The string to inspect. - * @returns {boolean} Returns `true` if a word is found, else `false`. - */ - function hasUnicodeWord(string) { - return reHasUnicodeWord.test(string); - } - - /** - * Converts `iterator` to an array. - * - * @private - * @param {Object} iterator The iterator to convert. - * @returns {Array} Returns the converted array. - */ - function iteratorToArray(iterator) { - var data, - result = []; - - while (!(data = iterator.next()).done) { - result.push(data.value); - } - return result; - } - - /** - * Converts `map` to its key-value pairs. - * - * @private - * @param {Object} map The map to convert. - * @returns {Array} Returns the key-value pairs. - */ - function mapToArray(map) { - var index = -1, - result = Array(map.size); - - map.forEach(function(value, key) { - result[++index] = [key, value]; - }); - return result; - } - - /** - * Creates a unary function that invokes `func` with its argument transformed. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} transform The argument transform. - * @returns {Function} Returns the new function. - */ - function overArg(func, transform) { - return function(arg) { - return func(transform(arg)); - }; - } - - /** - * Replaces all `placeholder` elements in `array` with an internal placeholder - * and returns an array of their indexes. - * - * @private - * @param {Array} array The array to modify. - * @param {*} placeholder The placeholder to replace. - * @returns {Array} Returns the new array of placeholder indexes. - */ - function replaceHolders(array, placeholder) { - var index = -1, - length = array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index]; - if (value === placeholder || value === PLACEHOLDER) { - array[index] = PLACEHOLDER; - result[resIndex++] = index; - } - } - return result; - } - - /** - * Converts `set` to an array of its values. - * - * @private - * @param {Object} set The set to convert. - * @returns {Array} Returns the values. - */ - function setToArray(set) { - var index = -1, - result = Array(set.size); - - set.forEach(function(value) { - result[++index] = value; - }); - return result; - } - - /** - * Converts `set` to its value-value pairs. - * - * @private - * @param {Object} set The set to convert. - * @returns {Array} Returns the value-value pairs. - */ - function setToPairs(set) { - var index = -1, - result = Array(set.size); - - set.forEach(function(value) { - result[++index] = [value, value]; - }); - return result; - } - - /** - * A specialized version of `_.indexOf` which performs strict equality - * comparisons of values, i.e. `===`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function strictIndexOf(array, value, fromIndex) { - var index = fromIndex - 1, - length = array.length; - - while (++index < length) { - if (array[index] === value) { - return index; - } - } - return -1; - } - - /** - * A specialized version of `_.lastIndexOf` which performs strict equality - * comparisons of values, i.e. `===`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function strictLastIndexOf(array, value, fromIndex) { - var index = fromIndex + 1; - while (index--) { - if (array[index] === value) { - return index; - } - } - return index; - } - - /** - * Gets the number of symbols in `string`. - * - * @private - * @param {string} string The string to inspect. - * @returns {number} Returns the string size. - */ - function stringSize(string) { - return hasUnicode(string) - ? unicodeSize(string) - : asciiSize(string); - } - - /** - * Converts `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ - function stringToArray(string) { - return hasUnicode(string) - ? unicodeToArray(string) - : asciiToArray(string); - } - - /** - * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace - * character of `string`. - * - * @private - * @param {string} string The string to inspect. - * @returns {number} Returns the index of the last non-whitespace character. - */ - function trimmedEndIndex(string) { - var index = string.length; - - while (index-- && reWhitespace.test(string.charAt(index))) {} - return index; - } - - /** - * Used by `_.unescape` to convert HTML entities to characters. - * - * @private - * @param {string} chr The matched character to unescape. - * @returns {string} Returns the unescaped character. - */ - var unescapeHtmlChar = basePropertyOf(htmlUnescapes); - - /** - * Gets the size of a Unicode `string`. - * - * @private - * @param {string} string The string inspect. - * @returns {number} Returns the string size. - */ - function unicodeSize(string) { - var result = reUnicode.lastIndex = 0; - while (reUnicode.test(string)) { - ++result; - } - return result; - } - - /** - * Converts a Unicode `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ - function unicodeToArray(string) { - return string.match(reUnicode) || []; - } - - /** - * Splits a Unicode `string` into an array of its words. - * - * @private - * @param {string} The string to inspect. - * @returns {Array} Returns the words of `string`. - */ - function unicodeWords(string) { - return string.match(reUnicodeWord) || []; - } - - /*--------------------------------------------------------------------------*/ - - /** - * Create a new pristine `lodash` function using the `context` object. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category Util - * @param {Object} [context=root] The context object. - * @returns {Function} Returns a new `lodash` function. - * @example - * - * _.mixin({ 'foo': _.constant('foo') }); - * - * var lodash = _.runInContext(); - * lodash.mixin({ 'bar': lodash.constant('bar') }); - * - * _.isFunction(_.foo); - * // => true - * _.isFunction(_.bar); - * // => false - * - * lodash.isFunction(lodash.foo); - * // => false - * lodash.isFunction(lodash.bar); - * // => true - * - * // Create a suped-up `defer` in Node.js. - * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer; - */ - var runInContext = (function runInContext(context) { - context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps)); - - /** Built-in constructor references. */ - var Array = context.Array, - Date = context.Date, - Error = context.Error, - Function = context.Function, - Math = context.Math, - Object = context.Object, - RegExp = context.RegExp, - String = context.String, - TypeError = context.TypeError; - - /** Used for built-in method references. */ - var arrayProto = Array.prototype, - funcProto = Function.prototype, - objectProto = Object.prototype; - - /** Used to detect overreaching core-js shims. */ - var coreJsData = context['__core-js_shared__']; - - /** Used to resolve the decompiled source of functions. */ - var funcToString = funcProto.toString; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** Used to generate unique IDs. */ - var idCounter = 0; - - /** Used to detect methods masquerading as native. */ - var maskSrcKey = (function() { - var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); - return uid ? ('Symbol(src)_1.' + uid) : ''; - }()); - - /** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ - var nativeObjectToString = objectProto.toString; - - /** Used to infer the `Object` constructor. */ - var objectCtorString = funcToString.call(Object); - - /** Used to restore the original `_` reference in `_.noConflict`. */ - var oldDash = root._; - - /** Used to detect if a method is native. */ - var reIsNative = RegExp('^' + - funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' - ); - - /** Built-in value references. */ - var Buffer = moduleExports ? context.Buffer : undefined, - Symbol = context.Symbol, - Uint8Array = context.Uint8Array, - allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined, - getPrototype = overArg(Object.getPrototypeOf, Object), - objectCreate = Object.create, - propertyIsEnumerable = objectProto.propertyIsEnumerable, - splice = arrayProto.splice, - spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined, - symIterator = Symbol ? Symbol.iterator : undefined, - symToStringTag = Symbol ? Symbol.toStringTag : undefined; - - var defineProperty = (function() { - try { - var func = getNative(Object, 'defineProperty'); - func({}, '', {}); - return func; - } catch (e) {} - }()); - - /** Mocked built-ins. */ - var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, - ctxNow = Date && Date.now !== root.Date.now && Date.now, - ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout; - - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeCeil = Math.ceil, - nativeFloor = Math.floor, - nativeGetSymbols = Object.getOwnPropertySymbols, - nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined, - nativeIsFinite = context.isFinite, - nativeJoin = arrayProto.join, - nativeKeys = overArg(Object.keys, Object), - nativeMax = Math.max, - nativeMin = Math.min, - nativeNow = Date.now, - nativeParseInt = context.parseInt, - nativeRandom = Math.random, - nativeReverse = arrayProto.reverse; - - /* Built-in method references that are verified to be native. */ - var DataView = getNative(context, 'DataView'), - Map = getNative(context, 'Map'), - Promise = getNative(context, 'Promise'), - Set = getNative(context, 'Set'), - WeakMap = getNative(context, 'WeakMap'), - nativeCreate = getNative(Object, 'create'); - - /** Used to store function metadata. */ - var metaMap = WeakMap && new WeakMap; - - /** Used to lookup unminified function names. */ - var realNames = {}; - - /** Used to detect maps, sets, and weakmaps. */ - var dataViewCtorString = toSource(DataView), - mapCtorString = toSource(Map), - promiseCtorString = toSource(Promise), - setCtorString = toSource(Set), - weakMapCtorString = toSource(WeakMap); - - /** Used to convert symbols to primitives and strings. */ - var symbolProto = Symbol ? Symbol.prototype : undefined, - symbolValueOf = symbolProto ? symbolProto.valueOf : undefined, - symbolToString = symbolProto ? symbolProto.toString : undefined; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a `lodash` object which wraps `value` to enable implicit method - * chain sequences. Methods that operate on and return arrays, collections, - * and functions can be chained together. Methods that retrieve a single value - * or may return a primitive value will automatically end the chain sequence - * and return the unwrapped value. Otherwise, the value must be unwrapped - * with `_#value`. - * - * Explicit chain sequences, which must be unwrapped with `_#value`, may be - * enabled using `_.chain`. - * - * The execution of chained methods is lazy, that is, it's deferred until - * `_#value` is implicitly or explicitly called. - * - * Lazy evaluation allows several methods to support shortcut fusion. - * Shortcut fusion is an optimization to merge iteratee calls; this avoids - * the creation of intermediate arrays and can greatly reduce the number of - * iteratee executions. Sections of a chain sequence qualify for shortcut - * fusion if the section is applied to an array and iteratees accept only - * one argument. The heuristic for whether a section qualifies for shortcut - * fusion is subject to change. - * - * Chaining is supported in custom builds as long as the `_#value` method is - * directly or indirectly included in the build. - * - * In addition to lodash methods, wrappers have `Array` and `String` methods. - * - * The wrapper `Array` methods are: - * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift` - * - * The wrapper `String` methods are: - * `replace` and `split` - * - * The wrapper methods that support shortcut fusion are: - * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`, - * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`, - * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray` - * - * The chainable wrapper methods are: - * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`, - * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`, - * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`, - * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`, - * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`, - * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`, - * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`, - * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`, - * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`, - * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`, - * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`, - * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`, - * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`, - * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`, - * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`, - * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`, - * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`, - * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`, - * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`, - * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`, - * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`, - * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`, - * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`, - * `zipObject`, `zipObjectDeep`, and `zipWith` - * - * The wrapper methods that are **not** chainable by default are: - * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`, - * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`, - * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`, - * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`, - * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`, - * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`, - * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`, - * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`, - * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`, - * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`, - * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`, - * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`, - * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`, - * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`, - * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`, - * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`, - * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`, - * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`, - * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`, - * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`, - * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`, - * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`, - * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`, - * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`, - * `upperFirst`, `value`, and `words` - * - * @name _ - * @constructor - * @category Seq - * @param {*} value The value to wrap in a `lodash` instance. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var wrapped = _([1, 2, 3]); - * - * // Returns an unwrapped value. - * wrapped.reduce(_.add); - * // => 6 - * - * // Returns a wrapped value. - * var squares = wrapped.map(square); - * - * _.isArray(squares); - * // => false - * - * _.isArray(squares.value()); - * // => true - */ - function lodash(value) { - if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) { - if (value instanceof LodashWrapper) { - return value; - } - if (hasOwnProperty.call(value, '__wrapped__')) { - return wrapperClone(value); - } - } - return new LodashWrapper(value); - } - - /** - * The base implementation of `_.create` without support for assigning - * properties to the created object. - * - * @private - * @param {Object} proto The object to inherit from. - * @returns {Object} Returns the new object. - */ - var baseCreate = (function() { - function object() {} - return function(proto) { - if (!isObject(proto)) { - return {}; - } - if (objectCreate) { - return objectCreate(proto); - } - object.prototype = proto; - var result = new object; - object.prototype = undefined; - return result; - }; - }()); - - /** - * The function whose prototype chain sequence wrappers inherit from. - * - * @private - */ - function baseLodash() { - // No operation performed. - } - - /** - * The base constructor for creating `lodash` wrapper objects. - * - * @private - * @param {*} value The value to wrap. - * @param {boolean} [chainAll] Enable explicit method chain sequences. - */ - function LodashWrapper(value, chainAll) { - this.__wrapped__ = value; - this.__actions__ = []; - this.__chain__ = !!chainAll; - this.__index__ = 0; - this.__values__ = undefined; - } - - /** - * By default, the template delimiters used by lodash are like those in - * embedded Ruby (ERB) as well as ES2015 template strings. Change the - * following template settings to use alternative delimiters. - * - * @static - * @memberOf _ - * @type {Object} - */ - lodash.templateSettings = { - - /** - * Used to detect `data` property values to be HTML-escaped. - * - * @memberOf _.templateSettings - * @type {RegExp} - */ - 'escape': reEscape, - - /** - * Used to detect code to be evaluated. - * - * @memberOf _.templateSettings - * @type {RegExp} - */ - 'evaluate': reEvaluate, - - /** - * Used to detect `data` property values to inject. - * - * @memberOf _.templateSettings - * @type {RegExp} - */ - 'interpolate': reInterpolate, - - /** - * Used to reference the data object in the template text. - * - * @memberOf _.templateSettings - * @type {string} - */ - 'variable': '', - - /** - * Used to import variables into the compiled template. - * - * @memberOf _.templateSettings - * @type {Object} - */ - 'imports': { - - /** - * A reference to the `lodash` function. - * - * @memberOf _.templateSettings.imports - * @type {Function} - */ - '_': lodash - } - }; - - // Ensure wrappers are instances of `baseLodash`. - lodash.prototype = baseLodash.prototype; - lodash.prototype.constructor = lodash; - - LodashWrapper.prototype = baseCreate(baseLodash.prototype); - LodashWrapper.prototype.constructor = LodashWrapper; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation. - * - * @private - * @constructor - * @param {*} value The value to wrap. - */ - function LazyWrapper(value) { - this.__wrapped__ = value; - this.__actions__ = []; - this.__dir__ = 1; - this.__filtered__ = false; - this.__iteratees__ = []; - this.__takeCount__ = MAX_ARRAY_LENGTH; - this.__views__ = []; - } - - /** - * Creates a clone of the lazy wrapper object. - * - * @private - * @name clone - * @memberOf LazyWrapper - * @returns {Object} Returns the cloned `LazyWrapper` object. - */ - function lazyClone() { - var result = new LazyWrapper(this.__wrapped__); - result.__actions__ = copyArray(this.__actions__); - result.__dir__ = this.__dir__; - result.__filtered__ = this.__filtered__; - result.__iteratees__ = copyArray(this.__iteratees__); - result.__takeCount__ = this.__takeCount__; - result.__views__ = copyArray(this.__views__); - return result; - } - - /** - * Reverses the direction of lazy iteration. - * - * @private - * @name reverse - * @memberOf LazyWrapper - * @returns {Object} Returns the new reversed `LazyWrapper` object. - */ - function lazyReverse() { - if (this.__filtered__) { - var result = new LazyWrapper(this); - result.__dir__ = -1; - result.__filtered__ = true; - } else { - result = this.clone(); - result.__dir__ *= -1; - } - return result; - } - - /** - * Extracts the unwrapped value from its lazy wrapper. - * - * @private - * @name value - * @memberOf LazyWrapper - * @returns {*} Returns the unwrapped value. - */ - function lazyValue() { - var array = this.__wrapped__.value(), - dir = this.__dir__, - isArr = isArray(array), - isRight = dir < 0, - arrLength = isArr ? array.length : 0, - view = getView(0, arrLength, this.__views__), - start = view.start, - end = view.end, - length = end - start, - index = isRight ? end : (start - 1), - iteratees = this.__iteratees__, - iterLength = iteratees.length, - resIndex = 0, - takeCount = nativeMin(length, this.__takeCount__); - - if (!isArr || (!isRight && arrLength == length && takeCount == length)) { - return baseWrapperValue(array, this.__actions__); - } - var result = []; - - outer: - while (length-- && resIndex < takeCount) { - index += dir; - - var iterIndex = -1, - value = array[index]; - - while (++iterIndex < iterLength) { - var data = iteratees[iterIndex], - iteratee = data.iteratee, - type = data.type, - computed = iteratee(value); - - if (type == LAZY_MAP_FLAG) { - value = computed; - } else if (!computed) { - if (type == LAZY_FILTER_FLAG) { - continue outer; - } else { - break outer; - } - } - } - result[resIndex++] = value; - } - return result; - } - - // Ensure `LazyWrapper` is an instance of `baseLodash`. - LazyWrapper.prototype = baseCreate(baseLodash.prototype); - LazyWrapper.prototype.constructor = LazyWrapper; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a hash object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function Hash(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - - /** - * Removes all key-value entries from the hash. - * - * @private - * @name clear - * @memberOf Hash - */ - function hashClear() { - this.__data__ = nativeCreate ? nativeCreate(null) : {}; - this.size = 0; - } - - /** - * Removes `key` and its value from the hash. - * - * @private - * @name delete - * @memberOf Hash - * @param {Object} hash The hash to modify. - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function hashDelete(key) { - var result = this.has(key) && delete this.__data__[key]; - this.size -= result ? 1 : 0; - return result; - } - - /** - * Gets the hash value for `key`. - * - * @private - * @name get - * @memberOf Hash - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function hashGet(key) { - var data = this.__data__; - if (nativeCreate) { - var result = data[key]; - return result === HASH_UNDEFINED ? undefined : result; - } - return hasOwnProperty.call(data, key) ? data[key] : undefined; - } - - /** - * Checks if a hash value for `key` exists. - * - * @private - * @name has - * @memberOf Hash - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function hashHas(key) { - var data = this.__data__; - return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); - } - - /** - * Sets the hash `key` to `value`. - * - * @private - * @name set - * @memberOf Hash - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the hash instance. - */ - function hashSet(key, value) { - var data = this.__data__; - this.size += this.has(key) ? 0 : 1; - data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; - return this; - } - - // Add methods to `Hash`. - Hash.prototype.clear = hashClear; - Hash.prototype['delete'] = hashDelete; - Hash.prototype.get = hashGet; - Hash.prototype.has = hashHas; - Hash.prototype.set = hashSet; - - /*------------------------------------------------------------------------*/ - - /** - * Creates an list cache object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function ListCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - - /** - * Removes all key-value entries from the list cache. - * - * @private - * @name clear - * @memberOf ListCache - */ - function listCacheClear() { - this.__data__ = []; - this.size = 0; - } - - /** - * Removes `key` and its value from the list cache. - * - * @private - * @name delete - * @memberOf ListCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function listCacheDelete(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - return false; - } - var lastIndex = data.length - 1; - if (index == lastIndex) { - data.pop(); - } else { - splice.call(data, index, 1); - } - --this.size; - return true; - } - - /** - * Gets the list cache value for `key`. - * - * @private - * @name get - * @memberOf ListCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function listCacheGet(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - return index < 0 ? undefined : data[index][1]; - } - - /** - * Checks if a list cache value for `key` exists. - * - * @private - * @name has - * @memberOf ListCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function listCacheHas(key) { - return assocIndexOf(this.__data__, key) > -1; - } - - /** - * Sets the list cache `key` to `value`. - * - * @private - * @name set - * @memberOf ListCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the list cache instance. - */ - function listCacheSet(key, value) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - ++this.size; - data.push([key, value]); - } else { - data[index][1] = value; - } - return this; - } - - // Add methods to `ListCache`. - ListCache.prototype.clear = listCacheClear; - ListCache.prototype['delete'] = listCacheDelete; - ListCache.prototype.get = listCacheGet; - ListCache.prototype.has = listCacheHas; - ListCache.prototype.set = listCacheSet; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a map cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function MapCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - - /** - * Removes all key-value entries from the map. - * - * @private - * @name clear - * @memberOf MapCache - */ - function mapCacheClear() { - this.size = 0; - this.__data__ = { - 'hash': new Hash, - 'map': new (Map || ListCache), - 'string': new Hash - }; - } - - /** - * Removes `key` and its value from the map. - * - * @private - * @name delete - * @memberOf MapCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function mapCacheDelete(key) { - var result = getMapData(this, key)['delete'](key); - this.size -= result ? 1 : 0; - return result; - } - - /** - * Gets the map value for `key`. - * - * @private - * @name get - * @memberOf MapCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function mapCacheGet(key) { - return getMapData(this, key).get(key); - } - - /** - * Checks if a map value for `key` exists. - * - * @private - * @name has - * @memberOf MapCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function mapCacheHas(key) { - return getMapData(this, key).has(key); - } - - /** - * Sets the map `key` to `value`. - * - * @private - * @name set - * @memberOf MapCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the map cache instance. - */ - function mapCacheSet(key, value) { - var data = getMapData(this, key), - size = data.size; - - data.set(key, value); - this.size += data.size == size ? 0 : 1; - return this; - } - - // Add methods to `MapCache`. - MapCache.prototype.clear = mapCacheClear; - MapCache.prototype['delete'] = mapCacheDelete; - MapCache.prototype.get = mapCacheGet; - MapCache.prototype.has = mapCacheHas; - MapCache.prototype.set = mapCacheSet; - - /*------------------------------------------------------------------------*/ - - /** - * - * Creates an array cache object to store unique values. - * - * @private - * @constructor - * @param {Array} [values] The values to cache. - */ - function SetCache(values) { - var index = -1, - length = values == null ? 0 : values.length; - - this.__data__ = new MapCache; - while (++index < length) { - this.add(values[index]); - } - } - - /** - * Adds `value` to the array cache. - * - * @private - * @name add - * @memberOf SetCache - * @alias push - * @param {*} value The value to cache. - * @returns {Object} Returns the cache instance. - */ - function setCacheAdd(value) { - this.__data__.set(value, HASH_UNDEFINED); - return this; - } - - /** - * Checks if `value` is in the array cache. - * - * @private - * @name has - * @memberOf SetCache - * @param {*} value The value to search for. - * @returns {number} Returns `true` if `value` is found, else `false`. - */ - function setCacheHas(value) { - return this.__data__.has(value); - } - - // Add methods to `SetCache`. - SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; - SetCache.prototype.has = setCacheHas; - - /*------------------------------------------------------------------------*/ - - /** - * Creates a stack cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function Stack(entries) { - var data = this.__data__ = new ListCache(entries); - this.size = data.size; - } - - /** - * Removes all key-value entries from the stack. - * - * @private - * @name clear - * @memberOf Stack - */ - function stackClear() { - this.__data__ = new ListCache; - this.size = 0; - } - - /** - * Removes `key` and its value from the stack. - * - * @private - * @name delete - * @memberOf Stack - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function stackDelete(key) { - var data = this.__data__, - result = data['delete'](key); - - this.size = data.size; - return result; - } - - /** - * Gets the stack value for `key`. - * - * @private - * @name get - * @memberOf Stack - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function stackGet(key) { - return this.__data__.get(key); - } - - /** - * Checks if a stack value for `key` exists. - * - * @private - * @name has - * @memberOf Stack - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function stackHas(key) { - return this.__data__.has(key); - } - - /** - * Sets the stack `key` to `value`. - * - * @private - * @name set - * @memberOf Stack - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the stack cache instance. - */ - function stackSet(key, value) { - var data = this.__data__; - if (data instanceof ListCache) { - var pairs = data.__data__; - if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { - pairs.push([key, value]); - this.size = ++data.size; - return this; - } - data = this.__data__ = new MapCache(pairs); - } - data.set(key, value); - this.size = data.size; - return this; - } - - // Add methods to `Stack`. - Stack.prototype.clear = stackClear; - Stack.prototype['delete'] = stackDelete; - Stack.prototype.get = stackGet; - Stack.prototype.has = stackHas; - Stack.prototype.set = stackSet; - - /*------------------------------------------------------------------------*/ - - /** - * Creates an array of the enumerable property names of the array-like `value`. - * - * @private - * @param {*} value The value to query. - * @param {boolean} inherited Specify returning inherited property names. - * @returns {Array} Returns the array of property names. - */ - function arrayLikeKeys(value, inherited) { - var isArr = isArray(value), - isArg = !isArr && isArguments(value), - isBuff = !isArr && !isArg && isBuffer(value), - isType = !isArr && !isArg && !isBuff && isTypedArray(value), - skipIndexes = isArr || isArg || isBuff || isType, - result = skipIndexes ? baseTimes(value.length, String) : [], - length = result.length; - - for (var key in value) { - if ((inherited || hasOwnProperty.call(value, key)) && - !(skipIndexes && ( - // Safari 9 has enumerable `arguments.length` in strict mode. - key == 'length' || - // Node.js 0.10 has enumerable non-index properties on buffers. - (isBuff && (key == 'offset' || key == 'parent')) || - // PhantomJS 2 has enumerable non-index properties on typed arrays. - (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || - // Skip index properties. - isIndex(key, length) - ))) { - result.push(key); - } - } - return result; - } - - /** - * A specialized version of `_.sample` for arrays. - * - * @private - * @param {Array} array The array to sample. - * @returns {*} Returns the random element. - */ - function arraySample(array) { - var length = array.length; - return length ? array[baseRandom(0, length - 1)] : undefined; - } - - /** - * A specialized version of `_.sampleSize` for arrays. - * - * @private - * @param {Array} array The array to sample. - * @param {number} n The number of elements to sample. - * @returns {Array} Returns the random elements. - */ - function arraySampleSize(array, n) { - return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length)); - } - - /** - * A specialized version of `_.shuffle` for arrays. - * - * @private - * @param {Array} array The array to shuffle. - * @returns {Array} Returns the new shuffled array. - */ - function arrayShuffle(array) { - return shuffleSelf(copyArray(array)); - } - - /** - * This function is like `assignValue` except that it doesn't assign - * `undefined` values. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function assignMergeValue(object, key, value) { - if ((value !== undefined && !eq(object[key], value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } - } - - /** - * Assigns `value` to `key` of `object` if the existing value is not equivalent - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function assignValue(object, key, value) { - var objValue = object[key]; - if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } - } - - /** - * Gets the index at which the `key` is found in `array` of key-value pairs. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} key The key to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function assocIndexOf(array, key) { - var length = array.length; - while (length--) { - if (eq(array[length][0], key)) { - return length; - } - } - return -1; - } - - /** - * Aggregates elements of `collection` on `accumulator` with keys transformed - * by `iteratee` and values set by `setter`. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform keys. - * @param {Object} accumulator The initial aggregated object. - * @returns {Function} Returns `accumulator`. - */ - function baseAggregator(collection, setter, iteratee, accumulator) { - baseEach(collection, function(value, key, collection) { - setter(accumulator, value, iteratee(value), collection); - }); - return accumulator; - } - - /** - * The base implementation of `_.assign` without support for multiple sources - * or `customizer` functions. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @returns {Object} Returns `object`. - */ - function baseAssign(object, source) { - return object && copyObject(source, keys(source), object); - } - - /** - * The base implementation of `_.assignIn` without support for multiple sources - * or `customizer` functions. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @returns {Object} Returns `object`. - */ - function baseAssignIn(object, source) { - return object && copyObject(source, keysIn(source), object); - } - - /** - * The base implementation of `assignValue` and `assignMergeValue` without - * value checks. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function baseAssignValue(object, key, value) { - if (key == '__proto__' && defineProperty) { - defineProperty(object, key, { - 'configurable': true, - 'enumerable': true, - 'value': value, - 'writable': true - }); - } else { - object[key] = value; - } - } - - /** - * The base implementation of `_.at` without support for individual paths. - * - * @private - * @param {Object} object The object to iterate over. - * @param {string[]} paths The property paths to pick. - * @returns {Array} Returns the picked elements. - */ - function baseAt(object, paths) { - var index = -1, - length = paths.length, - result = Array(length), - skip = object == null; - - while (++index < length) { - result[index] = skip ? undefined : get(object, paths[index]); - } - return result; - } - - /** - * The base implementation of `_.clamp` which doesn't coerce arguments. - * - * @private - * @param {number} number The number to clamp. - * @param {number} [lower] The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the clamped number. - */ - function baseClamp(number, lower, upper) { - if (number === number) { - if (upper !== undefined) { - number = number <= upper ? number : upper; - } - if (lower !== undefined) { - number = number >= lower ? number : lower; - } - } - return number; - } - - /** - * The base implementation of `_.clone` and `_.cloneDeep` which tracks - * traversed objects. - * - * @private - * @param {*} value The value to clone. - * @param {boolean} bitmask The bitmask flags. - * 1 - Deep clone - * 2 - Flatten inherited properties - * 4 - Clone symbols - * @param {Function} [customizer] The function to customize cloning. - * @param {string} [key] The key of `value`. - * @param {Object} [object] The parent object of `value`. - * @param {Object} [stack] Tracks traversed objects and their clone counterparts. - * @returns {*} Returns the cloned value. - */ - function baseClone(value, bitmask, customizer, key, object, stack) { - var result, - isDeep = bitmask & CLONE_DEEP_FLAG, - isFlat = bitmask & CLONE_FLAT_FLAG, - isFull = bitmask & CLONE_SYMBOLS_FLAG; - - if (customizer) { - result = object ? customizer(value, key, object, stack) : customizer(value); - } - if (result !== undefined) { - return result; - } - if (!isObject(value)) { - return value; - } - var isArr = isArray(value); - if (isArr) { - result = initCloneArray(value); - if (!isDeep) { - return copyArray(value, result); - } - } else { - var tag = getTag(value), - isFunc = tag == funcTag || tag == genTag; - - if (isBuffer(value)) { - return cloneBuffer(value, isDeep); - } - if (tag == objectTag || tag == argsTag || (isFunc && !object)) { - result = (isFlat || isFunc) ? {} : initCloneObject(value); - if (!isDeep) { - return isFlat - ? copySymbolsIn(value, baseAssignIn(result, value)) - : copySymbols(value, baseAssign(result, value)); - } - } else { - if (!cloneableTags[tag]) { - return object ? value : {}; - } - result = initCloneByTag(value, tag, isDeep); - } - } - // Check for circular references and return its corresponding clone. - stack || (stack = new Stack); - var stacked = stack.get(value); - if (stacked) { - return stacked; - } - stack.set(value, result); - - if (isSet(value)) { - value.forEach(function(subValue) { - result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack)); - }); - } else if (isMap(value)) { - value.forEach(function(subValue, key) { - result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack)); - }); - } - - var keysFunc = isFull - ? (isFlat ? getAllKeysIn : getAllKeys) - : (isFlat ? keysIn : keys); - - var props = isArr ? undefined : keysFunc(value); - arrayEach(props || value, function(subValue, key) { - if (props) { - key = subValue; - subValue = value[key]; - } - // Recursively populate clone (susceptible to call stack limits). - assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack)); - }); - return result; - } - - /** - * The base implementation of `_.conforms` which doesn't clone `source`. - * - * @private - * @param {Object} source The object of property predicates to conform to. - * @returns {Function} Returns the new spec function. - */ - function baseConforms(source) { - var props = keys(source); - return function(object) { - return baseConformsTo(object, source, props); - }; - } - - /** - * The base implementation of `_.conformsTo` which accepts `props` to check. - * - * @private - * @param {Object} object The object to inspect. - * @param {Object} source The object of property predicates to conform to. - * @returns {boolean} Returns `true` if `object` conforms, else `false`. - */ - function baseConformsTo(object, source, props) { - var length = props.length; - if (object == null) { - return !length; - } - object = Object(object); - while (length--) { - var key = props[length], - predicate = source[key], - value = object[key]; - - if ((value === undefined && !(key in object)) || !predicate(value)) { - return false; - } - } - return true; - } - - /** - * The base implementation of `_.delay` and `_.defer` which accepts `args` - * to provide to `func`. - * - * @private - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @param {Array} args The arguments to provide to `func`. - * @returns {number|Object} Returns the timer id or timeout object. - */ - function baseDelay(func, wait, args) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return setTimeout(function() { func.apply(undefined, args); }, wait); - } - - /** - * The base implementation of methods like `_.difference` without support - * for excluding multiple arrays or iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Array} values The values to exclude. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - */ - function baseDifference(array, values, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - isCommon = true, - length = array.length, - result = [], - valuesLength = values.length; - - if (!length) { - return result; - } - if (iteratee) { - values = arrayMap(values, baseUnary(iteratee)); - } - if (comparator) { - includes = arrayIncludesWith; - isCommon = false; - } - else if (values.length >= LARGE_ARRAY_SIZE) { - includes = cacheHas; - isCommon = false; - values = new SetCache(values); - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee == null ? value : iteratee(value); - - value = (comparator || value !== 0) ? value : 0; - if (isCommon && computed === computed) { - var valuesIndex = valuesLength; - while (valuesIndex--) { - if (values[valuesIndex] === computed) { - continue outer; - } - } - result.push(value); - } - else if (!includes(values, computed, comparator)) { - result.push(value); - } - } - return result; - } - - /** - * The base implementation of `_.forEach` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - */ - var baseEach = createBaseEach(baseForOwn); - - /** - * The base implementation of `_.forEachRight` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - */ - var baseEachRight = createBaseEach(baseForOwnRight, true); - - /** - * The base implementation of `_.every` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false` - */ - function baseEvery(collection, predicate) { - var result = true; - baseEach(collection, function(value, index, collection) { - result = !!predicate(value, index, collection); - return result; - }); - return result; - } - - /** - * The base implementation of methods like `_.max` and `_.min` which accepts a - * `comparator` to determine the extremum value. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The iteratee invoked per iteration. - * @param {Function} comparator The comparator used to compare values. - * @returns {*} Returns the extremum value. - */ - function baseExtremum(array, iteratee, comparator) { - var index = -1, - length = array.length; - - while (++index < length) { - var value = array[index], - current = iteratee(value); - - if (current != null && (computed === undefined - ? (current === current && !isSymbol(current)) - : comparator(current, computed) - )) { - var computed = current, - result = value; - } - } - return result; - } - - /** - * The base implementation of `_.fill` without an iteratee call guard. - * - * @private - * @param {Array} array The array to fill. - * @param {*} value The value to fill `array` with. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns `array`. - */ - function baseFill(array, value, start, end) { - var length = array.length; - - start = toInteger(start); - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = (end === undefined || end > length) ? length : toInteger(end); - if (end < 0) { - end += length; - } - end = start > end ? 0 : toLength(end); - while (start < end) { - array[start++] = value; - } - return array; - } - - /** - * The base implementation of `_.filter` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - */ - function baseFilter(collection, predicate) { - var result = []; - baseEach(collection, function(value, index, collection) { - if (predicate(value, index, collection)) { - result.push(value); - } - }); - return result; - } - - /** - * The base implementation of `_.flatten` with support for restricting flattening. - * - * @private - * @param {Array} array The array to flatten. - * @param {number} depth The maximum recursion depth. - * @param {boolean} [predicate=isFlattenable] The function invoked per iteration. - * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks. - * @param {Array} [result=[]] The initial result value. - * @returns {Array} Returns the new flattened array. - */ - function baseFlatten(array, depth, predicate, isStrict, result) { - var index = -1, - length = array.length; - - predicate || (predicate = isFlattenable); - result || (result = []); - - while (++index < length) { - var value = array[index]; - if (depth > 0 && predicate(value)) { - if (depth > 1) { - // Recursively flatten arrays (susceptible to call stack limits). - baseFlatten(value, depth - 1, predicate, isStrict, result); - } else { - arrayPush(result, value); - } - } else if (!isStrict) { - result[result.length] = value; - } - } - return result; - } - - /** - * The base implementation of `baseForOwn` which iterates over `object` - * properties returned by `keysFunc` and invokes `iteratee` for each property. - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ - var baseFor = createBaseFor(); - - /** - * This function is like `baseFor` except that it iterates over properties - * in the opposite order. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ - var baseForRight = createBaseFor(true); - - /** - * The base implementation of `_.forOwn` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ - function baseForOwn(object, iteratee) { - return object && baseFor(object, iteratee, keys); - } - - /** - * The base implementation of `_.forOwnRight` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ - function baseForOwnRight(object, iteratee) { - return object && baseForRight(object, iteratee, keys); - } - - /** - * The base implementation of `_.functions` which creates an array of - * `object` function property names filtered from `props`. - * - * @private - * @param {Object} object The object to inspect. - * @param {Array} props The property names to filter. - * @returns {Array} Returns the function names. - */ - function baseFunctions(object, props) { - return arrayFilter(props, function(key) { - return isFunction(object[key]); - }); - } - - /** - * The base implementation of `_.get` without support for default values. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to get. - * @returns {*} Returns the resolved value. - */ - function baseGet(object, path) { - path = castPath(path, object); - - var index = 0, - length = path.length; - - while (object != null && index < length) { - object = object[toKey(path[index++])]; - } - return (index && index == length) ? object : undefined; - } - - /** - * The base implementation of `getAllKeys` and `getAllKeysIn` which uses - * `keysFunc` and `symbolsFunc` to get the enumerable property names and - * symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Function} keysFunc The function to get the keys of `object`. - * @param {Function} symbolsFunc The function to get the symbols of `object`. - * @returns {Array} Returns the array of property names and symbols. - */ - function baseGetAllKeys(object, keysFunc, symbolsFunc) { - var result = keysFunc(object); - return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); - } - - /** - * The base implementation of `getTag` without fallbacks for buggy environments. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ - function baseGetTag(value) { - if (value == null) { - return value === undefined ? undefinedTag : nullTag; - } - return (symToStringTag && symToStringTag in Object(value)) - ? getRawTag(value) - : objectToString(value); - } - - /** - * The base implementation of `_.gt` which doesn't coerce arguments. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is greater than `other`, - * else `false`. - */ - function baseGt(value, other) { - return value > other; - } - - /** - * The base implementation of `_.has` without support for deep paths. - * - * @private - * @param {Object} [object] The object to query. - * @param {Array|string} key The key to check. - * @returns {boolean} Returns `true` if `key` exists, else `false`. - */ - function baseHas(object, key) { - return object != null && hasOwnProperty.call(object, key); - } - - /** - * The base implementation of `_.hasIn` without support for deep paths. - * - * @private - * @param {Object} [object] The object to query. - * @param {Array|string} key The key to check. - * @returns {boolean} Returns `true` if `key` exists, else `false`. - */ - function baseHasIn(object, key) { - return object != null && key in Object(object); - } - - /** - * The base implementation of `_.inRange` which doesn't coerce arguments. - * - * @private - * @param {number} number The number to check. - * @param {number} start The start of the range. - * @param {number} end The end of the range. - * @returns {boolean} Returns `true` if `number` is in the range, else `false`. - */ - function baseInRange(number, start, end) { - return number >= nativeMin(start, end) && number < nativeMax(start, end); - } - - /** - * The base implementation of methods like `_.intersection`, without support - * for iteratee shorthands, that accepts an array of arrays to inspect. - * - * @private - * @param {Array} arrays The arrays to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of shared values. - */ - function baseIntersection(arrays, iteratee, comparator) { - var includes = comparator ? arrayIncludesWith : arrayIncludes, - length = arrays[0].length, - othLength = arrays.length, - othIndex = othLength, - caches = Array(othLength), - maxLength = Infinity, - result = []; - - while (othIndex--) { - var array = arrays[othIndex]; - if (othIndex && iteratee) { - array = arrayMap(array, baseUnary(iteratee)); - } - maxLength = nativeMin(array.length, maxLength); - caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120)) - ? new SetCache(othIndex && array) - : undefined; - } - array = arrays[0]; - - var index = -1, - seen = caches[0]; - - outer: - while (++index < length && result.length < maxLength) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - - value = (comparator || value !== 0) ? value : 0; - if (!(seen - ? cacheHas(seen, computed) - : includes(result, computed, comparator) - )) { - othIndex = othLength; - while (--othIndex) { - var cache = caches[othIndex]; - if (!(cache - ? cacheHas(cache, computed) - : includes(arrays[othIndex], computed, comparator)) - ) { - continue outer; - } - } - if (seen) { - seen.push(computed); - } - result.push(value); - } - } - return result; - } - - /** - * The base implementation of `_.invert` and `_.invertBy` which inverts - * `object` with values transformed by `iteratee` and set by `setter`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform values. - * @param {Object} accumulator The initial inverted object. - * @returns {Function} Returns `accumulator`. - */ - function baseInverter(object, setter, iteratee, accumulator) { - baseForOwn(object, function(value, key, object) { - setter(accumulator, iteratee(value), key, object); - }); - return accumulator; - } - - /** - * The base implementation of `_.invoke` without support for individual - * method arguments. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path of the method to invoke. - * @param {Array} args The arguments to invoke the method with. - * @returns {*} Returns the result of the invoked method. - */ - function baseInvoke(object, path, args) { - path = castPath(path, object); - object = parent(object, path); - var func = object == null ? object : object[toKey(last(path))]; - return func == null ? undefined : apply(func, object, args); - } - - /** - * The base implementation of `_.isArguments`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - */ - function baseIsArguments(value) { - return isObjectLike(value) && baseGetTag(value) == argsTag; - } - - /** - * The base implementation of `_.isArrayBuffer` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. - */ - function baseIsArrayBuffer(value) { - return isObjectLike(value) && baseGetTag(value) == arrayBufferTag; - } - - /** - * The base implementation of `_.isDate` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a date object, else `false`. - */ - function baseIsDate(value) { - return isObjectLike(value) && baseGetTag(value) == dateTag; - } - - /** - * The base implementation of `_.isEqual` which supports partial comparisons - * and tracks traversed objects. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {boolean} bitmask The bitmask flags. - * 1 - Unordered comparison - * 2 - Partial comparison - * @param {Function} [customizer] The function to customize comparisons. - * @param {Object} [stack] Tracks traversed `value` and `other` objects. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - */ - function baseIsEqual(value, other, bitmask, customizer, stack) { - if (value === other) { - return true; - } - if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { - return value !== value && other !== other; - } - return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); - } - - /** - * A specialized version of `baseIsEqual` for arrays and objects which performs - * deep comparisons and tracks traversed objects enabling objects with circular - * references to be compared. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} [stack] Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { - var objIsArr = isArray(object), - othIsArr = isArray(other), - objTag = objIsArr ? arrayTag : getTag(object), - othTag = othIsArr ? arrayTag : getTag(other); - - objTag = objTag == argsTag ? objectTag : objTag; - othTag = othTag == argsTag ? objectTag : othTag; - - var objIsObj = objTag == objectTag, - othIsObj = othTag == objectTag, - isSameTag = objTag == othTag; - - if (isSameTag && isBuffer(object)) { - if (!isBuffer(other)) { - return false; - } - objIsArr = true; - objIsObj = false; - } - if (isSameTag && !objIsObj) { - stack || (stack = new Stack); - return (objIsArr || isTypedArray(object)) - ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) - : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); - } - if (!(bitmask & COMPARE_PARTIAL_FLAG)) { - var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), - othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); - - if (objIsWrapped || othIsWrapped) { - var objUnwrapped = objIsWrapped ? object.value() : object, - othUnwrapped = othIsWrapped ? other.value() : other; - - stack || (stack = new Stack); - return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); - } - } - if (!isSameTag) { - return false; - } - stack || (stack = new Stack); - return equalObjects(object, other, bitmask, customizer, equalFunc, stack); - } - - /** - * The base implementation of `_.isMap` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a map, else `false`. - */ - function baseIsMap(value) { - return isObjectLike(value) && getTag(value) == mapTag; - } - - /** - * The base implementation of `_.isMatch` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @param {Array} matchData The property names, values, and compare flags to match. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - */ - function baseIsMatch(object, source, matchData, customizer) { - var index = matchData.length, - length = index, - noCustomizer = !customizer; - - if (object == null) { - return !length; - } - object = Object(object); - while (index--) { - var data = matchData[index]; - if ((noCustomizer && data[2]) - ? data[1] !== object[data[0]] - : !(data[0] in object) - ) { - return false; - } - } - while (++index < length) { - data = matchData[index]; - var key = data[0], - objValue = object[key], - srcValue = data[1]; - - if (noCustomizer && data[2]) { - if (objValue === undefined && !(key in object)) { - return false; - } - } else { - var stack = new Stack; - if (customizer) { - var result = customizer(objValue, srcValue, key, object, source, stack); - } - if (!(result === undefined - ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) - : result - )) { - return false; - } - } - } - return true; - } - - /** - * The base implementation of `_.isNative` without bad shim checks. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - */ - function baseIsNative(value) { - if (!isObject(value) || isMasked(value)) { - return false; - } - var pattern = isFunction(value) ? reIsNative : reIsHostCtor; - return pattern.test(toSource(value)); - } - - /** - * The base implementation of `_.isRegExp` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. - */ - function baseIsRegExp(value) { - return isObjectLike(value) && baseGetTag(value) == regexpTag; - } - - /** - * The base implementation of `_.isSet` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a set, else `false`. - */ - function baseIsSet(value) { - return isObjectLike(value) && getTag(value) == setTag; - } - - /** - * The base implementation of `_.isTypedArray` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - */ - function baseIsTypedArray(value) { - return isObjectLike(value) && - isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; - } - - /** - * The base implementation of `_.iteratee`. - * - * @private - * @param {*} [value=_.identity] The value to convert to an iteratee. - * @returns {Function} Returns the iteratee. - */ - function baseIteratee(value) { - // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9. - // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details. - if (typeof value == 'function') { - return value; - } - if (value == null) { - return identity; - } - if (typeof value == 'object') { - return isArray(value) - ? baseMatchesProperty(value[0], value[1]) - : baseMatches(value); - } - return property(value); - } - - /** - * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function baseKeys(object) { - if (!isPrototype(object)) { - return nativeKeys(object); - } - var result = []; - for (var key in Object(object)) { - if (hasOwnProperty.call(object, key) && key != 'constructor') { - result.push(key); - } - } - return result; - } - - /** - * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function baseKeysIn(object) { - if (!isObject(object)) { - return nativeKeysIn(object); - } - var isProto = isPrototype(object), - result = []; - - for (var key in object) { - if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { - result.push(key); - } - } - return result; - } - - /** - * The base implementation of `_.lt` which doesn't coerce arguments. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is less than `other`, - * else `false`. - */ - function baseLt(value, other) { - return value < other; - } - - /** - * The base implementation of `_.map` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - */ - function baseMap(collection, iteratee) { - var index = -1, - result = isArrayLike(collection) ? Array(collection.length) : []; - - baseEach(collection, function(value, key, collection) { - result[++index] = iteratee(value, key, collection); - }); - return result; - } - - /** - * The base implementation of `_.matches` which doesn't clone `source`. - * - * @private - * @param {Object} source The object of property values to match. - * @returns {Function} Returns the new spec function. - */ - function baseMatches(source) { - var matchData = getMatchData(source); - if (matchData.length == 1 && matchData[0][2]) { - return matchesStrictComparable(matchData[0][0], matchData[0][1]); - } - return function(object) { - return object === source || baseIsMatch(object, source, matchData); - }; - } - - /** - * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. - * - * @private - * @param {string} path The path of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ - function baseMatchesProperty(path, srcValue) { - if (isKey(path) && isStrictComparable(srcValue)) { - return matchesStrictComparable(toKey(path), srcValue); - } - return function(object) { - var objValue = get(object, path); - return (objValue === undefined && objValue === srcValue) - ? hasIn(object, path) - : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); - }; - } - - /** - * The base implementation of `_.merge` without support for multiple sources. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {number} srcIndex The index of `source`. - * @param {Function} [customizer] The function to customize merged values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ - function baseMerge(object, source, srcIndex, customizer, stack) { - if (object === source) { - return; - } - baseFor(source, function(srcValue, key) { - stack || (stack = new Stack); - if (isObject(srcValue)) { - baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); - } - else { - var newValue = customizer - ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack) - : undefined; - - if (newValue === undefined) { - newValue = srcValue; - } - assignMergeValue(object, key, newValue); - } - }, keysIn); - } - - /** - * A specialized version of `baseMerge` for arrays and objects which performs - * deep merges and tracks traversed objects enabling objects with circular - * references to be merged. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {string} key The key of the value to merge. - * @param {number} srcIndex The index of `source`. - * @param {Function} mergeFunc The function to merge values. - * @param {Function} [customizer] The function to customize assigned values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ - function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { - var objValue = safeGet(object, key), - srcValue = safeGet(source, key), - stacked = stack.get(srcValue); - - if (stacked) { - assignMergeValue(object, key, stacked); - return; - } - var newValue = customizer - ? customizer(objValue, srcValue, (key + ''), object, source, stack) - : undefined; - - var isCommon = newValue === undefined; - - if (isCommon) { - var isArr = isArray(srcValue), - isBuff = !isArr && isBuffer(srcValue), - isTyped = !isArr && !isBuff && isTypedArray(srcValue); - - newValue = srcValue; - if (isArr || isBuff || isTyped) { - if (isArray(objValue)) { - newValue = objValue; - } - else if (isArrayLikeObject(objValue)) { - newValue = copyArray(objValue); - } - else if (isBuff) { - isCommon = false; - newValue = cloneBuffer(srcValue, true); - } - else if (isTyped) { - isCommon = false; - newValue = cloneTypedArray(srcValue, true); - } - else { - newValue = []; - } - } - else if (isPlainObject(srcValue) || isArguments(srcValue)) { - newValue = objValue; - if (isArguments(objValue)) { - newValue = toPlainObject(objValue); - } - else if (!isObject(objValue) || isFunction(objValue)) { - newValue = initCloneObject(srcValue); - } - } - else { - isCommon = false; - } - } - if (isCommon) { - // Recursively merge objects and arrays (susceptible to call stack limits). - stack.set(srcValue, newValue); - mergeFunc(newValue, srcValue, srcIndex, customizer, stack); - stack['delete'](srcValue); - } - assignMergeValue(object, key, newValue); - } - - /** - * The base implementation of `_.nth` which doesn't coerce arguments. - * - * @private - * @param {Array} array The array to query. - * @param {number} n The index of the element to return. - * @returns {*} Returns the nth element of `array`. - */ - function baseNth(array, n) { - var length = array.length; - if (!length) { - return; - } - n += n < 0 ? length : 0; - return isIndex(n, length) ? array[n] : undefined; - } - - /** - * The base implementation of `_.orderBy` without param guards. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by. - * @param {string[]} orders The sort orders of `iteratees`. - * @returns {Array} Returns the new sorted array. - */ - function baseOrderBy(collection, iteratees, orders) { - if (iteratees.length) { - iteratees = arrayMap(iteratees, function(iteratee) { - if (isArray(iteratee)) { - return function(value) { - return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee); - } - } - return iteratee; - }); - } else { - iteratees = [identity]; - } - - var index = -1; - iteratees = arrayMap(iteratees, baseUnary(getIteratee())); - - var result = baseMap(collection, function(value, key, collection) { - var criteria = arrayMap(iteratees, function(iteratee) { - return iteratee(value); - }); - return { 'criteria': criteria, 'index': ++index, 'value': value }; - }); - - return baseSortBy(result, function(object, other) { - return compareMultiple(object, other, orders); - }); - } - - /** - * The base implementation of `_.pick` without support for individual - * property identifiers. - * - * @private - * @param {Object} object The source object. - * @param {string[]} paths The property paths to pick. - * @returns {Object} Returns the new object. - */ - function basePick(object, paths) { - return basePickBy(object, paths, function(value, path) { - return hasIn(object, path); - }); - } - - /** - * The base implementation of `_.pickBy` without support for iteratee shorthands. - * - * @private - * @param {Object} object The source object. - * @param {string[]} paths The property paths to pick. - * @param {Function} predicate The function invoked per property. - * @returns {Object} Returns the new object. - */ - function basePickBy(object, paths, predicate) { - var index = -1, - length = paths.length, - result = {}; - - while (++index < length) { - var path = paths[index], - value = baseGet(object, path); - - if (predicate(value, path)) { - baseSet(result, castPath(path, object), value); - } - } - return result; - } - - /** - * A specialized version of `baseProperty` which supports deep paths. - * - * @private - * @param {Array|string} path The path of the property to get. - * @returns {Function} Returns the new accessor function. - */ - function basePropertyDeep(path) { - return function(object) { - return baseGet(object, path); - }; - } - - /** - * The base implementation of `_.pullAllBy` without support for iteratee - * shorthands. - * - * @private - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns `array`. - */ - function basePullAll(array, values, iteratee, comparator) { - var indexOf = comparator ? baseIndexOfWith : baseIndexOf, - index = -1, - length = values.length, - seen = array; - - if (array === values) { - values = copyArray(values); - } - if (iteratee) { - seen = arrayMap(array, baseUnary(iteratee)); - } - while (++index < length) { - var fromIndex = 0, - value = values[index], - computed = iteratee ? iteratee(value) : value; - - while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) { - if (seen !== array) { - splice.call(seen, fromIndex, 1); - } - splice.call(array, fromIndex, 1); - } - } - return array; - } - - /** - * The base implementation of `_.pullAt` without support for individual - * indexes or capturing the removed elements. - * - * @private - * @param {Array} array The array to modify. - * @param {number[]} indexes The indexes of elements to remove. - * @returns {Array} Returns `array`. - */ - function basePullAt(array, indexes) { - var length = array ? indexes.length : 0, - lastIndex = length - 1; - - while (length--) { - var index = indexes[length]; - if (length == lastIndex || index !== previous) { - var previous = index; - if (isIndex(index)) { - splice.call(array, index, 1); - } else { - baseUnset(array, index); - } - } - } - return array; - } - - /** - * The base implementation of `_.random` without support for returning - * floating-point numbers. - * - * @private - * @param {number} lower The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the random number. - */ - function baseRandom(lower, upper) { - return lower + nativeFloor(nativeRandom() * (upper - lower + 1)); - } - - /** - * The base implementation of `_.range` and `_.rangeRight` which doesn't - * coerce arguments. - * - * @private - * @param {number} start The start of the range. - * @param {number} end The end of the range. - * @param {number} step The value to increment or decrement by. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Array} Returns the range of numbers. - */ - function baseRange(start, end, step, fromRight) { - var index = -1, - length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), - result = Array(length); - - while (length--) { - result[fromRight ? length : ++index] = start; - start += step; - } - return result; - } - - /** - * The base implementation of `_.repeat` which doesn't coerce arguments. - * - * @private - * @param {string} string The string to repeat. - * @param {number} n The number of times to repeat the string. - * @returns {string} Returns the repeated string. - */ - function baseRepeat(string, n) { - var result = ''; - if (!string || n < 1 || n > MAX_SAFE_INTEGER) { - return result; - } - // Leverage the exponentiation by squaring algorithm for a faster repeat. - // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details. - do { - if (n % 2) { - result += string; - } - n = nativeFloor(n / 2); - if (n) { - string += string; - } - } while (n); - - return result; - } - - /** - * The base implementation of `_.rest` which doesn't validate or coerce arguments. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - */ - function baseRest(func, start) { - return setToString(overRest(func, start, identity), func + ''); - } - - /** - * The base implementation of `_.sample`. - * - * @private - * @param {Array|Object} collection The collection to sample. - * @returns {*} Returns the random element. - */ - function baseSample(collection) { - return arraySample(values(collection)); - } - - /** - * The base implementation of `_.sampleSize` without param guards. - * - * @private - * @param {Array|Object} collection The collection to sample. - * @param {number} n The number of elements to sample. - * @returns {Array} Returns the random elements. - */ - function baseSampleSize(collection, n) { - var array = values(collection); - return shuffleSelf(array, baseClamp(n, 0, array.length)); - } - - /** - * The base implementation of `_.set`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {*} value The value to set. - * @param {Function} [customizer] The function to customize path creation. - * @returns {Object} Returns `object`. - */ - function baseSet(object, path, value, customizer) { - if (!isObject(object)) { - return object; - } - path = castPath(path, object); - - var index = -1, - length = path.length, - lastIndex = length - 1, - nested = object; - - while (nested != null && ++index < length) { - var key = toKey(path[index]), - newValue = value; - - if (key === '__proto__' || key === 'constructor' || key === 'prototype') { - return object; - } - - if (index != lastIndex) { - var objValue = nested[key]; - newValue = customizer ? customizer(objValue, key, nested) : undefined; - if (newValue === undefined) { - newValue = isObject(objValue) - ? objValue - : (isIndex(path[index + 1]) ? [] : {}); - } - } - assignValue(nested, key, newValue); - nested = nested[key]; - } - return object; - } - - /** - * The base implementation of `setData` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to associate metadata with. - * @param {*} data The metadata. - * @returns {Function} Returns `func`. - */ - var baseSetData = !metaMap ? identity : function(func, data) { - metaMap.set(func, data); - return func; - }; - - /** - * The base implementation of `setToString` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ - var baseSetToString = !defineProperty ? identity : function(func, string) { - return defineProperty(func, 'toString', { - 'configurable': true, - 'enumerable': false, - 'value': constant(string), - 'writable': true - }); - }; - - /** - * The base implementation of `_.shuffle`. - * - * @private - * @param {Array|Object} collection The collection to shuffle. - * @returns {Array} Returns the new shuffled array. - */ - function baseShuffle(collection) { - return shuffleSelf(values(collection)); - } - - /** - * The base implementation of `_.slice` without an iteratee call guard. - * - * @private - * @param {Array} array The array to slice. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the slice of `array`. - */ - function baseSlice(array, start, end) { - var index = -1, - length = array.length; - - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = end > length ? length : end; - if (end < 0) { - end += length; - } - length = start > end ? 0 : ((end - start) >>> 0); - start >>>= 0; - - var result = Array(length); - while (++index < length) { - result[index] = array[index + start]; - } - return result; - } - - /** - * The base implementation of `_.some` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ - function baseSome(collection, predicate) { - var result; - - baseEach(collection, function(value, index, collection) { - result = predicate(value, index, collection); - return !result; - }); - return !!result; - } - - /** - * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which - * performs a binary search of `array` to determine the index at which `value` - * should be inserted into `array` in order to maintain its sort order. - * - * @private - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {boolean} [retHighest] Specify returning the highest qualified index. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - */ - function baseSortedIndex(array, value, retHighest) { - var low = 0, - high = array == null ? low : array.length; - - if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) { - while (low < high) { - var mid = (low + high) >>> 1, - computed = array[mid]; - - if (computed !== null && !isSymbol(computed) && - (retHighest ? (computed <= value) : (computed < value))) { - low = mid + 1; - } else { - high = mid; - } - } - return high; - } - return baseSortedIndexBy(array, value, identity, retHighest); - } - - /** - * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy` - * which invokes `iteratee` for `value` and each element of `array` to compute - * their sort ranking. The iteratee is invoked with one argument; (value). - * - * @private - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function} iteratee The iteratee invoked per element. - * @param {boolean} [retHighest] Specify returning the highest qualified index. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - */ - function baseSortedIndexBy(array, value, iteratee, retHighest) { - var low = 0, - high = array == null ? 0 : array.length; - if (high === 0) { - return 0; - } - - value = iteratee(value); - var valIsNaN = value !== value, - valIsNull = value === null, - valIsSymbol = isSymbol(value), - valIsUndefined = value === undefined; - - while (low < high) { - var mid = nativeFloor((low + high) / 2), - computed = iteratee(array[mid]), - othIsDefined = computed !== undefined, - othIsNull = computed === null, - othIsReflexive = computed === computed, - othIsSymbol = isSymbol(computed); - - if (valIsNaN) { - var setLow = retHighest || othIsReflexive; - } else if (valIsUndefined) { - setLow = othIsReflexive && (retHighest || othIsDefined); - } else if (valIsNull) { - setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull); - } else if (valIsSymbol) { - setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol); - } else if (othIsNull || othIsSymbol) { - setLow = false; - } else { - setLow = retHighest ? (computed <= value) : (computed < value); - } - if (setLow) { - low = mid + 1; - } else { - high = mid; - } - } - return nativeMin(high, MAX_ARRAY_INDEX); - } - - /** - * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - */ - function baseSortedUniq(array, iteratee) { - var index = -1, - length = array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - - if (!index || !eq(computed, seen)) { - var seen = computed; - result[resIndex++] = value === 0 ? 0 : value; - } - } - return result; - } - - /** - * The base implementation of `_.toNumber` which doesn't ensure correct - * conversions of binary, hexadecimal, or octal string values. - * - * @private - * @param {*} value The value to process. - * @returns {number} Returns the number. - */ - function baseToNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - return +value; - } - - /** - * The base implementation of `_.toString` which doesn't convert nullish - * values to empty strings. - * - * @private - * @param {*} value The value to process. - * @returns {string} Returns the string. - */ - function baseToString(value) { - // Exit early for strings to avoid a performance hit in some environments. - if (typeof value == 'string') { - return value; - } - if (isArray(value)) { - // Recursively convert values (susceptible to call stack limits). - return arrayMap(value, baseToString) + ''; - } - if (isSymbol(value)) { - return symbolToString ? symbolToString.call(value) : ''; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; - } - - /** - * The base implementation of `_.uniqBy` without support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new duplicate free array. - */ - function baseUniq(array, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - length = array.length, - isCommon = true, - result = [], - seen = result; - - if (comparator) { - isCommon = false; - includes = arrayIncludesWith; - } - else if (length >= LARGE_ARRAY_SIZE) { - var set = iteratee ? null : createSet(array); - if (set) { - return setToArray(set); - } - isCommon = false; - includes = cacheHas; - seen = new SetCache; - } - else { - seen = iteratee ? [] : result; - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - - value = (comparator || value !== 0) ? value : 0; - if (isCommon && computed === computed) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { - continue outer; - } - } - if (iteratee) { - seen.push(computed); - } - result.push(value); - } - else if (!includes(seen, computed, comparator)) { - if (seen !== result) { - seen.push(computed); - } - result.push(value); - } - } - return result; - } - - /** - * The base implementation of `_.unset`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The property path to unset. - * @returns {boolean} Returns `true` if the property is deleted, else `false`. - */ - function baseUnset(object, path) { - path = castPath(path, object); - object = parent(object, path); - return object == null || delete object[toKey(last(path))]; - } - - /** - * The base implementation of `_.update`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to update. - * @param {Function} updater The function to produce the updated value. - * @param {Function} [customizer] The function to customize path creation. - * @returns {Object} Returns `object`. - */ - function baseUpdate(object, path, updater, customizer) { - return baseSet(object, path, updater(baseGet(object, path)), customizer); - } - - /** - * The base implementation of methods like `_.dropWhile` and `_.takeWhile` - * without support for iteratee shorthands. - * - * @private - * @param {Array} array The array to query. - * @param {Function} predicate The function invoked per iteration. - * @param {boolean} [isDrop] Specify dropping elements instead of taking them. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Array} Returns the slice of `array`. - */ - function baseWhile(array, predicate, isDrop, fromRight) { - var length = array.length, - index = fromRight ? length : -1; - - while ((fromRight ? index-- : ++index < length) && - predicate(array[index], index, array)) {} - - return isDrop - ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length)) - : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index)); - } - - /** - * The base implementation of `wrapperValue` which returns the result of - * performing a sequence of actions on the unwrapped `value`, where each - * successive action is supplied the return value of the previous. - * - * @private - * @param {*} value The unwrapped value. - * @param {Array} actions Actions to perform to resolve the unwrapped value. - * @returns {*} Returns the resolved value. - */ - function baseWrapperValue(value, actions) { - var result = value; - if (result instanceof LazyWrapper) { - result = result.value(); - } - return arrayReduce(actions, function(result, action) { - return action.func.apply(action.thisArg, arrayPush([result], action.args)); - }, result); - } - - /** - * The base implementation of methods like `_.xor`, without support for - * iteratee shorthands, that accepts an array of arrays to inspect. - * - * @private - * @param {Array} arrays The arrays to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of values. - */ - function baseXor(arrays, iteratee, comparator) { - var length = arrays.length; - if (length < 2) { - return length ? baseUniq(arrays[0]) : []; - } - var index = -1, - result = Array(length); - - while (++index < length) { - var array = arrays[index], - othIndex = -1; - - while (++othIndex < length) { - if (othIndex != index) { - result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator); - } - } - } - return baseUniq(baseFlatten(result, 1), iteratee, comparator); - } - - /** - * This base implementation of `_.zipObject` which assigns values using `assignFunc`. - * - * @private - * @param {Array} props The property identifiers. - * @param {Array} values The property values. - * @param {Function} assignFunc The function to assign values. - * @returns {Object} Returns the new object. - */ - function baseZipObject(props, values, assignFunc) { - var index = -1, - length = props.length, - valsLength = values.length, - result = {}; - - while (++index < length) { - var value = index < valsLength ? values[index] : undefined; - assignFunc(result, props[index], value); - } - return result; - } - - /** - * Casts `value` to an empty array if it's not an array like object. - * - * @private - * @param {*} value The value to inspect. - * @returns {Array|Object} Returns the cast array-like object. - */ - function castArrayLikeObject(value) { - return isArrayLikeObject(value) ? value : []; - } - - /** - * Casts `value` to `identity` if it's not a function. - * - * @private - * @param {*} value The value to inspect. - * @returns {Function} Returns cast function. - */ - function castFunction(value) { - return typeof value == 'function' ? value : identity; - } - - /** - * Casts `value` to a path array if it's not one. - * - * @private - * @param {*} value The value to inspect. - * @param {Object} [object] The object to query keys on. - * @returns {Array} Returns the cast property path array. - */ - function castPath(value, object) { - if (isArray(value)) { - return value; - } - return isKey(value, object) ? [value] : stringToPath(toString(value)); - } - - /** - * A `baseRest` alias which can be replaced with `identity` by module - * replacement plugins. - * - * @private - * @type {Function} - * @param {Function} func The function to apply a rest parameter to. - * @returns {Function} Returns the new function. - */ - var castRest = baseRest; - - /** - * Casts `array` to a slice if it's needed. - * - * @private - * @param {Array} array The array to inspect. - * @param {number} start The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the cast slice. - */ - function castSlice(array, start, end) { - var length = array.length; - end = end === undefined ? length : end; - return (!start && end >= length) ? array : baseSlice(array, start, end); - } - - /** - * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout). - * - * @private - * @param {number|Object} id The timer id or timeout object of the timer to clear. - */ - var clearTimeout = ctxClearTimeout || function(id) { - return root.clearTimeout(id); - }; - - /** - * Creates a clone of `buffer`. - * - * @private - * @param {Buffer} buffer The buffer to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Buffer} Returns the cloned buffer. - */ - function cloneBuffer(buffer, isDeep) { - if (isDeep) { - return buffer.slice(); - } - var length = buffer.length, - result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); - - buffer.copy(result); - return result; - } - - /** - * Creates a clone of `arrayBuffer`. - * - * @private - * @param {ArrayBuffer} arrayBuffer The array buffer to clone. - * @returns {ArrayBuffer} Returns the cloned array buffer. - */ - function cloneArrayBuffer(arrayBuffer) { - var result = new arrayBuffer.constructor(arrayBuffer.byteLength); - new Uint8Array(result).set(new Uint8Array(arrayBuffer)); - return result; - } - - /** - * Creates a clone of `dataView`. - * - * @private - * @param {Object} dataView The data view to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned data view. - */ - function cloneDataView(dataView, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer; - return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength); - } - - /** - * Creates a clone of `regexp`. - * - * @private - * @param {Object} regexp The regexp to clone. - * @returns {Object} Returns the cloned regexp. - */ - function cloneRegExp(regexp) { - var result = new regexp.constructor(regexp.source, reFlags.exec(regexp)); - result.lastIndex = regexp.lastIndex; - return result; - } - - /** - * Creates a clone of the `symbol` object. - * - * @private - * @param {Object} symbol The symbol object to clone. - * @returns {Object} Returns the cloned symbol object. - */ - function cloneSymbol(symbol) { - return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {}; - } - - /** - * Creates a clone of `typedArray`. - * - * @private - * @param {Object} typedArray The typed array to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned typed array. - */ - function cloneTypedArray(typedArray, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; - return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); - } - - /** - * Compares values to sort them in ascending order. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {number} Returns the sort order indicator for `value`. - */ - function compareAscending(value, other) { - if (value !== other) { - var valIsDefined = value !== undefined, - valIsNull = value === null, - valIsReflexive = value === value, - valIsSymbol = isSymbol(value); - - var othIsDefined = other !== undefined, - othIsNull = other === null, - othIsReflexive = other === other, - othIsSymbol = isSymbol(other); - - if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) || - (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) || - (valIsNull && othIsDefined && othIsReflexive) || - (!valIsDefined && othIsReflexive) || - !valIsReflexive) { - return 1; - } - if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) || - (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) || - (othIsNull && valIsDefined && valIsReflexive) || - (!othIsDefined && valIsReflexive) || - !othIsReflexive) { - return -1; - } - } - return 0; - } - - /** - * Used by `_.orderBy` to compare multiple properties of a value to another - * and stable sort them. - * - * If `orders` is unspecified, all values are sorted in ascending order. Otherwise, - * specify an order of "desc" for descending or "asc" for ascending sort order - * of corresponding values. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {boolean[]|string[]} orders The order to sort by for each property. - * @returns {number} Returns the sort order indicator for `object`. - */ - function compareMultiple(object, other, orders) { - var index = -1, - objCriteria = object.criteria, - othCriteria = other.criteria, - length = objCriteria.length, - ordersLength = orders.length; - - while (++index < length) { - var result = compareAscending(objCriteria[index], othCriteria[index]); - if (result) { - if (index >= ordersLength) { - return result; - } - var order = orders[index]; - return result * (order == 'desc' ? -1 : 1); - } - } - // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications - // that causes it, under certain circumstances, to provide the same value for - // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247 - // for more details. - // - // This also ensures a stable sort in V8 and other engines. - // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details. - return object.index - other.index; - } - - /** - * Creates an array that is the composition of partially applied arguments, - * placeholders, and provided arguments into a single array of arguments. - * - * @private - * @param {Array} args The provided arguments. - * @param {Array} partials The arguments to prepend to those provided. - * @param {Array} holders The `partials` placeholder indexes. - * @params {boolean} [isCurried] Specify composing for a curried function. - * @returns {Array} Returns the new array of composed arguments. - */ - function composeArgs(args, partials, holders, isCurried) { - var argsIndex = -1, - argsLength = args.length, - holdersLength = holders.length, - leftIndex = -1, - leftLength = partials.length, - rangeLength = nativeMax(argsLength - holdersLength, 0), - result = Array(leftLength + rangeLength), - isUncurried = !isCurried; - - while (++leftIndex < leftLength) { - result[leftIndex] = partials[leftIndex]; - } - while (++argsIndex < holdersLength) { - if (isUncurried || argsIndex < argsLength) { - result[holders[argsIndex]] = args[argsIndex]; - } - } - while (rangeLength--) { - result[leftIndex++] = args[argsIndex++]; - } - return result; - } - - /** - * This function is like `composeArgs` except that the arguments composition - * is tailored for `_.partialRight`. - * - * @private - * @param {Array} args The provided arguments. - * @param {Array} partials The arguments to append to those provided. - * @param {Array} holders The `partials` placeholder indexes. - * @params {boolean} [isCurried] Specify composing for a curried function. - * @returns {Array} Returns the new array of composed arguments. - */ - function composeArgsRight(args, partials, holders, isCurried) { - var argsIndex = -1, - argsLength = args.length, - holdersIndex = -1, - holdersLength = holders.length, - rightIndex = -1, - rightLength = partials.length, - rangeLength = nativeMax(argsLength - holdersLength, 0), - result = Array(rangeLength + rightLength), - isUncurried = !isCurried; - - while (++argsIndex < rangeLength) { - result[argsIndex] = args[argsIndex]; - } - var offset = argsIndex; - while (++rightIndex < rightLength) { - result[offset + rightIndex] = partials[rightIndex]; - } - while (++holdersIndex < holdersLength) { - if (isUncurried || argsIndex < argsLength) { - result[offset + holders[holdersIndex]] = args[argsIndex++]; - } - } - return result; - } - - /** - * Copies the values of `source` to `array`. - * - * @private - * @param {Array} source The array to copy values from. - * @param {Array} [array=[]] The array to copy values to. - * @returns {Array} Returns `array`. - */ - function copyArray(source, array) { - var index = -1, - length = source.length; - - array || (array = Array(length)); - while (++index < length) { - array[index] = source[index]; - } - return array; - } - - /** - * Copies properties of `source` to `object`. - * - * @private - * @param {Object} source The object to copy properties from. - * @param {Array} props The property identifiers to copy. - * @param {Object} [object={}] The object to copy properties to. - * @param {Function} [customizer] The function to customize copied values. - * @returns {Object} Returns `object`. - */ - function copyObject(source, props, object, customizer) { - var isNew = !object; - object || (object = {}); - - var index = -1, - length = props.length; - - while (++index < length) { - var key = props[index]; - - var newValue = customizer - ? customizer(object[key], source[key], key, object, source) - : undefined; - - if (newValue === undefined) { - newValue = source[key]; - } - if (isNew) { - baseAssignValue(object, key, newValue); - } else { - assignValue(object, key, newValue); - } - } - return object; - } - - /** - * Copies own symbols of `source` to `object`. - * - * @private - * @param {Object} source The object to copy symbols from. - * @param {Object} [object={}] The object to copy symbols to. - * @returns {Object} Returns `object`. - */ - function copySymbols(source, object) { - return copyObject(source, getSymbols(source), object); - } - - /** - * Copies own and inherited symbols of `source` to `object`. - * - * @private - * @param {Object} source The object to copy symbols from. - * @param {Object} [object={}] The object to copy symbols to. - * @returns {Object} Returns `object`. - */ - function copySymbolsIn(source, object) { - return copyObject(source, getSymbolsIn(source), object); - } - - /** - * Creates a function like `_.groupBy`. - * - * @private - * @param {Function} setter The function to set accumulator values. - * @param {Function} [initializer] The accumulator object initializer. - * @returns {Function} Returns the new aggregator function. - */ - function createAggregator(setter, initializer) { - return function(collection, iteratee) { - var func = isArray(collection) ? arrayAggregator : baseAggregator, - accumulator = initializer ? initializer() : {}; - - return func(collection, setter, getIteratee(iteratee, 2), accumulator); - }; - } - - /** - * Creates a function like `_.assign`. - * - * @private - * @param {Function} assigner The function to assign values. - * @returns {Function} Returns the new assigner function. - */ - function createAssigner(assigner) { - return baseRest(function(object, sources) { - var index = -1, - length = sources.length, - customizer = length > 1 ? sources[length - 1] : undefined, - guard = length > 2 ? sources[2] : undefined; - - customizer = (assigner.length > 3 && typeof customizer == 'function') - ? (length--, customizer) - : undefined; - - if (guard && isIterateeCall(sources[0], sources[1], guard)) { - customizer = length < 3 ? undefined : customizer; - length = 1; - } - object = Object(object); - while (++index < length) { - var source = sources[index]; - if (source) { - assigner(object, source, index, customizer); - } - } - return object; - }); - } - - /** - * Creates a `baseEach` or `baseEachRight` function. - * - * @private - * @param {Function} eachFunc The function to iterate over a collection. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ - function createBaseEach(eachFunc, fromRight) { - return function(collection, iteratee) { - if (collection == null) { - return collection; - } - if (!isArrayLike(collection)) { - return eachFunc(collection, iteratee); - } - var length = collection.length, - index = fromRight ? length : -1, - iterable = Object(collection); - - while ((fromRight ? index-- : ++index < length)) { - if (iteratee(iterable[index], index, iterable) === false) { - break; - } - } - return collection; - }; - } - - /** - * Creates a base function for methods like `_.forIn` and `_.forOwn`. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ - function createBaseFor(fromRight) { - return function(object, iteratee, keysFunc) { - var index = -1, - iterable = Object(object), - props = keysFunc(object), - length = props.length; - - while (length--) { - var key = props[fromRight ? length : ++index]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } - } - return object; - }; - } - - /** - * Creates a function that wraps `func` to invoke it with the optional `this` - * binding of `thisArg`. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} [thisArg] The `this` binding of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createBind(func, bitmask, thisArg) { - var isBind = bitmask & WRAP_BIND_FLAG, - Ctor = createCtor(func); - - function wrapper() { - var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - return fn.apply(isBind ? thisArg : this, arguments); - } - return wrapper; - } - - /** - * Creates a function like `_.lowerFirst`. - * - * @private - * @param {string} methodName The name of the `String` case method to use. - * @returns {Function} Returns the new case function. - */ - function createCaseFirst(methodName) { - return function(string) { - string = toString(string); - - var strSymbols = hasUnicode(string) - ? stringToArray(string) - : undefined; - - var chr = strSymbols - ? strSymbols[0] - : string.charAt(0); - - var trailing = strSymbols - ? castSlice(strSymbols, 1).join('') - : string.slice(1); - - return chr[methodName]() + trailing; - }; - } - - /** - * Creates a function like `_.camelCase`. - * - * @private - * @param {Function} callback The function to combine each word. - * @returns {Function} Returns the new compounder function. - */ - function createCompounder(callback) { - return function(string) { - return arrayReduce(words(deburr(string).replace(reApos, '')), callback, ''); - }; - } - - /** - * Creates a function that produces an instance of `Ctor` regardless of - * whether it was invoked as part of a `new` expression or by `call` or `apply`. - * - * @private - * @param {Function} Ctor The constructor to wrap. - * @returns {Function} Returns the new wrapped function. - */ - function createCtor(Ctor) { - return function() { - // Use a `switch` statement to work with class constructors. See - // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist - // for more details. - var args = arguments; - switch (args.length) { - case 0: return new Ctor; - case 1: return new Ctor(args[0]); - case 2: return new Ctor(args[0], args[1]); - case 3: return new Ctor(args[0], args[1], args[2]); - case 4: return new Ctor(args[0], args[1], args[2], args[3]); - case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]); - case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]); - case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]); - } - var thisBinding = baseCreate(Ctor.prototype), - result = Ctor.apply(thisBinding, args); - - // Mimic the constructor's `return` behavior. - // See https://es5.github.io/#x13.2.2 for more details. - return isObject(result) ? result : thisBinding; - }; - } - - /** - * Creates a function that wraps `func` to enable currying. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {number} arity The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createCurry(func, bitmask, arity) { - var Ctor = createCtor(func); - - function wrapper() { - var length = arguments.length, - args = Array(length), - index = length, - placeholder = getHolder(wrapper); - - while (index--) { - args[index] = arguments[index]; - } - var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder) - ? [] - : replaceHolders(args, placeholder); - - length -= holders.length; - if (length < arity) { - return createRecurry( - func, bitmask, createHybrid, wrapper.placeholder, undefined, - args, holders, undefined, undefined, arity - length); - } - var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - return apply(fn, this, args); - } - return wrapper; - } - - /** - * Creates a `_.find` or `_.findLast` function. - * - * @private - * @param {Function} findIndexFunc The function to find the collection index. - * @returns {Function} Returns the new find function. - */ - function createFind(findIndexFunc) { - return function(collection, predicate, fromIndex) { - var iterable = Object(collection); - if (!isArrayLike(collection)) { - var iteratee = getIteratee(predicate, 3); - collection = keys(collection); - predicate = function(key) { return iteratee(iterable[key], key, iterable); }; - } - var index = findIndexFunc(collection, predicate, fromIndex); - return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined; - }; - } - - /** - * Creates a `_.flow` or `_.flowRight` function. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new flow function. - */ - function createFlow(fromRight) { - return flatRest(function(funcs) { - var length = funcs.length, - index = length, - prereq = LodashWrapper.prototype.thru; - - if (fromRight) { - funcs.reverse(); - } - while (index--) { - var func = funcs[index]; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - if (prereq && !wrapper && getFuncName(func) == 'wrapper') { - var wrapper = new LodashWrapper([], true); - } - } - index = wrapper ? index : length; - while (++index < length) { - func = funcs[index]; - - var funcName = getFuncName(func), - data = funcName == 'wrapper' ? getData(func) : undefined; - - if (data && isLaziable(data[0]) && - data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && - !data[4].length && data[9] == 1 - ) { - wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]); - } else { - wrapper = (func.length == 1 && isLaziable(func)) - ? wrapper[funcName]() - : wrapper.thru(func); - } - } - return function() { - var args = arguments, - value = args[0]; - - if (wrapper && args.length == 1 && isArray(value)) { - return wrapper.plant(value).value(); - } - var index = 0, - result = length ? funcs[index].apply(this, args) : value; - - while (++index < length) { - result = funcs[index].call(this, result); - } - return result; - }; - }); - } - - /** - * Creates a function that wraps `func` to invoke it with optional `this` - * binding of `thisArg`, partial application, and currying. - * - * @private - * @param {Function|string} func The function or method name to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to prepend to those provided to - * the new function. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [partialsRight] The arguments to append to those provided - * to the new function. - * @param {Array} [holdersRight] The `partialsRight` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) { - var isAry = bitmask & WRAP_ARY_FLAG, - isBind = bitmask & WRAP_BIND_FLAG, - isBindKey = bitmask & WRAP_BIND_KEY_FLAG, - isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG), - isFlip = bitmask & WRAP_FLIP_FLAG, - Ctor = isBindKey ? undefined : createCtor(func); - - function wrapper() { - var length = arguments.length, - args = Array(length), - index = length; - - while (index--) { - args[index] = arguments[index]; - } - if (isCurried) { - var placeholder = getHolder(wrapper), - holdersCount = countHolders(args, placeholder); - } - if (partials) { - args = composeArgs(args, partials, holders, isCurried); - } - if (partialsRight) { - args = composeArgsRight(args, partialsRight, holdersRight, isCurried); - } - length -= holdersCount; - if (isCurried && length < arity) { - var newHolders = replaceHolders(args, placeholder); - return createRecurry( - func, bitmask, createHybrid, wrapper.placeholder, thisArg, - args, newHolders, argPos, ary, arity - length - ); - } - var thisBinding = isBind ? thisArg : this, - fn = isBindKey ? thisBinding[func] : func; - - length = args.length; - if (argPos) { - args = reorder(args, argPos); - } else if (isFlip && length > 1) { - args.reverse(); - } - if (isAry && ary < length) { - args.length = ary; - } - if (this && this !== root && this instanceof wrapper) { - fn = Ctor || createCtor(fn); - } - return fn.apply(thisBinding, args); - } - return wrapper; - } - - /** - * Creates a function like `_.invertBy`. - * - * @private - * @param {Function} setter The function to set accumulator values. - * @param {Function} toIteratee The function to resolve iteratees. - * @returns {Function} Returns the new inverter function. - */ - function createInverter(setter, toIteratee) { - return function(object, iteratee) { - return baseInverter(object, setter, toIteratee(iteratee), {}); - }; - } - - /** - * Creates a function that performs a mathematical operation on two values. - * - * @private - * @param {Function} operator The function to perform the operation. - * @param {number} [defaultValue] The value used for `undefined` arguments. - * @returns {Function} Returns the new mathematical operation function. - */ - function createMathOperation(operator, defaultValue) { - return function(value, other) { - var result; - if (value === undefined && other === undefined) { - return defaultValue; - } - if (value !== undefined) { - result = value; - } - if (other !== undefined) { - if (result === undefined) { - return other; - } - if (typeof value == 'string' || typeof other == 'string') { - value = baseToString(value); - other = baseToString(other); - } else { - value = baseToNumber(value); - other = baseToNumber(other); - } - result = operator(value, other); - } - return result; - }; - } - - /** - * Creates a function like `_.over`. - * - * @private - * @param {Function} arrayFunc The function to iterate over iteratees. - * @returns {Function} Returns the new over function. - */ - function createOver(arrayFunc) { - return flatRest(function(iteratees) { - iteratees = arrayMap(iteratees, baseUnary(getIteratee())); - return baseRest(function(args) { - var thisArg = this; - return arrayFunc(iteratees, function(iteratee) { - return apply(iteratee, thisArg, args); - }); - }); - }); - } - - /** - * Creates the padding for `string` based on `length`. The `chars` string - * is truncated if the number of characters exceeds `length`. - * - * @private - * @param {number} length The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the padding for `string`. - */ - function createPadding(length, chars) { - chars = chars === undefined ? ' ' : baseToString(chars); - - var charsLength = chars.length; - if (charsLength < 2) { - return charsLength ? baseRepeat(chars, length) : chars; - } - var result = baseRepeat(chars, nativeCeil(length / stringSize(chars))); - return hasUnicode(chars) - ? castSlice(stringToArray(result), 0, length).join('') - : result.slice(0, length); - } - - /** - * Creates a function that wraps `func` to invoke it with the `this` binding - * of `thisArg` and `partials` prepended to the arguments it receives. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} partials The arguments to prepend to those provided to - * the new function. - * @returns {Function} Returns the new wrapped function. - */ - function createPartial(func, bitmask, thisArg, partials) { - var isBind = bitmask & WRAP_BIND_FLAG, - Ctor = createCtor(func); - - function wrapper() { - var argsIndex = -1, - argsLength = arguments.length, - leftIndex = -1, - leftLength = partials.length, - args = Array(leftLength + argsLength), - fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - - while (++leftIndex < leftLength) { - args[leftIndex] = partials[leftIndex]; - } - while (argsLength--) { - args[leftIndex++] = arguments[++argsIndex]; - } - return apply(fn, isBind ? thisArg : this, args); - } - return wrapper; - } - - /** - * Creates a `_.range` or `_.rangeRight` function. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new range function. - */ - function createRange(fromRight) { - return function(start, end, step) { - if (step && typeof step != 'number' && isIterateeCall(start, end, step)) { - end = step = undefined; - } - // Ensure the sign of `-0` is preserved. - start = toFinite(start); - if (end === undefined) { - end = start; - start = 0; - } else { - end = toFinite(end); - } - step = step === undefined ? (start < end ? 1 : -1) : toFinite(step); - return baseRange(start, end, step, fromRight); - }; - } - - /** - * Creates a function that performs a relational operation on two values. - * - * @private - * @param {Function} operator The function to perform the operation. - * @returns {Function} Returns the new relational operation function. - */ - function createRelationalOperation(operator) { - return function(value, other) { - if (!(typeof value == 'string' && typeof other == 'string')) { - value = toNumber(value); - other = toNumber(other); - } - return operator(value, other); - }; - } - - /** - * Creates a function that wraps `func` to continue currying. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {Function} wrapFunc The function to create the `func` wrapper. - * @param {*} placeholder The placeholder value. - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to prepend to those provided to - * the new function. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) { - var isCurry = bitmask & WRAP_CURRY_FLAG, - newHolders = isCurry ? holders : undefined, - newHoldersRight = isCurry ? undefined : holders, - newPartials = isCurry ? partials : undefined, - newPartialsRight = isCurry ? undefined : partials; - - bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG); - bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG); - - if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) { - bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG); - } - var newData = [ - func, bitmask, thisArg, newPartials, newHolders, newPartialsRight, - newHoldersRight, argPos, ary, arity - ]; - - var result = wrapFunc.apply(undefined, newData); - if (isLaziable(func)) { - setData(result, newData); - } - result.placeholder = placeholder; - return setWrapToString(result, func, bitmask); - } - - /** - * Creates a function like `_.round`. - * - * @private - * @param {string} methodName The name of the `Math` method to use when rounding. - * @returns {Function} Returns the new round function. - */ - function createRound(methodName) { - var func = Math[methodName]; - return function(number, precision) { - number = toNumber(number); - precision = precision == null ? 0 : nativeMin(toInteger(precision), 292); - if (precision && nativeIsFinite(number)) { - // Shift with exponential notation to avoid floating-point issues. - // See [MDN](https://mdn.io/round#Examples) for more details. - var pair = (toString(number) + 'e').split('e'), - value = func(pair[0] + 'e' + (+pair[1] + precision)); - - pair = (toString(value) + 'e').split('e'); - return +(pair[0] + 'e' + (+pair[1] - precision)); - } - return func(number); - }; - } - - /** - * Creates a set object of `values`. - * - * @private - * @param {Array} values The values to add to the set. - * @returns {Object} Returns the new set. - */ - var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) { - return new Set(values); - }; - - /** - * Creates a `_.toPairs` or `_.toPairsIn` function. - * - * @private - * @param {Function} keysFunc The function to get the keys of a given object. - * @returns {Function} Returns the new pairs function. - */ - function createToPairs(keysFunc) { - return function(object) { - var tag = getTag(object); - if (tag == mapTag) { - return mapToArray(object); - } - if (tag == setTag) { - return setToPairs(object); - } - return baseToPairs(object, keysFunc(object)); - }; - } - - /** - * Creates a function that either curries or invokes `func` with optional - * `this` binding and partially applied arguments. - * - * @private - * @param {Function|string} func The function or method name to wrap. - * @param {number} bitmask The bitmask flags. - * 1 - `_.bind` - * 2 - `_.bindKey` - * 4 - `_.curry` or `_.curryRight` of a bound function - * 8 - `_.curry` - * 16 - `_.curryRight` - * 32 - `_.partial` - * 64 - `_.partialRight` - * 128 - `_.rearg` - * 256 - `_.ary` - * 512 - `_.flip` - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to be partially applied. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) { - var isBindKey = bitmask & WRAP_BIND_KEY_FLAG; - if (!isBindKey && typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - var length = partials ? partials.length : 0; - if (!length) { - bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG); - partials = holders = undefined; - } - ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0); - arity = arity === undefined ? arity : toInteger(arity); - length -= holders ? holders.length : 0; - - if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) { - var partialsRight = partials, - holdersRight = holders; - - partials = holders = undefined; - } - var data = isBindKey ? undefined : getData(func); - - var newData = [ - func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, - argPos, ary, arity - ]; - - if (data) { - mergeData(newData, data); - } - func = newData[0]; - bitmask = newData[1]; - thisArg = newData[2]; - partials = newData[3]; - holders = newData[4]; - arity = newData[9] = newData[9] === undefined - ? (isBindKey ? 0 : func.length) - : nativeMax(newData[9] - length, 0); - - if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) { - bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG); - } - if (!bitmask || bitmask == WRAP_BIND_FLAG) { - var result = createBind(func, bitmask, thisArg); - } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) { - result = createCurry(func, bitmask, arity); - } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) { - result = createPartial(func, bitmask, thisArg, partials); - } else { - result = createHybrid.apply(undefined, newData); - } - var setter = data ? baseSetData : setData; - return setWrapToString(setter(result, newData), func, bitmask); - } - - /** - * Used by `_.defaults` to customize its `_.assignIn` use to assign properties - * of source objects to the destination object for all destination properties - * that resolve to `undefined`. - * - * @private - * @param {*} objValue The destination value. - * @param {*} srcValue The source value. - * @param {string} key The key of the property to assign. - * @param {Object} object The parent object of `objValue`. - * @returns {*} Returns the value to assign. - */ - function customDefaultsAssignIn(objValue, srcValue, key, object) { - if (objValue === undefined || - (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) { - return srcValue; - } - return objValue; - } - - /** - * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source - * objects into destination objects that are passed thru. - * - * @private - * @param {*} objValue The destination value. - * @param {*} srcValue The source value. - * @param {string} key The key of the property to merge. - * @param {Object} object The parent object of `objValue`. - * @param {Object} source The parent object of `srcValue`. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - * @returns {*} Returns the value to assign. - */ - function customDefaultsMerge(objValue, srcValue, key, object, source, stack) { - if (isObject(objValue) && isObject(srcValue)) { - // Recursively merge objects and arrays (susceptible to call stack limits). - stack.set(srcValue, objValue); - baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack); - stack['delete'](srcValue); - } - return objValue; - } - - /** - * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain - * objects. - * - * @private - * @param {*} value The value to inspect. - * @param {string} key The key of the property to inspect. - * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`. - */ - function customOmitClone(value) { - return isPlainObject(value) ? undefined : value; - } - - /** - * A specialized version of `baseIsEqualDeep` for arrays with support for - * partial deep comparisons. - * - * @private - * @param {Array} array The array to compare. - * @param {Array} other The other array to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `array` and `other` objects. - * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. - */ - function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - arrLength = array.length, - othLength = other.length; - - if (arrLength != othLength && !(isPartial && othLength > arrLength)) { - return false; - } - // Check that cyclic values are equal. - var arrStacked = stack.get(array); - var othStacked = stack.get(other); - if (arrStacked && othStacked) { - return arrStacked == other && othStacked == array; - } - var index = -1, - result = true, - seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined; - - stack.set(array, other); - stack.set(other, array); - - // Ignore non-index properties. - while (++index < arrLength) { - var arrValue = array[index], - othValue = other[index]; - - if (customizer) { - var compared = isPartial - ? customizer(othValue, arrValue, index, other, array, stack) - : customizer(arrValue, othValue, index, array, other, stack); - } - if (compared !== undefined) { - if (compared) { - continue; - } - result = false; - break; - } - // Recursively compare arrays (susceptible to call stack limits). - if (seen) { - if (!arraySome(other, function(othValue, othIndex) { - if (!cacheHas(seen, othIndex) && - (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { - return seen.push(othIndex); - } - })) { - result = false; - break; - } - } else if (!( - arrValue === othValue || - equalFunc(arrValue, othValue, bitmask, customizer, stack) - )) { - result = false; - break; - } - } - stack['delete'](array); - stack['delete'](other); - return result; - } - - /** - * A specialized version of `baseIsEqualDeep` for comparing objects of - * the same `toStringTag`. - * - * **Note:** This function only supports comparing values with tags of - * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {string} tag The `toStringTag` of the objects to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { - switch (tag) { - case dataViewTag: - if ((object.byteLength != other.byteLength) || - (object.byteOffset != other.byteOffset)) { - return false; - } - object = object.buffer; - other = other.buffer; - - case arrayBufferTag: - if ((object.byteLength != other.byteLength) || - !equalFunc(new Uint8Array(object), new Uint8Array(other))) { - return false; - } - return true; - - case boolTag: - case dateTag: - case numberTag: - // Coerce booleans to `1` or `0` and dates to milliseconds. - // Invalid dates are coerced to `NaN`. - return eq(+object, +other); - - case errorTag: - return object.name == other.name && object.message == other.message; - - case regexpTag: - case stringTag: - // Coerce regexes to strings and treat strings, primitives and objects, - // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring - // for more details. - return object == (other + ''); - - case mapTag: - var convert = mapToArray; - - case setTag: - var isPartial = bitmask & COMPARE_PARTIAL_FLAG; - convert || (convert = setToArray); - - if (object.size != other.size && !isPartial) { - return false; - } - // Assume cyclic values are equal. - var stacked = stack.get(object); - if (stacked) { - return stacked == other; - } - bitmask |= COMPARE_UNORDERED_FLAG; - - // Recursively compare objects (susceptible to call stack limits). - stack.set(object, other); - var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack); - stack['delete'](object); - return result; - - case symbolTag: - if (symbolValueOf) { - return symbolValueOf.call(object) == symbolValueOf.call(other); - } - } - return false; - } - - /** - * A specialized version of `baseIsEqualDeep` for objects with support for - * partial deep comparisons. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - objProps = getAllKeys(object), - objLength = objProps.length, - othProps = getAllKeys(other), - othLength = othProps.length; - - if (objLength != othLength && !isPartial) { - return false; - } - var index = objLength; - while (index--) { - var key = objProps[index]; - if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { - return false; - } - } - // Check that cyclic values are equal. - var objStacked = stack.get(object); - var othStacked = stack.get(other); - if (objStacked && othStacked) { - return objStacked == other && othStacked == object; - } - var result = true; - stack.set(object, other); - stack.set(other, object); - - var skipCtor = isPartial; - while (++index < objLength) { - key = objProps[index]; - var objValue = object[key], - othValue = other[key]; - - if (customizer) { - var compared = isPartial - ? customizer(othValue, objValue, key, other, object, stack) - : customizer(objValue, othValue, key, object, other, stack); - } - // Recursively compare objects (susceptible to call stack limits). - if (!(compared === undefined - ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack)) - : compared - )) { - result = false; - break; - } - skipCtor || (skipCtor = key == 'constructor'); - } - if (result && !skipCtor) { - var objCtor = object.constructor, - othCtor = other.constructor; - - // Non `Object` object instances with different constructors are not equal. - if (objCtor != othCtor && - ('constructor' in object && 'constructor' in other) && - !(typeof objCtor == 'function' && objCtor instanceof objCtor && - typeof othCtor == 'function' && othCtor instanceof othCtor)) { - result = false; - } - } - stack['delete'](object); - stack['delete'](other); - return result; - } - - /** - * A specialized version of `baseRest` which flattens the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @returns {Function} Returns the new function. - */ - function flatRest(func) { - return setToString(overRest(func, undefined, flatten), func + ''); - } - - /** - * Creates an array of own enumerable property names and symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names and symbols. - */ - function getAllKeys(object) { - return baseGetAllKeys(object, keys, getSymbols); - } - - /** - * Creates an array of own and inherited enumerable property names and - * symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names and symbols. - */ - function getAllKeysIn(object) { - return baseGetAllKeys(object, keysIn, getSymbolsIn); - } - - /** - * Gets metadata for `func`. - * - * @private - * @param {Function} func The function to query. - * @returns {*} Returns the metadata for `func`. - */ - var getData = !metaMap ? noop : function(func) { - return metaMap.get(func); - }; - - /** - * Gets the name of `func`. - * - * @private - * @param {Function} func The function to query. - * @returns {string} Returns the function name. - */ - function getFuncName(func) { - var result = (func.name + ''), - array = realNames[result], - length = hasOwnProperty.call(realNames, result) ? array.length : 0; - - while (length--) { - var data = array[length], - otherFunc = data.func; - if (otherFunc == null || otherFunc == func) { - return data.name; - } - } - return result; - } - - /** - * Gets the argument placeholder value for `func`. - * - * @private - * @param {Function} func The function to inspect. - * @returns {*} Returns the placeholder value. - */ - function getHolder(func) { - var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func; - return object.placeholder; - } - - /** - * Gets the appropriate "iteratee" function. If `_.iteratee` is customized, - * this function returns the custom method, otherwise it returns `baseIteratee`. - * If arguments are provided, the chosen function is invoked with them and - * its result is returned. - * - * @private - * @param {*} [value] The value to convert to an iteratee. - * @param {number} [arity] The arity of the created iteratee. - * @returns {Function} Returns the chosen function or its result. - */ - function getIteratee() { - var result = lodash.iteratee || iteratee; - result = result === iteratee ? baseIteratee : result; - return arguments.length ? result(arguments[0], arguments[1]) : result; - } - - /** - * Gets the data for `map`. - * - * @private - * @param {Object} map The map to query. - * @param {string} key The reference key. - * @returns {*} Returns the map data. - */ - function getMapData(map, key) { - var data = map.__data__; - return isKeyable(key) - ? data[typeof key == 'string' ? 'string' : 'hash'] - : data.map; - } - - /** - * Gets the property names, values, and compare flags of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the match data of `object`. - */ - function getMatchData(object) { - var result = keys(object), - length = result.length; - - while (length--) { - var key = result[length], - value = object[key]; - - result[length] = [key, value, isStrictComparable(value)]; - } - return result; - } - - /** - * Gets the native function at `key` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the method to get. - * @returns {*} Returns the function if it's native, else `undefined`. - */ - function getNative(object, key) { - var value = getValue(object, key); - return baseIsNative(value) ? value : undefined; - } - - /** - * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the raw `toStringTag`. - */ - function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; - - try { - value[symToStringTag] = undefined; - var unmasked = true; - } catch (e) {} - - var result = nativeObjectToString.call(value); - if (unmasked) { - if (isOwn) { - value[symToStringTag] = tag; - } else { - delete value[symToStringTag]; - } - } - return result; - } - - /** - * Creates an array of the own enumerable symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of symbols. - */ - var getSymbols = !nativeGetSymbols ? stubArray : function(object) { - if (object == null) { - return []; - } - object = Object(object); - return arrayFilter(nativeGetSymbols(object), function(symbol) { - return propertyIsEnumerable.call(object, symbol); - }); - }; - - /** - * Creates an array of the own and inherited enumerable symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of symbols. - */ - var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) { - var result = []; - while (object) { - arrayPush(result, getSymbols(object)); - object = getPrototype(object); - } - return result; - }; - - /** - * Gets the `toStringTag` of `value`. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ - var getTag = baseGetTag; - - // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6. - if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || - (Map && getTag(new Map) != mapTag) || - (Promise && getTag(Promise.resolve()) != promiseTag) || - (Set && getTag(new Set) != setTag) || - (WeakMap && getTag(new WeakMap) != weakMapTag)) { - getTag = function(value) { - var result = baseGetTag(value), - Ctor = result == objectTag ? value.constructor : undefined, - ctorString = Ctor ? toSource(Ctor) : ''; - - if (ctorString) { - switch (ctorString) { - case dataViewCtorString: return dataViewTag; - case mapCtorString: return mapTag; - case promiseCtorString: return promiseTag; - case setCtorString: return setTag; - case weakMapCtorString: return weakMapTag; - } - } - return result; - }; - } - - /** - * Gets the view, applying any `transforms` to the `start` and `end` positions. - * - * @private - * @param {number} start The start of the view. - * @param {number} end The end of the view. - * @param {Array} transforms The transformations to apply to the view. - * @returns {Object} Returns an object containing the `start` and `end` - * positions of the view. - */ - function getView(start, end, transforms) { - var index = -1, - length = transforms.length; - - while (++index < length) { - var data = transforms[index], - size = data.size; - - switch (data.type) { - case 'drop': start += size; break; - case 'dropRight': end -= size; break; - case 'take': end = nativeMin(end, start + size); break; - case 'takeRight': start = nativeMax(start, end - size); break; - } - } - return { 'start': start, 'end': end }; - } - - /** - * Extracts wrapper details from the `source` body comment. - * - * @private - * @param {string} source The source to inspect. - * @returns {Array} Returns the wrapper details. - */ - function getWrapDetails(source) { - var match = source.match(reWrapDetails); - return match ? match[1].split(reSplitDetails) : []; - } - - /** - * Checks if `path` exists on `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @param {Function} hasFunc The function to check properties. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - */ - function hasPath(object, path, hasFunc) { - path = castPath(path, object); - - var index = -1, - length = path.length, - result = false; - - while (++index < length) { - var key = toKey(path[index]); - if (!(result = object != null && hasFunc(object, key))) { - break; - } - object = object[key]; - } - if (result || ++index != length) { - return result; - } - length = object == null ? 0 : object.length; - return !!length && isLength(length) && isIndex(key, length) && - (isArray(object) || isArguments(object)); - } - - /** - * Initializes an array clone. - * - * @private - * @param {Array} array The array to clone. - * @returns {Array} Returns the initialized clone. - */ - function initCloneArray(array) { - var length = array.length, - result = new array.constructor(length); - - // Add properties assigned by `RegExp#exec`. - if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { - result.index = array.index; - result.input = array.input; - } - return result; - } - - /** - * Initializes an object clone. - * - * @private - * @param {Object} object The object to clone. - * @returns {Object} Returns the initialized clone. - */ - function initCloneObject(object) { - return (typeof object.constructor == 'function' && !isPrototype(object)) - ? baseCreate(getPrototype(object)) - : {}; - } - - /** - * Initializes an object clone based on its `toStringTag`. - * - * **Note:** This function only supports cloning values with tags of - * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`. - * - * @private - * @param {Object} object The object to clone. - * @param {string} tag The `toStringTag` of the object to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the initialized clone. - */ - function initCloneByTag(object, tag, isDeep) { - var Ctor = object.constructor; - switch (tag) { - case arrayBufferTag: - return cloneArrayBuffer(object); - - case boolTag: - case dateTag: - return new Ctor(+object); - - case dataViewTag: - return cloneDataView(object, isDeep); - - case float32Tag: case float64Tag: - case int8Tag: case int16Tag: case int32Tag: - case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag: - return cloneTypedArray(object, isDeep); - - case mapTag: - return new Ctor; - - case numberTag: - case stringTag: - return new Ctor(object); - - case regexpTag: - return cloneRegExp(object); - - case setTag: - return new Ctor; - - case symbolTag: - return cloneSymbol(object); - } - } - - /** - * Inserts wrapper `details` in a comment at the top of the `source` body. - * - * @private - * @param {string} source The source to modify. - * @returns {Array} details The details to insert. - * @returns {string} Returns the modified source. - */ - function insertWrapDetails(source, details) { - var length = details.length; - if (!length) { - return source; - } - var lastIndex = length - 1; - details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex]; - details = details.join(length > 2 ? ', ' : ' '); - return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n'); - } - - /** - * Checks if `value` is a flattenable `arguments` object or array. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. - */ - function isFlattenable(value) { - return isArray(value) || isArguments(value) || - !!(spreadableSymbol && value && value[spreadableSymbol]); - } - - /** - * Checks if `value` is a valid array-like index. - * - * @private - * @param {*} value The value to check. - * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. - * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. - */ - function isIndex(value, length) { - var type = typeof value; - length = length == null ? MAX_SAFE_INTEGER : length; - - return !!length && - (type == 'number' || - (type != 'symbol' && reIsUint.test(value))) && - (value > -1 && value % 1 == 0 && value < length); - } - - /** - * Checks if the given arguments are from an iteratee call. - * - * @private - * @param {*} value The potential iteratee value argument. - * @param {*} index The potential iteratee index or key argument. - * @param {*} object The potential iteratee object argument. - * @returns {boolean} Returns `true` if the arguments are from an iteratee call, - * else `false`. - */ - function isIterateeCall(value, index, object) { - if (!isObject(object)) { - return false; - } - var type = typeof index; - if (type == 'number' - ? (isArrayLike(object) && isIndex(index, object.length)) - : (type == 'string' && index in object) - ) { - return eq(object[index], value); - } - return false; - } - - /** - * Checks if `value` is a property name and not a property path. - * - * @private - * @param {*} value The value to check. - * @param {Object} [object] The object to query keys on. - * @returns {boolean} Returns `true` if `value` is a property name, else `false`. - */ - function isKey(value, object) { - if (isArray(value)) { - return false; - } - var type = typeof value; - if (type == 'number' || type == 'symbol' || type == 'boolean' || - value == null || isSymbol(value)) { - return true; - } - return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || - (object != null && value in Object(object)); - } - - /** - * Checks if `value` is suitable for use as unique object key. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is suitable, else `false`. - */ - function isKeyable(value) { - var type = typeof value; - return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') - ? (value !== '__proto__') - : (value === null); - } - - /** - * Checks if `func` has a lazy counterpart. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` has a lazy counterpart, - * else `false`. - */ - function isLaziable(func) { - var funcName = getFuncName(func), - other = lodash[funcName]; - - if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) { - return false; - } - if (func === other) { - return true; - } - var data = getData(other); - return !!data && func === data[0]; - } - - /** - * Checks if `func` has its source masked. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is masked, else `false`. - */ - function isMasked(func) { - return !!maskSrcKey && (maskSrcKey in func); - } - - /** - * Checks if `func` is capable of being masked. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `func` is maskable, else `false`. - */ - var isMaskable = coreJsData ? isFunction : stubFalse; - - /** - * Checks if `value` is likely a prototype object. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. - */ - function isPrototype(value) { - var Ctor = value && value.constructor, - proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; - - return value === proto; - } - - /** - * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` if suitable for strict - * equality comparisons, else `false`. - */ - function isStrictComparable(value) { - return value === value && !isObject(value); - } - - /** - * A specialized version of `matchesProperty` for source values suitable - * for strict equality comparisons, i.e. `===`. - * - * @private - * @param {string} key The key of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ - function matchesStrictComparable(key, srcValue) { - return function(object) { - if (object == null) { - return false; - } - return object[key] === srcValue && - (srcValue !== undefined || (key in Object(object))); - }; - } - - /** - * A specialized version of `_.memoize` which clears the memoized function's - * cache when it exceeds `MAX_MEMOIZE_SIZE`. - * - * @private - * @param {Function} func The function to have its output memoized. - * @returns {Function} Returns the new memoized function. - */ - function memoizeCapped(func) { - var result = memoize(func, function(key) { - if (cache.size === MAX_MEMOIZE_SIZE) { - cache.clear(); - } - return key; - }); - - var cache = result.cache; - return result; - } - - /** - * Merges the function metadata of `source` into `data`. - * - * Merging metadata reduces the number of wrappers used to invoke a function. - * This is possible because methods like `_.bind`, `_.curry`, and `_.partial` - * may be applied regardless of execution order. Methods like `_.ary` and - * `_.rearg` modify function arguments, making the order in which they are - * executed important, preventing the merging of metadata. However, we make - * an exception for a safe combined case where curried functions have `_.ary` - * and or `_.rearg` applied. - * - * @private - * @param {Array} data The destination metadata. - * @param {Array} source The source metadata. - * @returns {Array} Returns `data`. - */ - function mergeData(data, source) { - var bitmask = data[1], - srcBitmask = source[1], - newBitmask = bitmask | srcBitmask, - isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG); - - var isCombo = - ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) || - ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) || - ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG)); - - // Exit early if metadata can't be merged. - if (!(isCommon || isCombo)) { - return data; - } - // Use source `thisArg` if available. - if (srcBitmask & WRAP_BIND_FLAG) { - data[2] = source[2]; - // Set when currying a bound function. - newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG; - } - // Compose partial arguments. - var value = source[3]; - if (value) { - var partials = data[3]; - data[3] = partials ? composeArgs(partials, value, source[4]) : value; - data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4]; - } - // Compose partial right arguments. - value = source[5]; - if (value) { - partials = data[5]; - data[5] = partials ? composeArgsRight(partials, value, source[6]) : value; - data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6]; - } - // Use source `argPos` if available. - value = source[7]; - if (value) { - data[7] = value; - } - // Use source `ary` if it's smaller. - if (srcBitmask & WRAP_ARY_FLAG) { - data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]); - } - // Use source `arity` if one is not provided. - if (data[9] == null) { - data[9] = source[9]; - } - // Use source `func` and merge bitmasks. - data[0] = source[0]; - data[1] = newBitmask; - - return data; - } - - /** - * This function is like - * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * except that it includes inherited enumerable properties. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function nativeKeysIn(object) { - var result = []; - if (object != null) { - for (var key in Object(object)) { - result.push(key); - } - } - return result; - } - - /** - * Converts `value` to a string using `Object.prototype.toString`. - * - * @private - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - */ - function objectToString(value) { - return nativeObjectToString.call(value); - } - - /** - * A specialized version of `baseRest` which transforms the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @param {Function} transform The rest array transform. - * @returns {Function} Returns the new function. - */ - function overRest(func, start, transform) { - start = nativeMax(start === undefined ? (func.length - 1) : start, 0); - return function() { - var args = arguments, - index = -1, - length = nativeMax(args.length - start, 0), - array = Array(length); - - while (++index < length) { - array[index] = args[start + index]; - } - index = -1; - var otherArgs = Array(start + 1); - while (++index < start) { - otherArgs[index] = args[index]; - } - otherArgs[start] = transform(array); - return apply(func, this, otherArgs); - }; - } - - /** - * Gets the parent value at `path` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} path The path to get the parent value of. - * @returns {*} Returns the parent value. - */ - function parent(object, path) { - return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1)); - } - - /** - * Reorder `array` according to the specified indexes where the element at - * the first index is assigned as the first element, the element at - * the second index is assigned as the second element, and so on. - * - * @private - * @param {Array} array The array to reorder. - * @param {Array} indexes The arranged array indexes. - * @returns {Array} Returns `array`. - */ - function reorder(array, indexes) { - var arrLength = array.length, - length = nativeMin(indexes.length, arrLength), - oldArray = copyArray(array); - - while (length--) { - var index = indexes[length]; - array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined; - } - return array; - } - - /** - * Gets the value at `key`, unless `key` is "__proto__" or "constructor". - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ - function safeGet(object, key) { - if (key === 'constructor' && typeof object[key] === 'function') { - return; - } - - if (key == '__proto__') { - return; - } - - return object[key]; - } - - /** - * Sets metadata for `func`. - * - * **Note:** If this function becomes hot, i.e. is invoked a lot in a short - * period of time, it will trip its breaker and transition to an identity - * function to avoid garbage collection pauses in V8. See - * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070) - * for more details. - * - * @private - * @param {Function} func The function to associate metadata with. - * @param {*} data The metadata. - * @returns {Function} Returns `func`. - */ - var setData = shortOut(baseSetData); - - /** - * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout). - * - * @private - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @returns {number|Object} Returns the timer id or timeout object. - */ - var setTimeout = ctxSetTimeout || function(func, wait) { - return root.setTimeout(func, wait); - }; - - /** - * Sets the `toString` method of `func` to return `string`. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ - var setToString = shortOut(baseSetToString); - - /** - * Sets the `toString` method of `wrapper` to mimic the source of `reference` - * with wrapper details in a comment at the top of the source body. - * - * @private - * @param {Function} wrapper The function to modify. - * @param {Function} reference The reference function. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @returns {Function} Returns `wrapper`. - */ - function setWrapToString(wrapper, reference, bitmask) { - var source = (reference + ''); - return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask))); - } - - /** - * Creates a function that'll short out and invoke `identity` instead - * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` - * milliseconds. - * - * @private - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new shortable function. - */ - function shortOut(func) { - var count = 0, - lastCalled = 0; - - return function() { - var stamp = nativeNow(), - remaining = HOT_SPAN - (stamp - lastCalled); - - lastCalled = stamp; - if (remaining > 0) { - if (++count >= HOT_COUNT) { - return arguments[0]; - } - } else { - count = 0; - } - return func.apply(undefined, arguments); - }; - } - - /** - * A specialized version of `_.shuffle` which mutates and sets the size of `array`. - * - * @private - * @param {Array} array The array to shuffle. - * @param {number} [size=array.length] The size of `array`. - * @returns {Array} Returns `array`. - */ - function shuffleSelf(array, size) { - var index = -1, - length = array.length, - lastIndex = length - 1; - - size = size === undefined ? length : size; - while (++index < size) { - var rand = baseRandom(index, lastIndex), - value = array[rand]; - - array[rand] = array[index]; - array[index] = value; - } - array.length = size; - return array; - } - - /** - * Converts `string` to a property path array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the property path array. - */ - var stringToPath = memoizeCapped(function(string) { - var result = []; - if (string.charCodeAt(0) === 46 /* . */) { - result.push(''); - } - string.replace(rePropName, function(match, number, quote, subString) { - result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match)); - }); - return result; - }); - - /** - * Converts `value` to a string key if it's not a string or symbol. - * - * @private - * @param {*} value The value to inspect. - * @returns {string|symbol} Returns the key. - */ - function toKey(value) { - if (typeof value == 'string' || isSymbol(value)) { - return value; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; - } - - /** - * Converts `func` to its source code. - * - * @private - * @param {Function} func The function to convert. - * @returns {string} Returns the source code. - */ - function toSource(func) { - if (func != null) { - try { - return funcToString.call(func); - } catch (e) {} - try { - return (func + ''); - } catch (e) {} - } - return ''; - } - - /** - * Updates wrapper `details` based on `bitmask` flags. - * - * @private - * @returns {Array} details The details to modify. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @returns {Array} Returns `details`. - */ - function updateWrapDetails(details, bitmask) { - arrayEach(wrapFlags, function(pair) { - var value = '_.' + pair[0]; - if ((bitmask & pair[1]) && !arrayIncludes(details, value)) { - details.push(value); - } - }); - return details.sort(); - } - - /** - * Creates a clone of `wrapper`. - * - * @private - * @param {Object} wrapper The wrapper to clone. - * @returns {Object} Returns the cloned wrapper. - */ - function wrapperClone(wrapper) { - if (wrapper instanceof LazyWrapper) { - return wrapper.clone(); - } - var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__); - result.__actions__ = copyArray(wrapper.__actions__); - result.__index__ = wrapper.__index__; - result.__values__ = wrapper.__values__; - return result; - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates an array of elements split into groups the length of `size`. - * If `array` can't be split evenly, the final chunk will be the remaining - * elements. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to process. - * @param {number} [size=1] The length of each chunk - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the new array of chunks. - * @example - * - * _.chunk(['a', 'b', 'c', 'd'], 2); - * // => [['a', 'b'], ['c', 'd']] - * - * _.chunk(['a', 'b', 'c', 'd'], 3); - * // => [['a', 'b', 'c'], ['d']] - */ - function chunk(array, size, guard) { - if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) { - size = 1; - } else { - size = nativeMax(toInteger(size), 0); - } - var length = array == null ? 0 : array.length; - if (!length || size < 1) { - return []; - } - var index = 0, - resIndex = 0, - result = Array(nativeCeil(length / size)); - - while (index < length) { - result[resIndex++] = baseSlice(array, index, (index += size)); - } - return result; - } - - /** - * Creates an array with all falsey values removed. The values `false`, `null`, - * `0`, `""`, `undefined`, and `NaN` are falsey. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to compact. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.compact([0, 1, false, 2, '', 3]); - * // => [1, 2, 3] - */ - function compact(array) { - var index = -1, - length = array == null ? 0 : array.length, - resIndex = 0, - result = []; - - while (++index < length) { - var value = array[index]; - if (value) { - result[resIndex++] = value; - } - } - return result; - } - - /** - * Creates a new array concatenating `array` with any additional arrays - * and/or values. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to concatenate. - * @param {...*} [values] The values to concatenate. - * @returns {Array} Returns the new concatenated array. - * @example - * - * var array = [1]; - * var other = _.concat(array, 2, [3], [[4]]); - * - * console.log(other); - * // => [1, 2, 3, [4]] - * - * console.log(array); - * // => [1] - */ - function concat() { - var length = arguments.length; - if (!length) { - return []; - } - var args = Array(length - 1), - array = arguments[0], - index = length; - - while (index--) { - args[index - 1] = arguments[index]; - } - return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1)); - } - - /** - * Creates an array of `array` values not included in the other given arrays - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. The order and references of result values are - * determined by the first array. - * - * **Note:** Unlike `_.pullAll`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @see _.without, _.xor - * @example - * - * _.difference([2, 1], [2, 3]); - * // => [1] - */ - var difference = baseRest(function(array, values) { - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true)) - : []; - }); - - /** - * This method is like `_.difference` except that it accepts `iteratee` which - * is invoked for each element of `array` and `values` to generate the criterion - * by which they're compared. The order and references of result values are - * determined by the first array. The iteratee is invoked with one argument: - * (value). - * - * **Note:** Unlike `_.pullAllBy`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor); - * // => [1.2] - * - * // The `_.property` iteratee shorthand. - * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] - */ - var differenceBy = baseRest(function(array, values) { - var iteratee = last(values); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; - } - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)) - : []; - }); - - /** - * This method is like `_.difference` except that it accepts `comparator` - * which is invoked to compare elements of `array` to `values`. The order and - * references of result values are determined by the first array. The comparator - * is invoked with two arguments: (arrVal, othVal). - * - * **Note:** Unlike `_.pullAllWith`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * - * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual); - * // => [{ 'x': 2, 'y': 1 }] - */ - var differenceWith = baseRest(function(array, values) { - var comparator = last(values); - if (isArrayLikeObject(comparator)) { - comparator = undefined; - } - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator) - : []; - }); - - /** - * Creates a slice of `array` with `n` elements dropped from the beginning. - * - * @static - * @memberOf _ - * @since 0.5.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to drop. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.drop([1, 2, 3]); - * // => [2, 3] - * - * _.drop([1, 2, 3], 2); - * // => [3] - * - * _.drop([1, 2, 3], 5); - * // => [] - * - * _.drop([1, 2, 3], 0); - * // => [1, 2, 3] - */ - function drop(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - return baseSlice(array, n < 0 ? 0 : n, length); - } - - /** - * Creates a slice of `array` with `n` elements dropped from the end. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to drop. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.dropRight([1, 2, 3]); - * // => [1, 2] - * - * _.dropRight([1, 2, 3], 2); - * // => [1] - * - * _.dropRight([1, 2, 3], 5); - * // => [] - * - * _.dropRight([1, 2, 3], 0); - * // => [1, 2, 3] - */ - function dropRight(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - n = length - n; - return baseSlice(array, 0, n < 0 ? 0 : n); - } - - /** - * Creates a slice of `array` excluding elements dropped from the end. - * Elements are dropped until `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * _.dropRightWhile(users, function(o) { return !o.active; }); - * // => objects for ['barney'] - * - * // The `_.matches` iteratee shorthand. - * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false }); - * // => objects for ['barney', 'fred'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.dropRightWhile(users, ['active', false]); - * // => objects for ['barney'] - * - * // The `_.property` iteratee shorthand. - * _.dropRightWhile(users, 'active'); - * // => objects for ['barney', 'fred', 'pebbles'] - */ - function dropRightWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), true, true) - : []; - } - - /** - * Creates a slice of `array` excluding elements dropped from the beginning. - * Elements are dropped until `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.dropWhile(users, function(o) { return !o.active; }); - * // => objects for ['pebbles'] - * - * // The `_.matches` iteratee shorthand. - * _.dropWhile(users, { 'user': 'barney', 'active': false }); - * // => objects for ['fred', 'pebbles'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.dropWhile(users, ['active', false]); - * // => objects for ['pebbles'] - * - * // The `_.property` iteratee shorthand. - * _.dropWhile(users, 'active'); - * // => objects for ['barney', 'fred', 'pebbles'] - */ - function dropWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), true) - : []; - } - - /** - * Fills elements of `array` with `value` from `start` up to, but not - * including, `end`. - * - * **Note:** This method mutates `array`. - * - * @static - * @memberOf _ - * @since 3.2.0 - * @category Array - * @param {Array} array The array to fill. - * @param {*} value The value to fill `array` with. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3]; - * - * _.fill(array, 'a'); - * console.log(array); - * // => ['a', 'a', 'a'] - * - * _.fill(Array(3), 2); - * // => [2, 2, 2] - * - * _.fill([4, 6, 8, 10], '*', 1, 3); - * // => [4, '*', '*', 10] - */ - function fill(array, value, start, end) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - if (start && typeof start != 'number' && isIterateeCall(array, value, start)) { - start = 0; - end = length; - } - return baseFill(array, value, start, end); - } - - /** - * This method is like `_.find` except that it returns the index of the first - * element `predicate` returns truthy for instead of the element itself. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the found element, else `-1`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.findIndex(users, function(o) { return o.user == 'barney'; }); - * // => 0 - * - * // The `_.matches` iteratee shorthand. - * _.findIndex(users, { 'user': 'fred', 'active': false }); - * // => 1 - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findIndex(users, ['active', false]); - * // => 0 - * - * // The `_.property` iteratee shorthand. - * _.findIndex(users, 'active'); - * // => 2 - */ - function findIndex(array, predicate, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = fromIndex == null ? 0 : toInteger(fromIndex); - if (index < 0) { - index = nativeMax(length + index, 0); - } - return baseFindIndex(array, getIteratee(predicate, 3), index); - } - - /** - * This method is like `_.findIndex` except that it iterates over elements - * of `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=array.length-1] The index to search from. - * @returns {number} Returns the index of the found element, else `-1`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; }); - * // => 2 - * - * // The `_.matches` iteratee shorthand. - * _.findLastIndex(users, { 'user': 'barney', 'active': true }); - * // => 0 - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findLastIndex(users, ['active', false]); - * // => 2 - * - * // The `_.property` iteratee shorthand. - * _.findLastIndex(users, 'active'); - * // => 0 - */ - function findLastIndex(array, predicate, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = length - 1; - if (fromIndex !== undefined) { - index = toInteger(fromIndex); - index = fromIndex < 0 - ? nativeMax(length + index, 0) - : nativeMin(index, length - 1); - } - return baseFindIndex(array, getIteratee(predicate, 3), index, true); - } - - /** - * Flattens `array` a single level deep. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flatten([1, [2, [3, [4]], 5]]); - * // => [1, 2, [3, [4]], 5] - */ - function flatten(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, 1) : []; - } - - /** - * Recursively flattens `array`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flattenDeep([1, [2, [3, [4]], 5]]); - * // => [1, 2, 3, 4, 5] - */ - function flattenDeep(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, INFINITY) : []; - } - - /** - * Recursively flatten `array` up to `depth` times. - * - * @static - * @memberOf _ - * @since 4.4.0 - * @category Array - * @param {Array} array The array to flatten. - * @param {number} [depth=1] The maximum recursion depth. - * @returns {Array} Returns the new flattened array. - * @example - * - * var array = [1, [2, [3, [4]], 5]]; - * - * _.flattenDepth(array, 1); - * // => [1, 2, [3, [4]], 5] - * - * _.flattenDepth(array, 2); - * // => [1, 2, 3, [4], 5] - */ - function flattenDepth(array, depth) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - depth = depth === undefined ? 1 : toInteger(depth); - return baseFlatten(array, depth); - } - - /** - * The inverse of `_.toPairs`; this method returns an object composed - * from key-value `pairs`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} pairs The key-value pairs. - * @returns {Object} Returns the new object. - * @example - * - * _.fromPairs([['a', 1], ['b', 2]]); - * // => { 'a': 1, 'b': 2 } - */ - function fromPairs(pairs) { - var index = -1, - length = pairs == null ? 0 : pairs.length, - result = {}; - - while (++index < length) { - var pair = pairs[index]; - result[pair[0]] = pair[1]; - } - return result; - } - - /** - * Gets the first element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @alias first - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the first element of `array`. - * @example - * - * _.head([1, 2, 3]); - * // => 1 - * - * _.head([]); - * // => undefined - */ - function head(array) { - return (array && array.length) ? array[0] : undefined; - } - - /** - * Gets the index at which the first occurrence of `value` is found in `array` - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. If `fromIndex` is negative, it's used as the - * offset from the end of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.indexOf([1, 2, 1, 2], 2); - * // => 1 - * - * // Search from the `fromIndex`. - * _.indexOf([1, 2, 1, 2], 2, 2); - * // => 3 - */ - function indexOf(array, value, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = fromIndex == null ? 0 : toInteger(fromIndex); - if (index < 0) { - index = nativeMax(length + index, 0); - } - return baseIndexOf(array, value, index); - } - - /** - * Gets all but the last element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.initial([1, 2, 3]); - * // => [1, 2] - */ - function initial(array) { - var length = array == null ? 0 : array.length; - return length ? baseSlice(array, 0, -1) : []; - } - - /** - * Creates an array of unique values that are included in all given arrays - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. The order and references of result values are - * determined by the first array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * _.intersection([2, 1], [2, 3]); - * // => [2] - */ - var intersection = baseRest(function(arrays) { - var mapped = arrayMap(arrays, castArrayLikeObject); - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped) - : []; - }); - - /** - * This method is like `_.intersection` except that it accepts `iteratee` - * which is invoked for each element of each `arrays` to generate the criterion - * by which they're compared. The order and references of result values are - * determined by the first array. The iteratee is invoked with one argument: - * (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor); - * // => [2.1] - * - * // The `_.property` iteratee shorthand. - * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }] - */ - var intersectionBy = baseRest(function(arrays) { - var iteratee = last(arrays), - mapped = arrayMap(arrays, castArrayLikeObject); - - if (iteratee === last(mapped)) { - iteratee = undefined; - } else { - mapped.pop(); - } - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped, getIteratee(iteratee, 2)) - : []; - }); - - /** - * This method is like `_.intersection` except that it accepts `comparator` - * which is invoked to compare elements of `arrays`. The order and references - * of result values are determined by the first array. The comparator is - * invoked with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.intersectionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }] - */ - var intersectionWith = baseRest(function(arrays) { - var comparator = last(arrays), - mapped = arrayMap(arrays, castArrayLikeObject); - - comparator = typeof comparator == 'function' ? comparator : undefined; - if (comparator) { - mapped.pop(); - } - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped, undefined, comparator) - : []; - }); - - /** - * Converts all elements in `array` into a string separated by `separator`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to convert. - * @param {string} [separator=','] The element separator. - * @returns {string} Returns the joined string. - * @example - * - * _.join(['a', 'b', 'c'], '~'); - * // => 'a~b~c' - */ - function join(array, separator) { - return array == null ? '' : nativeJoin.call(array, separator); - } - - /** - * Gets the last element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the last element of `array`. - * @example - * - * _.last([1, 2, 3]); - * // => 3 - */ - function last(array) { - var length = array == null ? 0 : array.length; - return length ? array[length - 1] : undefined; - } - - /** - * This method is like `_.indexOf` except that it iterates over elements of - * `array` from right to left. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=array.length-1] The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.lastIndexOf([1, 2, 1, 2], 2); - * // => 3 - * - * // Search from the `fromIndex`. - * _.lastIndexOf([1, 2, 1, 2], 2, 2); - * // => 1 - */ - function lastIndexOf(array, value, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = length; - if (fromIndex !== undefined) { - index = toInteger(fromIndex); - index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1); - } - return value === value - ? strictLastIndexOf(array, value, index) - : baseFindIndex(array, baseIsNaN, index, true); - } - - /** - * Gets the element at index `n` of `array`. If `n` is negative, the nth - * element from the end is returned. - * - * @static - * @memberOf _ - * @since 4.11.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=0] The index of the element to return. - * @returns {*} Returns the nth element of `array`. - * @example - * - * var array = ['a', 'b', 'c', 'd']; - * - * _.nth(array, 1); - * // => 'b' - * - * _.nth(array, -2); - * // => 'c'; - */ - function nth(array, n) { - return (array && array.length) ? baseNth(array, toInteger(n)) : undefined; - } - - /** - * Removes all given values from `array` using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove` - * to remove elements from an array by predicate. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {...*} [values] The values to remove. - * @returns {Array} Returns `array`. - * @example - * - * var array = ['a', 'b', 'c', 'a', 'b', 'c']; - * - * _.pull(array, 'a', 'c'); - * console.log(array); - * // => ['b', 'b'] - */ - var pull = baseRest(pullAll); - - /** - * This method is like `_.pull` except that it accepts an array of values to remove. - * - * **Note:** Unlike `_.difference`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @returns {Array} Returns `array`. - * @example - * - * var array = ['a', 'b', 'c', 'a', 'b', 'c']; - * - * _.pullAll(array, ['a', 'c']); - * console.log(array); - * // => ['b', 'b'] - */ - function pullAll(array, values) { - return (array && array.length && values && values.length) - ? basePullAll(array, values) - : array; - } - - /** - * This method is like `_.pullAll` except that it accepts `iteratee` which is - * invoked for each element of `array` and `values` to generate the criterion - * by which they're compared. The iteratee is invoked with one argument: (value). - * - * **Note:** Unlike `_.differenceBy`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns `array`. - * @example - * - * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }]; - * - * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); - * console.log(array); - * // => [{ 'x': 2 }] - */ - function pullAllBy(array, values, iteratee) { - return (array && array.length && values && values.length) - ? basePullAll(array, values, getIteratee(iteratee, 2)) - : array; - } - - /** - * This method is like `_.pullAll` except that it accepts `comparator` which - * is invoked to compare elements of `array` to `values`. The comparator is - * invoked with two arguments: (arrVal, othVal). - * - * **Note:** Unlike `_.differenceWith`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 4.6.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns `array`. - * @example - * - * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }]; - * - * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual); - * console.log(array); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }] - */ - function pullAllWith(array, values, comparator) { - return (array && array.length && values && values.length) - ? basePullAll(array, values, undefined, comparator) - : array; - } - - /** - * Removes elements from `array` corresponding to `indexes` and returns an - * array of removed elements. - * - * **Note:** Unlike `_.at`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {...(number|number[])} [indexes] The indexes of elements to remove. - * @returns {Array} Returns the new array of removed elements. - * @example - * - * var array = ['a', 'b', 'c', 'd']; - * var pulled = _.pullAt(array, [1, 3]); - * - * console.log(array); - * // => ['a', 'c'] - * - * console.log(pulled); - * // => ['b', 'd'] - */ - var pullAt = flatRest(function(array, indexes) { - var length = array == null ? 0 : array.length, - result = baseAt(array, indexes); - - basePullAt(array, arrayMap(indexes, function(index) { - return isIndex(index, length) ? +index : index; - }).sort(compareAscending)); - - return result; - }); - - /** - * Removes all elements from `array` that `predicate` returns truthy for - * and returns an array of the removed elements. The predicate is invoked - * with three arguments: (value, index, array). - * - * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull` - * to pull elements from an array by value. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new array of removed elements. - * @example - * - * var array = [1, 2, 3, 4]; - * var evens = _.remove(array, function(n) { - * return n % 2 == 0; - * }); - * - * console.log(array); - * // => [1, 3] - * - * console.log(evens); - * // => [2, 4] - */ - function remove(array, predicate) { - var result = []; - if (!(array && array.length)) { - return result; - } - var index = -1, - indexes = [], - length = array.length; - - predicate = getIteratee(predicate, 3); - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result.push(value); - indexes.push(index); - } - } - basePullAt(array, indexes); - return result; - } - - /** - * Reverses `array` so that the first element becomes the last, the second - * element becomes the second to last, and so on. - * - * **Note:** This method mutates `array` and is based on - * [`Array#reverse`](https://mdn.io/Array/reverse). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to modify. - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3]; - * - * _.reverse(array); - * // => [3, 2, 1] - * - * console.log(array); - * // => [3, 2, 1] - */ - function reverse(array) { - return array == null ? array : nativeReverse.call(array); - } - - /** - * Creates a slice of `array` from `start` up to, but not including, `end`. - * - * **Note:** This method is used instead of - * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are - * returned. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to slice. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the slice of `array`. - */ - function slice(array, start, end) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - if (end && typeof end != 'number' && isIterateeCall(array, start, end)) { - start = 0; - end = length; - } - else { - start = start == null ? 0 : toInteger(start); - end = end === undefined ? length : toInteger(end); - } - return baseSlice(array, start, end); - } - - /** - * Uses a binary search to determine the lowest index at which `value` - * should be inserted into `array` in order to maintain its sort order. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * _.sortedIndex([30, 50], 40); - * // => 1 - */ - function sortedIndex(array, value) { - return baseSortedIndex(array, value); - } - - /** - * This method is like `_.sortedIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * var objects = [{ 'x': 4 }, { 'x': 5 }]; - * - * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); - * // => 0 - * - * // The `_.property` iteratee shorthand. - * _.sortedIndexBy(objects, { 'x': 4 }, 'x'); - * // => 0 - */ - function sortedIndexBy(array, value, iteratee) { - return baseSortedIndexBy(array, value, getIteratee(iteratee, 2)); - } - - /** - * This method is like `_.indexOf` except that it performs a binary - * search on a sorted `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedIndexOf([4, 5, 5, 5, 6], 5); - * // => 1 - */ - function sortedIndexOf(array, value) { - var length = array == null ? 0 : array.length; - if (length) { - var index = baseSortedIndex(array, value); - if (index < length && eq(array[index], value)) { - return index; - } - } - return -1; - } - - /** - * This method is like `_.sortedIndex` except that it returns the highest - * index at which `value` should be inserted into `array` in order to - * maintain its sort order. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * _.sortedLastIndex([4, 5, 5, 5, 6], 5); - * // => 4 - */ - function sortedLastIndex(array, value) { - return baseSortedIndex(array, value, true); - } - - /** - * This method is like `_.sortedLastIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * var objects = [{ 'x': 4 }, { 'x': 5 }]; - * - * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); - * // => 1 - * - * // The `_.property` iteratee shorthand. - * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x'); - * // => 1 - */ - function sortedLastIndexBy(array, value, iteratee) { - return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true); - } - - /** - * This method is like `_.lastIndexOf` except that it performs a binary - * search on a sorted `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5); - * // => 3 - */ - function sortedLastIndexOf(array, value) { - var length = array == null ? 0 : array.length; - if (length) { - var index = baseSortedIndex(array, value, true) - 1; - if (eq(array[index], value)) { - return index; - } - } - return -1; - } - - /** - * This method is like `_.uniq` except that it's designed and optimized - * for sorted arrays. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.sortedUniq([1, 1, 2]); - * // => [1, 2] - */ - function sortedUniq(array) { - return (array && array.length) - ? baseSortedUniq(array) - : []; - } - - /** - * This method is like `_.uniqBy` except that it's designed and optimized - * for sorted arrays. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); - * // => [1.1, 2.3] - */ - function sortedUniqBy(array, iteratee) { - return (array && array.length) - ? baseSortedUniq(array, getIteratee(iteratee, 2)) - : []; - } - - /** - * Gets all but the first element of `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to query. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.tail([1, 2, 3]); - * // => [2, 3] - */ - function tail(array) { - var length = array == null ? 0 : array.length; - return length ? baseSlice(array, 1, length) : []; - } - - /** - * Creates a slice of `array` with `n` elements taken from the beginning. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to take. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.take([1, 2, 3]); - * // => [1] - * - * _.take([1, 2, 3], 2); - * // => [1, 2] - * - * _.take([1, 2, 3], 5); - * // => [1, 2, 3] - * - * _.take([1, 2, 3], 0); - * // => [] - */ - function take(array, n, guard) { - if (!(array && array.length)) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - return baseSlice(array, 0, n < 0 ? 0 : n); - } - - /** - * Creates a slice of `array` with `n` elements taken from the end. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to take. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.takeRight([1, 2, 3]); - * // => [3] - * - * _.takeRight([1, 2, 3], 2); - * // => [2, 3] - * - * _.takeRight([1, 2, 3], 5); - * // => [1, 2, 3] - * - * _.takeRight([1, 2, 3], 0); - * // => [] - */ - function takeRight(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - n = length - n; - return baseSlice(array, n < 0 ? 0 : n, length); - } - - /** - * Creates a slice of `array` with elements taken from the end. Elements are - * taken until `predicate` returns falsey. The predicate is invoked with - * three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * _.takeRightWhile(users, function(o) { return !o.active; }); - * // => objects for ['fred', 'pebbles'] - * - * // The `_.matches` iteratee shorthand. - * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false }); - * // => objects for ['pebbles'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.takeRightWhile(users, ['active', false]); - * // => objects for ['fred', 'pebbles'] - * - * // The `_.property` iteratee shorthand. - * _.takeRightWhile(users, 'active'); - * // => [] - */ - function takeRightWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), false, true) - : []; - } - - /** - * Creates a slice of `array` with elements taken from the beginning. Elements - * are taken until `predicate` returns falsey. The predicate is invoked with - * three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.takeWhile(users, function(o) { return !o.active; }); - * // => objects for ['barney', 'fred'] - * - * // The `_.matches` iteratee shorthand. - * _.takeWhile(users, { 'user': 'barney', 'active': false }); - * // => objects for ['barney'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.takeWhile(users, ['active', false]); - * // => objects for ['barney', 'fred'] - * - * // The `_.property` iteratee shorthand. - * _.takeWhile(users, 'active'); - * // => [] - */ - function takeWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3)) - : []; - } - - /** - * Creates an array of unique values, in order, from all given arrays using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of combined values. - * @example - * - * _.union([2], [1, 2]); - * // => [2, 1] - */ - var union = baseRest(function(arrays) { - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true)); - }); - - /** - * This method is like `_.union` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by - * which uniqueness is computed. Result values are chosen from the first - * array in which the value occurs. The iteratee is invoked with one argument: - * (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of combined values. - * @example - * - * _.unionBy([2.1], [1.2, 2.3], Math.floor); - * // => [2.1, 1.2] - * - * // The `_.property` iteratee shorthand. - * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] - */ - var unionBy = baseRest(function(arrays) { - var iteratee = last(arrays); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; - } - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)); - }); - - /** - * This method is like `_.union` except that it accepts `comparator` which - * is invoked to compare elements of `arrays`. Result values are chosen from - * the first array in which the value occurs. The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of combined values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.unionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - var unionWith = baseRest(function(arrays) { - var comparator = last(arrays); - comparator = typeof comparator == 'function' ? comparator : undefined; - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator); - }); - - /** - * Creates a duplicate-free version of an array, using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons, in which only the first occurrence of each element - * is kept. The order of result values is determined by the order they occur - * in the array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.uniq([2, 1, 2]); - * // => [2, 1] - */ - function uniq(array) { - return (array && array.length) ? baseUniq(array) : []; - } - - /** - * This method is like `_.uniq` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * uniqueness is computed. The order of result values is determined by the - * order they occur in the array. The iteratee is invoked with one argument: - * (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.uniqBy([2.1, 1.2, 2.3], Math.floor); - * // => [2.1, 1.2] - * - * // The `_.property` iteratee shorthand. - * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] - */ - function uniqBy(array, iteratee) { - return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : []; - } - - /** - * This method is like `_.uniq` except that it accepts `comparator` which - * is invoked to compare elements of `array`. The order of result values is - * determined by the order they occur in the array.The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.uniqWith(objects, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }] - */ - function uniqWith(array, comparator) { - comparator = typeof comparator == 'function' ? comparator : undefined; - return (array && array.length) ? baseUniq(array, undefined, comparator) : []; - } - - /** - * This method is like `_.zip` except that it accepts an array of grouped - * elements and creates an array regrouping the elements to their pre-zip - * configuration. - * - * @static - * @memberOf _ - * @since 1.2.0 - * @category Array - * @param {Array} array The array of grouped elements to process. - * @returns {Array} Returns the new array of regrouped elements. - * @example - * - * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]); - * // => [['a', 1, true], ['b', 2, false]] - * - * _.unzip(zipped); - * // => [['a', 'b'], [1, 2], [true, false]] - */ - function unzip(array) { - if (!(array && array.length)) { - return []; - } - var length = 0; - array = arrayFilter(array, function(group) { - if (isArrayLikeObject(group)) { - length = nativeMax(group.length, length); - return true; - } - }); - return baseTimes(length, function(index) { - return arrayMap(array, baseProperty(index)); - }); - } - - /** - * This method is like `_.unzip` except that it accepts `iteratee` to specify - * how regrouped values should be combined. The iteratee is invoked with the - * elements of each group: (...group). - * - * @static - * @memberOf _ - * @since 3.8.0 - * @category Array - * @param {Array} array The array of grouped elements to process. - * @param {Function} [iteratee=_.identity] The function to combine - * regrouped values. - * @returns {Array} Returns the new array of regrouped elements. - * @example - * - * var zipped = _.zip([1, 2], [10, 20], [100, 200]); - * // => [[1, 10, 100], [2, 20, 200]] - * - * _.unzipWith(zipped, _.add); - * // => [3, 30, 300] - */ - function unzipWith(array, iteratee) { - if (!(array && array.length)) { - return []; - } - var result = unzip(array); - if (iteratee == null) { - return result; - } - return arrayMap(result, function(group) { - return apply(iteratee, undefined, group); - }); - } - - /** - * Creates an array excluding all given values using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * **Note:** Unlike `_.pull`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...*} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @see _.difference, _.xor - * @example - * - * _.without([2, 1, 2, 3], 1, 2); - * // => [3] - */ - var without = baseRest(function(array, values) { - return isArrayLikeObject(array) - ? baseDifference(array, values) - : []; - }); - - /** - * Creates an array of unique values that is the - * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference) - * of the given arrays. The order of result values is determined by the order - * they occur in the arrays. - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of filtered values. - * @see _.difference, _.without - * @example - * - * _.xor([2, 1], [2, 3]); - * // => [1, 3] - */ - var xor = baseRest(function(arrays) { - return baseXor(arrayFilter(arrays, isArrayLikeObject)); - }); - - /** - * This method is like `_.xor` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by - * which by which they're compared. The order of result values is determined - * by the order they occur in the arrays. The iteratee is invoked with one - * argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor); - * // => [1.2, 3.4] - * - * // The `_.property` iteratee shorthand. - * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] - */ - var xorBy = baseRest(function(arrays) { - var iteratee = last(arrays); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; - } - return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2)); - }); - - /** - * This method is like `_.xor` except that it accepts `comparator` which is - * invoked to compare elements of `arrays`. The order of result values is - * determined by the order they occur in the arrays. The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.xorWith(objects, others, _.isEqual); - * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - var xorWith = baseRest(function(arrays) { - var comparator = last(arrays); - comparator = typeof comparator == 'function' ? comparator : undefined; - return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator); - }); - - /** - * Creates an array of grouped elements, the first of which contains the - * first elements of the given arrays, the second of which contains the - * second elements of the given arrays, and so on. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {...Array} [arrays] The arrays to process. - * @returns {Array} Returns the new array of grouped elements. - * @example - * - * _.zip(['a', 'b'], [1, 2], [true, false]); - * // => [['a', 1, true], ['b', 2, false]] - */ - var zip = baseRest(unzip); - - /** - * This method is like `_.fromPairs` except that it accepts two arrays, - * one of property identifiers and one of corresponding values. - * - * @static - * @memberOf _ - * @since 0.4.0 - * @category Array - * @param {Array} [props=[]] The property identifiers. - * @param {Array} [values=[]] The property values. - * @returns {Object} Returns the new object. - * @example - * - * _.zipObject(['a', 'b'], [1, 2]); - * // => { 'a': 1, 'b': 2 } - */ - function zipObject(props, values) { - return baseZipObject(props || [], values || [], assignValue); - } - - /** - * This method is like `_.zipObject` except that it supports property paths. - * - * @static - * @memberOf _ - * @since 4.1.0 - * @category Array - * @param {Array} [props=[]] The property identifiers. - * @param {Array} [values=[]] The property values. - * @returns {Object} Returns the new object. - * @example - * - * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]); - * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } } - */ - function zipObjectDeep(props, values) { - return baseZipObject(props || [], values || [], baseSet); - } - - /** - * This method is like `_.zip` except that it accepts `iteratee` to specify - * how grouped values should be combined. The iteratee is invoked with the - * elements of each group: (...group). - * - * @static - * @memberOf _ - * @since 3.8.0 - * @category Array - * @param {...Array} [arrays] The arrays to process. - * @param {Function} [iteratee=_.identity] The function to combine - * grouped values. - * @returns {Array} Returns the new array of grouped elements. - * @example - * - * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) { - * return a + b + c; - * }); - * // => [111, 222] - */ - var zipWith = baseRest(function(arrays) { - var length = arrays.length, - iteratee = length > 1 ? arrays[length - 1] : undefined; - - iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined; - return unzipWith(arrays, iteratee); - }); - - /*------------------------------------------------------------------------*/ - - /** - * Creates a `lodash` wrapper instance that wraps `value` with explicit method - * chain sequences enabled. The result of such sequences must be unwrapped - * with `_#value`. - * - * @static - * @memberOf _ - * @since 1.3.0 - * @category Seq - * @param {*} value The value to wrap. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'pebbles', 'age': 1 } - * ]; - * - * var youngest = _ - * .chain(users) - * .sortBy('age') - * .map(function(o) { - * return o.user + ' is ' + o.age; - * }) - * .head() - * .value(); - * // => 'pebbles is 1' - */ - function chain(value) { - var result = lodash(value); - result.__chain__ = true; - return result; - } - - /** - * This method invokes `interceptor` and returns `value`. The interceptor - * is invoked with one argument; (value). The purpose of this method is to - * "tap into" a method chain sequence in order to modify intermediate results. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @returns {*} Returns `value`. - * @example - * - * _([1, 2, 3]) - * .tap(function(array) { - * // Mutate input array. - * array.pop(); - * }) - * .reverse() - * .value(); - * // => [2, 1] - */ - function tap(value, interceptor) { - interceptor(value); - return value; - } - - /** - * This method is like `_.tap` except that it returns the result of `interceptor`. - * The purpose of this method is to "pass thru" values replacing intermediate - * results in a method chain sequence. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Seq - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @returns {*} Returns the result of `interceptor`. - * @example - * - * _(' abc ') - * .chain() - * .trim() - * .thru(function(value) { - * return [value]; - * }) - * .value(); - * // => ['abc'] - */ - function thru(value, interceptor) { - return interceptor(value); - } - - /** - * This method is the wrapper version of `_.at`. - * - * @name at - * @memberOf _ - * @since 1.0.0 - * @category Seq - * @param {...(string|string[])} [paths] The property paths to pick. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] }; - * - * _(object).at(['a[0].b.c', 'a[1]']).value(); - * // => [3, 4] - */ - var wrapperAt = flatRest(function(paths) { - var length = paths.length, - start = length ? paths[0] : 0, - value = this.__wrapped__, - interceptor = function(object) { return baseAt(object, paths); }; - - if (length > 1 || this.__actions__.length || - !(value instanceof LazyWrapper) || !isIndex(start)) { - return this.thru(interceptor); - } - value = value.slice(start, +start + (length ? 1 : 0)); - value.__actions__.push({ - 'func': thru, - 'args': [interceptor], - 'thisArg': undefined - }); - return new LodashWrapper(value, this.__chain__).thru(function(array) { - if (length && !array.length) { - array.push(undefined); - } - return array; - }); - }); - - /** - * Creates a `lodash` wrapper instance with explicit method chain sequences enabled. - * - * @name chain - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 } - * ]; - * - * // A sequence without explicit chaining. - * _(users).head(); - * // => { 'user': 'barney', 'age': 36 } - * - * // A sequence with explicit chaining. - * _(users) - * .chain() - * .head() - * .pick('user') - * .value(); - * // => { 'user': 'barney' } - */ - function wrapperChain() { - return chain(this); - } - - /** - * Executes the chain sequence and returns the wrapped result. - * - * @name commit - * @memberOf _ - * @since 3.2.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2]; - * var wrapped = _(array).push(3); - * - * console.log(array); - * // => [1, 2] - * - * wrapped = wrapped.commit(); - * console.log(array); - * // => [1, 2, 3] - * - * wrapped.last(); - * // => 3 - * - * console.log(array); - * // => [1, 2, 3] - */ - function wrapperCommit() { - return new LodashWrapper(this.value(), this.__chain__); - } - - /** - * Gets the next value on a wrapped object following the - * [iterator protocol](https://mdn.io/iteration_protocols#iterator). - * - * @name next - * @memberOf _ - * @since 4.0.0 - * @category Seq - * @returns {Object} Returns the next iterator value. - * @example - * - * var wrapped = _([1, 2]); - * - * wrapped.next(); - * // => { 'done': false, 'value': 1 } - * - * wrapped.next(); - * // => { 'done': false, 'value': 2 } - * - * wrapped.next(); - * // => { 'done': true, 'value': undefined } - */ - function wrapperNext() { - if (this.__values__ === undefined) { - this.__values__ = toArray(this.value()); - } - var done = this.__index__ >= this.__values__.length, - value = done ? undefined : this.__values__[this.__index__++]; - - return { 'done': done, 'value': value }; - } - - /** - * Enables the wrapper to be iterable. - * - * @name Symbol.iterator - * @memberOf _ - * @since 4.0.0 - * @category Seq - * @returns {Object} Returns the wrapper object. - * @example - * - * var wrapped = _([1, 2]); - * - * wrapped[Symbol.iterator]() === wrapped; - * // => true - * - * Array.from(wrapped); - * // => [1, 2] - */ - function wrapperToIterator() { - return this; - } - - /** - * Creates a clone of the chain sequence planting `value` as the wrapped value. - * - * @name plant - * @memberOf _ - * @since 3.2.0 - * @category Seq - * @param {*} value The value to plant. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var wrapped = _([1, 2]).map(square); - * var other = wrapped.plant([3, 4]); - * - * other.value(); - * // => [9, 16] - * - * wrapped.value(); - * // => [1, 4] - */ - function wrapperPlant(value) { - var result, - parent = this; - - while (parent instanceof baseLodash) { - var clone = wrapperClone(parent); - clone.__index__ = 0; - clone.__values__ = undefined; - if (result) { - previous.__wrapped__ = clone; - } else { - result = clone; - } - var previous = clone; - parent = parent.__wrapped__; - } - previous.__wrapped__ = value; - return result; - } - - /** - * This method is the wrapper version of `_.reverse`. - * - * **Note:** This method mutates the wrapped array. - * - * @name reverse - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2, 3]; - * - * _(array).reverse().value() - * // => [3, 2, 1] - * - * console.log(array); - * // => [3, 2, 1] - */ - function wrapperReverse() { - var value = this.__wrapped__; - if (value instanceof LazyWrapper) { - var wrapped = value; - if (this.__actions__.length) { - wrapped = new LazyWrapper(this); - } - wrapped = wrapped.reverse(); - wrapped.__actions__.push({ - 'func': thru, - 'args': [reverse], - 'thisArg': undefined - }); - return new LodashWrapper(wrapped, this.__chain__); - } - return this.thru(reverse); - } - - /** - * Executes the chain sequence to resolve the unwrapped value. - * - * @name value - * @memberOf _ - * @since 0.1.0 - * @alias toJSON, valueOf - * @category Seq - * @returns {*} Returns the resolved unwrapped value. - * @example - * - * _([1, 2, 3]).value(); - * // => [1, 2, 3] - */ - function wrapperValue() { - return baseWrapperValue(this.__wrapped__, this.__actions__); - } - - /*------------------------------------------------------------------------*/ - - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` thru `iteratee`. The corresponding value of - * each key is the number of times the key was returned by `iteratee`. The - * iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 0.5.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The iteratee to transform keys. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * _.countBy([6.1, 4.2, 6.3], Math.floor); - * // => { '4': 1, '6': 2 } - * - * // The `_.property` iteratee shorthand. - * _.countBy(['one', 'two', 'three'], 'length'); - * // => { '3': 2, '5': 1 } - */ - var countBy = createAggregator(function(result, value, key) { - if (hasOwnProperty.call(result, key)) { - ++result[key]; - } else { - baseAssignValue(result, key, 1); - } - }); - - /** - * Checks if `predicate` returns truthy for **all** elements of `collection`. - * Iteration is stopped once `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index|key, collection). - * - * **Note:** This method returns `true` for - * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because - * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of - * elements of empty collections. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false`. - * @example - * - * _.every([true, 1, null, 'yes'], Boolean); - * // => false - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.every(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // The `_.matchesProperty` iteratee shorthand. - * _.every(users, ['active', false]); - * // => true - * - * // The `_.property` iteratee shorthand. - * _.every(users, 'active'); - * // => false - */ - function every(collection, predicate, guard) { - var func = isArray(collection) ? arrayEvery : baseEvery; - if (guard && isIterateeCall(collection, predicate, guard)) { - predicate = undefined; - } - return func(collection, getIteratee(predicate, 3)); - } - - /** - * Iterates over elements of `collection`, returning an array of all elements - * `predicate` returns truthy for. The predicate is invoked with three - * arguments: (value, index|key, collection). - * - * **Note:** Unlike `_.remove`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - * @see _.reject - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * _.filter(users, function(o) { return !o.active; }); - * // => objects for ['fred'] - * - * // The `_.matches` iteratee shorthand. - * _.filter(users, { 'age': 36, 'active': true }); - * // => objects for ['barney'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.filter(users, ['active', false]); - * // => objects for ['fred'] - * - * // The `_.property` iteratee shorthand. - * _.filter(users, 'active'); - * // => objects for ['barney'] - * - * // Combining several predicates using `_.overEvery` or `_.overSome`. - * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]])); - * // => objects for ['fred', 'barney'] - */ - function filter(collection, predicate) { - var func = isArray(collection) ? arrayFilter : baseFilter; - return func(collection, getIteratee(predicate, 3)); - } - - /** - * Iterates over elements of `collection`, returning the first element - * `predicate` returns truthy for. The predicate is invoked with three - * arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=0] The index to search from. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false }, - * { 'user': 'pebbles', 'age': 1, 'active': true } - * ]; - * - * _.find(users, function(o) { return o.age < 40; }); - * // => object for 'barney' - * - * // The `_.matches` iteratee shorthand. - * _.find(users, { 'age': 1, 'active': true }); - * // => object for 'pebbles' - * - * // The `_.matchesProperty` iteratee shorthand. - * _.find(users, ['active', false]); - * // => object for 'fred' - * - * // The `_.property` iteratee shorthand. - * _.find(users, 'active'); - * // => object for 'barney' - */ - var find = createFind(findIndex); - - /** - * This method is like `_.find` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Collection - * @param {Array|Object} collection The collection to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=collection.length-1] The index to search from. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * _.findLast([1, 2, 3, 4], function(n) { - * return n % 2 == 1; - * }); - * // => 3 - */ - var findLast = createFind(findLastIndex); - - /** - * Creates a flattened array of values by running each element in `collection` - * thru `iteratee` and flattening the mapped results. The iteratee is invoked - * with three arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [n, n]; - * } - * - * _.flatMap([1, 2], duplicate); - * // => [1, 1, 2, 2] - */ - function flatMap(collection, iteratee) { - return baseFlatten(map(collection, iteratee), 1); - } - - /** - * This method is like `_.flatMap` except that it recursively flattens the - * mapped results. - * - * @static - * @memberOf _ - * @since 4.7.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [[[n, n]]]; - * } - * - * _.flatMapDeep([1, 2], duplicate); - * // => [1, 1, 2, 2] - */ - function flatMapDeep(collection, iteratee) { - return baseFlatten(map(collection, iteratee), INFINITY); - } - - /** - * This method is like `_.flatMap` except that it recursively flattens the - * mapped results up to `depth` times. - * - * @static - * @memberOf _ - * @since 4.7.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {number} [depth=1] The maximum recursion depth. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [[[n, n]]]; - * } - * - * _.flatMapDepth([1, 2], duplicate, 2); - * // => [[1, 1], [2, 2]] - */ - function flatMapDepth(collection, iteratee, depth) { - depth = depth === undefined ? 1 : toInteger(depth); - return baseFlatten(map(collection, iteratee), depth); - } - - /** - * Iterates over elements of `collection` and invokes `iteratee` for each element. - * The iteratee is invoked with three arguments: (value, index|key, collection). - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * **Note:** As with other "Collections" methods, objects with a "length" - * property are iterated like arrays. To avoid this behavior use `_.forIn` - * or `_.forOwn` for object iteration. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @alias each - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - * @see _.forEachRight - * @example - * - * _.forEach([1, 2], function(value) { - * console.log(value); - * }); - * // => Logs `1` then `2`. - * - * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a' then 'b' (iteration order is not guaranteed). - */ - function forEach(collection, iteratee) { - var func = isArray(collection) ? arrayEach : baseEach; - return func(collection, getIteratee(iteratee, 3)); - } - - /** - * This method is like `_.forEach` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @alias eachRight - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - * @see _.forEach - * @example - * - * _.forEachRight([1, 2], function(value) { - * console.log(value); - * }); - * // => Logs `2` then `1`. - */ - function forEachRight(collection, iteratee) { - var func = isArray(collection) ? arrayEachRight : baseEachRight; - return func(collection, getIteratee(iteratee, 3)); - } - - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` thru `iteratee`. The order of grouped values - * is determined by the order they occur in `collection`. The corresponding - * value of each key is an array of elements responsible for generating the - * key. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The iteratee to transform keys. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * _.groupBy([6.1, 4.2, 6.3], Math.floor); - * // => { '4': [4.2], '6': [6.1, 6.3] } - * - * // The `_.property` iteratee shorthand. - * _.groupBy(['one', 'two', 'three'], 'length'); - * // => { '3': ['one', 'two'], '5': ['three'] } - */ - var groupBy = createAggregator(function(result, value, key) { - if (hasOwnProperty.call(result, key)) { - result[key].push(value); - } else { - baseAssignValue(result, key, [value]); - } - }); - - /** - * Checks if `value` is in `collection`. If `collection` is a string, it's - * checked for a substring of `value`, otherwise - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * is used for equality comparisons. If `fromIndex` is negative, it's used as - * the offset from the end of `collection`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object|string} collection The collection to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. - * @returns {boolean} Returns `true` if `value` is found, else `false`. - * @example - * - * _.includes([1, 2, 3], 1); - * // => true - * - * _.includes([1, 2, 3], 1, 2); - * // => false - * - * _.includes({ 'a': 1, 'b': 2 }, 1); - * // => true - * - * _.includes('abcd', 'bc'); - * // => true - */ - function includes(collection, value, fromIndex, guard) { - collection = isArrayLike(collection) ? collection : values(collection); - fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0; - - var length = collection.length; - if (fromIndex < 0) { - fromIndex = nativeMax(length + fromIndex, 0); - } - return isString(collection) - ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1) - : (!!length && baseIndexOf(collection, value, fromIndex) > -1); - } - - /** - * Invokes the method at `path` of each element in `collection`, returning - * an array of the results of each invoked method. Any additional arguments - * are provided to each invoked method. If `path` is a function, it's invoked - * for, and `this` bound to, each element in `collection`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Array|Function|string} path The path of the method to invoke or - * the function invoked per iteration. - * @param {...*} [args] The arguments to invoke each method with. - * @returns {Array} Returns the array of results. - * @example - * - * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort'); - * // => [[1, 5, 7], [1, 2, 3]] - * - * _.invokeMap([123, 456], String.prototype.split, ''); - * // => [['1', '2', '3'], ['4', '5', '6']] - */ - var invokeMap = baseRest(function(collection, path, args) { - var index = -1, - isFunc = typeof path == 'function', - result = isArrayLike(collection) ? Array(collection.length) : []; - - baseEach(collection, function(value) { - result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args); - }); - return result; - }); - - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` thru `iteratee`. The corresponding value of - * each key is the last element responsible for generating the key. The - * iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The iteratee to transform keys. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * var array = [ - * { 'dir': 'left', 'code': 97 }, - * { 'dir': 'right', 'code': 100 } - * ]; - * - * _.keyBy(array, function(o) { - * return String.fromCharCode(o.code); - * }); - * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } } - * - * _.keyBy(array, 'dir'); - * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } } - */ - var keyBy = createAggregator(function(result, value, key) { - baseAssignValue(result, key, value); - }); - - /** - * Creates an array of values by running each element in `collection` thru - * `iteratee`. The iteratee is invoked with three arguments: - * (value, index|key, collection). - * - * Many lodash methods are guarded to work as iteratees for methods like - * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`. - * - * The guarded methods are: - * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`, - * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`, - * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`, - * `template`, `trim`, `trimEnd`, `trimStart`, and `words` - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - * @example - * - * function square(n) { - * return n * n; - * } - * - * _.map([4, 8], square); - * // => [16, 64] - * - * _.map({ 'a': 4, 'b': 8 }, square); - * // => [16, 64] (iteration order is not guaranteed) - * - * var users = [ - * { 'user': 'barney' }, - * { 'user': 'fred' } - * ]; - * - * // The `_.property` iteratee shorthand. - * _.map(users, 'user'); - * // => ['barney', 'fred'] - */ - function map(collection, iteratee) { - var func = isArray(collection) ? arrayMap : baseMap; - return func(collection, getIteratee(iteratee, 3)); - } - - /** - * This method is like `_.sortBy` except that it allows specifying the sort - * orders of the iteratees to sort by. If `orders` is unspecified, all values - * are sorted in ascending order. Otherwise, specify an order of "desc" for - * descending or "asc" for ascending sort order of corresponding values. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]] - * The iteratees to sort by. - * @param {string[]} [orders] The sort orders of `iteratees`. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 34 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'barney', 'age': 36 } - * ]; - * - * // Sort by `user` in ascending order and by `age` in descending order. - * _.orderBy(users, ['user', 'age'], ['asc', 'desc']); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]] - */ - function orderBy(collection, iteratees, orders, guard) { - if (collection == null) { - return []; - } - if (!isArray(iteratees)) { - iteratees = iteratees == null ? [] : [iteratees]; - } - orders = guard ? undefined : orders; - if (!isArray(orders)) { - orders = orders == null ? [] : [orders]; - } - return baseOrderBy(collection, iteratees, orders); - } - - /** - * Creates an array of elements split into two groups, the first of which - * contains elements `predicate` returns truthy for, the second of which - * contains elements `predicate` returns falsey for. The predicate is - * invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the array of grouped elements. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': true }, - * { 'user': 'pebbles', 'age': 1, 'active': false } - * ]; - * - * _.partition(users, function(o) { return o.active; }); - * // => objects for [['fred'], ['barney', 'pebbles']] - * - * // The `_.matches` iteratee shorthand. - * _.partition(users, { 'age': 1, 'active': false }); - * // => objects for [['pebbles'], ['barney', 'fred']] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.partition(users, ['active', false]); - * // => objects for [['barney', 'pebbles'], ['fred']] - * - * // The `_.property` iteratee shorthand. - * _.partition(users, 'active'); - * // => objects for [['fred'], ['barney', 'pebbles']] - */ - var partition = createAggregator(function(result, value, key) { - result[key ? 0 : 1].push(value); - }, function() { return [[], []]; }); - - /** - * Reduces `collection` to a value which is the accumulated result of running - * each element in `collection` thru `iteratee`, where each successive - * invocation is supplied the return value of the previous. If `accumulator` - * is not given, the first element of `collection` is used as the initial - * value. The iteratee is invoked with four arguments: - * (accumulator, value, index|key, collection). - * - * Many lodash methods are guarded to work as iteratees for methods like - * `_.reduce`, `_.reduceRight`, and `_.transform`. - * - * The guarded methods are: - * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`, - * and `sortBy` - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @returns {*} Returns the accumulated value. - * @see _.reduceRight - * @example - * - * _.reduce([1, 2], function(sum, n) { - * return sum + n; - * }, 0); - * // => 3 - * - * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) { - * (result[value] || (result[value] = [])).push(key); - * return result; - * }, {}); - * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed) - */ - function reduce(collection, iteratee, accumulator) { - var func = isArray(collection) ? arrayReduce : baseReduce, - initAccum = arguments.length < 3; - - return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach); - } - - /** - * This method is like `_.reduce` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @returns {*} Returns the accumulated value. - * @see _.reduce - * @example - * - * var array = [[0, 1], [2, 3], [4, 5]]; - * - * _.reduceRight(array, function(flattened, other) { - * return flattened.concat(other); - * }, []); - * // => [4, 5, 2, 3, 0, 1] - */ - function reduceRight(collection, iteratee, accumulator) { - var func = isArray(collection) ? arrayReduceRight : baseReduce, - initAccum = arguments.length < 3; - - return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight); - } - - /** - * The opposite of `_.filter`; this method returns the elements of `collection` - * that `predicate` does **not** return truthy for. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - * @see _.filter - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': true } - * ]; - * - * _.reject(users, function(o) { return !o.active; }); - * // => objects for ['fred'] - * - * // The `_.matches` iteratee shorthand. - * _.reject(users, { 'age': 40, 'active': true }); - * // => objects for ['barney'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.reject(users, ['active', false]); - * // => objects for ['fred'] - * - * // The `_.property` iteratee shorthand. - * _.reject(users, 'active'); - * // => objects for ['barney'] - */ - function reject(collection, predicate) { - var func = isArray(collection) ? arrayFilter : baseFilter; - return func(collection, negate(getIteratee(predicate, 3))); - } - - /** - * Gets a random element from `collection`. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Collection - * @param {Array|Object} collection The collection to sample. - * @returns {*} Returns the random element. - * @example - * - * _.sample([1, 2, 3, 4]); - * // => 2 - */ - function sample(collection) { - var func = isArray(collection) ? arraySample : baseSample; - return func(collection); - } - - /** - * Gets `n` random elements at unique keys from `collection` up to the - * size of `collection`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to sample. - * @param {number} [n=1] The number of elements to sample. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the random elements. - * @example - * - * _.sampleSize([1, 2, 3], 2); - * // => [3, 1] - * - * _.sampleSize([1, 2, 3], 4); - * // => [2, 3, 1] - */ - function sampleSize(collection, n, guard) { - if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) { - n = 1; - } else { - n = toInteger(n); - } - var func = isArray(collection) ? arraySampleSize : baseSampleSize; - return func(collection, n); - } - - /** - * Creates an array of shuffled values, using a version of the - * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to shuffle. - * @returns {Array} Returns the new shuffled array. - * @example - * - * _.shuffle([1, 2, 3, 4]); - * // => [4, 1, 3, 2] - */ - function shuffle(collection) { - var func = isArray(collection) ? arrayShuffle : baseShuffle; - return func(collection); - } - - /** - * Gets the size of `collection` by returning its length for array-like - * values or the number of own enumerable string keyed properties for objects. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object|string} collection The collection to inspect. - * @returns {number} Returns the collection size. - * @example - * - * _.size([1, 2, 3]); - * // => 3 - * - * _.size({ 'a': 1, 'b': 2 }); - * // => 2 - * - * _.size('pebbles'); - * // => 7 - */ - function size(collection) { - if (collection == null) { - return 0; - } - if (isArrayLike(collection)) { - return isString(collection) ? stringSize(collection) : collection.length; - } - var tag = getTag(collection); - if (tag == mapTag || tag == setTag) { - return collection.size; - } - return baseKeys(collection).length; - } - - /** - * Checks if `predicate` returns truthy for **any** element of `collection`. - * Iteration is stopped once `predicate` returns truthy. The predicate is - * invoked with three arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - * @example - * - * _.some([null, 0, 'yes', false], Boolean); - * // => true - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.some(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // The `_.matchesProperty` iteratee shorthand. - * _.some(users, ['active', false]); - * // => true - * - * // The `_.property` iteratee shorthand. - * _.some(users, 'active'); - * // => true - */ - function some(collection, predicate, guard) { - var func = isArray(collection) ? arraySome : baseSome; - if (guard && isIterateeCall(collection, predicate, guard)) { - predicate = undefined; - } - return func(collection, getIteratee(predicate, 3)); - } - - /** - * Creates an array of elements, sorted in ascending order by the results of - * running each element in a collection thru each iteratee. This method - * performs a stable sort, that is, it preserves the original sort order of - * equal elements. The iteratees are invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {...(Function|Function[])} [iteratees=[_.identity]] - * The iteratees to sort by. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 30 }, - * { 'user': 'barney', 'age': 34 } - * ]; - * - * _.sortBy(users, [function(o) { return o.user; }]); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]] - * - * _.sortBy(users, ['user', 'age']); - * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]] - */ - var sortBy = baseRest(function(collection, iteratees) { - if (collection == null) { - return []; - } - var length = iteratees.length; - if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) { - iteratees = []; - } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) { - iteratees = [iteratees[0]]; - } - return baseOrderBy(collection, baseFlatten(iteratees, 1), []); - }); - - /*------------------------------------------------------------------------*/ - - /** - * Gets the timestamp of the number of milliseconds that have elapsed since - * the Unix epoch (1 January 1970 00:00:00 UTC). - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Date - * @returns {number} Returns the timestamp. - * @example - * - * _.defer(function(stamp) { - * console.log(_.now() - stamp); - * }, _.now()); - * // => Logs the number of milliseconds it took for the deferred invocation. - */ - var now = ctxNow || function() { - return root.Date.now(); - }; - - /*------------------------------------------------------------------------*/ - - /** - * The opposite of `_.before`; this method creates a function that invokes - * `func` once it's called `n` or more times. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {number} n The number of calls before `func` is invoked. - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * var saves = ['profile', 'settings']; - * - * var done = _.after(saves.length, function() { - * console.log('done saving!'); - * }); - * - * _.forEach(saves, function(type) { - * asyncSave({ 'type': type, 'complete': done }); - * }); - * // => Logs 'done saving!' after the two async saves have completed. - */ - function after(n, func) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - n = toInteger(n); - return function() { - if (--n < 1) { - return func.apply(this, arguments); - } - }; - } - - /** - * Creates a function that invokes `func`, with up to `n` arguments, - * ignoring any additional arguments. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} func The function to cap arguments for. - * @param {number} [n=func.length] The arity cap. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new capped function. - * @example - * - * _.map(['6', '8', '10'], _.ary(parseInt, 1)); - * // => [6, 8, 10] - */ - function ary(func, n, guard) { - n = guard ? undefined : n; - n = (func && n == null) ? func.length : n; - return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n); - } - - /** - * Creates a function that invokes `func`, with the `this` binding and arguments - * of the created function, while it's called less than `n` times. Subsequent - * calls to the created function return the result of the last `func` invocation. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {number} n The number of calls at which `func` is no longer invoked. - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * jQuery(element).on('click', _.before(5, addContactToList)); - * // => Allows adding up to 4 contacts to the list. - */ - function before(n, func) { - var result; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - n = toInteger(n); - return function() { - if (--n > 0) { - result = func.apply(this, arguments); - } - if (n <= 1) { - func = undefined; - } - return result; - }; - } - - /** - * Creates a function that invokes `func` with the `this` binding of `thisArg` - * and `partials` prepended to the arguments it receives. - * - * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds, - * may be used as a placeholder for partially applied arguments. - * - * **Note:** Unlike native `Function#bind`, this method doesn't set the "length" - * property of bound functions. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to bind. - * @param {*} thisArg The `this` binding of `func`. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new bound function. - * @example - * - * function greet(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * } - * - * var object = { 'user': 'fred' }; - * - * var bound = _.bind(greet, object, 'hi'); - * bound('!'); - * // => 'hi fred!' - * - * // Bound with placeholders. - * var bound = _.bind(greet, object, _, '!'); - * bound('hi'); - * // => 'hi fred!' - */ - var bind = baseRest(function(func, thisArg, partials) { - var bitmask = WRAP_BIND_FLAG; - if (partials.length) { - var holders = replaceHolders(partials, getHolder(bind)); - bitmask |= WRAP_PARTIAL_FLAG; - } - return createWrap(func, bitmask, thisArg, partials, holders); - }); - - /** - * Creates a function that invokes the method at `object[key]` with `partials` - * prepended to the arguments it receives. - * - * This method differs from `_.bind` by allowing bound functions to reference - * methods that may be redefined or don't yet exist. See - * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern) - * for more details. - * - * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * @static - * @memberOf _ - * @since 0.10.0 - * @category Function - * @param {Object} object The object to invoke the method on. - * @param {string} key The key of the method. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new bound function. - * @example - * - * var object = { - * 'user': 'fred', - * 'greet': function(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * } - * }; - * - * var bound = _.bindKey(object, 'greet', 'hi'); - * bound('!'); - * // => 'hi fred!' - * - * object.greet = function(greeting, punctuation) { - * return greeting + 'ya ' + this.user + punctuation; - * }; - * - * bound('!'); - * // => 'hiya fred!' - * - * // Bound with placeholders. - * var bound = _.bindKey(object, 'greet', _, '!'); - * bound('hi'); - * // => 'hiya fred!' - */ - var bindKey = baseRest(function(object, key, partials) { - var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG; - if (partials.length) { - var holders = replaceHolders(partials, getHolder(bindKey)); - bitmask |= WRAP_PARTIAL_FLAG; - } - return createWrap(key, bitmask, object, partials, holders); - }); - - /** - * Creates a function that accepts arguments of `func` and either invokes - * `func` returning its result, if at least `arity` number of arguments have - * been provided, or returns a function that accepts the remaining `func` - * arguments, and so on. The arity of `func` may be specified if `func.length` - * is not sufficient. - * - * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds, - * may be used as a placeholder for provided arguments. - * - * **Note:** This method doesn't set the "length" property of curried functions. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new curried function. - * @example - * - * var abc = function(a, b, c) { - * return [a, b, c]; - * }; - * - * var curried = _.curry(abc); - * - * curried(1)(2)(3); - * // => [1, 2, 3] - * - * curried(1, 2)(3); - * // => [1, 2, 3] - * - * curried(1, 2, 3); - * // => [1, 2, 3] - * - * // Curried with placeholders. - * curried(1)(_, 3)(2); - * // => [1, 2, 3] - */ - function curry(func, arity, guard) { - arity = guard ? undefined : arity; - var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity); - result.placeholder = curry.placeholder; - return result; - } - - /** - * This method is like `_.curry` except that arguments are applied to `func` - * in the manner of `_.partialRight` instead of `_.partial`. - * - * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for provided arguments. - * - * **Note:** This method doesn't set the "length" property of curried functions. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new curried function. - * @example - * - * var abc = function(a, b, c) { - * return [a, b, c]; - * }; - * - * var curried = _.curryRight(abc); - * - * curried(3)(2)(1); - * // => [1, 2, 3] - * - * curried(2, 3)(1); - * // => [1, 2, 3] - * - * curried(1, 2, 3); - * // => [1, 2, 3] - * - * // Curried with placeholders. - * curried(3)(1, _)(2); - * // => [1, 2, 3] - */ - function curryRight(func, arity, guard) { - arity = guard ? undefined : arity; - var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity); - result.placeholder = curryRight.placeholder; - return result; - } - - /** - * Creates a debounced function that delays invoking `func` until after `wait` - * milliseconds have elapsed since the last time the debounced function was - * invoked. The debounced function comes with a `cancel` method to cancel - * delayed `func` invocations and a `flush` method to immediately invoke them. - * Provide `options` to indicate whether `func` should be invoked on the - * leading and/or trailing edge of the `wait` timeout. The `func` is invoked - * with the last arguments provided to the debounced function. Subsequent - * calls to the debounced function return the result of the last `func` - * invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is - * invoked on the trailing edge of the timeout only if the debounced function - * is invoked more than once during the `wait` timeout. - * - * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred - * until to the next tick, similar to `setTimeout` with a timeout of `0`. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.debounce` and `_.throttle`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to debounce. - * @param {number} [wait=0] The number of milliseconds to delay. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=false] - * Specify invoking on the leading edge of the timeout. - * @param {number} [options.maxWait] - * The maximum time `func` is allowed to be delayed before it's invoked. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new debounced function. - * @example - * - * // Avoid costly calculations while the window size is in flux. - * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); - * - * // Invoke `sendMail` when clicked, debouncing subsequent calls. - * jQuery(element).on('click', _.debounce(sendMail, 300, { - * 'leading': true, - * 'trailing': false - * })); - * - * // Ensure `batchLog` is invoked once after 1 second of debounced calls. - * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); - * var source = new EventSource('/stream'); - * jQuery(source).on('message', debounced); - * - * // Cancel the trailing debounced invocation. - * jQuery(window).on('popstate', debounced.cancel); - */ - function debounce(func, wait, options) { - var lastArgs, - lastThis, - maxWait, - result, - timerId, - lastCallTime, - lastInvokeTime = 0, - leading = false, - maxing = false, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - wait = toNumber(wait) || 0; - if (isObject(options)) { - leading = !!options.leading; - maxing = 'maxWait' in options; - maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - - function invokeFunc(time) { - var args = lastArgs, - thisArg = lastThis; - - lastArgs = lastThis = undefined; - lastInvokeTime = time; - result = func.apply(thisArg, args); - return result; - } - - function leadingEdge(time) { - // Reset any `maxWait` timer. - lastInvokeTime = time; - // Start the timer for the trailing edge. - timerId = setTimeout(timerExpired, wait); - // Invoke the leading edge. - return leading ? invokeFunc(time) : result; - } - - function remainingWait(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime, - timeWaiting = wait - timeSinceLastCall; - - return maxing - ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) - : timeWaiting; - } - - function shouldInvoke(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime; - - // Either this is the first call, activity has stopped and we're at the - // trailing edge, the system time has gone backwards and we're treating - // it as the trailing edge, or we've hit the `maxWait` limit. - return (lastCallTime === undefined || (timeSinceLastCall >= wait) || - (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); - } - - function timerExpired() { - var time = now(); - if (shouldInvoke(time)) { - return trailingEdge(time); - } - // Restart the timer. - timerId = setTimeout(timerExpired, remainingWait(time)); - } - - function trailingEdge(time) { - timerId = undefined; - - // Only invoke if we have `lastArgs` which means `func` has been - // debounced at least once. - if (trailing && lastArgs) { - return invokeFunc(time); - } - lastArgs = lastThis = undefined; - return result; - } - - function cancel() { - if (timerId !== undefined) { - clearTimeout(timerId); - } - lastInvokeTime = 0; - lastArgs = lastCallTime = lastThis = timerId = undefined; - } - - function flush() { - return timerId === undefined ? result : trailingEdge(now()); - } - - function debounced() { - var time = now(), - isInvoking = shouldInvoke(time); - - lastArgs = arguments; - lastThis = this; - lastCallTime = time; - - if (isInvoking) { - if (timerId === undefined) { - return leadingEdge(lastCallTime); - } - if (maxing) { - // Handle invocations in a tight loop. - clearTimeout(timerId); - timerId = setTimeout(timerExpired, wait); - return invokeFunc(lastCallTime); - } - } - if (timerId === undefined) { - timerId = setTimeout(timerExpired, wait); - } - return result; - } - debounced.cancel = cancel; - debounced.flush = flush; - return debounced; - } - - /** - * Defers invoking the `func` until the current call stack has cleared. Any - * additional arguments are provided to `func` when it's invoked. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to defer. - * @param {...*} [args] The arguments to invoke `func` with. - * @returns {number} Returns the timer id. - * @example - * - * _.defer(function(text) { - * console.log(text); - * }, 'deferred'); - * // => Logs 'deferred' after one millisecond. - */ - var defer = baseRest(function(func, args) { - return baseDelay(func, 1, args); - }); - - /** - * Invokes `func` after `wait` milliseconds. Any additional arguments are - * provided to `func` when it's invoked. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @param {...*} [args] The arguments to invoke `func` with. - * @returns {number} Returns the timer id. - * @example - * - * _.delay(function(text) { - * console.log(text); - * }, 1000, 'later'); - * // => Logs 'later' after one second. - */ - var delay = baseRest(function(func, wait, args) { - return baseDelay(func, toNumber(wait) || 0, args); - }); - - /** - * Creates a function that invokes `func` with arguments reversed. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to flip arguments for. - * @returns {Function} Returns the new flipped function. - * @example - * - * var flipped = _.flip(function() { - * return _.toArray(arguments); - * }); - * - * flipped('a', 'b', 'c', 'd'); - * // => ['d', 'c', 'b', 'a'] - */ - function flip(func) { - return createWrap(func, WRAP_FLIP_FLAG); - } - - /** - * Creates a function that memoizes the result of `func`. If `resolver` is - * provided, it determines the cache key for storing the result based on the - * arguments provided to the memoized function. By default, the first argument - * provided to the memoized function is used as the map cache key. The `func` - * is invoked with the `this` binding of the memoized function. - * - * **Note:** The cache is exposed as the `cache` property on the memoized - * function. Its creation may be customized by replacing the `_.memoize.Cache` - * constructor with one whose instances implement the - * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object) - * method interface of `clear`, `delete`, `get`, `has`, and `set`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to have its output memoized. - * @param {Function} [resolver] The function to resolve the cache key. - * @returns {Function} Returns the new memoized function. - * @example - * - * var object = { 'a': 1, 'b': 2 }; - * var other = { 'c': 3, 'd': 4 }; - * - * var values = _.memoize(_.values); - * values(object); - * // => [1, 2] - * - * values(other); - * // => [3, 4] - * - * object.a = 2; - * values(object); - * // => [1, 2] - * - * // Modify the result cache. - * values.cache.set(object, ['a', 'b']); - * values(object); - * // => ['a', 'b'] - * - * // Replace `_.memoize.Cache`. - * _.memoize.Cache = WeakMap; - */ - function memoize(func, resolver) { - if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { - throw new TypeError(FUNC_ERROR_TEXT); - } - var memoized = function() { - var args = arguments, - key = resolver ? resolver.apply(this, args) : args[0], - cache = memoized.cache; - - if (cache.has(key)) { - return cache.get(key); - } - var result = func.apply(this, args); - memoized.cache = cache.set(key, result) || cache; - return result; - }; - memoized.cache = new (memoize.Cache || MapCache); - return memoized; - } - - // Expose `MapCache`. - memoize.Cache = MapCache; - - /** - * Creates a function that negates the result of the predicate `func`. The - * `func` predicate is invoked with the `this` binding and arguments of the - * created function. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} predicate The predicate to negate. - * @returns {Function} Returns the new negated function. - * @example - * - * function isEven(n) { - * return n % 2 == 0; - * } - * - * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven)); - * // => [1, 3, 5] - */ - function negate(predicate) { - if (typeof predicate != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return function() { - var args = arguments; - switch (args.length) { - case 0: return !predicate.call(this); - case 1: return !predicate.call(this, args[0]); - case 2: return !predicate.call(this, args[0], args[1]); - case 3: return !predicate.call(this, args[0], args[1], args[2]); - } - return !predicate.apply(this, args); - }; - } - - /** - * Creates a function that is restricted to invoking `func` once. Repeat calls - * to the function return the value of the first invocation. The `func` is - * invoked with the `this` binding and arguments of the created function. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * var initialize = _.once(createApplication); - * initialize(); - * initialize(); - * // => `createApplication` is invoked once - */ - function once(func) { - return before(2, func); - } - - /** - * Creates a function that invokes `func` with its arguments transformed. - * - * @static - * @since 4.0.0 - * @memberOf _ - * @category Function - * @param {Function} func The function to wrap. - * @param {...(Function|Function[])} [transforms=[_.identity]] - * The argument transforms. - * @returns {Function} Returns the new function. - * @example - * - * function doubled(n) { - * return n * 2; - * } - * - * function square(n) { - * return n * n; - * } - * - * var func = _.overArgs(function(x, y) { - * return [x, y]; - * }, [square, doubled]); - * - * func(9, 3); - * // => [81, 6] - * - * func(10, 5); - * // => [100, 10] - */ - var overArgs = castRest(function(func, transforms) { - transforms = (transforms.length == 1 && isArray(transforms[0])) - ? arrayMap(transforms[0], baseUnary(getIteratee())) - : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee())); - - var funcsLength = transforms.length; - return baseRest(function(args) { - var index = -1, - length = nativeMin(args.length, funcsLength); - - while (++index < length) { - args[index] = transforms[index].call(this, args[index]); - } - return apply(func, this, args); - }); - }); - - /** - * Creates a function that invokes `func` with `partials` prepended to the - * arguments it receives. This method is like `_.bind` except it does **not** - * alter the `this` binding. - * - * The `_.partial.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * **Note:** This method doesn't set the "length" property of partially - * applied functions. - * - * @static - * @memberOf _ - * @since 0.2.0 - * @category Function - * @param {Function} func The function to partially apply arguments to. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new partially applied function. - * @example - * - * function greet(greeting, name) { - * return greeting + ' ' + name; - * } - * - * var sayHelloTo = _.partial(greet, 'hello'); - * sayHelloTo('fred'); - * // => 'hello fred' - * - * // Partially applied with placeholders. - * var greetFred = _.partial(greet, _, 'fred'); - * greetFred('hi'); - * // => 'hi fred' - */ - var partial = baseRest(function(func, partials) { - var holders = replaceHolders(partials, getHolder(partial)); - return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders); - }); - - /** - * This method is like `_.partial` except that partially applied arguments - * are appended to the arguments it receives. - * - * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * **Note:** This method doesn't set the "length" property of partially - * applied functions. - * - * @static - * @memberOf _ - * @since 1.0.0 - * @category Function - * @param {Function} func The function to partially apply arguments to. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new partially applied function. - * @example - * - * function greet(greeting, name) { - * return greeting + ' ' + name; - * } - * - * var greetFred = _.partialRight(greet, 'fred'); - * greetFred('hi'); - * // => 'hi fred' - * - * // Partially applied with placeholders. - * var sayHelloTo = _.partialRight(greet, 'hello', _); - * sayHelloTo('fred'); - * // => 'hello fred' - */ - var partialRight = baseRest(function(func, partials) { - var holders = replaceHolders(partials, getHolder(partialRight)); - return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders); - }); - - /** - * Creates a function that invokes `func` with arguments arranged according - * to the specified `indexes` where the argument value at the first index is - * provided as the first argument, the argument value at the second index is - * provided as the second argument, and so on. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} func The function to rearrange arguments for. - * @param {...(number|number[])} indexes The arranged argument indexes. - * @returns {Function} Returns the new function. - * @example - * - * var rearged = _.rearg(function(a, b, c) { - * return [a, b, c]; - * }, [2, 0, 1]); - * - * rearged('b', 'c', 'a') - * // => ['a', 'b', 'c'] - */ - var rearg = flatRest(function(func, indexes) { - return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes); - }); - - /** - * Creates a function that invokes `func` with the `this` binding of the - * created function and arguments from `start` and beyond provided as - * an array. - * - * **Note:** This method is based on the - * [rest parameter](https://mdn.io/rest_parameters). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - * @example - * - * var say = _.rest(function(what, names) { - * return what + ' ' + _.initial(names).join(', ') + - * (_.size(names) > 1 ? ', & ' : '') + _.last(names); - * }); - * - * say('hello', 'fred', 'barney', 'pebbles'); - * // => 'hello fred, barney, & pebbles' - */ - function rest(func, start) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - start = start === undefined ? start : toInteger(start); - return baseRest(func, start); - } - - /** - * Creates a function that invokes `func` with the `this` binding of the - * create function and an array of arguments much like - * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply). - * - * **Note:** This method is based on the - * [spread operator](https://mdn.io/spread_operator). - * - * @static - * @memberOf _ - * @since 3.2.0 - * @category Function - * @param {Function} func The function to spread arguments over. - * @param {number} [start=0] The start position of the spread. - * @returns {Function} Returns the new function. - * @example - * - * var say = _.spread(function(who, what) { - * return who + ' says ' + what; - * }); - * - * say(['fred', 'hello']); - * // => 'fred says hello' - * - * var numbers = Promise.all([ - * Promise.resolve(40), - * Promise.resolve(36) - * ]); - * - * numbers.then(_.spread(function(x, y) { - * return x + y; - * })); - * // => a Promise of 76 - */ - function spread(func, start) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - start = start == null ? 0 : nativeMax(toInteger(start), 0); - return baseRest(function(args) { - var array = args[start], - otherArgs = castSlice(args, 0, start); - - if (array) { - arrayPush(otherArgs, array); - } - return apply(func, this, otherArgs); - }); - } - - /** - * Creates a throttled function that only invokes `func` at most once per - * every `wait` milliseconds. The throttled function comes with a `cancel` - * method to cancel delayed `func` invocations and a `flush` method to - * immediately invoke them. Provide `options` to indicate whether `func` - * should be invoked on the leading and/or trailing edge of the `wait` - * timeout. The `func` is invoked with the last arguments provided to the - * throttled function. Subsequent calls to the throttled function return the - * result of the last `func` invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is - * invoked on the trailing edge of the timeout only if the throttled function - * is invoked more than once during the `wait` timeout. - * - * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred - * until to the next tick, similar to `setTimeout` with a timeout of `0`. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.throttle` and `_.debounce`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to throttle. - * @param {number} [wait=0] The number of milliseconds to throttle invocations to. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=true] - * Specify invoking on the leading edge of the timeout. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new throttled function. - * @example - * - * // Avoid excessively updating the position while scrolling. - * jQuery(window).on('scroll', _.throttle(updatePosition, 100)); - * - * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes. - * var throttled = _.throttle(renewToken, 300000, { 'trailing': false }); - * jQuery(element).on('click', throttled); - * - * // Cancel the trailing throttled invocation. - * jQuery(window).on('popstate', throttled.cancel); - */ - function throttle(func, wait, options) { - var leading = true, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - if (isObject(options)) { - leading = 'leading' in options ? !!options.leading : leading; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - return debounce(func, wait, { - 'leading': leading, - 'maxWait': wait, - 'trailing': trailing - }); - } - - /** - * Creates a function that accepts up to one argument, ignoring any - * additional arguments. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. - * @example - * - * _.map(['6', '8', '10'], _.unary(parseInt)); - * // => [6, 8, 10] - */ - function unary(func) { - return ary(func, 1); - } - - /** - * Creates a function that provides `value` to `wrapper` as its first - * argument. Any additional arguments provided to the function are appended - * to those provided to the `wrapper`. The wrapper is invoked with the `this` - * binding of the created function. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {*} value The value to wrap. - * @param {Function} [wrapper=identity] The wrapper function. - * @returns {Function} Returns the new function. - * @example - * - * var p = _.wrap(_.escape, function(func, text) { - * return '

' + func(text) + '

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

fred, barney, & pebbles

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