From f34757093548feb7bf7c9ee1946ccadce05feec5 Mon Sep 17 00:00:00 2001 From: Lee Nave Date: Tue, 21 Apr 2026 16:39:07 -0700 Subject: [PATCH] Sync with upstream --- .env.example | 7 +- .github/workflows/package.yml | 2 +- .gitignore | 4 +- CHANGELOG.md | 39 + README.md | 200 +- action.yml | 146 +- dist/203.index.js | 531 + dist/273.index.js | 1081 + dist/290.index.js | 233 + dist/334.index.js | 872 + dist/414.index.js | 1056 + dist/477.index.js | 386 + dist/646.index.js | 151 + dist/702.index.js | 273 + dist/747.index.js | 758 + dist/969.index.js | 93 + dist/index.js | 198817 +++++++++++++------------------ package-lock.json | 7032 +- package.json | 13 +- src/__tests__/jit.test.js | 310 + src/aws.js | 371 +- src/config.js | 136 +- src/gh.js | 156 +- src/index.js | 74 +- 24 files changed, 93256 insertions(+), 119485 deletions(-) create mode 100644 CHANGELOG.md create mode 100644 dist/203.index.js create mode 100644 dist/273.index.js create mode 100644 dist/290.index.js create mode 100644 dist/334.index.js create mode 100644 dist/414.index.js create mode 100644 dist/477.index.js create mode 100644 dist/646.index.js create mode 100644 dist/702.index.js create mode 100644 dist/747.index.js create mode 100644 dist/969.index.js create mode 100644 src/__tests__/jit.test.js diff --git a/.env.example b/.env.example index 2db35299..ed192c14 100644 --- a/.env.example +++ b/.env.example @@ -2,7 +2,7 @@ # # Create .env file using this file as a template. # Define all your variables for local development as described below. -# +# # - Use environment variables with prefix "AWS_" to give access to your test AWS account. # - Use environment variables with prefix "INPUT_" to simulate GitHub Actions input. # - Use GITHUB_REPOSITORY environment variable to provide the GitHub repository and it's owher as a context in the script. Use formst "owner/repo". @@ -19,3 +19,8 @@ INPUT_SECURITY-GROUP-ID= INPUT_LABEL= INPUT_EC2-INSTANCE-ID= GITHUB_REPOSITORY= +INPUT_EC2-VOLUME-SIZE= +INPUT_EC2-DEVICE-NAME= +INPUT_EC2-VOLUME-TYPE= +INPUT_USE-JIT= +INPUT_RUNNER-GROUP-ID= diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 4526ede2..77f01cb0 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 - name: Install packages run: npm ci diff --git a/.gitignore b/.gitignore index 1dcef2d9..ad9b9b47 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ node_modules -.env \ No newline at end of file +.env +.vscode +.claude diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..a5f86afc --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,39 @@ +# Changelog + +## [Unreleased] + +### Added +- JIT (Just-In-Time) runner support via new `use-jit` input (default: `false`). + JIT runners use GitHub's `generate-jitconfig` API, skip `config.sh`, + and auto-deregister after completing one job. +- New `runner-group-id` input for specifying the runner group when using JIT mode (default: `1`). +- Validation: `use-jit` and `run-runner-as-service` cannot be used together (JIT is single-use). +- New `runner-debug` input (default: `false`) for verbose debug logging. When enabled, + injects detailed echo statements into the setup script and polls EC2 serial console + output during runner registration. Requires `ec2:GetConsoleOutput` IAM permission. +- New `availability-zones-config` input for multi-AZ failover. The action tries each + configuration in sequence until an instance is successfully launched. +- New `metadata-options` input for configuring EC2 instance metadata (e.g. IMDSv2). +- New `packages` input for installing packages via cloud-init during boot. +- New `region` output for tracking which AWS region the instance was launched in. +- EC2 console output polling via `GetConsoleOutputCommand` for remote debugging. +- Test suite expanded to 25 tests covering JIT, debug mode, cloud-boothook, + runuser, tolerant chown, stale config cleanup, and package installation. + +### Changed +- Upgraded action runtime from `node20` to `node24` to resolve GitHub Actions deprecation warning (Node.js 20 actions deprecated June 2026). +- Updated `package.yml` workflow to build distribution with Node.js 24. +- Switched user-data format from `#cloud-config` with `runcmd` to `#cloud-boothook`. + This fixes compatibility with Amazon Linux 2023 and other AMIs where + `cloud_final_modules` may be empty or misconfigured. +- Replaced `su -c` with `runuser -u --` to avoid password prompts + in non-interactive cloud-init contexts. +- Made `chown` tolerant of permission errors (`|| true`) to prevent `set -e` + from killing the script when `_diag/` files are owned by root. +- Setup script now removes stale runner config files (`.runner`, `.credentials`, + `.credentials_rsaparams`) before `config.sh` to handle AMIs created from + previously configured runner instances. +- Setup script logs are written to `/tmp/runner-setup.log` instead of + `/var/log/user-data.log` and `/dev/console` (which may not be accessible). +- Updated README with full documentation for all new inputs, IAM requirements + for debug mode, and advanced usage sections (JIT, Multi-AZ, Debug). diff --git a/README.md b/README.md index d2200c33..f8ffeeec 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,9 @@ See [below](#example) the YAML code of the depicted workflow.

- [Environment variables](#environment-variables) - [Outputs](#outputs) - [Example](#example) + - [Advanced: JIT runners](#advanced-jit-runners) + - [Advanced: Multi-AZ failover](#advanced-multi-az-failover) + - [Advanced: Debug mode](#advanced-debug-mode) - [Real user examples](#real-user-examples) - [Self-hosted runner security with public repositories](#self-hosted-runner-security-with-public-repositories) - [License Summary](#license-summary) @@ -76,7 +79,7 @@ Use the following steps to prepare your workflow for running on your EC2 self-ho 1. Create new AWS access keys for the new or an existing IAM user with the following least-privilege minimum required permissions: - ``` + ```json { "Version": "2012-10-17", "Statement": [ @@ -94,9 +97,26 @@ Use the following steps to prepare your workflow for running on your EC2 self-ho } ``` - If you plan to attach an IAM role to the EC2 runner with the `iam-role-name` parameter, you will need to allow additional permissions: + If you use the `runner-debug` input to enable debug logging, you will also need to allow the `ec2:GetConsoleOutput` permission so the action can poll the EC2 serial console output during startup: + ```json + { + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Action": [ + "ec2:GetConsoleOutput" + ], + "Resource": "*" + } + ] + } ``` + + If you plan to attach an IAM role to the EC2 runner with the `iam-role-name` parameter, you will need to allow additional permissions: + + ```json { "Version": "2012-10-17", "Statement": [ @@ -119,7 +139,7 @@ Use the following steps to prepare your workflow for running on your EC2 self-ho If you use the `aws-resource-tags` parameter, you will also need to allow the permissions to create tags: - ``` + ```json { "Version": "2012-10-17", "Statement": [ @@ -147,7 +167,7 @@ Use the following steps to prepare your workflow for running on your EC2 self-ho > [!IMPORTANT] > If you are planning on using Spot instances for your runner, AWS uses a service-linked role to provision the instances. -> +> > For this to work, at least one of the following must be true: > - The service-linked role exists already. This happens if you request a Spot instance via the AWS Console interface. > - You create the service-linked role via the Console, AWS CLI or AWS API. @@ -165,13 +185,19 @@ Use the following steps to prepare your workflow for running on your EC2 self-ho 1. Create a new EC2 instance based on any Linux distribution you need. 2. Connect to the instance using SSH, install `docker` and `git`, then enable `docker` service. - For Amazon Linux 2, it looks like the following: + For Amazon Linux 2023: + ```shell + sudo dnf update -y && \ + sudo dnf install docker git libicu -y && \ + sudo systemctl enable docker ``` + + For Amazon Linux 2: + + ```shell sudo yum update -y && \ - sudo yum install docker -y && \ - sudo yum install git -y && \ - sudo yum install libicu -y && \ + sudo yum install docker git libicu -y && \ sudo systemctl enable docker ``` @@ -181,15 +207,19 @@ Use the following steps to prepare your workflow for running on your EC2 self-ho 4. Create a new EC2 image (AMI) from the instance. 5. Remove the instance if not required anymore after the image is created. -Alternatively, you can use a vanilla EC2 AMI and set up the dependencies via `pre-runner-script` in the workflow YAML file. See example in the `pre-runner-script` documentation below. +> **Important:** If your AMI was created from an instance that previously ran a GitHub Actions runner, make sure to delete the stale runner configuration files (`.runner`, `.credentials`, `.credentials_rsaparams`) from the runner directory before creating the AMI. The action handles this automatically, but a clean AMI avoids unnecessary warnings. + +Alternatively, you can use a vanilla EC2 AMI and set up the dependencies via `pre-runner-script` or the `packages` input in the workflow YAML file. + +> **Compatibility note:** This action uses a `#cloud-boothook` user-data format to ensure the setup script runs during cloud-init's init stage. This is compatible with Amazon Linux 2, Amazon Linux 2023, Ubuntu, and other distributions that support cloud-init. The boothook approach avoids issues with some AMIs where `cloud_final_modules` (used by `runcmd`) may be empty or misconfigured. **4. Prepare VPC with subnet and security group** 1. Create a new VPC and a new subnet in it. Or use the existing VPC and subnet. 2. Create a new security group for the runners in the VPC. - Only the outbound traffic on port 443 should be allowed for pulling jobs from GitHub. - No inbound traffic is required. + Only **outbound** traffic on port TCP/443 is required to pull jobs from GitHub. + No inbound traffic is required for this purpose, but if your workflow needs to access external repositories or internal SSH, other ports like TCP/22, TCP/80, etc ... may be required. **5. Configure the GitHub workflow** @@ -202,23 +232,39 @@ Now you're ready to go! ### Inputs -|               Name               | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `mode` | Always required. | Specify here which mode you want to use:
- `start` - to start a new runner;
- `stop` - to stop the previously created runner. | -| `github-token` | Always required. | GitHub Personal Access Token with the `repo` scope assigned. | -| `ec2-image-id` | Required if you use the `start` mode. | EC2 Image Id (AMI).

The new runners will be launched from this image.

The action is compatible with Amazon Linux 2 images. | -| `ec2-instance-type` | Required if you use the `start` mode. | EC2 Instance Type. | -| `ec2-instance-count` | Number of EC2 instances to create, defaults to 1. | EC2 Instance Count. | -| `subnet-id` | Required if you use the `start` mode. | VPC Subnet Id.

The subnet should belong to the same VPC as the specified security group. | -| `security-group-id` | Required if you use the `start` mode. | EC2 Security Group Id.

The security group should belong to the same VPC as the specified subnet.

Only the outbound traffic for port 443 should be allowed. No inbound traffic is required. | -| `label` | Required if you use the `stop` mode. | Name of the unique label assigned to the runner.

The label is provided by the output of the action in the `start` mode.

The label is used to remove the runner from GitHub when the runner is not needed anymore. | -| `ec2-instance-id` | Required if you use the `stop` mode. | EC2 Instance Id of the created runner.

The id is provided by the output of the action in the `start` mode.

The id is used to terminate the EC2 instance when the runner is not needed anymore. | -| `iam-role-name` | Optional. Used only with the `start` mode. | IAM role name to attach to the created EC2 runner.

This allows the runner to have permissions to run additional actions within the AWS account, without having to manage additional GitHub secrets and AWS users.

Setting this requires additional AWS permissions for the role launching the instance (see above). | -| `aws-resource-tags` | Optional. Used only with the `start` mode. | Specifies tags to add to the EC2 instance and any attached storage.

This field is a stringified JSON array of tag objects, each containing a `Key` and `Value` field (see example below).

Setting this requires additional AWS permissions for the role launching the instance (see above). | -| `runner-home-dir` | Optional. Used only with the `start` mode. | Specifies a directory where pre-installed actions-runner software and scripts are located.

| -| `keep-runner-on-stop` | Optional. Used only with the `stop` mode. | If set to `true`, the EC2 instance will not be terminated (but will still be de-registered as a runner with GitHub) when the job is stopped. It can be useful if you want to keep the runner around for debugging. The default value is `false`. | -| `pre-runner-script` | Optional. Used only with the `start` mode. | Specifies bash commands to run before the runner starts. It's useful for installing dependencies with apt-get, yum, dnf, etc. For example:
          - name: Start EC2 runner
with:
mode: start
...
pre-runner-script: \|
sudo yum update -y && \
sudo yum install docker git libicu -y
sudo systemctl enable docker
| -| `market-type` | Optional. Used only with the `start` mode. | The only valid option is `spot`. If `spot` is specified, a Spot instance will be requested. If left unspecified, an on-demand instance will be provisioned. | +| Name | Required | Description | +| --- | --- | --- | +| `mode` | Always required. | Specify here which mode you want to use:
- `start` - to start a new runner;
- `stop` - to stop the previously created runner. | +| `github-token` | Always required. | GitHub Personal Access Token with the `repo` scope assigned. | +| `ec2-image-id` | Required if you use the `start` mode and don't provide `availability-zones-config`. | EC2 Image Id (AMI). The new runner will be launched from this image. Compatible with Amazon Linux 2, Amazon Linux 2023, and Ubuntu images. | +| `ec2-instance-type` | Required if you use the `start` mode. | EC2 Instance Type. | +| `ec2-instance-count` | Optional. Used only with the `start` mode. | Number of EC2 instances to create. Default: `1`. When more than one instance is requested, the action emits `ec2-instance-id` as a JSON array. Incompatible with `use-jit: true`. | +| `subnet-id` | Required if you use the `start` mode and don't provide `availability-zones-config`. | VPC Subnet Id. The subnet should belong to the same VPC as the specified security group. | +| `security-group-id` | Required if you use the `start` mode and don't provide `availability-zones-config`. | EC2 Security Group Id. The security group should belong to the same VPC as the specified subnet. Only outbound traffic for port 443 is required. No inbound traffic is required. | +| `label` | Required if you use the `stop` mode. | Name of the unique label assigned to the runner. The label is provided by the output of the action in the `start` mode. | +| `ec2-instance-id` | Required if you use the `stop` mode. | EC2 Instance Id of the created runner. The id is provided by the output of the action in the `start` mode. | +| `availability-zones-config` | Optional. Used only with the `start` mode. | JSON string array of objects for multi-AZ failover. Each object must contain `imageId`, `subnetId`, and `securityGroupId`. Optionally specify `region` per entry (defaults to `AWS_REGION`). When provided, takes precedence over individual `ec2-image-id`, `subnet-id`, and `security-group-id` parameters. See [Multi-AZ failover](#advanced-multi-az-failover). | +| `iam-role-name` | Optional. Used only with the `start` mode. | IAM role name to attach to the created EC2 runner. This allows the runner to have permissions to run additional actions within the AWS account. Requires additional AWS permissions (see above). | +| `key-pair-name` | Optional. Used only with the `start` mode. | Key pair name to attach to created EC2 instances. Useful when you need SSH access to runners for debugging or inspection. | +| `aws-resource-tags` | Optional. Used only with the `start` mode. | Specifies tags to add to the EC2 instance and any attached storage. This field is a stringified JSON array of tag objects, each containing a `Key` and `Value` field. Requires additional AWS permissions (see above). | +| `runner-home-dir` | Optional. Used only with the `start` mode. | Specifies a directory where pre-installed actions-runner software and scripts are located. When set, the action skips downloading the runner and uses the pre-installed version. | +| `pre-runner-script` | Optional. Used only with the `start` mode. | Specifies bash commands to run before the runner starts. Useful for installing dependencies with apt-get, yum, dnf, etc. | +| `market-type` | Optional. Used only with the `start` mode. | Accepts only the value `spot`. If set, the runner will be launched as a Spot instance. If omitted, an on-demand instance is used. | +| `keep-runner-on-stop` | Optional. Used only with the `stop` mode. | When `true`, the action skips EC2 termination but still removes the runner registration from GitHub. Useful for debugging failed jobs. Default: `false`. | +| `block-device-mappings` | Optional. Used only with the `start` mode. | JSON string specifying the block device mappings for the EC2 instance. See [AWS BlockDeviceMapping docs](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html). | +| `metadata-options` | Optional. Used only with the `start` mode. | JSON string specifying the instance metadata options. Example: `'{"HttpTokens": "required", "HttpEndpoint": "enabled", "HttpPutResponseHopLimit": 2}'` | +| `packages` | Optional. Used only with the `start` mode. | JSON array of packages to install during boot via `yum` or `apt-get`. Example: `'["git", "docker.io", "nodejs"]'`. Default: `'[]'` | +| `run-runner-as-service` | Optional. Used only with the `start` mode. | When `true`, starts the runner as a systemd service using `svc.sh` instead of `run.sh`. Default: `false` | +| `run-runner-as-user` | Optional. Used only with the `start` mode. | Specify a user under whom the runner should run. The runner files will be `chown`'d to this user and the runner process will be started via `runuser -u `. | +| `use-jit` | Optional. Used only with the `start` mode. | Enable JIT (Just-In-Time) runner configuration. Uses GitHub's `generate-jitconfig` API instead of the traditional `registration-token` approach. JIT runners are single-use and auto-deregister after completing one job. Incompatible with `run-runner-as-service: true`. Default: `false`. See [JIT runners](#advanced-jit-runners). | +| `runner-group-id` | Optional. Used only with the `start` mode. | The ID of the runner group to register the JIT runner in. Defaults to `1` (the "Default" runner group). Only used when `use-jit` is `true`. | +| `runner-debug` | Optional. Used only with the `start` mode. | Enable verbose debug logging for the runner setup. When `true`, the action logs detailed instance info, step-by-step script execution, and polls the EC2 serial console output during startup. Requires the `ec2:GetConsoleOutput` IAM permission (see above). Default: `false`. See [Debug mode](#advanced-debug-mode). | +| `startup-quiet-period-seconds` | Optional. | Quiet period in seconds before checking for runner registration. Default: `30` | +| `startup-retry-interval-seconds` | Optional. | Retry interval in seconds for checking runner registration. Default: `10` | +| `startup-timeout-minutes` | Optional. | Timeout in minutes for runner registration. Default: `5` | +| `ec2-volume-size` | Optional. | EC2 volume size in GB. Uses the AWS/AMI default if not provided. | +| `ec2-device-name` | Optional. | EC2 block device name. Default: `/dev/sda1` | +| `ec2-volume-type` | Optional. | EC2 block device type (e.g. `gp3`, `gp2`, `io1`). | ### Environment variables @@ -236,7 +282,9 @@ We recommend using [aws-actions/configure-aws-credentials](https://github.com/aw |               Name               | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `label` | Name of the unique label assigned to the runner.

The label is used in two cases:
- to use as the input of `runs-on` property for the following jobs;
- to remove the runner from GitHub when it is not needed anymore. | -| `ec2-instance-id` | EC2 Instance Id of the created runner.

The id is used to terminate the EC2 instance when the runner is not needed anymore. | +| `ec2-instance-id` | EC2 Instance Id of the created runner.

When multiple runners are launched, this output contains a JSON array of instance ids. The id or ids are used to terminate the EC2 instances when the runners are not needed anymore. | +| `region` | AWS region where the EC2 instance was created.

This is useful for subsequent AWS operations on the instance. | + ### Example @@ -275,6 +323,10 @@ jobs: {"Key": "Name", "Value": "ec2-github-runner"}, {"Key": "GitHubRepository", "Value": "${{ github.repository }}"} ] + block-device-mappings: > # optional, to customize EBS volumes + [ + {"DeviceName": "/dev/sda1", "Ebs": {"VolumeSize": 100, "VolumeType": "gp3"}} + ] do-the-job: name: Do the job on the runner needs: start-runner # required to start the main job when the runner is ready @@ -291,7 +343,7 @@ jobs: if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs steps: - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -305,6 +357,94 @@ jobs: ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }} ``` +### Advanced: JIT runners + +JIT (Just-In-Time) runners use GitHub's `generate-jitconfig` API to create single-use runners that automatically deregister after completing one job. This eliminates the need for `config.sh` and simplifies cleanup. + +JIT runners skip the traditional registration-token flow entirely. Instead, the encoded JIT config is passed directly to `./run.sh --jitconfig `. The runner self-destructs after the job completes, so `stop` mode only terminates the EC2 instance (no GitHub runner removal needed). + +> **Note:** JIT mode is incompatible with `run-runner-as-service: true` since JIT runners are inherently single-use. + +```yml + - name: Start EC2 runner + id: start-ec2-runner + uses: machulav/ec2-github-runner@v2 + with: + mode: start + github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + ec2-image-id: ami-123 + ec2-instance-type: t3.nano + subnet-id: subnet-123 + security-group-id: sg-123 + use-jit: true + runner-group-id: 1 # optional, defaults to the "Default" runner group +``` + +### Advanced: Multi-AZ failover + +The `availability-zones-config` input allows you to specify multiple availability zone configurations. The action will try each one in sequence until an instance is successfully launched. This is useful for handling capacity issues or spot instance unavailability in a specific AZ. + +Each configuration object requires `imageId`, `subnetId`, and `securityGroupId`. You can optionally specify a `region` per entry; if omitted, the `AWS_REGION` environment variable is used. + +```yml + - name: Start EC2 runner + id: start-ec2-runner + uses: machulav/ec2-github-runner@v2 + with: + mode: start + github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + ec2-instance-type: t3.nano + market-type: spot + availability-zones-config: > + [ + {"imageId": "ami-123", "subnetId": "subnet-aaa", "securityGroupId": "sg-111"}, + {"imageId": "ami-456", "subnetId": "subnet-bbb", "securityGroupId": "sg-222", "region": "us-west-2"}, + {"imageId": "ami-789", "subnetId": "subnet-ccc", "securityGroupId": "sg-333", "region": "eu-west-1"} + ] +``` + +### Advanced: Debug mode + +When a runner fails to register, it can be difficult to diagnose the issue because user-data scripts execute on the remote EC2 instance. The `runner-debug` input enables verbose logging to help with troubleshooting. + +When `runner-debug: true` is set, the action will: + +1. **Inject detailed echo statements** into the setup script on the instance — logging each step (architecture detection, runner download, config.sh execution, etc.) +2. **Poll the EC2 serial console output** during the registration wait loop, streaming new output to the GitHub Actions log as it appears +3. **Log the full user-data script** content so you can see exactly what was sent to the instance + +This requires the `ec2:GetConsoleOutput` IAM permission. Add the following to your IAM policy: + +```json +{ + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Action": "ec2:GetConsoleOutput", + "Resource": "*" + } + ] +} +``` + +> **Note:** EC2 serial console output takes 2-5 minutes to become available after instance launch and may not capture all output from user-data scripts. For full script logs, SSH into the instance and check `/tmp/runner-setup.log`. + +```yml + - name: Start EC2 runner + id: start-ec2-runner + uses: machulav/ec2-github-runner@v2 + with: + mode: start + github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + ec2-image-id: ami-123 + ec2-instance-type: t3.nano + subnet-id: subnet-123 + security-group-id: sg-123 + runner-debug: true + startup-timeout-minutes: 10 # increase timeout when debugging +``` + ### Real user examples In [this discussion](https://github.com/machulav/ec2-github-runner/discussions/19), you can find feedback and examples from the users of the action. diff --git a/action.yml b/action.yml index 87cdf235..0ea1a90b 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ -name: On-demand self-hosted AWS EC2 runners for GitHub Actions -description: GitHub Action for automatic creation and registration AWS EC2 instances as GitHub Actions self-hosted runners. +name: On-demand self-hosted AWS EC2 runner for GitHub Actions +description: GitHub Action for automatic creation and registration AWS EC2 instance as a GitHub Actions self-hosted runner. author: Volodymyr Machula branding: icon: 'box' @@ -8,8 +8,8 @@ inputs: mode: description: >- Specify here which mode you want to use: - - 'start' - to start new runners; - - 'stop' - to stop the previously created runners. + - 'start' - to start a new runner; + - 'stop' - to stop the previously created runner. required: true github-token: description: >- @@ -18,12 +18,22 @@ inputs: key-pair-name: description: >- Key pair name to use when creating the runner instances. - This input is required if you use the 'start' mode. + Optional, but useful when you need SSH access for debugging. + required: false + availability-zones-config: + description: >- + JSON string array of objects with configurations for multiple availability zones. + Each object should contain 'imageId', 'subnetId', and 'securityGroupId'. + Optionally, you can specify 'region' to launch the instance in a specific AWS region. + If 'region' is not specified, the default AWS_REGION environment variable will be used. + Example: '[{"imageId":"ami-123","subnetId":"subnet-123","securityGroupId":"sg-123"},{"imageId":"ami-456","subnetId":"subnet-456","securityGroupId":"sg-456","region":"us-west-2"}]' + When provided, the action will try each configuration in sequence until a successful instance is launched. + This takes precedence over individual ec2-image-id, subnet-id, and security-group-id parameters. required: false ec2-image-id: description: >- - EC2 Image Id (AMI). The new runners will be launched from this image. - This input is required if you use the 'start' mode. + EC2 Image Id (AMI). The new runner will be launched from this image. + This input is required if you use the 'start' mode and don't provide availability-zones-config. required: false ec2-instance-type: description: >- @@ -32,44 +42,42 @@ inputs: required: false ec2-instance-count: description: >- - Number of EC2 instances to create. + Number of EC2 instances to create. Defaults to 1. + Incompatible with 'use-jit: true'. required: false - default: 1 + default: '1' subnet-id: description: >- VPC Subnet Id. The subnet should belong to the same VPC as the specified security group. - This input is required if you use the 'start' mode. + This input is required if you use the 'start' mode and don't provide availability-zones-config. required: false security-group-id: description: >- EC2 Security Group Id. The security group should belong to the same VPC as the specified subnet. - The runners don't require any inbound traffic. However, outbound traffic should be allowed. - This input is required if you use the 'start' mode. + The runner doesn't require any inbound traffic. However, outbound traffic should be allowed. + This input is required if you use the 'start' mode and don't provide availability-zones-config. required: false label: description: >- - Name of the unique label assigned to the runners. - The label is used to remove the runners from GitHub when the runners are not needed anymore. + Name of the unique label assigned to the runner. + The label is used to remove the runner from GitHub when the runner is not needed anymore. This input is required if you use the 'stop' mode. required: false - # This input's name is in the singular form for backwards compatibility ec2-instance-id: description: >- - EC2 Instance Ids of the created runners. - The ids are used to terminate the EC2 instances when the runners are not needed anymore. - This input is required if you use the 'stop' mode. The value can either be in the form of - a single raw string containing a single EC2 instance id, or a JSON-encoded string representing - an array of id strings. + EC2 Instance Id of the created runner. + The id is used to terminate the EC2 instance when the runner is not needed anymore. + This input is required if you use the 'stop' mode. required: false iam-role-name: description: >- - IAM Role Name to attach to the created EC2 instances. + IAM Role Name to attach to the created EC2 instance. This requires additional permissions on the AWS role used to launch instances. required: false aws-resource-tags: description: >- - Tags to attach to the launched EC2 instances and volumes. + Tags to attach to the launched EC2 instance and volume. This must be a stringified array of AWS Tag objects, with both Key and Value fields, for example: '[{"Key": "TagKey1", "Value": "TagValue1"}, {"Key": "TagKey2", "Value": "TagValue2"}]' required: false @@ -89,22 +97,98 @@ inputs: required: false keep-runner-on-stop: description: >- - If true, keep the runner alive (running) on stop, but still de-register it from GitHub. Useful for debugging failed jobs. Default false. + If true, keep the EC2 instance running on stop, but still de-register it from GitHub. + Useful for debugging failed jobs. + required: false + default: 'false' + block-device-mappings: + description: >- + JSON string specifying the block device mappings for the EC2 instance. + Example: '[{"DeviceName": "/dev/sda1", "Ebs": {"VolumeSize": 100, "VolumeType": "gp3"}}]' + required: false + startup-quiet-period-seconds: + description: >- + Specifies the quiet period in seconds after the instance starts. + The runner will not be registered during this period. + required: false + startup-retry-interval-seconds: + description: >- + Specifies the retry interval in seconds to register the runner after the quiet period. + required: false + startup-timeout-minutes: + description: >- + Specifies the timeout in minutes to register the runner after the quiet period. + required: false + default: '5' + run-runner-as-service: + description: >- + Start the runner as a service rather than using ./run.sh as root. + required: false + default: 'false' + run-runner-as-user: + description: >- + Specify user under whom the runner service should run required: false - default: "false" - + ec2-volume-size: + description: >- + EC2 volume size in GB. + required: false + ec2-device-name: + description: >- + EC2 block device name. + default: /dev/sda1 + required: false + ec2-volume-type: + description: >- + EC2 block device type. + required: false + metadata-options: + description: >- + JSON string specifying the metadata options for the EC2 instance. + Example: '{"HttpTokens": "required", "HttpEndpoint": "enabled", "HttpPutResponseHopLimit": 2, "InstanceMetadataTags": "enabled"}' + packages: + description: >- + JSON array of packages to install via cloud-init. + Example: '["git", "docker.io", "nodejs"]' + required: false + default: '[]' + use-jit: + description: >- + Enable JIT (Just-In-Time) runner configuration. Uses GitHub's + generate-jitconfig API instead of the traditional registration-token approach. + JIT runners are single-use and auto-deregister after completing one job. + Incompatible with 'run-runner-as-service: true'. + required: false + default: 'false' + runner-group-id: + description: >- + The ID of the runner group to register the JIT runner in. + Defaults to 1, which is the "Default" runner group for repository-level runners. + Only used when 'use-jit' is true. + required: false + default: '1' + runner-debug: + description: >- + Enable verbose debug logging for the runner setup. + When true, outputs detailed instance info, console output polling, + and step-by-step script execution logs. + required: false + default: 'false' outputs: label: description: >- - Name of the unique label assigned to the runners. + Name of the unique label assigned to the runner. The label is used in two cases: - to use as the input of 'runs-on' property for the following jobs; - - to remove the runners from GitHub when they are not needed anymore. - # This output's name is in the singular form for backwards compatibility + - to remove the runner from GitHub when it is not needed anymore. ec2-instance-id: description: >- - EC2 Instance Ids of the created runners. - The ids are used to terminate the EC2 instances when the runners are not needed anymore. + EC2 Instance Id of the created runner, or a JSON array of instance ids when multiple runners are launched. + The id or ids are used to terminate the EC2 instances when the runners are not needed anymore. + region: + description: >- + AWS region where the EC2 instance was created. + This is useful for subsequent AWS operations on the instance. runs: - using: node20 + using: node24 main: ./dist/index.js diff --git a/dist/203.index.js b/dist/203.index.js new file mode 100644 index 00000000..102f5855 --- /dev/null +++ b/dist/203.index.js @@ -0,0 +1,531 @@ +"use strict"; +exports.id = 203; +exports.ids = [203]; +exports.modules = { + +/***/ 4203: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var sharedIniFileLoader = __webpack_require__(3507); +var propertyProvider = __webpack_require__(9721); +var client = __webpack_require__(2825); +var credentialProviderLogin = __webpack_require__(5824); + +const resolveCredentialSource = (credentialSource, profileName, logger) => { + const sourceProvidersMap = { + EcsContainer: async (options) => { + const { fromHttp } = await __webpack_require__.e(/* import() */ 290).then(__webpack_require__.bind(__webpack_require__, 7290)); + const { fromContainerMetadata } = await __webpack_require__.e(/* import() */ 477).then(__webpack_require__.t.bind(__webpack_require__, 7477, 19)); + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"); + return async () => propertyProvider.chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider); + }, + Ec2InstanceMetadata: async (options) => { + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata"); + const { fromInstanceMetadata } = await __webpack_require__.e(/* import() */ 477).then(__webpack_require__.t.bind(__webpack_require__, 7477, 19)); + return async () => fromInstanceMetadata(options)().then(setNamedProvider); + }, + Environment: async (options) => { + logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment"); + const { fromEnv } = await Promise.resolve(/* import() */).then(__webpack_require__.t.bind(__webpack_require__, 5972, 19)); + return async () => fromEnv(options)().then(setNamedProvider); + }, + }; + if (credentialSource in sourceProvidersMap) { + return sourceProvidersMap[credentialSource]; + } + else { + throw new propertyProvider.CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, ` + + `expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger }); + } +}; +const setNamedProvider = (creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p"); + +const isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => { + return (Boolean(arg) && + typeof arg === "object" && + typeof arg.role_arn === "string" && + ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && + ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && + ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && + (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }))); +}; +const isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => { + const withSourceProfile = typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined"; + if (withSourceProfile) { + logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`); + } + return withSourceProfile; +}; +const isCredentialSourceProfile = (arg, { profile, logger }) => { + const withProviderProfile = typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined"; + if (withProviderProfile) { + logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`); + } + return withProviderProfile; +}; +const resolveAssumeRoleCredentials = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, resolveProfileData) => { + options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)"); + const profileData = profiles[profileName]; + const { source_profile, region } = profileData; + if (!options.roleAssumer) { + const { getDefaultRoleAssumer } = await __webpack_require__.e(/* import() */ 273).then(__webpack_require__.t.bind(__webpack_require__, 2273, 23)); + options.roleAssumer = getDefaultRoleAssumer({ + ...options.clientConfig, + credentialProviderLogger: options.logger, + parentClientConfig: { + ...callerClientConfig, + ...options?.parentClientConfig, + region: region ?? options?.parentClientConfig?.region ?? callerClientConfig?.region, + }, + }, options.clientPlugins); + } + if (source_profile && source_profile in visitedProfiles) { + throw new propertyProvider.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` + + ` ${sharedIniFileLoader.getProfileName(options)}. Profiles visited: ` + + Object.keys(visitedProfiles).join(", "), { logger: options.logger }); + } + options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`); + const sourceCredsProvider = source_profile + ? resolveProfileData(source_profile, profiles, options, callerClientConfig, { + ...visitedProfiles, + [source_profile]: true, + }, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})) + : (await resolveCredentialSource(profileData.credential_source, profileName, options.logger)(options))(); + if (isCredentialSourceWithoutRoleArn(profileData)) { + return sourceCredsProvider.then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o")); + } + else { + const params = { + RoleArn: profileData.role_arn, + RoleSessionName: profileData.role_session_name || `aws-sdk-js-${Date.now()}`, + ExternalId: profileData.external_id, + DurationSeconds: parseInt(profileData.duration_seconds || "3600", 10), + }; + const { mfa_serial } = profileData; + if (mfa_serial) { + if (!options.mfaCodeProvider) { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false }); + } + params.SerialNumber = mfa_serial; + params.TokenCode = await options.mfaCodeProvider(mfa_serial); + } + const sourceCreds = await sourceCredsProvider; + return options.roleAssumer(sourceCreds, params).then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o")); + } +}; +const isCredentialSourceWithoutRoleArn = (section) => { + return !section.role_arn && !!section.credential_source; +}; + +const isLoginProfile = (data) => { + return Boolean(data && data.login_session); +}; +const resolveLoginCredentials = async (profileName, options, callerClientConfig) => { + const credentials = await credentialProviderLogin.fromLoginCredentials({ + ...options, + profile: profileName, + })({ callerClientConfig }); + return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC"); +}; + +const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string"; +const resolveProcessCredentials = async (options, profile) => __webpack_require__.e(/* import() */ 969).then(__webpack_require__.t.bind(__webpack_require__, 9969, 19)).then(({ fromProcess }) => fromProcess({ + ...options, + profile, +})().then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v"))); + +const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => { + const { fromSSO } = await __webpack_require__.e(/* import() */ 414).then(__webpack_require__.t.bind(__webpack_require__, 6414, 19)); + return fromSSO({ + profile, + logger: options.logger, + parentClientConfig: options.parentClientConfig, + clientConfig: options.clientConfig, + })({ + callerClientConfig, + }).then((creds) => { + if (profileData.sso_session) { + return client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO", "r"); + } + else { + return client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO_LEGACY", "t"); + } + }); +}; +const isSsoProfile = (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"); + +const isStaticCredsProfile = (arg) => Boolean(arg) && + typeof arg === "object" && + typeof arg.aws_access_key_id === "string" && + typeof arg.aws_secret_access_key === "string" && + ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && + ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1; +const resolveStaticCredentials = async (profile, options) => { + options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials"); + const credentials = { + accessKeyId: profile.aws_access_key_id, + secretAccessKey: profile.aws_secret_access_key, + sessionToken: profile.aws_session_token, + ...(profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope }), + ...(profile.aws_account_id && { accountId: profile.aws_account_id }), + }; + return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE", "n"); +}; + +const isWebIdentityProfile = (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; +const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => Promise.all(/* import() */[__webpack_require__.e(273), __webpack_require__.e(646)]).then(__webpack_require__.t.bind(__webpack_require__, 5646, 23)).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, +})({ + callerClientConfig, +}).then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q"))); + +const resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => { + const data = profiles[profileName]; + if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) { + return resolveStaticCredentials(data, options); + } + if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) { + return resolveAssumeRoleCredentials(profileName, profiles, options, callerClientConfig, visitedProfiles, resolveProfileData); + } + if (isStaticCredsProfile(data)) { + return resolveStaticCredentials(data, options); + } + if (isWebIdentityProfile(data)) { + return resolveWebIdentityCredentials(data, options, callerClientConfig); + } + if (isProcessProfile(data)) { + return resolveProcessCredentials(options, profileName); + } + if (isSsoProfile(data)) { + return await resolveSsoCredentials(profileName, data, options, callerClientConfig); + } + if (isLoginProfile(data)) { + return resolveLoginCredentials(profileName, options, callerClientConfig); + } + throw new propertyProvider.CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger }); +}; + +const fromIni = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni"); + const profiles = await sharedIniFileLoader.parseKnownFiles(init); + return resolveProfileData(sharedIniFileLoader.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }), profiles, init, callerClientConfig); +}; + +exports.fromIni = fromIni; + + +/***/ }), + +/***/ 5824: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var client = __webpack_require__(2825); +var propertyProvider = __webpack_require__(9721); +var sharedIniFileLoader = __webpack_require__(3507); +var protocolHttp = __webpack_require__(4418); +var node_crypto = __webpack_require__(6005); +var node_fs = __webpack_require__(7561); +var node_os = __webpack_require__(612); +var node_path = __webpack_require__(9411); + +class LoginCredentialsFetcher { + profileData; + init; + callerClientConfig; + static REFRESH_THRESHOLD = 5 * 60 * 1000; + constructor(profileData, init, callerClientConfig) { + this.profileData = profileData; + this.init = init; + this.callerClientConfig = callerClientConfig; + } + async loadCredentials() { + const token = await this.loadToken(); + if (!token) { + throw new propertyProvider.CredentialsProviderError(`Failed to load a token for session ${this.loginSession}, please re-authenticate using aws login`, { tryNextLink: false, logger: this.logger }); + } + const accessToken = token.accessToken; + const now = Date.now(); + const expiryTime = new Date(accessToken.expiresAt).getTime(); + const timeUntilExpiry = expiryTime - now; + if (timeUntilExpiry <= LoginCredentialsFetcher.REFRESH_THRESHOLD) { + return this.refresh(token); + } + return { + accessKeyId: accessToken.accessKeyId, + secretAccessKey: accessToken.secretAccessKey, + sessionToken: accessToken.sessionToken, + accountId: accessToken.accountId, + expiration: new Date(accessToken.expiresAt), + }; + } + get logger() { + return this.init?.logger; + } + get loginSession() { + return this.profileData.login_session; + } + async refresh(token) { + const { SigninClient, CreateOAuth2TokenCommand } = await __webpack_require__.e(/* import() */ 747).then(__webpack_require__.t.bind(__webpack_require__, 3747, 23)); + const { logger, userAgentAppId } = this.callerClientConfig ?? {}; + const isH2 = (requestHandler) => { + return requestHandler?.metadata?.handlerProtocol === "h2"; + }; + const requestHandler = isH2(this.callerClientConfig?.requestHandler) + ? undefined + : this.callerClientConfig?.requestHandler; + const region = this.profileData.region ?? (await this.callerClientConfig?.region?.()) ?? process.env.AWS_REGION; + const client = new SigninClient({ + credentials: { + accessKeyId: "", + secretAccessKey: "", + }, + region, + requestHandler, + logger, + userAgentAppId, + ...this.init?.clientConfig, + }); + this.createDPoPInterceptor(client.middlewareStack); + const commandInput = { + tokenInput: { + clientId: token.clientId, + refreshToken: token.refreshToken, + grantType: "refresh_token", + }, + }; + try { + const response = await client.send(new CreateOAuth2TokenCommand(commandInput)); + const { accessKeyId, secretAccessKey, sessionToken } = response.tokenOutput?.accessToken ?? {}; + const { refreshToken, expiresIn } = response.tokenOutput ?? {}; + if (!accessKeyId || !secretAccessKey || !sessionToken || !refreshToken) { + throw new propertyProvider.CredentialsProviderError("Token refresh response missing required fields", { + logger: this.logger, + tryNextLink: false, + }); + } + const expiresInMs = (expiresIn ?? 900) * 1000; + const expiration = new Date(Date.now() + expiresInMs); + const updatedToken = { + ...token, + accessToken: { + ...token.accessToken, + accessKeyId: accessKeyId, + secretAccessKey: secretAccessKey, + sessionToken: sessionToken, + expiresAt: expiration.toISOString(), + }, + refreshToken: refreshToken, + }; + await this.saveToken(updatedToken); + const newAccessToken = updatedToken.accessToken; + return { + accessKeyId: newAccessToken.accessKeyId, + secretAccessKey: newAccessToken.secretAccessKey, + sessionToken: newAccessToken.sessionToken, + accountId: newAccessToken.accountId, + expiration, + }; + } + catch (error) { + if (error.name === "AccessDeniedException") { + const errorType = error.error; + let message; + switch (errorType) { + case "TOKEN_EXPIRED": + message = "Your session has expired. Please reauthenticate."; + break; + case "USER_CREDENTIALS_CHANGED": + message = + "Unable to refresh credentials because of a change in your password. Please reauthenticate with your new password."; + break; + case "INSUFFICIENT_PERMISSIONS": + message = + "Unable to refresh credentials due to insufficient permissions. You may be missing permission for the 'CreateOAuth2Token' action."; + break; + default: + message = `Failed to refresh token: ${String(error)}. Please re-authenticate using \`aws login\``; + } + throw new propertyProvider.CredentialsProviderError(message, { logger: this.logger, tryNextLink: false }); + } + throw new propertyProvider.CredentialsProviderError(`Failed to refresh token: ${String(error)}. Please re-authenticate using aws login`, { logger: this.logger }); + } + } + async loadToken() { + const tokenFilePath = this.getTokenFilePath(); + try { + let tokenData; + try { + tokenData = await sharedIniFileLoader.readFile(tokenFilePath, { ignoreCache: this.init?.ignoreCache }); + } + catch { + tokenData = await node_fs.promises.readFile(tokenFilePath, "utf8"); + } + const token = JSON.parse(tokenData); + const missingFields = ["accessToken", "clientId", "refreshToken", "dpopKey"].filter((k) => !token[k]); + if (!token.accessToken?.accountId) { + missingFields.push("accountId"); + } + if (missingFields.length > 0) { + throw new propertyProvider.CredentialsProviderError(`Token validation failed, missing fields: ${missingFields.join(", ")}`, { + logger: this.logger, + tryNextLink: false, + }); + } + return token; + } + catch (error) { + throw new propertyProvider.CredentialsProviderError(`Failed to load token from ${tokenFilePath}: ${String(error)}`, { + logger: this.logger, + tryNextLink: false, + }); + } + } + async saveToken(token) { + const tokenFilePath = this.getTokenFilePath(); + const directory = node_path.dirname(tokenFilePath); + try { + await node_fs.promises.mkdir(directory, { recursive: true }); + } + catch (error) { + } + await node_fs.promises.writeFile(tokenFilePath, JSON.stringify(token, null, 2), "utf8"); + } + getTokenFilePath() { + const directory = process.env.AWS_LOGIN_CACHE_DIRECTORY ?? node_path.join(node_os.homedir(), ".aws", "login", "cache"); + const loginSessionBytes = Buffer.from(this.loginSession, "utf8"); + const loginSessionSha256 = node_crypto.createHash("sha256").update(loginSessionBytes).digest("hex"); + return node_path.join(directory, `${loginSessionSha256}.json`); + } + derToRawSignature(derSignature) { + let offset = 2; + if (derSignature[offset] !== 0x02) { + throw new Error("Invalid DER signature"); + } + offset++; + const rLength = derSignature[offset++]; + let r = derSignature.subarray(offset, offset + rLength); + offset += rLength; + if (derSignature[offset] !== 0x02) { + throw new Error("Invalid DER signature"); + } + offset++; + const sLength = derSignature[offset++]; + let s = derSignature.subarray(offset, offset + sLength); + r = r[0] === 0x00 ? r.subarray(1) : r; + s = s[0] === 0x00 ? s.subarray(1) : s; + const rPadded = Buffer.concat([Buffer.alloc(32 - r.length), r]); + const sPadded = Buffer.concat([Buffer.alloc(32 - s.length), s]); + return Buffer.concat([rPadded, sPadded]); + } + createDPoPInterceptor(middlewareStack) { + middlewareStack.add((next) => async (args) => { + if (protocolHttp.HttpRequest.isInstance(args.request)) { + const request = args.request; + const actualEndpoint = `${request.protocol}//${request.hostname}${request.port ? `:${request.port}` : ""}${request.path}`; + const dpop = await this.generateDpop(request.method, actualEndpoint); + request.headers = { + ...request.headers, + DPoP: dpop, + }; + } + return next(args); + }, { + step: "finalizeRequest", + name: "dpopInterceptor", + override: true, + }); + } + async generateDpop(method = "POST", endpoint) { + const token = await this.loadToken(); + try { + const privateKey = node_crypto.createPrivateKey({ + key: token.dpopKey, + format: "pem", + type: "sec1", + }); + const publicKey = node_crypto.createPublicKey(privateKey); + const publicDer = publicKey.export({ format: "der", type: "spki" }); + let pointStart = -1; + for (let i = 0; i < publicDer.length; i++) { + if (publicDer[i] === 0x04) { + pointStart = i; + break; + } + } + const x = publicDer.slice(pointStart + 1, pointStart + 33); + const y = publicDer.slice(pointStart + 33, pointStart + 65); + const header = { + alg: "ES256", + typ: "dpop+jwt", + jwk: { + kty: "EC", + crv: "P-256", + x: x.toString("base64url"), + y: y.toString("base64url"), + }, + }; + const payload = { + jti: crypto.randomUUID(), + htm: method, + htu: endpoint, + iat: Math.floor(Date.now() / 1000), + }; + const headerB64 = Buffer.from(JSON.stringify(header)).toString("base64url"); + const payloadB64 = Buffer.from(JSON.stringify(payload)).toString("base64url"); + const message = `${headerB64}.${payloadB64}`; + const asn1Signature = node_crypto.sign("sha256", Buffer.from(message), privateKey); + const rawSignature = this.derToRawSignature(asn1Signature); + const signatureB64 = rawSignature.toString("base64url"); + return `${message}.${signatureB64}`; + } + catch (error) { + throw new propertyProvider.CredentialsProviderError(`Failed to generate Dpop proof: ${error instanceof Error ? error.message : String(error)}`, { logger: this.logger, tryNextLink: false }); + } + } +} + +const fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => { + init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials"); + const profiles = await sharedIniFileLoader.parseKnownFiles(init || {}); + const profileName = sharedIniFileLoader.getProfileName({ + profile: init?.profile ?? callerClientConfig?.profile, + }); + const profile = profiles[profileName]; + if (!profile?.login_session) { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} does not contain login_session.`, { + tryNextLink: true, + logger: init?.logger, + }); + } + const fetcher = new LoginCredentialsFetcher(profile, init, callerClientConfig); + const credentials = await fetcher.loadCredentials(); + return client.setCredentialFeature(credentials, "CREDENTIALS_LOGIN", "AD"); +}; + +exports.fromLoginCredentials = fromLoginCredentials; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/dist/273.index.js b/dist/273.index.js new file mode 100644 index 00000000..ccbe14c8 --- /dev/null +++ b/dist/273.index.js @@ -0,0 +1,1081 @@ +"use strict"; +exports.id = 273; +exports.ids = [273]; +exports.modules = { + +/***/ 8974: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.STSClient = exports.__Client = void 0; +const middleware_host_header_1 = __webpack_require__(2545); +const middleware_logger_1 = __webpack_require__(14); +const middleware_recursion_detection_1 = __webpack_require__(5525); +const middleware_user_agent_1 = __webpack_require__(4688); +const config_resolver_1 = __webpack_require__(3098); +const core_1 = __webpack_require__(5829); +const schema_1 = __webpack_require__(9826); +const middleware_content_length_1 = __webpack_require__(2800); +const middleware_endpoint_1 = __webpack_require__(2918); +const middleware_retry_1 = __webpack_require__(6039); +const smithy_client_1 = __webpack_require__(3570); +Object.defineProperty(exports, "__Client", ({ enumerable: true, get: function () { return smithy_client_1.Client; } })); +const httpAuthSchemeProvider_1 = __webpack_require__(8013); +const EndpointParameters_1 = __webpack_require__(1765); +const runtimeConfig_1 = __webpack_require__(1798); +const runtimeExtensions_1 = __webpack_require__(669); +class STSClient extends smithy_client_1.Client { + config; + constructor(...[configuration]) { + const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0); + const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1); + const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2); + const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3); + const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); + const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5); + const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6); + const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config)); + this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); + this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config)); + this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config)); + this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config)); + this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config)); + this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config)); + this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config)); + } + destroy() { + super.destroy(); + } +} +exports.STSClient = STSClient; + + +/***/ }), + +/***/ 4935: +/***/ ((__unused_webpack_module, exports) => { + + +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; + + +/***/ }), + +/***/ 8013: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0; +const httpAuthSchemes_1 = __webpack_require__(7862); +const util_middleware_1 = __webpack_require__(2390); +const STSClient_1 = __webpack_require__(8974); +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 "AssumeRoleWithWebIdentity": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider; +const resolveStsAuthConfig = (input) => Object.assign(input, { + stsClientCtor: STSClient_1.STSClient, +}); +exports.resolveStsAuthConfig = resolveStsAuthConfig; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, exports.resolveStsAuthConfig)(config); + const config_1 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config_0); + return Object.assign(config_1, { + authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), + }); +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; + + +/***/ }), + +/***/ 1765: +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.commonParams = exports.resolveClientEndpointParameters = void 0; +const resolveClientEndpointParameters = (options) => { + return Object.assign(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" }, +}; + + +/***/ }), + +/***/ 4611: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.defaultEndpointResolver = void 0; +const util_endpoints_1 = __webpack_require__(3350); +const util_endpoints_2 = __webpack_require__(5473); +const ruleset_1 = __webpack_require__(9127); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; + + +/***/ }), + +/***/ 9127: +/***/ ((__unused_webpack_module, exports) => { + + +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; + + +/***/ }), + +/***/ 2273: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var STSClient = __webpack_require__(8974); +var smithyClient = __webpack_require__(3570); +var middlewareEndpoint = __webpack_require__(2918); +var EndpointParameters = __webpack_require__(1765); +var schemas_0 = __webpack_require__(5210); +var errors = __webpack_require__(1921); +var client = __webpack_require__(2825); +var regionConfigResolver = __webpack_require__(8156); +var STSServiceException = __webpack_require__(3683); + +class AssumeRoleCommand extends smithyClient.Command + .classBuilder() + .ep(EndpointParameters.commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}) + .n("STSClient", "AssumeRoleCommand") + .sc(schemas_0.AssumeRole$) + .build() { +} + +class AssumeRoleWithWebIdentityCommand extends smithyClient.Command + .classBuilder() + .ep(EndpointParameters.commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}) + .n("STSClient", "AssumeRoleWithWebIdentityCommand") + .sc(schemas_0.AssumeRoleWithWebIdentity$) + .build() { +} + +const commands = { + AssumeRoleCommand, + AssumeRoleWithWebIdentityCommand, +}; +class STS extends STSClient.STSClient { +} +smithyClient.createAggregatedClient(commands, STS); + +const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => { + if (typeof assumedRoleUser?.Arn === "string") { + const arnComponents = assumedRoleUser.Arn.split(":"); + if (arnComponents.length > 4 && arnComponents[4] !== "") { + return arnComponents[4]; + } + } + return undefined; +}; +const resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => { + const region = typeof _region === "function" ? await _region() : _region; + const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion; + let stsDefaultRegion = ""; + const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await regionConfigResolver.stsRegionDefaultResolver(loaderConfig)()); + credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`); + return resolvedRegion; +}; +const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => { + let stsClient; + let closureSourceCreds; + return async (sourceCreds, params) => { + closureSourceCreds = sourceCreds; + if (!stsClient) { + const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions; + const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, { + logger, + profile, + }); + const isCompatibleRequestHandler = !isH2(requestHandler); + stsClient = new STSClient({ + ...stsOptions, + userAgentAppId, + profile, + credentialDefaultProvider: () => async () => closureSourceCreds, + region: resolvedRegion, + requestHandler: isCompatibleRequestHandler ? requestHandler : undefined, + logger: logger, + }); + } + const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleCommand(params)); + if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`); + } + const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser); + const credentials = { + accessKeyId: Credentials.AccessKeyId, + secretAccessKey: Credentials.SecretAccessKey, + sessionToken: Credentials.SessionToken, + expiration: Credentials.Expiration, + ...(Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope }), + ...(accountId && { accountId }), + }; + client.setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE", "i"); + return credentials; + }; +}; +const getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient) => { + let stsClient; + return async (params) => { + if (!stsClient) { + const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId, } = stsOptions; + const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, { + logger, + profile, + }); + const isCompatibleRequestHandler = !isH2(requestHandler); + stsClient = new STSClient({ + ...stsOptions, + userAgentAppId, + profile, + region: resolvedRegion, + requestHandler: isCompatibleRequestHandler ? requestHandler : undefined, + logger: logger, + }); + } + const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params)); + if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`); + } + const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser); + const credentials = { + accessKeyId: Credentials.AccessKeyId, + secretAccessKey: Credentials.SecretAccessKey, + sessionToken: Credentials.SessionToken, + expiration: Credentials.Expiration, + ...(Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope }), + ...(accountId && { accountId }), + }; + if (accountId) { + client.setCredentialFeature(credentials, "RESOLVED_ACCOUNT_ID", "T"); + } + client.setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID", "k"); + return credentials; + }; +}; +const isH2 = (requestHandler) => { + return requestHandler?.metadata?.handlerProtocol === "h2"; +}; + +const getCustomizableStsClientCtor = (baseCtor, customizations) => { + if (!customizations) + return baseCtor; + else + return class CustomizableSTSClient extends baseCtor { + constructor(config) { + super(config); + for (const customization of customizations) { + this.middlewareStack.use(customization); + } + } + }; +}; +const getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumer$1(stsOptions, getCustomizableStsClientCtor(STSClient.STSClient, stsPlugins)); +const getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity$1(stsOptions, getCustomizableStsClientCtor(STSClient.STSClient, stsPlugins)); +const decorateDefaultCredentialProvider = (provider) => (input) => provider({ + roleAssumer: getDefaultRoleAssumer(input), + roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input), + ...input, +}); + +exports.$Command = smithyClient.Command; +exports.STSServiceException = STSServiceException.STSServiceException; +exports.AssumeRoleCommand = AssumeRoleCommand; +exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand; +exports.STS = STS; +exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider; +exports.getDefaultRoleAssumer = getDefaultRoleAssumer; +exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity; +Object.prototype.hasOwnProperty.call(STSClient, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: STSClient['__proto__'] + }); + +Object.keys(STSClient).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = STSClient[k]; +}); +Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: schemas_0['__proto__'] + }); + +Object.keys(schemas_0).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; +}); +Object.prototype.hasOwnProperty.call(errors, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: errors['__proto__'] + }); + +Object.keys(errors).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; +}); + + +/***/ }), + +/***/ 3683: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.STSServiceException = exports.__ServiceException = void 0; +const smithy_client_1 = __webpack_require__(3570); +Object.defineProperty(exports, "__ServiceException", ({ enumerable: true, get: function () { return smithy_client_1.ServiceException; } })); +class STSServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, STSServiceException.prototype); + } +} +exports.STSServiceException = STSServiceException; + + +/***/ }), + +/***/ 1921: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IDPCommunicationErrorException = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = void 0; +const STSServiceException_1 = __webpack_require__(3683); +class ExpiredTokenException extends STSServiceException_1.STSServiceException { + name = "ExpiredTokenException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ExpiredTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ExpiredTokenException.prototype); + } +} +exports.ExpiredTokenException = ExpiredTokenException; +class MalformedPolicyDocumentException extends STSServiceException_1.STSServiceException { + name = "MalformedPolicyDocumentException"; + $fault = "client"; + constructor(opts) { + super({ + name: "MalformedPolicyDocumentException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype); + } +} +exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException; +class PackedPolicyTooLargeException extends STSServiceException_1.STSServiceException { + name = "PackedPolicyTooLargeException"; + $fault = "client"; + constructor(opts) { + super({ + name: "PackedPolicyTooLargeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype); + } +} +exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException; +class RegionDisabledException extends STSServiceException_1.STSServiceException { + name = "RegionDisabledException"; + $fault = "client"; + constructor(opts) { + super({ + name: "RegionDisabledException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, RegionDisabledException.prototype); + } +} +exports.RegionDisabledException = RegionDisabledException; +class IDPRejectedClaimException extends STSServiceException_1.STSServiceException { + name = "IDPRejectedClaimException"; + $fault = "client"; + constructor(opts) { + super({ + name: "IDPRejectedClaimException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, IDPRejectedClaimException.prototype); + } +} +exports.IDPRejectedClaimException = IDPRejectedClaimException; +class InvalidIdentityTokenException extends STSServiceException_1.STSServiceException { + name = "InvalidIdentityTokenException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidIdentityTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype); + } +} +exports.InvalidIdentityTokenException = InvalidIdentityTokenException; +class IDPCommunicationErrorException extends STSServiceException_1.STSServiceException { + name = "IDPCommunicationErrorException"; + $fault = "client"; + constructor(opts) { + super({ + name: "IDPCommunicationErrorException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype); + } +} +exports.IDPCommunicationErrorException = IDPCommunicationErrorException; + + +/***/ }), + +/***/ 1798: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const tslib_1 = __webpack_require__(9679); +const package_json_1 = tslib_1.__importDefault(__webpack_require__(8842)); +const client_1 = __webpack_require__(2825); +const httpAuthSchemes_1 = __webpack_require__(7862); +const util_user_agent_node_1 = __webpack_require__(8095); +const config_resolver_1 = __webpack_require__(3098); +const core_1 = __webpack_require__(5829); +const hash_node_1 = __webpack_require__(3081); +const middleware_retry_1 = __webpack_require__(6039); +const node_config_provider_1 = __webpack_require__(3461); +const node_http_handler_1 = __webpack_require__(258); +const smithy_client_1 = __webpack_require__(3570); +const util_body_length_node_1 = __webpack_require__(8075); +const util_defaults_mode_node_1 = __webpack_require__(2429); +const util_retry_1 = __webpack_require__(4902); +const runtimeConfig_shared_1 = __webpack_require__(5238); +const getRuntimeConfig = (config) => { + (0, smithy_client_1.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, client_1.emitWarningIfUnsupportedVersion)(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || + (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()), + signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_1.NoAuthSigner(), + }, + ], + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + 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, + }, config), + 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, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 5238: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const httpAuthSchemes_1 = __webpack_require__(7862); +const protocols_1 = __webpack_require__(785); +const core_1 = __webpack_require__(5829); +const smithy_client_1 = __webpack_require__(3570); +const url_parser_1 = __webpack_require__(4681); +const util_base64_1 = __webpack_require__(5600); +const util_utf8_1 = __webpack_require__(1895); +const httpAuthSchemeProvider_1 = __webpack_require__(8013); +const endpointResolver_1 = __webpack_require__(4611); +const schemas_0_1 = __webpack_require__(5210); +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 httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_1.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + protocol: config?.protocol ?? protocols_1.AwsQueryProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.sts", + errorTypeRegistries: schemas_0_1.errorTypeRegistries, + xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/", + version: "2011-06-15", + serviceTarget: "AWSSecurityTokenServiceV20110615", + }, + 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; + + +/***/ }), + +/***/ 669: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.resolveRuntimeExtensions = void 0; +const region_config_resolver_1 = __webpack_require__(8156); +const protocol_http_1 = __webpack_require__(4418); +const smithy_client_1 = __webpack_require__(3570); +const httpAuthExtensionConfiguration_1 = __webpack_require__(4935); +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(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; + + +/***/ }), + +/***/ 5210: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AssumeRoleWithWebIdentity$ = exports.AssumeRole$ = exports.Tag$ = exports.ProvidedContext$ = exports.PolicyDescriptorType$ = exports.Credentials$ = exports.AssumeRoleWithWebIdentityResponse$ = exports.AssumeRoleWithWebIdentityRequest$ = exports.AssumeRoleResponse$ = exports.AssumeRoleRequest$ = exports.AssumedRoleUser$ = exports.errorTypeRegistries = exports.RegionDisabledException$ = exports.PackedPolicyTooLargeException$ = exports.MalformedPolicyDocumentException$ = exports.InvalidIdentityTokenException$ = exports.IDPRejectedClaimException$ = exports.IDPCommunicationErrorException$ = exports.ExpiredTokenException$ = exports.STSServiceException$ = void 0; +const _A = "Arn"; +const _AKI = "AccessKeyId"; +const _AR = "AssumeRole"; +const _ARI = "AssumedRoleId"; +const _ARR = "AssumeRoleRequest"; +const _ARRs = "AssumeRoleResponse"; +const _ARU = "AssumedRoleUser"; +const _ARWWI = "AssumeRoleWithWebIdentity"; +const _ARWWIR = "AssumeRoleWithWebIdentityRequest"; +const _ARWWIRs = "AssumeRoleWithWebIdentityResponse"; +const _Au = "Audience"; +const _C = "Credentials"; +const _CA = "ContextAssertion"; +const _DS = "DurationSeconds"; +const _E = "Expiration"; +const _EI = "ExternalId"; +const _ETE = "ExpiredTokenException"; +const _IDPCEE = "IDPCommunicationErrorException"; +const _IDPRCE = "IDPRejectedClaimException"; +const _IITE = "InvalidIdentityTokenException"; +const _K = "Key"; +const _MPDE = "MalformedPolicyDocumentException"; +const _P = "Policy"; +const _PA = "PolicyArns"; +const _PAr = "ProviderArn"; +const _PC = "ProvidedContexts"; +const _PCLT = "ProvidedContextsListType"; +const _PCr = "ProvidedContext"; +const _PDT = "PolicyDescriptorType"; +const _PI = "ProviderId"; +const _PPS = "PackedPolicySize"; +const _PPTLE = "PackedPolicyTooLargeException"; +const _Pr = "Provider"; +const _RA = "RoleArn"; +const _RDE = "RegionDisabledException"; +const _RSN = "RoleSessionName"; +const _SAK = "SecretAccessKey"; +const _SFWIT = "SubjectFromWebIdentityToken"; +const _SI = "SourceIdentity"; +const _SN = "SerialNumber"; +const _ST = "SessionToken"; +const _T = "Tags"; +const _TC = "TokenCode"; +const _TTK = "TransitiveTagKeys"; +const _Ta = "Tag"; +const _V = "Value"; +const _WIT = "WebIdentityToken"; +const _a = "arn"; +const _aKST = "accessKeySecretType"; +const _aQE = "awsQueryError"; +const _c = "client"; +const _cTT = "clientTokenType"; +const _e = "error"; +const _hE = "httpError"; +const _m = "message"; +const _pDLT = "policyDescriptorListType"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts"; +const _tLT = "tagListType"; +const n0 = "com.amazonaws.sts"; +const schema_1 = __webpack_require__(9826); +const errors_1 = __webpack_require__(1921); +const STSServiceException_1 = __webpack_require__(3683); +const _s_registry = schema_1.TypeRegistry.for(_s); +exports.STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []]; +_s_registry.registerError(exports.STSServiceException$, STSServiceException_1.STSServiceException); +const n0_registry = schema_1.TypeRegistry.for(n0); +exports.ExpiredTokenException$ = [ + -3, + n0, + _ETE, + { [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(exports.ExpiredTokenException$, errors_1.ExpiredTokenException); +exports.IDPCommunicationErrorException$ = [ + -3, + n0, + _IDPCEE, + { [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(exports.IDPCommunicationErrorException$, errors_1.IDPCommunicationErrorException); +exports.IDPRejectedClaimException$ = [ + -3, + n0, + _IDPRCE, + { [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 }, + [_m], + [0], +]; +n0_registry.registerError(exports.IDPRejectedClaimException$, errors_1.IDPRejectedClaimException); +exports.InvalidIdentityTokenException$ = [ + -3, + n0, + _IITE, + { [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(exports.InvalidIdentityTokenException$, errors_1.InvalidIdentityTokenException); +exports.MalformedPolicyDocumentException$ = [ + -3, + n0, + _MPDE, + { [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(exports.MalformedPolicyDocumentException$, errors_1.MalformedPolicyDocumentException); +exports.PackedPolicyTooLargeException$ = [ + -3, + n0, + _PPTLE, + { [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 }, + [_m], + [0], +]; +n0_registry.registerError(exports.PackedPolicyTooLargeException$, errors_1.PackedPolicyTooLargeException); +exports.RegionDisabledException$ = [ + -3, + n0, + _RDE, + { [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 }, + [_m], + [0], +]; +n0_registry.registerError(exports.RegionDisabledException$, errors_1.RegionDisabledException); +exports.errorTypeRegistries = [_s_registry, n0_registry]; +var accessKeySecretType = [0, n0, _aKST, 8, 0]; +var clientTokenType = [0, n0, _cTT, 8, 0]; +exports.AssumedRoleUser$ = [3, n0, _ARU, 0, [_ARI, _A], [0, 0], 2]; +exports.AssumeRoleRequest$ = [ + 3, + n0, + _ARR, + 0, + [_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC], + [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType], + 2, +]; +exports.AssumeRoleResponse$ = [ + 3, + n0, + _ARRs, + 0, + [_C, _ARU, _PPS, _SI], + [[() => exports.Credentials$, 0], () => exports.AssumedRoleUser$, 1, 0], +]; +exports.AssumeRoleWithWebIdentityRequest$ = [ + 3, + n0, + _ARWWIR, + 0, + [_RA, _RSN, _WIT, _PI, _PA, _P, _DS], + [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1], + 3, +]; +exports.AssumeRoleWithWebIdentityResponse$ = [ + 3, + n0, + _ARWWIRs, + 0, + [_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI], + [[() => exports.Credentials$, 0], 0, () => exports.AssumedRoleUser$, 1, 0, 0, 0], +]; +exports.Credentials$ = [ + 3, + n0, + _C, + 0, + [_AKI, _SAK, _ST, _E], + [0, [() => accessKeySecretType, 0], 0, 4], + 4, +]; +exports.PolicyDescriptorType$ = [3, n0, _PDT, 0, [_a], [0]]; +exports.ProvidedContext$ = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]]; +exports.Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0], 2]; +var policyDescriptorListType = [1, n0, _pDLT, 0, () => exports.PolicyDescriptorType$]; +var ProvidedContextsListType = [1, n0, _PCLT, 0, () => exports.ProvidedContext$]; +var tagKeyListType = (/* unused pure expression or super */ null && (64 | 0)); +var tagListType = [1, n0, _tLT, 0, () => exports.Tag$]; +exports.AssumeRole$ = [9, n0, _AR, 0, () => exports.AssumeRoleRequest$, () => exports.AssumeRoleResponse$]; +exports.AssumeRoleWithWebIdentity$ = [ + 9, + n0, + _ARWWI, + 0, + () => exports.AssumeRoleWithWebIdentityRequest$, + () => exports.AssumeRoleWithWebIdentityResponse$, +]; + + +/***/ }), + +/***/ 8842: +/***/ ((module) => { + +module.exports = JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.996.19","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=20.0.0"},"sideEffects":false,"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.27","@aws-sdk/middleware-host-header":"^3.972.9","@aws-sdk/middleware-logger":"^3.972.9","@aws-sdk/middleware-recursion-detection":"^3.972.10","@aws-sdk/middleware-user-agent":"^3.972.29","@aws-sdk/region-config-resolver":"^3.972.11","@aws-sdk/types":"^3.973.7","@aws-sdk/util-endpoints":"^3.996.6","@aws-sdk/util-user-agent-browser":"^3.972.9","@aws-sdk/util-user-agent-node":"^3.973.15","@smithy/config-resolver":"^4.4.14","@smithy/core":"^3.23.14","@smithy/fetch-http-handler":"^5.3.16","@smithy/hash-node":"^4.2.13","@smithy/invalid-dependency":"^4.2.13","@smithy/middleware-content-length":"^4.2.13","@smithy/middleware-endpoint":"^4.4.29","@smithy/middleware-retry":"^4.5.0","@smithy/middleware-serde":"^4.2.17","@smithy/middleware-stack":"^4.2.13","@smithy/node-config-provider":"^4.3.13","@smithy/node-http-handler":"^4.5.2","@smithy/protocol-http":"^5.3.13","@smithy/smithy-client":"^4.12.9","@smithy/types":"^4.14.0","@smithy/url-parser":"^4.2.13","@smithy/util-base64":"^4.3.2","@smithy/util-body-length-browser":"^4.2.2","@smithy/util-body-length-node":"^4.2.3","@smithy/util-defaults-mode-browser":"^4.3.45","@smithy/util-defaults-mode-node":"^4.2.49","@smithy/util-endpoints":"^3.3.4","@smithy/util-middleware":"^4.2.13","@smithy/util-retry":"^4.3.0","@smithy/util-utf8":"^4.2.2","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"typesVersions":{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./cognito-identity.d.ts","./cognito-identity.js","./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sso.d.ts","./sso.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/cognito-identity/runtimeConfig":"./dist-es/submodules/cognito-identity/runtimeConfig.browser","./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sso/runtimeConfig":"./dist-es/submodules/sso/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./package.json":"./package.json","./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"},"./signin":{"types":"./dist-types/submodules/signin/index.d.ts","module":"./dist-es/submodules/signin/index.js","node":"./dist-cjs/submodules/signin/index.js","import":"./dist-es/submodules/signin/index.js","require":"./dist-cjs/submodules/signin/index.js"},"./cognito-identity":{"types":"./dist-types/submodules/cognito-identity/index.d.ts","module":"./dist-es/submodules/cognito-identity/index.js","node":"./dist-cjs/submodules/cognito-identity/index.js","import":"./dist-es/submodules/cognito-identity/index.js","require":"./dist-cjs/submodules/cognito-identity/index.js"},"./sso":{"types":"./dist-types/submodules/sso/index.d.ts","module":"./dist-es/submodules/sso/index.js","node":"./dist-cjs/submodules/sso/index.js","import":"./dist-es/submodules/sso/index.js","require":"./dist-cjs/submodules/sso/index.js"}}}'); + +/***/ }) + +}; +; \ No newline at end of file diff --git a/dist/290.index.js b/dist/290.index.js new file mode 100644 index 00000000..2f2e08d5 --- /dev/null +++ b/dist/290.index.js @@ -0,0 +1,233 @@ +"use strict"; +exports.id = 290; +exports.ids = [290]; +exports.modules = { + +/***/ 3757: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.checkUrl = void 0; +const property_provider_1 = __webpack_require__(9721); +const LOOPBACK_CIDR_IPv4 = "127.0.0.0/8"; +const LOOPBACK_CIDR_IPv6 = "::1/128"; +const ECS_CONTAINER_HOST = "169.254.170.2"; +const EKS_CONTAINER_HOST_IPv4 = "169.254.170.23"; +const EKS_CONTAINER_HOST_IPv6 = "[fd00:ec2::23]"; +const checkUrl = (url, logger) => { + if (url.protocol === "https:") { + return; + } + if (url.hostname === ECS_CONTAINER_HOST || + url.hostname === EKS_CONTAINER_HOST_IPv4 || + url.hostname === EKS_CONTAINER_HOST_IPv6) { + return; + } + if (url.hostname.includes("[")) { + if (url.hostname === "[::1]" || url.hostname === "[0000:0000:0000:0000:0000:0000:0000:0001]") { + return; + } + } + else { + if (url.hostname === "localhost") { + return; + } + const ipComponents = url.hostname.split("."); + const inRange = (component) => { + const num = parseInt(component, 10); + return 0 <= num && num <= 255; + }; + if (ipComponents[0] === "127" && + inRange(ipComponents[1]) && + inRange(ipComponents[2]) && + inRange(ipComponents[3]) && + ipComponents.length === 4) { + return; + } + } + throw new property_provider_1.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following: + - loopback CIDR 127.0.0.0/8 or [::1/128] + - ECS container host 169.254.170.2 + - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger }); +}; +exports.checkUrl = checkUrl; + + +/***/ }), + +/***/ 6070: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromHttp = void 0; +const tslib_1 = __webpack_require__(9679); +const client_1 = __webpack_require__(2825); +const node_http_handler_1 = __webpack_require__(258); +const property_provider_1 = __webpack_require__(9721); +const promises_1 = tslib_1.__importDefault(__webpack_require__(3977)); +const checkUrl_1 = __webpack_require__(3757); +const requestHelpers_1 = __webpack_require__(9287); +const retry_wrapper_1 = __webpack_require__(9921); +const AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +const DEFAULT_LINK_LOCAL_HOST = "http://169.254.170.2"; +const AWS_CONTAINER_CREDENTIALS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +const AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = "AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE"; +const AWS_CONTAINER_AUTHORIZATION_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +const fromHttp = (options = {}) => { + options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp"); + let host; + const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI]; + const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI]; + const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN]; + const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE]; + const warn = options.logger?.constructor?.name === "NoOpLogger" || !options.logger?.warn + ? console.warn + : options.logger.warn.bind(options.logger); + if (relative && full) { + warn("@aws-sdk/credential-provider-http: " + + "you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri."); + warn("awsContainerCredentialsFullUri will take precedence."); + } + if (token && tokenFile) { + warn("@aws-sdk/credential-provider-http: " + + "you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile."); + warn("awsContainerAuthorizationToken will take precedence."); + } + if (full) { + host = full; + } + else if (relative) { + host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`; + } + else { + throw new property_provider_1.CredentialsProviderError(`No HTTP credential provider host provided. +Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger }); + } + const url = new URL(host); + (0, checkUrl_1.checkUrl)(url, options.logger); + const requestHandler = node_http_handler_1.NodeHttpHandler.create({ + requestTimeout: options.timeout ?? 1000, + connectionTimeout: options.timeout ?? 1000, + }); + return (0, retry_wrapper_1.retryWrapper)(async () => { + const request = (0, requestHelpers_1.createGetRequest)(url); + if (token) { + request.headers.Authorization = token; + } + else if (tokenFile) { + request.headers.Authorization = (await promises_1.default.readFile(tokenFile)).toString(); + } + try { + const result = await requestHandler.handle(request); + return (0, requestHelpers_1.getCredentials)(result.response).then((creds) => (0, client_1.setCredentialFeature)(creds, "CREDENTIALS_HTTP", "z")); + } + catch (e) { + throw new property_provider_1.CredentialsProviderError(String(e), { logger: options.logger }); + } + }, options.maxRetries ?? 3, options.timeout ?? 1000); +}; +exports.fromHttp = fromHttp; + + +/***/ }), + +/***/ 9287: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.createGetRequest = createGetRequest; +exports.getCredentials = getCredentials; +const property_provider_1 = __webpack_require__(9721); +const protocol_http_1 = __webpack_require__(4418); +const smithy_client_1 = __webpack_require__(3570); +const util_stream_1 = __webpack_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, + }); +} +async function getCredentials(response, logger) { + const stream = (0, util_stream_1.sdkStreamMixin)(response.body); + const str = await stream.transformToString(); + if (response.statusCode === 200) { + const parsed = JSON.parse(str); + if (typeof parsed.AccessKeyId !== "string" || + typeof parsed.SecretAccessKey !== "string" || + typeof parsed.Token !== "string" || + typeof parsed.Expiration !== "string") { + throw new property_provider_1.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: " + + "{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }", { logger }); + } + return { + accessKeyId: parsed.AccessKeyId, + secretAccessKey: parsed.SecretAccessKey, + sessionToken: parsed.Token, + expiration: (0, smithy_client_1.parseRfc3339DateTime)(parsed.Expiration), + }; + } + if (response.statusCode >= 400 && response.statusCode < 500) { + let parsedBody = {}; + try { + parsedBody = JSON.parse(str); + } + catch (e) { } + throw Object.assign(new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), { + Code: parsedBody.Code, + Message: parsedBody.Message, + }); + } + throw new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }); +} + + +/***/ }), + +/***/ 9921: +/***/ ((__unused_webpack_module, exports) => { + + +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, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromHttp = void 0; +var fromHttp_1 = __webpack_require__(6070); +Object.defineProperty(exports, "fromHttp", ({ enumerable: true, get: function () { return fromHttp_1.fromHttp; } })); + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/dist/334.index.js b/dist/334.index.js new file mode 100644 index 00000000..5dab69e8 --- /dev/null +++ b/dist/334.index.js @@ -0,0 +1,872 @@ +"use strict"; +exports.id = 334; +exports.ids = [334]; +exports.modules = { + +/***/ 9414: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0; +const httpAuthSchemes_1 = __webpack_require__(7862); +const util_middleware_1 = __webpack_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; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); + return Object.assign(config_0, { + authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), + }); +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; + + +/***/ }), + +/***/ 5: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.defaultEndpointResolver = void 0; +const util_endpoints_1 = __webpack_require__(3350); +const util_endpoints_2 = __webpack_require__(5473); +const ruleset_1 = __webpack_require__(932); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; + + +/***/ }), + +/***/ 932: +/***/ ((__unused_webpack_module, exports) => { + + +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; + + +/***/ }), + +/***/ 7334: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var middlewareHostHeader = __webpack_require__(2545); +var middlewareLogger = __webpack_require__(14); +var middlewareRecursionDetection = __webpack_require__(5525); +var middlewareUserAgent = __webpack_require__(4688); +var configResolver = __webpack_require__(3098); +var core = __webpack_require__(5829); +var schema = __webpack_require__(9826); +var middlewareContentLength = __webpack_require__(2800); +var middlewareEndpoint = __webpack_require__(2918); +var middlewareRetry = __webpack_require__(6039); +var smithyClient = __webpack_require__(3570); +var httpAuthSchemeProvider = __webpack_require__(9414); +var runtimeConfig = __webpack_require__(7277); +var regionConfigResolver = __webpack_require__(8156); +var protocolHttp = __webpack_require__(4418); +var schemas_0 = __webpack_require__(2144); +var errors = __webpack_require__(3145); +var SSOOIDCServiceException = __webpack_require__(7401); + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "sso-oauth", + }); +}; +const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + +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; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class SSOOIDCClient extends smithyClient.Client { + config; + constructor(...[configuration]) { + const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1); + const _config_3 = middlewareRetry.resolveRetryConfig(_config_2); + const _config_4 = configResolver.resolveRegionConfig(_config_3); + const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4); + const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5); + const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config)); + this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config)); + this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config)); + this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class CreateTokenCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AWSSSOOIDCService", "CreateToken", {}) + .n("SSOOIDCClient", "CreateTokenCommand") + .sc(schemas_0.CreateToken$) + .build() { +} + +const commands = { + CreateTokenCommand, +}; +class SSOOIDC extends SSOOIDCClient { +} +smithyClient.createAggregatedClient(commands, SSOOIDC); + +const AccessDeniedExceptionReason = { + KMS_ACCESS_DENIED: "KMS_AccessDeniedException", +}; +const InvalidRequestExceptionReason = { + KMS_DISABLED_KEY: "KMS_DisabledException", + KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException", + KMS_INVALID_STATE: "KMS_InvalidStateException", + KMS_KEY_NOT_FOUND: "KMS_NotFoundException", +}; + +exports.$Command = smithyClient.Command; +exports.__Client = smithyClient.Client; +exports.SSOOIDCServiceException = SSOOIDCServiceException.SSOOIDCServiceException; +exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason; +exports.CreateTokenCommand = CreateTokenCommand; +exports.InvalidRequestExceptionReason = InvalidRequestExceptionReason; +exports.SSOOIDC = SSOOIDC; +exports.SSOOIDCClient = SSOOIDCClient; +Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: schemas_0['__proto__'] + }); + +Object.keys(schemas_0).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; +}); +Object.prototype.hasOwnProperty.call(errors, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: errors['__proto__'] + }); + +Object.keys(errors).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; +}); + + +/***/ }), + +/***/ 7401: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SSOOIDCServiceException = exports.__ServiceException = void 0; +const smithy_client_1 = __webpack_require__(3570); +Object.defineProperty(exports, "__ServiceException", ({ enumerable: true, get: function () { return smithy_client_1.ServiceException; } })); +class SSOOIDCServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SSOOIDCServiceException.prototype); + } +} +exports.SSOOIDCServiceException = SSOOIDCServiceException; + + +/***/ }), + +/***/ 3145: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidGrantException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.AuthorizationPendingException = exports.AccessDeniedException = void 0; +const SSOOIDCServiceException_1 = __webpack_require__(7401); +class AccessDeniedException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "AccessDeniedException"; + $fault = "client"; + error; + reason; + error_description; + constructor(opts) { + super({ + name: "AccessDeniedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AccessDeniedException.prototype); + this.error = opts.error; + this.reason = opts.reason; + this.error_description = opts.error_description; + } +} +exports.AccessDeniedException = AccessDeniedException; +class AuthorizationPendingException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "AuthorizationPendingException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "AuthorizationPendingException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AuthorizationPendingException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.AuthorizationPendingException = AuthorizationPendingException; +class ExpiredTokenException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "ExpiredTokenException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "ExpiredTokenException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ExpiredTokenException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.ExpiredTokenException = ExpiredTokenException; +class InternalServerException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "InternalServerException"; + $fault = "server"; + error; + error_description; + constructor(opts) { + super({ + name: "InternalServerException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, InternalServerException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.InternalServerException = InternalServerException; +class InvalidClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "InvalidClientException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidClientException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.InvalidClientException = InvalidClientException; +class InvalidGrantException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "InvalidGrantException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidGrantException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidGrantException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.InvalidGrantException = InvalidGrantException; +class InvalidRequestException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "InvalidRequestException"; + $fault = "client"; + error; + reason; + error_description; + constructor(opts) { + super({ + name: "InvalidRequestException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidRequestException.prototype); + this.error = opts.error; + this.reason = opts.reason; + this.error_description = opts.error_description; + } +} +exports.InvalidRequestException = InvalidRequestException; +class InvalidScopeException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "InvalidScopeException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "InvalidScopeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidScopeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.InvalidScopeException = InvalidScopeException; +class SlowDownException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "SlowDownException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "SlowDownException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, SlowDownException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.SlowDownException = SlowDownException; +class UnauthorizedClientException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "UnauthorizedClientException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "UnauthorizedClientException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnauthorizedClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.UnauthorizedClientException = UnauthorizedClientException; +class UnsupportedGrantTypeException extends SSOOIDCServiceException_1.SSOOIDCServiceException { + name = "UnsupportedGrantTypeException"; + $fault = "client"; + error; + error_description; + constructor(opts) { + super({ + name: "UnsupportedGrantTypeException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnsupportedGrantTypeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +} +exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException; + + +/***/ }), + +/***/ 7277: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const tslib_1 = __webpack_require__(9679); +const package_json_1 = tslib_1.__importDefault(__webpack_require__(8842)); +const client_1 = __webpack_require__(2825); +const httpAuthSchemes_1 = __webpack_require__(7862); +const util_user_agent_node_1 = __webpack_require__(8095); +const config_resolver_1 = __webpack_require__(3098); +const hash_node_1 = __webpack_require__(3081); +const middleware_retry_1 = __webpack_require__(6039); +const node_config_provider_1 = __webpack_require__(3461); +const node_http_handler_1 = __webpack_require__(258); +const smithy_client_1 = __webpack_require__(3570); +const util_body_length_node_1 = __webpack_require__(8075); +const util_defaults_mode_node_1 = __webpack_require__(2429); +const util_retry_1 = __webpack_require__(4902); +const runtimeConfig_shared_1 = __webpack_require__(9513); +const getRuntimeConfig = (config) => { + (0, smithy_client_1.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, client_1.emitWarningIfUnsupportedVersion)(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + 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, + }, config), + 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, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 9513: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const httpAuthSchemes_1 = __webpack_require__(7862); +const protocols_1 = __webpack_require__(785); +const core_1 = __webpack_require__(5829); +const smithy_client_1 = __webpack_require__(3570); +const url_parser_1 = __webpack_require__(4681); +const util_base64_1 = __webpack_require__(5600); +const util_utf8_1 = __webpack_require__(1895); +const httpAuthSchemeProvider_1 = __webpack_require__(9414); +const endpointResolver_1 = __webpack_require__(5); +const schemas_0_1 = __webpack_require__(2144); +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 httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_1.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.ssooidc", + errorTypeRegistries: schemas_0_1.errorTypeRegistries, + version: "2019-06-10", + serviceTarget: "AWSSSOOIDCService", + }, + 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; + + +/***/ }), + +/***/ 2144: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CreateToken$ = exports.CreateTokenResponse$ = exports.CreateTokenRequest$ = exports.errorTypeRegistries = exports.UnsupportedGrantTypeException$ = exports.UnauthorizedClientException$ = exports.SlowDownException$ = exports.InvalidScopeException$ = exports.InvalidRequestException$ = exports.InvalidGrantException$ = exports.InvalidClientException$ = exports.InternalServerException$ = exports.ExpiredTokenException$ = exports.AuthorizationPendingException$ = exports.AccessDeniedException$ = exports.SSOOIDCServiceException$ = void 0; +const _ADE = "AccessDeniedException"; +const _APE = "AuthorizationPendingException"; +const _AT = "AccessToken"; +const _CS = "ClientSecret"; +const _CT = "CreateToken"; +const _CTR = "CreateTokenRequest"; +const _CTRr = "CreateTokenResponse"; +const _CV = "CodeVerifier"; +const _ETE = "ExpiredTokenException"; +const _ICE = "InvalidClientException"; +const _IGE = "InvalidGrantException"; +const _IRE = "InvalidRequestException"; +const _ISE = "InternalServerException"; +const _ISEn = "InvalidScopeException"; +const _IT = "IdToken"; +const _RT = "RefreshToken"; +const _SDE = "SlowDownException"; +const _UCE = "UnauthorizedClientException"; +const _UGTE = "UnsupportedGrantTypeException"; +const _aT = "accessToken"; +const _c = "client"; +const _cI = "clientId"; +const _cS = "clientSecret"; +const _cV = "codeVerifier"; +const _co = "code"; +const _dC = "deviceCode"; +const _e = "error"; +const _eI = "expiresIn"; +const _ed = "error_description"; +const _gT = "grantType"; +const _h = "http"; +const _hE = "httpError"; +const _iT = "idToken"; +const _r = "reason"; +const _rT = "refreshToken"; +const _rU = "redirectUri"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc"; +const _sc = "scope"; +const _se = "server"; +const _tT = "tokenType"; +const n0 = "com.amazonaws.ssooidc"; +const schema_1 = __webpack_require__(9826); +const errors_1 = __webpack_require__(3145); +const SSOOIDCServiceException_1 = __webpack_require__(7401); +const _s_registry = schema_1.TypeRegistry.for(_s); +exports.SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []]; +_s_registry.registerError(exports.SSOOIDCServiceException$, SSOOIDCServiceException_1.SSOOIDCServiceException); +const n0_registry = schema_1.TypeRegistry.for(n0); +exports.AccessDeniedException$ = [ + -3, + n0, + _ADE, + { [_e]: _c, [_hE]: 400 }, + [_e, _r, _ed], + [0, 0, 0], +]; +n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException); +exports.AuthorizationPendingException$ = [ + -3, + n0, + _APE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0], +]; +n0_registry.registerError(exports.AuthorizationPendingException$, errors_1.AuthorizationPendingException); +exports.ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.ExpiredTokenException$, errors_1.ExpiredTokenException); +exports.InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException); +exports.InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.InvalidClientException$, errors_1.InvalidClientException); +exports.InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.InvalidGrantException$, errors_1.InvalidGrantException); +exports.InvalidRequestException$ = [ + -3, + n0, + _IRE, + { [_e]: _c, [_hE]: 400 }, + [_e, _r, _ed], + [0, 0, 0], +]; +n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException); +exports.InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.InvalidScopeException$, errors_1.InvalidScopeException); +exports.SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]]; +n0_registry.registerError(exports.SlowDownException$, errors_1.SlowDownException); +exports.UnauthorizedClientException$ = [ + -3, + n0, + _UCE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0], +]; +n0_registry.registerError(exports.UnauthorizedClientException$, errors_1.UnauthorizedClientException); +exports.UnsupportedGrantTypeException$ = [ + -3, + n0, + _UGTE, + { [_e]: _c, [_hE]: 400 }, + [_e, _ed], + [0, 0], +]; +n0_registry.registerError(exports.UnsupportedGrantTypeException$, errors_1.UnsupportedGrantTypeException); +exports.errorTypeRegistries = [_s_registry, n0_registry]; +var AccessToken = [0, n0, _AT, 8, 0]; +var ClientSecret = [0, n0, _CS, 8, 0]; +var CodeVerifier = [0, n0, _CV, 8, 0]; +var IdToken = [0, n0, _IT, 8, 0]; +var RefreshToken = [0, n0, _RT, 8, 0]; +exports.CreateTokenRequest$ = [ + 3, + n0, + _CTR, + 0, + [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV], + [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], + 3, +]; +exports.CreateTokenResponse$ = [ + 3, + n0, + _CTRr, + 0, + [_aT, _tT, _eI, _rT, _iT], + [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]], +]; +var Scopes = (/* unused pure expression or super */ null && (64 | 0)); +exports.CreateToken$ = [ + 9, + n0, + _CT, + { [_h]: ["POST", "/token", 200] }, + () => exports.CreateTokenRequest$, + () => exports.CreateTokenResponse$, +]; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/dist/414.index.js b/dist/414.index.js new file mode 100644 index 00000000..8d735b7d --- /dev/null +++ b/dist/414.index.js @@ -0,0 +1,1056 @@ +"use strict"; +exports.id = 414; +exports.ids = [414]; +exports.modules = { + +/***/ 6414: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var propertyProvider = __webpack_require__(9721); +var sharedIniFileLoader = __webpack_require__(3507); +var client = __webpack_require__(2825); +var tokenProviders = __webpack_require__(2843); + +const isSsoProfile = (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"); + +const SHOULD_FAIL_CREDENTIAL_CHAIN = false; +const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger, }) => { + let token; + const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`; + if (ssoSession) { + try { + const _token = await tokenProviders.fromSso({ + profile, + filepath, + configFilepath, + ignoreCache, + })(); + token = { + accessToken: _token.token, + expiresAt: new Date(_token.expiration).toISOString(), + }; + } + catch (e) { + throw new propertyProvider.CredentialsProviderError(e.message, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + } + else { + try { + token = await sharedIniFileLoader.getSSOTokenFromFile(ssoStartUrl); + } + catch (e) { + throw new propertyProvider.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + } + if (new Date(token.expiresAt).getTime() - Date.now() <= 0) { + throw new propertyProvider.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const { accessToken } = token; + const { SSOClient, GetRoleCredentialsCommand } = await Promise.resolve().then(function () { return __webpack_require__(4601); }); + const sso = ssoClient || + new SSOClient(Object.assign({}, clientConfig ?? {}, { + logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger, + region: clientConfig?.region ?? ssoRegion, + userAgentAppId: clientConfig?.userAgentAppId ?? callerClientConfig?.userAgentAppId ?? parentClientConfig?.userAgentAppId, + })); + let ssoResp; + try { + ssoResp = await sso.send(new GetRoleCredentialsCommand({ + accountId: ssoAccountId, + roleName: ssoRoleName, + accessToken, + })); + } + catch (e) { + throw new propertyProvider.CredentialsProviderError(e, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const { roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}, } = ssoResp; + if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) { + throw new propertyProvider.CredentialsProviderError("SSO returns an invalid temporary credential.", { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger, + }); + } + const credentials = { + accessKeyId, + secretAccessKey, + sessionToken, + expiration: new Date(expiration), + ...(credentialScope && { credentialScope }), + ...(accountId && { accountId }), + }; + if (ssoSession) { + client.setCredentialFeature(credentials, "CREDENTIALS_SSO", "s"); + } + else { + client.setCredentialFeature(credentials, "CREDENTIALS_SSO_LEGACY", "u"); + } + return credentials; +}; + +const validateSsoProfile = (profile, logger) => { + const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile; + if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) { + throw new propertyProvider.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(", ")}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`, { tryNextLink: false, logger }); + } + return profile; +}; + +const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO"); + const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init; + const { ssoClient } = init; + const profileName = sharedIniFileLoader.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }); + if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) { + const profiles = await sharedIniFileLoader.parseKnownFiles(init); + const profile = profiles[profileName]; + if (!profile) { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger }); + } + if (!isSsoProfile(profile)) { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, { + logger: init.logger, + }); + } + if (profile?.sso_session) { + const ssoSessions = await sharedIniFileLoader.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 propertyProvider.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, { + tryNextLink: false, + logger: init.logger, + }); + } + if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) { + throw new propertyProvider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, { + tryNextLink: false, + logger: init.logger, + }); + } + profile.sso_region = session.sso_region; + profile.sso_start_url = session.sso_start_url; + } + const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(profile, init.logger); + return resolveSSOCredentials({ + ssoStartUrl: sso_start_url, + ssoSession: sso_session, + ssoAccountId: sso_account_id, + ssoRegion: sso_region, + ssoRoleName: sso_role_name, + ssoClient: ssoClient, + clientConfig: init.clientConfig, + parentClientConfig: init.parentClientConfig, + callerClientConfig: init.callerClientConfig, + profile: profileName, + filepath: init.filepath, + configFilepath: init.configFilepath, + ignoreCache: init.ignoreCache, + logger: init.logger, + }); + } + else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) { + throw new propertyProvider.CredentialsProviderError("Incomplete configuration. The fromSSO() argument hash must include " + + '"ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"', { tryNextLink: false, logger: init.logger }); + } + else { + return resolveSSOCredentials({ + ssoStartUrl, + ssoSession, + ssoAccountId, + ssoRegion, + ssoRoleName, + ssoClient, + clientConfig: init.clientConfig, + parentClientConfig: init.parentClientConfig, + callerClientConfig: init.callerClientConfig, + profile: profileName, + filepath: init.filepath, + configFilepath: init.configFilepath, + ignoreCache: init.ignoreCache, + logger: init.logger, + }); + } +}; + +exports.fromSSO = fromSSO; +exports.isSsoProfile = isSsoProfile; +exports.validateSsoProfile = validateSsoProfile; + + +/***/ }), + +/***/ 4601: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var sso = __webpack_require__(4277); + + + +exports.GetRoleCredentialsCommand = sso.GetRoleCredentialsCommand; +exports.SSOClient = sso.SSOClient; + + +/***/ }), + +/***/ 1660: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = void 0; +const httpAuthSchemes_1 = __webpack_require__(7862); +const util_middleware_1 = __webpack_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; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultSSOHttpAuthSchemeProvider = defaultSSOHttpAuthSchemeProvider; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); + return Object.assign(config_0, { + authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), + }); +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; + + +/***/ }), + +/***/ 8736: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.defaultEndpointResolver = void 0; +const util_endpoints_1 = __webpack_require__(3350); +const util_endpoints_2 = __webpack_require__(5473); +const ruleset_1 = __webpack_require__(238); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; + + +/***/ }), + +/***/ 238: +/***/ ((__unused_webpack_module, exports) => { + + +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; + + +/***/ }), + +/***/ 4277: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var middlewareHostHeader = __webpack_require__(2545); +var middlewareLogger = __webpack_require__(14); +var middlewareRecursionDetection = __webpack_require__(5525); +var middlewareUserAgent = __webpack_require__(4688); +var configResolver = __webpack_require__(3098); +var core = __webpack_require__(5829); +var schema = __webpack_require__(9826); +var middlewareContentLength = __webpack_require__(2800); +var middlewareEndpoint = __webpack_require__(2918); +var middlewareRetry = __webpack_require__(6039); +var smithyClient = __webpack_require__(3570); +var httpAuthSchemeProvider = __webpack_require__(1660); +var runtimeConfig = __webpack_require__(5433); +var regionConfigResolver = __webpack_require__(8156); +var protocolHttp = __webpack_require__(4418); +var schemas_0 = __webpack_require__(5348); +var errors = __webpack_require__(2279); +var SSOServiceException = __webpack_require__(8948); + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "awsssoportal", + }); +}; +const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + +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; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class SSOClient extends smithyClient.Client { + config; + constructor(...[configuration]) { + const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1); + const _config_3 = middlewareRetry.resolveRetryConfig(_config_2); + const _config_4 = configResolver.resolveRegionConfig(_config_3); + const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4); + const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5); + const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config)); + this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config)); + this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config)); + this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class GetRoleCredentialsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("SWBPortalService", "GetRoleCredentials", {}) + .n("SSOClient", "GetRoleCredentialsCommand") + .sc(schemas_0.GetRoleCredentials$) + .build() { +} + +const commands = { + GetRoleCredentialsCommand, +}; +class SSO extends SSOClient { +} +smithyClient.createAggregatedClient(commands, SSO); + +exports.$Command = smithyClient.Command; +exports.__Client = smithyClient.Client; +exports.SSOServiceException = SSOServiceException.SSOServiceException; +exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand; +exports.SSO = SSO; +exports.SSOClient = SSOClient; +Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: schemas_0['__proto__'] + }); + +Object.keys(schemas_0).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; +}); +Object.prototype.hasOwnProperty.call(errors, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: errors['__proto__'] + }); + +Object.keys(errors).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; +}); + + +/***/ }), + +/***/ 8948: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SSOServiceException = exports.__ServiceException = void 0; +const smithy_client_1 = __webpack_require__(3570); +Object.defineProperty(exports, "__ServiceException", ({ enumerable: true, get: function () { return smithy_client_1.ServiceException; } })); +class SSOServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SSOServiceException.prototype); + } +} +exports.SSOServiceException = SSOServiceException; + + +/***/ }), + +/***/ 2279: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UnauthorizedException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InvalidRequestException = void 0; +const SSOServiceException_1 = __webpack_require__(8948); +class InvalidRequestException extends SSOServiceException_1.SSOServiceException { + name = "InvalidRequestException"; + $fault = "client"; + constructor(opts) { + super({ + name: "InvalidRequestException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, InvalidRequestException.prototype); + } +} +exports.InvalidRequestException = InvalidRequestException; +class ResourceNotFoundException extends SSOServiceException_1.SSOServiceException { + name = "ResourceNotFoundException"; + $fault = "client"; + constructor(opts) { + super({ + name: "ResourceNotFoundException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ResourceNotFoundException.prototype); + } +} +exports.ResourceNotFoundException = ResourceNotFoundException; +class TooManyRequestsException extends SSOServiceException_1.SSOServiceException { + name = "TooManyRequestsException"; + $fault = "client"; + constructor(opts) { + super({ + name: "TooManyRequestsException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyRequestsException.prototype); + } +} +exports.TooManyRequestsException = TooManyRequestsException; +class UnauthorizedException extends SSOServiceException_1.SSOServiceException { + name = "UnauthorizedException"; + $fault = "client"; + constructor(opts) { + super({ + name: "UnauthorizedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, UnauthorizedException.prototype); + } +} +exports.UnauthorizedException = UnauthorizedException; + + +/***/ }), + +/***/ 5433: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const tslib_1 = __webpack_require__(9679); +const package_json_1 = tslib_1.__importDefault(__webpack_require__(8842)); +const client_1 = __webpack_require__(2825); +const httpAuthSchemes_1 = __webpack_require__(7862); +const util_user_agent_node_1 = __webpack_require__(8095); +const config_resolver_1 = __webpack_require__(3098); +const hash_node_1 = __webpack_require__(3081); +const middleware_retry_1 = __webpack_require__(6039); +const node_config_provider_1 = __webpack_require__(3461); +const node_http_handler_1 = __webpack_require__(258); +const smithy_client_1 = __webpack_require__(3570); +const util_body_length_node_1 = __webpack_require__(8075); +const util_defaults_mode_node_1 = __webpack_require__(2429); +const util_retry_1 = __webpack_require__(4902); +const runtimeConfig_shared_1 = __webpack_require__(2862); +const getRuntimeConfig = (config) => { + (0, smithy_client_1.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, client_1.emitWarningIfUnsupportedVersion)(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + 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, + }, config), + 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, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 2862: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const httpAuthSchemes_1 = __webpack_require__(7862); +const protocols_1 = __webpack_require__(785); +const core_1 = __webpack_require__(5829); +const smithy_client_1 = __webpack_require__(3570); +const url_parser_1 = __webpack_require__(4681); +const util_base64_1 = __webpack_require__(5600); +const util_utf8_1 = __webpack_require__(1895); +const httpAuthSchemeProvider_1 = __webpack_require__(1660); +const endpointResolver_1 = __webpack_require__(8736); +const schemas_0_1 = __webpack_require__(5348); +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 httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_1.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.sso", + errorTypeRegistries: schemas_0_1.errorTypeRegistries, + version: "2019-06-10", + serviceTarget: "SWBPortalService", + }, + 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; + + +/***/ }), + +/***/ 5348: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GetRoleCredentials$ = exports.RoleCredentials$ = exports.GetRoleCredentialsResponse$ = exports.GetRoleCredentialsRequest$ = exports.errorTypeRegistries = exports.UnauthorizedException$ = exports.TooManyRequestsException$ = exports.ResourceNotFoundException$ = exports.InvalidRequestException$ = exports.SSOServiceException$ = void 0; +const _ATT = "AccessTokenType"; +const _GRC = "GetRoleCredentials"; +const _GRCR = "GetRoleCredentialsRequest"; +const _GRCRe = "GetRoleCredentialsResponse"; +const _IRE = "InvalidRequestException"; +const _RC = "RoleCredentials"; +const _RNFE = "ResourceNotFoundException"; +const _SAKT = "SecretAccessKeyType"; +const _STT = "SessionTokenType"; +const _TMRE = "TooManyRequestsException"; +const _UE = "UnauthorizedException"; +const _aI = "accountId"; +const _aKI = "accessKeyId"; +const _aT = "accessToken"; +const _ai = "account_id"; +const _c = "client"; +const _e = "error"; +const _ex = "expiration"; +const _h = "http"; +const _hE = "httpError"; +const _hH = "httpHeader"; +const _hQ = "httpQuery"; +const _m = "message"; +const _rC = "roleCredentials"; +const _rN = "roleName"; +const _rn = "role_name"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sso"; +const _sAK = "secretAccessKey"; +const _sT = "sessionToken"; +const _xasbt = "x-amz-sso_bearer_token"; +const n0 = "com.amazonaws.sso"; +const schema_1 = __webpack_require__(9826); +const errors_1 = __webpack_require__(2279); +const SSOServiceException_1 = __webpack_require__(8948); +const _s_registry = schema_1.TypeRegistry.for(_s); +exports.SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []]; +_s_registry.registerError(exports.SSOServiceException$, SSOServiceException_1.SSOServiceException); +const n0_registry = schema_1.TypeRegistry.for(n0); +exports.InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]]; +n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException); +exports.ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]]; +n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException); +exports.TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_m], [0]]; +n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException); +exports.UnauthorizedException$ = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]]; +n0_registry.registerError(exports.UnauthorizedException$, errors_1.UnauthorizedException); +exports.errorTypeRegistries = [_s_registry, n0_registry]; +var AccessTokenType = [0, n0, _ATT, 8, 0]; +var SecretAccessKeyType = [0, n0, _SAKT, 8, 0]; +var SessionTokenType = [0, n0, _STT, 8, 0]; +exports.GetRoleCredentialsRequest$ = [ + 3, + n0, + _GRCR, + 0, + [_rN, _aI, _aT], + [ + [0, { [_hQ]: _rn }], + [0, { [_hQ]: _ai }], + [() => AccessTokenType, { [_hH]: _xasbt }], + ], + 3, +]; +exports.GetRoleCredentialsResponse$ = [ + 3, + n0, + _GRCRe, + 0, + [_rC], + [[() => exports.RoleCredentials$, 0]], +]; +exports.RoleCredentials$ = [ + 3, + n0, + _RC, + 0, + [_aKI, _sAK, _sT, _ex], + [0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1], +]; +exports.GetRoleCredentials$ = [ + 9, + n0, + _GRC, + { [_h]: ["GET", "/federation/credentials", 200] }, + () => exports.GetRoleCredentialsRequest$, + () => exports.GetRoleCredentialsResponse$, +]; + + +/***/ }), + +/***/ 2843: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var client = __webpack_require__(2825); +var httpAuthSchemes = __webpack_require__(7862); +var propertyProvider = __webpack_require__(9721); +var sharedIniFileLoader = __webpack_require__(3507); +var node_fs = __webpack_require__(7561); + +const fromEnvSigningName = ({ logger, signingName } = {}) => async () => { + logger?.debug?.("@aws-sdk/token-providers - fromEnvSigningName"); + if (!signingName) { + throw new propertyProvider.TokenProviderError("Please pass 'signingName' to compute environment variable key", { logger }); + } + const bearerTokenKey = httpAuthSchemes.getBearerTokenEnvKey(signingName); + if (!(bearerTokenKey in process.env)) { + throw new propertyProvider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger }); + } + const token = { token: process.env[bearerTokenKey] }; + client.setTokenFeature(token, "BEARER_SERVICE_ENV_VARS", "3"); + return token; +}; + +const EXPIRE_WINDOW_MS = 5 * 60 * 1000; +const REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`; + +const getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => { + const { SSOOIDCClient } = await __webpack_require__.e(/* import() */ 334).then(__webpack_require__.t.bind(__webpack_require__, 7334, 23)); + const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop]; + const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, { + region: ssoRegion ?? init.clientConfig?.region, + logger: coalesce("logger"), + userAgentAppId: coalesce("userAgentAppId"), + })); + return ssoOidcClient; +}; + +const getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => { + const { CreateTokenCommand } = await __webpack_require__.e(/* import() */ 334).then(__webpack_require__.t.bind(__webpack_require__, 7334, 23)); + const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig); + return ssoOidcClient.send(new CreateTokenCommand({ + clientId: ssoToken.clientId, + clientSecret: ssoToken.clientSecret, + refreshToken: ssoToken.refreshToken, + grantType: "refresh_token", + })); +}; + +const validateTokenExpiry = (token) => { + if (token.expiration && token.expiration.getTime() < Date.now()) { + throw new propertyProvider.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false); + } +}; + +const validateTokenKey = (key, value, forRefresh = false) => { + if (typeof value === "undefined") { + throw new propertyProvider.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false); + } +}; + +const { writeFile } = node_fs.promises; +const writeSSOTokenToFile = (id, ssoToken) => { + const tokenFilepath = sharedIniFileLoader.getSSOTokenFilepath(id); + const tokenString = JSON.stringify(ssoToken, null, 2); + return writeFile(tokenFilepath, tokenString); +}; + +const lastRefreshAttemptTime = new Date(0); +const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/token-providers - fromSso"); + const profiles = await sharedIniFileLoader.parseKnownFiles(init); + const profileName = sharedIniFileLoader.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }); + const profile = profiles[profileName]; + if (!profile) { + throw new propertyProvider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false); + } + else if (!profile["sso_session"]) { + throw new propertyProvider.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`); + } + const ssoSessionName = profile["sso_session"]; + const ssoSessions = await sharedIniFileLoader.loadSsoSessionData(init); + const ssoSession = ssoSessions[ssoSessionName]; + if (!ssoSession) { + throw new propertyProvider.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 propertyProvider.TokenProviderError(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`, false); + } + } + ssoSession["sso_start_url"]; + const ssoRegion = ssoSession["sso_region"]; + let ssoToken; + try { + ssoToken = await sharedIniFileLoader.getSSOTokenFromFile(ssoSessionName); + } + catch (e) { + throw new propertyProvider.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 * 1000) { + validateTokenExpiry(existingToken); + return existingToken; + } + validateTokenKey("clientId", ssoToken.clientId, true); + validateTokenKey("clientSecret", ssoToken.clientSecret, true); + validateTokenKey("refreshToken", ssoToken.refreshToken, true); + try { + lastRefreshAttemptTime.setTime(Date.now()); + const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig); + validateTokenKey("accessToken", newSsoOidcToken.accessToken); + validateTokenKey("expiresIn", newSsoOidcToken.expiresIn); + const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000); + 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; + } +}; + +const fromStatic = ({ token, logger }) => async () => { + logger?.debug("@aws-sdk/token-providers - fromStatic"); + if (!token || !token.token) { + throw new propertyProvider.TokenProviderError(`Please pass a valid token to fromStatic`, false); + } + return token; +}; + +const nodeProvider = (init = {}) => propertyProvider.memoize(propertyProvider.chain(fromSso(init), async () => { + throw new propertyProvider.TokenProviderError("Could not load token from any providers", false); +}), (token) => token.expiration !== undefined && token.expiration.getTime() - Date.now() < 300000, (token) => token.expiration !== undefined); + +exports.fromEnvSigningName = fromEnvSigningName; +exports.fromSso = fromSso; +exports.fromStatic = fromStatic; +exports.nodeProvider = nodeProvider; + + +/***/ }), + +/***/ 8842: +/***/ ((module) => { + +module.exports = JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.996.19","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=20.0.0"},"sideEffects":false,"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.27","@aws-sdk/middleware-host-header":"^3.972.9","@aws-sdk/middleware-logger":"^3.972.9","@aws-sdk/middleware-recursion-detection":"^3.972.10","@aws-sdk/middleware-user-agent":"^3.972.29","@aws-sdk/region-config-resolver":"^3.972.11","@aws-sdk/types":"^3.973.7","@aws-sdk/util-endpoints":"^3.996.6","@aws-sdk/util-user-agent-browser":"^3.972.9","@aws-sdk/util-user-agent-node":"^3.973.15","@smithy/config-resolver":"^4.4.14","@smithy/core":"^3.23.14","@smithy/fetch-http-handler":"^5.3.16","@smithy/hash-node":"^4.2.13","@smithy/invalid-dependency":"^4.2.13","@smithy/middleware-content-length":"^4.2.13","@smithy/middleware-endpoint":"^4.4.29","@smithy/middleware-retry":"^4.5.0","@smithy/middleware-serde":"^4.2.17","@smithy/middleware-stack":"^4.2.13","@smithy/node-config-provider":"^4.3.13","@smithy/node-http-handler":"^4.5.2","@smithy/protocol-http":"^5.3.13","@smithy/smithy-client":"^4.12.9","@smithy/types":"^4.14.0","@smithy/url-parser":"^4.2.13","@smithy/util-base64":"^4.3.2","@smithy/util-body-length-browser":"^4.2.2","@smithy/util-body-length-node":"^4.2.3","@smithy/util-defaults-mode-browser":"^4.3.45","@smithy/util-defaults-mode-node":"^4.2.49","@smithy/util-endpoints":"^3.3.4","@smithy/util-middleware":"^4.2.13","@smithy/util-retry":"^4.3.0","@smithy/util-utf8":"^4.2.2","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"typesVersions":{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./cognito-identity.d.ts","./cognito-identity.js","./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sso.d.ts","./sso.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/cognito-identity/runtimeConfig":"./dist-es/submodules/cognito-identity/runtimeConfig.browser","./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sso/runtimeConfig":"./dist-es/submodules/sso/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./package.json":"./package.json","./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"},"./signin":{"types":"./dist-types/submodules/signin/index.d.ts","module":"./dist-es/submodules/signin/index.js","node":"./dist-cjs/submodules/signin/index.js","import":"./dist-es/submodules/signin/index.js","require":"./dist-cjs/submodules/signin/index.js"},"./cognito-identity":{"types":"./dist-types/submodules/cognito-identity/index.d.ts","module":"./dist-es/submodules/cognito-identity/index.js","node":"./dist-cjs/submodules/cognito-identity/index.js","import":"./dist-es/submodules/cognito-identity/index.js","require":"./dist-cjs/submodules/cognito-identity/index.js"},"./sso":{"types":"./dist-types/submodules/sso/index.d.ts","module":"./dist-es/submodules/sso/index.js","node":"./dist-cjs/submodules/sso/index.js","import":"./dist-es/submodules/sso/index.js","require":"./dist-cjs/submodules/sso/index.js"}}}'); + +/***/ }) + +}; +; \ No newline at end of file diff --git a/dist/477.index.js b/dist/477.index.js new file mode 100644 index 00000000..e8048121 --- /dev/null +++ b/dist/477.index.js @@ -0,0 +1,386 @@ +"use strict"; +exports.id = 477; +exports.ids = [477]; +exports.modules = { + +/***/ 7477: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var propertyProvider = __webpack_require__(9721); +var url = __webpack_require__(7310); +var buffer = __webpack_require__(4300); +var http = __webpack_require__(3685); +var nodeConfigProvider = __webpack_require__(3461); +var urlParser = __webpack_require__(4681); + +function httpRequest(options) { + return new Promise((resolve, reject) => { + const req = http.request({ + method: "GET", + ...options, + hostname: options.hostname?.replace(/^\[(.+)\]$/, "$1"), + }); + req.on("error", (err) => { + reject(Object.assign(new propertyProvider.ProviderError("Unable to connect to instance metadata service"), err)); + req.destroy(); + }); + req.on("timeout", () => { + reject(new propertyProvider.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 propertyProvider.ProviderError("Error response received from instance metadata service"), { statusCode })); + req.destroy(); + } + const chunks = []; + res.on("data", (chunk) => { + chunks.push(chunk); + }); + res.on("end", () => { + resolve(buffer.Buffer.concat(chunks)); + req.destroy(); + }); + }); + req.end(); + }); +} + +const isImdsCredentials = (arg) => Boolean(arg) && + typeof arg === "object" && + typeof arg.AccessKeyId === "string" && + typeof arg.SecretAccessKey === "string" && + typeof arg.Token === "string" && + typeof arg.Expiration === "string"; +const fromImdsCredentials = (creds) => ({ + accessKeyId: creds.AccessKeyId, + secretAccessKey: creds.SecretAccessKey, + sessionToken: creds.Token, + expiration: new Date(creds.Expiration), + ...(creds.AccountId && { accountId: creds.AccountId }), +}); + +const DEFAULT_TIMEOUT = 1000; +const DEFAULT_MAX_RETRIES = 0; +const providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT, }) => ({ maxRetries, timeout }); + +const retry = (toRetry, maxRetries) => { + let promise = toRetry(); + for (let i = 0; i < maxRetries; i++) { + promise = promise.catch(toRetry); + } + return promise; +}; + +const ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +const ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +const ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +const fromContainerMetadata = (init = {}) => { + const { timeout, maxRetries } = providerConfigFromInit(init); + return () => retry(async () => { + const requestOptions = await getCmdsUri({ logger: init.logger }); + const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions)); + if (!isImdsCredentials(credsResponse)) { + throw new propertyProvider.CredentialsProviderError("Invalid response received from instance metadata service.", { + logger: init.logger, + }); + } + return fromImdsCredentials(credsResponse); + }, maxRetries); +}; +const requestFromEcsImds = 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(); +}; +const CMDS_IP = "169.254.170.2"; +const GREENGRASS_HOSTS = { + localhost: true, + "127.0.0.1": true, +}; +const GREENGRASS_PROTOCOLS = { + "http:": true, + "https:": true, +}; +const getCmdsUri = async ({ logger }) => { + if (process.env[ENV_CMDS_RELATIVE_URI]) { + return { + hostname: CMDS_IP, + path: process.env[ENV_CMDS_RELATIVE_URI], + }; + } + if (process.env[ENV_CMDS_FULL_URI]) { + const parsed = url.parse(process.env[ENV_CMDS_FULL_URI]); + if (!parsed.hostname || !(parsed.hostname in GREENGRASS_HOSTS)) { + throw new propertyProvider.CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, { + tryNextLink: false, + logger, + }); + } + if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) { + throw new propertyProvider.CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, { + tryNextLink: false, + logger, + }); + } + return { + ...parsed, + port: parsed.port ? parseInt(parsed.port, 10) : undefined, + }; + } + throw new propertyProvider.CredentialsProviderError("The container metadata credential provider cannot be used unless" + + ` the ${ENV_CMDS_RELATIVE_URI} or ${ENV_CMDS_FULL_URI} environment` + + " variable is set", { + tryNextLink: false, + logger, + }); +}; + +class InstanceMetadataV1FallbackError extends propertyProvider.CredentialsProviderError { + tryNextLink; + name = "InstanceMetadataV1FallbackError"; + constructor(message, tryNextLink = true) { + super(message, tryNextLink); + this.tryNextLink = tryNextLink; + Object.setPrototypeOf(this, InstanceMetadataV1FallbackError.prototype); + } +} + +exports.Endpoint = void 0; +(function (Endpoint) { + Endpoint["IPv4"] = "http://169.254.169.254"; + Endpoint["IPv6"] = "http://[fd00:ec2::254]"; +})(exports.Endpoint || (exports.Endpoint = {})); + +const ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT"; +const CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint"; +const ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_ENDPOINT_NAME], + configFileSelector: (profile) => profile[CONFIG_ENDPOINT_NAME], + default: undefined, +}; + +var EndpointMode; +(function (EndpointMode) { + EndpointMode["IPv4"] = "IPv4"; + EndpointMode["IPv6"] = "IPv6"; +})(EndpointMode || (EndpointMode = {})); + +const ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE"; +const CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode"; +const ENDPOINT_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_ENDPOINT_MODE_NAME], + configFileSelector: (profile) => profile[CONFIG_ENDPOINT_MODE_NAME], + default: EndpointMode.IPv4, +}; + +const getInstanceMetadataEndpoint = async () => urlParser.parseUrl((await getFromEndpointConfig()) || (await getFromEndpointModeConfig())); +const getFromEndpointConfig = async () => nodeConfigProvider.loadConfig(ENDPOINT_CONFIG_OPTIONS)(); +const getFromEndpointModeConfig = async () => { + const endpointMode = await nodeConfigProvider.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)(); + switch (endpointMode) { + case EndpointMode.IPv4: + return exports.Endpoint.IPv4; + case EndpointMode.IPv6: + return exports.Endpoint.IPv6; + default: + throw new Error(`Unsupported endpoint mode: ${endpointMode}.` + ` Select from ${Object.values(EndpointMode)}`); + } +}; + +const STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60; +const STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60; +const STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html"; +const getExtendedInstanceMetadataCredentials = (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 * 1000); + 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)}.\nFor more information, please visit: ` + + STATIC_STABILITY_DOC_URL); + const originalExpiration = credentials.originalExpiration ?? credentials.expiration; + return { + ...credentials, + ...(originalExpiration ? { originalExpiration } : {}), + expiration: newExpiration, + }; +}; + +const staticStabilityProvider = (provider, options = {}) => { + const logger = 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; + }; +}; + +const IMDS_PATH = "/latest/meta-data/iam/security-credentials/"; +const IMDS_TOKEN_PATH = "/latest/api/token"; +const AWS_EC2_METADATA_V1_DISABLED = "AWS_EC2_METADATA_V1_DISABLED"; +const PROFILE_AWS_EC2_METADATA_V1_DISABLED = "ec2_metadata_v1_disabled"; +const X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token"; +const fromInstanceMetadata = (init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger }); +const getInstanceMetadataProvider = (init = {}) => { + let disableFetchToken = false; + const { logger, profile } = init; + const { timeout, maxRetries } = providerConfigFromInit(init); + const getCredentials = async (maxRetries, options) => { + const isImdsV1Fallback = disableFetchToken || options.headers?.[X_AWS_EC2_METADATA_TOKEN] == null; + if (isImdsV1Fallback) { + let fallbackBlockedFromProfile = false; + let fallbackBlockedFromProcessEnv = false; + const configValue = await nodeConfigProvider.loadConfig({ + environmentVariableSelector: (env) => { + const envValue = env[AWS_EC2_METADATA_V1_DISABLED]; + fallbackBlockedFromProcessEnv = !!envValue && envValue !== "false"; + if (envValue === undefined) { + throw new propertyProvider.CredentialsProviderError(`${AWS_EC2_METADATA_V1_DISABLED} not set in env, checking config file next.`, { logger: init.logger }); + } + return fallbackBlockedFromProcessEnv; + }, + configFileSelector: (profile) => { + const profileValue = profile[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 profile; + try { + profile = await getProfile(options); + } + catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return profile; + }, maxRetries)).trim(); + return retry(async () => { + let creds; + try { + creds = await getCredentialsFromProfile(imdsProfile, options, init); + } + catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return creds; + }, maxRetries); + }; + return async () => { + const endpoint = await getInstanceMetadataEndpoint(); + if (disableFetchToken) { + 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?.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?.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, + }); + } + }; +}; +const getMetadataToken = async (options) => httpRequest({ + ...options, + path: IMDS_TOKEN_PATH, + method: "PUT", + headers: { + "x-aws-ec2-metadata-token-ttl-seconds": "21600", + }, +}); +const getProfile = async (options) => (await httpRequest({ ...options, path: IMDS_PATH })).toString(); +const getCredentialsFromProfile = async (profile, options, init) => { + const credentialsResponse = JSON.parse((await httpRequest({ + ...options, + path: IMDS_PATH + profile, + })).toString()); + if (!isImdsCredentials(credentialsResponse)) { + throw new propertyProvider.CredentialsProviderError("Invalid response received from instance metadata service.", { + logger: init.logger, + }); + } + return fromImdsCredentials(credentialsResponse); +}; + +exports.DEFAULT_MAX_RETRIES = DEFAULT_MAX_RETRIES; +exports.DEFAULT_TIMEOUT = DEFAULT_TIMEOUT; +exports.ENV_CMDS_AUTH_TOKEN = ENV_CMDS_AUTH_TOKEN; +exports.ENV_CMDS_FULL_URI = ENV_CMDS_FULL_URI; +exports.ENV_CMDS_RELATIVE_URI = ENV_CMDS_RELATIVE_URI; +exports.fromContainerMetadata = fromContainerMetadata; +exports.fromInstanceMetadata = fromInstanceMetadata; +exports.getInstanceMetadataEndpoint = getInstanceMetadataEndpoint; +exports.httpRequest = httpRequest; +exports.providerConfigFromInit = providerConfigFromInit; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/dist/646.index.js b/dist/646.index.js new file mode 100644 index 00000000..d881a02b --- /dev/null +++ b/dist/646.index.js @@ -0,0 +1,151 @@ +"use strict"; +exports.id = 646; +exports.ids = [646]; +exports.modules = { + +/***/ 5614: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromTokenFile = void 0; +const client_1 = __webpack_require__(2825); +const property_provider_1 = __webpack_require__(9721); +const shared_ini_file_loader_1 = __webpack_require__(3507); +const node_fs_1 = __webpack_require__(7561); +const fromWebToken_1 = __webpack_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 (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile"); + const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE]; + const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN]; + const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME]; + if (!webIdentityTokenFile || !roleArn) { + throw new property_provider_1.CredentialsProviderError("Web identity configuration not specified", { + logger: init.logger, + }); + } + const credentials = await (0, fromWebToken_1.fromWebToken)({ + ...init, + webIdentityToken: shared_ini_file_loader_1.externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ?? + (0, node_fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }), + roleArn, + roleSessionName, + })(awsIdentityProperties); + if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) { + (0, client_1.setCredentialFeature)(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h"); + } + return credentials; +}; +exports.fromTokenFile = fromTokenFile; + + +/***/ }), + +/***/ 7905: +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + + +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 () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromWebToken = void 0; +const fromWebToken = (init) => async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken"); + const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init; + let { roleAssumerWithWebIdentity } = init; + if (!roleAssumerWithWebIdentity) { + const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar(__webpack_require__(2273))); + roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({ + ...init.clientConfig, + credentialProviderLogger: init.logger, + parentClientConfig: { + ...awsIdentityProperties?.callerClientConfig, + ...init.parentClientConfig, + }, + }, init.clientPlugins); + } + return roleAssumerWithWebIdentity({ + RoleArn: roleArn, + RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`, + WebIdentityToken: webIdentityToken, + ProviderId: providerId, + PolicyArns: policyArns, + Policy: policy, + DurationSeconds: durationSeconds, + }); +}; +exports.fromWebToken = fromWebToken; + + +/***/ }), + +/***/ 5646: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var fromTokenFile = __webpack_require__(5614); +var fromWebToken = __webpack_require__(7905); + + + +Object.prototype.hasOwnProperty.call(fromTokenFile, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: fromTokenFile['__proto__'] + }); + +Object.keys(fromTokenFile).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = fromTokenFile[k]; +}); +Object.prototype.hasOwnProperty.call(fromWebToken, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: fromWebToken['__proto__'] + }); + +Object.keys(fromWebToken).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = fromWebToken[k]; +}); + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/dist/702.index.js b/dist/702.index.js new file mode 100644 index 00000000..9a59e962 --- /dev/null +++ b/dist/702.index.js @@ -0,0 +1,273 @@ +"use strict"; +exports.id = 702; +exports.ids = [702]; +exports.modules = { + +/***/ 3702: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var utilUtf8 = __webpack_require__(1895); + +class EventStreamSerde { + marshaller; + serializer; + deserializer; + serdeContext; + defaultContentType; + constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, }) { + this.marshaller = marshaller; + this.serializer = serializer; + this.deserializer = deserializer; + this.serdeContext = serdeContext; + this.defaultContentType = defaultContentType; + } + async serializeEventStream({ eventStream, requestSchema, initialRequest, }) { + const marshaller = this.marshaller; + const eventStreamMember = requestSchema.getEventStreamMember(); + const unionSchema = requestSchema.getMemberSchema(eventStreamMember); + const serializer = this.serializer; + const defaultContentType = this.defaultContentType; + const initialRequestMarker = Symbol("initialRequestMarker"); + const eventStreamIterable = { + async *[Symbol.asyncIterator]() { + if (initialRequest) { + const headers = { + ":event-type": { type: "string", value: "initial-request" }, + ":message-type": { type: "string", value: "event" }, + ":content-type": { type: "string", value: defaultContentType }, + }; + serializer.write(requestSchema, initialRequest); + const body = serializer.flush(); + yield { + [initialRequestMarker]: true, + headers, + body, + }; + } + for await (const page of eventStream) { + yield page; + } + }, + }; + return marshaller.serialize(eventStreamIterable, (event) => { + if (event[initialRequestMarker]) { + return { + headers: event.headers, + body: event.body, + }; + } + const unionMember = Object.keys(event).find((key) => { + return key !== "__type"; + }) ?? ""; + const { additionalHeaders, body, eventType, explicitPayloadContentType } = this.writeEventBody(unionMember, unionSchema, event); + const headers = { + ":event-type": { type: "string", value: eventType }, + ":message-type": { type: "string", value: "event" }, + ":content-type": { type: "string", value: explicitPayloadContentType ?? defaultContentType }, + ...additionalHeaders, + }; + return { + headers, + body, + }; + }); + } + async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) { + const marshaller = this.marshaller; + const eventStreamMember = responseSchema.getEventStreamMember(); + const unionSchema = responseSchema.getMemberSchema(eventStreamMember); + const memberSchemas = unionSchema.getMemberSchemas(); + const initialResponseMarker = Symbol("initialResponseMarker"); + const asyncIterable = marshaller.deserialize(response.body, async (event) => { + const unionMember = Object.keys(event).find((key) => { + return key !== "__type"; + }) ?? ""; + const body = event[unionMember].body; + if (unionMember === "initial-response") { + const dataObject = await this.deserializer.read(responseSchema, body); + delete dataObject[eventStreamMember]; + return { + [initialResponseMarker]: true, + ...dataObject, + }; + } + else if (unionMember in memberSchemas) { + const eventStreamSchema = memberSchemas[unionMember]; + if (eventStreamSchema.isStructSchema()) { + const out = {}; + let hasBindings = false; + for (const [name, member] of eventStreamSchema.structIterator()) { + const { eventHeader, eventPayload } = member.getMergedTraits(); + hasBindings = hasBindings || Boolean(eventHeader || eventPayload); + if (eventPayload) { + if (member.isBlobSchema()) { + out[name] = body; + } + else if (member.isStringSchema()) { + out[name] = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(body); + } + else if (member.isStructSchema()) { + out[name] = await this.deserializer.read(member, body); + } + } + else if (eventHeader) { + const value = event[unionMember].headers[name]?.value; + if (value != null) { + if (member.isNumericSchema()) { + if (value && typeof value === "object" && "bytes" in value) { + out[name] = BigInt(value.toString()); + } + else { + out[name] = Number(value); + } + } + else { + out[name] = value; + } + } + } + } + if (hasBindings) { + return { + [unionMember]: out, + }; + } + if (body.byteLength === 0) { + return { + [unionMember]: {}, + }; + } + } + return { + [unionMember]: await this.deserializer.read(eventStreamSchema, body), + }; + } + else { + return { + $unknown: event, + }; + } + }); + const asyncIterator = asyncIterable[Symbol.asyncIterator](); + const firstEvent = await asyncIterator.next(); + if (firstEvent.done) { + return asyncIterable; + } + if (firstEvent.value?.[initialResponseMarker]) { + if (!responseSchema) { + throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given."); + } + for (const [key, value] of Object.entries(firstEvent.value)) { + initialResponseContainer[key] = value; + } + } + return { + async *[Symbol.asyncIterator]() { + if (!firstEvent?.value?.[initialResponseMarker]) { + yield firstEvent.value; + } + while (true) { + const { done, value } = await asyncIterator.next(); + if (done) { + break; + } + yield value; + } + }, + }; + } + writeEventBody(unionMember, unionSchema, event) { + const serializer = this.serializer; + let eventType = unionMember; + let explicitPayloadMember = null; + let explicitPayloadContentType; + const isKnownSchema = (() => { + const struct = unionSchema.getSchema(); + return struct[4].includes(unionMember); + })(); + const additionalHeaders = {}; + if (!isKnownSchema) { + const [type, value] = event[unionMember]; + eventType = type; + serializer.write(15, value); + } + else { + const eventSchema = unionSchema.getMemberSchema(unionMember); + if (eventSchema.isStructSchema()) { + for (const [memberName, memberSchema] of eventSchema.structIterator()) { + const { eventHeader, eventPayload } = memberSchema.getMergedTraits(); + if (eventPayload) { + explicitPayloadMember = memberName; + } + else if (eventHeader) { + const value = event[unionMember][memberName]; + let type = "binary"; + if (memberSchema.isNumericSchema()) { + if ((-2) ** 31 <= value && value <= 2 ** 31 - 1) { + type = "integer"; + } + else { + type = "long"; + } + } + else if (memberSchema.isTimestampSchema()) { + type = "timestamp"; + } + else if (memberSchema.isStringSchema()) { + type = "string"; + } + else if (memberSchema.isBooleanSchema()) { + type = "boolean"; + } + if (value != null) { + additionalHeaders[memberName] = { + type, + value, + }; + delete event[unionMember][memberName]; + } + } + } + if (explicitPayloadMember !== null) { + const payloadSchema = eventSchema.getMemberSchema(explicitPayloadMember); + if (payloadSchema.isBlobSchema()) { + explicitPayloadContentType = "application/octet-stream"; + } + else if (payloadSchema.isStringSchema()) { + explicitPayloadContentType = "text/plain"; + } + serializer.write(payloadSchema, event[unionMember][explicitPayloadMember]); + } + else { + serializer.write(eventSchema, event[unionMember]); + } + } + else if (eventSchema.isUnitSchema()) { + serializer.write(eventSchema, {}); + } + else { + throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union."); + } + } + const messageSerialization = serializer.flush() ?? new Uint8Array(); + const body = typeof messageSerialization === "string" + ? (this.serdeContext?.utf8Decoder ?? utilUtf8.fromUtf8)(messageSerialization) + : messageSerialization; + return { + body, + eventType, + explicitPayloadContentType, + additionalHeaders, + }; + } +} + +exports.EventStreamSerde = EventStreamSerde; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/dist/747.index.js b/dist/747.index.js new file mode 100644 index 00000000..d0544738 --- /dev/null +++ b/dist/747.index.js @@ -0,0 +1,758 @@ +"use strict"; +exports.id = 747; +exports.ids = [747]; +exports.modules = { + +/***/ 9760: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.resolveHttpAuthSchemeConfig = exports.defaultSigninHttpAuthSchemeProvider = exports.defaultSigninHttpAuthSchemeParametersProvider = void 0; +const httpAuthSchemes_1 = __webpack_require__(7862); +const util_middleware_1 = __webpack_require__(2390); +const defaultSigninHttpAuthSchemeParametersProvider = 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.defaultSigninHttpAuthSchemeParametersProvider = defaultSigninHttpAuthSchemeParametersProvider; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "signin", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultSigninHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "CreateOAuth2Token": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultSigninHttpAuthSchemeProvider = defaultSigninHttpAuthSchemeProvider; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); + return Object.assign(config_0, { + authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), + }); +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; + + +/***/ }), + +/***/ 2533: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.defaultEndpointResolver = void 0; +const util_endpoints_1 = __webpack_require__(3350); +const util_endpoints_2 = __webpack_require__(5473); +const ruleset_1 = __webpack_require__(9742); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; + + +/***/ }), + +/***/ 9742: +/***/ ((__unused_webpack_module, exports) => { + + +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 = "stringEquals", i = { [u]: true, default: false, type: "boolean" }, j = { [u]: false, type: "string" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: "getAttr", [w]: [{ [x]: g }, "name"] }, p = { [v]: c, [w]: [{ [x]: "UseFIPS" }, false] }, q = { [v]: c, [w]: [{ [x]: "UseDualStack" }, false] }, r = { [v]: "getAttr", [w]: [{ [x]: g }, "supportsFIPS"] }, s = { [v]: c, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: g }, "supportsDualStack"] }] }, t = [{ [x]: "Region" }]; +const _data = { + version: "1.0", + parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j }, + rules: [ + { + conditions: [{ [v]: b, [w]: [k] }], + rules: [ + { conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, + { + rules: [ + { + conditions: [m], + error: "Invalid Configuration: Dualstack and custom endpoint are not supported", + type: d, + }, + { endpoint: { url: k, properties: n, headers: n }, type: e }, + ], + type: f, + }, + ], + type: f, + }, + { + rules: [ + { + conditions: [{ [v]: b, [w]: t }], + rules: [ + { + conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], + rules: [ + { + conditions: [{ [v]: h, [w]: [o, "aws"] }, p, q], + endpoint: { url: "https://{Region}.signin.aws.amazon.com", properties: n, headers: n }, + type: e, + }, + { + conditions: [{ [v]: h, [w]: [o, "aws-cn"] }, p, q], + endpoint: { url: "https://{Region}.signin.amazonaws.cn", properties: n, headers: n }, + type: e, + }, + { + conditions: [{ [v]: h, [w]: [o, "aws-us-gov"] }, p, q], + endpoint: { url: "https://{Region}.signin.amazonaws-us-gov.com", properties: n, headers: n }, + type: e, + }, + { + conditions: [l, m], + rules: [ + { + conditions: [{ [v]: c, [w]: [a, r] }, s], + rules: [ + { + endpoint: { + url: "https://signin-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: [l, q], + rules: [ + { + conditions: [{ [v]: c, [w]: [r, a] }], + rules: [ + { + endpoint: { + url: "https://signin-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: [p, m], + rules: [ + { + conditions: [s], + rules: [ + { + endpoint: { + url: "https://signin.{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://signin.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, + type: e, + }, + ], + type: f, + }, + ], + type: f, + }, + { error: "Invalid Configuration: Missing Region", type: d }, + ], + type: f, + }, + ], +}; +exports.ruleSet = _data; + + +/***/ }), + +/***/ 3747: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var middlewareHostHeader = __webpack_require__(2545); +var middlewareLogger = __webpack_require__(14); +var middlewareRecursionDetection = __webpack_require__(5525); +var middlewareUserAgent = __webpack_require__(4688); +var configResolver = __webpack_require__(3098); +var core = __webpack_require__(5829); +var schema = __webpack_require__(9826); +var middlewareContentLength = __webpack_require__(2800); +var middlewareEndpoint = __webpack_require__(2918); +var middlewareRetry = __webpack_require__(6039); +var smithyClient = __webpack_require__(3570); +var httpAuthSchemeProvider = __webpack_require__(9760); +var runtimeConfig = __webpack_require__(5454); +var regionConfigResolver = __webpack_require__(8156); +var protocolHttp = __webpack_require__(4418); +var schemas_0 = __webpack_require__(6626); +var errors = __webpack_require__(8303); +var SigninServiceException = __webpack_require__(5394); + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "signin", + }); +}; +const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + +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; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; + +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; + +class SigninClient extends smithyClient.Client { + config; + constructor(...[configuration]) { + const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1); + const _config_3 = middlewareRetry.resolveRetryConfig(_config_2); + const _config_4 = configResolver.resolveRegionConfig(_config_3); + const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4); + const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5); + const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config)); + this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config)); + this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config)); + this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSigninHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} + +class CreateOAuth2TokenCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("Signin", "CreateOAuth2Token", {}) + .n("SigninClient", "CreateOAuth2TokenCommand") + .sc(schemas_0.CreateOAuth2Token$) + .build() { +} + +const commands = { + CreateOAuth2TokenCommand, +}; +class Signin extends SigninClient { +} +smithyClient.createAggregatedClient(commands, Signin); + +const OAuth2ErrorCode = { + AUTHCODE_EXPIRED: "AUTHCODE_EXPIRED", + INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS", + INVALID_REQUEST: "INVALID_REQUEST", + SERVER_ERROR: "server_error", + TOKEN_EXPIRED: "TOKEN_EXPIRED", + USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED", +}; + +exports.$Command = smithyClient.Command; +exports.__Client = smithyClient.Client; +exports.SigninServiceException = SigninServiceException.SigninServiceException; +exports.CreateOAuth2TokenCommand = CreateOAuth2TokenCommand; +exports.OAuth2ErrorCode = OAuth2ErrorCode; +exports.Signin = Signin; +exports.SigninClient = SigninClient; +Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: schemas_0['__proto__'] + }); + +Object.keys(schemas_0).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; +}); +Object.prototype.hasOwnProperty.call(errors, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: errors['__proto__'] + }); + +Object.keys(errors).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; +}); + + +/***/ }), + +/***/ 5394: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SigninServiceException = exports.__ServiceException = void 0; +const smithy_client_1 = __webpack_require__(3570); +Object.defineProperty(exports, "__ServiceException", ({ enumerable: true, get: function () { return smithy_client_1.ServiceException; } })); +class SigninServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, SigninServiceException.prototype); + } +} +exports.SigninServiceException = SigninServiceException; + + +/***/ }), + +/***/ 8303: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ValidationException = exports.TooManyRequestsError = exports.InternalServerException = exports.AccessDeniedException = void 0; +const SigninServiceException_1 = __webpack_require__(5394); +class AccessDeniedException extends SigninServiceException_1.SigninServiceException { + name = "AccessDeniedException"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "AccessDeniedException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, AccessDeniedException.prototype); + this.error = opts.error; + } +} +exports.AccessDeniedException = AccessDeniedException; +class InternalServerException extends SigninServiceException_1.SigninServiceException { + name = "InternalServerException"; + $fault = "server"; + error; + constructor(opts) { + super({ + name: "InternalServerException", + $fault: "server", + ...opts, + }); + Object.setPrototypeOf(this, InternalServerException.prototype); + this.error = opts.error; + } +} +exports.InternalServerException = InternalServerException; +class TooManyRequestsError extends SigninServiceException_1.SigninServiceException { + name = "TooManyRequestsError"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "TooManyRequestsError", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, TooManyRequestsError.prototype); + this.error = opts.error; + } +} +exports.TooManyRequestsError = TooManyRequestsError; +class ValidationException extends SigninServiceException_1.SigninServiceException { + name = "ValidationException"; + $fault = "client"; + error; + constructor(opts) { + super({ + name: "ValidationException", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, ValidationException.prototype); + this.error = opts.error; + } +} +exports.ValidationException = ValidationException; + + +/***/ }), + +/***/ 5454: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const tslib_1 = __webpack_require__(9679); +const package_json_1 = tslib_1.__importDefault(__webpack_require__(8842)); +const client_1 = __webpack_require__(2825); +const httpAuthSchemes_1 = __webpack_require__(7862); +const util_user_agent_node_1 = __webpack_require__(8095); +const config_resolver_1 = __webpack_require__(3098); +const hash_node_1 = __webpack_require__(3081); +const middleware_retry_1 = __webpack_require__(6039); +const node_config_provider_1 = __webpack_require__(3461); +const node_http_handler_1 = __webpack_require__(258); +const smithy_client_1 = __webpack_require__(3570); +const util_body_length_node_1 = __webpack_require__(8075); +const util_defaults_mode_node_1 = __webpack_require__(2429); +const util_retry_1 = __webpack_require__(4902); +const runtimeConfig_shared_1 = __webpack_require__(1864); +const getRuntimeConfig = (config) => { + (0, smithy_client_1.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, client_1.emitWarningIfUnsupportedVersion)(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? + (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + 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, + }, config), + 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, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 1864: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const httpAuthSchemes_1 = __webpack_require__(7862); +const protocols_1 = __webpack_require__(785); +const core_1 = __webpack_require__(5829); +const smithy_client_1 = __webpack_require__(3570); +const url_parser_1 = __webpack_require__(4681); +const util_base64_1 = __webpack_require__(5600); +const util_utf8_1 = __webpack_require__(1895); +const httpAuthSchemeProvider_1 = __webpack_require__(9760); +const endpointResolver_1 = __webpack_require__(2533); +const schemas_0_1 = __webpack_require__(6626); +const getRuntimeConfig = (config) => { + return { + apiVersion: "2023-01-01", + 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.defaultSigninHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_1.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.signin", + errorTypeRegistries: schemas_0_1.errorTypeRegistries, + version: "2023-01-01", + serviceTarget: "Signin", + }, + serviceId: config?.serviceId ?? "Signin", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 6626: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CreateOAuth2Token$ = exports.CreateOAuth2TokenResponseBody$ = exports.CreateOAuth2TokenResponse$ = exports.CreateOAuth2TokenRequestBody$ = exports.CreateOAuth2TokenRequest$ = exports.AccessToken$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestsError$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.SigninServiceException$ = void 0; +const _ADE = "AccessDeniedException"; +const _AT = "AccessToken"; +const _COAT = "CreateOAuth2Token"; +const _COATR = "CreateOAuth2TokenRequest"; +const _COATRB = "CreateOAuth2TokenRequestBody"; +const _COATRBr = "CreateOAuth2TokenResponseBody"; +const _COATRr = "CreateOAuth2TokenResponse"; +const _ISE = "InternalServerException"; +const _RT = "RefreshToken"; +const _TMRE = "TooManyRequestsError"; +const _VE = "ValidationException"; +const _aKI = "accessKeyId"; +const _aT = "accessToken"; +const _c = "client"; +const _cI = "clientId"; +const _cV = "codeVerifier"; +const _co = "code"; +const _e = "error"; +const _eI = "expiresIn"; +const _gT = "grantType"; +const _h = "http"; +const _hE = "httpError"; +const _iT = "idToken"; +const _jN = "jsonName"; +const _m = "message"; +const _rT = "refreshToken"; +const _rU = "redirectUri"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.signin"; +const _sAK = "secretAccessKey"; +const _sT = "sessionToken"; +const _se = "server"; +const _tI = "tokenInput"; +const _tO = "tokenOutput"; +const _tT = "tokenType"; +const n0 = "com.amazonaws.signin"; +const schema_1 = __webpack_require__(9826); +const errors_1 = __webpack_require__(8303); +const SigninServiceException_1 = __webpack_require__(5394); +const _s_registry = schema_1.TypeRegistry.for(_s); +exports.SigninServiceException$ = [-3, _s, "SigninServiceException", 0, [], []]; +_s_registry.registerError(exports.SigninServiceException$, SigninServiceException_1.SigninServiceException); +const n0_registry = schema_1.TypeRegistry.for(n0); +exports.AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException); +exports.InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException); +exports.TooManyRequestsError$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(exports.TooManyRequestsError$, errors_1.TooManyRequestsError); +exports.ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_e, _m], [0, 0], 2]; +n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException); +exports.errorTypeRegistries = [_s_registry, n0_registry]; +var RefreshToken = [0, n0, _RT, 8, 0]; +exports.AccessToken$ = [ + 3, + n0, + _AT, + 8, + [_aKI, _sAK, _sT], + [ + [0, { [_jN]: _aKI }], + [0, { [_jN]: _sAK }], + [0, { [_jN]: _sT }], + ], + 3, +]; +exports.CreateOAuth2TokenRequest$ = [ + 3, + n0, + _COATR, + 0, + [_tI], + [[() => exports.CreateOAuth2TokenRequestBody$, 16]], + 1, +]; +exports.CreateOAuth2TokenRequestBody$ = [ + 3, + n0, + _COATRB, + 0, + [_cI, _gT, _co, _rU, _cV, _rT], + [ + [0, { [_jN]: _cI }], + [0, { [_jN]: _gT }], + 0, + [0, { [_jN]: _rU }], + [0, { [_jN]: _cV }], + [() => RefreshToken, { [_jN]: _rT }], + ], + 2, +]; +exports.CreateOAuth2TokenResponse$ = [ + 3, + n0, + _COATRr, + 0, + [_tO], + [[() => exports.CreateOAuth2TokenResponseBody$, 16]], + 1, +]; +exports.CreateOAuth2TokenResponseBody$ = [ + 3, + n0, + _COATRBr, + 0, + [_aT, _tT, _eI, _rT, _iT], + [ + [() => exports.AccessToken$, { [_jN]: _aT }], + [0, { [_jN]: _tT }], + [1, { [_jN]: _eI }], + [() => RefreshToken, { [_jN]: _rT }], + [0, { [_jN]: _iT }], + ], + 4, +]; +exports.CreateOAuth2Token$ = [ + 9, + n0, + _COAT, + { [_h]: ["POST", "/v1/token", 200] }, + () => exports.CreateOAuth2TokenRequest$, + () => exports.CreateOAuth2TokenResponse$, +]; + + +/***/ }), + +/***/ 8842: +/***/ ((module) => { + +module.exports = JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.996.19","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=20.0.0"},"sideEffects":false,"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.27","@aws-sdk/middleware-host-header":"^3.972.9","@aws-sdk/middleware-logger":"^3.972.9","@aws-sdk/middleware-recursion-detection":"^3.972.10","@aws-sdk/middleware-user-agent":"^3.972.29","@aws-sdk/region-config-resolver":"^3.972.11","@aws-sdk/types":"^3.973.7","@aws-sdk/util-endpoints":"^3.996.6","@aws-sdk/util-user-agent-browser":"^3.972.9","@aws-sdk/util-user-agent-node":"^3.973.15","@smithy/config-resolver":"^4.4.14","@smithy/core":"^3.23.14","@smithy/fetch-http-handler":"^5.3.16","@smithy/hash-node":"^4.2.13","@smithy/invalid-dependency":"^4.2.13","@smithy/middleware-content-length":"^4.2.13","@smithy/middleware-endpoint":"^4.4.29","@smithy/middleware-retry":"^4.5.0","@smithy/middleware-serde":"^4.2.17","@smithy/middleware-stack":"^4.2.13","@smithy/node-config-provider":"^4.3.13","@smithy/node-http-handler":"^4.5.2","@smithy/protocol-http":"^5.3.13","@smithy/smithy-client":"^4.12.9","@smithy/types":"^4.14.0","@smithy/url-parser":"^4.2.13","@smithy/util-base64":"^4.3.2","@smithy/util-body-length-browser":"^4.2.2","@smithy/util-body-length-node":"^4.2.3","@smithy/util-defaults-mode-browser":"^4.3.45","@smithy/util-defaults-mode-node":"^4.2.49","@smithy/util-endpoints":"^3.3.4","@smithy/util-middleware":"^4.2.13","@smithy/util-retry":"^4.3.0","@smithy/util-utf8":"^4.2.2","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"typesVersions":{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./cognito-identity.d.ts","./cognito-identity.js","./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sso.d.ts","./sso.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/cognito-identity/runtimeConfig":"./dist-es/submodules/cognito-identity/runtimeConfig.browser","./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sso/runtimeConfig":"./dist-es/submodules/sso/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./package.json":"./package.json","./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"},"./signin":{"types":"./dist-types/submodules/signin/index.d.ts","module":"./dist-es/submodules/signin/index.js","node":"./dist-cjs/submodules/signin/index.js","import":"./dist-es/submodules/signin/index.js","require":"./dist-cjs/submodules/signin/index.js"},"./cognito-identity":{"types":"./dist-types/submodules/cognito-identity/index.d.ts","module":"./dist-es/submodules/cognito-identity/index.js","node":"./dist-cjs/submodules/cognito-identity/index.js","import":"./dist-es/submodules/cognito-identity/index.js","require":"./dist-cjs/submodules/cognito-identity/index.js"},"./sso":{"types":"./dist-types/submodules/sso/index.d.ts","module":"./dist-es/submodules/sso/index.js","node":"./dist-cjs/submodules/sso/index.js","import":"./dist-es/submodules/sso/index.js","require":"./dist-cjs/submodules/sso/index.js"}}}'); + +/***/ }) + +}; +; \ No newline at end of file diff --git a/dist/969.index.js b/dist/969.index.js new file mode 100644 index 00000000..b113ff78 --- /dev/null +++ b/dist/969.index.js @@ -0,0 +1,93 @@ +"use strict"; +exports.id = 969; +exports.ids = [969]; +exports.modules = { + +/***/ 9969: +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +var sharedIniFileLoader = __webpack_require__(3507); +var propertyProvider = __webpack_require__(9721); +var node_child_process = __webpack_require__(7718); +var node_util = __webpack_require__(7261); +var client = __webpack_require__(2825); + +const getValidatedProcessCredentials = (profileName, data, profiles) => { + if (data.Version !== 1) { + throw Error(`Profile ${profileName} credential_process did not return Version 1.`); + } + if (data.AccessKeyId === undefined || data.SecretAccessKey === undefined) { + throw Error(`Profile ${profileName} credential_process returned invalid credentials.`); + } + if (data.Expiration) { + const currentTime = new Date(); + const expireTime = new Date(data.Expiration); + if (expireTime < currentTime) { + throw Error(`Profile ${profileName} credential_process returned expired credentials.`); + } + } + let accountId = data.AccountId; + if (!accountId && profiles?.[profileName]?.aws_account_id) { + accountId = profiles[profileName].aws_account_id; + } + const credentials = { + accessKeyId: data.AccessKeyId, + secretAccessKey: data.SecretAccessKey, + ...(data.SessionToken && { sessionToken: data.SessionToken }), + ...(data.Expiration && { expiration: new Date(data.Expiration) }), + ...(data.CredentialScope && { credentialScope: data.CredentialScope }), + ...(accountId && { accountId }), + }; + client.setCredentialFeature(credentials, "CREDENTIALS_PROCESS", "w"); + return credentials; +}; + +const resolveProcessCredentials = async (profileName, profiles, logger) => { + const profile = profiles[profileName]; + if (profiles[profileName]) { + const credentialProcess = profile["credential_process"]; + if (credentialProcess !== undefined) { + const execPromise = node_util.promisify(sharedIniFileLoader.externalDataInterceptor?.getTokenRecord?.().exec ?? node_child_process.exec); + try { + const { stdout } = await execPromise(credentialProcess); + let data; + try { + data = JSON.parse(stdout.trim()); + } + catch { + throw Error(`Profile ${profileName} credential_process returned invalid JSON.`); + } + return getValidatedProcessCredentials(profileName, data, profiles); + } + catch (error) { + throw new propertyProvider.CredentialsProviderError(error.message, { logger }); + } + } + else { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger }); + } + } + else { + throw new propertyProvider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, { + logger, + }); + } +}; + +const fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => { + init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess"); + const profiles = await sharedIniFileLoader.parseKnownFiles(init); + return resolveProcessCredentials(sharedIniFileLoader.getProfileName({ + profile: init.profile ?? callerClientConfig?.profile, + }), profiles, init.logger); +}; + +exports.fromProcess = fromProcess; + + +/***/ }) + +}; +; \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 4e90e583..843fd552 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1008,10 +1008,11 @@ class Context { * Hydrate the context from the environment */ constructor() { + var _a, _b, _c; this.payload = {}; if (process.env.GITHUB_EVENT_PATH) { - if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) { - this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' })); + 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' })); } else { const path = process.env.GITHUB_EVENT_PATH; @@ -1027,6 +1028,10 @@ class Context { this.job = process.env.GITHUB_JOB; this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10); 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`; } get issue() { const payload = this.payload; @@ -1058,7 +1063,11 @@ exports.Context = Context; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + 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]; @@ -1071,7 +1080,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 (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + 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; }; @@ -1086,8 +1095,9 @@ exports.context = new Context.Context(); * @param token the repo PAT or GITHUB_TOKEN * @param options other options to set */ -function getOctokit(token, options) { - return new utils_1.GitHub(utils_1.getOctokitOptions(token, options)); +function getOctokit(token, options, ...additionalPlugins) { + const GitHubWithPlugins = utils_1.GitHub.plugin(...additionalPlugins); + return new GitHubWithPlugins((0, utils_1.getOctokitOptions)(token, options)); } exports.getOctokit = getOctokit; //# sourceMappingURL=github.js.map @@ -1101,7 +1111,11 @@ exports.getOctokit = getOctokit; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + 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]; @@ -1114,13 +1128,23 @@ 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 (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; }; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0; -const httpClient = __importStar(__nccwpck_require__(893)); +exports.getApiBaseUrl = exports.getProxyFetch = exports.getProxyAgentDispatcher = exports.getProxyAgent = exports.getAuthString = void 0; +const httpClient = __importStar(__nccwpck_require__(6255)); +const undici_1 = __nccwpck_require__(1773); function getAuthString(token, options) { if (!token && !options.auth) { throw new Error('Parameter token or opts.auth is required'); @@ -1136,6 +1160,19 @@ 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'; } @@ -1151,7 +1188,11 @@ exports.getApiBaseUrl = getApiBaseUrl; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + 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]; @@ -1164,12 +1205,12 @@ 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 (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + 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.getOctokitOptions = exports.GitHub = exports.context = void 0; +exports.getOctokitOptions = exports.GitHub = exports.defaults = exports.context = void 0; const Context = __importStar(__nccwpck_require__(4087)); const Utils = __importStar(__nccwpck_require__(7914)); // octokit + plugins @@ -1178,13 +1219,14 @@ const plugin_rest_endpoint_methods_1 = __nccwpck_require__(3044); const plugin_paginate_rest_1 = __nccwpck_require__(4193); exports.context = new Context.Context(); const baseUrl = Utils.getApiBaseUrl(); -const defaults = { +exports.defaults = { baseUrl, request: { - agent: Utils.getProxyAgent(baseUrl) + agent: Utils.getProxyAgent(baseUrl), + fetch: Utils.getProxyFetch(baseUrl) } }; -exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults); +exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(exports.defaults); /** * Convience function to correctly format Octokit Options to pass into the constructor. * @@ -1203,616 +1245,6 @@ function getOctokitOptions(token, options) { exports.getOctokitOptions = getOctokitOptions; //# sourceMappingURL=utils.js.map -/***/ }), - -/***/ 893: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - -Object.defineProperty(exports, "__esModule", ({ value: true })); -const http = __nccwpck_require__(3685); -const https = __nccwpck_require__(5687); -const pm = __nccwpck_require__(211); -let tunnel; -var HttpCodes; -(function (HttpCodes) { - HttpCodes[HttpCodes["OK"] = 200] = "OK"; - HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; - HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; - HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; - HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; - HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; - HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; - HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; - HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; - HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; - HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; - HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; - HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; - HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; - HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; - HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; - HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; - HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; - HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; - HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; - HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; - HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; - HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; - HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; - HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; - HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; - HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; -})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); -var Headers; -(function (Headers) { - Headers["Accept"] = "accept"; - Headers["ContentType"] = "content-type"; -})(Headers = exports.Headers || (exports.Headers = {})); -var MediaTypes; -(function (MediaTypes) { - MediaTypes["ApplicationJson"] = "application/json"; -})(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 - */ -function getProxyUrl(serverUrl) { - let proxyUrl = pm.getProxyUrl(new URL(serverUrl)); - return proxyUrl ? proxyUrl.href : ''; -} -exports.getProxyUrl = getProxyUrl; -const HttpRedirectCodes = [ - HttpCodes.MovedPermanently, - HttpCodes.ResourceMoved, - HttpCodes.SeeOther, - HttpCodes.TemporaryRedirect, - HttpCodes.PermanentRedirect -]; -const HttpResponseRetryCodes = [ - HttpCodes.BadGateway, - HttpCodes.ServiceUnavailable, - HttpCodes.GatewayTimeout -]; -const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; -const ExponentialBackoffCeiling = 10; -const ExponentialBackoffTimeSlice = 5; -class HttpClientError extends Error { - constructor(message, statusCode) { - super(message); - this.name = 'HttpClientError'; - this.statusCode = statusCode; - Object.setPrototypeOf(this, HttpClientError.prototype); - } -} -exports.HttpClientError = HttpClientError; -class HttpClientResponse { - constructor(message) { - this.message = message; - } - readBody() { - return new Promise(async (resolve, reject) => { - let output = Buffer.alloc(0); - this.message.on('data', (chunk) => { - output = Buffer.concat([output, chunk]); - }); - this.message.on('end', () => { - resolve(output.toString()); - }); - }); - } -} -exports.HttpClientResponse = HttpClientResponse; -function isHttps(requestUrl) { - let parsedUrl = new URL(requestUrl); - return parsedUrl.protocol === 'https:'; -} -exports.isHttps = isHttps; -class HttpClient { - constructor(userAgent, handlers, requestOptions) { - this._ignoreSslError = false; - this._allowRedirects = true; - this._allowRedirectDowngrade = false; - this._maxRedirects = 50; - this._allowRetries = false; - this._maxRetries = 1; - this._keepAlive = false; - this._disposed = false; - this.userAgent = userAgent; - this.handlers = handlers || []; - this.requestOptions = requestOptions; - if (requestOptions) { - if (requestOptions.ignoreSslError != null) { - this._ignoreSslError = requestOptions.ignoreSslError; - } - this._socketTimeout = requestOptions.socketTimeout; - if (requestOptions.allowRedirects != null) { - this._allowRedirects = requestOptions.allowRedirects; - } - if (requestOptions.allowRedirectDowngrade != null) { - this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; - } - if (requestOptions.maxRedirects != null) { - this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); - } - if (requestOptions.keepAlive != null) { - this._keepAlive = requestOptions.keepAlive; - } - if (requestOptions.allowRetries != null) { - this._allowRetries = requestOptions.allowRetries; - } - if (requestOptions.maxRetries != null) { - this._maxRetries = requestOptions.maxRetries; - } - } - } - options(requestUrl, additionalHeaders) { - return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); - } - get(requestUrl, additionalHeaders) { - return this.request('GET', requestUrl, null, additionalHeaders || {}); - } - del(requestUrl, additionalHeaders) { - return this.request('DELETE', requestUrl, null, additionalHeaders || {}); - } - post(requestUrl, data, additionalHeaders) { - return this.request('POST', requestUrl, data, additionalHeaders || {}); - } - patch(requestUrl, data, additionalHeaders) { - return this.request('PATCH', requestUrl, data, additionalHeaders || {}); - } - put(requestUrl, data, additionalHeaders) { - return this.request('PUT', requestUrl, data, additionalHeaders || {}); - } - head(requestUrl, additionalHeaders) { - return this.request('HEAD', requestUrl, null, additionalHeaders || {}); - } - sendStream(verb, requestUrl, stream, additionalHeaders) { - return this.request(verb, requestUrl, stream, additionalHeaders); - } - /** - * Gets a typed object from an endpoint - * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise - */ - async getJson(requestUrl, additionalHeaders = {}) { - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - let res = await this.get(requestUrl, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async postJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.post(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async putJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.put(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async patchJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.patch(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - /** - * Makes a raw http request. - * All other methods such as get, post, patch, and request ultimately call this. - * Prefer get, del, post and patch - */ - async request(verb, requestUrl, data, headers) { - if (this._disposed) { - throw new Error('Client has already been disposed.'); - } - let parsedUrl = new URL(requestUrl); - let info = this._prepareRequest(verb, parsedUrl, headers); - // Only perform retries on reads since writes may not be idempotent. - let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1 - ? this._maxRetries + 1 - : 1; - let numTries = 0; - let response; - while (numTries < maxTries) { - response = await this.requestRaw(info, data); - // Check if it's an authentication challenge - if (response && - response.message && - response.message.statusCode === HttpCodes.Unauthorized) { - let authenticationHandler; - for (let i = 0; i < this.handlers.length; i++) { - if (this.handlers[i].canHandleAuthentication(response)) { - authenticationHandler = this.handlers[i]; - break; - } - } - if (authenticationHandler) { - return authenticationHandler.handleAuthentication(this, info, data); - } - else { - // We have received an unauthorized response but have no handlers to handle it. - // Let the response return to the caller. - return response; - } - } - let redirectsRemaining = this._maxRedirects; - while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && - this._allowRedirects && - redirectsRemaining > 0) { - const redirectUrl = response.message.headers['location']; - if (!redirectUrl) { - // if there's no location to redirect to, we won't - break; - } - let parsedRedirectUrl = new URL(redirectUrl); - if (parsedUrl.protocol == 'https:' && - parsedUrl.protocol != parsedRedirectUrl.protocol && - !this._allowRedirectDowngrade) { - throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); - } - // we need to finish reading the response before reassigning response - // which will leak the open socket. - await response.readBody(); - // strip authorization header if redirected to a different hostname - if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { - for (let header in headers) { - // header names are case insensitive - if (header.toLowerCase() === 'authorization') { - delete headers[header]; - } - } - } - // let's make the request with the new redirectUrl - info = this._prepareRequest(verb, parsedRedirectUrl, headers); - response = await this.requestRaw(info, data); - redirectsRemaining--; - } - if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { - // If not a retry code, return immediately instead of retrying - return response; - } - numTries += 1; - if (numTries < maxTries) { - await response.readBody(); - await this._performExponentialBackoff(numTries); - } - } - return response; - } - /** - * Needs to be called if keepAlive is set to true in request options. - */ - dispose() { - if (this._agent) { - this._agent.destroy(); - } - this._disposed = true; - } - /** - * Raw request. - * @param info - * @param data - */ - requestRaw(info, data) { - return new Promise((resolve, reject) => { - let callbackForResult = function (err, res) { - if (err) { - reject(err); - } - resolve(res); - }; - this.requestRawWithCallback(info, data, callbackForResult); - }); - } - /** - * Raw request with callback. - * @param info - * @param data - * @param onResult - */ - requestRawWithCallback(info, data, onResult) { - let socket; - if (typeof data === 'string') { - info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); - } - let callbackCalled = false; - let handleResult = (err, res) => { - if (!callbackCalled) { - callbackCalled = true; - onResult(err, res); - } - }; - let req = info.httpModule.request(info.options, (msg) => { - let res = new HttpClientResponse(msg); - handleResult(null, res); - }); - req.on('socket', sock => { - socket = sock; - }); - // If we ever get disconnected, we want the socket to timeout eventually - req.setTimeout(this._socketTimeout || 3 * 60000, () => { - if (socket) { - socket.end(); - } - handleResult(new Error('Request timeout: ' + info.options.path), null); - }); - req.on('error', function (err) { - // err has statusCode property - // res should have headers - handleResult(err, null); - }); - if (data && typeof data === 'string') { - req.write(data, 'utf8'); - } - if (data && typeof data !== 'string') { - data.on('close', function () { - req.end(); - }); - data.pipe(req); - } - else { - req.end(); - } - } - /** - * Gets an http agent. This function is useful when you need an http agent that handles - * routing through a proxy server - depending upon the url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ - getAgent(serverUrl) { - let parsedUrl = new URL(serverUrl); - return this._getAgent(parsedUrl); - } - _prepareRequest(method, requestUrl, headers) { - const info = {}; - info.parsedUrl = requestUrl; - const usingSsl = info.parsedUrl.protocol === 'https:'; - info.httpModule = usingSsl ? https : http; - const defaultPort = usingSsl ? 443 : 80; - info.options = {}; - info.options.host = info.parsedUrl.hostname; - info.options.port = info.parsedUrl.port - ? parseInt(info.parsedUrl.port) - : defaultPort; - info.options.path = - (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); - info.options.method = method; - info.options.headers = this._mergeHeaders(headers); - if (this.userAgent != null) { - info.options.headers['user-agent'] = this.userAgent; - } - info.options.agent = this._getAgent(info.parsedUrl); - // gives handlers an opportunity to participate - if (this.handlers) { - this.handlers.forEach(handler => { - handler.prepareRequest(info.options); - }); - } - return info; - } - _mergeHeaders(headers) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); - if (this.requestOptions && this.requestOptions.headers) { - return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); - } - return lowercaseKeys(headers || {}); - } - _getExistingOrDefaultHeader(additionalHeaders, header, _default) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); - let clientHeader; - if (this.requestOptions && this.requestOptions.headers) { - clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; - } - return additionalHeaders[header] || clientHeader || _default; - } - _getAgent(parsedUrl) { - let agent; - let proxyUrl = pm.getProxyUrl(parsedUrl); - let useProxy = proxyUrl && proxyUrl.hostname; - if (this._keepAlive && useProxy) { - agent = this._proxyAgent; - } - if (this._keepAlive && !useProxy) { - agent = this._agent; - } - // if agent is already assigned use that agent. - if (!!agent) { - return agent; - } - const usingSsl = parsedUrl.protocol === 'https:'; - let maxSockets = 100; - if (!!this.requestOptions) { - maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; - } - if (useProxy) { - // If using proxy, need tunnel - if (!tunnel) { - tunnel = __nccwpck_require__(4294); - } - const agentOptions = { - maxSockets: maxSockets, - keepAlive: this._keepAlive, - proxy: { - ...((proxyUrl.username || proxyUrl.password) && { - proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` - }), - host: proxyUrl.hostname, - port: proxyUrl.port - } - }; - let tunnelAgent; - const overHttps = proxyUrl.protocol === 'https:'; - if (usingSsl) { - tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; - } - else { - tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; - } - agent = tunnelAgent(agentOptions); - this._proxyAgent = agent; - } - // if reusing agent across request and tunneling agent isn't assigned create a new agent - if (this._keepAlive && !agent) { - const options = { keepAlive: this._keepAlive, maxSockets: 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 - // we have to cast it to any and change it directly - agent.options = Object.assign(agent.options || {}, { - rejectUnauthorized: false - }); - } - return agent; - } - _performExponentialBackoff(retryNumber) { - retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); - const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); - return new Promise(resolve => setTimeout(() => resolve(), ms)); - } - static dateTimeDeserializer(key, value) { - if (typeof value === 'string') { - let a = new Date(value); - if (!isNaN(a.valueOf())) { - return a; - } - } - return value; - } - async _processResponse(res, options) { - return new Promise(async (resolve, reject) => { - const statusCode = res.message.statusCode; - const response = { - statusCode: statusCode, - result: null, - headers: {} - }; - // not found leads to null obj returned - if (statusCode == HttpCodes.NotFound) { - resolve(response); - } - let obj; - let contents; - // get the result from the body - try { - contents = await res.readBody(); - if (contents && contents.length > 0) { - if (options && options.deserializeDates) { - obj = JSON.parse(contents, HttpClient.dateTimeDeserializer); - } - else { - obj = JSON.parse(contents); - } - response.result = obj; - } - response.headers = res.message.headers; - } - catch (err) { - // Invalid resource (contents not json); leaving result obj null - } - // note that 3xx redirects are handled by the http layer. - if (statusCode > 299) { - let msg; - // if exception/error in body, attempt to get better error - if (obj && obj.message) { - msg = obj.message; - } - else if (contents && contents.length > 0) { - // it may be the case that the exception is in the body message as string - msg = contents; - } - else { - msg = 'Failed request: (' + statusCode + ')'; - } - let err = new HttpClientError(msg, statusCode); - err.result = response.result; - reject(err); - } - else { - resolve(response); - } - }); - } -} -exports.HttpClient = HttpClient; - - -/***/ }), - -/***/ 211: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - -Object.defineProperty(exports, "__esModule", ({ value: true })); -function getProxyUrl(reqUrl) { - let usingSsl = reqUrl.protocol === 'https:'; - let proxyUrl; - if (checkBypass(reqUrl)) { - return proxyUrl; - } - let proxyVar; - if (usingSsl) { - proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; - } - else { - proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; - } - if (proxyVar) { - proxyUrl = new URL(proxyVar); - } - return proxyUrl; -} -exports.getProxyUrl = getProxyUrl; -function checkBypass(reqUrl) { - if (!reqUrl.hostname) { - return false; - } - let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; - if (!noProxy) { - return false; - } - // Determine the request port - let reqPort; - if (reqUrl.port) { - reqPort = Number(reqUrl.port); - } - else if (reqUrl.protocol === 'http:') { - reqPort = 80; - } - else if (reqUrl.protocol === 'https:') { - reqPort = 443; - } - // Format the request hostname and hostname with port - let upperReqHosts = [reqUrl.hostname.toUpperCase()]; - if (typeof reqPort === 'number') { - upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); - } - // Compare request host against noproxy - for (let upperNoProxyItem of noProxy - .split(',') - .map(x => x.trim().toUpperCase()) - .filter(x => x)) { - if (upperReqHosts.some(x => x === upperNoProxyItem)) { - return true; - } - } - return false; -} -exports.checkBypass = checkBypass; - - /***/ }), /***/ 5526: @@ -2658,15 +2090,14 @@ function isLoopbackAddress(host) { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.resolveHttpAuthSchemeConfig = exports.defaultEC2HttpAuthSchemeProvider = exports.defaultEC2HttpAuthSchemeParametersProvider = void 0; -const core_1 = __nccwpck_require__(9963); +const httpAuthSchemes_1 = __nccwpck_require__(7862); 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`"); - })(), + region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), }; }; exports.defaultEC2HttpAuthSchemeParametersProvider = defaultEC2HttpAuthSchemeParametersProvider; @@ -2696,10 +2127,10 @@ const defaultEC2HttpAuthSchemeProvider = (authParameters) => { }; exports.defaultEC2HttpAuthSchemeProvider = defaultEC2HttpAuthSchemeProvider; const resolveHttpAuthSchemeConfig = (config) => { - const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config); - return { - ...config_0, - }; + const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); + return Object.assign(config_0, { + authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), + }); }; exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; @@ -2716,11 +2147,15 @@ exports.defaultEndpointResolver = void 0; const util_endpoints_1 = __nccwpck_require__(3350); const util_endpoints_2 = __nccwpck_require__(5473); const ruleset_1 = __nccwpck_require__(9599); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); const defaultEndpointResolver = (endpointParams, context = {}) => { - return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { endpointParams: endpointParams, logger: context.logger, - }); + })); }; exports.defaultEndpointResolver = defaultEndpointResolver; util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; @@ -2736,7 +2171,7 @@ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunct 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 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; @@ -2744,92723 +2179,56409 @@ exports.ruleSet = _data; /***/ }), /***/ 3802: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __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 middlewareHostHeader = __nccwpck_require__(2545); +var middlewareLogger = __nccwpck_require__(14); +var middlewareRecursionDetection = __nccwpck_require__(5525); +var middlewareUserAgent = __nccwpck_require__(4688); +var configResolver = __nccwpck_require__(3098); +var core = __nccwpck_require__(5829); +var schema = __nccwpck_require__(9826); +var middlewareContentLength = __nccwpck_require__(2800); +var middlewareEndpoint = __nccwpck_require__(2918); +var middlewareRetry = __nccwpck_require__(6039); +var smithyClient = __nccwpck_require__(3570); +var httpAuthSchemeProvider = __nccwpck_require__(6874); +var runtimeConfig = __nccwpck_require__(4689); +var regionConfigResolver = __nccwpck_require__(8156); +var protocolHttp = __nccwpck_require__(4418); +var schemas_0 = __nccwpck_require__(715); +var middlewareSdkEc2 = __nccwpck_require__(3525); +var utilWaiter = __nccwpck_require__(8011); +var EC2ServiceException = __nccwpck_require__(2813); + +const resolveClientEndpointParameters = (options) => { + return Object.assign(options, { + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "ec2", + }); }; -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; +const commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, }; -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); - -// src/runtimeExtensions.ts -var import_region_config_resolver = __nccwpck_require__(8156); -var import_protocol_http = __nccwpck_require__(4418); -var import_smithy_client = __nccwpck_require__(3570); - -// src/auth/httpAuthExtensionConfiguration.ts -var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { - const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; - let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; - let _credentials = runtimeConfig.credentials; - return { - setHttpAuthScheme(httpAuthScheme) { - const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); - if (index === -1) { - _httpAuthSchemes.push(httpAuthScheme); - } else { - _httpAuthSchemes.splice(index, 1, httpAuthScheme); - } - }, - httpAuthSchemes() { - return _httpAuthSchemes; - }, - setHttpAuthSchemeProvider(httpAuthSchemeProvider) { - _httpAuthSchemeProvider = httpAuthSchemeProvider; - }, - httpAuthSchemeProvider() { - return _httpAuthSchemeProvider; - }, - setCredentials(credentials) { - _credentials = credentials; - }, - credentials() { - return _credentials; - } - }; -}, "getHttpAuthExtensionConfiguration"); -var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { - return { - httpAuthSchemes: config.httpAuthSchemes(), - httpAuthSchemeProvider: config.httpAuthSchemeProvider(), - credentials: config.credentials() - }; -}, "resolveHttpAuthRuntimeConfig"); - -// src/runtimeExtensions.ts -var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial"); -var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { - const extensionConfiguration = { - ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)), - ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)), - ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)), - ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)) - }; - extensions.forEach((extension) => extension.configure(extensionConfiguration)); - return { - ...runtimeConfig, - ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), - ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), - ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), - ...resolveHttpAuthRuntimeConfig(extensionConfiguration) - }; -}, "resolveRuntimeExtensions"); - -// src/EC2Client.ts -var _EC2Client = class _EC2Client extends import_smithy_client.Client { - constructor(...[configuration]) { - const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); - const _config_1 = resolveClientEndpointParameters(_config_0); - const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1); - const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2); - const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3); - const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); - const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5); - const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); - const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []); - super(_config_8); - this.config = _config_8; - this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); - this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); - this.middlewareStack.use( - (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { - httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(), - identityProviderConfigProvider: this.getIdentityProviderConfigProvider() - }) - ); - this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); - } - /** - * Destroy underlying resources, like sockets. It's usually not necessary to do this. - * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. - * Otherwise, sockets might stay open for quite a long time before the server terminates them. - */ - destroy() { - super.destroy(); - } - getDefaultHttpAuthSchemeParametersProvider() { - return import_httpAuthSchemeProvider.defaultEC2HttpAuthSchemeParametersProvider; - } - getIdentityProviderConfigProvider() { - return async (config) => new import_core.DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials - }); - } +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; + }, + }; +}; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; }; -__name(_EC2Client, "EC2Client"); -var EC2Client = _EC2Client; -// src/EC2.ts +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); +}; +class EC2Client extends smithyClient.Client { + config; + constructor(...[configuration]) { + const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); + super(_config_0); + this.initConfig = _config_0; + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1); + const _config_3 = middlewareRetry.resolveRetryConfig(_config_2); + const _config_4 = configResolver.resolveRegionConfig(_config_3); + const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4); + const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5); + const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + this.config = _config_8; + this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); + this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config)); + this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config)); + this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config)); + this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config)); + this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config)); + this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config)); + this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultEC2HttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); + } + destroy() { + super.destroy(); + } +} -// src/commands/AcceptAddressTransferCommand.ts +class AcceptAddressTransferCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AcceptAddressTransfer", {}) + .n("EC2Client", "AcceptAddressTransferCommand") + .sc(schemas_0.AcceptAddressTransfer$) + .build() { +} -var import_middleware_serde = __nccwpck_require__(1238); +class AcceptCapacityReservationBillingOwnershipCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AcceptCapacityReservationBillingOwnership", {}) + .n("EC2Client", "AcceptCapacityReservationBillingOwnershipCommand") + .sc(schemas_0.AcceptCapacityReservationBillingOwnership$) + .build() { +} -var import_types = __nccwpck_require__(5756); +class AcceptReservedInstancesExchangeQuoteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AcceptReservedInstancesExchangeQuote", {}) + .n("EC2Client", "AcceptReservedInstancesExchangeQuoteCommand") + .sc(schemas_0.AcceptReservedInstancesExchangeQuote$) + .build() { +} -// src/protocols/Aws_ec2.ts -var import_core2 = __nccwpck_require__(9963); +class AcceptTransitGatewayMulticastDomainAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AcceptTransitGatewayMulticastDomainAssociations", {}) + .n("EC2Client", "AcceptTransitGatewayMulticastDomainAssociationsCommand") + .sc(schemas_0.AcceptTransitGatewayMulticastDomainAssociations$) + .build() { +} +class AcceptTransitGatewayPeeringAttachmentCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AcceptTransitGatewayPeeringAttachment", {}) + .n("EC2Client", "AcceptTransitGatewayPeeringAttachmentCommand") + .sc(schemas_0.AcceptTransitGatewayPeeringAttachment$) + .build() { +} -var import_uuid = __nccwpck_require__(4034); +class AcceptTransitGatewayVpcAttachmentCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AcceptTransitGatewayVpcAttachment", {}) + .n("EC2Client", "AcceptTransitGatewayVpcAttachmentCommand") + .sc(schemas_0.AcceptTransitGatewayVpcAttachment$) + .build() { +} -// src/models/EC2ServiceException.ts +class AcceptVpcEndpointConnectionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AcceptVpcEndpointConnections", {}) + .n("EC2Client", "AcceptVpcEndpointConnectionsCommand") + .sc(schemas_0.AcceptVpcEndpointConnections$) + .build() { +} -var _EC2ServiceException = class _EC2ServiceException extends import_smithy_client.ServiceException { - /** - * @internal - */ - constructor(options) { - super(options); - Object.setPrototypeOf(this, _EC2ServiceException.prototype); - } -}; -__name(_EC2ServiceException, "EC2ServiceException"); -var EC2ServiceException = _EC2ServiceException; +class AcceptVpcPeeringConnectionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AcceptVpcPeeringConnection", {}) + .n("EC2Client", "AcceptVpcPeeringConnectionCommand") + .sc(schemas_0.AcceptVpcPeeringConnection$) + .build() { +} -// 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 buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateIpamByoasnCommand"); -var se_AssociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateIpamResourceDiscoveryRequest(input, context), - [_A]: _AIRD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateIpamResourceDiscoveryCommand"); -var se_AssociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateNatGatewayAddressRequest(input, context), - [_A]: _ANGA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateNatGatewayAddressCommand"); -var se_AssociateRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateRouteTableRequest(input, context), - [_A]: _ART, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateRouteTableCommand"); -var se_AssociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateSubnetCidrBlockRequest(input, context), - [_A]: _ASCB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateSubnetCidrBlockCommand"); -var se_AssociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateTransitGatewayMulticastDomainRequest(input, context), - [_A]: _ATGMD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateTransitGatewayMulticastDomainCommand"); -var se_AssociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateTransitGatewayPolicyTableRequest(input, context), - [_A]: _ATGPT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateTransitGatewayPolicyTableCommand"); -var se_AssociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateTransitGatewayRouteTableRequest(input, context), - [_A]: _ATGRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateTransitGatewayRouteTableCommand"); -var se_AssociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateTrunkInterfaceRequest(input, context), - [_A]: _ATI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateTrunkInterfaceCommand"); -var se_AssociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AssociateVpcCidrBlockRequest(input, context), - [_A]: _AVCB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AssociateVpcCidrBlockCommand"); -var se_AttachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachClassicLinkVpcRequest(input, context), - [_A]: _ACLV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachClassicLinkVpcCommand"); -var se_AttachInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachInternetGatewayRequest(input, context), - [_A]: _AIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachInternetGatewayCommand"); -var se_AttachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachNetworkInterfaceRequest(input, context), - [_A]: _ANI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachNetworkInterfaceCommand"); -var se_AttachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachVerifiedAccessTrustProviderRequest(input, context), - [_A]: _AVATP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachVerifiedAccessTrustProviderCommand"); -var se_AttachVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachVolumeRequest(input, context), - [_A]: _AV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachVolumeCommand"); -var se_AttachVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AttachVpnGatewayRequest(input, context), - [_A]: _AVG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AttachVpnGatewayCommand"); -var se_AuthorizeClientVpnIngressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AuthorizeClientVpnIngressRequest(input, context), - [_A]: _ACVI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AuthorizeClientVpnIngressCommand"); -var se_AuthorizeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AuthorizeSecurityGroupEgressRequest(input, context), - [_A]: _ASGE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AuthorizeSecurityGroupEgressCommand"); -var se_AuthorizeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_AuthorizeSecurityGroupIngressRequest(input, context), - [_A]: _ASGI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_AuthorizeSecurityGroupIngressCommand"); -var se_BundleInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_BundleInstanceRequest(input, context), - [_A]: _BI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_BundleInstanceCommand"); -var se_CancelBundleTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelBundleTaskRequest(input, context), - [_A]: _CBT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelBundleTaskCommand"); -var se_CancelCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelCapacityReservationRequest(input, context), - [_A]: _CCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelCapacityReservationCommand"); -var se_CancelCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelCapacityReservationFleetsRequest(input, context), - [_A]: _CCRF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelCapacityReservationFleetsCommand"); -var se_CancelConversionTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelConversionRequest(input, context), - [_A]: _CCT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelConversionTaskCommand"); -var se_CancelExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelExportTaskRequest(input, context), - [_A]: _CET, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelExportTaskCommand"); -var se_CancelImageLaunchPermissionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelImageLaunchPermissionRequest(input, context), - [_A]: _CILP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelImageLaunchPermissionCommand"); -var se_CancelImportTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelImportTaskRequest(input, context), - [_A]: _CIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelImportTaskCommand"); -var se_CancelReservedInstancesListingCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelReservedInstancesListingRequest(input, context), - [_A]: _CRIL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelReservedInstancesListingCommand"); -var se_CancelSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelSpotFleetRequestsRequest(input, context), - [_A]: _CSFR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelSpotFleetRequestsCommand"); -var se_CancelSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CancelSpotInstanceRequestsRequest(input, context), - [_A]: _CSIR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CancelSpotInstanceRequestsCommand"); -var se_ConfirmProductInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_ConfirmProductInstanceRequest(input, context), - [_A]: _CPI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_ConfirmProductInstanceCommand"); -var se_CopyFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CopyFpgaImageRequest(input, context), - [_A]: _CFI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CopyFpgaImageCommand"); -var se_CopyImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CopyImageRequest(input, context), - [_A]: _CI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CopyImageCommand"); -var se_CopySnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CopySnapshotRequest(input, context), - [_A]: _CS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CopySnapshotCommand"); -var se_CreateCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCapacityReservationRequest(input, context), - [_A]: _CCRr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCapacityReservationCommand"); -var se_CreateCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCapacityReservationFleetRequest(input, context), - [_A]: _CCRFr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCapacityReservationFleetCommand"); -var se_CreateCarrierGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCarrierGatewayRequest(input, context), - [_A]: _CCG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCarrierGatewayCommand"); -var se_CreateClientVpnEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateClientVpnEndpointRequest(input, context), - [_A]: _CCVE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateClientVpnEndpointCommand"); -var se_CreateClientVpnRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateClientVpnRouteRequest(input, context), - [_A]: _CCVR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateClientVpnRouteCommand"); -var se_CreateCoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCoipCidrRequest(input, context), - [_A]: _CCC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCoipCidrCommand"); -var se_CreateCoipPoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCoipPoolRequest(input, context), - [_A]: _CCP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCoipPoolCommand"); -var se_CreateCustomerGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateCustomerGatewayRequest(input, context), - [_A]: _CCGr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateCustomerGatewayCommand"); -var se_CreateDefaultSubnetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateDefaultSubnetRequest(input, context), - [_A]: _CDS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateDefaultSubnetCommand"); -var se_CreateDefaultVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateDefaultVpcRequest(input, context), - [_A]: _CDV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateDefaultVpcCommand"); -var se_CreateDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateDhcpOptionsRequest(input, context), - [_A]: _CDO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateDhcpOptionsCommand"); -var se_CreateEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateEgressOnlyInternetGatewayRequest(input, context), - [_A]: _CEOIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateEgressOnlyInternetGatewayCommand"); -var se_CreateFleetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateFleetRequest(input, context), - [_A]: _CF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateFleetCommand"); -var se_CreateFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateFlowLogsRequest(input, context), - [_A]: _CFL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateFlowLogsCommand"); -var se_CreateFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateFpgaImageRequest(input, context), - [_A]: _CFIr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateFpgaImageCommand"); -var se_CreateImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateImageRequest(input, context), - [_A]: _CIr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateImageCommand"); -var se_CreateInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateInstanceConnectEndpointRequest(input, context), - [_A]: _CICE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateInstanceConnectEndpointCommand"); -var se_CreateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateInstanceEventWindowRequest(input, context), - [_A]: _CIEW, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateInstanceEventWindowCommand"); -var se_CreateInstanceExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateInstanceExportTaskRequest(input, context), - [_A]: _CIET, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateInstanceExportTaskCommand"); -var se_CreateInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateInternetGatewayRequest(input, context), - [_A]: _CIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateInternetGatewayCommand"); -var se_CreateIpamCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateIpamRequest(input, context), - [_A]: _CIre, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateIpamCommand"); -var se_CreateIpamPoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateIpamPoolRequest(input, context), - [_A]: _CIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateIpamPoolCommand"); -var se_CreateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateIpamResourceDiscoveryRequest(input, context), - [_A]: _CIRD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateIpamResourceDiscoveryCommand"); -var se_CreateIpamScopeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateIpamScopeRequest(input, context), - [_A]: _CIS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateIpamScopeCommand"); -var se_CreateKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateKeyPairRequest(input, context), - [_A]: _CKP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateKeyPairCommand"); -var se_CreateLaunchTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLaunchTemplateRequest(input, context), - [_A]: _CLT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLaunchTemplateCommand"); -var se_CreateLaunchTemplateVersionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLaunchTemplateVersionRequest(input, context), - [_A]: _CLTV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLaunchTemplateVersionCommand"); -var se_CreateLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLocalGatewayRouteRequest(input, context), - [_A]: _CLGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLocalGatewayRouteCommand"); -var se_CreateLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLocalGatewayRouteTableRequest(input, context), - [_A]: _CLGRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLocalGatewayRouteTableCommand"); -var se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest(input, context), - [_A]: _CLGRTVIGA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); -var se_CreateLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateLocalGatewayRouteTableVpcAssociationRequest(input, context), - [_A]: _CLGRTVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateLocalGatewayRouteTableVpcAssociationCommand"); -var se_CreateManagedPrefixListCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateManagedPrefixListRequest(input, context), - [_A]: _CMPL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateManagedPrefixListCommand"); -var se_CreateNatGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNatGatewayRequest(input, context), - [_A]: _CNG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNatGatewayCommand"); -var se_CreateNetworkAclCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkAclRequest(input, context), - [_A]: _CNA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkAclCommand"); -var se_CreateNetworkAclEntryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkAclEntryRequest(input, context), - [_A]: _CNAE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkAclEntryCommand"); -var se_CreateNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkInsightsAccessScopeRequest(input, context), - [_A]: _CNIAS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkInsightsAccessScopeCommand"); -var se_CreateNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkInsightsPathRequest(input, context), - [_A]: _CNIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkInsightsPathCommand"); -var se_CreateNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkInterfaceRequest(input, context), - [_A]: _CNI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkInterfaceCommand"); -var se_CreateNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateNetworkInterfacePermissionRequest(input, context), - [_A]: _CNIPr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateNetworkInterfacePermissionCommand"); -var se_CreatePlacementGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreatePlacementGroupRequest(input, context), - [_A]: _CPG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreatePlacementGroupCommand"); -var se_CreatePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreatePublicIpv4PoolRequest(input, context), - [_A]: _CPIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreatePublicIpv4PoolCommand"); -var se_CreateReplaceRootVolumeTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateReplaceRootVolumeTaskRequest(input, context), - [_A]: _CRRVT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateReplaceRootVolumeTaskCommand"); -var se_CreateReservedInstancesListingCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateReservedInstancesListingRequest(input, context), - [_A]: _CRILr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateReservedInstancesListingCommand"); -var se_CreateRestoreImageTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateRestoreImageTaskRequest(input, context), - [_A]: _CRIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateRestoreImageTaskCommand"); -var se_CreateRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateRouteRequest(input, context), - [_A]: _CR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateRouteCommand"); -var se_CreateRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateRouteTableRequest(input, context), - [_A]: _CRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateRouteTableCommand"); -var se_CreateSecurityGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSecurityGroupRequest(input, context), - [_A]: _CSG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSecurityGroupCommand"); -var se_CreateSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSnapshotRequest(input, context), - [_A]: _CSr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSnapshotCommand"); -var se_CreateSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSnapshotsRequest(input, context), - [_A]: _CSre, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSnapshotsCommand"); -var se_CreateSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSpotDatafeedSubscriptionRequest(input, context), - [_A]: _CSDS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSpotDatafeedSubscriptionCommand"); -var se_CreateStoreImageTaskCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateStoreImageTaskRequest(input, context), - [_A]: _CSIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateStoreImageTaskCommand"); -var se_CreateSubnetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSubnetRequest(input, context), - [_A]: _CSrea, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSubnetCommand"); -var se_CreateSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateSubnetCidrReservationRequest(input, context), - [_A]: _CSCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateSubnetCidrReservationCommand"); -var se_CreateTagsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTagsRequest(input, context), - [_A]: _CT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTagsCommand"); -var se_CreateTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTrafficMirrorFilterRequest(input, context), - [_A]: _CTMF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTrafficMirrorFilterCommand"); -var se_CreateTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTrafficMirrorFilterRuleRequest(input, context), - [_A]: _CTMFR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTrafficMirrorFilterRuleCommand"); -var se_CreateTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTrafficMirrorSessionRequest(input, context), - [_A]: _CTMS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTrafficMirrorSessionCommand"); -var se_CreateTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTrafficMirrorTargetRequest(input, context), - [_A]: _CTMT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTrafficMirrorTargetCommand"); -var se_CreateTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayRequest(input, context), - [_A]: _CTG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayCommand"); -var se_CreateTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayConnectRequest(input, context), - [_A]: _CTGC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayConnectCommand"); -var se_CreateTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayConnectPeerRequest(input, context), - [_A]: _CTGCP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayConnectPeerCommand"); -var se_CreateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayMulticastDomainRequest(input, context), - [_A]: _CTGMD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayMulticastDomainCommand"); -var se_CreateTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayPeeringAttachmentRequest(input, context), - [_A]: _CTGPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayPeeringAttachmentCommand"); -var se_CreateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayPolicyTableRequest(input, context), - [_A]: _CTGPT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayPolicyTableCommand"); -var se_CreateTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayPrefixListReferenceRequest(input, context), - [_A]: _CTGPLR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayPrefixListReferenceCommand"); -var se_CreateTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayRouteRequest(input, context), - [_A]: _CTGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayRouteCommand"); -var se_CreateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayRouteTableRequest(input, context), - [_A]: _CTGRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayRouteTableCommand"); -var se_CreateTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayRouteTableAnnouncementRequest(input, context), - [_A]: _CTGRTA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayRouteTableAnnouncementCommand"); -var se_CreateTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateTransitGatewayVpcAttachmentRequest(input, context), - [_A]: _CTGVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateTransitGatewayVpcAttachmentCommand"); -var se_CreateVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVerifiedAccessEndpointRequest(input, context), - [_A]: _CVAE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVerifiedAccessEndpointCommand"); -var se_CreateVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVerifiedAccessGroupRequest(input, context), - [_A]: _CVAG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVerifiedAccessGroupCommand"); -var se_CreateVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVerifiedAccessInstanceRequest(input, context), - [_A]: _CVAI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVerifiedAccessInstanceCommand"); -var se_CreateVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVerifiedAccessTrustProviderRequest(input, context), - [_A]: _CVATP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVerifiedAccessTrustProviderCommand"); -var se_CreateVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVolumeRequest(input, context), - [_A]: _CV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVolumeCommand"); -var se_CreateVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpcRequest(input, context), - [_A]: _CVr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpcCommand"); -var se_CreateVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpcEndpointRequest(input, context), - [_A]: _CVE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpcEndpointCommand"); -var se_CreateVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpcEndpointConnectionNotificationRequest(input, context), - [_A]: _CVECN, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpcEndpointConnectionNotificationCommand"); -var se_CreateVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpcEndpointServiceConfigurationRequest(input, context), - [_A]: _CVESC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpcEndpointServiceConfigurationCommand"); -var se_CreateVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpcPeeringConnectionRequest(input, context), - [_A]: _CVPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpcPeeringConnectionCommand"); -var se_CreateVpnConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpnConnectionRequest(input, context), - [_A]: _CVC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpnConnectionCommand"); -var se_CreateVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpnConnectionRouteRequest(input, context), - [_A]: _CVCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpnConnectionRouteCommand"); -var se_CreateVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_CreateVpnGatewayRequest(input, context), - [_A]: _CVG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_CreateVpnGatewayCommand"); -var se_DeleteCarrierGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteCarrierGatewayRequest(input, context), - [_A]: _DCG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteCarrierGatewayCommand"); -var se_DeleteClientVpnEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteClientVpnEndpointRequest(input, context), - [_A]: _DCVE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteClientVpnEndpointCommand"); -var se_DeleteClientVpnRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteClientVpnRouteRequest(input, context), - [_A]: _DCVR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteClientVpnRouteCommand"); -var se_DeleteCoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteCoipCidrRequest(input, context), - [_A]: _DCC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteCoipCidrCommand"); -var se_DeleteCoipPoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteCoipPoolRequest(input, context), - [_A]: _DCP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteCoipPoolCommand"); -var se_DeleteCustomerGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteCustomerGatewayRequest(input, context), - [_A]: _DCGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteCustomerGatewayCommand"); -var se_DeleteDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteDhcpOptionsRequest(input, context), - [_A]: _DDO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteDhcpOptionsCommand"); -var se_DeleteEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteEgressOnlyInternetGatewayRequest(input, context), - [_A]: _DEOIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteEgressOnlyInternetGatewayCommand"); -var se_DeleteFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteFleetsRequest(input, context), - [_A]: _DF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteFleetsCommand"); -var se_DeleteFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteFlowLogsRequest(input, context), - [_A]: _DFL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteFlowLogsCommand"); -var se_DeleteFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteFpgaImageRequest(input, context), - [_A]: _DFI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteFpgaImageCommand"); -var se_DeleteInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteInstanceConnectEndpointRequest(input, context), - [_A]: _DICE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteInstanceConnectEndpointCommand"); -var se_DeleteInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteInstanceEventWindowRequest(input, context), - [_A]: _DIEW, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteInstanceEventWindowCommand"); -var se_DeleteInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteInternetGatewayRequest(input, context), - [_A]: _DIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteInternetGatewayCommand"); -var se_DeleteIpamCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteIpamRequest(input, context), - [_A]: _DI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteIpamCommand"); -var se_DeleteIpamPoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteIpamPoolRequest(input, context), - [_A]: _DIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteIpamPoolCommand"); -var se_DeleteIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteIpamResourceDiscoveryRequest(input, context), - [_A]: _DIRD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteIpamResourceDiscoveryCommand"); -var se_DeleteIpamScopeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteIpamScopeRequest(input, context), - [_A]: _DIS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteIpamScopeCommand"); -var se_DeleteKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteKeyPairRequest(input, context), - [_A]: _DKP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteKeyPairCommand"); -var se_DeleteLaunchTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLaunchTemplateRequest(input, context), - [_A]: _DLT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLaunchTemplateCommand"); -var se_DeleteLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLaunchTemplateVersionsRequest(input, context), - [_A]: _DLTV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLaunchTemplateVersionsCommand"); -var se_DeleteLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLocalGatewayRouteRequest(input, context), - [_A]: _DLGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLocalGatewayRouteCommand"); -var se_DeleteLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLocalGatewayRouteTableRequest(input, context), - [_A]: _DLGRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLocalGatewayRouteTableCommand"); -var se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest(input, context), - [_A]: _DLGRTVIGA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); -var se_DeleteLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteLocalGatewayRouteTableVpcAssociationRequest(input, context), - [_A]: _DLGRTVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteLocalGatewayRouteTableVpcAssociationCommand"); -var se_DeleteManagedPrefixListCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteManagedPrefixListRequest(input, context), - [_A]: _DMPL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteManagedPrefixListCommand"); -var se_DeleteNatGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNatGatewayRequest(input, context), - [_A]: _DNG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNatGatewayCommand"); -var se_DeleteNetworkAclCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkAclRequest(input, context), - [_A]: _DNA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkAclCommand"); -var se_DeleteNetworkAclEntryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkAclEntryRequest(input, context), - [_A]: _DNAE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkAclEntryCommand"); -var se_DeleteNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInsightsAccessScopeRequest(input, context), - [_A]: _DNIAS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInsightsAccessScopeCommand"); -var se_DeleteNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInsightsAccessScopeAnalysisRequest(input, context), - [_A]: _DNIASA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInsightsAccessScopeAnalysisCommand"); -var se_DeleteNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInsightsAnalysisRequest(input, context), - [_A]: _DNIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInsightsAnalysisCommand"); -var se_DeleteNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInsightsPathRequest(input, context), - [_A]: _DNIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInsightsPathCommand"); -var se_DeleteNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInterfaceRequest(input, context), - [_A]: _DNI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInterfaceCommand"); -var se_DeleteNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteNetworkInterfacePermissionRequest(input, context), - [_A]: _DNIPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteNetworkInterfacePermissionCommand"); -var se_DeletePlacementGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeletePlacementGroupRequest(input, context), - [_A]: _DPG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeletePlacementGroupCommand"); -var se_DeletePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeletePublicIpv4PoolRequest(input, context), - [_A]: _DPIP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeletePublicIpv4PoolCommand"); -var se_DeleteQueuedReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteQueuedReservedInstancesRequest(input, context), - [_A]: _DQRI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteQueuedReservedInstancesCommand"); -var se_DeleteRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteRouteRequest(input, context), - [_A]: _DR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteRouteCommand"); -var se_DeleteRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteRouteTableRequest(input, context), - [_A]: _DRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteRouteTableCommand"); -var se_DeleteSecurityGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteSecurityGroupRequest(input, context), - [_A]: _DSG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteSecurityGroupCommand"); -var se_DeleteSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteSnapshotRequest(input, context), - [_A]: _DS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteSnapshotCommand"); -var se_DeleteSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteSpotDatafeedSubscriptionRequest(input, context), - [_A]: _DSDS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteSpotDatafeedSubscriptionCommand"); -var se_DeleteSubnetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteSubnetRequest(input, context), - [_A]: _DSe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteSubnetCommand"); -var se_DeleteSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteSubnetCidrReservationRequest(input, context), - [_A]: _DSCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteSubnetCidrReservationCommand"); -var se_DeleteTagsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTagsRequest(input, context), - [_A]: _DT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTagsCommand"); -var se_DeleteTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTrafficMirrorFilterRequest(input, context), - [_A]: _DTMF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTrafficMirrorFilterCommand"); -var se_DeleteTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTrafficMirrorFilterRuleRequest(input, context), - [_A]: _DTMFR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTrafficMirrorFilterRuleCommand"); -var se_DeleteTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTrafficMirrorSessionRequest(input, context), - [_A]: _DTMS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTrafficMirrorSessionCommand"); -var se_DeleteTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTrafficMirrorTargetRequest(input, context), - [_A]: _DTMT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTrafficMirrorTargetCommand"); -var se_DeleteTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayRequest(input, context), - [_A]: _DTG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayCommand"); -var se_DeleteTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayConnectRequest(input, context), - [_A]: _DTGC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayConnectCommand"); -var se_DeleteTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayConnectPeerRequest(input, context), - [_A]: _DTGCP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayConnectPeerCommand"); -var se_DeleteTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayMulticastDomainRequest(input, context), - [_A]: _DTGMD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayMulticastDomainCommand"); -var se_DeleteTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayPeeringAttachmentRequest(input, context), - [_A]: _DTGPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayPeeringAttachmentCommand"); -var se_DeleteTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayPolicyTableRequest(input, context), - [_A]: _DTGPT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayPolicyTableCommand"); -var se_DeleteTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayPrefixListReferenceRequest(input, context), - [_A]: _DTGPLR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayPrefixListReferenceCommand"); -var se_DeleteTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayRouteRequest(input, context), - [_A]: _DTGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayRouteCommand"); -var se_DeleteTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayRouteTableRequest(input, context), - [_A]: _DTGRT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayRouteTableCommand"); -var se_DeleteTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayRouteTableAnnouncementRequest(input, context), - [_A]: _DTGRTA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayRouteTableAnnouncementCommand"); -var se_DeleteTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteTransitGatewayVpcAttachmentRequest(input, context), - [_A]: _DTGVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteTransitGatewayVpcAttachmentCommand"); -var se_DeleteVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVerifiedAccessEndpointRequest(input, context), - [_A]: _DVAE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVerifiedAccessEndpointCommand"); -var se_DeleteVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVerifiedAccessGroupRequest(input, context), - [_A]: _DVAG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVerifiedAccessGroupCommand"); -var se_DeleteVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVerifiedAccessInstanceRequest(input, context), - [_A]: _DVAI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVerifiedAccessInstanceCommand"); -var se_DeleteVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVerifiedAccessTrustProviderRequest(input, context), - [_A]: _DVATP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVerifiedAccessTrustProviderCommand"); -var se_DeleteVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVolumeRequest(input, context), - [_A]: _DV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVolumeCommand"); -var se_DeleteVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpcRequest(input, context), - [_A]: _DVe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpcCommand"); -var se_DeleteVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpcEndpointConnectionNotificationsRequest(input, context), - [_A]: _DVECN, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpcEndpointConnectionNotificationsCommand"); -var se_DeleteVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpcEndpointsRequest(input, context), - [_A]: _DVE, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpcEndpointsCommand"); -var se_DeleteVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpcEndpointServiceConfigurationsRequest(input, context), - [_A]: _DVESC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpcEndpointServiceConfigurationsCommand"); -var se_DeleteVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpcPeeringConnectionRequest(input, context), - [_A]: _DVPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpcPeeringConnectionCommand"); -var se_DeleteVpnConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpnConnectionRequest(input, context), - [_A]: _DVC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpnConnectionCommand"); -var se_DeleteVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpnConnectionRouteRequest(input, context), - [_A]: _DVCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpnConnectionRouteCommand"); -var se_DeleteVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeleteVpnGatewayRequest(input, context), - [_A]: _DVG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeleteVpnGatewayCommand"); -var se_DeprovisionByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeprovisionByoipCidrRequest(input, context), - [_A]: _DBC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeprovisionByoipCidrCommand"); -var se_DeprovisionIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeprovisionIpamByoasnRequest(input, context), - [_A]: _DIB, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeprovisionIpamByoasnCommand"); -var se_DeprovisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeprovisionIpamPoolCidrRequest(input, context), - [_A]: _DIPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeprovisionIpamPoolCidrCommand"); -var se_DeprovisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeprovisionPublicIpv4PoolCidrRequest(input, context), - [_A]: _DPIPC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeprovisionPublicIpv4PoolCidrCommand"); -var se_DeregisterImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeregisterImageRequest(input, context), - [_A]: _DIe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeregisterImageCommand"); -var se_DeregisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeregisterInstanceEventNotificationAttributesRequest(input, context), - [_A]: _DIENA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeregisterInstanceEventNotificationAttributesCommand"); -var se_DeregisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeregisterTransitGatewayMulticastGroupMembersRequest(input, context), - [_A]: _DTGMGM, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeregisterTransitGatewayMulticastGroupMembersCommand"); -var se_DeregisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DeregisterTransitGatewayMulticastGroupSourcesRequest(input, context), - [_A]: _DTGMGS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DeregisterTransitGatewayMulticastGroupSourcesCommand"); -var se_DescribeAccountAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAccountAttributesRequest(input, context), - [_A]: _DAA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAccountAttributesCommand"); -var se_DescribeAddressesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAddressesRequest(input, context), - [_A]: _DA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAddressesCommand"); -var se_DescribeAddressesAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAddressesAttributeRequest(input, context), - [_A]: _DAAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAddressesAttributeCommand"); -var se_DescribeAddressTransfersCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAddressTransfersRequest(input, context), - [_A]: _DAT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAddressTransfersCommand"); -var se_DescribeAggregateIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAggregateIdFormatRequest(input, context), - [_A]: _DAIF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAggregateIdFormatCommand"); -var se_DescribeAvailabilityZonesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAvailabilityZonesRequest(input, context), - [_A]: _DAZ, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAvailabilityZonesCommand"); -var se_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeAwsNetworkPerformanceMetricSubscriptionsRequest(input, context), - [_A]: _DANPMS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand"); -var se_DescribeBundleTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeBundleTasksRequest(input, context), - [_A]: _DBT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeBundleTasksCommand"); -var se_DescribeByoipCidrsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeByoipCidrsRequest(input, context), - [_A]: _DBCe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeByoipCidrsCommand"); -var se_DescribeCapacityBlockOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCapacityBlockOfferingsRequest(input, context), - [_A]: _DCBO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCapacityBlockOfferingsCommand"); -var se_DescribeCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCapacityReservationFleetsRequest(input, context), - [_A]: _DCRF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCapacityReservationFleetsCommand"); -var se_DescribeCapacityReservationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCapacityReservationsRequest(input, context), - [_A]: _DCR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCapacityReservationsCommand"); -var se_DescribeCarrierGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCarrierGatewaysRequest(input, context), - [_A]: _DCGes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCarrierGatewaysCommand"); -var se_DescribeClassicLinkInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClassicLinkInstancesRequest(input, context), - [_A]: _DCLI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClassicLinkInstancesCommand"); -var se_DescribeClientVpnAuthorizationRulesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClientVpnAuthorizationRulesRequest(input, context), - [_A]: _DCVAR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClientVpnAuthorizationRulesCommand"); -var se_DescribeClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClientVpnConnectionsRequest(input, context), - [_A]: _DCVC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClientVpnConnectionsCommand"); -var se_DescribeClientVpnEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClientVpnEndpointsRequest(input, context), - [_A]: _DCVEe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClientVpnEndpointsCommand"); -var se_DescribeClientVpnRoutesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClientVpnRoutesRequest(input, context), - [_A]: _DCVRe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClientVpnRoutesCommand"); -var se_DescribeClientVpnTargetNetworksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeClientVpnTargetNetworksRequest(input, context), - [_A]: _DCVTN, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeClientVpnTargetNetworksCommand"); -var se_DescribeCoipPoolsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCoipPoolsRequest(input, context), - [_A]: _DCPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCoipPoolsCommand"); -var se_DescribeConversionTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeConversionTasksRequest(input, context), - [_A]: _DCT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeConversionTasksCommand"); -var se_DescribeCustomerGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeCustomerGatewaysRequest(input, context), - [_A]: _DCGesc, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeCustomerGatewaysCommand"); -var se_DescribeDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeDhcpOptionsRequest(input, context), - [_A]: _DDOe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeDhcpOptionsCommand"); -var se_DescribeEgressOnlyInternetGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeEgressOnlyInternetGatewaysRequest(input, context), - [_A]: _DEOIGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeEgressOnlyInternetGatewaysCommand"); -var se_DescribeElasticGpusCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeElasticGpusRequest(input, context), - [_A]: _DEG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeElasticGpusCommand"); -var se_DescribeExportImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeExportImageTasksRequest(input, context), - [_A]: _DEIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeExportImageTasksCommand"); -var se_DescribeExportTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeExportTasksRequest(input, context), - [_A]: _DET, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeExportTasksCommand"); -var se_DescribeFastLaunchImagesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFastLaunchImagesRequest(input, context), - [_A]: _DFLI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFastLaunchImagesCommand"); -var se_DescribeFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFastSnapshotRestoresRequest(input, context), - [_A]: _DFSR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFastSnapshotRestoresCommand"); -var se_DescribeFleetHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFleetHistoryRequest(input, context), - [_A]: _DFH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFleetHistoryCommand"); -var se_DescribeFleetInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFleetInstancesRequest(input, context), - [_A]: _DFIe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFleetInstancesCommand"); -var se_DescribeFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFleetsRequest(input, context), - [_A]: _DFe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFleetsCommand"); -var se_DescribeFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFlowLogsRequest(input, context), - [_A]: _DFLe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFlowLogsCommand"); -var se_DescribeFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFpgaImageAttributeRequest(input, context), - [_A]: _DFIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFpgaImageAttributeCommand"); -var se_DescribeFpgaImagesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeFpgaImagesRequest(input, context), - [_A]: _DFIes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeFpgaImagesCommand"); -var se_DescribeHostReservationOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeHostReservationOfferingsRequest(input, context), - [_A]: _DHRO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeHostReservationOfferingsCommand"); -var se_DescribeHostReservationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeHostReservationsRequest(input, context), - [_A]: _DHR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeHostReservationsCommand"); -var se_DescribeHostsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeHostsRequest(input, context), - [_A]: _DH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeHostsCommand"); -var se_DescribeIamInstanceProfileAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIamInstanceProfileAssociationsRequest(input, context), - [_A]: _DIIPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIamInstanceProfileAssociationsCommand"); -var se_DescribeIdentityIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIdentityIdFormatRequest(input, context), - [_A]: _DIIF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIdentityIdFormatCommand"); -var se_DescribeIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIdFormatRequest(input, context), - [_A]: _DIF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIdFormatCommand"); -var se_DescribeImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeImageAttributeRequest(input, context), - [_A]: _DIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeImageAttributeCommand"); -var se_DescribeImagesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeImagesRequest(input, context), - [_A]: _DIes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeImagesCommand"); -var se_DescribeImportImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeImportImageTasksRequest(input, context), - [_A]: _DIIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeImportImageTasksCommand"); -var se_DescribeImportSnapshotTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeImportSnapshotTasksRequest(input, context), - [_A]: _DIST, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeImportSnapshotTasksCommand"); -var se_DescribeInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceAttributeRequest(input, context), - [_A]: _DIAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceAttributeCommand"); -var se_DescribeInstanceConnectEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceConnectEndpointsRequest(input, context), - [_A]: _DICEe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceConnectEndpointsCommand"); -var se_DescribeInstanceCreditSpecificationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceCreditSpecificationsRequest(input, context), - [_A]: _DICS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceCreditSpecificationsCommand"); -var se_DescribeInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceEventNotificationAttributesRequest(input, context), - [_A]: _DIENAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceEventNotificationAttributesCommand"); -var se_DescribeInstanceEventWindowsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceEventWindowsRequest(input, context), - [_A]: _DIEWe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceEventWindowsCommand"); -var se_DescribeInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstancesRequest(input, context), - [_A]: _DIesc, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstancesCommand"); -var se_DescribeInstanceStatusCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceStatusRequest(input, context), - [_A]: _DISe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceStatusCommand"); -var se_DescribeInstanceTopologyCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceTopologyRequest(input, context), - [_A]: _DIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceTopologyCommand"); -var se_DescribeInstanceTypeOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceTypeOfferingsRequest(input, context), - [_A]: _DITO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceTypeOfferingsCommand"); -var se_DescribeInstanceTypesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInstanceTypesRequest(input, context), - [_A]: _DITe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInstanceTypesCommand"); -var se_DescribeInternetGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeInternetGatewaysRequest(input, context), - [_A]: _DIGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeInternetGatewaysCommand"); -var se_DescribeIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamByoasnRequest(input, context), - [_A]: _DIBe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamByoasnCommand"); -var se_DescribeIpamPoolsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamPoolsRequest(input, context), - [_A]: _DIPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamPoolsCommand"); -var se_DescribeIpamResourceDiscoveriesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamResourceDiscoveriesRequest(input, context), - [_A]: _DIRDe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamResourceDiscoveriesCommand"); -var se_DescribeIpamResourceDiscoveryAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamResourceDiscoveryAssociationsRequest(input, context), - [_A]: _DIRDA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamResourceDiscoveryAssociationsCommand"); -var se_DescribeIpamsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamsRequest(input, context), - [_A]: _DIescr, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamsCommand"); -var se_DescribeIpamScopesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpamScopesRequest(input, context), - [_A]: _DISes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpamScopesCommand"); -var se_DescribeIpv6PoolsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeIpv6PoolsRequest(input, context), - [_A]: _DIPes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeIpv6PoolsCommand"); -var se_DescribeKeyPairsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeKeyPairsRequest(input, context), - [_A]: _DKPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeKeyPairsCommand"); -var se_DescribeLaunchTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLaunchTemplatesRequest(input, context), - [_A]: _DLTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLaunchTemplatesCommand"); -var se_DescribeLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLaunchTemplateVersionsRequest(input, context), - [_A]: _DLTVe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLaunchTemplateVersionsCommand"); -var se_DescribeLocalGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewayRouteTablesRequest(input, context), - [_A]: _DLGRTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewayRouteTablesCommand"); -var se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest(input, context), - [_A]: _DLGRTVIGAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand"); -var se_DescribeLocalGatewayRouteTableVpcAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewayRouteTableVpcAssociationsRequest(input, context), - [_A]: _DLGRTVAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewayRouteTableVpcAssociationsCommand"); -var se_DescribeLocalGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewaysRequest(input, context), - [_A]: _DLG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewaysCommand"); -var se_DescribeLocalGatewayVirtualInterfaceGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewayVirtualInterfaceGroupsRequest(input, context), - [_A]: _DLGVIG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewayVirtualInterfaceGroupsCommand"); -var se_DescribeLocalGatewayVirtualInterfacesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLocalGatewayVirtualInterfacesRequest(input, context), - [_A]: _DLGVI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLocalGatewayVirtualInterfacesCommand"); -var se_DescribeLockedSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeLockedSnapshotsRequest(input, context), - [_A]: _DLS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeLockedSnapshotsCommand"); -var se_DescribeMacHostsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeMacHostsRequest(input, context), - [_A]: _DMH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeMacHostsCommand"); -var se_DescribeManagedPrefixListsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeManagedPrefixListsRequest(input, context), - [_A]: _DMPLe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeManagedPrefixListsCommand"); -var se_DescribeMovingAddressesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeMovingAddressesRequest(input, context), - [_A]: _DMA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeMovingAddressesCommand"); -var se_DescribeNatGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNatGatewaysRequest(input, context), - [_A]: _DNGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNatGatewaysCommand"); -var se_DescribeNetworkAclsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkAclsRequest(input, context), - [_A]: _DNAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkAclsCommand"); -var se_DescribeNetworkInsightsAccessScopeAnalysesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInsightsAccessScopeAnalysesRequest(input, context), - [_A]: _DNIASAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInsightsAccessScopeAnalysesCommand"); -var se_DescribeNetworkInsightsAccessScopesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInsightsAccessScopesRequest(input, context), - [_A]: _DNIASe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInsightsAccessScopesCommand"); -var se_DescribeNetworkInsightsAnalysesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInsightsAnalysesRequest(input, context), - [_A]: _DNIAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInsightsAnalysesCommand"); -var se_DescribeNetworkInsightsPathsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInsightsPathsRequest(input, context), - [_A]: _DNIPes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInsightsPathsCommand"); -var se_DescribeNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInterfaceAttributeRequest(input, context), - [_A]: _DNIAes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInterfaceAttributeCommand"); -var se_DescribeNetworkInterfacePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInterfacePermissionsRequest(input, context), - [_A]: _DNIPesc, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInterfacePermissionsCommand"); -var se_DescribeNetworkInterfacesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeNetworkInterfacesRequest(input, context), - [_A]: _DNIe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeNetworkInterfacesCommand"); -var se_DescribePlacementGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribePlacementGroupsRequest(input, context), - [_A]: _DPGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribePlacementGroupsCommand"); -var se_DescribePrefixListsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribePrefixListsRequest(input, context), - [_A]: _DPL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribePrefixListsCommand"); -var se_DescribePrincipalIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribePrincipalIdFormatRequest(input, context), - [_A]: _DPIF, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribePrincipalIdFormatCommand"); -var se_DescribePublicIpv4PoolsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribePublicIpv4PoolsRequest(input, context), - [_A]: _DPIPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribePublicIpv4PoolsCommand"); -var se_DescribeRegionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeRegionsRequest(input, context), - [_A]: _DRe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeRegionsCommand"); -var se_DescribeReplaceRootVolumeTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeReplaceRootVolumeTasksRequest(input, context), - [_A]: _DRRVT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeReplaceRootVolumeTasksCommand"); -var se_DescribeReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeReservedInstancesRequest(input, context), - [_A]: _DRI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeReservedInstancesCommand"); -var se_DescribeReservedInstancesListingsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeReservedInstancesListingsRequest(input, context), - [_A]: _DRIL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeReservedInstancesListingsCommand"); -var se_DescribeReservedInstancesModificationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeReservedInstancesModificationsRequest(input, context), - [_A]: _DRIM, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeReservedInstancesModificationsCommand"); -var se_DescribeReservedInstancesOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeReservedInstancesOfferingsRequest(input, context), - [_A]: _DRIO, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeReservedInstancesOfferingsCommand"); -var se_DescribeRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeRouteTablesRequest(input, context), - [_A]: _DRTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeRouteTablesCommand"); -var se_DescribeScheduledInstanceAvailabilityCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeScheduledInstanceAvailabilityRequest(input, context), - [_A]: _DSIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeScheduledInstanceAvailabilityCommand"); -var se_DescribeScheduledInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeScheduledInstancesRequest(input, context), - [_A]: _DSI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeScheduledInstancesCommand"); -var se_DescribeSecurityGroupReferencesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSecurityGroupReferencesRequest(input, context), - [_A]: _DSGR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSecurityGroupReferencesCommand"); -var se_DescribeSecurityGroupRulesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSecurityGroupRulesRequest(input, context), - [_A]: _DSGRe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSecurityGroupRulesCommand"); -var se_DescribeSecurityGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSecurityGroupsRequest(input, context), - [_A]: _DSGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSecurityGroupsCommand"); -var se_DescribeSnapshotAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSnapshotAttributeRequest(input, context), - [_A]: _DSA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSnapshotAttributeCommand"); -var se_DescribeSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSnapshotsRequest(input, context), - [_A]: _DSes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSnapshotsCommand"); -var se_DescribeSnapshotTierStatusCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSnapshotTierStatusRequest(input, context), - [_A]: _DSTS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSnapshotTierStatusCommand"); -var se_DescribeSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotDatafeedSubscriptionRequest(input, context), - [_A]: _DSDSe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotDatafeedSubscriptionCommand"); -var se_DescribeSpotFleetInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotFleetInstancesRequest(input, context), - [_A]: _DSFI, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotFleetInstancesCommand"); -var se_DescribeSpotFleetRequestHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotFleetRequestHistoryRequest(input, context), - [_A]: _DSFRH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotFleetRequestHistoryCommand"); -var se_DescribeSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotFleetRequestsRequest(input, context), - [_A]: _DSFR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotFleetRequestsCommand"); -var se_DescribeSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotInstanceRequestsRequest(input, context), - [_A]: _DSIR, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotInstanceRequestsCommand"); -var se_DescribeSpotPriceHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSpotPriceHistoryRequest(input, context), - [_A]: _DSPH, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSpotPriceHistoryCommand"); -var se_DescribeStaleSecurityGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeStaleSecurityGroupsRequest(input, context), - [_A]: _DSSG, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeStaleSecurityGroupsCommand"); -var se_DescribeStoreImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeStoreImageTasksRequest(input, context), - [_A]: _DSIT, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeStoreImageTasksCommand"); -var se_DescribeSubnetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeSubnetsRequest(input, context), - [_A]: _DSesc, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeSubnetsCommand"); -var se_DescribeTagsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTagsRequest(input, context), - [_A]: _DTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTagsCommand"); -var se_DescribeTrafficMirrorFiltersCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTrafficMirrorFiltersRequest(input, context), - [_A]: _DTMFe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTrafficMirrorFiltersCommand"); -var se_DescribeTrafficMirrorSessionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTrafficMirrorSessionsRequest(input, context), - [_A]: _DTMSe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTrafficMirrorSessionsCommand"); -var se_DescribeTrafficMirrorTargetsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTrafficMirrorTargetsRequest(input, context), - [_A]: _DTMTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTrafficMirrorTargetsCommand"); -var se_DescribeTransitGatewayAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayAttachmentsRequest(input, context), - [_A]: _DTGA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayAttachmentsCommand"); -var se_DescribeTransitGatewayConnectPeersCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayConnectPeersRequest(input, context), - [_A]: _DTGCPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayConnectPeersCommand"); -var se_DescribeTransitGatewayConnectsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayConnectsRequest(input, context), - [_A]: _DTGCe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayConnectsCommand"); -var se_DescribeTransitGatewayMulticastDomainsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayMulticastDomainsRequest(input, context), - [_A]: _DTGMDe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayMulticastDomainsCommand"); -var se_DescribeTransitGatewayPeeringAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayPeeringAttachmentsRequest(input, context), - [_A]: _DTGPAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayPeeringAttachmentsCommand"); -var se_DescribeTransitGatewayPolicyTablesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayPolicyTablesRequest(input, context), - [_A]: _DTGPTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayPolicyTablesCommand"); -var se_DescribeTransitGatewayRouteTableAnnouncementsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayRouteTableAnnouncementsRequest(input, context), - [_A]: _DTGRTAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayRouteTableAnnouncementsCommand"); -var se_DescribeTransitGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayRouteTablesRequest(input, context), - [_A]: _DTGRTe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayRouteTablesCommand"); -var se_DescribeTransitGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewaysRequest(input, context), - [_A]: _DTGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewaysCommand"); -var se_DescribeTransitGatewayVpcAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTransitGatewayVpcAttachmentsRequest(input, context), - [_A]: _DTGVAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTransitGatewayVpcAttachmentsCommand"); -var se_DescribeTrunkInterfaceAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeTrunkInterfaceAssociationsRequest(input, context), - [_A]: _DTIA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeTrunkInterfaceAssociationsCommand"); -var se_DescribeVerifiedAccessEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVerifiedAccessEndpointsRequest(input, context), - [_A]: _DVAEe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVerifiedAccessEndpointsCommand"); -var se_DescribeVerifiedAccessGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVerifiedAccessGroupsRequest(input, context), - [_A]: _DVAGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVerifiedAccessGroupsCommand"); -var se_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(input, context), - [_A]: _DVAILC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand"); -var se_DescribeVerifiedAccessInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVerifiedAccessInstancesRequest(input, context), - [_A]: _DVAIe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVerifiedAccessInstancesCommand"); -var se_DescribeVerifiedAccessTrustProvidersCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVerifiedAccessTrustProvidersRequest(input, context), - [_A]: _DVATPe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVerifiedAccessTrustProvidersCommand"); -var se_DescribeVolumeAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVolumeAttributeRequest(input, context), - [_A]: _DVA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVolumeAttributeCommand"); -var se_DescribeVolumesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVolumesRequest(input, context), - [_A]: _DVes, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVolumesCommand"); -var se_DescribeVolumesModificationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVolumesModificationsRequest(input, context), - [_A]: _DVM, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVolumesModificationsCommand"); -var se_DescribeVolumeStatusCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVolumeStatusRequest(input, context), - [_A]: _DVS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVolumeStatusCommand"); -var se_DescribeVpcAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcAttributeRequest(input, context), - [_A]: _DVAe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcAttributeCommand"); -var se_DescribeVpcClassicLinkCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcClassicLinkRequest(input, context), - [_A]: _DVCL, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcClassicLinkCommand"); -var se_DescribeVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcClassicLinkDnsSupportRequest(input, context), - [_A]: _DVCLDS, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcClassicLinkDnsSupportCommand"); -var se_DescribeVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointConnectionNotificationsRequest(input, context), - [_A]: _DVECNe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointConnectionNotificationsCommand"); -var se_DescribeVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointConnectionsRequest(input, context), - [_A]: _DVEC, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointConnectionsCommand"); -var se_DescribeVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointsRequest(input, context), - [_A]: _DVEe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointsCommand"); -var se_DescribeVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointServiceConfigurationsRequest(input, context), - [_A]: _DVESCe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointServiceConfigurationsCommand"); -var se_DescribeVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointServicePermissionsRequest(input, context), - [_A]: _DVESP, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointServicePermissionsCommand"); -var se_DescribeVpcEndpointServicesCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcEndpointServicesRequest(input, context), - [_A]: _DVES, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcEndpointServicesCommand"); -var se_DescribeVpcPeeringConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcPeeringConnectionsRequest(input, context), - [_A]: _DVPCe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcPeeringConnectionsCommand"); -var se_DescribeVpcsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpcsRequest(input, context), - [_A]: _DVesc, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpcsCommand"); -var se_DescribeVpnConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpnConnectionsRequest(input, context), - [_A]: _DVCe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpnConnectionsCommand"); -var se_DescribeVpnGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DescribeVpnGatewaysRequest(input, context), - [_A]: _DVGe, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DescribeVpnGatewaysCommand"); -var se_DetachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachClassicLinkVpcRequest(input, context), - [_A]: _DCLV, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachClassicLinkVpcCommand"); -var se_DetachInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachInternetGatewayRequest(input, context), - [_A]: _DIGet, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachInternetGatewayCommand"); -var se_DetachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachNetworkInterfaceRequest(input, context), - [_A]: _DNIet, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachNetworkInterfaceCommand"); -var se_DetachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachVerifiedAccessTrustProviderRequest(input, context), - [_A]: _DVATPet, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachVerifiedAccessTrustProviderCommand"); -var se_DetachVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachVolumeRequest(input, context), - [_A]: _DVet, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachVolumeCommand"); -var se_DetachVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DetachVpnGatewayRequest(input, context), - [_A]: _DVGet, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DetachVpnGatewayCommand"); -var se_DisableAddressTransferCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableAddressTransferRequest(input, context), - [_A]: _DATi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableAddressTransferCommand"); -var se_DisableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableAwsNetworkPerformanceMetricSubscriptionRequest(input, context), - [_A]: _DANPMSi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableAwsNetworkPerformanceMetricSubscriptionCommand"); -var se_DisableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableEbsEncryptionByDefaultRequest(input, context), - [_A]: _DEEBD, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableEbsEncryptionByDefaultCommand"); -var se_DisableFastLaunchCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableFastLaunchRequest(input, context), - [_A]: _DFLi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableFastLaunchCommand"); -var se_DisableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableFastSnapshotRestoresRequest(input, context), - [_A]: _DFSRi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableFastSnapshotRestoresCommand"); -var se_DisableImageCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableImageRequest(input, context), - [_A]: _DIi, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableImageCommand"); -var se_DisableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableImageBlockPublicAccessRequest(input, context), - [_A]: _DIBPA, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableImageBlockPublicAccessCommand"); -var se_DisableImageDeprecationCommand = /* @__PURE__ */ __name(async (input, context) => { - const headers = SHARED_HEADERS; - let body; - body = buildFormUrlencodedString({ - ...se_DisableImageDeprecationRequest(input, context), - [_A]: _DID, - [_V]: _ - }); - return buildHttpRpcRequest(context, headers, "/", void 0, body); -}, "se_DisableImageDeprecationCommand"); -var se_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: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -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 - }; -} - -/** - * 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); -} - -const createTokenAuth = function createTokenAuth(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) - }); -}; - -exports.createTokenAuth = createTokenAuth; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 6762: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -var universalUserAgent = __nccwpck_require__(5030); -var beforeAfterHook = __nccwpck_require__(3682); -var request = __nccwpck_require__(6234); -var graphql = __nccwpck_require__(8467); -var authToken = __nccwpck_require__(334); - -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; -} - -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 target; -} - -const VERSION = "3.6.0"; - -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: "" - } - }; // 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; - } - - 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; - } - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ - - - 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; - } - -} -Octokit.VERSION = VERSION; -Octokit.plugins = []; - -exports.Octokit = Octokit; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 9440: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -var isPlainObject = __nccwpck_require__(3287); -var universalUserAgent = __nccwpck_require__(5030); - -function lowercaseKeys(object) { - if (!object) { - return {}; - } - - 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]; - } - } - - 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 - - - options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging - - removeUndefinedProperties(options); - removeUndefinedProperties(options.headers); - const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten - - 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; -} - -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("&"); -} - -const urlVariableRegex = /\{[^}]+\}/g; - -function removeNonChars(variableName) { - return variableName.replace(/^\W+|\W+$/g, "").split(/,/); -} - -function extractUrlVariableNames(url) { - const matches = url.match(urlVariableRegex); - - if (!matches) { - return []; - } - - return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); -} - -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(); - }); -} - -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); - } - }); -} - -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; - 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 - }); -} - -const VERSION = "6.0.12"; - -const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url. -// So we use RequestParameters and add method as additional required property. - -const DEFAULTS = { - method: "GET", - baseUrl: "https://api.github.com", - headers: { - accept: "application/vnd.github.v3+json", - "user-agent": userAgent - }, - mediaType: { - format: "", - previews: [] - } -}; - -const endpoint = withDefaults(null, DEFAULTS); - -exports.endpoint = endpoint; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 8467: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -var request = __nccwpck_require__(6234); -var universalUserAgent = __nccwpck_require__(5030); - -const VERSION = "4.8.0"; - -function _buildMessageForResponseErrors(data) { - return `Request failed due to following response errors:\n` + data.errors.map(e => ` - ${e.message}`).join("\n"); -} - -class GraphqlResponseError extends Error { - constructor(request, headers, response) { - super(_buildMessageForResponseErrors(response)); - this.request = request; - this.headers = headers; - this.response = response; - this.name = "GraphqlResponseError"; // Expose the errors and response data in their shorthand properties. - - this.errors = response.errors; - this.data = response.data; // Maintains proper stack trace (only available on V8) - - /* istanbul ignore next */ - - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - } - -} - -const NON_VARIABLE_OPTIONS = ["method", "baseUrl", "url", "headers", "request", "query", "mediaType"]; -const FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"]; -const GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/; -function graphql(request, 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; - }, {}); // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix - // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451 - - const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl; - - if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) { - requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql"); - } - - return request(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; - }); -} - -function withDefaults(request$1, newDefaults) { - const newRequest = request$1.defaults(newDefaults); - - const newApi = (query, options) => { - return graphql(newRequest, query, options); - }; - - return Object.assign(newApi, { - defaults: withDefaults.bind(null, newRequest), - endpoint: request.request.endpoint - }); -} - -const graphql$1 = withDefaults(request.request, { - headers: { - "user-agent": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}` - }, - method: "POST", - url: "/graphql" -}); -function withCustomRequest(customRequest) { - return withDefaults(customRequest, { - method: "POST", - url: "/graphql" - }); -} - -exports.GraphqlResponseError = GraphqlResponseError; -exports.graphql = graphql$1; -exports.withCustomRequest = withCustomRequest; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 4193: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -const VERSION = "2.21.3"; - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - enumerableOnly && (symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - })), keys.push.apply(keys, symbols); - } - - return keys; -} - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = null != arguments[i] ? arguments[i] : {}; - i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { - _defineProperty(target, key, source[key]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - - return target; -} - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -/** - * Some “list” response that can be paginated have a different response structure - * - * They have a `total_count` key in the response (search also has `incomplete_results`, - * /installation/repositories also has `repository_selection`), as well as a key with - * the list of the items which name varies from endpoint to endpoint. - * - * Octokit normalizes these responses so that paginated results are always returned following - * the same structure. One challenge is that if the list response has only one page, no Link - * header is provided, so this header alone is not sufficient to check wether a response is - * paginated or not. - * - * We check if a "total_count" key is present in the response data, but also make sure that - * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would - * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref - */ -function normalizePaginatedListResponse(response) { - // endpoints can respond with 204 if repository is empty - if (!response.data) { - return _objectSpread2(_objectSpread2({}, response), {}, { - data: [] - }); - } - - const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); - if (!responseNeedsNormalization) return response; // keep the additional properties intact as there is currently no other way - // to retrieve the same information. - - 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; -} - -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); // `response.headers.link` format: - // '; rel="next", ; rel="last"' - // sets `url` to undefined if "next" URL is not present or `link` header is not set - - 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: [] - } - }; - } - } - - }) - }; -} - -function paginate(octokit, route, parameters, mapFn) { - if (typeof parameters === "function") { - mapFn = parameters; - parameters = undefined; - } - - return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); -} - -function gather(octokit, results, iterator, mapFn) { - return iterator.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, iterator, mapFn); - }); -} - -const composePaginateRest = Object.assign(paginate, { - iterator -}); - -const paginatingEndpoints = ["GET /app/hook/deliveries", "GET /app/installations", "GET /applications/grants", "GET /authorizations", "GET /enterprises/{enterprise}/actions/permissions/organizations", "GET /enterprises/{enterprise}/actions/runner-groups", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "GET /enterprises/{enterprise}/actions/runners", "GET /enterprises/{enterprise}/audit-log", "GET /enterprises/{enterprise}/secret-scanning/alerts", "GET /enterprises/{enterprise}/settings/billing/advanced-security", "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/runner-groups", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "GET /orgs/{org}/actions/runners", "GET /orgs/{org}/actions/secrets", "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", "GET /orgs/{org}/audit-log", "GET /orgs/{org}/blocks", "GET /orgs/{org}/code-scanning/alerts", "GET /orgs/{org}/codespaces", "GET /orgs/{org}/credential-authorizations", "GET /orgs/{org}/dependabot/secrets", "GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories", "GET /orgs/{org}/events", "GET /orgs/{org}/external-groups", "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}/migrations", "GET /orgs/{org}/migrations/{migration_id}/repositories", "GET /orgs/{org}/outside_collaborators", "GET /orgs/{org}/packages", "GET /orgs/{org}/packages/{package_type}/{package_name}/versions", "GET /orgs/{org}/projects", "GET /orgs/{org}/public_members", "GET /orgs/{org}/repos", "GET /orgs/{org}/secret-scanning/alerts", "GET /orgs/{org}/settings/billing/advanced-security", "GET /orgs/{org}/team-sync/groups", "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/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/workflows", "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", "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/secrets", "GET /repos/{owner}/{repo}/deployments", "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "GET /repos/{owner}/{repo}/environments", "GET /repos/{owner}/{repo}/events", "GET /repos/{owner}/{repo}/forks", "GET /repos/{owner}/{repo}/git/matching-refs/{ref}", "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}/requested_reviewers", "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}/secret-scanning/alerts", "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "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 /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/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}/starred", "GET /users/{username}/subscriptions"]; - -function isPaginatingEndpoint(arg) { - if (typeof arg === "string") { - return paginatingEndpoints.includes(arg); - } else { - return false; - } -} - -/** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ - -function paginateRest(octokit) { - return { - paginate: Object.assign(paginate.bind(null, octokit), { - iterator: iterator.bind(null, octokit) - }) - }; -} -paginateRest.VERSION = VERSION; - -exports.composePaginateRest = composePaginateRest; -exports.isPaginatingEndpoint = isPaginatingEndpoint; -exports.paginateRest = paginateRest; -exports.paginatingEndpoints = paginatingEndpoints; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 3044: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - if (enumerableOnly) symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - keys.push.apply(keys, symbols); - } - - return keys; -} - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - _defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } - - return target; -} - -const Endpoints = { - actions: { - addSelectedRepoToOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], - cancelWorkflowRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"], - 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}"], - 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"], - createWorkflowDispatch: ["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"], - deleteArtifact: ["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - deleteEnvironmentSecret: ["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"], - deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], - deleteRepoSecret: ["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_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"], - 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"], - getAllowedActionsOrganization: ["GET /orgs/{org}/actions/permissions/selected-actions"], - getAllowedActionsRepository: ["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"], - getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - getEnvironmentPublicKey: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"], - getEnvironmentSecret: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"], - 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}"], - 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}"], - 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}"], - getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], - 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"], - listJobsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"], - listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], - 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"], - 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"], - reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], - removeSelectedRepoFromOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], - 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"], - setGithubActionsPermissionsOrganization: ["PUT /orgs/{org}/actions/permissions"], - setGithubActionsPermissionsRepository: ["PUT /repos/{owner}/{repo}/actions/permissions"], - setSelectedReposForOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"], - setSelectedRepositoriesEnabledGithubActionsOrganization: ["PUT /orgs/{org}/actions/permissions/repositories"] - }, - activity: { - checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"], - deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"], - deleteThreadSubscription: ["DELETE /notifications/threads/{thread_id}/subscription"], - getFeeds: ["GET /feeds"], - getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"], - getThread: ["GET /notifications/threads/{thread_id}"], - getThreadSubscriptionForAuthenticatedUser: ["GET /notifications/threads/{thread_id}/subscription"], - listEventsForAuthenticatedUser: ["GET /users/{username}/events"], - listNotificationsForAuthenticatedUser: ["GET /notifications"], - listOrgEventsForAuthenticatedUser: ["GET /users/{username}/events/orgs/{org}"], - listPublicEvents: ["GET /events"], - listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"], - listPublicEventsForUser: ["GET /users/{username}/events/public"], - listPublicOrgEvents: ["GET /orgs/{org}/events"], - listReceivedEventsForUser: ["GET /users/{username}/received_events"], - listReceivedPublicEventsForUser: ["GET /users/{username}/received_events/public"], - listRepoEvents: ["GET /repos/{owner}/{repo}/events"], - listRepoNotificationsForAuthenticatedUser: ["GET /repos/{owner}/{repo}/notifications"], - listReposStarredByAuthenticatedUser: ["GET /user/starred"], - listReposStarredByUser: ["GET /users/{username}/starred"], - listReposWatchedByUser: ["GET /users/{username}/subscriptions"], - listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"], - listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"], - listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"], - markNotificationsAsRead: ["PUT /notifications"], - markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"], - markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"], - setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"], - setThreadSubscription: ["PUT /notifications/threads/{thread_id}/subscription"], - starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"], - unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"] - }, - apps: { - addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}"], - checkToken: ["POST /applications/{client_id}/token"], - createContentAttachment: ["POST /content_references/{content_reference_id}/attachments", { - mediaType: { - previews: ["corsair"] - } - }], - 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"], - listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"], - listAccountsForPlanStubbed: ["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"], - listInstallationReposForAuthenticatedUser: ["GET /user/installations/{installation_id}/repositories"], - 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"], - removeRepoFromInstallation: ["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"], - 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}"], - getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"], - listAlertsInstances: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"], - listRecentAnalyses: ["GET /repos/{owner}/{repo}/code-scanning/analyses"], - updateAlert: ["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"], - uploadSarif: ["POST /repos/{owner}/{repo}/code-scanning/sarifs"] - }, - codesOfConduct: { - getAllCodesOfConduct: ["GET /codes_of_conduct", { - mediaType: { - previews: ["scarlet-witch"] - } - }], - getConductCode: ["GET /codes_of_conduct/{key}", { - mediaType: { - previews: ["scarlet-witch"] - } - }], - getForRepo: ["GET /repos/{owner}/{repo}/community/code_of_conduct", { - mediaType: { - previews: ["scarlet-witch"] - } - }] - }, - emojis: { - get: ["GET /emojis"] - }, - enterpriseAdmin: { - disableSelectedOrganizationGithubActionsEnterprise: ["DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"], - enableSelectedOrganizationGithubActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"], - getAllowedActionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions/selected-actions"], - getGithubActionsPermissionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions"], - listSelectedOrganizationsEnabledGithubActionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions/organizations"], - setAllowedActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/selected-actions"], - setGithubActionsPermissionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions"], - setSelectedOrganizationsEnabledGithubActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/organizations"] - }, - 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}"], - 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", { - mediaType: { - previews: ["mockingbird"] - } - }], - 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"], - getOctocat: ["GET /octocat"], - getZen: ["GET /zen"], - root: ["GET /"] - }, - migrations: { - cancelImport: ["DELETE /repos/{owner}/{repo}/import"], - deleteArchiveForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - deleteArchiveForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - downloadArchiveForOrg: ["GET /orgs/{org}/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - getArchiveForAuthenticatedUser: ["GET /user/migrations/{migration_id}/archive", { - mediaType: { - previews: ["wyandotte"] - } - }], - getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"], - getImportStatus: ["GET /repos/{owner}/{repo}/import"], - getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"], - getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}", { - mediaType: { - previews: ["wyandotte"] - } - }], - getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}", { - mediaType: { - previews: ["wyandotte"] - } - }], - listForAuthenticatedUser: ["GET /user/migrations", { - mediaType: { - previews: ["wyandotte"] - } - }], - listForOrg: ["GET /orgs/{org}/migrations", { - mediaType: { - previews: ["wyandotte"] - } - }], - listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories", { - mediaType: { - previews: ["wyandotte"] - } - }], - listReposForUser: ["GET /user/migrations/{migration_id}/repositories", { - mediaType: { - previews: ["wyandotte"] - } - }], - mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"], - setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"], - startForAuthenticatedUser: ["POST /user/migrations"], - startForOrg: ["POST /orgs/{org}/migrations"], - startImport: ["PUT /repos/{owner}/{repo}/import"], - unlockRepoForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock", { - mediaType: { - previews: ["wyandotte"] - } - }], - unlockRepoForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", { - mediaType: { - previews: ["wyandotte"] - } - }], - updateImport: ["PATCH /repos/{owner}/{repo}/import"] - }, - orgs: { - blockUser: ["PUT /orgs/{org}/blocks/{username}"], - cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"], - checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], - checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], - checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], - convertMemberToOutsideCollaborator: ["PUT /orgs/{org}/outside_collaborators/{username}"], - createInvitation: ["POST /orgs/{org}/invitations"], - createWebhook: ["POST /orgs/{org}/hooks"], - deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], - get: ["GET /orgs/{org}"], - getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], - getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], - getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], - getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], - list: ["GET /organizations"], - listAppInstallations: ["GET /orgs/{org}/installations"], - listBlockedUsers: ["GET /orgs/{org}/blocks"], - listFailedInvitations: ["GET /orgs/{org}/failed_invitations"], - listForAuthenticatedUser: ["GET /user/orgs"], - listForUser: ["GET /users/{username}/orgs"], - listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], - listMembers: ["GET /orgs/{org}/members"], - listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], - listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"], - listPendingInvitations: ["GET /orgs/{org}/invitations"], - listPublicMembers: ["GET /orgs/{org}/public_members"], - listWebhooks: ["GET /orgs/{org}/hooks"], - pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"], - 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}"], - 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}"], - 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}"], - 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}"], - 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}"], - restorePackageForAuthenticatedUser: ["POST /user/packages/{package_type}/{package_name}/restore{?token}"], - restorePackageForOrg: ["POST /orgs/{org}/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"] - }, - projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}", { - mediaType: { - previews: ["inertia"] - } - }], - createCard: ["POST /projects/columns/{column_id}/cards", { - mediaType: { - previews: ["inertia"] - } - }], - createColumn: ["POST /projects/{project_id}/columns", { - mediaType: { - previews: ["inertia"] - } - }], - createForAuthenticatedUser: ["POST /user/projects", { - mediaType: { - previews: ["inertia"] - } - }], - createForOrg: ["POST /orgs/{org}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - createForRepo: ["POST /repos/{owner}/{repo}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - delete: ["DELETE /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - deleteCard: ["DELETE /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - deleteColumn: ["DELETE /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }], - get: ["GET /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getCard: ["GET /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getColumn: ["GET /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }], - getPermissionForUser: ["GET /projects/{project_id}/collaborators/{username}/permission", { - mediaType: { - previews: ["inertia"] - } - }], - listCards: ["GET /projects/columns/{column_id}/cards", { - mediaType: { - previews: ["inertia"] - } - }], - listCollaborators: ["GET /projects/{project_id}/collaborators", { - mediaType: { - previews: ["inertia"] - } - }], - listColumns: ["GET /projects/{project_id}/columns", { - mediaType: { - previews: ["inertia"] - } - }], - listForOrg: ["GET /orgs/{org}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - listForRepo: ["GET /repos/{owner}/{repo}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - listForUser: ["GET /users/{username}/projects", { - mediaType: { - previews: ["inertia"] - } - }], - moveCard: ["POST /projects/columns/cards/{card_id}/moves", { - mediaType: { - previews: ["inertia"] - } - }], - moveColumn: ["POST /projects/columns/{column_id}/moves", { - mediaType: { - previews: ["inertia"] - } - }], - removeCollaborator: ["DELETE /projects/{project_id}/collaborators/{username}", { - mediaType: { - previews: ["inertia"] - } - }], - update: ["PATCH /projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - updateCard: ["PATCH /projects/columns/cards/{card_id}", { - mediaType: { - previews: ["inertia"] - } - }], - updateColumn: ["PATCH /projects/columns/{column_id}", { - mediaType: { - previews: ["inertia"] - } - }] - }, - 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", { - mediaType: { - previews: ["lydian"] - } - }], - 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", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForIssue: ["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForIssueComment: ["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForPullRequestReviewComment: ["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForTeamDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - createForTeamDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForIssue: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForIssueComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForPullRequestComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForTeamDiscussion: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteForTeamDiscussionComment: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - deleteLegacy: ["DELETE /reactions/{reaction_id}", { - mediaType: { - previews: ["squirrel-girl"] - } - }, { - deprecated: "octokit.rest.reactions.deleteLegacy() is deprecated, see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy" - }], - listForCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForIssueComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForPullRequestReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForTeamDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }], - listForTeamDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", { - mediaType: { - previews: ["squirrel-girl"] - } - }] - }, - repos: { - acceptInvitation: ["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" - }], - checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"], - checkVulnerabilityAlerts: ["GET /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"], - createCommitComment: ["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"], - createCommitSignatureProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { - mediaType: { - previews: ["zzzax"] - } - }], - createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], - createDeployKey: ["POST /repos/{owner}/{repo}/keys"], - createDeployment: ["POST /repos/{owner}/{repo}/deployments"], - createDeploymentStatus: ["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"], - createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"], - createForAuthenticatedUser: ["POST /user/repos"], - createFork: ["POST /repos/{owner}/{repo}/forks"], - createInOrg: ["POST /orgs/{org}/repos"], - createOrUpdateEnvironment: ["PUT /repos/{owner}/{repo}/environments/{environment_name}"], - createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], - createPagesSite: ["POST /repos/{owner}/{repo}/pages", { - mediaType: { - previews: ["switcheroo"] - } - }], - createRelease: ["POST /repos/{owner}/{repo}/releases"], - createUsingTemplate: ["POST /repos/{template_owner}/{template_repo}/generate", { - mediaType: { - previews: ["baptiste"] - } - }], - createWebhook: ["POST /repos/{owner}/{repo}/hooks"], - declineInvitation: ["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}"], - 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", { - mediaType: { - previews: ["zzzax"] - } - }], - deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], - deleteDeployment: ["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"], - deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"], - deleteInvitation: ["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"], - deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages", { - mediaType: { - previews: ["switcheroo"] - } - }], - 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}"], - deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"], - disableAutomatedSecurityFixes: ["DELETE /repos/{owner}/{repo}/automated-security-fixes", { - mediaType: { - previews: ["london"] - } - }], - disableVulnerabilityAlerts: ["DELETE /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - 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", { - mediaType: { - previews: ["london"] - } - }], - enableVulnerabilityAlerts: ["PUT /repos/{owner}/{repo}/vulnerability-alerts", { - mediaType: { - previews: ["dorian"] - } - }], - get: ["GET /repos/{owner}/{repo}"], - getAccessRestrictions: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"], - getAdminBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], - getAllEnvironments: ["GET /repos/{owner}/{repo}/environments"], - getAllStatusCheckContexts: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"], - getAllTopics: ["GET /repos/{owner}/{repo}/topics", { - mediaType: { - previews: ["mercy"] - } - }], - getAppsWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"], - getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"], - getBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection"], - 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", { - mediaType: { - previews: ["zzzax"] - } - }], - getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], - getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], - getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"], - getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"], - getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_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"], - getPages: ["GET /repos/{owner}/{repo}/pages"], - getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"], - 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}"], - 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"], - listBranches: ["GET /repos/{owner}/{repo}/branches"], - listBranchesForHeadCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", { - mediaType: { - previews: ["groot"] - } - }], - 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"], - listDeployKeys: ["GET /repos/{owner}/{repo}/keys"], - 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", { - mediaType: { - previews: ["groot"] - } - }], - listReleaseAssets: ["GET /repos/{owner}/{repo}/releases/{release_id}/assets"], - listReleases: ["GET /repos/{owner}/{repo}/releases"], - listTags: ["GET /repos/{owner}/{repo}/tags"], - listTeams: ["GET /repos/{owner}/{repo}/teams"], - listWebhooks: ["GET /repos/{owner}/{repo}/hooks"], - merge: ["POST /repos/{owner}/{repo}/merges"], - pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"], - 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", { - mediaType: { - previews: ["mercy"] - } - }], - 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}"], - updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"], - updateInvitation: ["PATCH /repos/{owner}/{repo}/invitations/{invitation_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}"], - 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", { - mediaType: { - previews: ["cloak"] - } - }], - issuesAndPullRequests: ["GET /search/issues"], - labels: ["GET /search/labels"], - repos: ["GET /search/repositories"], - topics: ["GET /search/topics", { - mediaType: { - previews: ["mercy"] - } - }], - users: ["GET /search/users"] - }, - secretScanning: { - getAlert: ["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/secret-scanning/alerts"], - updateAlert: ["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"] - }, - teams: { - addOrUpdateMembershipForUserInOrg: ["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"], - addOrUpdateProjectPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - addOrUpdateRepoPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], - checkPermissionsForProjectInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", { - mediaType: { - previews: ["inertia"] - } - }], - 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", { - mediaType: { - previews: ["inertia"] - } - }], - 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"], - 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"], - createPublicSshKeyForAuthenticated: ["POST /user/keys"], - deleteEmailForAuthenticated: ["DELETE /user/emails"], - deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"], - deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{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}"], - getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"], - list: ["GET /users"], - listBlockedByAuthenticated: ["GET /user/blocks"], - listEmailsForAuthenticated: ["GET /user/emails"], - listFollowedByAuthenticated: ["GET /user/following"], - listFollowersForAuthenticatedUser: ["GET /user/followers"], - listFollowersForUser: ["GET /users/{username}/followers"], - listFollowingForUser: ["GET /users/{username}/following"], - listGpgKeysForAuthenticated: ["GET /user/gpg_keys"], - listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], - listPublicEmailsForAuthenticated: ["GET /user/public_emails"], - listPublicKeysForUser: ["GET /users/{username}/keys"], - listPublicSshKeysForAuthenticated: ["GET /user/keys"], - setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], - unblock: ["DELETE /user/blocks/{username}"], - unfollow: ["DELETE /user/following/{username}"], - updateAuthenticated: ["PATCH /user"] - } +class AdvertiseByoipCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AdvertiseByoipCidr", {}) + .n("EC2Client", "AdvertiseByoipCidrCommand") + .sc(schemas_0.AdvertiseByoipCidr$) + .build() { +} + +class AllocateAddressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AllocateAddress", {}) + .n("EC2Client", "AllocateAddressCommand") + .sc(schemas_0.AllocateAddress$) + .build() { +} + +class AllocateHostsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AllocateHosts", {}) + .n("EC2Client", "AllocateHostsCommand") + .sc(schemas_0.AllocateHosts$) + .build() { +} + +class AllocateIpamPoolCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AllocateIpamPoolCidr", {}) + .n("EC2Client", "AllocateIpamPoolCidrCommand") + .sc(schemas_0.AllocateIpamPoolCidr$) + .build() { +} + +class ApplySecurityGroupsToClientVpnTargetNetworkCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ApplySecurityGroupsToClientVpnTargetNetwork", {}) + .n("EC2Client", "ApplySecurityGroupsToClientVpnTargetNetworkCommand") + .sc(schemas_0.ApplySecurityGroupsToClientVpnTargetNetwork$) + .build() { +} + +class AssignIpv6AddressesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssignIpv6Addresses", {}) + .n("EC2Client", "AssignIpv6AddressesCommand") + .sc(schemas_0.AssignIpv6Addresses$) + .build() { +} + +class AssignPrivateIpAddressesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssignPrivateIpAddresses", {}) + .n("EC2Client", "AssignPrivateIpAddressesCommand") + .sc(schemas_0.AssignPrivateIpAddresses$) + .build() { +} + +class AssignPrivateNatGatewayAddressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssignPrivateNatGatewayAddress", {}) + .n("EC2Client", "AssignPrivateNatGatewayAddressCommand") + .sc(schemas_0.AssignPrivateNatGatewayAddress$) + .build() { +} + +class AssociateAddressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateAddress", {}) + .n("EC2Client", "AssociateAddressCommand") + .sc(schemas_0.AssociateAddress$) + .build() { +} + +class AssociateCapacityReservationBillingOwnerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateCapacityReservationBillingOwner", {}) + .n("EC2Client", "AssociateCapacityReservationBillingOwnerCommand") + .sc(schemas_0.AssociateCapacityReservationBillingOwner$) + .build() { +} + +class AssociateClientVpnTargetNetworkCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateClientVpnTargetNetwork", {}) + .n("EC2Client", "AssociateClientVpnTargetNetworkCommand") + .sc(schemas_0.AssociateClientVpnTargetNetwork$) + .build() { +} + +class AssociateDhcpOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateDhcpOptions", {}) + .n("EC2Client", "AssociateDhcpOptionsCommand") + .sc(schemas_0.AssociateDhcpOptions$) + .build() { +} + +class AssociateEnclaveCertificateIamRoleCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateEnclaveCertificateIamRole", {}) + .n("EC2Client", "AssociateEnclaveCertificateIamRoleCommand") + .sc(schemas_0.AssociateEnclaveCertificateIamRole$) + .build() { +} + +class AssociateIamInstanceProfileCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateIamInstanceProfile", {}) + .n("EC2Client", "AssociateIamInstanceProfileCommand") + .sc(schemas_0.AssociateIamInstanceProfile$) + .build() { +} + +class AssociateInstanceEventWindowCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateInstanceEventWindow", {}) + .n("EC2Client", "AssociateInstanceEventWindowCommand") + .sc(schemas_0.AssociateInstanceEventWindow$) + .build() { +} + +class AssociateIpamByoasnCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateIpamByoasn", {}) + .n("EC2Client", "AssociateIpamByoasnCommand") + .sc(schemas_0.AssociateIpamByoasn$) + .build() { +} + +class AssociateIpamResourceDiscoveryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateIpamResourceDiscovery", {}) + .n("EC2Client", "AssociateIpamResourceDiscoveryCommand") + .sc(schemas_0.AssociateIpamResourceDiscovery$) + .build() { +} + +class AssociateNatGatewayAddressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateNatGatewayAddress", {}) + .n("EC2Client", "AssociateNatGatewayAddressCommand") + .sc(schemas_0.AssociateNatGatewayAddress$) + .build() { +} + +class AssociateRouteServerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateRouteServer", {}) + .n("EC2Client", "AssociateRouteServerCommand") + .sc(schemas_0.AssociateRouteServer$) + .build() { +} + +class AssociateRouteTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateRouteTable", {}) + .n("EC2Client", "AssociateRouteTableCommand") + .sc(schemas_0.AssociateRouteTable$) + .build() { +} + +class AssociateSecurityGroupVpcCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateSecurityGroupVpc", {}) + .n("EC2Client", "AssociateSecurityGroupVpcCommand") + .sc(schemas_0.AssociateSecurityGroupVpc$) + .build() { +} + +class AssociateSubnetCidrBlockCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateSubnetCidrBlock", {}) + .n("EC2Client", "AssociateSubnetCidrBlockCommand") + .sc(schemas_0.AssociateSubnetCidrBlock$) + .build() { +} + +class AssociateTransitGatewayMulticastDomainCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateTransitGatewayMulticastDomain", {}) + .n("EC2Client", "AssociateTransitGatewayMulticastDomainCommand") + .sc(schemas_0.AssociateTransitGatewayMulticastDomain$) + .build() { +} + +class AssociateTransitGatewayPolicyTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateTransitGatewayPolicyTable", {}) + .n("EC2Client", "AssociateTransitGatewayPolicyTableCommand") + .sc(schemas_0.AssociateTransitGatewayPolicyTable$) + .build() { +} + +class AssociateTransitGatewayRouteTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateTransitGatewayRouteTable", {}) + .n("EC2Client", "AssociateTransitGatewayRouteTableCommand") + .sc(schemas_0.AssociateTransitGatewayRouteTable$) + .build() { +} + +class AssociateTrunkInterfaceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateTrunkInterface", {}) + .n("EC2Client", "AssociateTrunkInterfaceCommand") + .sc(schemas_0.AssociateTrunkInterface$) + .build() { +} + +class AssociateVpcCidrBlockCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AssociateVpcCidrBlock", {}) + .n("EC2Client", "AssociateVpcCidrBlockCommand") + .sc(schemas_0.AssociateVpcCidrBlock$) + .build() { +} + +class AttachClassicLinkVpcCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AttachClassicLinkVpc", {}) + .n("EC2Client", "AttachClassicLinkVpcCommand") + .sc(schemas_0.AttachClassicLinkVpc$) + .build() { +} + +class AttachInternetGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AttachInternetGateway", {}) + .n("EC2Client", "AttachInternetGatewayCommand") + .sc(schemas_0.AttachInternetGateway$) + .build() { +} + +class AttachNetworkInterfaceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AttachNetworkInterface", {}) + .n("EC2Client", "AttachNetworkInterfaceCommand") + .sc(schemas_0.AttachNetworkInterface$) + .build() { +} + +class AttachVerifiedAccessTrustProviderCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AttachVerifiedAccessTrustProvider", {}) + .n("EC2Client", "AttachVerifiedAccessTrustProviderCommand") + .sc(schemas_0.AttachVerifiedAccessTrustProvider$) + .build() { +} + +class AttachVolumeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AttachVolume", {}) + .n("EC2Client", "AttachVolumeCommand") + .sc(schemas_0.AttachVolume$) + .build() { +} + +class AttachVpnGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AttachVpnGateway", {}) + .n("EC2Client", "AttachVpnGatewayCommand") + .sc(schemas_0.AttachVpnGateway$) + .build() { +} + +class AuthorizeClientVpnIngressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AuthorizeClientVpnIngress", {}) + .n("EC2Client", "AuthorizeClientVpnIngressCommand") + .sc(schemas_0.AuthorizeClientVpnIngress$) + .build() { +} + +class AuthorizeSecurityGroupEgressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AuthorizeSecurityGroupEgress", {}) + .n("EC2Client", "AuthorizeSecurityGroupEgressCommand") + .sc(schemas_0.AuthorizeSecurityGroupEgress$) + .build() { +} + +class AuthorizeSecurityGroupIngressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "AuthorizeSecurityGroupIngress", {}) + .n("EC2Client", "AuthorizeSecurityGroupIngressCommand") + .sc(schemas_0.AuthorizeSecurityGroupIngress$) + .build() { +} + +class BundleInstanceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "BundleInstance", {}) + .n("EC2Client", "BundleInstanceCommand") + .sc(schemas_0.BundleInstance$) + .build() { +} + +class CancelBundleTaskCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CancelBundleTask", {}) + .n("EC2Client", "CancelBundleTaskCommand") + .sc(schemas_0.CancelBundleTask$) + .build() { +} + +class CancelCapacityReservationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CancelCapacityReservation", {}) + .n("EC2Client", "CancelCapacityReservationCommand") + .sc(schemas_0.CancelCapacityReservation$) + .build() { +} + +class CancelCapacityReservationFleetsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CancelCapacityReservationFleets", {}) + .n("EC2Client", "CancelCapacityReservationFleetsCommand") + .sc(schemas_0.CancelCapacityReservationFleets$) + .build() { +} + +class CancelConversionTaskCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CancelConversionTask", {}) + .n("EC2Client", "CancelConversionTaskCommand") + .sc(schemas_0.CancelConversionTask$) + .build() { +} + +class CancelDeclarativePoliciesReportCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CancelDeclarativePoliciesReport", {}) + .n("EC2Client", "CancelDeclarativePoliciesReportCommand") + .sc(schemas_0.CancelDeclarativePoliciesReport$) + .build() { +} + +class CancelExportTaskCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CancelExportTask", {}) + .n("EC2Client", "CancelExportTaskCommand") + .sc(schemas_0.CancelExportTask$) + .build() { +} + +class CancelImageLaunchPermissionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CancelImageLaunchPermission", {}) + .n("EC2Client", "CancelImageLaunchPermissionCommand") + .sc(schemas_0.CancelImageLaunchPermission$) + .build() { +} + +class CancelImportTaskCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CancelImportTask", {}) + .n("EC2Client", "CancelImportTaskCommand") + .sc(schemas_0.CancelImportTask$) + .build() { +} + +class CancelReservedInstancesListingCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CancelReservedInstancesListing", {}) + .n("EC2Client", "CancelReservedInstancesListingCommand") + .sc(schemas_0.CancelReservedInstancesListing$) + .build() { +} + +class CancelSpotFleetRequestsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CancelSpotFleetRequests", {}) + .n("EC2Client", "CancelSpotFleetRequestsCommand") + .sc(schemas_0.CancelSpotFleetRequests$) + .build() { +} + +class CancelSpotInstanceRequestsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CancelSpotInstanceRequests", {}) + .n("EC2Client", "CancelSpotInstanceRequestsCommand") + .sc(schemas_0.CancelSpotInstanceRequests$) + .build() { +} + +class ConfirmProductInstanceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ConfirmProductInstance", {}) + .n("EC2Client", "ConfirmProductInstanceCommand") + .sc(schemas_0.ConfirmProductInstance$) + .build() { +} + +class CopyFpgaImageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CopyFpgaImage", {}) + .n("EC2Client", "CopyFpgaImageCommand") + .sc(schemas_0.CopyFpgaImage$) + .build() { +} + +class CopyImageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CopyImage", {}) + .n("EC2Client", "CopyImageCommand") + .sc(schemas_0.CopyImage$) + .build() { +} + +class CopySnapshotCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [ + middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + middlewareSdkEc2.getCopySnapshotPresignedUrlPlugin(config), + ]; +}) + .s("AmazonEC2", "CopySnapshot", {}) + .n("EC2Client", "CopySnapshotCommand") + .sc(schemas_0.CopySnapshot$) + .build() { +} + +class CopyVolumesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CopyVolumes", {}) + .n("EC2Client", "CopyVolumesCommand") + .sc(schemas_0.CopyVolumes$) + .build() { +} + +class CreateCapacityManagerDataExportCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateCapacityManagerDataExport", {}) + .n("EC2Client", "CreateCapacityManagerDataExportCommand") + .sc(schemas_0.CreateCapacityManagerDataExport$) + .build() { +} + +class CreateCapacityReservationBySplittingCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateCapacityReservationBySplitting", {}) + .n("EC2Client", "CreateCapacityReservationBySplittingCommand") + .sc(schemas_0.CreateCapacityReservationBySplitting$) + .build() { +} + +class CreateCapacityReservationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateCapacityReservation", {}) + .n("EC2Client", "CreateCapacityReservationCommand") + .sc(schemas_0.CreateCapacityReservation$) + .build() { +} + +class CreateCapacityReservationFleetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateCapacityReservationFleet", {}) + .n("EC2Client", "CreateCapacityReservationFleetCommand") + .sc(schemas_0.CreateCapacityReservationFleet$) + .build() { +} + +class CreateCarrierGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateCarrierGateway", {}) + .n("EC2Client", "CreateCarrierGatewayCommand") + .sc(schemas_0.CreateCarrierGateway$) + .build() { +} + +class CreateClientVpnEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateClientVpnEndpoint", {}) + .n("EC2Client", "CreateClientVpnEndpointCommand") + .sc(schemas_0.CreateClientVpnEndpoint$) + .build() { +} + +class CreateClientVpnRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateClientVpnRoute", {}) + .n("EC2Client", "CreateClientVpnRouteCommand") + .sc(schemas_0.CreateClientVpnRoute$) + .build() { +} + +class CreateCoipCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateCoipCidr", {}) + .n("EC2Client", "CreateCoipCidrCommand") + .sc(schemas_0.CreateCoipCidr$) + .build() { +} + +class CreateCoipPoolCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateCoipPool", {}) + .n("EC2Client", "CreateCoipPoolCommand") + .sc(schemas_0.CreateCoipPool$) + .build() { +} + +class CreateCustomerGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateCustomerGateway", {}) + .n("EC2Client", "CreateCustomerGatewayCommand") + .sc(schemas_0.CreateCustomerGateway$) + .build() { +} + +class CreateDefaultSubnetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateDefaultSubnet", {}) + .n("EC2Client", "CreateDefaultSubnetCommand") + .sc(schemas_0.CreateDefaultSubnet$) + .build() { +} + +class CreateDefaultVpcCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateDefaultVpc", {}) + .n("EC2Client", "CreateDefaultVpcCommand") + .sc(schemas_0.CreateDefaultVpc$) + .build() { +} + +class CreateDelegateMacVolumeOwnershipTaskCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateDelegateMacVolumeOwnershipTask", {}) + .n("EC2Client", "CreateDelegateMacVolumeOwnershipTaskCommand") + .sc(schemas_0.CreateDelegateMacVolumeOwnershipTask$) + .build() { +} + +class CreateDhcpOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateDhcpOptions", {}) + .n("EC2Client", "CreateDhcpOptionsCommand") + .sc(schemas_0.CreateDhcpOptions$) + .build() { +} + +class CreateEgressOnlyInternetGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateEgressOnlyInternetGateway", {}) + .n("EC2Client", "CreateEgressOnlyInternetGatewayCommand") + .sc(schemas_0.CreateEgressOnlyInternetGateway$) + .build() { +} + +class CreateFleetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateFleet", {}) + .n("EC2Client", "CreateFleetCommand") + .sc(schemas_0.CreateFleet$) + .build() { +} + +class CreateFlowLogsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateFlowLogs", {}) + .n("EC2Client", "CreateFlowLogsCommand") + .sc(schemas_0.CreateFlowLogs$) + .build() { +} + +class CreateFpgaImageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateFpgaImage", {}) + .n("EC2Client", "CreateFpgaImageCommand") + .sc(schemas_0.CreateFpgaImage$) + .build() { +} + +class CreateImageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateImage", {}) + .n("EC2Client", "CreateImageCommand") + .sc(schemas_0.CreateImage$) + .build() { +} + +class CreateImageUsageReportCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateImageUsageReport", {}) + .n("EC2Client", "CreateImageUsageReportCommand") + .sc(schemas_0.CreateImageUsageReport$) + .build() { +} + +class CreateInstanceConnectEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateInstanceConnectEndpoint", {}) + .n("EC2Client", "CreateInstanceConnectEndpointCommand") + .sc(schemas_0.CreateInstanceConnectEndpoint$) + .build() { +} + +class CreateInstanceEventWindowCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateInstanceEventWindow", {}) + .n("EC2Client", "CreateInstanceEventWindowCommand") + .sc(schemas_0.CreateInstanceEventWindow$) + .build() { +} + +class CreateInstanceExportTaskCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateInstanceExportTask", {}) + .n("EC2Client", "CreateInstanceExportTaskCommand") + .sc(schemas_0.CreateInstanceExportTask$) + .build() { +} + +class CreateInternetGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateInternetGateway", {}) + .n("EC2Client", "CreateInternetGatewayCommand") + .sc(schemas_0.CreateInternetGateway$) + .build() { +} + +class CreateInterruptibleCapacityReservationAllocationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateInterruptibleCapacityReservationAllocation", {}) + .n("EC2Client", "CreateInterruptibleCapacityReservationAllocationCommand") + .sc(schemas_0.CreateInterruptibleCapacityReservationAllocation$) + .build() { +} + +class CreateIpamCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateIpam", {}) + .n("EC2Client", "CreateIpamCommand") + .sc(schemas_0.CreateIpam$) + .build() { +} + +class CreateIpamExternalResourceVerificationTokenCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateIpamExternalResourceVerificationToken", {}) + .n("EC2Client", "CreateIpamExternalResourceVerificationTokenCommand") + .sc(schemas_0.CreateIpamExternalResourceVerificationToken$) + .build() { +} + +class CreateIpamPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateIpamPolicy", {}) + .n("EC2Client", "CreateIpamPolicyCommand") + .sc(schemas_0.CreateIpamPolicy$) + .build() { +} + +class CreateIpamPoolCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateIpamPool", {}) + .n("EC2Client", "CreateIpamPoolCommand") + .sc(schemas_0.CreateIpamPool$) + .build() { +} + +class CreateIpamPrefixListResolverCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateIpamPrefixListResolver", {}) + .n("EC2Client", "CreateIpamPrefixListResolverCommand") + .sc(schemas_0.CreateIpamPrefixListResolver$) + .build() { +} + +class CreateIpamPrefixListResolverTargetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateIpamPrefixListResolverTarget", {}) + .n("EC2Client", "CreateIpamPrefixListResolverTargetCommand") + .sc(schemas_0.CreateIpamPrefixListResolverTarget$) + .build() { +} + +class CreateIpamResourceDiscoveryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateIpamResourceDiscovery", {}) + .n("EC2Client", "CreateIpamResourceDiscoveryCommand") + .sc(schemas_0.CreateIpamResourceDiscovery$) + .build() { +} + +class CreateIpamScopeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateIpamScope", {}) + .n("EC2Client", "CreateIpamScopeCommand") + .sc(schemas_0.CreateIpamScope$) + .build() { +} + +class CreateKeyPairCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateKeyPair", {}) + .n("EC2Client", "CreateKeyPairCommand") + .sc(schemas_0.CreateKeyPair$) + .build() { +} + +class CreateLaunchTemplateCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateLaunchTemplate", {}) + .n("EC2Client", "CreateLaunchTemplateCommand") + .sc(schemas_0.CreateLaunchTemplate$) + .build() { +} + +class CreateLaunchTemplateVersionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateLaunchTemplateVersion", {}) + .n("EC2Client", "CreateLaunchTemplateVersionCommand") + .sc(schemas_0.CreateLaunchTemplateVersion$) + .build() { +} + +class CreateLocalGatewayRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateLocalGatewayRoute", {}) + .n("EC2Client", "CreateLocalGatewayRouteCommand") + .sc(schemas_0.CreateLocalGatewayRoute$) + .build() { +} + +class CreateLocalGatewayRouteTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateLocalGatewayRouteTable", {}) + .n("EC2Client", "CreateLocalGatewayRouteTableCommand") + .sc(schemas_0.CreateLocalGatewayRouteTable$) + .build() { +} + +class CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation", {}) + .n("EC2Client", "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand") + .sc(schemas_0.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation$) + .build() { +} + +class CreateLocalGatewayRouteTableVpcAssociationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateLocalGatewayRouteTableVpcAssociation", {}) + .n("EC2Client", "CreateLocalGatewayRouteTableVpcAssociationCommand") + .sc(schemas_0.CreateLocalGatewayRouteTableVpcAssociation$) + .build() { +} + +class CreateLocalGatewayVirtualInterfaceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateLocalGatewayVirtualInterface", {}) + .n("EC2Client", "CreateLocalGatewayVirtualInterfaceCommand") + .sc(schemas_0.CreateLocalGatewayVirtualInterface$) + .build() { +} + +class CreateLocalGatewayVirtualInterfaceGroupCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateLocalGatewayVirtualInterfaceGroup", {}) + .n("EC2Client", "CreateLocalGatewayVirtualInterfaceGroupCommand") + .sc(schemas_0.CreateLocalGatewayVirtualInterfaceGroup$) + .build() { +} + +class CreateMacSystemIntegrityProtectionModificationTaskCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateMacSystemIntegrityProtectionModificationTask", {}) + .n("EC2Client", "CreateMacSystemIntegrityProtectionModificationTaskCommand") + .sc(schemas_0.CreateMacSystemIntegrityProtectionModificationTask$) + .build() { +} + +class CreateManagedPrefixListCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateManagedPrefixList", {}) + .n("EC2Client", "CreateManagedPrefixListCommand") + .sc(schemas_0.CreateManagedPrefixList$) + .build() { +} + +class CreateNatGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateNatGateway", {}) + .n("EC2Client", "CreateNatGatewayCommand") + .sc(schemas_0.CreateNatGateway$) + .build() { +} + +class CreateNetworkAclCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateNetworkAcl", {}) + .n("EC2Client", "CreateNetworkAclCommand") + .sc(schemas_0.CreateNetworkAcl$) + .build() { +} + +class CreateNetworkAclEntryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateNetworkAclEntry", {}) + .n("EC2Client", "CreateNetworkAclEntryCommand") + .sc(schemas_0.CreateNetworkAclEntry$) + .build() { +} + +class CreateNetworkInsightsAccessScopeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateNetworkInsightsAccessScope", {}) + .n("EC2Client", "CreateNetworkInsightsAccessScopeCommand") + .sc(schemas_0.CreateNetworkInsightsAccessScope$) + .build() { +} + +class CreateNetworkInsightsPathCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateNetworkInsightsPath", {}) + .n("EC2Client", "CreateNetworkInsightsPathCommand") + .sc(schemas_0.CreateNetworkInsightsPath$) + .build() { +} + +class CreateNetworkInterfaceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateNetworkInterface", {}) + .n("EC2Client", "CreateNetworkInterfaceCommand") + .sc(schemas_0.CreateNetworkInterface$) + .build() { +} + +class CreateNetworkInterfacePermissionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateNetworkInterfacePermission", {}) + .n("EC2Client", "CreateNetworkInterfacePermissionCommand") + .sc(schemas_0.CreateNetworkInterfacePermission$) + .build() { +} + +class CreatePlacementGroupCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreatePlacementGroup", {}) + .n("EC2Client", "CreatePlacementGroupCommand") + .sc(schemas_0.CreatePlacementGroup$) + .build() { +} + +class CreatePublicIpv4PoolCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreatePublicIpv4Pool", {}) + .n("EC2Client", "CreatePublicIpv4PoolCommand") + .sc(schemas_0.CreatePublicIpv4Pool$) + .build() { +} + +class CreateReplaceRootVolumeTaskCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateReplaceRootVolumeTask", {}) + .n("EC2Client", "CreateReplaceRootVolumeTaskCommand") + .sc(schemas_0.CreateReplaceRootVolumeTask$) + .build() { +} + +class CreateReservedInstancesListingCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateReservedInstancesListing", {}) + .n("EC2Client", "CreateReservedInstancesListingCommand") + .sc(schemas_0.CreateReservedInstancesListing$) + .build() { +} + +class CreateRestoreImageTaskCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateRestoreImageTask", {}) + .n("EC2Client", "CreateRestoreImageTaskCommand") + .sc(schemas_0.CreateRestoreImageTask$) + .build() { +} + +class CreateRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateRoute", {}) + .n("EC2Client", "CreateRouteCommand") + .sc(schemas_0.CreateRoute$) + .build() { +} + +class CreateRouteServerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateRouteServer", {}) + .n("EC2Client", "CreateRouteServerCommand") + .sc(schemas_0.CreateRouteServer$) + .build() { +} + +class CreateRouteServerEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateRouteServerEndpoint", {}) + .n("EC2Client", "CreateRouteServerEndpointCommand") + .sc(schemas_0.CreateRouteServerEndpoint$) + .build() { +} + +class CreateRouteServerPeerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateRouteServerPeer", {}) + .n("EC2Client", "CreateRouteServerPeerCommand") + .sc(schemas_0.CreateRouteServerPeer$) + .build() { +} + +class CreateRouteTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateRouteTable", {}) + .n("EC2Client", "CreateRouteTableCommand") + .sc(schemas_0.CreateRouteTable$) + .build() { +} + +class CreateSecondaryNetworkCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateSecondaryNetwork", {}) + .n("EC2Client", "CreateSecondaryNetworkCommand") + .sc(schemas_0.CreateSecondaryNetwork$) + .build() { +} + +class CreateSecondarySubnetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateSecondarySubnet", {}) + .n("EC2Client", "CreateSecondarySubnetCommand") + .sc(schemas_0.CreateSecondarySubnet$) + .build() { +} + +class CreateSecurityGroupCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateSecurityGroup", {}) + .n("EC2Client", "CreateSecurityGroupCommand") + .sc(schemas_0.CreateSecurityGroup$) + .build() { +} + +class CreateSnapshotCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateSnapshot", {}) + .n("EC2Client", "CreateSnapshotCommand") + .sc(schemas_0.CreateSnapshot$) + .build() { +} + +class CreateSnapshotsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateSnapshots", {}) + .n("EC2Client", "CreateSnapshotsCommand") + .sc(schemas_0.CreateSnapshots$) + .build() { +} + +class CreateSpotDatafeedSubscriptionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateSpotDatafeedSubscription", {}) + .n("EC2Client", "CreateSpotDatafeedSubscriptionCommand") + .sc(schemas_0.CreateSpotDatafeedSubscription$) + .build() { +} + +class CreateStoreImageTaskCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateStoreImageTask", {}) + .n("EC2Client", "CreateStoreImageTaskCommand") + .sc(schemas_0.CreateStoreImageTask$) + .build() { +} + +class CreateSubnetCidrReservationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateSubnetCidrReservation", {}) + .n("EC2Client", "CreateSubnetCidrReservationCommand") + .sc(schemas_0.CreateSubnetCidrReservation$) + .build() { +} + +class CreateSubnetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateSubnet", {}) + .n("EC2Client", "CreateSubnetCommand") + .sc(schemas_0.CreateSubnet$) + .build() { +} + +class CreateTagsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTags", {}) + .n("EC2Client", "CreateTagsCommand") + .sc(schemas_0.CreateTags$) + .build() { +} + +class CreateTrafficMirrorFilterCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTrafficMirrorFilter", {}) + .n("EC2Client", "CreateTrafficMirrorFilterCommand") + .sc(schemas_0.CreateTrafficMirrorFilter$) + .build() { +} + +class CreateTrafficMirrorFilterRuleCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTrafficMirrorFilterRule", {}) + .n("EC2Client", "CreateTrafficMirrorFilterRuleCommand") + .sc(schemas_0.CreateTrafficMirrorFilterRule$) + .build() { +} + +class CreateTrafficMirrorSessionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTrafficMirrorSession", {}) + .n("EC2Client", "CreateTrafficMirrorSessionCommand") + .sc(schemas_0.CreateTrafficMirrorSession$) + .build() { +} + +class CreateTrafficMirrorTargetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTrafficMirrorTarget", {}) + .n("EC2Client", "CreateTrafficMirrorTargetCommand") + .sc(schemas_0.CreateTrafficMirrorTarget$) + .build() { +} + +class CreateTransitGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGateway", {}) + .n("EC2Client", "CreateTransitGatewayCommand") + .sc(schemas_0.CreateTransitGateway$) + .build() { +} + +class CreateTransitGatewayConnectCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayConnect", {}) + .n("EC2Client", "CreateTransitGatewayConnectCommand") + .sc(schemas_0.CreateTransitGatewayConnect$) + .build() { +} + +class CreateTransitGatewayConnectPeerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayConnectPeer", {}) + .n("EC2Client", "CreateTransitGatewayConnectPeerCommand") + .sc(schemas_0.CreateTransitGatewayConnectPeer$) + .build() { +} + +class CreateTransitGatewayMeteringPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayMeteringPolicy", {}) + .n("EC2Client", "CreateTransitGatewayMeteringPolicyCommand") + .sc(schemas_0.CreateTransitGatewayMeteringPolicy$) + .build() { +} + +class CreateTransitGatewayMeteringPolicyEntryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayMeteringPolicyEntry", {}) + .n("EC2Client", "CreateTransitGatewayMeteringPolicyEntryCommand") + .sc(schemas_0.CreateTransitGatewayMeteringPolicyEntry$) + .build() { +} + +class CreateTransitGatewayMulticastDomainCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayMulticastDomain", {}) + .n("EC2Client", "CreateTransitGatewayMulticastDomainCommand") + .sc(schemas_0.CreateTransitGatewayMulticastDomain$) + .build() { +} + +class CreateTransitGatewayPeeringAttachmentCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayPeeringAttachment", {}) + .n("EC2Client", "CreateTransitGatewayPeeringAttachmentCommand") + .sc(schemas_0.CreateTransitGatewayPeeringAttachment$) + .build() { +} + +class CreateTransitGatewayPolicyTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayPolicyTable", {}) + .n("EC2Client", "CreateTransitGatewayPolicyTableCommand") + .sc(schemas_0.CreateTransitGatewayPolicyTable$) + .build() { +} + +class CreateTransitGatewayPrefixListReferenceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayPrefixListReference", {}) + .n("EC2Client", "CreateTransitGatewayPrefixListReferenceCommand") + .sc(schemas_0.CreateTransitGatewayPrefixListReference$) + .build() { +} + +class CreateTransitGatewayRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayRoute", {}) + .n("EC2Client", "CreateTransitGatewayRouteCommand") + .sc(schemas_0.CreateTransitGatewayRoute$) + .build() { +} + +class CreateTransitGatewayRouteTableAnnouncementCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayRouteTableAnnouncement", {}) + .n("EC2Client", "CreateTransitGatewayRouteTableAnnouncementCommand") + .sc(schemas_0.CreateTransitGatewayRouteTableAnnouncement$) + .build() { +} + +class CreateTransitGatewayRouteTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayRouteTable", {}) + .n("EC2Client", "CreateTransitGatewayRouteTableCommand") + .sc(schemas_0.CreateTransitGatewayRouteTable$) + .build() { +} + +class CreateTransitGatewayVpcAttachmentCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateTransitGatewayVpcAttachment", {}) + .n("EC2Client", "CreateTransitGatewayVpcAttachmentCommand") + .sc(schemas_0.CreateTransitGatewayVpcAttachment$) + .build() { +} + +class CreateVerifiedAccessEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVerifiedAccessEndpoint", {}) + .n("EC2Client", "CreateVerifiedAccessEndpointCommand") + .sc(schemas_0.CreateVerifiedAccessEndpoint$) + .build() { +} + +class CreateVerifiedAccessGroupCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVerifiedAccessGroup", {}) + .n("EC2Client", "CreateVerifiedAccessGroupCommand") + .sc(schemas_0.CreateVerifiedAccessGroup$) + .build() { +} + +class CreateVerifiedAccessInstanceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVerifiedAccessInstance", {}) + .n("EC2Client", "CreateVerifiedAccessInstanceCommand") + .sc(schemas_0.CreateVerifiedAccessInstance$) + .build() { +} + +class CreateVerifiedAccessTrustProviderCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVerifiedAccessTrustProvider", {}) + .n("EC2Client", "CreateVerifiedAccessTrustProviderCommand") + .sc(schemas_0.CreateVerifiedAccessTrustProvider$) + .build() { +} + +class CreateVolumeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVolume", {}) + .n("EC2Client", "CreateVolumeCommand") + .sc(schemas_0.CreateVolume$) + .build() { +} + +class CreateVpcBlockPublicAccessExclusionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVpcBlockPublicAccessExclusion", {}) + .n("EC2Client", "CreateVpcBlockPublicAccessExclusionCommand") + .sc(schemas_0.CreateVpcBlockPublicAccessExclusion$) + .build() { +} + +class CreateVpcCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVpc", {}) + .n("EC2Client", "CreateVpcCommand") + .sc(schemas_0.CreateVpc$) + .build() { +} + +class CreateVpcEncryptionControlCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVpcEncryptionControl", {}) + .n("EC2Client", "CreateVpcEncryptionControlCommand") + .sc(schemas_0.CreateVpcEncryptionControl$) + .build() { +} + +class CreateVpcEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVpcEndpoint", {}) + .n("EC2Client", "CreateVpcEndpointCommand") + .sc(schemas_0.CreateVpcEndpoint$) + .build() { +} + +class CreateVpcEndpointConnectionNotificationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVpcEndpointConnectionNotification", {}) + .n("EC2Client", "CreateVpcEndpointConnectionNotificationCommand") + .sc(schemas_0.CreateVpcEndpointConnectionNotification$) + .build() { +} + +class CreateVpcEndpointServiceConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVpcEndpointServiceConfiguration", {}) + .n("EC2Client", "CreateVpcEndpointServiceConfigurationCommand") + .sc(schemas_0.CreateVpcEndpointServiceConfiguration$) + .build() { +} + +class CreateVpcPeeringConnectionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVpcPeeringConnection", {}) + .n("EC2Client", "CreateVpcPeeringConnectionCommand") + .sc(schemas_0.CreateVpcPeeringConnection$) + .build() { +} + +class CreateVpnConcentratorCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVpnConcentrator", {}) + .n("EC2Client", "CreateVpnConcentratorCommand") + .sc(schemas_0.CreateVpnConcentrator$) + .build() { +} + +class CreateVpnConnectionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVpnConnection", {}) + .n("EC2Client", "CreateVpnConnectionCommand") + .sc(schemas_0.CreateVpnConnection$) + .build() { +} + +class CreateVpnConnectionRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVpnConnectionRoute", {}) + .n("EC2Client", "CreateVpnConnectionRouteCommand") + .sc(schemas_0.CreateVpnConnectionRoute$) + .build() { +} + +class CreateVpnGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "CreateVpnGateway", {}) + .n("EC2Client", "CreateVpnGatewayCommand") + .sc(schemas_0.CreateVpnGateway$) + .build() { +} + +class DeleteCapacityManagerDataExportCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteCapacityManagerDataExport", {}) + .n("EC2Client", "DeleteCapacityManagerDataExportCommand") + .sc(schemas_0.DeleteCapacityManagerDataExport$) + .build() { +} + +class DeleteCarrierGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteCarrierGateway", {}) + .n("EC2Client", "DeleteCarrierGatewayCommand") + .sc(schemas_0.DeleteCarrierGateway$) + .build() { +} + +class DeleteClientVpnEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteClientVpnEndpoint", {}) + .n("EC2Client", "DeleteClientVpnEndpointCommand") + .sc(schemas_0.DeleteClientVpnEndpoint$) + .build() { +} + +class DeleteClientVpnRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteClientVpnRoute", {}) + .n("EC2Client", "DeleteClientVpnRouteCommand") + .sc(schemas_0.DeleteClientVpnRoute$) + .build() { +} + +class DeleteCoipCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteCoipCidr", {}) + .n("EC2Client", "DeleteCoipCidrCommand") + .sc(schemas_0.DeleteCoipCidr$) + .build() { +} + +class DeleteCoipPoolCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteCoipPool", {}) + .n("EC2Client", "DeleteCoipPoolCommand") + .sc(schemas_0.DeleteCoipPool$) + .build() { +} + +class DeleteCustomerGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteCustomerGateway", {}) + .n("EC2Client", "DeleteCustomerGatewayCommand") + .sc(schemas_0.DeleteCustomerGateway$) + .build() { +} + +class DeleteDhcpOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteDhcpOptions", {}) + .n("EC2Client", "DeleteDhcpOptionsCommand") + .sc(schemas_0.DeleteDhcpOptions$) + .build() { +} + +class DeleteEgressOnlyInternetGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteEgressOnlyInternetGateway", {}) + .n("EC2Client", "DeleteEgressOnlyInternetGatewayCommand") + .sc(schemas_0.DeleteEgressOnlyInternetGateway$) + .build() { +} + +class DeleteFleetsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteFleets", {}) + .n("EC2Client", "DeleteFleetsCommand") + .sc(schemas_0.DeleteFleets$) + .build() { +} + +class DeleteFlowLogsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteFlowLogs", {}) + .n("EC2Client", "DeleteFlowLogsCommand") + .sc(schemas_0.DeleteFlowLogs$) + .build() { +} + +class DeleteFpgaImageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteFpgaImage", {}) + .n("EC2Client", "DeleteFpgaImageCommand") + .sc(schemas_0.DeleteFpgaImage$) + .build() { +} + +class DeleteImageUsageReportCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteImageUsageReport", {}) + .n("EC2Client", "DeleteImageUsageReportCommand") + .sc(schemas_0.DeleteImageUsageReport$) + .build() { +} + +class DeleteInstanceConnectEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteInstanceConnectEndpoint", {}) + .n("EC2Client", "DeleteInstanceConnectEndpointCommand") + .sc(schemas_0.DeleteInstanceConnectEndpoint$) + .build() { +} + +class DeleteInstanceEventWindowCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteInstanceEventWindow", {}) + .n("EC2Client", "DeleteInstanceEventWindowCommand") + .sc(schemas_0.DeleteInstanceEventWindow$) + .build() { +} + +class DeleteInternetGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteInternetGateway", {}) + .n("EC2Client", "DeleteInternetGatewayCommand") + .sc(schemas_0.DeleteInternetGateway$) + .build() { +} + +class DeleteIpamCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteIpam", {}) + .n("EC2Client", "DeleteIpamCommand") + .sc(schemas_0.DeleteIpam$) + .build() { +} + +class DeleteIpamExternalResourceVerificationTokenCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteIpamExternalResourceVerificationToken", {}) + .n("EC2Client", "DeleteIpamExternalResourceVerificationTokenCommand") + .sc(schemas_0.DeleteIpamExternalResourceVerificationToken$) + .build() { +} + +class DeleteIpamPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteIpamPolicy", {}) + .n("EC2Client", "DeleteIpamPolicyCommand") + .sc(schemas_0.DeleteIpamPolicy$) + .build() { +} + +class DeleteIpamPoolCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteIpamPool", {}) + .n("EC2Client", "DeleteIpamPoolCommand") + .sc(schemas_0.DeleteIpamPool$) + .build() { +} + +class DeleteIpamPrefixListResolverCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteIpamPrefixListResolver", {}) + .n("EC2Client", "DeleteIpamPrefixListResolverCommand") + .sc(schemas_0.DeleteIpamPrefixListResolver$) + .build() { +} + +class DeleteIpamPrefixListResolverTargetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteIpamPrefixListResolverTarget", {}) + .n("EC2Client", "DeleteIpamPrefixListResolverTargetCommand") + .sc(schemas_0.DeleteIpamPrefixListResolverTarget$) + .build() { +} + +class DeleteIpamResourceDiscoveryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteIpamResourceDiscovery", {}) + .n("EC2Client", "DeleteIpamResourceDiscoveryCommand") + .sc(schemas_0.DeleteIpamResourceDiscovery$) + .build() { +} + +class DeleteIpamScopeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteIpamScope", {}) + .n("EC2Client", "DeleteIpamScopeCommand") + .sc(schemas_0.DeleteIpamScope$) + .build() { +} + +class DeleteKeyPairCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteKeyPair", {}) + .n("EC2Client", "DeleteKeyPairCommand") + .sc(schemas_0.DeleteKeyPair$) + .build() { +} + +class DeleteLaunchTemplateCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteLaunchTemplate", {}) + .n("EC2Client", "DeleteLaunchTemplateCommand") + .sc(schemas_0.DeleteLaunchTemplate$) + .build() { +} + +class DeleteLaunchTemplateVersionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteLaunchTemplateVersions", {}) + .n("EC2Client", "DeleteLaunchTemplateVersionsCommand") + .sc(schemas_0.DeleteLaunchTemplateVersions$) + .build() { +} + +class DeleteLocalGatewayRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteLocalGatewayRoute", {}) + .n("EC2Client", "DeleteLocalGatewayRouteCommand") + .sc(schemas_0.DeleteLocalGatewayRoute$) + .build() { +} + +class DeleteLocalGatewayRouteTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteLocalGatewayRouteTable", {}) + .n("EC2Client", "DeleteLocalGatewayRouteTableCommand") + .sc(schemas_0.DeleteLocalGatewayRouteTable$) + .build() { +} + +class DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation", {}) + .n("EC2Client", "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand") + .sc(schemas_0.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation$) + .build() { +} + +class DeleteLocalGatewayRouteTableVpcAssociationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteLocalGatewayRouteTableVpcAssociation", {}) + .n("EC2Client", "DeleteLocalGatewayRouteTableVpcAssociationCommand") + .sc(schemas_0.DeleteLocalGatewayRouteTableVpcAssociation$) + .build() { +} + +class DeleteLocalGatewayVirtualInterfaceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteLocalGatewayVirtualInterface", {}) + .n("EC2Client", "DeleteLocalGatewayVirtualInterfaceCommand") + .sc(schemas_0.DeleteLocalGatewayVirtualInterface$) + .build() { +} + +class DeleteLocalGatewayVirtualInterfaceGroupCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteLocalGatewayVirtualInterfaceGroup", {}) + .n("EC2Client", "DeleteLocalGatewayVirtualInterfaceGroupCommand") + .sc(schemas_0.DeleteLocalGatewayVirtualInterfaceGroup$) + .build() { +} + +class DeleteManagedPrefixListCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteManagedPrefixList", {}) + .n("EC2Client", "DeleteManagedPrefixListCommand") + .sc(schemas_0.DeleteManagedPrefixList$) + .build() { +} + +class DeleteNatGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteNatGateway", {}) + .n("EC2Client", "DeleteNatGatewayCommand") + .sc(schemas_0.DeleteNatGateway$) + .build() { +} + +class DeleteNetworkAclCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteNetworkAcl", {}) + .n("EC2Client", "DeleteNetworkAclCommand") + .sc(schemas_0.DeleteNetworkAcl$) + .build() { +} + +class DeleteNetworkAclEntryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteNetworkAclEntry", {}) + .n("EC2Client", "DeleteNetworkAclEntryCommand") + .sc(schemas_0.DeleteNetworkAclEntry$) + .build() { +} + +class DeleteNetworkInsightsAccessScopeAnalysisCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteNetworkInsightsAccessScopeAnalysis", {}) + .n("EC2Client", "DeleteNetworkInsightsAccessScopeAnalysisCommand") + .sc(schemas_0.DeleteNetworkInsightsAccessScopeAnalysis$) + .build() { +} + +class DeleteNetworkInsightsAccessScopeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteNetworkInsightsAccessScope", {}) + .n("EC2Client", "DeleteNetworkInsightsAccessScopeCommand") + .sc(schemas_0.DeleteNetworkInsightsAccessScope$) + .build() { +} + +class DeleteNetworkInsightsAnalysisCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteNetworkInsightsAnalysis", {}) + .n("EC2Client", "DeleteNetworkInsightsAnalysisCommand") + .sc(schemas_0.DeleteNetworkInsightsAnalysis$) + .build() { +} + +class DeleteNetworkInsightsPathCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteNetworkInsightsPath", {}) + .n("EC2Client", "DeleteNetworkInsightsPathCommand") + .sc(schemas_0.DeleteNetworkInsightsPath$) + .build() { +} + +class DeleteNetworkInterfaceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteNetworkInterface", {}) + .n("EC2Client", "DeleteNetworkInterfaceCommand") + .sc(schemas_0.DeleteNetworkInterface$) + .build() { +} + +class DeleteNetworkInterfacePermissionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteNetworkInterfacePermission", {}) + .n("EC2Client", "DeleteNetworkInterfacePermissionCommand") + .sc(schemas_0.DeleteNetworkInterfacePermission$) + .build() { +} + +class DeletePlacementGroupCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeletePlacementGroup", {}) + .n("EC2Client", "DeletePlacementGroupCommand") + .sc(schemas_0.DeletePlacementGroup$) + .build() { +} + +class DeletePublicIpv4PoolCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeletePublicIpv4Pool", {}) + .n("EC2Client", "DeletePublicIpv4PoolCommand") + .sc(schemas_0.DeletePublicIpv4Pool$) + .build() { +} + +class DeleteQueuedReservedInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteQueuedReservedInstances", {}) + .n("EC2Client", "DeleteQueuedReservedInstancesCommand") + .sc(schemas_0.DeleteQueuedReservedInstances$) + .build() { +} + +class DeleteRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteRoute", {}) + .n("EC2Client", "DeleteRouteCommand") + .sc(schemas_0.DeleteRoute$) + .build() { +} + +class DeleteRouteServerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteRouteServer", {}) + .n("EC2Client", "DeleteRouteServerCommand") + .sc(schemas_0.DeleteRouteServer$) + .build() { +} + +class DeleteRouteServerEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteRouteServerEndpoint", {}) + .n("EC2Client", "DeleteRouteServerEndpointCommand") + .sc(schemas_0.DeleteRouteServerEndpoint$) + .build() { +} + +class DeleteRouteServerPeerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteRouteServerPeer", {}) + .n("EC2Client", "DeleteRouteServerPeerCommand") + .sc(schemas_0.DeleteRouteServerPeer$) + .build() { +} + +class DeleteRouteTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteRouteTable", {}) + .n("EC2Client", "DeleteRouteTableCommand") + .sc(schemas_0.DeleteRouteTable$) + .build() { +} + +class DeleteSecondaryNetworkCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteSecondaryNetwork", {}) + .n("EC2Client", "DeleteSecondaryNetworkCommand") + .sc(schemas_0.DeleteSecondaryNetwork$) + .build() { +} + +class DeleteSecondarySubnetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteSecondarySubnet", {}) + .n("EC2Client", "DeleteSecondarySubnetCommand") + .sc(schemas_0.DeleteSecondarySubnet$) + .build() { +} + +class DeleteSecurityGroupCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteSecurityGroup", {}) + .n("EC2Client", "DeleteSecurityGroupCommand") + .sc(schemas_0.DeleteSecurityGroup$) + .build() { +} + +class DeleteSnapshotCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteSnapshot", {}) + .n("EC2Client", "DeleteSnapshotCommand") + .sc(schemas_0.DeleteSnapshot$) + .build() { +} + +class DeleteSpotDatafeedSubscriptionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteSpotDatafeedSubscription", {}) + .n("EC2Client", "DeleteSpotDatafeedSubscriptionCommand") + .sc(schemas_0.DeleteSpotDatafeedSubscription$) + .build() { +} + +class DeleteSubnetCidrReservationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteSubnetCidrReservation", {}) + .n("EC2Client", "DeleteSubnetCidrReservationCommand") + .sc(schemas_0.DeleteSubnetCidrReservation$) + .build() { +} + +class DeleteSubnetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteSubnet", {}) + .n("EC2Client", "DeleteSubnetCommand") + .sc(schemas_0.DeleteSubnet$) + .build() { +} + +class DeleteTagsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTags", {}) + .n("EC2Client", "DeleteTagsCommand") + .sc(schemas_0.DeleteTags$) + .build() { +} + +class DeleteTrafficMirrorFilterCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTrafficMirrorFilter", {}) + .n("EC2Client", "DeleteTrafficMirrorFilterCommand") + .sc(schemas_0.DeleteTrafficMirrorFilter$) + .build() { +} + +class DeleteTrafficMirrorFilterRuleCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTrafficMirrorFilterRule", {}) + .n("EC2Client", "DeleteTrafficMirrorFilterRuleCommand") + .sc(schemas_0.DeleteTrafficMirrorFilterRule$) + .build() { +} + +class DeleteTrafficMirrorSessionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTrafficMirrorSession", {}) + .n("EC2Client", "DeleteTrafficMirrorSessionCommand") + .sc(schemas_0.DeleteTrafficMirrorSession$) + .build() { +} + +class DeleteTrafficMirrorTargetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTrafficMirrorTarget", {}) + .n("EC2Client", "DeleteTrafficMirrorTargetCommand") + .sc(schemas_0.DeleteTrafficMirrorTarget$) + .build() { +} + +class DeleteTransitGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGateway", {}) + .n("EC2Client", "DeleteTransitGatewayCommand") + .sc(schemas_0.DeleteTransitGateway$) + .build() { +} + +class DeleteTransitGatewayConnectCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayConnect", {}) + .n("EC2Client", "DeleteTransitGatewayConnectCommand") + .sc(schemas_0.DeleteTransitGatewayConnect$) + .build() { +} + +class DeleteTransitGatewayConnectPeerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayConnectPeer", {}) + .n("EC2Client", "DeleteTransitGatewayConnectPeerCommand") + .sc(schemas_0.DeleteTransitGatewayConnectPeer$) + .build() { +} + +class DeleteTransitGatewayMeteringPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayMeteringPolicy", {}) + .n("EC2Client", "DeleteTransitGatewayMeteringPolicyCommand") + .sc(schemas_0.DeleteTransitGatewayMeteringPolicy$) + .build() { +} + +class DeleteTransitGatewayMeteringPolicyEntryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayMeteringPolicyEntry", {}) + .n("EC2Client", "DeleteTransitGatewayMeteringPolicyEntryCommand") + .sc(schemas_0.DeleteTransitGatewayMeteringPolicyEntry$) + .build() { +} + +class DeleteTransitGatewayMulticastDomainCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayMulticastDomain", {}) + .n("EC2Client", "DeleteTransitGatewayMulticastDomainCommand") + .sc(schemas_0.DeleteTransitGatewayMulticastDomain$) + .build() { +} + +class DeleteTransitGatewayPeeringAttachmentCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayPeeringAttachment", {}) + .n("EC2Client", "DeleteTransitGatewayPeeringAttachmentCommand") + .sc(schemas_0.DeleteTransitGatewayPeeringAttachment$) + .build() { +} + +class DeleteTransitGatewayPolicyTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayPolicyTable", {}) + .n("EC2Client", "DeleteTransitGatewayPolicyTableCommand") + .sc(schemas_0.DeleteTransitGatewayPolicyTable$) + .build() { +} + +class DeleteTransitGatewayPrefixListReferenceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayPrefixListReference", {}) + .n("EC2Client", "DeleteTransitGatewayPrefixListReferenceCommand") + .sc(schemas_0.DeleteTransitGatewayPrefixListReference$) + .build() { +} + +class DeleteTransitGatewayRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayRoute", {}) + .n("EC2Client", "DeleteTransitGatewayRouteCommand") + .sc(schemas_0.DeleteTransitGatewayRoute$) + .build() { +} + +class DeleteTransitGatewayRouteTableAnnouncementCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayRouteTableAnnouncement", {}) + .n("EC2Client", "DeleteTransitGatewayRouteTableAnnouncementCommand") + .sc(schemas_0.DeleteTransitGatewayRouteTableAnnouncement$) + .build() { +} + +class DeleteTransitGatewayRouteTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayRouteTable", {}) + .n("EC2Client", "DeleteTransitGatewayRouteTableCommand") + .sc(schemas_0.DeleteTransitGatewayRouteTable$) + .build() { +} + +class DeleteTransitGatewayVpcAttachmentCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteTransitGatewayVpcAttachment", {}) + .n("EC2Client", "DeleteTransitGatewayVpcAttachmentCommand") + .sc(schemas_0.DeleteTransitGatewayVpcAttachment$) + .build() { +} + +class DeleteVerifiedAccessEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVerifiedAccessEndpoint", {}) + .n("EC2Client", "DeleteVerifiedAccessEndpointCommand") + .sc(schemas_0.DeleteVerifiedAccessEndpoint$) + .build() { +} + +class DeleteVerifiedAccessGroupCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVerifiedAccessGroup", {}) + .n("EC2Client", "DeleteVerifiedAccessGroupCommand") + .sc(schemas_0.DeleteVerifiedAccessGroup$) + .build() { +} + +class DeleteVerifiedAccessInstanceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVerifiedAccessInstance", {}) + .n("EC2Client", "DeleteVerifiedAccessInstanceCommand") + .sc(schemas_0.DeleteVerifiedAccessInstance$) + .build() { +} + +class DeleteVerifiedAccessTrustProviderCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVerifiedAccessTrustProvider", {}) + .n("EC2Client", "DeleteVerifiedAccessTrustProviderCommand") + .sc(schemas_0.DeleteVerifiedAccessTrustProvider$) + .build() { +} + +class DeleteVolumeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVolume", {}) + .n("EC2Client", "DeleteVolumeCommand") + .sc(schemas_0.DeleteVolume$) + .build() { +} + +class DeleteVpcBlockPublicAccessExclusionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVpcBlockPublicAccessExclusion", {}) + .n("EC2Client", "DeleteVpcBlockPublicAccessExclusionCommand") + .sc(schemas_0.DeleteVpcBlockPublicAccessExclusion$) + .build() { +} + +class DeleteVpcCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVpc", {}) + .n("EC2Client", "DeleteVpcCommand") + .sc(schemas_0.DeleteVpc$) + .build() { +} + +class DeleteVpcEncryptionControlCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVpcEncryptionControl", {}) + .n("EC2Client", "DeleteVpcEncryptionControlCommand") + .sc(schemas_0.DeleteVpcEncryptionControl$) + .build() { +} + +class DeleteVpcEndpointConnectionNotificationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVpcEndpointConnectionNotifications", {}) + .n("EC2Client", "DeleteVpcEndpointConnectionNotificationsCommand") + .sc(schemas_0.DeleteVpcEndpointConnectionNotifications$) + .build() { +} + +class DeleteVpcEndpointsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVpcEndpoints", {}) + .n("EC2Client", "DeleteVpcEndpointsCommand") + .sc(schemas_0.DeleteVpcEndpoints$) + .build() { +} + +class DeleteVpcEndpointServiceConfigurationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVpcEndpointServiceConfigurations", {}) + .n("EC2Client", "DeleteVpcEndpointServiceConfigurationsCommand") + .sc(schemas_0.DeleteVpcEndpointServiceConfigurations$) + .build() { +} + +class DeleteVpcPeeringConnectionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVpcPeeringConnection", {}) + .n("EC2Client", "DeleteVpcPeeringConnectionCommand") + .sc(schemas_0.DeleteVpcPeeringConnection$) + .build() { +} + +class DeleteVpnConcentratorCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVpnConcentrator", {}) + .n("EC2Client", "DeleteVpnConcentratorCommand") + .sc(schemas_0.DeleteVpnConcentrator$) + .build() { +} + +class DeleteVpnConnectionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVpnConnection", {}) + .n("EC2Client", "DeleteVpnConnectionCommand") + .sc(schemas_0.DeleteVpnConnection$) + .build() { +} + +class DeleteVpnConnectionRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVpnConnectionRoute", {}) + .n("EC2Client", "DeleteVpnConnectionRouteCommand") + .sc(schemas_0.DeleteVpnConnectionRoute$) + .build() { +} + +class DeleteVpnGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeleteVpnGateway", {}) + .n("EC2Client", "DeleteVpnGatewayCommand") + .sc(schemas_0.DeleteVpnGateway$) + .build() { +} + +class DeprovisionByoipCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeprovisionByoipCidr", {}) + .n("EC2Client", "DeprovisionByoipCidrCommand") + .sc(schemas_0.DeprovisionByoipCidr$) + .build() { +} + +class DeprovisionIpamByoasnCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeprovisionIpamByoasn", {}) + .n("EC2Client", "DeprovisionIpamByoasnCommand") + .sc(schemas_0.DeprovisionIpamByoasn$) + .build() { +} + +class DeprovisionIpamPoolCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeprovisionIpamPoolCidr", {}) + .n("EC2Client", "DeprovisionIpamPoolCidrCommand") + .sc(schemas_0.DeprovisionIpamPoolCidr$) + .build() { +} + +class DeprovisionPublicIpv4PoolCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeprovisionPublicIpv4PoolCidr", {}) + .n("EC2Client", "DeprovisionPublicIpv4PoolCidrCommand") + .sc(schemas_0.DeprovisionPublicIpv4PoolCidr$) + .build() { +} + +class DeregisterImageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeregisterImage", {}) + .n("EC2Client", "DeregisterImageCommand") + .sc(schemas_0.DeregisterImage$) + .build() { +} + +class DeregisterInstanceEventNotificationAttributesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeregisterInstanceEventNotificationAttributes", {}) + .n("EC2Client", "DeregisterInstanceEventNotificationAttributesCommand") + .sc(schemas_0.DeregisterInstanceEventNotificationAttributes$) + .build() { +} + +class DeregisterTransitGatewayMulticastGroupMembersCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeregisterTransitGatewayMulticastGroupMembers", {}) + .n("EC2Client", "DeregisterTransitGatewayMulticastGroupMembersCommand") + .sc(schemas_0.DeregisterTransitGatewayMulticastGroupMembers$) + .build() { +} + +class DeregisterTransitGatewayMulticastGroupSourcesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DeregisterTransitGatewayMulticastGroupSources", {}) + .n("EC2Client", "DeregisterTransitGatewayMulticastGroupSourcesCommand") + .sc(schemas_0.DeregisterTransitGatewayMulticastGroupSources$) + .build() { +} + +class DescribeAccountAttributesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeAccountAttributes", {}) + .n("EC2Client", "DescribeAccountAttributesCommand") + .sc(schemas_0.DescribeAccountAttributes$) + .build() { +} + +class DescribeAddressesAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeAddressesAttribute", {}) + .n("EC2Client", "DescribeAddressesAttributeCommand") + .sc(schemas_0.DescribeAddressesAttribute$) + .build() { +} + +class DescribeAddressesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeAddresses", {}) + .n("EC2Client", "DescribeAddressesCommand") + .sc(schemas_0.DescribeAddresses$) + .build() { +} + +class DescribeAddressTransfersCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeAddressTransfers", {}) + .n("EC2Client", "DescribeAddressTransfersCommand") + .sc(schemas_0.DescribeAddressTransfers$) + .build() { +} + +class DescribeAggregateIdFormatCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeAggregateIdFormat", {}) + .n("EC2Client", "DescribeAggregateIdFormatCommand") + .sc(schemas_0.DescribeAggregateIdFormat$) + .build() { +} + +class DescribeAvailabilityZonesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeAvailabilityZones", {}) + .n("EC2Client", "DescribeAvailabilityZonesCommand") + .sc(schemas_0.DescribeAvailabilityZones$) + .build() { +} + +class DescribeAwsNetworkPerformanceMetricSubscriptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeAwsNetworkPerformanceMetricSubscriptions", {}) + .n("EC2Client", "DescribeAwsNetworkPerformanceMetricSubscriptionsCommand") + .sc(schemas_0.DescribeAwsNetworkPerformanceMetricSubscriptions$) + .build() { +} + +class DescribeBundleTasksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeBundleTasks", {}) + .n("EC2Client", "DescribeBundleTasksCommand") + .sc(schemas_0.DescribeBundleTasks$) + .build() { +} + +class DescribeByoipCidrsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeByoipCidrs", {}) + .n("EC2Client", "DescribeByoipCidrsCommand") + .sc(schemas_0.DescribeByoipCidrs$) + .build() { +} + +class DescribeCapacityBlockExtensionHistoryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCapacityBlockExtensionHistory", {}) + .n("EC2Client", "DescribeCapacityBlockExtensionHistoryCommand") + .sc(schemas_0.DescribeCapacityBlockExtensionHistory$) + .build() { +} + +class DescribeCapacityBlockExtensionOfferingsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCapacityBlockExtensionOfferings", {}) + .n("EC2Client", "DescribeCapacityBlockExtensionOfferingsCommand") + .sc(schemas_0.DescribeCapacityBlockExtensionOfferings$) + .build() { +} + +class DescribeCapacityBlockOfferingsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCapacityBlockOfferings", {}) + .n("EC2Client", "DescribeCapacityBlockOfferingsCommand") + .sc(schemas_0.DescribeCapacityBlockOfferings$) + .build() { +} + +class DescribeCapacityBlocksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCapacityBlocks", {}) + .n("EC2Client", "DescribeCapacityBlocksCommand") + .sc(schemas_0.DescribeCapacityBlocks$) + .build() { +} + +class DescribeCapacityBlockStatusCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCapacityBlockStatus", {}) + .n("EC2Client", "DescribeCapacityBlockStatusCommand") + .sc(schemas_0.DescribeCapacityBlockStatus$) + .build() { +} + +class DescribeCapacityManagerDataExportsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCapacityManagerDataExports", {}) + .n("EC2Client", "DescribeCapacityManagerDataExportsCommand") + .sc(schemas_0.DescribeCapacityManagerDataExports$) + .build() { +} + +class DescribeCapacityReservationBillingRequestsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCapacityReservationBillingRequests", {}) + .n("EC2Client", "DescribeCapacityReservationBillingRequestsCommand") + .sc(schemas_0.DescribeCapacityReservationBillingRequests$) + .build() { +} + +class DescribeCapacityReservationFleetsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCapacityReservationFleets", {}) + .n("EC2Client", "DescribeCapacityReservationFleetsCommand") + .sc(schemas_0.DescribeCapacityReservationFleets$) + .build() { +} + +class DescribeCapacityReservationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCapacityReservations", {}) + .n("EC2Client", "DescribeCapacityReservationsCommand") + .sc(schemas_0.DescribeCapacityReservations$) + .build() { +} + +class DescribeCapacityReservationTopologyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCapacityReservationTopology", {}) + .n("EC2Client", "DescribeCapacityReservationTopologyCommand") + .sc(schemas_0.DescribeCapacityReservationTopology$) + .build() { +} + +class DescribeCarrierGatewaysCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCarrierGateways", {}) + .n("EC2Client", "DescribeCarrierGatewaysCommand") + .sc(schemas_0.DescribeCarrierGateways$) + .build() { +} + +class DescribeClassicLinkInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeClassicLinkInstances", {}) + .n("EC2Client", "DescribeClassicLinkInstancesCommand") + .sc(schemas_0.DescribeClassicLinkInstances$) + .build() { +} + +class DescribeClientVpnAuthorizationRulesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeClientVpnAuthorizationRules", {}) + .n("EC2Client", "DescribeClientVpnAuthorizationRulesCommand") + .sc(schemas_0.DescribeClientVpnAuthorizationRules$) + .build() { +} + +class DescribeClientVpnConnectionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeClientVpnConnections", {}) + .n("EC2Client", "DescribeClientVpnConnectionsCommand") + .sc(schemas_0.DescribeClientVpnConnections$) + .build() { +} + +class DescribeClientVpnEndpointsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeClientVpnEndpoints", {}) + .n("EC2Client", "DescribeClientVpnEndpointsCommand") + .sc(schemas_0.DescribeClientVpnEndpoints$) + .build() { +} + +class DescribeClientVpnRoutesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeClientVpnRoutes", {}) + .n("EC2Client", "DescribeClientVpnRoutesCommand") + .sc(schemas_0.DescribeClientVpnRoutes$) + .build() { +} + +class DescribeClientVpnTargetNetworksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeClientVpnTargetNetworks", {}) + .n("EC2Client", "DescribeClientVpnTargetNetworksCommand") + .sc(schemas_0.DescribeClientVpnTargetNetworks$) + .build() { +} + +class DescribeCoipPoolsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCoipPools", {}) + .n("EC2Client", "DescribeCoipPoolsCommand") + .sc(schemas_0.DescribeCoipPools$) + .build() { +} + +class DescribeConversionTasksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeConversionTasks", {}) + .n("EC2Client", "DescribeConversionTasksCommand") + .sc(schemas_0.DescribeConversionTasks$) + .build() { +} + +class DescribeCustomerGatewaysCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeCustomerGateways", {}) + .n("EC2Client", "DescribeCustomerGatewaysCommand") + .sc(schemas_0.DescribeCustomerGateways$) + .build() { +} + +class DescribeDeclarativePoliciesReportsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeDeclarativePoliciesReports", {}) + .n("EC2Client", "DescribeDeclarativePoliciesReportsCommand") + .sc(schemas_0.DescribeDeclarativePoliciesReports$) + .build() { +} + +class DescribeDhcpOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeDhcpOptions", {}) + .n("EC2Client", "DescribeDhcpOptionsCommand") + .sc(schemas_0.DescribeDhcpOptions$) + .build() { +} + +class DescribeEgressOnlyInternetGatewaysCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeEgressOnlyInternetGateways", {}) + .n("EC2Client", "DescribeEgressOnlyInternetGatewaysCommand") + .sc(schemas_0.DescribeEgressOnlyInternetGateways$) + .build() { +} + +class DescribeElasticGpusCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeElasticGpus", {}) + .n("EC2Client", "DescribeElasticGpusCommand") + .sc(schemas_0.DescribeElasticGpus$) + .build() { +} + +class DescribeExportImageTasksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeExportImageTasks", {}) + .n("EC2Client", "DescribeExportImageTasksCommand") + .sc(schemas_0.DescribeExportImageTasks$) + .build() { +} + +class DescribeExportTasksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeExportTasks", {}) + .n("EC2Client", "DescribeExportTasksCommand") + .sc(schemas_0.DescribeExportTasks$) + .build() { +} + +class DescribeFastLaunchImagesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeFastLaunchImages", {}) + .n("EC2Client", "DescribeFastLaunchImagesCommand") + .sc(schemas_0.DescribeFastLaunchImages$) + .build() { +} + +class DescribeFastSnapshotRestoresCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeFastSnapshotRestores", {}) + .n("EC2Client", "DescribeFastSnapshotRestoresCommand") + .sc(schemas_0.DescribeFastSnapshotRestores$) + .build() { +} + +class DescribeFleetHistoryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeFleetHistory", {}) + .n("EC2Client", "DescribeFleetHistoryCommand") + .sc(schemas_0.DescribeFleetHistory$) + .build() { +} + +class DescribeFleetInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeFleetInstances", {}) + .n("EC2Client", "DescribeFleetInstancesCommand") + .sc(schemas_0.DescribeFleetInstances$) + .build() { +} + +class DescribeFleetsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeFleets", {}) + .n("EC2Client", "DescribeFleetsCommand") + .sc(schemas_0.DescribeFleets$) + .build() { +} + +class DescribeFlowLogsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeFlowLogs", {}) + .n("EC2Client", "DescribeFlowLogsCommand") + .sc(schemas_0.DescribeFlowLogs$) + .build() { +} + +class DescribeFpgaImageAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeFpgaImageAttribute", {}) + .n("EC2Client", "DescribeFpgaImageAttributeCommand") + .sc(schemas_0.DescribeFpgaImageAttribute$) + .build() { +} + +class DescribeFpgaImagesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeFpgaImages", {}) + .n("EC2Client", "DescribeFpgaImagesCommand") + .sc(schemas_0.DescribeFpgaImages$) + .build() { +} + +class DescribeHostReservationOfferingsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeHostReservationOfferings", {}) + .n("EC2Client", "DescribeHostReservationOfferingsCommand") + .sc(schemas_0.DescribeHostReservationOfferings$) + .build() { +} + +class DescribeHostReservationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeHostReservations", {}) + .n("EC2Client", "DescribeHostReservationsCommand") + .sc(schemas_0.DescribeHostReservations$) + .build() { +} + +class DescribeHostsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeHosts", {}) + .n("EC2Client", "DescribeHostsCommand") + .sc(schemas_0.DescribeHosts$) + .build() { +} + +class DescribeIamInstanceProfileAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIamInstanceProfileAssociations", {}) + .n("EC2Client", "DescribeIamInstanceProfileAssociationsCommand") + .sc(schemas_0.DescribeIamInstanceProfileAssociations$) + .build() { +} + +class DescribeIdentityIdFormatCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIdentityIdFormat", {}) + .n("EC2Client", "DescribeIdentityIdFormatCommand") + .sc(schemas_0.DescribeIdentityIdFormat$) + .build() { +} + +class DescribeIdFormatCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIdFormat", {}) + .n("EC2Client", "DescribeIdFormatCommand") + .sc(schemas_0.DescribeIdFormat$) + .build() { +} + +class DescribeImageAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeImageAttribute", {}) + .n("EC2Client", "DescribeImageAttributeCommand") + .sc(schemas_0.DescribeImageAttribute$) + .build() { +} + +class DescribeImageReferencesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeImageReferences", {}) + .n("EC2Client", "DescribeImageReferencesCommand") + .sc(schemas_0.DescribeImageReferences$) + .build() { +} + +class DescribeImagesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeImages", {}) + .n("EC2Client", "DescribeImagesCommand") + .sc(schemas_0.DescribeImages$) + .build() { +} + +class DescribeImageUsageReportEntriesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeImageUsageReportEntries", {}) + .n("EC2Client", "DescribeImageUsageReportEntriesCommand") + .sc(schemas_0.DescribeImageUsageReportEntries$) + .build() { +} + +class DescribeImageUsageReportsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeImageUsageReports", {}) + .n("EC2Client", "DescribeImageUsageReportsCommand") + .sc(schemas_0.DescribeImageUsageReports$) + .build() { +} + +class DescribeImportImageTasksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeImportImageTasks", {}) + .n("EC2Client", "DescribeImportImageTasksCommand") + .sc(schemas_0.DescribeImportImageTasks$) + .build() { +} + +class DescribeImportSnapshotTasksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeImportSnapshotTasks", {}) + .n("EC2Client", "DescribeImportSnapshotTasksCommand") + .sc(schemas_0.DescribeImportSnapshotTasks$) + .build() { +} + +class DescribeInstanceAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceAttribute", {}) + .n("EC2Client", "DescribeInstanceAttributeCommand") + .sc(schemas_0.DescribeInstanceAttribute$) + .build() { +} + +class DescribeInstanceConnectEndpointsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceConnectEndpoints", {}) + .n("EC2Client", "DescribeInstanceConnectEndpointsCommand") + .sc(schemas_0.DescribeInstanceConnectEndpoints$) + .build() { +} + +class DescribeInstanceCreditSpecificationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceCreditSpecifications", {}) + .n("EC2Client", "DescribeInstanceCreditSpecificationsCommand") + .sc(schemas_0.DescribeInstanceCreditSpecifications$) + .build() { +} + +class DescribeInstanceEventNotificationAttributesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceEventNotificationAttributes", {}) + .n("EC2Client", "DescribeInstanceEventNotificationAttributesCommand") + .sc(schemas_0.DescribeInstanceEventNotificationAttributes$) + .build() { +} + +class DescribeInstanceEventWindowsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceEventWindows", {}) + .n("EC2Client", "DescribeInstanceEventWindowsCommand") + .sc(schemas_0.DescribeInstanceEventWindows$) + .build() { +} + +class DescribeInstanceImageMetadataCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceImageMetadata", {}) + .n("EC2Client", "DescribeInstanceImageMetadataCommand") + .sc(schemas_0.DescribeInstanceImageMetadata$) + .build() { +} + +class DescribeInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstances", {}) + .n("EC2Client", "DescribeInstancesCommand") + .sc(schemas_0.DescribeInstances$) + .build() { +} + +class DescribeInstanceSqlHaHistoryStatesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceSqlHaHistoryStates", {}) + .n("EC2Client", "DescribeInstanceSqlHaHistoryStatesCommand") + .sc(schemas_0.DescribeInstanceSqlHaHistoryStates$) + .build() { +} + +class DescribeInstanceSqlHaStatesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceSqlHaStates", {}) + .n("EC2Client", "DescribeInstanceSqlHaStatesCommand") + .sc(schemas_0.DescribeInstanceSqlHaStates$) + .build() { +} + +class DescribeInstanceStatusCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceStatus", {}) + .n("EC2Client", "DescribeInstanceStatusCommand") + .sc(schemas_0.DescribeInstanceStatus$) + .build() { +} + +class DescribeInstanceTopologyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceTopology", {}) + .n("EC2Client", "DescribeInstanceTopologyCommand") + .sc(schemas_0.DescribeInstanceTopology$) + .build() { +} + +class DescribeInstanceTypeOfferingsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceTypeOfferings", {}) + .n("EC2Client", "DescribeInstanceTypeOfferingsCommand") + .sc(schemas_0.DescribeInstanceTypeOfferings$) + .build() { +} + +class DescribeInstanceTypesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInstanceTypes", {}) + .n("EC2Client", "DescribeInstanceTypesCommand") + .sc(schemas_0.DescribeInstanceTypes$) + .build() { +} + +class DescribeInternetGatewaysCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeInternetGateways", {}) + .n("EC2Client", "DescribeInternetGatewaysCommand") + .sc(schemas_0.DescribeInternetGateways$) + .build() { +} + +class DescribeIpamByoasnCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIpamByoasn", {}) + .n("EC2Client", "DescribeIpamByoasnCommand") + .sc(schemas_0.DescribeIpamByoasn$) + .build() { +} + +class DescribeIpamExternalResourceVerificationTokensCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIpamExternalResourceVerificationTokens", {}) + .n("EC2Client", "DescribeIpamExternalResourceVerificationTokensCommand") + .sc(schemas_0.DescribeIpamExternalResourceVerificationTokens$) + .build() { +} + +class DescribeIpamPoliciesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIpamPolicies", {}) + .n("EC2Client", "DescribeIpamPoliciesCommand") + .sc(schemas_0.DescribeIpamPolicies$) + .build() { +} + +class DescribeIpamPoolsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIpamPools", {}) + .n("EC2Client", "DescribeIpamPoolsCommand") + .sc(schemas_0.DescribeIpamPools$) + .build() { +} + +class DescribeIpamPrefixListResolversCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIpamPrefixListResolvers", {}) + .n("EC2Client", "DescribeIpamPrefixListResolversCommand") + .sc(schemas_0.DescribeIpamPrefixListResolvers$) + .build() { +} + +class DescribeIpamPrefixListResolverTargetsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIpamPrefixListResolverTargets", {}) + .n("EC2Client", "DescribeIpamPrefixListResolverTargetsCommand") + .sc(schemas_0.DescribeIpamPrefixListResolverTargets$) + .build() { +} + +class DescribeIpamResourceDiscoveriesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIpamResourceDiscoveries", {}) + .n("EC2Client", "DescribeIpamResourceDiscoveriesCommand") + .sc(schemas_0.DescribeIpamResourceDiscoveries$) + .build() { +} + +class DescribeIpamResourceDiscoveryAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIpamResourceDiscoveryAssociations", {}) + .n("EC2Client", "DescribeIpamResourceDiscoveryAssociationsCommand") + .sc(schemas_0.DescribeIpamResourceDiscoveryAssociations$) + .build() { +} + +class DescribeIpamsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIpams", {}) + .n("EC2Client", "DescribeIpamsCommand") + .sc(schemas_0.DescribeIpams$) + .build() { +} + +class DescribeIpamScopesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIpamScopes", {}) + .n("EC2Client", "DescribeIpamScopesCommand") + .sc(schemas_0.DescribeIpamScopes$) + .build() { +} + +class DescribeIpv6PoolsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeIpv6Pools", {}) + .n("EC2Client", "DescribeIpv6PoolsCommand") + .sc(schemas_0.DescribeIpv6Pools$) + .build() { +} + +class DescribeKeyPairsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeKeyPairs", {}) + .n("EC2Client", "DescribeKeyPairsCommand") + .sc(schemas_0.DescribeKeyPairs$) + .build() { +} + +class DescribeLaunchTemplatesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeLaunchTemplates", {}) + .n("EC2Client", "DescribeLaunchTemplatesCommand") + .sc(schemas_0.DescribeLaunchTemplates$) + .build() { +} + +class DescribeLaunchTemplateVersionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeLaunchTemplateVersions", {}) + .n("EC2Client", "DescribeLaunchTemplateVersionsCommand") + .sc(schemas_0.DescribeLaunchTemplateVersions$) + .build() { +} + +class DescribeLocalGatewayRouteTablesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeLocalGatewayRouteTables", {}) + .n("EC2Client", "DescribeLocalGatewayRouteTablesCommand") + .sc(schemas_0.DescribeLocalGatewayRouteTables$) + .build() { +} + +class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations", {}) + .n("EC2Client", "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand") + .sc(schemas_0.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations$) + .build() { +} + +class DescribeLocalGatewayRouteTableVpcAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeLocalGatewayRouteTableVpcAssociations", {}) + .n("EC2Client", "DescribeLocalGatewayRouteTableVpcAssociationsCommand") + .sc(schemas_0.DescribeLocalGatewayRouteTableVpcAssociations$) + .build() { +} + +class DescribeLocalGatewaysCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeLocalGateways", {}) + .n("EC2Client", "DescribeLocalGatewaysCommand") + .sc(schemas_0.DescribeLocalGateways$) + .build() { +} + +class DescribeLocalGatewayVirtualInterfaceGroupsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeLocalGatewayVirtualInterfaceGroups", {}) + .n("EC2Client", "DescribeLocalGatewayVirtualInterfaceGroupsCommand") + .sc(schemas_0.DescribeLocalGatewayVirtualInterfaceGroups$) + .build() { +} + +class DescribeLocalGatewayVirtualInterfacesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeLocalGatewayVirtualInterfaces", {}) + .n("EC2Client", "DescribeLocalGatewayVirtualInterfacesCommand") + .sc(schemas_0.DescribeLocalGatewayVirtualInterfaces$) + .build() { +} + +class DescribeLockedSnapshotsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeLockedSnapshots", {}) + .n("EC2Client", "DescribeLockedSnapshotsCommand") + .sc(schemas_0.DescribeLockedSnapshots$) + .build() { +} + +class DescribeMacHostsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeMacHosts", {}) + .n("EC2Client", "DescribeMacHostsCommand") + .sc(schemas_0.DescribeMacHosts$) + .build() { +} + +class DescribeMacModificationTasksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeMacModificationTasks", {}) + .n("EC2Client", "DescribeMacModificationTasksCommand") + .sc(schemas_0.DescribeMacModificationTasks$) + .build() { +} + +class DescribeManagedPrefixListsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeManagedPrefixLists", {}) + .n("EC2Client", "DescribeManagedPrefixListsCommand") + .sc(schemas_0.DescribeManagedPrefixLists$) + .build() { +} + +class DescribeMovingAddressesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeMovingAddresses", {}) + .n("EC2Client", "DescribeMovingAddressesCommand") + .sc(schemas_0.DescribeMovingAddresses$) + .build() { +} + +class DescribeNatGatewaysCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeNatGateways", {}) + .n("EC2Client", "DescribeNatGatewaysCommand") + .sc(schemas_0.DescribeNatGateways$) + .build() { +} + +class DescribeNetworkAclsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeNetworkAcls", {}) + .n("EC2Client", "DescribeNetworkAclsCommand") + .sc(schemas_0.DescribeNetworkAcls$) + .build() { +} + +class DescribeNetworkInsightsAccessScopeAnalysesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeNetworkInsightsAccessScopeAnalyses", {}) + .n("EC2Client", "DescribeNetworkInsightsAccessScopeAnalysesCommand") + .sc(schemas_0.DescribeNetworkInsightsAccessScopeAnalyses$) + .build() { +} + +class DescribeNetworkInsightsAccessScopesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeNetworkInsightsAccessScopes", {}) + .n("EC2Client", "DescribeNetworkInsightsAccessScopesCommand") + .sc(schemas_0.DescribeNetworkInsightsAccessScopes$) + .build() { +} + +class DescribeNetworkInsightsAnalysesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeNetworkInsightsAnalyses", {}) + .n("EC2Client", "DescribeNetworkInsightsAnalysesCommand") + .sc(schemas_0.DescribeNetworkInsightsAnalyses$) + .build() { +} + +class DescribeNetworkInsightsPathsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeNetworkInsightsPaths", {}) + .n("EC2Client", "DescribeNetworkInsightsPathsCommand") + .sc(schemas_0.DescribeNetworkInsightsPaths$) + .build() { +} + +class DescribeNetworkInterfaceAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeNetworkInterfaceAttribute", {}) + .n("EC2Client", "DescribeNetworkInterfaceAttributeCommand") + .sc(schemas_0.DescribeNetworkInterfaceAttribute$) + .build() { +} + +class DescribeNetworkInterfacePermissionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeNetworkInterfacePermissions", {}) + .n("EC2Client", "DescribeNetworkInterfacePermissionsCommand") + .sc(schemas_0.DescribeNetworkInterfacePermissions$) + .build() { +} + +class DescribeNetworkInterfacesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeNetworkInterfaces", {}) + .n("EC2Client", "DescribeNetworkInterfacesCommand") + .sc(schemas_0.DescribeNetworkInterfaces$) + .build() { +} + +class DescribeOutpostLagsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeOutpostLags", {}) + .n("EC2Client", "DescribeOutpostLagsCommand") + .sc(schemas_0.DescribeOutpostLags$) + .build() { +} + +class DescribePlacementGroupsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribePlacementGroups", {}) + .n("EC2Client", "DescribePlacementGroupsCommand") + .sc(schemas_0.DescribePlacementGroups$) + .build() { +} + +class DescribePrefixListsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribePrefixLists", {}) + .n("EC2Client", "DescribePrefixListsCommand") + .sc(schemas_0.DescribePrefixLists$) + .build() { +} + +class DescribePrincipalIdFormatCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribePrincipalIdFormat", {}) + .n("EC2Client", "DescribePrincipalIdFormatCommand") + .sc(schemas_0.DescribePrincipalIdFormat$) + .build() { +} + +class DescribePublicIpv4PoolsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribePublicIpv4Pools", {}) + .n("EC2Client", "DescribePublicIpv4PoolsCommand") + .sc(schemas_0.DescribePublicIpv4Pools$) + .build() { +} + +class DescribeRegionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeRegions", {}) + .n("EC2Client", "DescribeRegionsCommand") + .sc(schemas_0.DescribeRegions$) + .build() { +} + +class DescribeReplaceRootVolumeTasksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeReplaceRootVolumeTasks", {}) + .n("EC2Client", "DescribeReplaceRootVolumeTasksCommand") + .sc(schemas_0.DescribeReplaceRootVolumeTasks$) + .build() { +} + +class DescribeReservedInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeReservedInstances", {}) + .n("EC2Client", "DescribeReservedInstancesCommand") + .sc(schemas_0.DescribeReservedInstances$) + .build() { +} + +class DescribeReservedInstancesListingsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeReservedInstancesListings", {}) + .n("EC2Client", "DescribeReservedInstancesListingsCommand") + .sc(schemas_0.DescribeReservedInstancesListings$) + .build() { +} + +class DescribeReservedInstancesModificationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeReservedInstancesModifications", {}) + .n("EC2Client", "DescribeReservedInstancesModificationsCommand") + .sc(schemas_0.DescribeReservedInstancesModifications$) + .build() { +} + +class DescribeReservedInstancesOfferingsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeReservedInstancesOfferings", {}) + .n("EC2Client", "DescribeReservedInstancesOfferingsCommand") + .sc(schemas_0.DescribeReservedInstancesOfferings$) + .build() { +} + +class DescribeRouteServerEndpointsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeRouteServerEndpoints", {}) + .n("EC2Client", "DescribeRouteServerEndpointsCommand") + .sc(schemas_0.DescribeRouteServerEndpoints$) + .build() { +} + +class DescribeRouteServerPeersCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeRouteServerPeers", {}) + .n("EC2Client", "DescribeRouteServerPeersCommand") + .sc(schemas_0.DescribeRouteServerPeers$) + .build() { +} + +class DescribeRouteServersCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeRouteServers", {}) + .n("EC2Client", "DescribeRouteServersCommand") + .sc(schemas_0.DescribeRouteServers$) + .build() { +} + +class DescribeRouteTablesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeRouteTables", {}) + .n("EC2Client", "DescribeRouteTablesCommand") + .sc(schemas_0.DescribeRouteTables$) + .build() { +} + +class DescribeScheduledInstanceAvailabilityCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeScheduledInstanceAvailability", {}) + .n("EC2Client", "DescribeScheduledInstanceAvailabilityCommand") + .sc(schemas_0.DescribeScheduledInstanceAvailability$) + .build() { +} + +class DescribeScheduledInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeScheduledInstances", {}) + .n("EC2Client", "DescribeScheduledInstancesCommand") + .sc(schemas_0.DescribeScheduledInstances$) + .build() { +} + +class DescribeSecondaryInterfacesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSecondaryInterfaces", {}) + .n("EC2Client", "DescribeSecondaryInterfacesCommand") + .sc(schemas_0.DescribeSecondaryInterfaces$) + .build() { +} + +class DescribeSecondaryNetworksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSecondaryNetworks", {}) + .n("EC2Client", "DescribeSecondaryNetworksCommand") + .sc(schemas_0.DescribeSecondaryNetworks$) + .build() { +} + +class DescribeSecondarySubnetsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSecondarySubnets", {}) + .n("EC2Client", "DescribeSecondarySubnetsCommand") + .sc(schemas_0.DescribeSecondarySubnets$) + .build() { +} + +class DescribeSecurityGroupReferencesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSecurityGroupReferences", {}) + .n("EC2Client", "DescribeSecurityGroupReferencesCommand") + .sc(schemas_0.DescribeSecurityGroupReferences$) + .build() { +} + +class DescribeSecurityGroupRulesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSecurityGroupRules", {}) + .n("EC2Client", "DescribeSecurityGroupRulesCommand") + .sc(schemas_0.DescribeSecurityGroupRules$) + .build() { +} + +class DescribeSecurityGroupsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSecurityGroups", {}) + .n("EC2Client", "DescribeSecurityGroupsCommand") + .sc(schemas_0.DescribeSecurityGroups$) + .build() { +} + +class DescribeSecurityGroupVpcAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSecurityGroupVpcAssociations", {}) + .n("EC2Client", "DescribeSecurityGroupVpcAssociationsCommand") + .sc(schemas_0.DescribeSecurityGroupVpcAssociations$) + .build() { +} + +class DescribeServiceLinkVirtualInterfacesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeServiceLinkVirtualInterfaces", {}) + .n("EC2Client", "DescribeServiceLinkVirtualInterfacesCommand") + .sc(schemas_0.DescribeServiceLinkVirtualInterfaces$) + .build() { +} + +class DescribeSnapshotAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSnapshotAttribute", {}) + .n("EC2Client", "DescribeSnapshotAttributeCommand") + .sc(schemas_0.DescribeSnapshotAttribute$) + .build() { +} + +class DescribeSnapshotsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSnapshots", {}) + .n("EC2Client", "DescribeSnapshotsCommand") + .sc(schemas_0.DescribeSnapshots$) + .build() { +} + +class DescribeSnapshotTierStatusCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSnapshotTierStatus", {}) + .n("EC2Client", "DescribeSnapshotTierStatusCommand") + .sc(schemas_0.DescribeSnapshotTierStatus$) + .build() { +} + +class DescribeSpotDatafeedSubscriptionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSpotDatafeedSubscription", {}) + .n("EC2Client", "DescribeSpotDatafeedSubscriptionCommand") + .sc(schemas_0.DescribeSpotDatafeedSubscription$) + .build() { +} + +class DescribeSpotFleetInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSpotFleetInstances", {}) + .n("EC2Client", "DescribeSpotFleetInstancesCommand") + .sc(schemas_0.DescribeSpotFleetInstances$) + .build() { +} + +class DescribeSpotFleetRequestHistoryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSpotFleetRequestHistory", {}) + .n("EC2Client", "DescribeSpotFleetRequestHistoryCommand") + .sc(schemas_0.DescribeSpotFleetRequestHistory$) + .build() { +} + +class DescribeSpotFleetRequestsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSpotFleetRequests", {}) + .n("EC2Client", "DescribeSpotFleetRequestsCommand") + .sc(schemas_0.DescribeSpotFleetRequests$) + .build() { +} + +class DescribeSpotInstanceRequestsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSpotInstanceRequests", {}) + .n("EC2Client", "DescribeSpotInstanceRequestsCommand") + .sc(schemas_0.DescribeSpotInstanceRequests$) + .build() { +} + +class DescribeSpotPriceHistoryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSpotPriceHistory", {}) + .n("EC2Client", "DescribeSpotPriceHistoryCommand") + .sc(schemas_0.DescribeSpotPriceHistory$) + .build() { +} + +class DescribeStaleSecurityGroupsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeStaleSecurityGroups", {}) + .n("EC2Client", "DescribeStaleSecurityGroupsCommand") + .sc(schemas_0.DescribeStaleSecurityGroups$) + .build() { +} + +class DescribeStoreImageTasksCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeStoreImageTasks", {}) + .n("EC2Client", "DescribeStoreImageTasksCommand") + .sc(schemas_0.DescribeStoreImageTasks$) + .build() { +} + +class DescribeSubnetsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeSubnets", {}) + .n("EC2Client", "DescribeSubnetsCommand") + .sc(schemas_0.DescribeSubnets$) + .build() { +} + +class DescribeTagsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTags", {}) + .n("EC2Client", "DescribeTagsCommand") + .sc(schemas_0.DescribeTags$) + .build() { +} + +class DescribeTrafficMirrorFilterRulesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTrafficMirrorFilterRules", {}) + .n("EC2Client", "DescribeTrafficMirrorFilterRulesCommand") + .sc(schemas_0.DescribeTrafficMirrorFilterRules$) + .build() { +} + +class DescribeTrafficMirrorFiltersCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTrafficMirrorFilters", {}) + .n("EC2Client", "DescribeTrafficMirrorFiltersCommand") + .sc(schemas_0.DescribeTrafficMirrorFilters$) + .build() { +} + +class DescribeTrafficMirrorSessionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTrafficMirrorSessions", {}) + .n("EC2Client", "DescribeTrafficMirrorSessionsCommand") + .sc(schemas_0.DescribeTrafficMirrorSessions$) + .build() { +} + +class DescribeTrafficMirrorTargetsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTrafficMirrorTargets", {}) + .n("EC2Client", "DescribeTrafficMirrorTargetsCommand") + .sc(schemas_0.DescribeTrafficMirrorTargets$) + .build() { +} + +class DescribeTransitGatewayAttachmentsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTransitGatewayAttachments", {}) + .n("EC2Client", "DescribeTransitGatewayAttachmentsCommand") + .sc(schemas_0.DescribeTransitGatewayAttachments$) + .build() { +} + +class DescribeTransitGatewayConnectPeersCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTransitGatewayConnectPeers", {}) + .n("EC2Client", "DescribeTransitGatewayConnectPeersCommand") + .sc(schemas_0.DescribeTransitGatewayConnectPeers$) + .build() { +} + +class DescribeTransitGatewayConnectsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTransitGatewayConnects", {}) + .n("EC2Client", "DescribeTransitGatewayConnectsCommand") + .sc(schemas_0.DescribeTransitGatewayConnects$) + .build() { +} + +class DescribeTransitGatewayMeteringPoliciesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTransitGatewayMeteringPolicies", {}) + .n("EC2Client", "DescribeTransitGatewayMeteringPoliciesCommand") + .sc(schemas_0.DescribeTransitGatewayMeteringPolicies$) + .build() { +} + +class DescribeTransitGatewayMulticastDomainsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTransitGatewayMulticastDomains", {}) + .n("EC2Client", "DescribeTransitGatewayMulticastDomainsCommand") + .sc(schemas_0.DescribeTransitGatewayMulticastDomains$) + .build() { +} + +class DescribeTransitGatewayPeeringAttachmentsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTransitGatewayPeeringAttachments", {}) + .n("EC2Client", "DescribeTransitGatewayPeeringAttachmentsCommand") + .sc(schemas_0.DescribeTransitGatewayPeeringAttachments$) + .build() { +} + +class DescribeTransitGatewayPolicyTablesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTransitGatewayPolicyTables", {}) + .n("EC2Client", "DescribeTransitGatewayPolicyTablesCommand") + .sc(schemas_0.DescribeTransitGatewayPolicyTables$) + .build() { +} + +class DescribeTransitGatewayRouteTableAnnouncementsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTransitGatewayRouteTableAnnouncements", {}) + .n("EC2Client", "DescribeTransitGatewayRouteTableAnnouncementsCommand") + .sc(schemas_0.DescribeTransitGatewayRouteTableAnnouncements$) + .build() { +} + +class DescribeTransitGatewayRouteTablesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTransitGatewayRouteTables", {}) + .n("EC2Client", "DescribeTransitGatewayRouteTablesCommand") + .sc(schemas_0.DescribeTransitGatewayRouteTables$) + .build() { +} + +class DescribeTransitGatewaysCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTransitGateways", {}) + .n("EC2Client", "DescribeTransitGatewaysCommand") + .sc(schemas_0.DescribeTransitGateways$) + .build() { +} + +class DescribeTransitGatewayVpcAttachmentsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTransitGatewayVpcAttachments", {}) + .n("EC2Client", "DescribeTransitGatewayVpcAttachmentsCommand") + .sc(schemas_0.DescribeTransitGatewayVpcAttachments$) + .build() { +} + +class DescribeTrunkInterfaceAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeTrunkInterfaceAssociations", {}) + .n("EC2Client", "DescribeTrunkInterfaceAssociationsCommand") + .sc(schemas_0.DescribeTrunkInterfaceAssociations$) + .build() { +} + +class DescribeVerifiedAccessEndpointsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVerifiedAccessEndpoints", {}) + .n("EC2Client", "DescribeVerifiedAccessEndpointsCommand") + .sc(schemas_0.DescribeVerifiedAccessEndpoints$) + .build() { +} + +class DescribeVerifiedAccessGroupsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVerifiedAccessGroups", {}) + .n("EC2Client", "DescribeVerifiedAccessGroupsCommand") + .sc(schemas_0.DescribeVerifiedAccessGroups$) + .build() { +} + +class DescribeVerifiedAccessInstanceLoggingConfigurationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVerifiedAccessInstanceLoggingConfigurations", {}) + .n("EC2Client", "DescribeVerifiedAccessInstanceLoggingConfigurationsCommand") + .sc(schemas_0.DescribeVerifiedAccessInstanceLoggingConfigurations$) + .build() { +} + +class DescribeVerifiedAccessInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVerifiedAccessInstances", {}) + .n("EC2Client", "DescribeVerifiedAccessInstancesCommand") + .sc(schemas_0.DescribeVerifiedAccessInstances$) + .build() { +} + +class DescribeVerifiedAccessTrustProvidersCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVerifiedAccessTrustProviders", {}) + .n("EC2Client", "DescribeVerifiedAccessTrustProvidersCommand") + .sc(schemas_0.DescribeVerifiedAccessTrustProviders$) + .build() { +} + +class DescribeVolumeAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVolumeAttribute", {}) + .n("EC2Client", "DescribeVolumeAttributeCommand") + .sc(schemas_0.DescribeVolumeAttribute$) + .build() { +} + +class DescribeVolumesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVolumes", {}) + .n("EC2Client", "DescribeVolumesCommand") + .sc(schemas_0.DescribeVolumes$) + .build() { +} + +class DescribeVolumesModificationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVolumesModifications", {}) + .n("EC2Client", "DescribeVolumesModificationsCommand") + .sc(schemas_0.DescribeVolumesModifications$) + .build() { +} + +class DescribeVolumeStatusCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVolumeStatus", {}) + .n("EC2Client", "DescribeVolumeStatusCommand") + .sc(schemas_0.DescribeVolumeStatus$) + .build() { +} + +class DescribeVpcAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcAttribute", {}) + .n("EC2Client", "DescribeVpcAttributeCommand") + .sc(schemas_0.DescribeVpcAttribute$) + .build() { +} + +class DescribeVpcBlockPublicAccessExclusionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcBlockPublicAccessExclusions", {}) + .n("EC2Client", "DescribeVpcBlockPublicAccessExclusionsCommand") + .sc(schemas_0.DescribeVpcBlockPublicAccessExclusions$) + .build() { +} + +class DescribeVpcBlockPublicAccessOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcBlockPublicAccessOptions", {}) + .n("EC2Client", "DescribeVpcBlockPublicAccessOptionsCommand") + .sc(schemas_0.DescribeVpcBlockPublicAccessOptions$) + .build() { +} + +class DescribeVpcClassicLinkCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcClassicLink", {}) + .n("EC2Client", "DescribeVpcClassicLinkCommand") + .sc(schemas_0.DescribeVpcClassicLink$) + .build() { +} + +class DescribeVpcClassicLinkDnsSupportCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcClassicLinkDnsSupport", {}) + .n("EC2Client", "DescribeVpcClassicLinkDnsSupportCommand") + .sc(schemas_0.DescribeVpcClassicLinkDnsSupport$) + .build() { +} + +class DescribeVpcEncryptionControlsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcEncryptionControls", {}) + .n("EC2Client", "DescribeVpcEncryptionControlsCommand") + .sc(schemas_0.DescribeVpcEncryptionControls$) + .build() { +} + +class DescribeVpcEndpointAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcEndpointAssociations", {}) + .n("EC2Client", "DescribeVpcEndpointAssociationsCommand") + .sc(schemas_0.DescribeVpcEndpointAssociations$) + .build() { +} + +class DescribeVpcEndpointConnectionNotificationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcEndpointConnectionNotifications", {}) + .n("EC2Client", "DescribeVpcEndpointConnectionNotificationsCommand") + .sc(schemas_0.DescribeVpcEndpointConnectionNotifications$) + .build() { +} + +class DescribeVpcEndpointConnectionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcEndpointConnections", {}) + .n("EC2Client", "DescribeVpcEndpointConnectionsCommand") + .sc(schemas_0.DescribeVpcEndpointConnections$) + .build() { +} + +class DescribeVpcEndpointsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcEndpoints", {}) + .n("EC2Client", "DescribeVpcEndpointsCommand") + .sc(schemas_0.DescribeVpcEndpoints$) + .build() { +} + +class DescribeVpcEndpointServiceConfigurationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcEndpointServiceConfigurations", {}) + .n("EC2Client", "DescribeVpcEndpointServiceConfigurationsCommand") + .sc(schemas_0.DescribeVpcEndpointServiceConfigurations$) + .build() { +} + +class DescribeVpcEndpointServicePermissionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcEndpointServicePermissions", {}) + .n("EC2Client", "DescribeVpcEndpointServicePermissionsCommand") + .sc(schemas_0.DescribeVpcEndpointServicePermissions$) + .build() { +} + +class DescribeVpcEndpointServicesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcEndpointServices", {}) + .n("EC2Client", "DescribeVpcEndpointServicesCommand") + .sc(schemas_0.DescribeVpcEndpointServices$) + .build() { +} + +class DescribeVpcPeeringConnectionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcPeeringConnections", {}) + .n("EC2Client", "DescribeVpcPeeringConnectionsCommand") + .sc(schemas_0.DescribeVpcPeeringConnections$) + .build() { +} + +class DescribeVpcsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpcs", {}) + .n("EC2Client", "DescribeVpcsCommand") + .sc(schemas_0.DescribeVpcs$) + .build() { +} + +class DescribeVpnConcentratorsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpnConcentrators", {}) + .n("EC2Client", "DescribeVpnConcentratorsCommand") + .sc(schemas_0.DescribeVpnConcentrators$) + .build() { +} + +class DescribeVpnConnectionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpnConnections", {}) + .n("EC2Client", "DescribeVpnConnectionsCommand") + .sc(schemas_0.DescribeVpnConnections$) + .build() { +} + +class DescribeVpnGatewaysCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DescribeVpnGateways", {}) + .n("EC2Client", "DescribeVpnGatewaysCommand") + .sc(schemas_0.DescribeVpnGateways$) + .build() { +} + +class DetachClassicLinkVpcCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DetachClassicLinkVpc", {}) + .n("EC2Client", "DetachClassicLinkVpcCommand") + .sc(schemas_0.DetachClassicLinkVpc$) + .build() { +} + +class DetachInternetGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DetachInternetGateway", {}) + .n("EC2Client", "DetachInternetGatewayCommand") + .sc(schemas_0.DetachInternetGateway$) + .build() { +} + +class DetachNetworkInterfaceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DetachNetworkInterface", {}) + .n("EC2Client", "DetachNetworkInterfaceCommand") + .sc(schemas_0.DetachNetworkInterface$) + .build() { +} + +class DetachVerifiedAccessTrustProviderCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DetachVerifiedAccessTrustProvider", {}) + .n("EC2Client", "DetachVerifiedAccessTrustProviderCommand") + .sc(schemas_0.DetachVerifiedAccessTrustProvider$) + .build() { +} + +class DetachVolumeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DetachVolume", {}) + .n("EC2Client", "DetachVolumeCommand") + .sc(schemas_0.DetachVolume$) + .build() { +} + +class DetachVpnGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DetachVpnGateway", {}) + .n("EC2Client", "DetachVpnGatewayCommand") + .sc(schemas_0.DetachVpnGateway$) + .build() { +} + +class DisableAddressTransferCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableAddressTransfer", {}) + .n("EC2Client", "DisableAddressTransferCommand") + .sc(schemas_0.DisableAddressTransfer$) + .build() { +} + +class DisableAllowedImagesSettingsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableAllowedImagesSettings", {}) + .n("EC2Client", "DisableAllowedImagesSettingsCommand") + .sc(schemas_0.DisableAllowedImagesSettings$) + .build() { +} + +class DisableAwsNetworkPerformanceMetricSubscriptionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableAwsNetworkPerformanceMetricSubscription", {}) + .n("EC2Client", "DisableAwsNetworkPerformanceMetricSubscriptionCommand") + .sc(schemas_0.DisableAwsNetworkPerformanceMetricSubscription$) + .build() { +} + +class DisableCapacityManagerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableCapacityManager", {}) + .n("EC2Client", "DisableCapacityManagerCommand") + .sc(schemas_0.DisableCapacityManager$) + .build() { +} + +class DisableEbsEncryptionByDefaultCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableEbsEncryptionByDefault", {}) + .n("EC2Client", "DisableEbsEncryptionByDefaultCommand") + .sc(schemas_0.DisableEbsEncryptionByDefault$) + .build() { +} + +class DisableFastLaunchCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableFastLaunch", {}) + .n("EC2Client", "DisableFastLaunchCommand") + .sc(schemas_0.DisableFastLaunch$) + .build() { +} + +class DisableFastSnapshotRestoresCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableFastSnapshotRestores", {}) + .n("EC2Client", "DisableFastSnapshotRestoresCommand") + .sc(schemas_0.DisableFastSnapshotRestores$) + .build() { +} + +class DisableImageBlockPublicAccessCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableImageBlockPublicAccess", {}) + .n("EC2Client", "DisableImageBlockPublicAccessCommand") + .sc(schemas_0.DisableImageBlockPublicAccess$) + .build() { +} + +class DisableImageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableImage", {}) + .n("EC2Client", "DisableImageCommand") + .sc(schemas_0.DisableImage$) + .build() { +} + +class DisableImageDeprecationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableImageDeprecation", {}) + .n("EC2Client", "DisableImageDeprecationCommand") + .sc(schemas_0.DisableImageDeprecation$) + .build() { +} + +class DisableImageDeregistrationProtectionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableImageDeregistrationProtection", {}) + .n("EC2Client", "DisableImageDeregistrationProtectionCommand") + .sc(schemas_0.DisableImageDeregistrationProtection$) + .build() { +} + +class DisableInstanceSqlHaStandbyDetectionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableInstanceSqlHaStandbyDetections", {}) + .n("EC2Client", "DisableInstanceSqlHaStandbyDetectionsCommand") + .sc(schemas_0.DisableInstanceSqlHaStandbyDetections$) + .build() { +} + +class DisableIpamOrganizationAdminAccountCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableIpamOrganizationAdminAccount", {}) + .n("EC2Client", "DisableIpamOrganizationAdminAccountCommand") + .sc(schemas_0.DisableIpamOrganizationAdminAccount$) + .build() { +} + +class DisableIpamPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableIpamPolicy", {}) + .n("EC2Client", "DisableIpamPolicyCommand") + .sc(schemas_0.DisableIpamPolicy$) + .build() { +} + +class DisableRouteServerPropagationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableRouteServerPropagation", {}) + .n("EC2Client", "DisableRouteServerPropagationCommand") + .sc(schemas_0.DisableRouteServerPropagation$) + .build() { +} + +class DisableSerialConsoleAccessCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableSerialConsoleAccess", {}) + .n("EC2Client", "DisableSerialConsoleAccessCommand") + .sc(schemas_0.DisableSerialConsoleAccess$) + .build() { +} + +class DisableSnapshotBlockPublicAccessCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableSnapshotBlockPublicAccess", {}) + .n("EC2Client", "DisableSnapshotBlockPublicAccessCommand") + .sc(schemas_0.DisableSnapshotBlockPublicAccess$) + .build() { +} + +class DisableTransitGatewayRouteTablePropagationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableTransitGatewayRouteTablePropagation", {}) + .n("EC2Client", "DisableTransitGatewayRouteTablePropagationCommand") + .sc(schemas_0.DisableTransitGatewayRouteTablePropagation$) + .build() { +} + +class DisableVgwRoutePropagationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableVgwRoutePropagation", {}) + .n("EC2Client", "DisableVgwRoutePropagationCommand") + .sc(schemas_0.DisableVgwRoutePropagation$) + .build() { +} + +class DisableVpcClassicLinkCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableVpcClassicLink", {}) + .n("EC2Client", "DisableVpcClassicLinkCommand") + .sc(schemas_0.DisableVpcClassicLink$) + .build() { +} + +class DisableVpcClassicLinkDnsSupportCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisableVpcClassicLinkDnsSupport", {}) + .n("EC2Client", "DisableVpcClassicLinkDnsSupportCommand") + .sc(schemas_0.DisableVpcClassicLinkDnsSupport$) + .build() { +} + +class DisassociateAddressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateAddress", {}) + .n("EC2Client", "DisassociateAddressCommand") + .sc(schemas_0.DisassociateAddress$) + .build() { +} + +class DisassociateCapacityReservationBillingOwnerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateCapacityReservationBillingOwner", {}) + .n("EC2Client", "DisassociateCapacityReservationBillingOwnerCommand") + .sc(schemas_0.DisassociateCapacityReservationBillingOwner$) + .build() { +} + +class DisassociateClientVpnTargetNetworkCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateClientVpnTargetNetwork", {}) + .n("EC2Client", "DisassociateClientVpnTargetNetworkCommand") + .sc(schemas_0.DisassociateClientVpnTargetNetwork$) + .build() { +} + +class DisassociateEnclaveCertificateIamRoleCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateEnclaveCertificateIamRole", {}) + .n("EC2Client", "DisassociateEnclaveCertificateIamRoleCommand") + .sc(schemas_0.DisassociateEnclaveCertificateIamRole$) + .build() { +} + +class DisassociateIamInstanceProfileCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateIamInstanceProfile", {}) + .n("EC2Client", "DisassociateIamInstanceProfileCommand") + .sc(schemas_0.DisassociateIamInstanceProfile$) + .build() { +} + +class DisassociateInstanceEventWindowCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateInstanceEventWindow", {}) + .n("EC2Client", "DisassociateInstanceEventWindowCommand") + .sc(schemas_0.DisassociateInstanceEventWindow$) + .build() { +} + +class DisassociateIpamByoasnCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateIpamByoasn", {}) + .n("EC2Client", "DisassociateIpamByoasnCommand") + .sc(schemas_0.DisassociateIpamByoasn$) + .build() { +} + +class DisassociateIpamResourceDiscoveryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateIpamResourceDiscovery", {}) + .n("EC2Client", "DisassociateIpamResourceDiscoveryCommand") + .sc(schemas_0.DisassociateIpamResourceDiscovery$) + .build() { +} + +class DisassociateNatGatewayAddressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateNatGatewayAddress", {}) + .n("EC2Client", "DisassociateNatGatewayAddressCommand") + .sc(schemas_0.DisassociateNatGatewayAddress$) + .build() { +} + +class DisassociateRouteServerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateRouteServer", {}) + .n("EC2Client", "DisassociateRouteServerCommand") + .sc(schemas_0.DisassociateRouteServer$) + .build() { +} + +class DisassociateRouteTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateRouteTable", {}) + .n("EC2Client", "DisassociateRouteTableCommand") + .sc(schemas_0.DisassociateRouteTable$) + .build() { +} + +class DisassociateSecurityGroupVpcCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateSecurityGroupVpc", {}) + .n("EC2Client", "DisassociateSecurityGroupVpcCommand") + .sc(schemas_0.DisassociateSecurityGroupVpc$) + .build() { +} + +class DisassociateSubnetCidrBlockCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateSubnetCidrBlock", {}) + .n("EC2Client", "DisassociateSubnetCidrBlockCommand") + .sc(schemas_0.DisassociateSubnetCidrBlock$) + .build() { +} + +class DisassociateTransitGatewayMulticastDomainCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateTransitGatewayMulticastDomain", {}) + .n("EC2Client", "DisassociateTransitGatewayMulticastDomainCommand") + .sc(schemas_0.DisassociateTransitGatewayMulticastDomain$) + .build() { +} + +class DisassociateTransitGatewayPolicyTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateTransitGatewayPolicyTable", {}) + .n("EC2Client", "DisassociateTransitGatewayPolicyTableCommand") + .sc(schemas_0.DisassociateTransitGatewayPolicyTable$) + .build() { +} + +class DisassociateTransitGatewayRouteTableCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateTransitGatewayRouteTable", {}) + .n("EC2Client", "DisassociateTransitGatewayRouteTableCommand") + .sc(schemas_0.DisassociateTransitGatewayRouteTable$) + .build() { +} + +class DisassociateTrunkInterfaceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateTrunkInterface", {}) + .n("EC2Client", "DisassociateTrunkInterfaceCommand") + .sc(schemas_0.DisassociateTrunkInterface$) + .build() { +} + +class DisassociateVpcCidrBlockCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "DisassociateVpcCidrBlock", {}) + .n("EC2Client", "DisassociateVpcCidrBlockCommand") + .sc(schemas_0.DisassociateVpcCidrBlock$) + .build() { +} + +class EnableAddressTransferCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableAddressTransfer", {}) + .n("EC2Client", "EnableAddressTransferCommand") + .sc(schemas_0.EnableAddressTransfer$) + .build() { +} + +class EnableAllowedImagesSettingsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableAllowedImagesSettings", {}) + .n("EC2Client", "EnableAllowedImagesSettingsCommand") + .sc(schemas_0.EnableAllowedImagesSettings$) + .build() { +} + +class EnableAwsNetworkPerformanceMetricSubscriptionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableAwsNetworkPerformanceMetricSubscription", {}) + .n("EC2Client", "EnableAwsNetworkPerformanceMetricSubscriptionCommand") + .sc(schemas_0.EnableAwsNetworkPerformanceMetricSubscription$) + .build() { +} + +class EnableCapacityManagerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableCapacityManager", {}) + .n("EC2Client", "EnableCapacityManagerCommand") + .sc(schemas_0.EnableCapacityManager$) + .build() { +} + +class EnableEbsEncryptionByDefaultCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableEbsEncryptionByDefault", {}) + .n("EC2Client", "EnableEbsEncryptionByDefaultCommand") + .sc(schemas_0.EnableEbsEncryptionByDefault$) + .build() { +} + +class EnableFastLaunchCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableFastLaunch", {}) + .n("EC2Client", "EnableFastLaunchCommand") + .sc(schemas_0.EnableFastLaunch$) + .build() { +} + +class EnableFastSnapshotRestoresCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableFastSnapshotRestores", {}) + .n("EC2Client", "EnableFastSnapshotRestoresCommand") + .sc(schemas_0.EnableFastSnapshotRestores$) + .build() { +} + +class EnableImageBlockPublicAccessCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableImageBlockPublicAccess", {}) + .n("EC2Client", "EnableImageBlockPublicAccessCommand") + .sc(schemas_0.EnableImageBlockPublicAccess$) + .build() { +} + +class EnableImageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableImage", {}) + .n("EC2Client", "EnableImageCommand") + .sc(schemas_0.EnableImage$) + .build() { +} + +class EnableImageDeprecationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableImageDeprecation", {}) + .n("EC2Client", "EnableImageDeprecationCommand") + .sc(schemas_0.EnableImageDeprecation$) + .build() { +} + +class EnableImageDeregistrationProtectionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableImageDeregistrationProtection", {}) + .n("EC2Client", "EnableImageDeregistrationProtectionCommand") + .sc(schemas_0.EnableImageDeregistrationProtection$) + .build() { +} + +class EnableInstanceSqlHaStandbyDetectionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableInstanceSqlHaStandbyDetections", {}) + .n("EC2Client", "EnableInstanceSqlHaStandbyDetectionsCommand") + .sc(schemas_0.EnableInstanceSqlHaStandbyDetections$) + .build() { +} + +class EnableIpamOrganizationAdminAccountCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableIpamOrganizationAdminAccount", {}) + .n("EC2Client", "EnableIpamOrganizationAdminAccountCommand") + .sc(schemas_0.EnableIpamOrganizationAdminAccount$) + .build() { +} + +class EnableIpamPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableIpamPolicy", {}) + .n("EC2Client", "EnableIpamPolicyCommand") + .sc(schemas_0.EnableIpamPolicy$) + .build() { +} + +class EnableReachabilityAnalyzerOrganizationSharingCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableReachabilityAnalyzerOrganizationSharing", {}) + .n("EC2Client", "EnableReachabilityAnalyzerOrganizationSharingCommand") + .sc(schemas_0.EnableReachabilityAnalyzerOrganizationSharing$) + .build() { +} + +class EnableRouteServerPropagationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableRouteServerPropagation", {}) + .n("EC2Client", "EnableRouteServerPropagationCommand") + .sc(schemas_0.EnableRouteServerPropagation$) + .build() { +} + +class EnableSerialConsoleAccessCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableSerialConsoleAccess", {}) + .n("EC2Client", "EnableSerialConsoleAccessCommand") + .sc(schemas_0.EnableSerialConsoleAccess$) + .build() { +} + +class EnableSnapshotBlockPublicAccessCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableSnapshotBlockPublicAccess", {}) + .n("EC2Client", "EnableSnapshotBlockPublicAccessCommand") + .sc(schemas_0.EnableSnapshotBlockPublicAccess$) + .build() { +} + +class EnableTransitGatewayRouteTablePropagationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableTransitGatewayRouteTablePropagation", {}) + .n("EC2Client", "EnableTransitGatewayRouteTablePropagationCommand") + .sc(schemas_0.EnableTransitGatewayRouteTablePropagation$) + .build() { +} + +class EnableVgwRoutePropagationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableVgwRoutePropagation", {}) + .n("EC2Client", "EnableVgwRoutePropagationCommand") + .sc(schemas_0.EnableVgwRoutePropagation$) + .build() { +} + +class EnableVolumeIOCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableVolumeIO", {}) + .n("EC2Client", "EnableVolumeIOCommand") + .sc(schemas_0.EnableVolumeIO$) + .build() { +} + +class EnableVpcClassicLinkCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableVpcClassicLink", {}) + .n("EC2Client", "EnableVpcClassicLinkCommand") + .sc(schemas_0.EnableVpcClassicLink$) + .build() { +} + +class EnableVpcClassicLinkDnsSupportCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "EnableVpcClassicLinkDnsSupport", {}) + .n("EC2Client", "EnableVpcClassicLinkDnsSupportCommand") + .sc(schemas_0.EnableVpcClassicLinkDnsSupport$) + .build() { +} + +class ExportClientVpnClientCertificateRevocationListCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ExportClientVpnClientCertificateRevocationList", {}) + .n("EC2Client", "ExportClientVpnClientCertificateRevocationListCommand") + .sc(schemas_0.ExportClientVpnClientCertificateRevocationList$) + .build() { +} + +class ExportClientVpnClientConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ExportClientVpnClientConfiguration", {}) + .n("EC2Client", "ExportClientVpnClientConfigurationCommand") + .sc(schemas_0.ExportClientVpnClientConfiguration$) + .build() { +} + +class ExportImageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ExportImage", {}) + .n("EC2Client", "ExportImageCommand") + .sc(schemas_0.ExportImage$) + .build() { +} + +class ExportTransitGatewayRoutesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ExportTransitGatewayRoutes", {}) + .n("EC2Client", "ExportTransitGatewayRoutesCommand") + .sc(schemas_0.ExportTransitGatewayRoutes$) + .build() { +} + +class ExportVerifiedAccessInstanceClientConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ExportVerifiedAccessInstanceClientConfiguration", {}) + .n("EC2Client", "ExportVerifiedAccessInstanceClientConfigurationCommand") + .sc(schemas_0.ExportVerifiedAccessInstanceClientConfiguration$) + .build() { +} + +class GetActiveVpnTunnelStatusCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetActiveVpnTunnelStatus", {}) + .n("EC2Client", "GetActiveVpnTunnelStatusCommand") + .sc(schemas_0.GetActiveVpnTunnelStatus$) + .build() { +} + +class GetAllowedImagesSettingsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetAllowedImagesSettings", {}) + .n("EC2Client", "GetAllowedImagesSettingsCommand") + .sc(schemas_0.GetAllowedImagesSettings$) + .build() { +} + +class GetAssociatedEnclaveCertificateIamRolesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetAssociatedEnclaveCertificateIamRoles", {}) + .n("EC2Client", "GetAssociatedEnclaveCertificateIamRolesCommand") + .sc(schemas_0.GetAssociatedEnclaveCertificateIamRoles$) + .build() { +} + +class GetAssociatedIpv6PoolCidrsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetAssociatedIpv6PoolCidrs", {}) + .n("EC2Client", "GetAssociatedIpv6PoolCidrsCommand") + .sc(schemas_0.GetAssociatedIpv6PoolCidrs$) + .build() { +} + +class GetAwsNetworkPerformanceDataCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetAwsNetworkPerformanceData", {}) + .n("EC2Client", "GetAwsNetworkPerformanceDataCommand") + .sc(schemas_0.GetAwsNetworkPerformanceData$) + .build() { +} + +class GetCapacityManagerAttributesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetCapacityManagerAttributes", {}) + .n("EC2Client", "GetCapacityManagerAttributesCommand") + .sc(schemas_0.GetCapacityManagerAttributes$) + .build() { +} + +class GetCapacityManagerMetricDataCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetCapacityManagerMetricData", {}) + .n("EC2Client", "GetCapacityManagerMetricDataCommand") + .sc(schemas_0.GetCapacityManagerMetricData$) + .build() { +} + +class GetCapacityManagerMetricDimensionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetCapacityManagerMetricDimensions", {}) + .n("EC2Client", "GetCapacityManagerMetricDimensionsCommand") + .sc(schemas_0.GetCapacityManagerMetricDimensions$) + .build() { +} + +class GetCapacityManagerMonitoredTagKeysCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetCapacityManagerMonitoredTagKeys", {}) + .n("EC2Client", "GetCapacityManagerMonitoredTagKeysCommand") + .sc(schemas_0.GetCapacityManagerMonitoredTagKeys$) + .build() { +} + +class GetCapacityReservationUsageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetCapacityReservationUsage", {}) + .n("EC2Client", "GetCapacityReservationUsageCommand") + .sc(schemas_0.GetCapacityReservationUsage$) + .build() { +} + +class GetCoipPoolUsageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetCoipPoolUsage", {}) + .n("EC2Client", "GetCoipPoolUsageCommand") + .sc(schemas_0.GetCoipPoolUsage$) + .build() { +} + +class GetConsoleOutputCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetConsoleOutput", {}) + .n("EC2Client", "GetConsoleOutputCommand") + .sc(schemas_0.GetConsoleOutput$) + .build() { +} + +class GetConsoleScreenshotCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetConsoleScreenshot", {}) + .n("EC2Client", "GetConsoleScreenshotCommand") + .sc(schemas_0.GetConsoleScreenshot$) + .build() { +} + +class GetDeclarativePoliciesReportSummaryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetDeclarativePoliciesReportSummary", {}) + .n("EC2Client", "GetDeclarativePoliciesReportSummaryCommand") + .sc(schemas_0.GetDeclarativePoliciesReportSummary$) + .build() { +} + +class GetDefaultCreditSpecificationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetDefaultCreditSpecification", {}) + .n("EC2Client", "GetDefaultCreditSpecificationCommand") + .sc(schemas_0.GetDefaultCreditSpecification$) + .build() { +} + +class GetEbsDefaultKmsKeyIdCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetEbsDefaultKmsKeyId", {}) + .n("EC2Client", "GetEbsDefaultKmsKeyIdCommand") + .sc(schemas_0.GetEbsDefaultKmsKeyId$) + .build() { +} + +class GetEbsEncryptionByDefaultCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetEbsEncryptionByDefault", {}) + .n("EC2Client", "GetEbsEncryptionByDefaultCommand") + .sc(schemas_0.GetEbsEncryptionByDefault$) + .build() { +} + +class GetEnabledIpamPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetEnabledIpamPolicy", {}) + .n("EC2Client", "GetEnabledIpamPolicyCommand") + .sc(schemas_0.GetEnabledIpamPolicy$) + .build() { +} + +class GetFlowLogsIntegrationTemplateCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetFlowLogsIntegrationTemplate", {}) + .n("EC2Client", "GetFlowLogsIntegrationTemplateCommand") + .sc(schemas_0.GetFlowLogsIntegrationTemplate$) + .build() { +} + +class GetGroupsForCapacityReservationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetGroupsForCapacityReservation", {}) + .n("EC2Client", "GetGroupsForCapacityReservationCommand") + .sc(schemas_0.GetGroupsForCapacityReservation$) + .build() { +} + +class GetHostReservationPurchasePreviewCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetHostReservationPurchasePreview", {}) + .n("EC2Client", "GetHostReservationPurchasePreviewCommand") + .sc(schemas_0.GetHostReservationPurchasePreview$) + .build() { +} + +class GetImageAncestryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetImageAncestry", {}) + .n("EC2Client", "GetImageAncestryCommand") + .sc(schemas_0.GetImageAncestry$) + .build() { +} + +class GetImageBlockPublicAccessStateCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetImageBlockPublicAccessState", {}) + .n("EC2Client", "GetImageBlockPublicAccessStateCommand") + .sc(schemas_0.GetImageBlockPublicAccessState$) + .build() { +} + +class GetInstanceMetadataDefaultsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetInstanceMetadataDefaults", {}) + .n("EC2Client", "GetInstanceMetadataDefaultsCommand") + .sc(schemas_0.GetInstanceMetadataDefaults$) + .build() { +} + +class GetInstanceTpmEkPubCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetInstanceTpmEkPub", {}) + .n("EC2Client", "GetInstanceTpmEkPubCommand") + .sc(schemas_0.GetInstanceTpmEkPub$) + .build() { +} + +class GetInstanceTypesFromInstanceRequirementsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetInstanceTypesFromInstanceRequirements", {}) + .n("EC2Client", "GetInstanceTypesFromInstanceRequirementsCommand") + .sc(schemas_0.GetInstanceTypesFromInstanceRequirements$) + .build() { +} + +class GetInstanceUefiDataCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetInstanceUefiData", {}) + .n("EC2Client", "GetInstanceUefiDataCommand") + .sc(schemas_0.GetInstanceUefiData$) + .build() { +} + +class GetIpamAddressHistoryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamAddressHistory", {}) + .n("EC2Client", "GetIpamAddressHistoryCommand") + .sc(schemas_0.GetIpamAddressHistory$) + .build() { +} + +class GetIpamDiscoveredAccountsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamDiscoveredAccounts", {}) + .n("EC2Client", "GetIpamDiscoveredAccountsCommand") + .sc(schemas_0.GetIpamDiscoveredAccounts$) + .build() { +} + +class GetIpamDiscoveredPublicAddressesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamDiscoveredPublicAddresses", {}) + .n("EC2Client", "GetIpamDiscoveredPublicAddressesCommand") + .sc(schemas_0.GetIpamDiscoveredPublicAddresses$) + .build() { +} + +class GetIpamDiscoveredResourceCidrsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamDiscoveredResourceCidrs", {}) + .n("EC2Client", "GetIpamDiscoveredResourceCidrsCommand") + .sc(schemas_0.GetIpamDiscoveredResourceCidrs$) + .build() { +} + +class GetIpamPolicyAllocationRulesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamPolicyAllocationRules", {}) + .n("EC2Client", "GetIpamPolicyAllocationRulesCommand") + .sc(schemas_0.GetIpamPolicyAllocationRules$) + .build() { +} + +class GetIpamPolicyOrganizationTargetsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamPolicyOrganizationTargets", {}) + .n("EC2Client", "GetIpamPolicyOrganizationTargetsCommand") + .sc(schemas_0.GetIpamPolicyOrganizationTargets$) + .build() { +} + +class GetIpamPoolAllocationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamPoolAllocations", {}) + .n("EC2Client", "GetIpamPoolAllocationsCommand") + .sc(schemas_0.GetIpamPoolAllocations$) + .build() { +} + +class GetIpamPoolCidrsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamPoolCidrs", {}) + .n("EC2Client", "GetIpamPoolCidrsCommand") + .sc(schemas_0.GetIpamPoolCidrs$) + .build() { +} + +class GetIpamPrefixListResolverRulesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamPrefixListResolverRules", {}) + .n("EC2Client", "GetIpamPrefixListResolverRulesCommand") + .sc(schemas_0.GetIpamPrefixListResolverRules$) + .build() { +} + +class GetIpamPrefixListResolverVersionEntriesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamPrefixListResolverVersionEntries", {}) + .n("EC2Client", "GetIpamPrefixListResolverVersionEntriesCommand") + .sc(schemas_0.GetIpamPrefixListResolverVersionEntries$) + .build() { +} + +class GetIpamPrefixListResolverVersionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamPrefixListResolverVersions", {}) + .n("EC2Client", "GetIpamPrefixListResolverVersionsCommand") + .sc(schemas_0.GetIpamPrefixListResolverVersions$) + .build() { +} + +class GetIpamResourceCidrsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetIpamResourceCidrs", {}) + .n("EC2Client", "GetIpamResourceCidrsCommand") + .sc(schemas_0.GetIpamResourceCidrs$) + .build() { +} + +class GetLaunchTemplateDataCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetLaunchTemplateData", {}) + .n("EC2Client", "GetLaunchTemplateDataCommand") + .sc(schemas_0.GetLaunchTemplateData$) + .build() { +} + +class GetManagedPrefixListAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetManagedPrefixListAssociations", {}) + .n("EC2Client", "GetManagedPrefixListAssociationsCommand") + .sc(schemas_0.GetManagedPrefixListAssociations$) + .build() { +} + +class GetManagedPrefixListEntriesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetManagedPrefixListEntries", {}) + .n("EC2Client", "GetManagedPrefixListEntriesCommand") + .sc(schemas_0.GetManagedPrefixListEntries$) + .build() { +} + +class GetNetworkInsightsAccessScopeAnalysisFindingsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetNetworkInsightsAccessScopeAnalysisFindings", {}) + .n("EC2Client", "GetNetworkInsightsAccessScopeAnalysisFindingsCommand") + .sc(schemas_0.GetNetworkInsightsAccessScopeAnalysisFindings$) + .build() { +} + +class GetNetworkInsightsAccessScopeContentCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetNetworkInsightsAccessScopeContent", {}) + .n("EC2Client", "GetNetworkInsightsAccessScopeContentCommand") + .sc(schemas_0.GetNetworkInsightsAccessScopeContent$) + .build() { +} + +class GetPasswordDataCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetPasswordData", {}) + .n("EC2Client", "GetPasswordDataCommand") + .sc(schemas_0.GetPasswordData$) + .build() { +} + +class GetReservedInstancesExchangeQuoteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetReservedInstancesExchangeQuote", {}) + .n("EC2Client", "GetReservedInstancesExchangeQuoteCommand") + .sc(schemas_0.GetReservedInstancesExchangeQuote$) + .build() { +} + +class GetRouteServerAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetRouteServerAssociations", {}) + .n("EC2Client", "GetRouteServerAssociationsCommand") + .sc(schemas_0.GetRouteServerAssociations$) + .build() { +} + +class GetRouteServerPropagationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetRouteServerPropagations", {}) + .n("EC2Client", "GetRouteServerPropagationsCommand") + .sc(schemas_0.GetRouteServerPropagations$) + .build() { +} + +class GetRouteServerRoutingDatabaseCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetRouteServerRoutingDatabase", {}) + .n("EC2Client", "GetRouteServerRoutingDatabaseCommand") + .sc(schemas_0.GetRouteServerRoutingDatabase$) + .build() { +} + +class GetSecurityGroupsForVpcCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetSecurityGroupsForVpc", {}) + .n("EC2Client", "GetSecurityGroupsForVpcCommand") + .sc(schemas_0.GetSecurityGroupsForVpc$) + .build() { +} + +class GetSerialConsoleAccessStatusCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetSerialConsoleAccessStatus", {}) + .n("EC2Client", "GetSerialConsoleAccessStatusCommand") + .sc(schemas_0.GetSerialConsoleAccessStatus$) + .build() { +} + +class GetSnapshotBlockPublicAccessStateCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetSnapshotBlockPublicAccessState", {}) + .n("EC2Client", "GetSnapshotBlockPublicAccessStateCommand") + .sc(schemas_0.GetSnapshotBlockPublicAccessState$) + .build() { +} + +class GetSpotPlacementScoresCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetSpotPlacementScores", {}) + .n("EC2Client", "GetSpotPlacementScoresCommand") + .sc(schemas_0.GetSpotPlacementScores$) + .build() { +} + +class GetSubnetCidrReservationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetSubnetCidrReservations", {}) + .n("EC2Client", "GetSubnetCidrReservationsCommand") + .sc(schemas_0.GetSubnetCidrReservations$) + .build() { +} + +class GetTransitGatewayAttachmentPropagationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetTransitGatewayAttachmentPropagations", {}) + .n("EC2Client", "GetTransitGatewayAttachmentPropagationsCommand") + .sc(schemas_0.GetTransitGatewayAttachmentPropagations$) + .build() { +} + +class GetTransitGatewayMeteringPolicyEntriesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetTransitGatewayMeteringPolicyEntries", {}) + .n("EC2Client", "GetTransitGatewayMeteringPolicyEntriesCommand") + .sc(schemas_0.GetTransitGatewayMeteringPolicyEntries$) + .build() { +} + +class GetTransitGatewayMulticastDomainAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetTransitGatewayMulticastDomainAssociations", {}) + .n("EC2Client", "GetTransitGatewayMulticastDomainAssociationsCommand") + .sc(schemas_0.GetTransitGatewayMulticastDomainAssociations$) + .build() { +} + +class GetTransitGatewayPolicyTableAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetTransitGatewayPolicyTableAssociations", {}) + .n("EC2Client", "GetTransitGatewayPolicyTableAssociationsCommand") + .sc(schemas_0.GetTransitGatewayPolicyTableAssociations$) + .build() { +} + +class GetTransitGatewayPolicyTableEntriesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetTransitGatewayPolicyTableEntries", {}) + .n("EC2Client", "GetTransitGatewayPolicyTableEntriesCommand") + .sc(schemas_0.GetTransitGatewayPolicyTableEntries$) + .build() { +} + +class GetTransitGatewayPrefixListReferencesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetTransitGatewayPrefixListReferences", {}) + .n("EC2Client", "GetTransitGatewayPrefixListReferencesCommand") + .sc(schemas_0.GetTransitGatewayPrefixListReferences$) + .build() { +} + +class GetTransitGatewayRouteTableAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetTransitGatewayRouteTableAssociations", {}) + .n("EC2Client", "GetTransitGatewayRouteTableAssociationsCommand") + .sc(schemas_0.GetTransitGatewayRouteTableAssociations$) + .build() { +} + +class GetTransitGatewayRouteTablePropagationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetTransitGatewayRouteTablePropagations", {}) + .n("EC2Client", "GetTransitGatewayRouteTablePropagationsCommand") + .sc(schemas_0.GetTransitGatewayRouteTablePropagations$) + .build() { +} + +class GetVerifiedAccessEndpointPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetVerifiedAccessEndpointPolicy", {}) + .n("EC2Client", "GetVerifiedAccessEndpointPolicyCommand") + .sc(schemas_0.GetVerifiedAccessEndpointPolicy$) + .build() { +} + +class GetVerifiedAccessEndpointTargetsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetVerifiedAccessEndpointTargets", {}) + .n("EC2Client", "GetVerifiedAccessEndpointTargetsCommand") + .sc(schemas_0.GetVerifiedAccessEndpointTargets$) + .build() { +} + +class GetVerifiedAccessGroupPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetVerifiedAccessGroupPolicy", {}) + .n("EC2Client", "GetVerifiedAccessGroupPolicyCommand") + .sc(schemas_0.GetVerifiedAccessGroupPolicy$) + .build() { +} + +class GetVpcResourcesBlockingEncryptionEnforcementCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetVpcResourcesBlockingEncryptionEnforcement", {}) + .n("EC2Client", "GetVpcResourcesBlockingEncryptionEnforcementCommand") + .sc(schemas_0.GetVpcResourcesBlockingEncryptionEnforcement$) + .build() { +} + +class GetVpnConnectionDeviceSampleConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetVpnConnectionDeviceSampleConfiguration", {}) + .n("EC2Client", "GetVpnConnectionDeviceSampleConfigurationCommand") + .sc(schemas_0.GetVpnConnectionDeviceSampleConfiguration$) + .build() { +} + +class GetVpnConnectionDeviceTypesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetVpnConnectionDeviceTypes", {}) + .n("EC2Client", "GetVpnConnectionDeviceTypesCommand") + .sc(schemas_0.GetVpnConnectionDeviceTypes$) + .build() { +} + +class GetVpnTunnelReplacementStatusCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "GetVpnTunnelReplacementStatus", {}) + .n("EC2Client", "GetVpnTunnelReplacementStatusCommand") + .sc(schemas_0.GetVpnTunnelReplacementStatus$) + .build() { +} + +class ImportClientVpnClientCertificateRevocationListCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ImportClientVpnClientCertificateRevocationList", {}) + .n("EC2Client", "ImportClientVpnClientCertificateRevocationListCommand") + .sc(schemas_0.ImportClientVpnClientCertificateRevocationList$) + .build() { +} + +class ImportImageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ImportImage", {}) + .n("EC2Client", "ImportImageCommand") + .sc(schemas_0.ImportImage$) + .build() { +} + +class ImportInstanceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ImportInstance", {}) + .n("EC2Client", "ImportInstanceCommand") + .sc(schemas_0.ImportInstance$) + .build() { +} + +class ImportKeyPairCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ImportKeyPair", {}) + .n("EC2Client", "ImportKeyPairCommand") + .sc(schemas_0.ImportKeyPair$) + .build() { +} + +class ImportSnapshotCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ImportSnapshot", {}) + .n("EC2Client", "ImportSnapshotCommand") + .sc(schemas_0.ImportSnapshot$) + .build() { +} + +class ImportVolumeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ImportVolume", {}) + .n("EC2Client", "ImportVolumeCommand") + .sc(schemas_0.ImportVolume$) + .build() { +} + +class ListImagesInRecycleBinCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ListImagesInRecycleBin", {}) + .n("EC2Client", "ListImagesInRecycleBinCommand") + .sc(schemas_0.ListImagesInRecycleBin$) + .build() { +} + +class ListSnapshotsInRecycleBinCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ListSnapshotsInRecycleBin", {}) + .n("EC2Client", "ListSnapshotsInRecycleBinCommand") + .sc(schemas_0.ListSnapshotsInRecycleBin$) + .build() { +} + +class ListVolumesInRecycleBinCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ListVolumesInRecycleBin", {}) + .n("EC2Client", "ListVolumesInRecycleBinCommand") + .sc(schemas_0.ListVolumesInRecycleBin$) + .build() { +} + +class LockSnapshotCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "LockSnapshot", {}) + .n("EC2Client", "LockSnapshotCommand") + .sc(schemas_0.LockSnapshot$) + .build() { +} + +class ModifyAddressAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyAddressAttribute", {}) + .n("EC2Client", "ModifyAddressAttributeCommand") + .sc(schemas_0.ModifyAddressAttribute$) + .build() { +} + +class ModifyAvailabilityZoneGroupCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyAvailabilityZoneGroup", {}) + .n("EC2Client", "ModifyAvailabilityZoneGroupCommand") + .sc(schemas_0.ModifyAvailabilityZoneGroup$) + .build() { +} + +class ModifyCapacityReservationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyCapacityReservation", {}) + .n("EC2Client", "ModifyCapacityReservationCommand") + .sc(schemas_0.ModifyCapacityReservation$) + .build() { +} + +class ModifyCapacityReservationFleetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyCapacityReservationFleet", {}) + .n("EC2Client", "ModifyCapacityReservationFleetCommand") + .sc(schemas_0.ModifyCapacityReservationFleet$) + .build() { +} + +class ModifyClientVpnEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyClientVpnEndpoint", {}) + .n("EC2Client", "ModifyClientVpnEndpointCommand") + .sc(schemas_0.ModifyClientVpnEndpoint$) + .build() { +} + +class ModifyDefaultCreditSpecificationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyDefaultCreditSpecification", {}) + .n("EC2Client", "ModifyDefaultCreditSpecificationCommand") + .sc(schemas_0.ModifyDefaultCreditSpecification$) + .build() { +} + +class ModifyEbsDefaultKmsKeyIdCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyEbsDefaultKmsKeyId", {}) + .n("EC2Client", "ModifyEbsDefaultKmsKeyIdCommand") + .sc(schemas_0.ModifyEbsDefaultKmsKeyId$) + .build() { +} + +class ModifyFleetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyFleet", {}) + .n("EC2Client", "ModifyFleetCommand") + .sc(schemas_0.ModifyFleet$) + .build() { +} + +class ModifyFpgaImageAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyFpgaImageAttribute", {}) + .n("EC2Client", "ModifyFpgaImageAttributeCommand") + .sc(schemas_0.ModifyFpgaImageAttribute$) + .build() { +} + +class ModifyHostsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyHosts", {}) + .n("EC2Client", "ModifyHostsCommand") + .sc(schemas_0.ModifyHosts$) + .build() { +} + +class ModifyIdentityIdFormatCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyIdentityIdFormat", {}) + .n("EC2Client", "ModifyIdentityIdFormatCommand") + .sc(schemas_0.ModifyIdentityIdFormat$) + .build() { +} + +class ModifyIdFormatCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyIdFormat", {}) + .n("EC2Client", "ModifyIdFormatCommand") + .sc(schemas_0.ModifyIdFormat$) + .build() { +} + +class ModifyImageAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyImageAttribute", {}) + .n("EC2Client", "ModifyImageAttributeCommand") + .sc(schemas_0.ModifyImageAttribute$) + .build() { +} + +class ModifyInstanceAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstanceAttribute", {}) + .n("EC2Client", "ModifyInstanceAttributeCommand") + .sc(schemas_0.ModifyInstanceAttribute$) + .build() { +} + +class ModifyInstanceCapacityReservationAttributesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstanceCapacityReservationAttributes", {}) + .n("EC2Client", "ModifyInstanceCapacityReservationAttributesCommand") + .sc(schemas_0.ModifyInstanceCapacityReservationAttributes$) + .build() { +} + +class ModifyInstanceConnectEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstanceConnectEndpoint", {}) + .n("EC2Client", "ModifyInstanceConnectEndpointCommand") + .sc(schemas_0.ModifyInstanceConnectEndpoint$) + .build() { +} + +class ModifyInstanceCpuOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstanceCpuOptions", {}) + .n("EC2Client", "ModifyInstanceCpuOptionsCommand") + .sc(schemas_0.ModifyInstanceCpuOptions$) + .build() { +} + +class ModifyInstanceCreditSpecificationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstanceCreditSpecification", {}) + .n("EC2Client", "ModifyInstanceCreditSpecificationCommand") + .sc(schemas_0.ModifyInstanceCreditSpecification$) + .build() { +} + +class ModifyInstanceEventStartTimeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstanceEventStartTime", {}) + .n("EC2Client", "ModifyInstanceEventStartTimeCommand") + .sc(schemas_0.ModifyInstanceEventStartTime$) + .build() { +} + +class ModifyInstanceEventWindowCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstanceEventWindow", {}) + .n("EC2Client", "ModifyInstanceEventWindowCommand") + .sc(schemas_0.ModifyInstanceEventWindow$) + .build() { +} + +class ModifyInstanceMaintenanceOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstanceMaintenanceOptions", {}) + .n("EC2Client", "ModifyInstanceMaintenanceOptionsCommand") + .sc(schemas_0.ModifyInstanceMaintenanceOptions$) + .build() { +} + +class ModifyInstanceMetadataDefaultsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstanceMetadataDefaults", {}) + .n("EC2Client", "ModifyInstanceMetadataDefaultsCommand") + .sc(schemas_0.ModifyInstanceMetadataDefaults$) + .build() { +} + +class ModifyInstanceMetadataOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstanceMetadataOptions", {}) + .n("EC2Client", "ModifyInstanceMetadataOptionsCommand") + .sc(schemas_0.ModifyInstanceMetadataOptions$) + .build() { +} + +class ModifyInstanceNetworkPerformanceOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstanceNetworkPerformanceOptions", {}) + .n("EC2Client", "ModifyInstanceNetworkPerformanceOptionsCommand") + .sc(schemas_0.ModifyInstanceNetworkPerformanceOptions$) + .build() { +} + +class ModifyInstancePlacementCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyInstancePlacement", {}) + .n("EC2Client", "ModifyInstancePlacementCommand") + .sc(schemas_0.ModifyInstancePlacement$) + .build() { +} + +class ModifyIpamCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyIpam", {}) + .n("EC2Client", "ModifyIpamCommand") + .sc(schemas_0.ModifyIpam$) + .build() { +} + +class ModifyIpamPolicyAllocationRulesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyIpamPolicyAllocationRules", {}) + .n("EC2Client", "ModifyIpamPolicyAllocationRulesCommand") + .sc(schemas_0.ModifyIpamPolicyAllocationRules$) + .build() { +} + +class ModifyIpamPoolCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyIpamPool", {}) + .n("EC2Client", "ModifyIpamPoolCommand") + .sc(schemas_0.ModifyIpamPool$) + .build() { +} + +class ModifyIpamPrefixListResolverCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyIpamPrefixListResolver", {}) + .n("EC2Client", "ModifyIpamPrefixListResolverCommand") + .sc(schemas_0.ModifyIpamPrefixListResolver$) + .build() { +} + +class ModifyIpamPrefixListResolverTargetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyIpamPrefixListResolverTarget", {}) + .n("EC2Client", "ModifyIpamPrefixListResolverTargetCommand") + .sc(schemas_0.ModifyIpamPrefixListResolverTarget$) + .build() { +} + +class ModifyIpamResourceCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyIpamResourceCidr", {}) + .n("EC2Client", "ModifyIpamResourceCidrCommand") + .sc(schemas_0.ModifyIpamResourceCidr$) + .build() { +} + +class ModifyIpamResourceDiscoveryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyIpamResourceDiscovery", {}) + .n("EC2Client", "ModifyIpamResourceDiscoveryCommand") + .sc(schemas_0.ModifyIpamResourceDiscovery$) + .build() { +} + +class ModifyIpamScopeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyIpamScope", {}) + .n("EC2Client", "ModifyIpamScopeCommand") + .sc(schemas_0.ModifyIpamScope$) + .build() { +} + +class ModifyLaunchTemplateCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyLaunchTemplate", {}) + .n("EC2Client", "ModifyLaunchTemplateCommand") + .sc(schemas_0.ModifyLaunchTemplate$) + .build() { +} + +class ModifyLocalGatewayRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyLocalGatewayRoute", {}) + .n("EC2Client", "ModifyLocalGatewayRouteCommand") + .sc(schemas_0.ModifyLocalGatewayRoute$) + .build() { +} + +class ModifyManagedPrefixListCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyManagedPrefixList", {}) + .n("EC2Client", "ModifyManagedPrefixListCommand") + .sc(schemas_0.ModifyManagedPrefixList$) + .build() { +} + +class ModifyNetworkInterfaceAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyNetworkInterfaceAttribute", {}) + .n("EC2Client", "ModifyNetworkInterfaceAttributeCommand") + .sc(schemas_0.ModifyNetworkInterfaceAttribute$) + .build() { +} + +class ModifyPrivateDnsNameOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyPrivateDnsNameOptions", {}) + .n("EC2Client", "ModifyPrivateDnsNameOptionsCommand") + .sc(schemas_0.ModifyPrivateDnsNameOptions$) + .build() { +} + +class ModifyPublicIpDnsNameOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyPublicIpDnsNameOptions", {}) + .n("EC2Client", "ModifyPublicIpDnsNameOptionsCommand") + .sc(schemas_0.ModifyPublicIpDnsNameOptions$) + .build() { +} + +class ModifyReservedInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyReservedInstances", {}) + .n("EC2Client", "ModifyReservedInstancesCommand") + .sc(schemas_0.ModifyReservedInstances$) + .build() { +} + +class ModifyRouteServerCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyRouteServer", {}) + .n("EC2Client", "ModifyRouteServerCommand") + .sc(schemas_0.ModifyRouteServer$) + .build() { +} + +class ModifySecurityGroupRulesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifySecurityGroupRules", {}) + .n("EC2Client", "ModifySecurityGroupRulesCommand") + .sc(schemas_0.ModifySecurityGroupRules$) + .build() { +} + +class ModifySnapshotAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifySnapshotAttribute", {}) + .n("EC2Client", "ModifySnapshotAttributeCommand") + .sc(schemas_0.ModifySnapshotAttribute$) + .build() { +} + +class ModifySnapshotTierCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifySnapshotTier", {}) + .n("EC2Client", "ModifySnapshotTierCommand") + .sc(schemas_0.ModifySnapshotTier$) + .build() { +} + +class ModifySpotFleetRequestCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifySpotFleetRequest", {}) + .n("EC2Client", "ModifySpotFleetRequestCommand") + .sc(schemas_0.ModifySpotFleetRequest$) + .build() { +} + +class ModifySubnetAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifySubnetAttribute", {}) + .n("EC2Client", "ModifySubnetAttributeCommand") + .sc(schemas_0.ModifySubnetAttribute$) + .build() { +} + +class ModifyTrafficMirrorFilterNetworkServicesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyTrafficMirrorFilterNetworkServices", {}) + .n("EC2Client", "ModifyTrafficMirrorFilterNetworkServicesCommand") + .sc(schemas_0.ModifyTrafficMirrorFilterNetworkServices$) + .build() { +} + +class ModifyTrafficMirrorFilterRuleCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyTrafficMirrorFilterRule", {}) + .n("EC2Client", "ModifyTrafficMirrorFilterRuleCommand") + .sc(schemas_0.ModifyTrafficMirrorFilterRule$) + .build() { +} + +class ModifyTrafficMirrorSessionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyTrafficMirrorSession", {}) + .n("EC2Client", "ModifyTrafficMirrorSessionCommand") + .sc(schemas_0.ModifyTrafficMirrorSession$) + .build() { +} + +class ModifyTransitGatewayCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyTransitGateway", {}) + .n("EC2Client", "ModifyTransitGatewayCommand") + .sc(schemas_0.ModifyTransitGateway$) + .build() { +} + +class ModifyTransitGatewayMeteringPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyTransitGatewayMeteringPolicy", {}) + .n("EC2Client", "ModifyTransitGatewayMeteringPolicyCommand") + .sc(schemas_0.ModifyTransitGatewayMeteringPolicy$) + .build() { +} + +class ModifyTransitGatewayPrefixListReferenceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyTransitGatewayPrefixListReference", {}) + .n("EC2Client", "ModifyTransitGatewayPrefixListReferenceCommand") + .sc(schemas_0.ModifyTransitGatewayPrefixListReference$) + .build() { +} + +class ModifyTransitGatewayVpcAttachmentCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyTransitGatewayVpcAttachment", {}) + .n("EC2Client", "ModifyTransitGatewayVpcAttachmentCommand") + .sc(schemas_0.ModifyTransitGatewayVpcAttachment$) + .build() { +} + +class ModifyVerifiedAccessEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVerifiedAccessEndpoint", {}) + .n("EC2Client", "ModifyVerifiedAccessEndpointCommand") + .sc(schemas_0.ModifyVerifiedAccessEndpoint$) + .build() { +} + +class ModifyVerifiedAccessEndpointPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVerifiedAccessEndpointPolicy", {}) + .n("EC2Client", "ModifyVerifiedAccessEndpointPolicyCommand") + .sc(schemas_0.ModifyVerifiedAccessEndpointPolicy$) + .build() { +} + +class ModifyVerifiedAccessGroupCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVerifiedAccessGroup", {}) + .n("EC2Client", "ModifyVerifiedAccessGroupCommand") + .sc(schemas_0.ModifyVerifiedAccessGroup$) + .build() { +} + +class ModifyVerifiedAccessGroupPolicyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVerifiedAccessGroupPolicy", {}) + .n("EC2Client", "ModifyVerifiedAccessGroupPolicyCommand") + .sc(schemas_0.ModifyVerifiedAccessGroupPolicy$) + .build() { +} + +class ModifyVerifiedAccessInstanceCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVerifiedAccessInstance", {}) + .n("EC2Client", "ModifyVerifiedAccessInstanceCommand") + .sc(schemas_0.ModifyVerifiedAccessInstance$) + .build() { +} + +class ModifyVerifiedAccessInstanceLoggingConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVerifiedAccessInstanceLoggingConfiguration", {}) + .n("EC2Client", "ModifyVerifiedAccessInstanceLoggingConfigurationCommand") + .sc(schemas_0.ModifyVerifiedAccessInstanceLoggingConfiguration$) + .build() { +} + +class ModifyVerifiedAccessTrustProviderCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVerifiedAccessTrustProvider", {}) + .n("EC2Client", "ModifyVerifiedAccessTrustProviderCommand") + .sc(schemas_0.ModifyVerifiedAccessTrustProvider$) + .build() { +} + +class ModifyVolumeAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVolumeAttribute", {}) + .n("EC2Client", "ModifyVolumeAttributeCommand") + .sc(schemas_0.ModifyVolumeAttribute$) + .build() { +} + +class ModifyVolumeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVolume", {}) + .n("EC2Client", "ModifyVolumeCommand") + .sc(schemas_0.ModifyVolume$) + .build() { +} + +class ModifyVpcAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpcAttribute", {}) + .n("EC2Client", "ModifyVpcAttributeCommand") + .sc(schemas_0.ModifyVpcAttribute$) + .build() { +} + +class ModifyVpcBlockPublicAccessExclusionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpcBlockPublicAccessExclusion", {}) + .n("EC2Client", "ModifyVpcBlockPublicAccessExclusionCommand") + .sc(schemas_0.ModifyVpcBlockPublicAccessExclusion$) + .build() { +} + +class ModifyVpcBlockPublicAccessOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpcBlockPublicAccessOptions", {}) + .n("EC2Client", "ModifyVpcBlockPublicAccessOptionsCommand") + .sc(schemas_0.ModifyVpcBlockPublicAccessOptions$) + .build() { +} + +class ModifyVpcEncryptionControlCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpcEncryptionControl", {}) + .n("EC2Client", "ModifyVpcEncryptionControlCommand") + .sc(schemas_0.ModifyVpcEncryptionControl$) + .build() { +} + +class ModifyVpcEndpointCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpcEndpoint", {}) + .n("EC2Client", "ModifyVpcEndpointCommand") + .sc(schemas_0.ModifyVpcEndpoint$) + .build() { +} + +class ModifyVpcEndpointConnectionNotificationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpcEndpointConnectionNotification", {}) + .n("EC2Client", "ModifyVpcEndpointConnectionNotificationCommand") + .sc(schemas_0.ModifyVpcEndpointConnectionNotification$) + .build() { +} + +class ModifyVpcEndpointServiceConfigurationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpcEndpointServiceConfiguration", {}) + .n("EC2Client", "ModifyVpcEndpointServiceConfigurationCommand") + .sc(schemas_0.ModifyVpcEndpointServiceConfiguration$) + .build() { +} + +class ModifyVpcEndpointServicePayerResponsibilityCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpcEndpointServicePayerResponsibility", {}) + .n("EC2Client", "ModifyVpcEndpointServicePayerResponsibilityCommand") + .sc(schemas_0.ModifyVpcEndpointServicePayerResponsibility$) + .build() { +} + +class ModifyVpcEndpointServicePermissionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpcEndpointServicePermissions", {}) + .n("EC2Client", "ModifyVpcEndpointServicePermissionsCommand") + .sc(schemas_0.ModifyVpcEndpointServicePermissions$) + .build() { +} + +class ModifyVpcPeeringConnectionOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpcPeeringConnectionOptions", {}) + .n("EC2Client", "ModifyVpcPeeringConnectionOptionsCommand") + .sc(schemas_0.ModifyVpcPeeringConnectionOptions$) + .build() { +} + +class ModifyVpcTenancyCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpcTenancy", {}) + .n("EC2Client", "ModifyVpcTenancyCommand") + .sc(schemas_0.ModifyVpcTenancy$) + .build() { +} + +class ModifyVpnConnectionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpnConnection", {}) + .n("EC2Client", "ModifyVpnConnectionCommand") + .sc(schemas_0.ModifyVpnConnection$) + .build() { +} + +class ModifyVpnConnectionOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpnConnectionOptions", {}) + .n("EC2Client", "ModifyVpnConnectionOptionsCommand") + .sc(schemas_0.ModifyVpnConnectionOptions$) + .build() { +} + +class ModifyVpnTunnelCertificateCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpnTunnelCertificate", {}) + .n("EC2Client", "ModifyVpnTunnelCertificateCommand") + .sc(schemas_0.ModifyVpnTunnelCertificate$) + .build() { +} + +class ModifyVpnTunnelOptionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ModifyVpnTunnelOptions", {}) + .n("EC2Client", "ModifyVpnTunnelOptionsCommand") + .sc(schemas_0.ModifyVpnTunnelOptions$) + .build() { +} + +class MonitorInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "MonitorInstances", {}) + .n("EC2Client", "MonitorInstancesCommand") + .sc(schemas_0.MonitorInstances$) + .build() { +} + +class MoveAddressToVpcCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "MoveAddressToVpc", {}) + .n("EC2Client", "MoveAddressToVpcCommand") + .sc(schemas_0.MoveAddressToVpc$) + .build() { +} + +class MoveByoipCidrToIpamCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "MoveByoipCidrToIpam", {}) + .n("EC2Client", "MoveByoipCidrToIpamCommand") + .sc(schemas_0.MoveByoipCidrToIpam$) + .build() { +} + +class MoveCapacityReservationInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "MoveCapacityReservationInstances", {}) + .n("EC2Client", "MoveCapacityReservationInstancesCommand") + .sc(schemas_0.MoveCapacityReservationInstances$) + .build() { +} + +class ProvisionByoipCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ProvisionByoipCidr", {}) + .n("EC2Client", "ProvisionByoipCidrCommand") + .sc(schemas_0.ProvisionByoipCidr$) + .build() { +} + +class ProvisionIpamByoasnCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ProvisionIpamByoasn", {}) + .n("EC2Client", "ProvisionIpamByoasnCommand") + .sc(schemas_0.ProvisionIpamByoasn$) + .build() { +} + +class ProvisionIpamPoolCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ProvisionIpamPoolCidr", {}) + .n("EC2Client", "ProvisionIpamPoolCidrCommand") + .sc(schemas_0.ProvisionIpamPoolCidr$) + .build() { +} + +class ProvisionPublicIpv4PoolCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ProvisionPublicIpv4PoolCidr", {}) + .n("EC2Client", "ProvisionPublicIpv4PoolCidrCommand") + .sc(schemas_0.ProvisionPublicIpv4PoolCidr$) + .build() { +} + +class PurchaseCapacityBlockCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "PurchaseCapacityBlock", {}) + .n("EC2Client", "PurchaseCapacityBlockCommand") + .sc(schemas_0.PurchaseCapacityBlock$) + .build() { +} + +class PurchaseCapacityBlockExtensionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "PurchaseCapacityBlockExtension", {}) + .n("EC2Client", "PurchaseCapacityBlockExtensionCommand") + .sc(schemas_0.PurchaseCapacityBlockExtension$) + .build() { +} + +class PurchaseHostReservationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "PurchaseHostReservation", {}) + .n("EC2Client", "PurchaseHostReservationCommand") + .sc(schemas_0.PurchaseHostReservation$) + .build() { +} + +class PurchaseReservedInstancesOfferingCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "PurchaseReservedInstancesOffering", {}) + .n("EC2Client", "PurchaseReservedInstancesOfferingCommand") + .sc(schemas_0.PurchaseReservedInstancesOffering$) + .build() { +} + +class PurchaseScheduledInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "PurchaseScheduledInstances", {}) + .n("EC2Client", "PurchaseScheduledInstancesCommand") + .sc(schemas_0.PurchaseScheduledInstances$) + .build() { +} + +class RebootInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RebootInstances", {}) + .n("EC2Client", "RebootInstancesCommand") + .sc(schemas_0.RebootInstances$) + .build() { +} + +class RegisterImageCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RegisterImage", {}) + .n("EC2Client", "RegisterImageCommand") + .sc(schemas_0.RegisterImage$) + .build() { +} + +class RegisterInstanceEventNotificationAttributesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RegisterInstanceEventNotificationAttributes", {}) + .n("EC2Client", "RegisterInstanceEventNotificationAttributesCommand") + .sc(schemas_0.RegisterInstanceEventNotificationAttributes$) + .build() { +} + +class RegisterTransitGatewayMulticastGroupMembersCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RegisterTransitGatewayMulticastGroupMembers", {}) + .n("EC2Client", "RegisterTransitGatewayMulticastGroupMembersCommand") + .sc(schemas_0.RegisterTransitGatewayMulticastGroupMembers$) + .build() { +} + +class RegisterTransitGatewayMulticastGroupSourcesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RegisterTransitGatewayMulticastGroupSources", {}) + .n("EC2Client", "RegisterTransitGatewayMulticastGroupSourcesCommand") + .sc(schemas_0.RegisterTransitGatewayMulticastGroupSources$) + .build() { +} + +class RejectCapacityReservationBillingOwnershipCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RejectCapacityReservationBillingOwnership", {}) + .n("EC2Client", "RejectCapacityReservationBillingOwnershipCommand") + .sc(schemas_0.RejectCapacityReservationBillingOwnership$) + .build() { +} + +class RejectTransitGatewayMulticastDomainAssociationsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RejectTransitGatewayMulticastDomainAssociations", {}) + .n("EC2Client", "RejectTransitGatewayMulticastDomainAssociationsCommand") + .sc(schemas_0.RejectTransitGatewayMulticastDomainAssociations$) + .build() { +} + +class RejectTransitGatewayPeeringAttachmentCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RejectTransitGatewayPeeringAttachment", {}) + .n("EC2Client", "RejectTransitGatewayPeeringAttachmentCommand") + .sc(schemas_0.RejectTransitGatewayPeeringAttachment$) + .build() { +} + +class RejectTransitGatewayVpcAttachmentCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RejectTransitGatewayVpcAttachment", {}) + .n("EC2Client", "RejectTransitGatewayVpcAttachmentCommand") + .sc(schemas_0.RejectTransitGatewayVpcAttachment$) + .build() { +} + +class RejectVpcEndpointConnectionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RejectVpcEndpointConnections", {}) + .n("EC2Client", "RejectVpcEndpointConnectionsCommand") + .sc(schemas_0.RejectVpcEndpointConnections$) + .build() { +} + +class RejectVpcPeeringConnectionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RejectVpcPeeringConnection", {}) + .n("EC2Client", "RejectVpcPeeringConnectionCommand") + .sc(schemas_0.RejectVpcPeeringConnection$) + .build() { +} + +class ReleaseAddressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReleaseAddress", {}) + .n("EC2Client", "ReleaseAddressCommand") + .sc(schemas_0.ReleaseAddress$) + .build() { +} + +class ReleaseHostsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReleaseHosts", {}) + .n("EC2Client", "ReleaseHostsCommand") + .sc(schemas_0.ReleaseHosts$) + .build() { +} + +class ReleaseIpamPoolAllocationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReleaseIpamPoolAllocation", {}) + .n("EC2Client", "ReleaseIpamPoolAllocationCommand") + .sc(schemas_0.ReleaseIpamPoolAllocation$) + .build() { +} + +class ReplaceIamInstanceProfileAssociationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReplaceIamInstanceProfileAssociation", {}) + .n("EC2Client", "ReplaceIamInstanceProfileAssociationCommand") + .sc(schemas_0.ReplaceIamInstanceProfileAssociation$) + .build() { +} + +class ReplaceImageCriteriaInAllowedImagesSettingsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReplaceImageCriteriaInAllowedImagesSettings", {}) + .n("EC2Client", "ReplaceImageCriteriaInAllowedImagesSettingsCommand") + .sc(schemas_0.ReplaceImageCriteriaInAllowedImagesSettings$) + .build() { +} + +class ReplaceNetworkAclAssociationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReplaceNetworkAclAssociation", {}) + .n("EC2Client", "ReplaceNetworkAclAssociationCommand") + .sc(schemas_0.ReplaceNetworkAclAssociation$) + .build() { +} + +class ReplaceNetworkAclEntryCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReplaceNetworkAclEntry", {}) + .n("EC2Client", "ReplaceNetworkAclEntryCommand") + .sc(schemas_0.ReplaceNetworkAclEntry$) + .build() { +} + +class ReplaceRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReplaceRoute", {}) + .n("EC2Client", "ReplaceRouteCommand") + .sc(schemas_0.ReplaceRoute$) + .build() { +} + +class ReplaceRouteTableAssociationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReplaceRouteTableAssociation", {}) + .n("EC2Client", "ReplaceRouteTableAssociationCommand") + .sc(schemas_0.ReplaceRouteTableAssociation$) + .build() { +} + +class ReplaceTransitGatewayRouteCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReplaceTransitGatewayRoute", {}) + .n("EC2Client", "ReplaceTransitGatewayRouteCommand") + .sc(schemas_0.ReplaceTransitGatewayRoute$) + .build() { +} + +class ReplaceVpnTunnelCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReplaceVpnTunnel", {}) + .n("EC2Client", "ReplaceVpnTunnelCommand") + .sc(schemas_0.ReplaceVpnTunnel$) + .build() { +} + +class ReportInstanceStatusCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ReportInstanceStatus", {}) + .n("EC2Client", "ReportInstanceStatusCommand") + .sc(schemas_0.ReportInstanceStatus$) + .build() { +} + +class RequestSpotFleetCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RequestSpotFleet", {}) + .n("EC2Client", "RequestSpotFleetCommand") + .sc(schemas_0.RequestSpotFleet$) + .build() { +} + +class RequestSpotInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RequestSpotInstances", {}) + .n("EC2Client", "RequestSpotInstancesCommand") + .sc(schemas_0.RequestSpotInstances$) + .build() { +} + +class ResetAddressAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ResetAddressAttribute", {}) + .n("EC2Client", "ResetAddressAttributeCommand") + .sc(schemas_0.ResetAddressAttribute$) + .build() { +} + +class ResetEbsDefaultKmsKeyIdCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ResetEbsDefaultKmsKeyId", {}) + .n("EC2Client", "ResetEbsDefaultKmsKeyIdCommand") + .sc(schemas_0.ResetEbsDefaultKmsKeyId$) + .build() { +} + +class ResetFpgaImageAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ResetFpgaImageAttribute", {}) + .n("EC2Client", "ResetFpgaImageAttributeCommand") + .sc(schemas_0.ResetFpgaImageAttribute$) + .build() { +} + +class ResetImageAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ResetImageAttribute", {}) + .n("EC2Client", "ResetImageAttributeCommand") + .sc(schemas_0.ResetImageAttribute$) + .build() { +} + +class ResetInstanceAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ResetInstanceAttribute", {}) + .n("EC2Client", "ResetInstanceAttributeCommand") + .sc(schemas_0.ResetInstanceAttribute$) + .build() { +} + +class ResetNetworkInterfaceAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ResetNetworkInterfaceAttribute", {}) + .n("EC2Client", "ResetNetworkInterfaceAttributeCommand") + .sc(schemas_0.ResetNetworkInterfaceAttribute$) + .build() { +} + +class ResetSnapshotAttributeCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "ResetSnapshotAttribute", {}) + .n("EC2Client", "ResetSnapshotAttributeCommand") + .sc(schemas_0.ResetSnapshotAttribute$) + .build() { +} + +class RestoreAddressToClassicCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RestoreAddressToClassic", {}) + .n("EC2Client", "RestoreAddressToClassicCommand") + .sc(schemas_0.RestoreAddressToClassic$) + .build() { +} + +class RestoreImageFromRecycleBinCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RestoreImageFromRecycleBin", {}) + .n("EC2Client", "RestoreImageFromRecycleBinCommand") + .sc(schemas_0.RestoreImageFromRecycleBin$) + .build() { +} + +class RestoreManagedPrefixListVersionCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RestoreManagedPrefixListVersion", {}) + .n("EC2Client", "RestoreManagedPrefixListVersionCommand") + .sc(schemas_0.RestoreManagedPrefixListVersion$) + .build() { +} + +class RestoreSnapshotFromRecycleBinCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RestoreSnapshotFromRecycleBin", {}) + .n("EC2Client", "RestoreSnapshotFromRecycleBinCommand") + .sc(schemas_0.RestoreSnapshotFromRecycleBin$) + .build() { +} + +class RestoreSnapshotTierCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RestoreSnapshotTier", {}) + .n("EC2Client", "RestoreSnapshotTierCommand") + .sc(schemas_0.RestoreSnapshotTier$) + .build() { +} + +class RestoreVolumeFromRecycleBinCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RestoreVolumeFromRecycleBin", {}) + .n("EC2Client", "RestoreVolumeFromRecycleBinCommand") + .sc(schemas_0.RestoreVolumeFromRecycleBin$) + .build() { +} + +class RevokeClientVpnIngressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RevokeClientVpnIngress", {}) + .n("EC2Client", "RevokeClientVpnIngressCommand") + .sc(schemas_0.RevokeClientVpnIngress$) + .build() { +} + +class RevokeSecurityGroupEgressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RevokeSecurityGroupEgress", {}) + .n("EC2Client", "RevokeSecurityGroupEgressCommand") + .sc(schemas_0.RevokeSecurityGroupEgress$) + .build() { +} + +class RevokeSecurityGroupIngressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RevokeSecurityGroupIngress", {}) + .n("EC2Client", "RevokeSecurityGroupIngressCommand") + .sc(schemas_0.RevokeSecurityGroupIngress$) + .build() { +} + +class RunInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RunInstances", {}) + .n("EC2Client", "RunInstancesCommand") + .sc(schemas_0.RunInstances$) + .build() { +} + +class RunScheduledInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "RunScheduledInstances", {}) + .n("EC2Client", "RunScheduledInstancesCommand") + .sc(schemas_0.RunScheduledInstances$) + .build() { +} + +class SearchLocalGatewayRoutesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "SearchLocalGatewayRoutes", {}) + .n("EC2Client", "SearchLocalGatewayRoutesCommand") + .sc(schemas_0.SearchLocalGatewayRoutes$) + .build() { +} + +class SearchTransitGatewayMulticastGroupsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "SearchTransitGatewayMulticastGroups", {}) + .n("EC2Client", "SearchTransitGatewayMulticastGroupsCommand") + .sc(schemas_0.SearchTransitGatewayMulticastGroups$) + .build() { +} + +class SearchTransitGatewayRoutesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "SearchTransitGatewayRoutes", {}) + .n("EC2Client", "SearchTransitGatewayRoutesCommand") + .sc(schemas_0.SearchTransitGatewayRoutes$) + .build() { +} + +class SendDiagnosticInterruptCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "SendDiagnosticInterrupt", {}) + .n("EC2Client", "SendDiagnosticInterruptCommand") + .sc(schemas_0.SendDiagnosticInterrupt$) + .build() { +} + +class StartDeclarativePoliciesReportCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "StartDeclarativePoliciesReport", {}) + .n("EC2Client", "StartDeclarativePoliciesReportCommand") + .sc(schemas_0.StartDeclarativePoliciesReport$) + .build() { +} + +class StartInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "StartInstances", {}) + .n("EC2Client", "StartInstancesCommand") + .sc(schemas_0.StartInstances$) + .build() { +} + +class StartNetworkInsightsAccessScopeAnalysisCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "StartNetworkInsightsAccessScopeAnalysis", {}) + .n("EC2Client", "StartNetworkInsightsAccessScopeAnalysisCommand") + .sc(schemas_0.StartNetworkInsightsAccessScopeAnalysis$) + .build() { +} + +class StartNetworkInsightsAnalysisCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "StartNetworkInsightsAnalysis", {}) + .n("EC2Client", "StartNetworkInsightsAnalysisCommand") + .sc(schemas_0.StartNetworkInsightsAnalysis$) + .build() { +} + +class StartVpcEndpointServicePrivateDnsVerificationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "StartVpcEndpointServicePrivateDnsVerification", {}) + .n("EC2Client", "StartVpcEndpointServicePrivateDnsVerificationCommand") + .sc(schemas_0.StartVpcEndpointServicePrivateDnsVerification$) + .build() { +} + +class StopInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "StopInstances", {}) + .n("EC2Client", "StopInstancesCommand") + .sc(schemas_0.StopInstances$) + .build() { +} + +class TerminateClientVpnConnectionsCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "TerminateClientVpnConnections", {}) + .n("EC2Client", "TerminateClientVpnConnectionsCommand") + .sc(schemas_0.TerminateClientVpnConnections$) + .build() { +} + +class TerminateInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "TerminateInstances", {}) + .n("EC2Client", "TerminateInstancesCommand") + .sc(schemas_0.TerminateInstances$) + .build() { +} + +class UnassignIpv6AddressesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "UnassignIpv6Addresses", {}) + .n("EC2Client", "UnassignIpv6AddressesCommand") + .sc(schemas_0.UnassignIpv6Addresses$) + .build() { +} + +class UnassignPrivateIpAddressesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "UnassignPrivateIpAddresses", {}) + .n("EC2Client", "UnassignPrivateIpAddressesCommand") + .sc(schemas_0.UnassignPrivateIpAddresses$) + .build() { +} + +class UnassignPrivateNatGatewayAddressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "UnassignPrivateNatGatewayAddress", {}) + .n("EC2Client", "UnassignPrivateNatGatewayAddressCommand") + .sc(schemas_0.UnassignPrivateNatGatewayAddress$) + .build() { +} + +class UnlockSnapshotCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "UnlockSnapshot", {}) + .n("EC2Client", "UnlockSnapshotCommand") + .sc(schemas_0.UnlockSnapshot$) + .build() { +} + +class UnmonitorInstancesCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "UnmonitorInstances", {}) + .n("EC2Client", "UnmonitorInstancesCommand") + .sc(schemas_0.UnmonitorInstances$) + .build() { +} + +class UpdateCapacityManagerMonitoredTagKeysCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "UpdateCapacityManagerMonitoredTagKeys", {}) + .n("EC2Client", "UpdateCapacityManagerMonitoredTagKeysCommand") + .sc(schemas_0.UpdateCapacityManagerMonitoredTagKeys$) + .build() { +} + +class UpdateCapacityManagerOrganizationsAccessCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "UpdateCapacityManagerOrganizationsAccess", {}) + .n("EC2Client", "UpdateCapacityManagerOrganizationsAccessCommand") + .sc(schemas_0.UpdateCapacityManagerOrganizationsAccess$) + .build() { +} + +class UpdateInterruptibleCapacityReservationAllocationCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "UpdateInterruptibleCapacityReservationAllocation", {}) + .n("EC2Client", "UpdateInterruptibleCapacityReservationAllocationCommand") + .sc(schemas_0.UpdateInterruptibleCapacityReservationAllocation$) + .build() { +} + +class UpdateSecurityGroupRuleDescriptionsEgressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "UpdateSecurityGroupRuleDescriptionsEgress", {}) + .n("EC2Client", "UpdateSecurityGroupRuleDescriptionsEgressCommand") + .sc(schemas_0.UpdateSecurityGroupRuleDescriptionsEgress$) + .build() { +} + +class UpdateSecurityGroupRuleDescriptionsIngressCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "UpdateSecurityGroupRuleDescriptionsIngress", {}) + .n("EC2Client", "UpdateSecurityGroupRuleDescriptionsIngressCommand") + .sc(schemas_0.UpdateSecurityGroupRuleDescriptionsIngress$) + .build() { +} + +class WithdrawByoipCidrCommand extends smithyClient.Command + .classBuilder() + .ep(commonParams) + .m(function (Command, cs, config, o) { + return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; +}) + .s("AmazonEC2", "WithdrawByoipCidr", {}) + .n("EC2Client", "WithdrawByoipCidrCommand") + .sc(schemas_0.WithdrawByoipCidr$) + .build() { +} + +const paginateDescribeAddressesAttribute = core.createPaginator(EC2Client, DescribeAddressesAttributeCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeAddressTransfers = core.createPaginator(EC2Client, DescribeAddressTransfersCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeAwsNetworkPerformanceMetricSubscriptions = core.createPaginator(EC2Client, DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeByoipCidrs = core.createPaginator(EC2Client, DescribeByoipCidrsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeCapacityBlockExtensionHistory = core.createPaginator(EC2Client, DescribeCapacityBlockExtensionHistoryCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeCapacityBlockExtensionOfferings = core.createPaginator(EC2Client, DescribeCapacityBlockExtensionOfferingsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeCapacityBlockOfferings = core.createPaginator(EC2Client, DescribeCapacityBlockOfferingsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeCapacityBlocks = core.createPaginator(EC2Client, DescribeCapacityBlocksCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeCapacityBlockStatus = core.createPaginator(EC2Client, DescribeCapacityBlockStatusCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeCapacityManagerDataExports = core.createPaginator(EC2Client, DescribeCapacityManagerDataExportsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeCapacityReservationBillingRequests = core.createPaginator(EC2Client, DescribeCapacityReservationBillingRequestsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeCapacityReservationFleets = core.createPaginator(EC2Client, DescribeCapacityReservationFleetsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeCapacityReservations = core.createPaginator(EC2Client, DescribeCapacityReservationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeCarrierGateways = core.createPaginator(EC2Client, DescribeCarrierGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeClassicLinkInstances = core.createPaginator(EC2Client, DescribeClassicLinkInstancesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeClientVpnAuthorizationRules = core.createPaginator(EC2Client, DescribeClientVpnAuthorizationRulesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeClientVpnConnections = core.createPaginator(EC2Client, DescribeClientVpnConnectionsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeClientVpnEndpoints = core.createPaginator(EC2Client, DescribeClientVpnEndpointsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeClientVpnRoutes = core.createPaginator(EC2Client, DescribeClientVpnRoutesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeClientVpnTargetNetworks = core.createPaginator(EC2Client, DescribeClientVpnTargetNetworksCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeCoipPools = core.createPaginator(EC2Client, DescribeCoipPoolsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeDhcpOptions = core.createPaginator(EC2Client, DescribeDhcpOptionsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeEgressOnlyInternetGateways = core.createPaginator(EC2Client, DescribeEgressOnlyInternetGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeExportImageTasks = core.createPaginator(EC2Client, DescribeExportImageTasksCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeFastLaunchImages = core.createPaginator(EC2Client, DescribeFastLaunchImagesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeFastSnapshotRestores = core.createPaginator(EC2Client, DescribeFastSnapshotRestoresCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeFleets = core.createPaginator(EC2Client, DescribeFleetsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeFlowLogs = core.createPaginator(EC2Client, DescribeFlowLogsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeFpgaImages = core.createPaginator(EC2Client, DescribeFpgaImagesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeHostReservationOfferings = core.createPaginator(EC2Client, DescribeHostReservationOfferingsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeHostReservations = core.createPaginator(EC2Client, DescribeHostReservationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeHosts = core.createPaginator(EC2Client, DescribeHostsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeIamInstanceProfileAssociations = core.createPaginator(EC2Client, DescribeIamInstanceProfileAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeImageReferences = core.createPaginator(EC2Client, DescribeImageReferencesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeImages = core.createPaginator(EC2Client, DescribeImagesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeImageUsageReportEntries = core.createPaginator(EC2Client, DescribeImageUsageReportEntriesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeImageUsageReports = core.createPaginator(EC2Client, DescribeImageUsageReportsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeImportImageTasks = core.createPaginator(EC2Client, DescribeImportImageTasksCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeImportSnapshotTasks = core.createPaginator(EC2Client, DescribeImportSnapshotTasksCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeInstanceConnectEndpoints = core.createPaginator(EC2Client, DescribeInstanceConnectEndpointsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeInstanceCreditSpecifications = core.createPaginator(EC2Client, DescribeInstanceCreditSpecificationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeInstanceEventWindows = core.createPaginator(EC2Client, DescribeInstanceEventWindowsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeInstanceImageMetadata = core.createPaginator(EC2Client, DescribeInstanceImageMetadataCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeInstances = core.createPaginator(EC2Client, DescribeInstancesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeInstanceStatus = core.createPaginator(EC2Client, DescribeInstanceStatusCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeInstanceTopology = core.createPaginator(EC2Client, DescribeInstanceTopologyCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeInstanceTypeOfferings = core.createPaginator(EC2Client, DescribeInstanceTypeOfferingsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeInstanceTypes = core.createPaginator(EC2Client, DescribeInstanceTypesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeInternetGateways = core.createPaginator(EC2Client, DescribeInternetGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeIpamPools = core.createPaginator(EC2Client, DescribeIpamPoolsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeIpamPrefixListResolvers = core.createPaginator(EC2Client, DescribeIpamPrefixListResolversCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeIpamPrefixListResolverTargets = core.createPaginator(EC2Client, DescribeIpamPrefixListResolverTargetsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeIpamResourceDiscoveries = core.createPaginator(EC2Client, DescribeIpamResourceDiscoveriesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeIpamResourceDiscoveryAssociations = core.createPaginator(EC2Client, DescribeIpamResourceDiscoveryAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeIpamScopes = core.createPaginator(EC2Client, DescribeIpamScopesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeIpams = core.createPaginator(EC2Client, DescribeIpamsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeIpv6Pools = core.createPaginator(EC2Client, DescribeIpv6PoolsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeLaunchTemplates = core.createPaginator(EC2Client, DescribeLaunchTemplatesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeLaunchTemplateVersions = core.createPaginator(EC2Client, DescribeLaunchTemplateVersionsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeLocalGatewayRouteTables = core.createPaginator(EC2Client, DescribeLocalGatewayRouteTablesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations = core.createPaginator(EC2Client, DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeLocalGatewayRouteTableVpcAssociations = core.createPaginator(EC2Client, DescribeLocalGatewayRouteTableVpcAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeLocalGateways = core.createPaginator(EC2Client, DescribeLocalGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeLocalGatewayVirtualInterfaceGroups = core.createPaginator(EC2Client, DescribeLocalGatewayVirtualInterfaceGroupsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeLocalGatewayVirtualInterfaces = core.createPaginator(EC2Client, DescribeLocalGatewayVirtualInterfacesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeMacHosts = core.createPaginator(EC2Client, DescribeMacHostsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeMacModificationTasks = core.createPaginator(EC2Client, DescribeMacModificationTasksCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeManagedPrefixLists = core.createPaginator(EC2Client, DescribeManagedPrefixListsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeMovingAddresses = core.createPaginator(EC2Client, DescribeMovingAddressesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeNatGateways = core.createPaginator(EC2Client, DescribeNatGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeNetworkAcls = core.createPaginator(EC2Client, DescribeNetworkAclsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeNetworkInsightsAccessScopeAnalyses = core.createPaginator(EC2Client, DescribeNetworkInsightsAccessScopeAnalysesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeNetworkInsightsAccessScopes = core.createPaginator(EC2Client, DescribeNetworkInsightsAccessScopesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeNetworkInsightsAnalyses = core.createPaginator(EC2Client, DescribeNetworkInsightsAnalysesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeNetworkInsightsPaths = core.createPaginator(EC2Client, DescribeNetworkInsightsPathsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeNetworkInterfacePermissions = core.createPaginator(EC2Client, DescribeNetworkInterfacePermissionsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeNetworkInterfaces = core.createPaginator(EC2Client, DescribeNetworkInterfacesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribePrefixLists = core.createPaginator(EC2Client, DescribePrefixListsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribePrincipalIdFormat = core.createPaginator(EC2Client, DescribePrincipalIdFormatCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribePublicIpv4Pools = core.createPaginator(EC2Client, DescribePublicIpv4PoolsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeReplaceRootVolumeTasks = core.createPaginator(EC2Client, DescribeReplaceRootVolumeTasksCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeReservedInstancesModifications = core.createPaginator(EC2Client, DescribeReservedInstancesModificationsCommand, "NextToken", "NextToken", ""); + +const paginateDescribeReservedInstancesOfferings = core.createPaginator(EC2Client, DescribeReservedInstancesOfferingsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeRouteServerEndpoints = core.createPaginator(EC2Client, DescribeRouteServerEndpointsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeRouteServerPeers = core.createPaginator(EC2Client, DescribeRouteServerPeersCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeRouteServers = core.createPaginator(EC2Client, DescribeRouteServersCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeRouteTables = core.createPaginator(EC2Client, DescribeRouteTablesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeScheduledInstanceAvailability = core.createPaginator(EC2Client, DescribeScheduledInstanceAvailabilityCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeScheduledInstances = core.createPaginator(EC2Client, DescribeScheduledInstancesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSecondaryInterfaces = core.createPaginator(EC2Client, DescribeSecondaryInterfacesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSecondaryNetworks = core.createPaginator(EC2Client, DescribeSecondaryNetworksCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSecondarySubnets = core.createPaginator(EC2Client, DescribeSecondarySubnetsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSecurityGroupRules = core.createPaginator(EC2Client, DescribeSecurityGroupRulesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSecurityGroups = core.createPaginator(EC2Client, DescribeSecurityGroupsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSecurityGroupVpcAssociations = core.createPaginator(EC2Client, DescribeSecurityGroupVpcAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSnapshots = core.createPaginator(EC2Client, DescribeSnapshotsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSnapshotTierStatus = core.createPaginator(EC2Client, DescribeSnapshotTierStatusCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSpotFleetRequests = core.createPaginator(EC2Client, DescribeSpotFleetRequestsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSpotInstanceRequests = core.createPaginator(EC2Client, DescribeSpotInstanceRequestsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSpotPriceHistory = core.createPaginator(EC2Client, DescribeSpotPriceHistoryCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeStaleSecurityGroups = core.createPaginator(EC2Client, DescribeStaleSecurityGroupsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeStoreImageTasks = core.createPaginator(EC2Client, DescribeStoreImageTasksCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeSubnets = core.createPaginator(EC2Client, DescribeSubnetsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTags = core.createPaginator(EC2Client, DescribeTagsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTrafficMirrorFilters = core.createPaginator(EC2Client, DescribeTrafficMirrorFiltersCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTrafficMirrorSessions = core.createPaginator(EC2Client, DescribeTrafficMirrorSessionsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTrafficMirrorTargets = core.createPaginator(EC2Client, DescribeTrafficMirrorTargetsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTransitGatewayAttachments = core.createPaginator(EC2Client, DescribeTransitGatewayAttachmentsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTransitGatewayConnectPeers = core.createPaginator(EC2Client, DescribeTransitGatewayConnectPeersCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTransitGatewayConnects = core.createPaginator(EC2Client, DescribeTransitGatewayConnectsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTransitGatewayMulticastDomains = core.createPaginator(EC2Client, DescribeTransitGatewayMulticastDomainsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTransitGatewayPeeringAttachments = core.createPaginator(EC2Client, DescribeTransitGatewayPeeringAttachmentsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTransitGatewayPolicyTables = core.createPaginator(EC2Client, DescribeTransitGatewayPolicyTablesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTransitGatewayRouteTableAnnouncements = core.createPaginator(EC2Client, DescribeTransitGatewayRouteTableAnnouncementsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTransitGatewayRouteTables = core.createPaginator(EC2Client, DescribeTransitGatewayRouteTablesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTransitGateways = core.createPaginator(EC2Client, DescribeTransitGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTransitGatewayVpcAttachments = core.createPaginator(EC2Client, DescribeTransitGatewayVpcAttachmentsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeTrunkInterfaceAssociations = core.createPaginator(EC2Client, DescribeTrunkInterfaceAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVerifiedAccessEndpoints = core.createPaginator(EC2Client, DescribeVerifiedAccessEndpointsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVerifiedAccessGroups = core.createPaginator(EC2Client, DescribeVerifiedAccessGroupsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVerifiedAccessInstanceLoggingConfigurations = core.createPaginator(EC2Client, DescribeVerifiedAccessInstanceLoggingConfigurationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVerifiedAccessInstances = core.createPaginator(EC2Client, DescribeVerifiedAccessInstancesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVerifiedAccessTrustProviders = core.createPaginator(EC2Client, DescribeVerifiedAccessTrustProvidersCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVolumesModifications = core.createPaginator(EC2Client, DescribeVolumesModificationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVolumes = core.createPaginator(EC2Client, DescribeVolumesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVolumeStatus = core.createPaginator(EC2Client, DescribeVolumeStatusCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVpcClassicLinkDnsSupport = core.createPaginator(EC2Client, DescribeVpcClassicLinkDnsSupportCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVpcEndpointConnectionNotifications = core.createPaginator(EC2Client, DescribeVpcEndpointConnectionNotificationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVpcEndpointConnections = core.createPaginator(EC2Client, DescribeVpcEndpointConnectionsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVpcEndpointServiceConfigurations = core.createPaginator(EC2Client, DescribeVpcEndpointServiceConfigurationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVpcEndpointServicePermissions = core.createPaginator(EC2Client, DescribeVpcEndpointServicePermissionsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVpcEndpoints = core.createPaginator(EC2Client, DescribeVpcEndpointsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVpcPeeringConnections = core.createPaginator(EC2Client, DescribeVpcPeeringConnectionsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVpcs = core.createPaginator(EC2Client, DescribeVpcsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateDescribeVpnConcentrators = core.createPaginator(EC2Client, DescribeVpnConcentratorsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetAssociatedIpv6PoolCidrs = core.createPaginator(EC2Client, GetAssociatedIpv6PoolCidrsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetAwsNetworkPerformanceData = core.createPaginator(EC2Client, GetAwsNetworkPerformanceDataCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetCapacityManagerMetricData = core.createPaginator(EC2Client, GetCapacityManagerMetricDataCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetCapacityManagerMetricDimensions = core.createPaginator(EC2Client, GetCapacityManagerMetricDimensionsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetCapacityManagerMonitoredTagKeys = core.createPaginator(EC2Client, GetCapacityManagerMonitoredTagKeysCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetGroupsForCapacityReservation = core.createPaginator(EC2Client, GetGroupsForCapacityReservationCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetInstanceTypesFromInstanceRequirements = core.createPaginator(EC2Client, GetInstanceTypesFromInstanceRequirementsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetIpamAddressHistory = core.createPaginator(EC2Client, GetIpamAddressHistoryCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetIpamDiscoveredAccounts = core.createPaginator(EC2Client, GetIpamDiscoveredAccountsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetIpamDiscoveredResourceCidrs = core.createPaginator(EC2Client, GetIpamDiscoveredResourceCidrsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetIpamPoolAllocations = core.createPaginator(EC2Client, GetIpamPoolAllocationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetIpamPoolCidrs = core.createPaginator(EC2Client, GetIpamPoolCidrsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetIpamPrefixListResolverRules = core.createPaginator(EC2Client, GetIpamPrefixListResolverRulesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetIpamPrefixListResolverVersionEntries = core.createPaginator(EC2Client, GetIpamPrefixListResolverVersionEntriesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetIpamPrefixListResolverVersions = core.createPaginator(EC2Client, GetIpamPrefixListResolverVersionsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetIpamResourceCidrs = core.createPaginator(EC2Client, GetIpamResourceCidrsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetManagedPrefixListAssociations = core.createPaginator(EC2Client, GetManagedPrefixListAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetManagedPrefixListEntries = core.createPaginator(EC2Client, GetManagedPrefixListEntriesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetNetworkInsightsAccessScopeAnalysisFindings = core.createPaginator(EC2Client, GetNetworkInsightsAccessScopeAnalysisFindingsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetSecurityGroupsForVpc = core.createPaginator(EC2Client, GetSecurityGroupsForVpcCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetSpotPlacementScores = core.createPaginator(EC2Client, GetSpotPlacementScoresCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetTransitGatewayAttachmentPropagations = core.createPaginator(EC2Client, GetTransitGatewayAttachmentPropagationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetTransitGatewayMulticastDomainAssociations = core.createPaginator(EC2Client, GetTransitGatewayMulticastDomainAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetTransitGatewayPolicyTableAssociations = core.createPaginator(EC2Client, GetTransitGatewayPolicyTableAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetTransitGatewayPrefixListReferences = core.createPaginator(EC2Client, GetTransitGatewayPrefixListReferencesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetTransitGatewayRouteTableAssociations = core.createPaginator(EC2Client, GetTransitGatewayRouteTableAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetTransitGatewayRouteTablePropagations = core.createPaginator(EC2Client, GetTransitGatewayRouteTablePropagationsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateGetVpnConnectionDeviceTypes = core.createPaginator(EC2Client, GetVpnConnectionDeviceTypesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateListImagesInRecycleBin = core.createPaginator(EC2Client, ListImagesInRecycleBinCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateListSnapshotsInRecycleBin = core.createPaginator(EC2Client, ListSnapshotsInRecycleBinCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateSearchLocalGatewayRoutes = core.createPaginator(EC2Client, SearchLocalGatewayRoutesCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateSearchTransitGatewayMulticastGroups = core.createPaginator(EC2Client, SearchTransitGatewayMulticastGroupsCommand, "NextToken", "NextToken", "MaxResults"); + +const paginateSearchTransitGatewayRoutes = core.createPaginator(EC2Client, SearchTransitGatewayRoutesCommand, "NextToken", "NextToken", "MaxResults"); + +const checkState$G = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeBundleTasksCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.BundleTasks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "complete"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.BundleTasks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "failed") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForBundleTaskComplete = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$G); +}; +const waitUntilBundleTaskComplete = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$G); + return utilWaiter.checkExceptions(result); +}; + +const checkState$F = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeConversionTasksCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.ConversionTasks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "cancelled"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForConversionTaskCancelled = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$F); +}; +const waitUntilConversionTaskCancelled = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$F); + return utilWaiter.checkExceptions(result); +}; + +const checkState$E = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeConversionTasksCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.ConversionTasks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "completed"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.ConversionTasks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "cancelled") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.ConversionTasks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "cancelling") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForConversionTaskCompleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$E); +}; +const waitUntilConversionTaskCompleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$E); + return utilWaiter.checkExceptions(result); +}; + +const checkState$D = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeConversionTasksCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.ConversionTasks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "deleted"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForConversionTaskDeleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$D); +}; +const waitUntilConversionTaskDeleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$D); + return utilWaiter.checkExceptions(result); +}; + +const checkState$C = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeCustomerGatewaysCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.CustomerGateways); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "available"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.CustomerGateways); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleted") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.CustomerGateways); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleting") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForCustomerGatewayAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$C); +}; +const waitUntilCustomerGatewayAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$C); + return utilWaiter.checkExceptions(result); +}; + +const checkState$B = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeExportTasksCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.ExportTasks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "cancelled"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForExportTaskCancelled = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$B); +}; +const waitUntilExportTaskCancelled = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$B); + return utilWaiter.checkExceptions(result); +}; + +const checkState$A = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeExportTasksCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.ExportTasks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "completed"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForExportTaskCompleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$A); +}; +const waitUntilExportTaskCompleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$A); + return utilWaiter.checkExceptions(result); +}; + +const checkState$z = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeImagesCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Images); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "available"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Images); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "failed") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForImageAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$z); +}; +const waitUntilImageAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$z); + return utilWaiter.checkExceptions(result); +}; + +const checkState$y = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeImagesCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Images); + return (flat_1.length > 0); + }; + if (returnComparator() == true) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidAMIID.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForImageExists = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$y); +}; +const waitUntilImageExists = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$y); + return utilWaiter.checkExceptions(result); +}; + +const checkState$x = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeImageUsageReportsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.ImageUsageReports); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "available"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.ImageUsageReports); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "failed") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForImageUsageReportAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$x); +}; +const waitUntilImageUsageReportAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$x); + return utilWaiter.checkExceptions(result); +}; + +const checkState$w = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeInstancesCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Reservations); + return (flat_1.length > 0); + }; + if (returnComparator() == true) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidInstanceID.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForInstanceExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$w); +}; +const waitUntilInstanceExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$w); + return utilWaiter.checkExceptions(result); +}; + +const checkState$v = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeInstancesCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Reservations); + let projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + let flat_4 = [].concat(...projection_3); + let projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }; + let allStringEq_8 = (returnComparator().length > 0); + for (let element_7 of returnComparator()) { + allStringEq_8 = allStringEq_8 && (element_7 == "running"); + } + if (allStringEq_8) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Reservations); + let projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + let flat_4 = [].concat(...projection_3); + let projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }; + for (let anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "shutting-down") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Reservations); + let projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + let flat_4 = [].concat(...projection_3); + let projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }; + for (let anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "terminated") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Reservations); + let projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + let flat_4 = [].concat(...projection_3); + let projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }; + for (let anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "stopping") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidInstanceID.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForInstanceRunning = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$v); +}; +const waitUntilInstanceRunning = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$v); + return utilWaiter.checkExceptions(result); +}; + +const checkState$u = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeInstanceStatusCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.InstanceStatuses); + let projection_3 = flat_1.map((element_2) => { + return element_2.InstanceStatus.Status; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "ok"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidInstanceID.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForInstanceStatusOk = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$u); +}; +const waitUntilInstanceStatusOk = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$u); + return utilWaiter.checkExceptions(result); +}; + +const checkState$t = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeInstancesCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Reservations); + let projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + let flat_4 = [].concat(...projection_3); + let projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }; + let allStringEq_8 = (returnComparator().length > 0); + for (let element_7 of returnComparator()) { + allStringEq_8 = allStringEq_8 && (element_7 == "stopped"); + } + if (allStringEq_8) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Reservations); + let projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + let flat_4 = [].concat(...projection_3); + let projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }; + for (let anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "pending") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Reservations); + let projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + let flat_4 = [].concat(...projection_3); + let projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }; + for (let anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "terminated") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForInstanceStopped = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$t); +}; +const waitUntilInstanceStopped = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$t); + return utilWaiter.checkExceptions(result); +}; + +const checkState$s = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeInstancesCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Reservations); + let projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + let flat_4 = [].concat(...projection_3); + let projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }; + let allStringEq_8 = (returnComparator().length > 0); + for (let element_7 of returnComparator()) { + allStringEq_8 = allStringEq_8 && (element_7 == "terminated"); + } + if (allStringEq_8) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Reservations); + let projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + let flat_4 = [].concat(...projection_3); + let projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }; + for (let anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "pending") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Reservations); + let projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + let flat_4 = [].concat(...projection_3); + let projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }; + for (let anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "stopping") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForInstanceTerminated = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$s); +}; +const waitUntilInstanceTerminated = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$s); + return utilWaiter.checkExceptions(result); +}; + +const checkState$r = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeInternetGatewaysCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.InternetGateways); + let projection_3 = flat_1.map((element_2) => { + return element_2.InternetGatewayId; + }); + return (projection_3.length > 0); + }; + if (returnComparator() == true) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidInternetGateway.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForInternetGatewayExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$r); +}; +const waitUntilInternetGatewayExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$r); + return utilWaiter.checkExceptions(result); +}; + +const checkState$q = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeKeyPairsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.KeyPairs); + let projection_3 = flat_1.map((element_2) => { + return element_2.KeyName; + }); + return (projection_3.length > 0); + }; + if (returnComparator() == true) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidKeyPair.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForKeyPairExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$q); +}; +const waitUntilKeyPairExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$q); + return utilWaiter.checkExceptions(result); +}; + +const checkState$p = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeNatGatewaysCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.NatGateways); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "available"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.NatGateways); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "failed") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.NatGateways); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleting") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.NatGateways); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleted") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "NatGatewayNotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForNatGatewayAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$p); +}; +const waitUntilNatGatewayAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$p); + return utilWaiter.checkExceptions(result); +}; + +const checkState$o = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeNatGatewaysCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.NatGateways); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "deleted"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "NatGatewayNotFound") { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForNatGatewayDeleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$o); +}; +const waitUntilNatGatewayDeleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$o); + return utilWaiter.checkExceptions(result); +}; + +const checkState$n = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeNetworkInterfacesCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.NetworkInterfaces); + let projection_3 = flat_1.map((element_2) => { + return element_2.Status; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "available"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidNetworkInterfaceID.NotFound") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForNetworkInterfaceAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 20, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$n); +}; +const waitUntilNetworkInterfaceAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 20, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$n); + return utilWaiter.checkExceptions(result); +}; + +const checkState$m = async (client, input) => { + let reason; + try { + let result = await client.send(new GetPasswordDataCommand(input)); + reason = result; + try { + const returnComparator = () => { + return (result.PasswordData.length > 0); + }; + if (returnComparator() == true) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForPasswordDataAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$m); +}; +const waitUntilPasswordDataAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$m); + return utilWaiter.checkExceptions(result); +}; + +const checkState$l = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeSecondaryNetworksCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecondaryNetworks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "create-complete"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecondaryNetworks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "create-failed") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidSecondaryNetworkId.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSecondaryNetworkCreateComplete = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$l); +}; +const waitUntilSecondaryNetworkCreateComplete = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$l); + return utilWaiter.checkExceptions(result); +}; + +const checkState$k = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeSecondaryNetworksCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecondaryNetworks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "delete-complete"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecondaryNetworks); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "delete-failed") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSecondaryNetworkDeleteComplete = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$k); +}; +const waitUntilSecondaryNetworkDeleteComplete = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$k); + return utilWaiter.checkExceptions(result); +}; + +const checkState$j = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeSecondarySubnetsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecondarySubnets); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "create-complete"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecondarySubnets); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "delete-failed") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidSecondarySubnetId.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSecondarySubnetCreateComplete = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$j); +}; +const waitUntilSecondarySubnetCreateComplete = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$j); + return utilWaiter.checkExceptions(result); +}; + +const checkState$i = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeSecondarySubnetsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecondarySubnets); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "delete-complete"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecondarySubnets); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "delete-failed") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSecondarySubnetDeleteComplete = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$i); +}; +const waitUntilSecondarySubnetDeleteComplete = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$i); + return utilWaiter.checkExceptions(result); +}; + +const checkState$h = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeSecurityGroupsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecurityGroups); + let projection_3 = flat_1.map((element_2) => { + return element_2.GroupId; + }); + return (projection_3.length > 0); + }; + if (returnComparator() == true) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidGroup.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSecurityGroupExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$h); +}; +const waitUntilSecurityGroupExists = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$h); + return utilWaiter.checkExceptions(result); +}; + +const checkState$g = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeSecurityGroupVpcAssociationsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecurityGroupVpcAssociations); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "associated"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecurityGroupVpcAssociations); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "associating") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecurityGroupVpcAssociations); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "association-failed") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSecurityGroupVpcAssociationAssociated = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$g); +}; +const waitUntilSecurityGroupVpcAssociationAssociated = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$g); + return utilWaiter.checkExceptions(result); +}; + +const checkState$f = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeSecurityGroupVpcAssociationsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecurityGroupVpcAssociations); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "disassociated"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecurityGroupVpcAssociations); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "disassociating") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecurityGroupVpcAssociations); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "disassociation-failed") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SecurityGroupVpcAssociations); + return (flat_1.length == 0); + }; + if (returnComparator() == true) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSecurityGroupVpcAssociationDisassociated = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$f); +}; +const waitUntilSecurityGroupVpcAssociationDisassociated = async (params, input) => { + const serviceDefaults = { minDelay: 10, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$f); + return utilWaiter.checkExceptions(result); +}; + +const checkState$e = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeSnapshotsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Snapshots); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "completed"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Snapshots); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "error") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSnapshotCompleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$e); +}; +const waitUntilSnapshotCompleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$e); + return utilWaiter.checkExceptions(result); +}; + +const checkState$d = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeImportSnapshotTasksCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.ImportSnapshotTasks); + let projection_3 = flat_1.map((element_2) => { + return element_2.SnapshotTaskDetail.Status; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "completed"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.ImportSnapshotTasks); + let projection_3 = flat_1.map((element_2) => { + return element_2.SnapshotTaskDetail.Status; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "error") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSnapshotImported = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$d); +}; +const waitUntilSnapshotImported = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$d); + return utilWaiter.checkExceptions(result); +}; + +const checkState$c = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeSpotInstanceRequestsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SpotInstanceRequests); + let projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "fulfilled"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SpotInstanceRequests); + let projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "request-canceled-and-instance-running"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SpotInstanceRequests); + let projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "schedule-expired") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SpotInstanceRequests); + let projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "canceled-before-fulfillment") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SpotInstanceRequests); + let projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "bad-parameters") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.SpotInstanceRequests); + let projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "system-error") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidSpotInstanceRequestID.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSpotInstanceRequestFulfilled = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$c); +}; +const waitUntilSpotInstanceRequestFulfilled = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$c); + return utilWaiter.checkExceptions(result); +}; + +const checkState$b = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeStoreImageTasksCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.StoreImageTaskResults); + let projection_3 = flat_1.map((element_2) => { + return element_2.StoreTaskState; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "Completed"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.StoreImageTaskResults); + let projection_3 = flat_1.map((element_2) => { + return element_2.StoreTaskState; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "Failed") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.StoreImageTaskResults); + let projection_3 = flat_1.map((element_2) => { + return element_2.StoreTaskState; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "InProgress") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForStoreImageTaskComplete = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$b); +}; +const waitUntilStoreImageTaskComplete = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$b); + return utilWaiter.checkExceptions(result); +}; + +const checkState$a = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeSubnetsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Subnets); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "available"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSubnetAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$a); +}; +const waitUntilSubnetAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$a); + return utilWaiter.checkExceptions(result); +}; + +const checkState$9 = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeInstanceStatusCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.InstanceStatuses); + let projection_3 = flat_1.map((element_2) => { + return element_2.SystemStatus.Status; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "ok"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForSystemStatusOk = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$9); +}; +const waitUntilSystemStatusOk = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$9); + return utilWaiter.checkExceptions(result); +}; + +const checkState$8 = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeVolumesCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Volumes); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "available"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Volumes); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleted") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForVolumeAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$8); +}; +const waitUntilVolumeAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$8); + return utilWaiter.checkExceptions(result); +}; + +const checkState$7 = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeVolumesCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Volumes); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "deleted"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidVolume.NotFound") { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForVolumeDeleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$7); +}; +const waitUntilVolumeDeleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$7); + return utilWaiter.checkExceptions(result); +}; + +const checkState$6 = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeVolumesCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Volumes); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "in-use"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Volumes); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleted") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForVolumeInUse = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$6); +}; +const waitUntilVolumeInUse = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$6); + return utilWaiter.checkExceptions(result); +}; + +const checkState$5 = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeVpcsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.Vpcs); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "available"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForVpcAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5); +}; +const waitUntilVpcAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5); + return utilWaiter.checkExceptions(result); +}; + +const checkState$4 = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeVpcsCommand(input)); + reason = result; + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidVpcID.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForVpcExists = async (params, input) => { + const serviceDefaults = { minDelay: 1, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4); +}; +const waitUntilVpcExists = async (params, input) => { + const serviceDefaults = { minDelay: 1, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4); + return utilWaiter.checkExceptions(result); +}; + +const checkState$3 = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeVpcPeeringConnectionsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.VpcPeeringConnections); + let projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "deleted"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidVpcPeeringConnectionID.NotFound") { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForVpcPeeringConnectionDeleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3); +}; +const waitUntilVpcPeeringConnectionDeleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3); + return utilWaiter.checkExceptions(result); +}; + +const checkState$2 = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeVpcPeeringConnectionsCommand(input)); + reason = result; + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidVpcPeeringConnectionID.NotFound") { + return { state: utilWaiter.WaiterState.RETRY, reason }; + } + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForVpcPeeringConnectionExists = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2); +}; +const waitUntilVpcPeeringConnectionExists = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2); + return utilWaiter.checkExceptions(result); +}; + +const checkState$1 = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeVpnConnectionsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.VpnConnections); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "available"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.VpnConnections); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleting") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.VpnConnections); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleted") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForVpnConnectionAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1); +}; +const waitUntilVpnConnectionAvailable = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1); + return utilWaiter.checkExceptions(result); +}; + +const checkState = async (client, input) => { + let reason; + try { + let result = await client.send(new DescribeVpnConnectionsCommand(input)); + reason = result; + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.VpnConnections); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + let allStringEq_5 = (returnComparator().length > 0); + for (let element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && (element_4 == "deleted"); + } + if (allStringEq_5) { + return { state: utilWaiter.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + let flat_1 = [].concat(...result.VpnConnections); + let projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }; + for (let anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "pending") { + return { state: utilWaiter.WaiterState.FAILURE, reason }; + } + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + } + return { state: utilWaiter.WaiterState.RETRY, reason }; +}; +const waitForVpnConnectionDeleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState); +}; +const waitUntilVpnConnectionDeleted = async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState); + return utilWaiter.checkExceptions(result); +}; + +const commands = { + AcceptAddressTransferCommand, + AcceptCapacityReservationBillingOwnershipCommand, + AcceptReservedInstancesExchangeQuoteCommand, + AcceptTransitGatewayMulticastDomainAssociationsCommand, + AcceptTransitGatewayPeeringAttachmentCommand, + AcceptTransitGatewayVpcAttachmentCommand, + AcceptVpcEndpointConnectionsCommand, + AcceptVpcPeeringConnectionCommand, + AdvertiseByoipCidrCommand, + AllocateAddressCommand, + AllocateHostsCommand, + AllocateIpamPoolCidrCommand, + ApplySecurityGroupsToClientVpnTargetNetworkCommand, + AssignIpv6AddressesCommand, + AssignPrivateIpAddressesCommand, + AssignPrivateNatGatewayAddressCommand, + AssociateAddressCommand, + AssociateCapacityReservationBillingOwnerCommand, + AssociateClientVpnTargetNetworkCommand, + AssociateDhcpOptionsCommand, + AssociateEnclaveCertificateIamRoleCommand, + AssociateIamInstanceProfileCommand, + AssociateInstanceEventWindowCommand, + AssociateIpamByoasnCommand, + AssociateIpamResourceDiscoveryCommand, + AssociateNatGatewayAddressCommand, + AssociateRouteServerCommand, + AssociateRouteTableCommand, + AssociateSecurityGroupVpcCommand, + AssociateSubnetCidrBlockCommand, + AssociateTransitGatewayMulticastDomainCommand, + AssociateTransitGatewayPolicyTableCommand, + AssociateTransitGatewayRouteTableCommand, + AssociateTrunkInterfaceCommand, + AssociateVpcCidrBlockCommand, + AttachClassicLinkVpcCommand, + AttachInternetGatewayCommand, + AttachNetworkInterfaceCommand, + AttachVerifiedAccessTrustProviderCommand, + AttachVolumeCommand, + AttachVpnGatewayCommand, + AuthorizeClientVpnIngressCommand, + AuthorizeSecurityGroupEgressCommand, + AuthorizeSecurityGroupIngressCommand, + BundleInstanceCommand, + CancelBundleTaskCommand, + CancelCapacityReservationCommand, + CancelCapacityReservationFleetsCommand, + CancelConversionTaskCommand, + CancelDeclarativePoliciesReportCommand, + CancelExportTaskCommand, + CancelImageLaunchPermissionCommand, + CancelImportTaskCommand, + CancelReservedInstancesListingCommand, + CancelSpotFleetRequestsCommand, + CancelSpotInstanceRequestsCommand, + ConfirmProductInstanceCommand, + CopyFpgaImageCommand, + CopyImageCommand, + CopySnapshotCommand, + CopyVolumesCommand, + CreateCapacityManagerDataExportCommand, + CreateCapacityReservationCommand, + CreateCapacityReservationBySplittingCommand, + CreateCapacityReservationFleetCommand, + CreateCarrierGatewayCommand, + CreateClientVpnEndpointCommand, + CreateClientVpnRouteCommand, + CreateCoipCidrCommand, + CreateCoipPoolCommand, + CreateCustomerGatewayCommand, + CreateDefaultSubnetCommand, + CreateDefaultVpcCommand, + CreateDelegateMacVolumeOwnershipTaskCommand, + CreateDhcpOptionsCommand, + CreateEgressOnlyInternetGatewayCommand, + CreateFleetCommand, + CreateFlowLogsCommand, + CreateFpgaImageCommand, + CreateImageCommand, + CreateImageUsageReportCommand, + CreateInstanceConnectEndpointCommand, + CreateInstanceEventWindowCommand, + CreateInstanceExportTaskCommand, + CreateInternetGatewayCommand, + CreateInterruptibleCapacityReservationAllocationCommand, + CreateIpamCommand, + CreateIpamExternalResourceVerificationTokenCommand, + CreateIpamPolicyCommand, + CreateIpamPoolCommand, + CreateIpamPrefixListResolverCommand, + CreateIpamPrefixListResolverTargetCommand, + CreateIpamResourceDiscoveryCommand, + CreateIpamScopeCommand, + CreateKeyPairCommand, + CreateLaunchTemplateCommand, + CreateLaunchTemplateVersionCommand, + CreateLocalGatewayRouteCommand, + CreateLocalGatewayRouteTableCommand, + CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand, + CreateLocalGatewayRouteTableVpcAssociationCommand, + CreateLocalGatewayVirtualInterfaceCommand, + CreateLocalGatewayVirtualInterfaceGroupCommand, + CreateMacSystemIntegrityProtectionModificationTaskCommand, + CreateManagedPrefixListCommand, + CreateNatGatewayCommand, + CreateNetworkAclCommand, + CreateNetworkAclEntryCommand, + CreateNetworkInsightsAccessScopeCommand, + CreateNetworkInsightsPathCommand, + CreateNetworkInterfaceCommand, + CreateNetworkInterfacePermissionCommand, + CreatePlacementGroupCommand, + CreatePublicIpv4PoolCommand, + CreateReplaceRootVolumeTaskCommand, + CreateReservedInstancesListingCommand, + CreateRestoreImageTaskCommand, + CreateRouteCommand, + CreateRouteServerCommand, + CreateRouteServerEndpointCommand, + CreateRouteServerPeerCommand, + CreateRouteTableCommand, + CreateSecondaryNetworkCommand, + CreateSecondarySubnetCommand, + CreateSecurityGroupCommand, + CreateSnapshotCommand, + CreateSnapshotsCommand, + CreateSpotDatafeedSubscriptionCommand, + CreateStoreImageTaskCommand, + CreateSubnetCommand, + CreateSubnetCidrReservationCommand, + CreateTagsCommand, + CreateTrafficMirrorFilterCommand, + CreateTrafficMirrorFilterRuleCommand, + CreateTrafficMirrorSessionCommand, + CreateTrafficMirrorTargetCommand, + CreateTransitGatewayCommand, + CreateTransitGatewayConnectCommand, + CreateTransitGatewayConnectPeerCommand, + CreateTransitGatewayMeteringPolicyCommand, + CreateTransitGatewayMeteringPolicyEntryCommand, + CreateTransitGatewayMulticastDomainCommand, + CreateTransitGatewayPeeringAttachmentCommand, + CreateTransitGatewayPolicyTableCommand, + CreateTransitGatewayPrefixListReferenceCommand, + CreateTransitGatewayRouteCommand, + CreateTransitGatewayRouteTableCommand, + CreateTransitGatewayRouteTableAnnouncementCommand, + CreateTransitGatewayVpcAttachmentCommand, + CreateVerifiedAccessEndpointCommand, + CreateVerifiedAccessGroupCommand, + CreateVerifiedAccessInstanceCommand, + CreateVerifiedAccessTrustProviderCommand, + CreateVolumeCommand, + CreateVpcCommand, + CreateVpcBlockPublicAccessExclusionCommand, + CreateVpcEncryptionControlCommand, + CreateVpcEndpointCommand, + CreateVpcEndpointConnectionNotificationCommand, + CreateVpcEndpointServiceConfigurationCommand, + CreateVpcPeeringConnectionCommand, + CreateVpnConcentratorCommand, + CreateVpnConnectionCommand, + CreateVpnConnectionRouteCommand, + CreateVpnGatewayCommand, + DeleteCapacityManagerDataExportCommand, + DeleteCarrierGatewayCommand, + DeleteClientVpnEndpointCommand, + DeleteClientVpnRouteCommand, + DeleteCoipCidrCommand, + DeleteCoipPoolCommand, + DeleteCustomerGatewayCommand, + DeleteDhcpOptionsCommand, + DeleteEgressOnlyInternetGatewayCommand, + DeleteFleetsCommand, + DeleteFlowLogsCommand, + DeleteFpgaImageCommand, + DeleteImageUsageReportCommand, + DeleteInstanceConnectEndpointCommand, + DeleteInstanceEventWindowCommand, + DeleteInternetGatewayCommand, + DeleteIpamCommand, + DeleteIpamExternalResourceVerificationTokenCommand, + DeleteIpamPolicyCommand, + DeleteIpamPoolCommand, + DeleteIpamPrefixListResolverCommand, + DeleteIpamPrefixListResolverTargetCommand, + DeleteIpamResourceDiscoveryCommand, + DeleteIpamScopeCommand, + DeleteKeyPairCommand, + DeleteLaunchTemplateCommand, + DeleteLaunchTemplateVersionsCommand, + DeleteLocalGatewayRouteCommand, + DeleteLocalGatewayRouteTableCommand, + DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand, + DeleteLocalGatewayRouteTableVpcAssociationCommand, + DeleteLocalGatewayVirtualInterfaceCommand, + DeleteLocalGatewayVirtualInterfaceGroupCommand, + DeleteManagedPrefixListCommand, + DeleteNatGatewayCommand, + DeleteNetworkAclCommand, + DeleteNetworkAclEntryCommand, + DeleteNetworkInsightsAccessScopeCommand, + DeleteNetworkInsightsAccessScopeAnalysisCommand, + DeleteNetworkInsightsAnalysisCommand, + DeleteNetworkInsightsPathCommand, + DeleteNetworkInterfaceCommand, + DeleteNetworkInterfacePermissionCommand, + DeletePlacementGroupCommand, + DeletePublicIpv4PoolCommand, + DeleteQueuedReservedInstancesCommand, + DeleteRouteCommand, + DeleteRouteServerCommand, + DeleteRouteServerEndpointCommand, + DeleteRouteServerPeerCommand, + DeleteRouteTableCommand, + DeleteSecondaryNetworkCommand, + DeleteSecondarySubnetCommand, + DeleteSecurityGroupCommand, + DeleteSnapshotCommand, + DeleteSpotDatafeedSubscriptionCommand, + DeleteSubnetCommand, + DeleteSubnetCidrReservationCommand, + DeleteTagsCommand, + DeleteTrafficMirrorFilterCommand, + DeleteTrafficMirrorFilterRuleCommand, + DeleteTrafficMirrorSessionCommand, + DeleteTrafficMirrorTargetCommand, + DeleteTransitGatewayCommand, + DeleteTransitGatewayConnectCommand, + DeleteTransitGatewayConnectPeerCommand, + DeleteTransitGatewayMeteringPolicyCommand, + DeleteTransitGatewayMeteringPolicyEntryCommand, + DeleteTransitGatewayMulticastDomainCommand, + DeleteTransitGatewayPeeringAttachmentCommand, + DeleteTransitGatewayPolicyTableCommand, + DeleteTransitGatewayPrefixListReferenceCommand, + DeleteTransitGatewayRouteCommand, + DeleteTransitGatewayRouteTableCommand, + DeleteTransitGatewayRouteTableAnnouncementCommand, + DeleteTransitGatewayVpcAttachmentCommand, + DeleteVerifiedAccessEndpointCommand, + DeleteVerifiedAccessGroupCommand, + DeleteVerifiedAccessInstanceCommand, + DeleteVerifiedAccessTrustProviderCommand, + DeleteVolumeCommand, + DeleteVpcCommand, + DeleteVpcBlockPublicAccessExclusionCommand, + DeleteVpcEncryptionControlCommand, + DeleteVpcEndpointConnectionNotificationsCommand, + DeleteVpcEndpointsCommand, + DeleteVpcEndpointServiceConfigurationsCommand, + DeleteVpcPeeringConnectionCommand, + DeleteVpnConcentratorCommand, + DeleteVpnConnectionCommand, + DeleteVpnConnectionRouteCommand, + DeleteVpnGatewayCommand, + DeprovisionByoipCidrCommand, + DeprovisionIpamByoasnCommand, + DeprovisionIpamPoolCidrCommand, + DeprovisionPublicIpv4PoolCidrCommand, + DeregisterImageCommand, + DeregisterInstanceEventNotificationAttributesCommand, + DeregisterTransitGatewayMulticastGroupMembersCommand, + DeregisterTransitGatewayMulticastGroupSourcesCommand, + DescribeAccountAttributesCommand, + DescribeAddressesCommand, + DescribeAddressesAttributeCommand, + DescribeAddressTransfersCommand, + DescribeAggregateIdFormatCommand, + DescribeAvailabilityZonesCommand, + DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, + DescribeBundleTasksCommand, + DescribeByoipCidrsCommand, + DescribeCapacityBlockExtensionHistoryCommand, + DescribeCapacityBlockExtensionOfferingsCommand, + DescribeCapacityBlockOfferingsCommand, + DescribeCapacityBlocksCommand, + DescribeCapacityBlockStatusCommand, + DescribeCapacityManagerDataExportsCommand, + DescribeCapacityReservationBillingRequestsCommand, + DescribeCapacityReservationFleetsCommand, + DescribeCapacityReservationsCommand, + DescribeCapacityReservationTopologyCommand, + DescribeCarrierGatewaysCommand, + DescribeClassicLinkInstancesCommand, + DescribeClientVpnAuthorizationRulesCommand, + DescribeClientVpnConnectionsCommand, + DescribeClientVpnEndpointsCommand, + DescribeClientVpnRoutesCommand, + DescribeClientVpnTargetNetworksCommand, + DescribeCoipPoolsCommand, + DescribeConversionTasksCommand, + DescribeCustomerGatewaysCommand, + DescribeDeclarativePoliciesReportsCommand, + DescribeDhcpOptionsCommand, + DescribeEgressOnlyInternetGatewaysCommand, + DescribeElasticGpusCommand, + DescribeExportImageTasksCommand, + DescribeExportTasksCommand, + DescribeFastLaunchImagesCommand, + DescribeFastSnapshotRestoresCommand, + DescribeFleetHistoryCommand, + DescribeFleetInstancesCommand, + DescribeFleetsCommand, + DescribeFlowLogsCommand, + DescribeFpgaImageAttributeCommand, + DescribeFpgaImagesCommand, + DescribeHostReservationOfferingsCommand, + DescribeHostReservationsCommand, + DescribeHostsCommand, + DescribeIamInstanceProfileAssociationsCommand, + DescribeIdentityIdFormatCommand, + DescribeIdFormatCommand, + DescribeImageAttributeCommand, + DescribeImageReferencesCommand, + DescribeImagesCommand, + DescribeImageUsageReportEntriesCommand, + DescribeImageUsageReportsCommand, + DescribeImportImageTasksCommand, + DescribeImportSnapshotTasksCommand, + DescribeInstanceAttributeCommand, + DescribeInstanceConnectEndpointsCommand, + DescribeInstanceCreditSpecificationsCommand, + DescribeInstanceEventNotificationAttributesCommand, + DescribeInstanceEventWindowsCommand, + DescribeInstanceImageMetadataCommand, + DescribeInstancesCommand, + DescribeInstanceSqlHaHistoryStatesCommand, + DescribeInstanceSqlHaStatesCommand, + DescribeInstanceStatusCommand, + DescribeInstanceTopologyCommand, + DescribeInstanceTypeOfferingsCommand, + DescribeInstanceTypesCommand, + DescribeInternetGatewaysCommand, + DescribeIpamByoasnCommand, + DescribeIpamExternalResourceVerificationTokensCommand, + DescribeIpamPoliciesCommand, + DescribeIpamPoolsCommand, + DescribeIpamPrefixListResolversCommand, + DescribeIpamPrefixListResolverTargetsCommand, + DescribeIpamResourceDiscoveriesCommand, + DescribeIpamResourceDiscoveryAssociationsCommand, + DescribeIpamsCommand, + DescribeIpamScopesCommand, + DescribeIpv6PoolsCommand, + DescribeKeyPairsCommand, + DescribeLaunchTemplatesCommand, + DescribeLaunchTemplateVersionsCommand, + DescribeLocalGatewayRouteTablesCommand, + DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand, + DescribeLocalGatewayRouteTableVpcAssociationsCommand, + DescribeLocalGatewaysCommand, + DescribeLocalGatewayVirtualInterfaceGroupsCommand, + DescribeLocalGatewayVirtualInterfacesCommand, + DescribeLockedSnapshotsCommand, + DescribeMacHostsCommand, + DescribeMacModificationTasksCommand, + DescribeManagedPrefixListsCommand, + DescribeMovingAddressesCommand, + DescribeNatGatewaysCommand, + DescribeNetworkAclsCommand, + DescribeNetworkInsightsAccessScopeAnalysesCommand, + DescribeNetworkInsightsAccessScopesCommand, + DescribeNetworkInsightsAnalysesCommand, + DescribeNetworkInsightsPathsCommand, + DescribeNetworkInterfaceAttributeCommand, + DescribeNetworkInterfacePermissionsCommand, + DescribeNetworkInterfacesCommand, + DescribeOutpostLagsCommand, + DescribePlacementGroupsCommand, + DescribePrefixListsCommand, + DescribePrincipalIdFormatCommand, + DescribePublicIpv4PoolsCommand, + DescribeRegionsCommand, + DescribeReplaceRootVolumeTasksCommand, + DescribeReservedInstancesCommand, + DescribeReservedInstancesListingsCommand, + DescribeReservedInstancesModificationsCommand, + DescribeReservedInstancesOfferingsCommand, + DescribeRouteServerEndpointsCommand, + DescribeRouteServerPeersCommand, + DescribeRouteServersCommand, + DescribeRouteTablesCommand, + DescribeScheduledInstanceAvailabilityCommand, + DescribeScheduledInstancesCommand, + DescribeSecondaryInterfacesCommand, + DescribeSecondaryNetworksCommand, + DescribeSecondarySubnetsCommand, + DescribeSecurityGroupReferencesCommand, + DescribeSecurityGroupRulesCommand, + DescribeSecurityGroupsCommand, + DescribeSecurityGroupVpcAssociationsCommand, + DescribeServiceLinkVirtualInterfacesCommand, + DescribeSnapshotAttributeCommand, + DescribeSnapshotsCommand, + DescribeSnapshotTierStatusCommand, + DescribeSpotDatafeedSubscriptionCommand, + DescribeSpotFleetInstancesCommand, + DescribeSpotFleetRequestHistoryCommand, + DescribeSpotFleetRequestsCommand, + DescribeSpotInstanceRequestsCommand, + DescribeSpotPriceHistoryCommand, + DescribeStaleSecurityGroupsCommand, + DescribeStoreImageTasksCommand, + DescribeSubnetsCommand, + DescribeTagsCommand, + DescribeTrafficMirrorFilterRulesCommand, + DescribeTrafficMirrorFiltersCommand, + DescribeTrafficMirrorSessionsCommand, + DescribeTrafficMirrorTargetsCommand, + DescribeTransitGatewayAttachmentsCommand, + DescribeTransitGatewayConnectPeersCommand, + DescribeTransitGatewayConnectsCommand, + DescribeTransitGatewayMeteringPoliciesCommand, + DescribeTransitGatewayMulticastDomainsCommand, + DescribeTransitGatewayPeeringAttachmentsCommand, + DescribeTransitGatewayPolicyTablesCommand, + DescribeTransitGatewayRouteTableAnnouncementsCommand, + DescribeTransitGatewayRouteTablesCommand, + DescribeTransitGatewaysCommand, + DescribeTransitGatewayVpcAttachmentsCommand, + DescribeTrunkInterfaceAssociationsCommand, + DescribeVerifiedAccessEndpointsCommand, + DescribeVerifiedAccessGroupsCommand, + DescribeVerifiedAccessInstanceLoggingConfigurationsCommand, + DescribeVerifiedAccessInstancesCommand, + DescribeVerifiedAccessTrustProvidersCommand, + DescribeVolumeAttributeCommand, + DescribeVolumesCommand, + DescribeVolumesModificationsCommand, + DescribeVolumeStatusCommand, + DescribeVpcAttributeCommand, + DescribeVpcBlockPublicAccessExclusionsCommand, + DescribeVpcBlockPublicAccessOptionsCommand, + DescribeVpcClassicLinkCommand, + DescribeVpcClassicLinkDnsSupportCommand, + DescribeVpcEncryptionControlsCommand, + DescribeVpcEndpointAssociationsCommand, + DescribeVpcEndpointConnectionNotificationsCommand, + DescribeVpcEndpointConnectionsCommand, + DescribeVpcEndpointsCommand, + DescribeVpcEndpointServiceConfigurationsCommand, + DescribeVpcEndpointServicePermissionsCommand, + DescribeVpcEndpointServicesCommand, + DescribeVpcPeeringConnectionsCommand, + DescribeVpcsCommand, + DescribeVpnConcentratorsCommand, + DescribeVpnConnectionsCommand, + DescribeVpnGatewaysCommand, + DetachClassicLinkVpcCommand, + DetachInternetGatewayCommand, + DetachNetworkInterfaceCommand, + DetachVerifiedAccessTrustProviderCommand, + DetachVolumeCommand, + DetachVpnGatewayCommand, + DisableAddressTransferCommand, + DisableAllowedImagesSettingsCommand, + DisableAwsNetworkPerformanceMetricSubscriptionCommand, + DisableCapacityManagerCommand, + DisableEbsEncryptionByDefaultCommand, + DisableFastLaunchCommand, + DisableFastSnapshotRestoresCommand, + DisableImageCommand, + DisableImageBlockPublicAccessCommand, + DisableImageDeprecationCommand, + DisableImageDeregistrationProtectionCommand, + DisableInstanceSqlHaStandbyDetectionsCommand, + DisableIpamOrganizationAdminAccountCommand, + DisableIpamPolicyCommand, + DisableRouteServerPropagationCommand, + DisableSerialConsoleAccessCommand, + DisableSnapshotBlockPublicAccessCommand, + DisableTransitGatewayRouteTablePropagationCommand, + DisableVgwRoutePropagationCommand, + DisableVpcClassicLinkCommand, + DisableVpcClassicLinkDnsSupportCommand, + DisassociateAddressCommand, + DisassociateCapacityReservationBillingOwnerCommand, + DisassociateClientVpnTargetNetworkCommand, + DisassociateEnclaveCertificateIamRoleCommand, + DisassociateIamInstanceProfileCommand, + DisassociateInstanceEventWindowCommand, + DisassociateIpamByoasnCommand, + DisassociateIpamResourceDiscoveryCommand, + DisassociateNatGatewayAddressCommand, + DisassociateRouteServerCommand, + DisassociateRouteTableCommand, + DisassociateSecurityGroupVpcCommand, + DisassociateSubnetCidrBlockCommand, + DisassociateTransitGatewayMulticastDomainCommand, + DisassociateTransitGatewayPolicyTableCommand, + DisassociateTransitGatewayRouteTableCommand, + DisassociateTrunkInterfaceCommand, + DisassociateVpcCidrBlockCommand, + EnableAddressTransferCommand, + EnableAllowedImagesSettingsCommand, + EnableAwsNetworkPerformanceMetricSubscriptionCommand, + EnableCapacityManagerCommand, + EnableEbsEncryptionByDefaultCommand, + EnableFastLaunchCommand, + EnableFastSnapshotRestoresCommand, + EnableImageCommand, + EnableImageBlockPublicAccessCommand, + EnableImageDeprecationCommand, + EnableImageDeregistrationProtectionCommand, + EnableInstanceSqlHaStandbyDetectionsCommand, + EnableIpamOrganizationAdminAccountCommand, + EnableIpamPolicyCommand, + EnableReachabilityAnalyzerOrganizationSharingCommand, + EnableRouteServerPropagationCommand, + EnableSerialConsoleAccessCommand, + EnableSnapshotBlockPublicAccessCommand, + EnableTransitGatewayRouteTablePropagationCommand, + EnableVgwRoutePropagationCommand, + EnableVolumeIOCommand, + EnableVpcClassicLinkCommand, + EnableVpcClassicLinkDnsSupportCommand, + ExportClientVpnClientCertificateRevocationListCommand, + ExportClientVpnClientConfigurationCommand, + ExportImageCommand, + ExportTransitGatewayRoutesCommand, + ExportVerifiedAccessInstanceClientConfigurationCommand, + GetActiveVpnTunnelStatusCommand, + GetAllowedImagesSettingsCommand, + GetAssociatedEnclaveCertificateIamRolesCommand, + GetAssociatedIpv6PoolCidrsCommand, + GetAwsNetworkPerformanceDataCommand, + GetCapacityManagerAttributesCommand, + GetCapacityManagerMetricDataCommand, + GetCapacityManagerMetricDimensionsCommand, + GetCapacityManagerMonitoredTagKeysCommand, + GetCapacityReservationUsageCommand, + GetCoipPoolUsageCommand, + GetConsoleOutputCommand, + GetConsoleScreenshotCommand, + GetDeclarativePoliciesReportSummaryCommand, + GetDefaultCreditSpecificationCommand, + GetEbsDefaultKmsKeyIdCommand, + GetEbsEncryptionByDefaultCommand, + GetEnabledIpamPolicyCommand, + GetFlowLogsIntegrationTemplateCommand, + GetGroupsForCapacityReservationCommand, + GetHostReservationPurchasePreviewCommand, + GetImageAncestryCommand, + GetImageBlockPublicAccessStateCommand, + GetInstanceMetadataDefaultsCommand, + GetInstanceTpmEkPubCommand, + GetInstanceTypesFromInstanceRequirementsCommand, + GetInstanceUefiDataCommand, + GetIpamAddressHistoryCommand, + GetIpamDiscoveredAccountsCommand, + GetIpamDiscoveredPublicAddressesCommand, + GetIpamDiscoveredResourceCidrsCommand, + GetIpamPolicyAllocationRulesCommand, + GetIpamPolicyOrganizationTargetsCommand, + GetIpamPoolAllocationsCommand, + GetIpamPoolCidrsCommand, + GetIpamPrefixListResolverRulesCommand, + GetIpamPrefixListResolverVersionEntriesCommand, + GetIpamPrefixListResolverVersionsCommand, + GetIpamResourceCidrsCommand, + GetLaunchTemplateDataCommand, + GetManagedPrefixListAssociationsCommand, + GetManagedPrefixListEntriesCommand, + GetNetworkInsightsAccessScopeAnalysisFindingsCommand, + GetNetworkInsightsAccessScopeContentCommand, + GetPasswordDataCommand, + GetReservedInstancesExchangeQuoteCommand, + GetRouteServerAssociationsCommand, + GetRouteServerPropagationsCommand, + GetRouteServerRoutingDatabaseCommand, + GetSecurityGroupsForVpcCommand, + GetSerialConsoleAccessStatusCommand, + GetSnapshotBlockPublicAccessStateCommand, + GetSpotPlacementScoresCommand, + GetSubnetCidrReservationsCommand, + GetTransitGatewayAttachmentPropagationsCommand, + GetTransitGatewayMeteringPolicyEntriesCommand, + GetTransitGatewayMulticastDomainAssociationsCommand, + GetTransitGatewayPolicyTableAssociationsCommand, + GetTransitGatewayPolicyTableEntriesCommand, + GetTransitGatewayPrefixListReferencesCommand, + GetTransitGatewayRouteTableAssociationsCommand, + GetTransitGatewayRouteTablePropagationsCommand, + GetVerifiedAccessEndpointPolicyCommand, + GetVerifiedAccessEndpointTargetsCommand, + GetVerifiedAccessGroupPolicyCommand, + GetVpcResourcesBlockingEncryptionEnforcementCommand, + GetVpnConnectionDeviceSampleConfigurationCommand, + GetVpnConnectionDeviceTypesCommand, + GetVpnTunnelReplacementStatusCommand, + ImportClientVpnClientCertificateRevocationListCommand, + ImportImageCommand, + ImportInstanceCommand, + ImportKeyPairCommand, + ImportSnapshotCommand, + ImportVolumeCommand, + ListImagesInRecycleBinCommand, + ListSnapshotsInRecycleBinCommand, + ListVolumesInRecycleBinCommand, + LockSnapshotCommand, + ModifyAddressAttributeCommand, + ModifyAvailabilityZoneGroupCommand, + ModifyCapacityReservationCommand, + ModifyCapacityReservationFleetCommand, + ModifyClientVpnEndpointCommand, + ModifyDefaultCreditSpecificationCommand, + ModifyEbsDefaultKmsKeyIdCommand, + ModifyFleetCommand, + ModifyFpgaImageAttributeCommand, + ModifyHostsCommand, + ModifyIdentityIdFormatCommand, + ModifyIdFormatCommand, + ModifyImageAttributeCommand, + ModifyInstanceAttributeCommand, + ModifyInstanceCapacityReservationAttributesCommand, + ModifyInstanceConnectEndpointCommand, + ModifyInstanceCpuOptionsCommand, + ModifyInstanceCreditSpecificationCommand, + ModifyInstanceEventStartTimeCommand, + ModifyInstanceEventWindowCommand, + ModifyInstanceMaintenanceOptionsCommand, + ModifyInstanceMetadataDefaultsCommand, + ModifyInstanceMetadataOptionsCommand, + ModifyInstanceNetworkPerformanceOptionsCommand, + ModifyInstancePlacementCommand, + ModifyIpamCommand, + ModifyIpamPolicyAllocationRulesCommand, + ModifyIpamPoolCommand, + ModifyIpamPrefixListResolverCommand, + ModifyIpamPrefixListResolverTargetCommand, + ModifyIpamResourceCidrCommand, + ModifyIpamResourceDiscoveryCommand, + ModifyIpamScopeCommand, + ModifyLaunchTemplateCommand, + ModifyLocalGatewayRouteCommand, + ModifyManagedPrefixListCommand, + ModifyNetworkInterfaceAttributeCommand, + ModifyPrivateDnsNameOptionsCommand, + ModifyPublicIpDnsNameOptionsCommand, + ModifyReservedInstancesCommand, + ModifyRouteServerCommand, + ModifySecurityGroupRulesCommand, + ModifySnapshotAttributeCommand, + ModifySnapshotTierCommand, + ModifySpotFleetRequestCommand, + ModifySubnetAttributeCommand, + ModifyTrafficMirrorFilterNetworkServicesCommand, + ModifyTrafficMirrorFilterRuleCommand, + ModifyTrafficMirrorSessionCommand, + ModifyTransitGatewayCommand, + ModifyTransitGatewayMeteringPolicyCommand, + ModifyTransitGatewayPrefixListReferenceCommand, + ModifyTransitGatewayVpcAttachmentCommand, + ModifyVerifiedAccessEndpointCommand, + ModifyVerifiedAccessEndpointPolicyCommand, + ModifyVerifiedAccessGroupCommand, + ModifyVerifiedAccessGroupPolicyCommand, + ModifyVerifiedAccessInstanceCommand, + ModifyVerifiedAccessInstanceLoggingConfigurationCommand, + ModifyVerifiedAccessTrustProviderCommand, + ModifyVolumeCommand, + ModifyVolumeAttributeCommand, + ModifyVpcAttributeCommand, + ModifyVpcBlockPublicAccessExclusionCommand, + ModifyVpcBlockPublicAccessOptionsCommand, + ModifyVpcEncryptionControlCommand, + ModifyVpcEndpointCommand, + ModifyVpcEndpointConnectionNotificationCommand, + ModifyVpcEndpointServiceConfigurationCommand, + ModifyVpcEndpointServicePayerResponsibilityCommand, + ModifyVpcEndpointServicePermissionsCommand, + ModifyVpcPeeringConnectionOptionsCommand, + ModifyVpcTenancyCommand, + ModifyVpnConnectionCommand, + ModifyVpnConnectionOptionsCommand, + ModifyVpnTunnelCertificateCommand, + ModifyVpnTunnelOptionsCommand, + MonitorInstancesCommand, + MoveAddressToVpcCommand, + MoveByoipCidrToIpamCommand, + MoveCapacityReservationInstancesCommand, + ProvisionByoipCidrCommand, + ProvisionIpamByoasnCommand, + ProvisionIpamPoolCidrCommand, + ProvisionPublicIpv4PoolCidrCommand, + PurchaseCapacityBlockCommand, + PurchaseCapacityBlockExtensionCommand, + PurchaseHostReservationCommand, + PurchaseReservedInstancesOfferingCommand, + PurchaseScheduledInstancesCommand, + RebootInstancesCommand, + RegisterImageCommand, + RegisterInstanceEventNotificationAttributesCommand, + RegisterTransitGatewayMulticastGroupMembersCommand, + RegisterTransitGatewayMulticastGroupSourcesCommand, + RejectCapacityReservationBillingOwnershipCommand, + RejectTransitGatewayMulticastDomainAssociationsCommand, + RejectTransitGatewayPeeringAttachmentCommand, + RejectTransitGatewayVpcAttachmentCommand, + RejectVpcEndpointConnectionsCommand, + RejectVpcPeeringConnectionCommand, + ReleaseAddressCommand, + ReleaseHostsCommand, + ReleaseIpamPoolAllocationCommand, + ReplaceIamInstanceProfileAssociationCommand, + ReplaceImageCriteriaInAllowedImagesSettingsCommand, + ReplaceNetworkAclAssociationCommand, + ReplaceNetworkAclEntryCommand, + ReplaceRouteCommand, + ReplaceRouteTableAssociationCommand, + ReplaceTransitGatewayRouteCommand, + ReplaceVpnTunnelCommand, + ReportInstanceStatusCommand, + RequestSpotFleetCommand, + RequestSpotInstancesCommand, + ResetAddressAttributeCommand, + ResetEbsDefaultKmsKeyIdCommand, + ResetFpgaImageAttributeCommand, + ResetImageAttributeCommand, + ResetInstanceAttributeCommand, + ResetNetworkInterfaceAttributeCommand, + ResetSnapshotAttributeCommand, + RestoreAddressToClassicCommand, + RestoreImageFromRecycleBinCommand, + RestoreManagedPrefixListVersionCommand, + RestoreSnapshotFromRecycleBinCommand, + RestoreSnapshotTierCommand, + RestoreVolumeFromRecycleBinCommand, + RevokeClientVpnIngressCommand, + RevokeSecurityGroupEgressCommand, + RevokeSecurityGroupIngressCommand, + RunInstancesCommand, + RunScheduledInstancesCommand, + SearchLocalGatewayRoutesCommand, + SearchTransitGatewayMulticastGroupsCommand, + SearchTransitGatewayRoutesCommand, + SendDiagnosticInterruptCommand, + StartDeclarativePoliciesReportCommand, + StartInstancesCommand, + StartNetworkInsightsAccessScopeAnalysisCommand, + StartNetworkInsightsAnalysisCommand, + StartVpcEndpointServicePrivateDnsVerificationCommand, + StopInstancesCommand, + TerminateClientVpnConnectionsCommand, + TerminateInstancesCommand, + UnassignIpv6AddressesCommand, + UnassignPrivateIpAddressesCommand, + UnassignPrivateNatGatewayAddressCommand, + UnlockSnapshotCommand, + UnmonitorInstancesCommand, + UpdateCapacityManagerMonitoredTagKeysCommand, + UpdateCapacityManagerOrganizationsAccessCommand, + UpdateInterruptibleCapacityReservationAllocationCommand, + UpdateSecurityGroupRuleDescriptionsEgressCommand, + UpdateSecurityGroupRuleDescriptionsIngressCommand, + WithdrawByoipCidrCommand, +}; +const paginators = { + paginateDescribeAddressesAttribute, + paginateDescribeAddressTransfers, + paginateDescribeAwsNetworkPerformanceMetricSubscriptions, + paginateDescribeByoipCidrs, + paginateDescribeCapacityBlockExtensionHistory, + paginateDescribeCapacityBlockExtensionOfferings, + paginateDescribeCapacityBlockOfferings, + paginateDescribeCapacityBlocks, + paginateDescribeCapacityBlockStatus, + paginateDescribeCapacityManagerDataExports, + paginateDescribeCapacityReservationBillingRequests, + paginateDescribeCapacityReservationFleets, + paginateDescribeCapacityReservations, + paginateDescribeCarrierGateways, + paginateDescribeClassicLinkInstances, + paginateDescribeClientVpnAuthorizationRules, + paginateDescribeClientVpnConnections, + paginateDescribeClientVpnEndpoints, + paginateDescribeClientVpnRoutes, + paginateDescribeClientVpnTargetNetworks, + paginateDescribeCoipPools, + paginateDescribeDhcpOptions, + paginateDescribeEgressOnlyInternetGateways, + paginateDescribeExportImageTasks, + paginateDescribeFastLaunchImages, + paginateDescribeFastSnapshotRestores, + paginateDescribeFleets, + paginateDescribeFlowLogs, + paginateDescribeFpgaImages, + paginateDescribeHostReservationOfferings, + paginateDescribeHostReservations, + paginateDescribeHosts, + paginateDescribeIamInstanceProfileAssociations, + paginateDescribeImageReferences, + paginateDescribeImages, + paginateDescribeImageUsageReportEntries, + paginateDescribeImageUsageReports, + paginateDescribeImportImageTasks, + paginateDescribeImportSnapshotTasks, + paginateDescribeInstanceConnectEndpoints, + paginateDescribeInstanceCreditSpecifications, + paginateDescribeInstanceEventWindows, + paginateDescribeInstanceImageMetadata, + paginateDescribeInstances, + paginateDescribeInstanceStatus, + paginateDescribeInstanceTopology, + paginateDescribeInstanceTypeOfferings, + paginateDescribeInstanceTypes, + paginateDescribeInternetGateways, + paginateDescribeIpamPools, + paginateDescribeIpamPrefixListResolvers, + paginateDescribeIpamPrefixListResolverTargets, + paginateDescribeIpamResourceDiscoveries, + paginateDescribeIpamResourceDiscoveryAssociations, + paginateDescribeIpams, + paginateDescribeIpamScopes, + paginateDescribeIpv6Pools, + paginateDescribeLaunchTemplates, + paginateDescribeLaunchTemplateVersions, + paginateDescribeLocalGatewayRouteTables, + paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations, + paginateDescribeLocalGatewayRouteTableVpcAssociations, + paginateDescribeLocalGateways, + paginateDescribeLocalGatewayVirtualInterfaceGroups, + paginateDescribeLocalGatewayVirtualInterfaces, + paginateDescribeMacHosts, + paginateDescribeMacModificationTasks, + paginateDescribeManagedPrefixLists, + paginateDescribeMovingAddresses, + paginateDescribeNatGateways, + paginateDescribeNetworkAcls, + paginateDescribeNetworkInsightsAccessScopeAnalyses, + paginateDescribeNetworkInsightsAccessScopes, + paginateDescribeNetworkInsightsAnalyses, + paginateDescribeNetworkInsightsPaths, + paginateDescribeNetworkInterfacePermissions, + paginateDescribeNetworkInterfaces, + paginateDescribePrefixLists, + paginateDescribePrincipalIdFormat, + paginateDescribePublicIpv4Pools, + paginateDescribeReplaceRootVolumeTasks, + paginateDescribeReservedInstancesModifications, + paginateDescribeReservedInstancesOfferings, + paginateDescribeRouteServerEndpoints, + paginateDescribeRouteServerPeers, + paginateDescribeRouteServers, + paginateDescribeRouteTables, + paginateDescribeScheduledInstanceAvailability, + paginateDescribeScheduledInstances, + paginateDescribeSecondaryInterfaces, + paginateDescribeSecondaryNetworks, + paginateDescribeSecondarySubnets, + paginateDescribeSecurityGroupRules, + paginateDescribeSecurityGroups, + paginateDescribeSecurityGroupVpcAssociations, + paginateDescribeSnapshots, + paginateDescribeSnapshotTierStatus, + paginateDescribeSpotFleetRequests, + paginateDescribeSpotInstanceRequests, + paginateDescribeSpotPriceHistory, + paginateDescribeStaleSecurityGroups, + paginateDescribeStoreImageTasks, + paginateDescribeSubnets, + paginateDescribeTags, + paginateDescribeTrafficMirrorFilters, + paginateDescribeTrafficMirrorSessions, + paginateDescribeTrafficMirrorTargets, + paginateDescribeTransitGatewayAttachments, + paginateDescribeTransitGatewayConnectPeers, + paginateDescribeTransitGatewayConnects, + paginateDescribeTransitGatewayMulticastDomains, + paginateDescribeTransitGatewayPeeringAttachments, + paginateDescribeTransitGatewayPolicyTables, + paginateDescribeTransitGatewayRouteTableAnnouncements, + paginateDescribeTransitGatewayRouteTables, + paginateDescribeTransitGateways, + paginateDescribeTransitGatewayVpcAttachments, + paginateDescribeTrunkInterfaceAssociations, + paginateDescribeVerifiedAccessEndpoints, + paginateDescribeVerifiedAccessGroups, + paginateDescribeVerifiedAccessInstanceLoggingConfigurations, + paginateDescribeVerifiedAccessInstances, + paginateDescribeVerifiedAccessTrustProviders, + paginateDescribeVolumes, + paginateDescribeVolumesModifications, + paginateDescribeVolumeStatus, + paginateDescribeVpcClassicLinkDnsSupport, + paginateDescribeVpcEndpointConnectionNotifications, + paginateDescribeVpcEndpointConnections, + paginateDescribeVpcEndpoints, + paginateDescribeVpcEndpointServiceConfigurations, + paginateDescribeVpcEndpointServicePermissions, + paginateDescribeVpcPeeringConnections, + paginateDescribeVpcs, + paginateDescribeVpnConcentrators, + paginateGetAssociatedIpv6PoolCidrs, + paginateGetAwsNetworkPerformanceData, + paginateGetCapacityManagerMetricData, + paginateGetCapacityManagerMetricDimensions, + paginateGetCapacityManagerMonitoredTagKeys, + paginateGetGroupsForCapacityReservation, + paginateGetInstanceTypesFromInstanceRequirements, + paginateGetIpamAddressHistory, + paginateGetIpamDiscoveredAccounts, + paginateGetIpamDiscoveredResourceCidrs, + paginateGetIpamPoolAllocations, + paginateGetIpamPoolCidrs, + paginateGetIpamPrefixListResolverRules, + paginateGetIpamPrefixListResolverVersionEntries, + paginateGetIpamPrefixListResolverVersions, + paginateGetIpamResourceCidrs, + paginateGetManagedPrefixListAssociations, + paginateGetManagedPrefixListEntries, + paginateGetNetworkInsightsAccessScopeAnalysisFindings, + paginateGetSecurityGroupsForVpc, + paginateGetSpotPlacementScores, + paginateGetTransitGatewayAttachmentPropagations, + paginateGetTransitGatewayMulticastDomainAssociations, + paginateGetTransitGatewayPolicyTableAssociations, + paginateGetTransitGatewayPrefixListReferences, + paginateGetTransitGatewayRouteTableAssociations, + paginateGetTransitGatewayRouteTablePropagations, + paginateGetVpnConnectionDeviceTypes, + paginateListImagesInRecycleBin, + paginateListSnapshotsInRecycleBin, + paginateSearchLocalGatewayRoutes, + paginateSearchTransitGatewayMulticastGroups, + paginateSearchTransitGatewayRoutes, +}; +const waiters = { + waitUntilBundleTaskComplete, + waitUntilConversionTaskCancelled, + waitUntilConversionTaskCompleted, + waitUntilConversionTaskDeleted, + waitUntilCustomerGatewayAvailable, + waitUntilExportTaskCancelled, + waitUntilExportTaskCompleted, + waitUntilImageAvailable, + waitUntilImageExists, + waitUntilImageUsageReportAvailable, + waitUntilSnapshotImported, + waitUntilInstanceExists, + waitUntilInstanceRunning, + waitUntilInstanceStopped, + waitUntilInstanceTerminated, + waitUntilInstanceStatusOk, + waitUntilSystemStatusOk, + waitUntilInternetGatewayExists, + waitUntilKeyPairExists, + waitUntilNatGatewayAvailable, + waitUntilNatGatewayDeleted, + waitUntilNetworkInterfaceAvailable, + waitUntilSecondaryNetworkCreateComplete, + waitUntilSecondaryNetworkDeleteComplete, + waitUntilSecondarySubnetCreateComplete, + waitUntilSecondarySubnetDeleteComplete, + waitUntilSecurityGroupExists, + waitUntilSecurityGroupVpcAssociationAssociated, + waitUntilSecurityGroupVpcAssociationDisassociated, + waitUntilSnapshotCompleted, + waitUntilSpotInstanceRequestFulfilled, + waitUntilStoreImageTaskComplete, + waitUntilSubnetAvailable, + waitUntilVolumeAvailable, + waitUntilVolumeDeleted, + waitUntilVolumeInUse, + waitUntilVpcPeeringConnectionDeleted, + waitUntilVpcPeeringConnectionExists, + waitUntilVpcAvailable, + waitUntilVpcExists, + waitUntilVpnConnectionAvailable, + waitUntilVpnConnectionDeleted, + waitUntilPasswordDataAvailable, +}; +class EC2 extends EC2Client { +} +smithyClient.createAggregatedClient(commands, EC2, { paginators, waiters }); + +const AcceleratorManufacturer = { + AMAZON_WEB_SERVICES: "amazon-web-services", + AMD: "amd", + HABANA: "habana", + NVIDIA: "nvidia", + XILINX: "xilinx", +}; +const AcceleratorName = { + A100: "a100", + A10G: "a10g", + GAUDI_HL_205: "gaudi-hl-205", + H100: "h100", + INFERENTIA: "inferentia", + INFERENTIA2: "inferentia2", + K520: "k520", + K80: "k80", + L4: "l4", + L40S: "l40s", + M60: "m60", + RADEON_PRO_V520: "radeon-pro-v520", + T4: "t4", + T4G: "t4g", + TRAINIUM: "trainium", + TRAINIUM2: "trainium2", + U30: "u30", + V100: "v100", + VU9P: "vu9p", +}; +const AcceleratorType = { + FPGA: "fpga", + GPU: "gpu", + INFERENCE: "inference", + MEDIA: "media", +}; +const ResourceType = { + capacity_block: "capacity-block", + capacity_manager_data_export: "capacity-manager-data-export", + capacity_reservation: "capacity-reservation", + capacity_reservation_fleet: "capacity-reservation-fleet", + carrier_gateway: "carrier-gateway", + client_vpn_endpoint: "client-vpn-endpoint", + coip_pool: "coip-pool", + customer_gateway: "customer-gateway", + declarative_policies_report: "declarative-policies-report", + dedicated_host: "dedicated-host", + dhcp_options: "dhcp-options", + egress_only_internet_gateway: "egress-only-internet-gateway", + elastic_gpu: "elastic-gpu", + elastic_ip: "elastic-ip", + export_image_task: "export-image-task", + export_instance_task: "export-instance-task", + fleet: "fleet", + fpga_image: "fpga-image", + host_reservation: "host-reservation", + image: "image", + image_usage_report: "image-usage-report", + import_image_task: "import-image-task", + import_snapshot_task: "import-snapshot-task", + instance: "instance", + instance_connect_endpoint: "instance-connect-endpoint", + instance_event_window: "instance-event-window", + internet_gateway: "internet-gateway", + ipam: "ipam", + ipam_external_resource_verification_token: "ipam-external-resource-verification-token", + ipam_policy: "ipam-policy", + ipam_pool: "ipam-pool", + ipam_prefix_list_resolver: "ipam-prefix-list-resolver", + ipam_prefix_list_resolver_target: "ipam-prefix-list-resolver-target", + 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", + mac_modification_task: "mac-modification-task", + 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", + outpost_lag: "outpost-lag", + placement_group: "placement-group", + prefix_list: "prefix-list", + replace_root_volume_task: "replace-root-volume-task", + reserved_instances: "reserved-instances", + route_server: "route-server", + route_server_endpoint: "route-server-endpoint", + route_server_peer: "route-server-peer", + route_table: "route-table", + secondary_interface: "secondary-interface", + secondary_network: "secondary-network", + secondary_subnet: "secondary-subnet", + security_group: "security-group", + security_group_rule: "security-group-rule", + service_link_virtual_interface: "service-link-virtual-interface", + 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_metering_policy: "transit-gateway-metering-policy", + transit_gateway_multicast_domain: "transit-gateway-multicast-domain", + transit_gateway_policy_table: "transit-gateway-policy-table", + transit_gateway_route_table: "transit-gateway-route-table", + transit_gateway_route_table_announcement: "transit-gateway-route-table-announcement", + verified_access_endpoint: "verified-access-endpoint", + verified_access_endpoint_target: "verified-access-endpoint-target", + verified_access_group: "verified-access-group", + verified_access_instance: "verified-access-instance", + verified_access_policy: "verified-access-policy", + verified_access_trust_provider: "verified-access-trust-provider", + volume: "volume", + vpc: "vpc", + vpc_block_public_access_exclusion: "vpc-block-public-access-exclusion", + vpc_encryption_control: "vpc-encryption-control", + 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_concentrator: "vpn-concentrator", + vpn_connection: "vpn-connection", + vpn_connection_device_type: "vpn-connection-device-type", + vpn_gateway: "vpn-gateway", +}; +const AddressTransferStatus = { + accepted: "accepted", + disabled: "disabled", + pending: "pending", +}; +const TransitGatewayAttachmentResourceType = { + connect: "connect", + direct_connect_gateway: "direct-connect-gateway", + network_function: "network-function", + peering: "peering", + tgw_peering: "tgw-peering", + vpc: "vpc", + vpn: "vpn", + vpn_concentrator: "vpn-concentrator", +}; +const TransitGatewayMulitcastDomainAssociationState = { + associated: "associated", + associating: "associating", + disassociated: "disassociated", + disassociating: "disassociating", + failed: "failed", + pendingAcceptance: "pendingAcceptance", + rejected: "rejected", +}; +const DynamicRoutingValue = { + disable: "disable", + enable: "enable", +}; +const 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", +}; +const ApplianceModeSupportValue = { + disable: "disable", + enable: "enable", +}; +const DnsSupportValue = { + disable: "disable", + enable: "enable", +}; +const Ipv6SupportValue = { + disable: "disable", + enable: "enable", +}; +const SecurityGroupReferencingSupportValue = { + disable: "disable", + enable: "enable", +}; +const VpcPeeringConnectionStateReasonCode = { + active: "active", + deleted: "deleted", + deleting: "deleting", + expired: "expired", + failed: "failed", + initiating_request: "initiating-request", + pending_acceptance: "pending-acceptance", + provisioning: "provisioning", + rejected: "rejected", +}; +const Protocol = { + tcp: "tcp", + udp: "udp", +}; +const AccountAttributeName = { + default_vpc: "default-vpc", + supported_platforms: "supported-platforms", +}; +const InstanceHealthStatus = { + HEALTHY_STATUS: "healthy", + UNHEALTHY_STATUS: "unhealthy", +}; +const VpnTunnelProvisioningStatus = { + available: "available", + failed: "failed", + pending: "pending", +}; +const ActivityStatus = { + ERROR: "error", + FULFILLED: "fulfilled", + PENDING_FULFILLMENT: "pending_fulfillment", + PENDING_TERMINATION: "pending_termination", +}; +const PrincipalType = { + Account: "Account", + All: "All", + OrganizationUnit: "OrganizationUnit", + Role: "Role", + Service: "Service", + User: "User", +}; +const DomainType = { + standard: "standard", + vpc: "vpc", +}; +const ServiceManaged = { + alb: "alb", + nlb: "nlb", + rds: "rds", + rnat: "rnat", +}; +const AddressAttributeName = { + domain_name: "domain-name", +}; +const AddressFamily = { + ipv4: "ipv4", + ipv6: "ipv6", +}; +const AsnAssociationState = { + associated: "associated", + disassociated: "disassociated", + failed_association: "failed-association", + failed_disassociation: "failed-disassociation", + pending_association: "pending-association", + pending_disassociation: "pending-disassociation", +}; +const ByoipCidrState = { + advertised: "advertised", + deprovisioned: "deprovisioned", + failed_deprovision: "failed-deprovision", + failed_provision: "failed-provision", + pending_advertising: "pending-advertising", + pending_deprovision: "pending-deprovision", + pending_provision: "pending-provision", + pending_withdrawal: "pending-withdrawal", + provisioned: "provisioned", + provisioned_not_publicly_advertisable: "provisioned-not-publicly-advertisable", +}; +const Affinity = { + default: "default", + host: "host", +}; +const AutoPlacement = { + off: "off", + on: "on", +}; +const HostMaintenance = { + off: "off", + on: "on", +}; +const HostRecovery = { + off: "off", + on: "on", +}; +const IpamPoolAllocationResourceType = { + anycast_ip_list: "anycast-ip-list", + custom: "custom", + ec2_public_ipv4_pool: "ec2-public-ipv4-pool", + eip: "eip", + ipam_pool: "ipam-pool", + subnet: "subnet", + vpc: "vpc", +}; +const AllocationState = { + available: "available", + pending: "pending", + permanent_failure: "permanent-failure", + released: "released", + released_permanent_failure: "released-permanent-failure", + under_assessment: "under-assessment", +}; +const AllocationStrategy = { + CAPACITY_OPTIMIZED: "capacityOptimized", + CAPACITY_OPTIMIZED_PRIORITIZED: "capacityOptimizedPrioritized", + DIVERSIFIED: "diversified", + LOWEST_PRICE: "lowestPrice", + PRICE_CAPACITY_OPTIMIZED: "priceCapacityOptimized", +}; +const AllocationType = { + future: "future", + used: "used", +}; +const AllowedImagesSettingsDisabledState = { + disabled: "disabled", +}; +const AllowedImagesSettingsEnabledState = { + audit_mode: "audit-mode", + enabled: "enabled", +}; +const AllowsMultipleInstanceTypes = { + off: "off", + on: "on", +}; +const NatGatewayAddressStatus = { + ASSIGNING: "assigning", + ASSOCIATING: "associating", + DISASSOCIATING: "disassociating", + FAILED: "failed", + SUCCEEDED: "succeeded", + UNASSIGNING: "unassigning", +}; +const AssociationStatusCode = { + associated: "associated", + associating: "associating", + association_failed: "association-failed", + disassociated: "disassociated", + disassociating: "disassociating", +}; +const IamInstanceProfileAssociationState = { + ASSOCIATED: "associated", + ASSOCIATING: "associating", + DISASSOCIATED: "disassociated", + DISASSOCIATING: "disassociating", +}; +const InstanceEventWindowState = { + active: "active", + creating: "creating", + deleted: "deleted", + deleting: "deleting", +}; +const WeekDay = { + friday: "friday", + monday: "monday", + saturday: "saturday", + sunday: "sunday", + thursday: "thursday", + tuesday: "tuesday", + wednesday: "wednesday", +}; +const IpamAssociatedResourceDiscoveryStatus = { + ACTIVE: "active", + NOT_FOUND: "not-found", +}; +const 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", +}; +const RouteServerAssociationState = { + ASSOCIATED: "associated", + ASSOCIATING: "associating", + DISASSOCIATING: "disassociating", +}; +const RouteTableAssociationStateCode = { + associated: "associated", + associating: "associating", + disassociated: "disassociated", + disassociating: "disassociating", + failed: "failed", +}; +const SecurityGroupVpcAssociationState = { + associated: "associated", + associating: "associating", + association_failed: "association-failed", + disassociated: "disassociated", + disassociating: "disassociating", + disassociation_failed: "disassociation-failed", +}; +const IpSource = { + amazon: "amazon", + byoip: "byoip", + none: "none", +}; +const Ipv6AddressAttribute = { + private: "private", + public: "public", +}; +const SubnetCidrBlockStateCode = { + associated: "associated", + associating: "associating", + disassociated: "disassociated", + disassociating: "disassociating", + failed: "failed", + failing: "failing", +}; +const TransitGatewayAssociationState = { + associated: "associated", + associating: "associating", + disassociated: "disassociated", + disassociating: "disassociating", +}; +const InterfaceProtocolType = { + GRE: "GRE", + VLAN: "VLAN", +}; +const VpcCidrBlockStateCode = { + associated: "associated", + associating: "associating", + disassociated: "disassociated", + disassociating: "disassociating", + failed: "failed", + failing: "failing", +}; +const DeviceTrustProviderType = { + crowdstrike: "crowdstrike", + jamf: "jamf", + jumpcloud: "jumpcloud", +}; +const TrustProviderType = { + device: "device", + user: "user", +}; +const UserTrustProviderType = { + iam_identity_center: "iam-identity-center", + oidc: "oidc", +}; +const VolumeAttachmentState = { + attached: "attached", + attaching: "attaching", + busy: "busy", + detached: "detached", + detaching: "detaching", +}; +const AttachmentStatus = { + attached: "attached", + attaching: "attaching", + detached: "detached", + detaching: "detaching", +}; +const ClientVpnAuthorizationRuleStatusCode = { + active: "active", + authorizing: "authorizing", + failed: "failed", + revoking: "revoking", +}; +const BundleTaskState = { + bundling: "bundling", + cancelling: "cancelling", + complete: "complete", + failed: "failed", + pending: "pending", + storing: "storing", + waiting_for_shutdown: "waiting-for-shutdown", +}; +const CapacityReservationFleetState = { + ACTIVE: "active", + CANCELLED: "cancelled", + CANCELLING: "cancelling", + EXPIRED: "expired", + EXPIRING: "expiring", + FAILED: "failed", + MODIFYING: "modifying", + PARTIALLY_FULFILLED: "partially_fulfilled", + SUBMITTED: "submitted", +}; +const ListingState = { + available: "available", + cancelled: "cancelled", + pending: "pending", + sold: "sold", +}; +const CurrencyCodeValues = { + USD: "USD", +}; +const ListingStatus = { + active: "active", + cancelled: "cancelled", + closed: "closed", + pending: "pending", +}; +const BatchState = { + ACTIVE: "active", + CANCELLED: "cancelled", + CANCELLED_RUNNING: "cancelled_running", + CANCELLED_TERMINATING_INSTANCES: "cancelled_terminating", + FAILED: "failed", + MODIFYING: "modifying", + SUBMITTED: "submitted", +}; +const CancelBatchErrorCode = { + FLEET_REQUEST_ID_DOES_NOT_EXIST: "fleetRequestIdDoesNotExist", + FLEET_REQUEST_ID_MALFORMED: "fleetRequestIdMalformed", + FLEET_REQUEST_NOT_IN_CANCELLABLE_STATE: "fleetRequestNotInCancellableState", + UNEXPECTED_ERROR: "unexpectedError", +}; +const CancelSpotInstanceRequestState = { + active: "active", + cancelled: "cancelled", + closed: "closed", + completed: "completed", + open: "open", +}; +const VolumeType = { + gp2: "gp2", + gp3: "gp3", + io1: "io1", + io2: "io2", + sc1: "sc1", + st1: "st1", + standard: "standard", +}; +const SSEType = { + none: "none", + sse_ebs: "sse-ebs", + sse_kms: "sse-kms", +}; +const VolumeState = { + available: "available", + creating: "creating", + deleted: "deleted", + deleting: "deleting", + error: "error", + in_use: "in-use", +}; +const OutputFormat = { + CSV: "csv", + PARQUET: "parquet", +}; +const Schedule = { + HOURLY: "hourly", +}; +const CapacityReservationDeliveryPreference = { + FIXED: "fixed", + INCREMENTAL: "incremental", +}; +const EndDateType = { + limited: "limited", + unlimited: "unlimited", +}; +const InstanceMatchCriteria = { + open: "open", + targeted: "targeted", +}; +const 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", +}; +const CapacityReservationTenancy = { + dedicated: "dedicated", + default: "default", +}; +const InterruptionType = { + adhoc: "adhoc", +}; +const InterruptibleCapacityReservationAllocationStatus = { + active: "active", + canceled: "canceled", + canceling: "canceling", + failed: "failed", + pending: "pending", + updating: "updating", +}; +const CapacityReservationType = { + CAPACITY_BLOCK: "capacity-block", + DEFAULT: "default", +}; +const CapacityReservationState = { + active: "active", + assessing: "assessing", + cancelled: "cancelled", + delayed: "delayed", + expired: "expired", + failed: "failed", + payment_failed: "payment-failed", + payment_pending: "payment-pending", + pending: "pending", + scheduled: "scheduled", + unavailable: "unavailable", + unsupported: "unsupported", +}; +const FleetInstanceMatchCriteria = { + open: "open", +}; +const _InstanceType = { + a1_2xlarge: "a1.2xlarge", + a1_4xlarge: "a1.4xlarge", + a1_large: "a1.large", + a1_medium: "a1.medium", + a1_metal: "a1.metal", + a1_xlarge: "a1.xlarge", + c1_medium: "c1.medium", + c1_xlarge: "c1.xlarge", + c3_2xlarge: "c3.2xlarge", + c3_4xlarge: "c3.4xlarge", + c3_8xlarge: "c3.8xlarge", + c3_large: "c3.large", + c3_xlarge: "c3.xlarge", + c4_2xlarge: "c4.2xlarge", + c4_4xlarge: "c4.4xlarge", + c4_8xlarge: "c4.8xlarge", + c4_large: "c4.large", + c4_xlarge: "c4.xlarge", + c5_12xlarge: "c5.12xlarge", + c5_18xlarge: "c5.18xlarge", + c5_24xlarge: "c5.24xlarge", + c5_2xlarge: "c5.2xlarge", + c5_4xlarge: "c5.4xlarge", + c5_9xlarge: "c5.9xlarge", + c5_large: "c5.large", + c5_metal: "c5.metal", + c5_xlarge: "c5.xlarge", + c5a_12xlarge: "c5a.12xlarge", + c5a_16xlarge: "c5a.16xlarge", + c5a_24xlarge: "c5a.24xlarge", + c5a_2xlarge: "c5a.2xlarge", + c5a_4xlarge: "c5a.4xlarge", + c5a_8xlarge: "c5a.8xlarge", + c5a_large: "c5a.large", + c5a_xlarge: "c5a.xlarge", + c5ad_12xlarge: "c5ad.12xlarge", + c5ad_16xlarge: "c5ad.16xlarge", + c5ad_24xlarge: "c5ad.24xlarge", + c5ad_2xlarge: "c5ad.2xlarge", + c5ad_4xlarge: "c5ad.4xlarge", + c5ad_8xlarge: "c5ad.8xlarge", + c5ad_large: "c5ad.large", + c5ad_xlarge: "c5ad.xlarge", + c5d_12xlarge: "c5d.12xlarge", + c5d_18xlarge: "c5d.18xlarge", + c5d_24xlarge: "c5d.24xlarge", + c5d_2xlarge: "c5d.2xlarge", + c5d_4xlarge: "c5d.4xlarge", + c5d_9xlarge: "c5d.9xlarge", + c5d_large: "c5d.large", + c5d_metal: "c5d.metal", + c5d_xlarge: "c5d.xlarge", + c5n_18xlarge: "c5n.18xlarge", + c5n_2xlarge: "c5n.2xlarge", + c5n_4xlarge: "c5n.4xlarge", + c5n_9xlarge: "c5n.9xlarge", + c5n_large: "c5n.large", + c5n_metal: "c5n.metal", + c5n_xlarge: "c5n.xlarge", + c6a_12xlarge: "c6a.12xlarge", + c6a_16xlarge: "c6a.16xlarge", + c6a_24xlarge: "c6a.24xlarge", + c6a_2xlarge: "c6a.2xlarge", + c6a_32xlarge: "c6a.32xlarge", + c6a_48xlarge: "c6a.48xlarge", + c6a_4xlarge: "c6a.4xlarge", + c6a_8xlarge: "c6a.8xlarge", + c6a_large: "c6a.large", + c6a_metal: "c6a.metal", + c6a_xlarge: "c6a.xlarge", + c6g_12xlarge: "c6g.12xlarge", + c6g_16xlarge: "c6g.16xlarge", + c6g_2xlarge: "c6g.2xlarge", + c6g_4xlarge: "c6g.4xlarge", + c6g_8xlarge: "c6g.8xlarge", + c6g_large: "c6g.large", + c6g_medium: "c6g.medium", + c6g_metal: "c6g.metal", + c6g_xlarge: "c6g.xlarge", + c6gd_12xlarge: "c6gd.12xlarge", + c6gd_16xlarge: "c6gd.16xlarge", + c6gd_2xlarge: "c6gd.2xlarge", + c6gd_4xlarge: "c6gd.4xlarge", + c6gd_8xlarge: "c6gd.8xlarge", + c6gd_large: "c6gd.large", + c6gd_medium: "c6gd.medium", + c6gd_metal: "c6gd.metal", + c6gd_xlarge: "c6gd.xlarge", + c6gn_12xlarge: "c6gn.12xlarge", + c6gn_16xlarge: "c6gn.16xlarge", + c6gn_2xlarge: "c6gn.2xlarge", + c6gn_4xlarge: "c6gn.4xlarge", + c6gn_8xlarge: "c6gn.8xlarge", + c6gn_large: "c6gn.large", + c6gn_medium: "c6gn.medium", + c6gn_xlarge: "c6gn.xlarge", + c6i_12xlarge: "c6i.12xlarge", + c6i_16xlarge: "c6i.16xlarge", + c6i_24xlarge: "c6i.24xlarge", + c6i_2xlarge: "c6i.2xlarge", + c6i_32xlarge: "c6i.32xlarge", + c6i_4xlarge: "c6i.4xlarge", + c6i_8xlarge: "c6i.8xlarge", + c6i_large: "c6i.large", + c6i_metal: "c6i.metal", + c6i_xlarge: "c6i.xlarge", + c6id_12xlarge: "c6id.12xlarge", + c6id_16xlarge: "c6id.16xlarge", + c6id_24xlarge: "c6id.24xlarge", + c6id_2xlarge: "c6id.2xlarge", + c6id_32xlarge: "c6id.32xlarge", + c6id_4xlarge: "c6id.4xlarge", + c6id_8xlarge: "c6id.8xlarge", + c6id_large: "c6id.large", + c6id_metal: "c6id.metal", + c6id_xlarge: "c6id.xlarge", + c6in_12xlarge: "c6in.12xlarge", + c6in_16xlarge: "c6in.16xlarge", + c6in_24xlarge: "c6in.24xlarge", + c6in_2xlarge: "c6in.2xlarge", + c6in_32xlarge: "c6in.32xlarge", + c6in_4xlarge: "c6in.4xlarge", + c6in_8xlarge: "c6in.8xlarge", + c6in_large: "c6in.large", + c6in_metal: "c6in.metal", + c6in_xlarge: "c6in.xlarge", + c7a_12xlarge: "c7a.12xlarge", + c7a_16xlarge: "c7a.16xlarge", + c7a_24xlarge: "c7a.24xlarge", + c7a_2xlarge: "c7a.2xlarge", + c7a_32xlarge: "c7a.32xlarge", + c7a_48xlarge: "c7a.48xlarge", + c7a_4xlarge: "c7a.4xlarge", + c7a_8xlarge: "c7a.8xlarge", + c7a_large: "c7a.large", + c7a_medium: "c7a.medium", + c7a_metal_48xl: "c7a.metal-48xl", + c7a_xlarge: "c7a.xlarge", + c7g_12xlarge: "c7g.12xlarge", + c7g_16xlarge: "c7g.16xlarge", + c7g_2xlarge: "c7g.2xlarge", + c7g_4xlarge: "c7g.4xlarge", + c7g_8xlarge: "c7g.8xlarge", + c7g_large: "c7g.large", + c7g_medium: "c7g.medium", + c7g_metal: "c7g.metal", + c7g_xlarge: "c7g.xlarge", + c7gd_12xlarge: "c7gd.12xlarge", + c7gd_16xlarge: "c7gd.16xlarge", + c7gd_2xlarge: "c7gd.2xlarge", + c7gd_4xlarge: "c7gd.4xlarge", + c7gd_8xlarge: "c7gd.8xlarge", + c7gd_large: "c7gd.large", + c7gd_medium: "c7gd.medium", + c7gd_metal: "c7gd.metal", + c7gd_xlarge: "c7gd.xlarge", + c7gn_12xlarge: "c7gn.12xlarge", + c7gn_16xlarge: "c7gn.16xlarge", + c7gn_2xlarge: "c7gn.2xlarge", + c7gn_4xlarge: "c7gn.4xlarge", + c7gn_8xlarge: "c7gn.8xlarge", + c7gn_large: "c7gn.large", + c7gn_medium: "c7gn.medium", + c7gn_metal: "c7gn.metal", + c7gn_xlarge: "c7gn.xlarge", + c7i_12xlarge: "c7i.12xlarge", + c7i_16xlarge: "c7i.16xlarge", + c7i_24xlarge: "c7i.24xlarge", + c7i_2xlarge: "c7i.2xlarge", + c7i_48xlarge: "c7i.48xlarge", + c7i_4xlarge: "c7i.4xlarge", + c7i_8xlarge: "c7i.8xlarge", + c7i_flex_12xlarge: "c7i-flex.12xlarge", + c7i_flex_16xlarge: "c7i-flex.16xlarge", + c7i_flex_2xlarge: "c7i-flex.2xlarge", + c7i_flex_4xlarge: "c7i-flex.4xlarge", + c7i_flex_8xlarge: "c7i-flex.8xlarge", + c7i_flex_large: "c7i-flex.large", + c7i_flex_xlarge: "c7i-flex.xlarge", + c7i_large: "c7i.large", + c7i_metal_24xl: "c7i.metal-24xl", + c7i_metal_48xl: "c7i.metal-48xl", + c7i_xlarge: "c7i.xlarge", + c8a_12xlarge: "c8a.12xlarge", + c8a_16xlarge: "c8a.16xlarge", + c8a_24xlarge: "c8a.24xlarge", + c8a_2xlarge: "c8a.2xlarge", + c8a_48xlarge: "c8a.48xlarge", + c8a_4xlarge: "c8a.4xlarge", + c8a_8xlarge: "c8a.8xlarge", + c8a_large: "c8a.large", + c8a_medium: "c8a.medium", + c8a_metal_24xl: "c8a.metal-24xl", + c8a_metal_48xl: "c8a.metal-48xl", + c8a_xlarge: "c8a.xlarge", + c8g_12xlarge: "c8g.12xlarge", + c8g_16xlarge: "c8g.16xlarge", + c8g_24xlarge: "c8g.24xlarge", + c8g_2xlarge: "c8g.2xlarge", + c8g_48xlarge: "c8g.48xlarge", + c8g_4xlarge: "c8g.4xlarge", + c8g_8xlarge: "c8g.8xlarge", + c8g_large: "c8g.large", + c8g_medium: "c8g.medium", + c8g_metal_24xl: "c8g.metal-24xl", + c8g_metal_48xl: "c8g.metal-48xl", + c8g_xlarge: "c8g.xlarge", + c8gb_12xlarge: "c8gb.12xlarge", + c8gb_16xlarge: "c8gb.16xlarge", + c8gb_24xlarge: "c8gb.24xlarge", + c8gb_2xlarge: "c8gb.2xlarge", + c8gb_48xlarge: "c8gb.48xlarge", + c8gb_4xlarge: "c8gb.4xlarge", + c8gb_8xlarge: "c8gb.8xlarge", + c8gb_large: "c8gb.large", + c8gb_medium: "c8gb.medium", + c8gb_metal_24xl: "c8gb.metal-24xl", + c8gb_metal_48xl: "c8gb.metal-48xl", + c8gb_xlarge: "c8gb.xlarge", + c8gd_12xlarge: "c8gd.12xlarge", + c8gd_16xlarge: "c8gd.16xlarge", + c8gd_24xlarge: "c8gd.24xlarge", + c8gd_2xlarge: "c8gd.2xlarge", + c8gd_48xlarge: "c8gd.48xlarge", + c8gd_4xlarge: "c8gd.4xlarge", + c8gd_8xlarge: "c8gd.8xlarge", + c8gd_large: "c8gd.large", + c8gd_medium: "c8gd.medium", + c8gd_metal_24xl: "c8gd.metal-24xl", + c8gd_metal_48xl: "c8gd.metal-48xl", + c8gd_xlarge: "c8gd.xlarge", + c8gn_12xlarge: "c8gn.12xlarge", + c8gn_16xlarge: "c8gn.16xlarge", + c8gn_24xlarge: "c8gn.24xlarge", + c8gn_2xlarge: "c8gn.2xlarge", + c8gn_48xlarge: "c8gn.48xlarge", + c8gn_4xlarge: "c8gn.4xlarge", + c8gn_8xlarge: "c8gn.8xlarge", + c8gn_large: "c8gn.large", + c8gn_medium: "c8gn.medium", + c8gn_metal_24xl: "c8gn.metal-24xl", + c8gn_metal_48xl: "c8gn.metal-48xl", + c8gn_xlarge: "c8gn.xlarge", + c8i_12xlarge: "c8i.12xlarge", + c8i_16xlarge: "c8i.16xlarge", + c8i_24xlarge: "c8i.24xlarge", + c8i_2xlarge: "c8i.2xlarge", + c8i_32xlarge: "c8i.32xlarge", + c8i_48xlarge: "c8i.48xlarge", + c8i_4xlarge: "c8i.4xlarge", + c8i_8xlarge: "c8i.8xlarge", + c8i_96xlarge: "c8i.96xlarge", + c8i_flex_12xlarge: "c8i-flex.12xlarge", + c8i_flex_16xlarge: "c8i-flex.16xlarge", + c8i_flex_2xlarge: "c8i-flex.2xlarge", + c8i_flex_4xlarge: "c8i-flex.4xlarge", + c8i_flex_8xlarge: "c8i-flex.8xlarge", + c8i_flex_large: "c8i-flex.large", + c8i_flex_xlarge: "c8i-flex.xlarge", + c8i_large: "c8i.large", + c8i_metal_48xl: "c8i.metal-48xl", + c8i_metal_96xl: "c8i.metal-96xl", + c8i_xlarge: "c8i.xlarge", + c8id_12xlarge: "c8id.12xlarge", + c8id_16xlarge: "c8id.16xlarge", + c8id_24xlarge: "c8id.24xlarge", + c8id_2xlarge: "c8id.2xlarge", + c8id_32xlarge: "c8id.32xlarge", + c8id_48xlarge: "c8id.48xlarge", + c8id_4xlarge: "c8id.4xlarge", + c8id_8xlarge: "c8id.8xlarge", + c8id_96xlarge: "c8id.96xlarge", + c8id_large: "c8id.large", + c8id_metal_48xl: "c8id.metal-48xl", + c8id_metal_96xl: "c8id.metal-96xl", + c8id_xlarge: "c8id.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", + f2_12xlarge: "f2.12xlarge", + f2_48xlarge: "f2.48xlarge", + f2_6xlarge: "f2.6xlarge", + g2_2xlarge: "g2.2xlarge", + g2_8xlarge: "g2.8xlarge", + g3_16xlarge: "g3.16xlarge", + g3_4xlarge: "g3.4xlarge", + g3_8xlarge: "g3.8xlarge", + g3s_xlarge: "g3s.xlarge", + g4ad_16xlarge: "g4ad.16xlarge", + g4ad_2xlarge: "g4ad.2xlarge", + g4ad_4xlarge: "g4ad.4xlarge", + g4ad_8xlarge: "g4ad.8xlarge", + g4ad_xlarge: "g4ad.xlarge", + g4dn_12xlarge: "g4dn.12xlarge", + g4dn_16xlarge: "g4dn.16xlarge", + g4dn_2xlarge: "g4dn.2xlarge", + g4dn_4xlarge: "g4dn.4xlarge", + g4dn_8xlarge: "g4dn.8xlarge", + g4dn_metal: "g4dn.metal", + g4dn_xlarge: "g4dn.xlarge", + g5_12xlarge: "g5.12xlarge", + g5_16xlarge: "g5.16xlarge", + g5_24xlarge: "g5.24xlarge", + g5_2xlarge: "g5.2xlarge", + g5_48xlarge: "g5.48xlarge", + g5_4xlarge: "g5.4xlarge", + g5_8xlarge: "g5.8xlarge", + g5_xlarge: "g5.xlarge", + g5g_16xlarge: "g5g.16xlarge", + g5g_2xlarge: "g5g.2xlarge", + g5g_4xlarge: "g5g.4xlarge", + g5g_8xlarge: "g5g.8xlarge", + g5g_metal: "g5g.metal", + g5g_xlarge: "g5g.xlarge", + g6_12xlarge: "g6.12xlarge", + g6_16xlarge: "g6.16xlarge", + g6_24xlarge: "g6.24xlarge", + g6_2xlarge: "g6.2xlarge", + g6_48xlarge: "g6.48xlarge", + g6_4xlarge: "g6.4xlarge", + g6_8xlarge: "g6.8xlarge", + g6_xlarge: "g6.xlarge", + g6e_12xlarge: "g6e.12xlarge", + g6e_16xlarge: "g6e.16xlarge", + g6e_24xlarge: "g6e.24xlarge", + g6e_2xlarge: "g6e.2xlarge", + g6e_48xlarge: "g6e.48xlarge", + g6e_4xlarge: "g6e.4xlarge", + g6e_8xlarge: "g6e.8xlarge", + g6e_xlarge: "g6e.xlarge", + g6f_2xlarge: "g6f.2xlarge", + g6f_4xlarge: "g6f.4xlarge", + g6f_large: "g6f.large", + g6f_xlarge: "g6f.xlarge", + g7e_12xlarge: "g7e.12xlarge", + g7e_24xlarge: "g7e.24xlarge", + g7e_2xlarge: "g7e.2xlarge", + g7e_48xlarge: "g7e.48xlarge", + g7e_4xlarge: "g7e.4xlarge", + g7e_8xlarge: "g7e.8xlarge", + gr6_4xlarge: "gr6.4xlarge", + gr6_8xlarge: "gr6.8xlarge", + gr6f_4xlarge: "gr6f.4xlarge", + 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", + hpc8a_96xlarge: "hpc8a.96xlarge", + 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", + i7i_12xlarge: "i7i.12xlarge", + i7i_16xlarge: "i7i.16xlarge", + i7i_24xlarge: "i7i.24xlarge", + i7i_2xlarge: "i7i.2xlarge", + i7i_48xlarge: "i7i.48xlarge", + i7i_4xlarge: "i7i.4xlarge", + i7i_8xlarge: "i7i.8xlarge", + i7i_large: "i7i.large", + i7i_metal_24xl: "i7i.metal-24xl", + i7i_metal_48xl: "i7i.metal-48xl", + i7i_xlarge: "i7i.xlarge", + i7ie_12xlarge: "i7ie.12xlarge", + i7ie_18xlarge: "i7ie.18xlarge", + i7ie_24xlarge: "i7ie.24xlarge", + i7ie_2xlarge: "i7ie.2xlarge", + i7ie_3xlarge: "i7ie.3xlarge", + i7ie_48xlarge: "i7ie.48xlarge", + i7ie_6xlarge: "i7ie.6xlarge", + i7ie_large: "i7ie.large", + i7ie_metal_24xl: "i7ie.metal-24xl", + i7ie_metal_48xl: "i7ie.metal-48xl", + i7ie_xlarge: "i7ie.xlarge", + i8g_12xlarge: "i8g.12xlarge", + i8g_16xlarge: "i8g.16xlarge", + i8g_24xlarge: "i8g.24xlarge", + i8g_2xlarge: "i8g.2xlarge", + i8g_48xlarge: "i8g.48xlarge", + i8g_4xlarge: "i8g.4xlarge", + i8g_8xlarge: "i8g.8xlarge", + i8g_large: "i8g.large", + i8g_metal_24xl: "i8g.metal-24xl", + i8g_xlarge: "i8g.xlarge", + i8ge_12xlarge: "i8ge.12xlarge", + i8ge_18xlarge: "i8ge.18xlarge", + i8ge_24xlarge: "i8ge.24xlarge", + i8ge_2xlarge: "i8ge.2xlarge", + i8ge_3xlarge: "i8ge.3xlarge", + i8ge_48xlarge: "i8ge.48xlarge", + i8ge_6xlarge: "i8ge.6xlarge", + i8ge_large: "i8ge.large", + i8ge_metal_24xl: "i8ge.metal-24xl", + i8ge_metal_48xl: "i8ge.metal-48xl", + i8ge_xlarge: "i8ge.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_12xlarge: "m7i-flex.12xlarge", + m7i_flex_16xlarge: "m7i-flex.16xlarge", + 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", + m8a_12xlarge: "m8a.12xlarge", + m8a_16xlarge: "m8a.16xlarge", + m8a_24xlarge: "m8a.24xlarge", + m8a_2xlarge: "m8a.2xlarge", + m8a_48xlarge: "m8a.48xlarge", + m8a_4xlarge: "m8a.4xlarge", + m8a_8xlarge: "m8a.8xlarge", + m8a_large: "m8a.large", + m8a_medium: "m8a.medium", + m8a_metal_24xl: "m8a.metal-24xl", + m8a_metal_48xl: "m8a.metal-48xl", + m8a_xlarge: "m8a.xlarge", + m8azn_12xlarge: "m8azn.12xlarge", + m8azn_24xlarge: "m8azn.24xlarge", + m8azn_3xlarge: "m8azn.3xlarge", + m8azn_6xlarge: "m8azn.6xlarge", + m8azn_large: "m8azn.large", + m8azn_medium: "m8azn.medium", + m8azn_metal_12xl: "m8azn.metal-12xl", + m8azn_metal_24xl: "m8azn.metal-24xl", + m8azn_xlarge: "m8azn.xlarge", + m8g_12xlarge: "m8g.12xlarge", + m8g_16xlarge: "m8g.16xlarge", + m8g_24xlarge: "m8g.24xlarge", + m8g_2xlarge: "m8g.2xlarge", + m8g_48xlarge: "m8g.48xlarge", + m8g_4xlarge: "m8g.4xlarge", + m8g_8xlarge: "m8g.8xlarge", + m8g_large: "m8g.large", + m8g_medium: "m8g.medium", + m8g_metal_24xl: "m8g.metal-24xl", + m8g_metal_48xl: "m8g.metal-48xl", + m8g_xlarge: "m8g.xlarge", + m8gb_12xlarge: "m8gb.12xlarge", + m8gb_16xlarge: "m8gb.16xlarge", + m8gb_24xlarge: "m8gb.24xlarge", + m8gb_2xlarge: "m8gb.2xlarge", + m8gb_48xlarge: "m8gb.48xlarge", + m8gb_4xlarge: "m8gb.4xlarge", + m8gb_8xlarge: "m8gb.8xlarge", + m8gb_large: "m8gb.large", + m8gb_medium: "m8gb.medium", + m8gb_metal_24xl: "m8gb.metal-24xl", + m8gb_metal_48xl: "m8gb.metal-48xl", + m8gb_xlarge: "m8gb.xlarge", + m8gd_12xlarge: "m8gd.12xlarge", + m8gd_16xlarge: "m8gd.16xlarge", + m8gd_24xlarge: "m8gd.24xlarge", + m8gd_2xlarge: "m8gd.2xlarge", + m8gd_48xlarge: "m8gd.48xlarge", + m8gd_4xlarge: "m8gd.4xlarge", + m8gd_8xlarge: "m8gd.8xlarge", + m8gd_large: "m8gd.large", + m8gd_medium: "m8gd.medium", + m8gd_metal_24xl: "m8gd.metal-24xl", + m8gd_metal_48xl: "m8gd.metal-48xl", + m8gd_xlarge: "m8gd.xlarge", + m8gn_12xlarge: "m8gn.12xlarge", + m8gn_16xlarge: "m8gn.16xlarge", + m8gn_24xlarge: "m8gn.24xlarge", + m8gn_2xlarge: "m8gn.2xlarge", + m8gn_48xlarge: "m8gn.48xlarge", + m8gn_4xlarge: "m8gn.4xlarge", + m8gn_8xlarge: "m8gn.8xlarge", + m8gn_large: "m8gn.large", + m8gn_medium: "m8gn.medium", + m8gn_metal_24xl: "m8gn.metal-24xl", + m8gn_metal_48xl: "m8gn.metal-48xl", + m8gn_xlarge: "m8gn.xlarge", + m8i_12xlarge: "m8i.12xlarge", + m8i_16xlarge: "m8i.16xlarge", + m8i_24xlarge: "m8i.24xlarge", + m8i_2xlarge: "m8i.2xlarge", + m8i_32xlarge: "m8i.32xlarge", + m8i_48xlarge: "m8i.48xlarge", + m8i_4xlarge: "m8i.4xlarge", + m8i_8xlarge: "m8i.8xlarge", + m8i_96xlarge: "m8i.96xlarge", + m8i_flex_12xlarge: "m8i-flex.12xlarge", + m8i_flex_16xlarge: "m8i-flex.16xlarge", + m8i_flex_2xlarge: "m8i-flex.2xlarge", + m8i_flex_4xlarge: "m8i-flex.4xlarge", + m8i_flex_8xlarge: "m8i-flex.8xlarge", + m8i_flex_large: "m8i-flex.large", + m8i_flex_xlarge: "m8i-flex.xlarge", + m8i_large: "m8i.large", + m8i_metal_48xl: "m8i.metal-48xl", + m8i_metal_96xl: "m8i.metal-96xl", + m8i_xlarge: "m8i.xlarge", + m8id_12xlarge: "m8id.12xlarge", + m8id_16xlarge: "m8id.16xlarge", + m8id_24xlarge: "m8id.24xlarge", + m8id_2xlarge: "m8id.2xlarge", + m8id_32xlarge: "m8id.32xlarge", + m8id_48xlarge: "m8id.48xlarge", + m8id_4xlarge: "m8id.4xlarge", + m8id_8xlarge: "m8id.8xlarge", + m8id_96xlarge: "m8id.96xlarge", + m8id_large: "m8id.large", + m8id_metal_48xl: "m8id.metal-48xl", + m8id_metal_96xl: "m8id.metal-96xl", + m8id_xlarge: "m8id.xlarge", + mac1_metal: "mac1.metal", + mac2_m1ultra_metal: "mac2-m1ultra.metal", + mac2_m2_metal: "mac2-m2.metal", + mac2_m2pro_metal: "mac2-m2pro.metal", + mac2_metal: "mac2.metal", + mac_m4_metal: "mac-m4.metal", + mac_m4max_metal: "mac-m4max.metal", + mac_m4pro_metal: "mac-m4pro.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", + p5_4xlarge: "p5.4xlarge", + p5e_48xlarge: "p5e.48xlarge", + p5en_48xlarge: "p5en.48xlarge", + p6_b200_48xlarge: "p6-b200.48xlarge", + p6_b300_48xlarge: "p6-b300.48xlarge", + p6e_gb200_36xlarge: "p6e-gb200.36xlarge", + 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", + r8a_12xlarge: "r8a.12xlarge", + r8a_16xlarge: "r8a.16xlarge", + r8a_24xlarge: "r8a.24xlarge", + r8a_2xlarge: "r8a.2xlarge", + r8a_48xlarge: "r8a.48xlarge", + r8a_4xlarge: "r8a.4xlarge", + r8a_8xlarge: "r8a.8xlarge", + r8a_large: "r8a.large", + r8a_medium: "r8a.medium", + r8a_metal_24xl: "r8a.metal-24xl", + r8a_metal_48xl: "r8a.metal-48xl", + r8a_xlarge: "r8a.xlarge", + r8g_12xlarge: "r8g.12xlarge", + r8g_16xlarge: "r8g.16xlarge", + r8g_24xlarge: "r8g.24xlarge", + r8g_2xlarge: "r8g.2xlarge", + r8g_48xlarge: "r8g.48xlarge", + r8g_4xlarge: "r8g.4xlarge", + r8g_8xlarge: "r8g.8xlarge", + r8g_large: "r8g.large", + r8g_medium: "r8g.medium", + r8g_metal_24xl: "r8g.metal-24xl", + r8g_metal_48xl: "r8g.metal-48xl", + r8g_xlarge: "r8g.xlarge", + r8gb_12xlarge: "r8gb.12xlarge", + r8gb_16xlarge: "r8gb.16xlarge", + r8gb_24xlarge: "r8gb.24xlarge", + r8gb_2xlarge: "r8gb.2xlarge", + r8gb_4xlarge: "r8gb.4xlarge", + r8gb_8xlarge: "r8gb.8xlarge", + r8gb_large: "r8gb.large", + r8gb_medium: "r8gb.medium", + r8gb_metal_24xl: "r8gb.metal-24xl", + r8gb_xlarge: "r8gb.xlarge", + r8gd_12xlarge: "r8gd.12xlarge", + r8gd_16xlarge: "r8gd.16xlarge", + r8gd_24xlarge: "r8gd.24xlarge", + r8gd_2xlarge: "r8gd.2xlarge", + r8gd_48xlarge: "r8gd.48xlarge", + r8gd_4xlarge: "r8gd.4xlarge", + r8gd_8xlarge: "r8gd.8xlarge", + r8gd_large: "r8gd.large", + r8gd_medium: "r8gd.medium", + r8gd_metal_24xl: "r8gd.metal-24xl", + r8gd_metal_48xl: "r8gd.metal-48xl", + r8gd_xlarge: "r8gd.xlarge", + r8gn_12xlarge: "r8gn.12xlarge", + r8gn_16xlarge: "r8gn.16xlarge", + r8gn_24xlarge: "r8gn.24xlarge", + r8gn_2xlarge: "r8gn.2xlarge", + r8gn_48xlarge: "r8gn.48xlarge", + r8gn_4xlarge: "r8gn.4xlarge", + r8gn_8xlarge: "r8gn.8xlarge", + r8gn_large: "r8gn.large", + r8gn_medium: "r8gn.medium", + r8gn_metal_24xl: "r8gn.metal-24xl", + r8gn_metal_48xl: "r8gn.metal-48xl", + r8gn_xlarge: "r8gn.xlarge", + r8i_12xlarge: "r8i.12xlarge", + r8i_16xlarge: "r8i.16xlarge", + r8i_24xlarge: "r8i.24xlarge", + r8i_2xlarge: "r8i.2xlarge", + r8i_32xlarge: "r8i.32xlarge", + r8i_48xlarge: "r8i.48xlarge", + r8i_4xlarge: "r8i.4xlarge", + r8i_8xlarge: "r8i.8xlarge", + r8i_96xlarge: "r8i.96xlarge", + r8i_flex_12xlarge: "r8i-flex.12xlarge", + r8i_flex_16xlarge: "r8i-flex.16xlarge", + r8i_flex_2xlarge: "r8i-flex.2xlarge", + r8i_flex_4xlarge: "r8i-flex.4xlarge", + r8i_flex_8xlarge: "r8i-flex.8xlarge", + r8i_flex_large: "r8i-flex.large", + r8i_flex_xlarge: "r8i-flex.xlarge", + r8i_large: "r8i.large", + r8i_metal_48xl: "r8i.metal-48xl", + r8i_metal_96xl: "r8i.metal-96xl", + r8i_xlarge: "r8i.xlarge", + r8id_12xlarge: "r8id.12xlarge", + r8id_16xlarge: "r8id.16xlarge", + r8id_24xlarge: "r8id.24xlarge", + r8id_2xlarge: "r8id.2xlarge", + r8id_32xlarge: "r8id.32xlarge", + r8id_48xlarge: "r8id.48xlarge", + r8id_4xlarge: "r8id.4xlarge", + r8id_8xlarge: "r8id.8xlarge", + r8id_96xlarge: "r8id.96xlarge", + r8id_large: "r8id.large", + r8id_metal_48xl: "r8id.metal-48xl", + r8id_metal_96xl: "r8id.metal-96xl", + r8id_xlarge: "r8id.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", + trn2_3xlarge: "trn2.3xlarge", + trn2_48xlarge: "trn2.48xlarge", + u7i_12tb_224xlarge: "u7i-12tb.224xlarge", + u7i_6tb_112xlarge: "u7i-6tb.112xlarge", + u7i_8tb_112xlarge: "u7i-8tb.112xlarge", + u7ib_12tb_224xlarge: "u7ib-12tb.224xlarge", + u7in_16tb_224xlarge: "u7in-16tb.224xlarge", + u7in_24tb_224xlarge: "u7in-24tb.224xlarge", + u7in_32tb_224xlarge: "u7in-32tb.224xlarge", + u7inh_32tb_480xlarge: "u7inh-32tb.480xlarge", + 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", + x8aedz_12xlarge: "x8aedz.12xlarge", + x8aedz_24xlarge: "x8aedz.24xlarge", + x8aedz_3xlarge: "x8aedz.3xlarge", + x8aedz_6xlarge: "x8aedz.6xlarge", + x8aedz_large: "x8aedz.large", + x8aedz_metal_12xl: "x8aedz.metal-12xl", + x8aedz_metal_24xl: "x8aedz.metal-24xl", + x8aedz_xlarge: "x8aedz.xlarge", + x8g_12xlarge: "x8g.12xlarge", + x8g_16xlarge: "x8g.16xlarge", + x8g_24xlarge: "x8g.24xlarge", + x8g_2xlarge: "x8g.2xlarge", + x8g_48xlarge: "x8g.48xlarge", + x8g_4xlarge: "x8g.4xlarge", + x8g_8xlarge: "x8g.8xlarge", + x8g_large: "x8g.large", + x8g_medium: "x8g.medium", + x8g_metal_24xl: "x8g.metal-24xl", + x8g_metal_48xl: "x8g.metal-48xl", + x8g_xlarge: "x8g.xlarge", + x8i_12xlarge: "x8i.12xlarge", + x8i_16xlarge: "x8i.16xlarge", + x8i_24xlarge: "x8i.24xlarge", + x8i_2xlarge: "x8i.2xlarge", + x8i_32xlarge: "x8i.32xlarge", + x8i_48xlarge: "x8i.48xlarge", + x8i_4xlarge: "x8i.4xlarge", + x8i_64xlarge: "x8i.64xlarge", + x8i_8xlarge: "x8i.8xlarge", + x8i_96xlarge: "x8i.96xlarge", + x8i_large: "x8i.large", + x8i_metal_48xl: "x8i.metal-48xl", + x8i_metal_96xl: "x8i.metal-96xl", + x8i_xlarge: "x8i.xlarge", + z1d_12xlarge: "z1d.12xlarge", + z1d_2xlarge: "z1d.2xlarge", + z1d_3xlarge: "z1d.3xlarge", + z1d_6xlarge: "z1d.6xlarge", + z1d_large: "z1d.large", + z1d_metal: "z1d.metal", + z1d_xlarge: "z1d.xlarge", +}; +const FleetCapacityReservationTenancy = { + default: "default", +}; +const CarrierGatewayState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending", +}; +const ClientVpnAuthenticationType = { + certificate_authentication: "certificate-authentication", + directory_service_authentication: "directory-service-authentication", + federated_authentication: "federated-authentication", +}; +const EndpointIpAddressType = { + dual_stack: "dual-stack", + ipv4: "ipv4", + ipv6: "ipv6", +}; +const SelfServicePortal = { + disabled: "disabled", + enabled: "enabled", +}; +const TrafficIpAddressType = { + dual_stack: "dual-stack", + ipv4: "ipv4", + ipv6: "ipv6", +}; +const TransportProtocol = { + tcp: "tcp", + udp: "udp", +}; +const ClientVpnEndpointStatusCode = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending_associate: "pending-associate", +}; +const ClientVpnRouteStatusCode = { + active: "active", + creating: "creating", + deleting: "deleting", + failed: "failed", +}; +const GatewayType = { + ipsec_1: "ipsec.1", +}; +const BlockPublicAccessMode = { + block_bidirectional: "block-bidirectional", + block_ingress: "block-ingress", + off: "off", +}; +const HostnameType = { + ip_name: "ip-name", + resource_name: "resource-name", +}; +const SubnetState = { + available: "available", + failed: "failed", + failed_insufficient_capacity: "failed-insufficient-capacity", + pending: "pending", + unavailable: "unavailable", +}; +const VpcEncryptionControlMode = { + enforce: "enforce", + monitor: "monitor", +}; +const VpcEncryptionControlExclusionState = { + disabled: "disabled", + disabling: "disabling", + enabled: "enabled", + enabling: "enabling", +}; +const VpcEncryptionControlState = { + available: "available", + creating: "creating", + delete_failed: "delete-failed", + deleted: "deleted", + deleting: "deleting", + enforce_failed: "enforce-failed", + enforce_in_progress: "enforce-in-progress", + monitor_failed: "monitor-failed", + monitor_in_progress: "monitor-in-progress", +}; +const Tenancy = { + dedicated: "dedicated", + default: "default", + host: "host", +}; +const VpcState = { + available: "available", + pending: "pending", +}; +const MacSystemIntegrityProtectionSettingStatus = { + disabled: "disabled", + enabled: "enabled", +}; +const MacModificationTaskState = { + failed: "failed", + inprogress: "in-progress", + pending: "pending", + successful: "successful", +}; +const MacModificationTaskType = { + SIPModification: "sip-modification", + VolumeOwnershipDelegation: "volume-ownership-delegation", +}; +const FleetExcessCapacityTerminationPolicy = { + NO_TERMINATION: "no-termination", + TERMINATION: "termination", +}; +const BareMetal = { + EXCLUDED: "excluded", + INCLUDED: "included", + REQUIRED: "required", +}; +const BurstablePerformance = { + EXCLUDED: "excluded", + INCLUDED: "included", + REQUIRED: "required", +}; +const CpuManufacturer = { + AMAZON_WEB_SERVICES: "amazon-web-services", + AMD: "amd", + APPLE: "apple", + INTEL: "intel", +}; +const InstanceGeneration = { + CURRENT: "current", + PREVIOUS: "previous", +}; +const LocalStorage = { + EXCLUDED: "excluded", + INCLUDED: "included", + REQUIRED: "required", +}; +const LocalStorageType = { + HDD: "hdd", + SSD: "ssd", +}; +const FleetOnDemandAllocationStrategy = { + LOWEST_PRICE: "lowest-price", + PRIORITIZED: "prioritized", +}; +const FleetCapacityReservationUsageStrategy = { + USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first", +}; +const FleetReservationType = { + INTERRUPTIBLE_CAPACITY_RESERVATION: "interruptible-capacity-reservation", +}; +const SpotAllocationStrategy = { + CAPACITY_OPTIMIZED: "capacity-optimized", + CAPACITY_OPTIMIZED_PRIORITIZED: "capacity-optimized-prioritized", + DIVERSIFIED: "diversified", + LOWEST_PRICE: "lowest-price", + PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized", +}; +const SpotInstanceInterruptionBehavior = { + hibernate: "hibernate", + stop: "stop", + terminate: "terminate", +}; +const FleetReplacementStrategy = { + LAUNCH: "launch", + LAUNCH_BEFORE_TERMINATE: "launch-before-terminate", +}; +const DefaultTargetCapacityType = { + CAPACITY_BLOCK: "capacity-block", + ON_DEMAND: "on-demand", + RESERVED_CAPACITY: "reserved-capacity", + SPOT: "spot", +}; +const TargetCapacityUnitType = { + MEMORY_MIB: "memory-mib", + UNITS: "units", + VCPU: "vcpu", +}; +const FleetType = { + INSTANT: "instant", + MAINTAIN: "maintain", + REQUEST: "request", +}; +const InstanceLifecycle = { + INTERRUPTIBLE_CAPACITY_RESERVATION: "interruptible-capacity-reservation", + ON_DEMAND: "on-demand", + SPOT: "spot", +}; +const PlatformValues = { + Windows: "Windows", +}; +const DestinationFileFormat = { + parquet: "parquet", + plain_text: "plain-text", +}; +const LogDestinationType = { + cloud_watch_logs: "cloud-watch-logs", + kinesis_data_firehose: "kinesis-data-firehose", + s3: "s3", +}; +const FlowLogsResourceType = { + NetworkInterface: "NetworkInterface", + RegionalNatGateway: "RegionalNatGateway", + Subnet: "Subnet", + TransitGateway: "TransitGateway", + TransitGatewayAttachment: "TransitGatewayAttachment", + VPC: "VPC", +}; +const TrafficType = { + ACCEPT: "ACCEPT", + ALL: "ALL", + REJECT: "REJECT", +}; +const SnapshotLocationEnum = { + LOCAL: "local", + REGIONAL: "regional", +}; +const IpAddressType = { + dualstack: "dualstack", + ipv4: "ipv4", + ipv6: "ipv6", +}; +const 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", + update_complete: "update-complete", + update_failed: "update-failed", + update_in_progress: "update-in-progress", +}; +const ContainerFormat = { + ova: "ova", +}; +const DiskImageFormat = { + RAW: "RAW", + VHD: "VHD", + VMDK: "VMDK", +}; +const ExportEnvironment = { + citrix: "citrix", + microsoft: "microsoft", + vmware: "vmware", +}; +const ExportTaskState = { + active: "active", + cancelled: "cancelled", + cancelling: "cancelling", + completed: "completed", +}; +const IpamMeteredAccount = { + ipam_owner: "ipam-owner", + resource_owner: "resource-owner", +}; +const IpamTier = { + advanced: "advanced", + free: "free", +}; +const 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", +}; +const IpamExternalResourceVerificationTokenState = { + CREATE_COMPLETE: "create-complete", + CREATE_FAILED: "create-failed", + CREATE_IN_PROGRESS: "create-in-progress", + DELETE_COMPLETE: "delete-complete", + DELETE_FAILED: "delete-failed", + DELETE_IN_PROGRESS: "delete-in-progress", +}; +const TokenState = { + expired: "expired", + valid: "valid", +}; +const IpamPolicyState = { + 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", +}; +const IpamPoolAwsService = { + ec2: "ec2", + global_services: "global-services", +}; +const IpamPoolPublicIpSource = { + amazon: "amazon", + byoip: "byoip", +}; +const IpamPoolSourceResourceType = { + vpc: "vpc", +}; +const IpamScopeType = { + private: "private", + public: "public", +}; +const 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", +}; +const IpamPrefixListResolverRuleConditionOperation = { + equals: "equals", + not_equals: "not-equals", + subnet_of: "subnet-of", +}; +const IpamResourceType = { + anycast_ip_list: "anycast-ip-list", + eip: "eip", + eni: "eni", + ipv6_pool: "ipv6-pool", + public_ipv4_pool: "public-ipv4-pool", + subnet: "subnet", + vpc: "vpc", +}; +const IpamPrefixListResolverRuleType = { + ipam_pool_cidr: "ipam-pool-cidr", + ipam_resource_cidr: "ipam-resource-cidr", + static_cidr: "static-cidr", +}; +const IpamPrefixListResolverVersionCreationStatus = { + failure: "failure", + pending: "pending", + success: "success", +}; +const IpamPrefixListResolverState = { + 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", +}; +const IpamPrefixListResolverTargetState = { + 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", + sync_complete: "sync-complete", + sync_failed: "sync-failed", + sync_in_progress: "sync-in-progress", +}; +const 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", +}; +const IpamScopeExternalAuthorityType = { + infoblox: "infoblox", +}; +const 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", +}; +const KeyFormat = { + pem: "pem", + ppk: "ppk", +}; +const KeyType = { + ed25519: "ed25519", + rsa: "rsa", +}; +const CapacityReservationPreference = { + capacity_reservations_only: "capacity-reservations-only", + none: "none", + open: "open", +}; +const AmdSevSnpSpecification = { + disabled: "disabled", + enabled: "enabled", +}; +const NestedVirtualizationSpecification = { + disabled: "disabled", + enabled: "enabled", +}; +const ShutdownBehavior = { + stop: "stop", + terminate: "terminate", +}; +const MarketType = { + capacity_block: "capacity-block", + interruptible_capacity_reservation: "interruptible-capacity-reservation", + spot: "spot", +}; +const InstanceInterruptionBehavior = { + hibernate: "hibernate", + stop: "stop", + terminate: "terminate", +}; +const SpotInstanceType = { + one_time: "one-time", + persistent: "persistent", +}; +const LaunchTemplateAutoRecoveryState = { + default: "default", + disabled: "disabled", +}; +const LaunchTemplateInstanceMetadataEndpointState = { + disabled: "disabled", + enabled: "enabled", +}; +const LaunchTemplateInstanceMetadataProtocolIpv6 = { + disabled: "disabled", + enabled: "enabled", +}; +const LaunchTemplateHttpTokensState = { + optional: "optional", + required: "required", +}; +const LaunchTemplateInstanceMetadataTagsState = { + disabled: "disabled", + enabled: "enabled", +}; +const InstanceBandwidthWeighting = { + DEFAULT: "default", + EBS_1: "ebs-1", + VPC_1: "vpc-1", +}; +const SecondaryInterfaceType = { + SECONDARY: "secondary", +}; +const LaunchTemplateInstanceMetadataOptionsState = { + applied: "applied", + pending: "pending", +}; +const LocalGatewayRouteState = { + active: "active", + blackhole: "blackhole", + deleted: "deleted", + deleting: "deleting", + pending: "pending", +}; +const LocalGatewayRouteType = { + propagated: "propagated", + static: "static", +}; +const LocalGatewayRouteTableMode = { + coip: "coip", + direct_vpc_routing: "direct-vpc-routing", +}; +const LocalGatewayVirtualInterfaceConfigurationState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending", +}; +const LocalGatewayVirtualInterfaceGroupConfigurationState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + incomplete: "incomplete", + pending: "pending", +}; +const 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", +}; +const AvailabilityMode = { + REGIONAL: "regional", + ZONAL: "zonal", +}; +const ConnectivityType = { + PRIVATE: "private", + PUBLIC: "public", +}; +const NatGatewayApplianceState = { + ATTACHED: "attached", + ATTACHING: "attaching", + ATTACH_FAILED: "attach-failed", + DETACHED: "detached", + DETACHING: "detaching", + DETACH_FAILED: "detach-failed", +}; +const NatGatewayApplianceModifyState = { + COMPLETED: "completed", + FAILED: "failed", + MODIFYING: "modifying", +}; +const NatGatewayApplianceType = { + NETWORK_FIREWALL_PROXY: "network-firewall-proxy", +}; +const AutoProvisionZonesState = { + DISABLED: "disabled", + ENABLED: "enabled", +}; +const AutoScalingIpsState = { + DISABLED: "disabled", + ENABLED: "enabled", +}; +const NatGatewayState = { + AVAILABLE: "available", + DELETED: "deleted", + DELETING: "deleting", + FAILED: "failed", + PENDING: "pending", +}; +const RuleAction = { + allow: "allow", + deny: "deny", +}; +const NetworkInterfaceCreationType = { + branch: "branch", + efa: "efa", + efa_only: "efa-only", + trunk: "trunk", +}; +const NetworkInterfaceType = { + api_gateway_managed: "api_gateway_managed", + aws_codestar_connections_managed: "aws_codestar_connections_managed", + branch: "branch", + efa: "efa", + efa_only: "efa-only", + gateway_load_balancer: "gateway_load_balancer", + gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint", + global_accelerator_managed: "global_accelerator_managed", + interface: "interface", + iot_rules_managed: "iot_rules_managed", + lambda: "lambda", + load_balancer: "load_balancer", + natGateway: "natGateway", + network_load_balancer: "network_load_balancer", + quicksight: "quicksight", + transit_gateway: "transit_gateway", + trunk: "trunk", + vpc_endpoint: "vpc_endpoint", +}; +const NetworkInterfaceStatus = { + associated: "associated", + attaching: "attaching", + available: "available", + detaching: "detaching", + in_use: "in-use", +}; +const InterfacePermissionType = { + EIP_ASSOCIATE: "EIP-ASSOCIATE", + INSTANCE_ATTACH: "INSTANCE-ATTACH", +}; +const NetworkInterfacePermissionStateCode = { + granted: "granted", + pending: "pending", + revoked: "revoked", + revoking: "revoking", +}; +const SpreadLevel = { + host: "host", + rack: "rack", +}; +const PlacementStrategy = { + cluster: "cluster", + partition: "partition", + spread: "spread", +}; +const PlacementGroupState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending", +}; +const ReplaceRootVolumeTaskState = { + failed: "failed", + failed_detached: "failed-detached", + failing: "failing", + in_progress: "in-progress", + pending: "pending", + succeeded: "succeeded", +}; +const RouteServerPersistRoutesAction = { + DISABLE: "disable", + ENABLE: "enable", + RESET: "reset", +}; +const RouteServerPersistRoutesState = { + DISABLED: "disabled", + DISABLING: "disabling", + ENABLED: "enabled", + ENABLING: "enabling", + MODIFYING: "modifying", + RESETTING: "resetting", +}; +const RouteServerState = { + AVAILABLE: "available", + DELETED: "deleted", + DELETING: "deleting", + MODIFYING: "modifying", + PENDING: "pending", +}; +const RouteServerEndpointState = { + AVAILABLE: "available", + DELETED: "deleted", + DELETE_FAILED: "delete-failed", + DELETING: "deleting", + FAILED: "failed", + FAILING: "failing", + PENDING: "pending", +}; +const RouteServerPeerLivenessMode = { + BFD: "bfd", + BGP_KEEPALIVE: "bgp-keepalive", +}; +const RouteServerBfdState = { + DOWN: "down", + UP: "up", +}; +const RouteServerBgpState = { + DOWN: "down", + UP: "up", +}; +const RouteServerPeerState = { + AVAILABLE: "available", + DELETED: "deleted", + DELETING: "deleting", + FAILED: "failed", + FAILING: "failing", + PENDING: "pending", +}; +const RouteOrigin = { + Advertisement: "Advertisement", + CreateRoute: "CreateRoute", + CreateRouteTable: "CreateRouteTable", + EnableVgwRoutePropagation: "EnableVgwRoutePropagation", +}; +const RouteState = { + active: "active", + blackhole: "blackhole", + filtered: "filtered", +}; +const SecondaryNetworkType = { + rdma: "rdma", +}; +const SecondaryNetworkCidrBlockAssociationState = { + associated: "associated", + associating: "associating", + association_failed: "association-failed", + disassociated: "disassociated", + disassociating: "disassociating", + disassociation_failed: "disassociation-failed", +}; +const SecondaryNetworkState = { + 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", +}; +const SecondarySubnetCidrBlockAssociationState = { + associated: "associated", + associating: "associating", + association_failed: "association-failed", + disassociated: "disassociated", + disassociating: "disassociating", + disassociation_failed: "disassociation-failed", +}; +const SecondarySubnetState = { + 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", +}; +const SnapshotState = { + completed: "completed", + error: "error", + pending: "pending", + recoverable: "recoverable", + recovering: "recovering", +}; +const StorageTier = { + archive: "archive", + standard: "standard", +}; +const TransferType = { + standard: "standard", + time_based: "time-based", +}; +const CopyTagsFromSource = { + volume: "volume", +}; +const DatafeedSubscriptionState = { + Active: "Active", + Inactive: "Inactive", +}; +const SubnetCidrReservationType = { + explicit: "explicit", + prefix: "prefix", +}; +const TrafficMirrorRuleAction = { + accept: "accept", + reject: "reject", +}; +const TrafficDirection = { + egress: "egress", + ingress: "ingress", +}; +const TrafficMirrorNetworkService = { + amazon_dns: "amazon-dns", +}; +const TrafficMirrorTargetType = { + gateway_load_balancer_endpoint: "gateway-load-balancer-endpoint", + network_interface: "network-interface", + network_load_balancer: "network-load-balancer", +}; +const AutoAcceptSharedAttachmentsValue = { + disable: "disable", + enable: "enable", +}; +const DefaultRouteTableAssociationValue = { + disable: "disable", + enable: "enable", +}; +const DefaultRouteTablePropagationValue = { + disable: "disable", + enable: "enable", +}; +const MulticastSupportValue = { + disable: "disable", + enable: "enable", +}; +const VpnEcmpSupportValue = { + disable: "disable", + enable: "enable", +}; +const EncryptionStateValue = { + disabled: "disabled", + disabling: "disabling", + enabled: "enabled", + enabling: "enabling", +}; +const TransitGatewayState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + modifying: "modifying", + pending: "pending", +}; +const ProtocolValue = { + gre: "gre", +}; +const BgpStatus = { + down: "down", + up: "up", +}; +const TransitGatewayConnectPeerState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending", +}; +const TransitGatewayMeteringPolicyState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + modifying: "modifying", + pending: "pending", +}; +const TransitGatewayMeteringPayerType = { + destination_attachment_owner: "destination-attachment-owner", + source_attachment_owner: "source-attachment-owner", + transit_gateway_owner: "transit-gateway-owner", +}; +const TransitGatewayMeteringPolicyEntryState = { + available: "available", + deleted: "deleted", +}; +const AutoAcceptSharedAssociationsValue = { + disable: "disable", + enable: "enable", +}; +const Igmpv2SupportValue = { + disable: "disable", + enable: "enable", +}; +const StaticSourcesSupportValue = { + disable: "disable", + enable: "enable", +}; +const TransitGatewayMulticastDomainState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending", +}; +const TransitGatewayPolicyTableState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending", +}; +const TransitGatewayPrefixListReferenceState = { + available: "available", + deleting: "deleting", + modifying: "modifying", + pending: "pending", +}; +const TransitGatewayRouteState = { + active: "active", + blackhole: "blackhole", + deleted: "deleted", + deleting: "deleting", + pending: "pending", +}; +const TransitGatewayRouteType = { + propagated: "propagated", + static: "static", +}; +const TransitGatewayRouteTableState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending", +}; +const TransitGatewayRouteTableAnnouncementDirection = { + incoming: "incoming", + outgoing: "outgoing", +}; +const TransitGatewayRouteTableAnnouncementState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + failed: "failed", + failing: "failing", + pending: "pending", +}; +const VerifiedAccessEndpointAttachmentType = { + vpc: "vpc", +}; +const VerifiedAccessEndpointProtocol = { + http: "http", + https: "https", + tcp: "tcp", +}; +const VerifiedAccessEndpointType = { + cidr: "cidr", + load_balancer: "load-balancer", + network_interface: "network-interface", + rds: "rds", +}; +const VerifiedAccessEndpointStatusCode = { + active: "active", + deleted: "deleted", + deleting: "deleting", + pending: "pending", + updating: "updating", +}; +const VpcEncryptionControlExclusionStateInput = { + disable: "disable", + enable: "enable", +}; +const InternetGatewayExclusionMode = { + allow_bidirectional: "allow-bidirectional", + allow_egress: "allow-egress", +}; +const VpcBlockPublicAccessExclusionState = { + create_complete: "create-complete", + create_failed: "create-failed", + create_in_progress: "create-in-progress", + delete_complete: "delete-complete", + delete_in_progress: "delete-in-progress", + disable_complete: "disable-complete", + disable_in_progress: "disable-in-progress", + update_complete: "update-complete", + update_failed: "update-failed", + update_in_progress: "update-in-progress", +}; +const DnsRecordIpType = { + dualstack: "dualstack", + ipv4: "ipv4", + ipv6: "ipv6", + service_defined: "service-defined", +}; +const VpcEndpointType = { + Gateway: "Gateway", + GatewayLoadBalancer: "GatewayLoadBalancer", + Interface: "Interface", + Resource: "Resource", + ServiceNetwork: "ServiceNetwork", +}; +const State = { + Available: "Available", + Deleted: "Deleted", + Deleting: "Deleting", + Expired: "Expired", + Failed: "Failed", + Partial: "Partial", + Pending: "Pending", + PendingAcceptance: "PendingAcceptance", + Rejected: "Rejected", +}; +const ConnectionNotificationState = { + Disabled: "Disabled", + Enabled: "Enabled", +}; +const ConnectionNotificationType = { + Topic: "Topic", +}; +const PayerResponsibility = { + ServiceOwner: "ServiceOwner", +}; +const DnsNameState = { + Failed: "failed", + PendingVerification: "pendingVerification", + Verified: "verified", +}; +const ServiceState = { + Available: "Available", + Deleted: "Deleted", + Deleting: "Deleting", + Failed: "Failed", + Pending: "Pending", +}; +const ServiceType = { + Gateway: "Gateway", + GatewayLoadBalancer: "GatewayLoadBalancer", + Interface: "Interface", +}; +const ServiceConnectivityType = { + ipv4: "ipv4", + ipv6: "ipv6", +}; +const VpnConcentratorType = { + ipsec_1: "ipsec.1", +}; +const VpnTunnelBandwidth = { + large: "large", + standard: "standard", +}; +const TunnelInsideIpVersion = { + ipv4: "ipv4", + ipv6: "ipv6", +}; +const GatewayAssociationState = { + associated: "associated", + associating: "associating", + disassociating: "disassociating", + not_associated: "not-associated", +}; +const VpnStaticRouteSource = { + Static: "Static", +}; +const VpnState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending", +}; +const TelemetryStatus = { + DOWN: "DOWN", + UP: "UP", +}; +const FleetStateCode = { + ACTIVE: "active", + DELETED: "deleted", + DELETED_RUNNING: "deleted_running", + DELETED_TERMINATING_INSTANCES: "deleted_terminating", + FAILED: "failed", + MODIFYING: "modifying", + SUBMITTED: "submitted", +}; +const DeleteFleetErrorCode = { + FLEET_ID_DOES_NOT_EXIST: "fleetIdDoesNotExist", + FLEET_ID_MALFORMED: "fleetIdMalformed", + FLEET_NOT_IN_DELETABLE_STATE: "fleetNotInDeletableState", + UNEXPECTED_ERROR: "unexpectedError", +}; +const 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", +}; +const 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", +}; +const AsnState = { + deprovisioned: "deprovisioned", + failed_deprovision: "failed-deprovision", + failed_provision: "failed-provision", + pending_deprovision: "pending-deprovision", + pending_provision: "pending-provision", + provisioned: "provisioned", +}; +const IpamPoolCidrFailureCode = { + cidr_not_available: "cidr-not-available", + limit_exceeded: "limit-exceeded", +}; +const 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", +}; +const SnapshotReturnCodes = { + ERROR_CODE_CLIENT_ERROR: "client-error", + ERROR_CODE_INTERNAL_ERROR: "internal-error", + ERROR_MISSING_PERMISSIONS: "missing-permissions", + SUCCESS: "success", + WARN_SKIPPED: "skipped", +}; +const AvailabilityZoneOptInStatus = { + not_opted_in: "not-opted-in", + opt_in_not_required: "opt-in-not-required", + opted_in: "opted-in", +}; +const AvailabilityZoneState = { + available: "available", + constrained: "constrained", + impaired: "impaired", + information: "information", + unavailable: "unavailable", +}; +const MetricType = { + aggregate_latency: "aggregate-latency", +}; +const 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", +}; +const StatisticType = { + p50: "p50", +}; +const CapacityBlockExtensionStatus = { + PAYMENT_FAILED: "payment-failed", + PAYMENT_PENDING: "payment-pending", + PAYMENT_SUCCEEDED: "payment-succeeded", +}; +const CapacityBlockResourceState = { + active: "active", + cancelled: "cancelled", + expired: "expired", + failed: "failed", + payment_failed: "payment-failed", + payment_pending: "payment-pending", + scheduled: "scheduled", + unavailable: "unavailable", +}; +const CapacityBlockInterconnectStatus = { + impaired: "impaired", + insufficient_data: "insufficient-data", + ok: "ok", +}; +const CapacityManagerDataExportStatus = { + DELIVERED: "delivered", + FAILED: "failed", + IN_PROGRESS: "in-progress", + PENDING: "pending", +}; +const CallerRole = { + odcr_owner: "odcr-owner", + unused_reservation_billing_owner: "unused-reservation-billing-owner", +}; +const CapacityReservationBillingRequestStatus = { + accepted: "accepted", + cancelled: "cancelled", + expired: "expired", + pending: "pending", + rejected: "rejected", + revoked: "revoked", +}; +const ClientVpnConnectionStatusCode = { + active: "active", + failed_to_terminate: "failed-to-terminate", + terminated: "terminated", + terminating: "terminating", +}; +const AssociatedNetworkType = { + vpc: "vpc", +}; +const ClientVpnEndpointAttributeStatusCode = { + applied: "applied", + applying: "applying", +}; +const VpnProtocol = { + openvpn: "openvpn", +}; +const ConversionTaskState = { + active: "active", + cancelled: "cancelled", + cancelling: "cancelling", + completed: "completed", +}; +const ReportState = { + cancelled: "cancelled", + complete: "complete", + error: "error", + running: "running", +}; +const ElasticGpuStatus = { + Impaired: "IMPAIRED", + Ok: "OK", +}; +const ElasticGpuState = { + Attached: "ATTACHED", +}; +const FastLaunchResourceType = { + SNAPSHOT: "snapshot", +}; +const FastLaunchStateCode = { + disabling: "disabling", + disabling_failed: "disabling-failed", + enabled: "enabled", + enabled_failed: "enabled-failed", + enabling: "enabling", + enabling_failed: "enabling-failed", +}; +const FastSnapshotRestoreStateCode = { + disabled: "disabled", + disabling: "disabling", + enabled: "enabled", + enabling: "enabling", + optimizing: "optimizing", +}; +const FleetEventType = { + FLEET_CHANGE: "fleet-change", + INSTANCE_CHANGE: "instance-change", + SERVICE_ERROR: "service-error", +}; +const FleetActivityStatus = { + ERROR: "error", + FULFILLED: "fulfilled", + PENDING_FULFILLMENT: "pending_fulfillment", + PENDING_TERMINATION: "pending_termination", +}; +const FpgaImageAttributeName = { + description: "description", + loadPermission: "loadPermission", + name: "name", + productCodes: "productCodes", +}; +const PermissionGroup = { + all: "all", +}; +const ProductCodeValues = { + devpay: "devpay", + marketplace: "marketplace", +}; +const FpgaImageStateCode = { + available: "available", + failed: "failed", + pending: "pending", + unavailable: "unavailable", +}; +const PaymentOption = { + ALL_UPFRONT: "AllUpfront", + NO_UPFRONT: "NoUpfront", + PARTIAL_UPFRONT: "PartialUpfront", +}; +const ReservationState = { + ACTIVE: "active", + CANCELLED: "cancelled", + DELAYED: "delayed", + EXPIRED: "expired", + FAILED: "failed", + PAYMENT_FAILED: "payment-failed", + PAYMENT_PENDING: "payment-pending", + PENDING: "pending", + RETIRED: "retired", + SCHEDULED: "scheduled", + UNSUPPORTED: "unsupported", +}; +const ImageAttributeName = { + blockDeviceMapping: "blockDeviceMapping", + bootMode: "bootMode", + deregistrationProtection: "deregistrationProtection", + description: "description", + imdsSupport: "imdsSupport", + kernel: "kernel", + lastLaunchedTime: "lastLaunchedTime", + launchPermission: "launchPermission", + productCodes: "productCodes", + ramdisk: "ramdisk", + sriovNetSupport: "sriovNetSupport", + tpmSupport: "tpmSupport", + uefiData: "uefiData", +}; +const ImageReferenceResourceType = { + EC2_INSTANCE: "ec2:Instance", + EC2_LAUNCH_TEMPLATE: "ec2:LaunchTemplate", + IMAGE_BUILDER_CONTAINER_RECIPE: "imagebuilder:ContainerRecipe", + IMAGE_BUILDER_IMAGE_RECIPE: "imagebuilder:ImageRecipe", + SSM_PARAMETER: "ssm:Parameter", +}; +const ImageReferenceOptionName = { + STATE_NAME: "state-name", + VERSION_DEPTH: "version-depth", +}; +const ArchitectureValues = { + arm64: "arm64", + arm64_mac: "arm64_mac", + i386: "i386", + x86_64: "x86_64", + x86_64_mac: "x86_64_mac", +}; +const BootModeValues = { + legacy_bios: "legacy-bios", + uefi: "uefi", + uefi_preferred: "uefi-preferred", +}; +const HypervisorType = { + ovm: "ovm", + xen: "xen", +}; +const ImageTypeValues = { + kernel: "kernel", + machine: "machine", + ramdisk: "ramdisk", +}; +const ImdsSupportValues = { + v2_0: "v2.0", +}; +const DeviceType = { + ebs: "ebs", + instance_store: "instance-store", +}; +const ImageState = { + available: "available", + deregistered: "deregistered", + disabled: "disabled", + error: "error", + failed: "failed", + invalid: "invalid", + pending: "pending", + transient: "transient", +}; +const TpmSupportValues = { + v2_0: "v2.0", +}; +const VirtualizationType = { + hvm: "hvm", + paravirtual: "paravirtual", +}; +const 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", +}; +const InstanceStateName = { + pending: "pending", + running: "running", + shutting_down: "shutting-down", + stopped: "stopped", + stopping: "stopping", + terminated: "terminated", +}; +const InstanceBootModeValues = { + legacy_bios: "legacy-bios", + uefi: "uefi", +}; +const InstanceLifecycleType = { + capacity_block: "capacity-block", + interruptible_capacity_reservation: "interruptible-capacity-reservation", + scheduled: "scheduled", + spot: "spot", +}; +const InstanceAutoRecoveryState = { + default: "default", + disabled: "disabled", +}; +const InstanceRebootMigrationState = { + default: "default", + disabled: "disabled", +}; +const InstanceMetadataEndpointState = { + disabled: "disabled", + enabled: "enabled", +}; +const InstanceMetadataProtocolState = { + disabled: "disabled", + enabled: "enabled", +}; +const HttpTokensState = { + optional: "optional", + required: "required", +}; +const InstanceMetadataTagsState = { + disabled: "disabled", + enabled: "enabled", +}; +const InstanceMetadataOptionsState = { + applied: "applied", + pending: "pending", +}; +const MonitoringState = { + disabled: "disabled", + disabling: "disabling", + enabled: "enabled", + pending: "pending", +}; +const SecondaryInterfaceStatus = { + available: "available", + in_use: "in-use", +}; +const HaStatus = { + active: "active", + invalid: "invalid", + processing: "processing", + standby: "standby", +}; +const SqlServerLicenseUsage = { + full: "full", + waived: "waived", +}; +const StatusName = { + reachability: "reachability", +}; +const StatusType = { + failed: "failed", + initializing: "initializing", + insufficient_data: "insufficient-data", + passed: "passed", +}; +const SummaryStatus = { + impaired: "impaired", + initializing: "initializing", + insufficient_data: "insufficient-data", + not_applicable: "not-applicable", + ok: "ok", +}; +const EventCode = { + instance_reboot: "instance-reboot", + instance_retirement: "instance-retirement", + instance_stop: "instance-stop", + system_maintenance: "system-maintenance", + system_reboot: "system-reboot", +}; +const LocationType = { + availability_zone: "availability-zone", + availability_zone_id: "availability-zone-id", + outpost: "outpost", + region: "region", +}; +const AttachmentLimitType = { + DEDICATED: "dedicated", + SHARED: "shared", +}; +const EbsOptimizedSupport = { + default: "default", + supported: "supported", + unsupported: "unsupported", +}; +const EbsEncryptionSupport = { + supported: "supported", + unsupported: "unsupported", +}; +const EbsNvmeSupport = { + REQUIRED: "required", + SUPPORTED: "supported", + UNSUPPORTED: "unsupported", +}; +const InstanceTypeHypervisor = { + NITRO: "nitro", + XEN: "xen", +}; +const DiskType = { + hdd: "hdd", + ssd: "ssd", +}; +const InstanceStorageEncryptionSupport = { + required: "required", + unsupported: "unsupported", +}; +const EphemeralNvmeSupport = { + REQUIRED: "required", + SUPPORTED: "supported", + UNSUPPORTED: "unsupported", +}; +const BandwidthWeightingType = { + DEFAULT: "default", + EBS_1: "ebs-1", + VPC_1: "vpc-1", +}; +const EnaSupport = { + required: "required", + supported: "supported", + unsupported: "unsupported", +}; +const FlexibleEnaQueuesSupport = { + SUPPORTED: "supported", + UNSUPPORTED: "unsupported", +}; +const NitroEnclavesSupport = { + SUPPORTED: "supported", + UNSUPPORTED: "unsupported", +}; +const NitroTpmSupport = { + SUPPORTED: "supported", + UNSUPPORTED: "unsupported", +}; +const PhcSupport = { + SUPPORTED: "supported", + UNSUPPORTED: "unsupported", +}; +const PlacementGroupStrategy = { + cluster: "cluster", + partition: "partition", + spread: "spread", +}; +const ArchitectureType = { + arm64: "arm64", + arm64_mac: "arm64_mac", + i386: "i386", + x86_64: "x86_64", + x86_64_mac: "x86_64_mac", +}; +const SupportedAdditionalProcessorFeature = { + AMD_SEV_SNP: "amd-sev-snp", + NESTED_VIRTUALIZATION: "nested-virtualization", +}; +const RebootMigrationSupport = { + SUPPORTED: "supported", + UNSUPPORTED: "unsupported", +}; +const BootModeType = { + legacy_bios: "legacy-bios", + uefi: "uefi", +}; +const RootDeviceType = { + ebs: "ebs", + instance_store: "instance-store", +}; +const UsageClassType = { + capacity_block: "capacity-block", + on_demand: "on-demand", + spot: "spot", +}; +const LockState = { + compliance: "compliance", + compliance_cooloff: "compliance-cooloff", + expired: "expired", + governance: "governance", +}; +const MoveStatus = { + movingToVpc: "movingToVpc", + restoringToClassic: "restoringToClassic", +}; +const FindingsFound = { + false: "false", + true: "true", + unknown: "unknown", +}; +const AnalysisStatus = { + failed: "failed", + running: "running", + succeeded: "succeeded", +}; +const NetworkInterfaceAttribute = { + associatePublicIpAddress: "associatePublicIpAddress", + attachment: "attachment", + description: "description", + groupSet: "groupSet", + sourceDestCheck: "sourceDestCheck", +}; +const OfferingClassType = { + CONVERTIBLE: "convertible", + STANDARD: "standard", +}; +const 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", +}; +const RIProductDescription = { + Linux_UNIX: "Linux/UNIX", + Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)", + Windows: "Windows", + Windows_Amazon_VPC_: "Windows (Amazon VPC)", +}; +const RecurringChargeFrequency = { + Hourly: "Hourly", +}; +const Scope = { + AVAILABILITY_ZONE: "Availability Zone", + REGIONAL: "Region", +}; +const ReservedInstanceState = { + active: "active", + payment_failed: "payment-failed", + payment_pending: "payment-pending", + queued: "queued", + queued_deleted: "queued-deleted", + retired: "retired", +}; +const ServiceLinkVirtualInterfaceConfigurationState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending", +}; +const SnapshotAttributeName = { + createVolumePermission: "createVolumePermission", + productCodes: "productCodes", +}; +const 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", +}; +const EventType = { + BATCH_CHANGE: "fleetRequestChange", + ERROR: "error", + INFORMATION: "information", + INSTANCE_CHANGE: "instanceChange", +}; +const ExcessCapacityTerminationPolicy = { + DEFAULT: "default", + NO_TERMINATION: "noTermination", +}; +const OnDemandAllocationStrategy = { + LOWEST_PRICE: "lowestPrice", + PRIORITIZED: "prioritized", +}; +const ReplacementStrategy = { + LAUNCH: "launch", + LAUNCH_BEFORE_TERMINATE: "launch-before-terminate", +}; +const SpotInstanceState = { + active: "active", + cancelled: "cancelled", + closed: "closed", + disabled: "disabled", + failed: "failed", + open: "open", +}; +const VerifiedAccessLogDeliveryStatusCode = { + FAILED: "failed", + SUCCESS: "success", +}; +const VolumeAttributeName = { + autoEnableIO: "autoEnableIO", + productCodes: "productCodes", +}; +const VolumeModificationState = { + completed: "completed", + failed: "failed", + modifying: "modifying", + optimizing: "optimizing", +}; +const InitializationType = { + default: "default", + provisioned_rate: "provisioned-rate", + volume_copy: "volume-copy", +}; +const VolumeStatusName = { + initialization_state: "initialization-state", + io_enabled: "io-enabled", + io_performance: "io-performance", +}; +const VolumeStatusInfoStatus = { + impaired: "impaired", + insufficient_data: "insufficient-data", + ok: "ok", + warning: "warning", +}; +const VpcAttributeName = { + enableDnsHostnames: "enableDnsHostnames", + enableDnsSupport: "enableDnsSupport", + enableNetworkAddressUsageMetrics: "enableNetworkAddressUsageMetrics", +}; +const VpcBlockPublicAccessExclusionsAllowed = { + allowed: "allowed", + not_allowed: "not-allowed", +}; +const InternetGatewayBlockMode = { + block_bidirectional: "block-bidirectional", + block_ingress: "block-ingress", + off: "off", +}; +const ManagedBy = { + account: "account", + declarative_policy: "declarative-policy", +}; +const VpcBlockPublicAccessState = { + default_state: "default-state", + update_complete: "update-complete", + update_in_progress: "update-in-progress", +}; +const CapacityManagerStatus = { + DISABLED: "disabled", + ENABLED: "enabled", +}; +const ImageBlockPublicAccessDisabledState = { + unblocked: "unblocked", +}; +const RouteServerPropagationState = { + AVAILABLE: "available", + DELETING: "deleting", + PENDING: "pending", +}; +const SnapshotBlockPublicAccessState = { + block_all_sharing: "block-all-sharing", + block_new_sharing: "block-new-sharing", + unblocked: "unblocked", +}; +const TransitGatewayPropagationState = { + disabled: "disabled", + disabling: "disabling", + enabled: "enabled", + enabling: "enabling", +}; +const ImageBlockPublicAccessEnabledState = { + block_new_sharing: "block-new-sharing", +}; +const ClientCertificateRevocationListStatusCode = { + active: "active", + pending: "pending", +}; +const IngestionStatus = { + INGESTION_COMPLETE: "ingestion-complete", + INGESTION_FAILED: "ingestion-failed", + INITIAL_INGESTION_IN_PROGRESS: "initial-ingestion-in-progress", +}; +const Comparison = { + EQUALS: "equals", + IN: "in", +}; +const FilterByDimension = { + ACCOUNT_ID: "account-id", + ACCOUNT_NAME: "account-name", + AVAILABILITY_ZONE_ID: "availability-zone-id", + INSTANCE_FAMILY: "instance-family", + INSTANCE_PLATFORM: "instance-platform", + INSTANCE_TYPE: "instance-type", + RESERVATION_ARN: "reservation-arn", + RESERVATION_CREATE_TIMESTAMP: "reservation-create-timestamp", + RESERVATION_END_DATE_TYPE: "reservation-end-date-type", + RESERVATION_END_TIMESTAMP: "reservation-end-timestamp", + RESERVATION_ID: "reservation-id", + RESERVATION_INSTANCE_MATCH_CRITERIA: "reservation-instance-match-criteria", + RESERVATION_START_TIMESTAMP: "reservation-start-timestamp", + RESERVATION_STATE: "reservation-state", + RESERVATION_TYPE: "reservation-type", + RESERVATION_UNUSED_FINANCIAL_OWNER: "reservation-unused-financial-owner", + RESOURCE_REGION: "resource-region", + TENANCY: "tenancy", +}; +const GroupBy = { + ACCOUNT_ID: "account-id", + ACCOUNT_NAME: "account-name", + AVAILABILITY_ZONE_ID: "availability-zone-id", + INSTANCE_FAMILY: "instance-family", + INSTANCE_PLATFORM: "instance-platform", + INSTANCE_TYPE: "instance-type", + RESERVATION_ARN: "reservation-arn", + RESERVATION_CREATE_TIMESTAMP: "reservation-create-timestamp", + RESERVATION_END_DATE_TYPE: "reservation-end-date-type", + RESERVATION_END_TIMESTAMP: "reservation-end-timestamp", + RESERVATION_ID: "reservation-id", + RESERVATION_INSTANCE_MATCH_CRITERIA: "reservation-instance-match-criteria", + RESERVATION_START_TIMESTAMP: "reservation-start-timestamp", + RESERVATION_STATE: "reservation-state", + RESERVATION_TYPE: "reservation-type", + RESERVATION_UNUSED_FINANCIAL_OWNER: "reservation-unused-financial-owner", + RESOURCE_REGION: "resource-region", + TENANCY: "tenancy", +}; +const Metric = { + RESERVATION_AVG_COMMITTED_SIZE_INST: "reservation-avg-committed-size-inst", + RESERVATION_AVG_COMMITTED_SIZE_VCPU: "reservation-avg-committed-size-vcpu", + RESERVATION_AVG_FUTURE_SIZE_INST: "reservation-avg-future-size-inst", + RESERVATION_AVG_FUTURE_SIZE_VCPU: "reservation-avg-future-size-vcpu", + RESERVATION_AVG_UTILIZATION_INST: "reservation-avg-utilization-inst", + RESERVATION_AVG_UTILIZATION_VCPU: "reservation-avg-utilization-vcpu", + RESERVATION_MAX_COMMITTED_SIZE_INST: "reservation-max-committed-size-inst", + RESERVATION_MAX_COMMITTED_SIZE_VCPU: "reservation-max-committed-size-vcpu", + RESERVATION_MAX_FUTURE_SIZE_INST: "reservation-max-future-size-inst", + RESERVATION_MAX_FUTURE_SIZE_VCPU: "reservation-max-future-size-vcpu", + RESERVATION_MAX_SIZE_INST: "reservation-max-size-inst", + RESERVATION_MAX_SIZE_VCPU: "reservation-max-size-vcpu", + RESERVATION_MAX_UNUSED_SIZE_INST: "reservation-max-unused-size-inst", + RESERVATION_MAX_UNUSED_SIZE_VCPU: "reservation-max-unused-size-vcpu", + RESERVATION_MAX_UTILIZATION: "reservation-max-utilization", + RESERVATION_MIN_COMMITTED_SIZE_INST: "reservation-min-committed-size-inst", + RESERVATION_MIN_COMMITTED_SIZE_VCPU: "reservation-min-committed-size-vcpu", + RESERVATION_MIN_FUTURE_SIZE_INST: "reservation-min-future-size-inst", + RESERVATION_MIN_FUTURE_SIZE_VCPU: "reservation-min-future-size-vcpu", + RESERVATION_MIN_SIZE_INST: "reservation-min-size-inst", + RESERVATION_MIN_SIZE_VCPU: "reservation-min-size-vcpu", + RESERVATION_MIN_UNUSED_SIZE_INST: "reservation-min-unused-size-inst", + RESERVATION_MIN_UNUSED_SIZE_VCPU: "reservation-min-unused-size-vcpu", + RESERVATION_MIN_UTILIZATION: "reservation-min-utilization", + RESERVATION_TOTAL_CAPACITY_HRS_INST: "reservation-total-capacity-hrs-inst", + RESERVATION_TOTAL_CAPACITY_HRS_VCPU: "reservation-total-capacity-hrs-vcpu", + RESERVATION_TOTAL_COUNT: "reservation-total-count", + RESERVATION_TOTAL_ESTIMATED_COST: "reservation-total-estimated-cost", + RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_INST: "reservation-unused-total-capacity-hrs-inst", + RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_VCPU: "reservation-unused-total-capacity-hrs-vcpu", + RESERVATION_UNUSED_TOTAL_ESTIMATED_COST: "reservation-unused-total-estimated-cost", + RESERVED_TOTAL_ESTIMATED_COST: "reserved-total-estimated-cost", + RESERVED_TOTAL_USAGE_HRS_INST: "reserved-total-usage-hrs-inst", + RESERVED_TOTAL_USAGE_HRS_VCPU: "reserved-total-usage-hrs-vcpu", + SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-avg-run-time-before-interruption-inst", + SPOT_INTERRUPTION_RATE_INST: "spot-interruption-rate-inst", + SPOT_INTERRUPTION_RATE_VCPU: "spot-interruption-rate-vcpu", + SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-max-run-time-before-interruption-inst", + SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST: "spot-min-run-time-before-interruption-inst", + SPOT_TOTAL_COUNT_INST: "spot-total-count-inst", + SPOT_TOTAL_COUNT_VCPU: "spot-total-count-vcpu", + SPOT_TOTAL_ESTIMATED_COST: "spot-total-estimated-cost", + SPOT_TOTAL_INTERRUPTIONS_INST: "spot-total-interruptions-inst", + SPOT_TOTAL_INTERRUPTIONS_VCPU: "spot-total-interruptions-vcpu", + SPOT_TOTAL_USAGE_HRS_INST: "spot-total-usage-hrs-inst", + SPOT_TOTAL_USAGE_HRS_VCPU: "spot-total-usage-hrs-vcpu", + UNRESERVED_TOTAL_ESTIMATED_COST: "unreserved-total-estimated-cost", + UNRESERVED_TOTAL_USAGE_HRS_INST: "unreserved-total-usage-hrs-inst", + UNRESERVED_TOTAL_USAGE_HRS_VCPU: "unreserved-total-usage-hrs-vcpu", +}; +const ReservationEndDateType = { + LIMITED: "limited", + UNLIMITED: "unlimited", +}; +const ReservationType = { + CAPACITY_BLOCK: "capacity-block", + ODCR: "odcr", +}; +const CapacityTenancy = { + DEDICATED: "dedicated", + DEFAULT: "default", +}; +const CapacityManagerMonitoredTagKeyStatus = { + ACTIVATED: "activated", + ACTIVATING: "activating", + DEACTIVATING: "deactivating", + SUSPENDED: "suspended", +}; +const UnlimitedSupportedInstanceFamily = { + t2: "t2", + t3: "t3", + t3a: "t3a", + t4g: "t4g", +}; +const IpamPolicyManagedBy = { + account: "account", + delegated_administrator_for_ipam: "delegated-administrator-for-ipam", +}; +const PartitionLoadFrequency = { + DAILY: "daily", + MONTHLY: "monthly", + NONE: "none", + WEEKLY: "weekly", +}; +const HttpTokensEnforcedState = { + disabled: "disabled", + enabled: "enabled", +}; +const EkPubKeyFormat = { + der: "der", + tpmt: "tpmt", +}; +const EkPubKeyType = { + ECC_SEC_P384: "ecc-sec-p384", + RSA_2048: "rsa-2048", +}; +const IpamComplianceStatus = { + compliant: "compliant", + ignored: "ignored", + noncompliant: "noncompliant", + unmanaged: "unmanaged", +}; +const IpamOverlapStatus = { + ignored: "ignored", + nonoverlapping: "nonoverlapping", + overlapping: "overlapping", +}; +const IpamAddressHistoryResourceType = { + eip: "eip", + instance: "instance", + network_interface: "network-interface", + subnet: "subnet", + vpc: "vpc", +}; +const IpamDiscoveryFailureCode = { + assume_role_failure: "assume-role-failure", + throttling_failure: "throttling-failure", + unauthorized_failure: "unauthorized-failure", +}; +const IpamPublicAddressType = { + AMAZON_OWNED_CONTIG: "amazon-owned-contig", + AMAZON_OWNED_EIP: "amazon-owned-eip", + ANYCAST_IP_LIST_IP: "anycast-ip-list-ip", + BYOIP: "byoip", + EC2_PUBLIC_IP: "ec2-public-ip", + SERVICE_MANAGED_BYOIP: "service-managed-byoip", + SERVICE_MANAGED_IP: "service-managed-ip", +}; +const IpamPublicAddressAssociationStatus = { + ASSOCIATED: "associated", + DISASSOCIATED: "disassociated", +}; +const IpamPublicAddressAwsService = { + AGA: "global-accelerator", + CLOUDFRONT: "cloudfront", + 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", +}; +const IpamResourceCidrIpSource = { + amazon: "amazon", + byoip: "byoip", + none: "none", +}; +const IpamNetworkInterfaceAttachmentStatus = { + available: "available", + in_use: "in-use", +}; +const IpamPolicyResourceType = { + alb: "alb", + eip: "eip", + rds: "rds", + rnat: "rnat", +}; +const IpamManagementState = { + ignored: "ignored", + managed: "managed", + unmanaged: "unmanaged", +}; +const RouteServerRouteInstallationStatus = { + INSTALLED: "installed", + REJECTED: "rejected", +}; +const RouteServerRouteStatus = { + IN_FIB: "in-fib", + IN_RIB: "in-rib", +}; +const LockMode = { + compliance: "compliance", + governance: "governance", +}; +const ModifyAvailabilityZoneOptInStatus = { + not_opted_in: "not-opted-in", + opted_in: "opted-in", +}; +const OperationType = { + add: "add", + remove: "remove", +}; +const UnsuccessfulInstanceCreditSpecificationErrorCode = { + INCORRECT_INSTANCE_STATE: "IncorrectInstanceState", + INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported", + INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound", + INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed", +}; +const DefaultInstanceMetadataEndpointState = { + disabled: "disabled", + enabled: "enabled", + no_preference: "no-preference", +}; +const MetadataDefaultHttpTokensState = { + no_preference: "no-preference", + optional: "optional", + required: "required", +}; +const DefaultHttpTokensEnforcedState = { + disabled: "disabled", + enabled: "enabled", + no_preference: "no-preference", +}; +const DefaultInstanceMetadataTagsState = { + disabled: "disabled", + enabled: "enabled", + no_preference: "no-preference", +}; +const HostTenancy = { + dedicated: "dedicated", + default: "default", + host: "host", +}; +const PublicIpDnsOption = { + public_dual_stack_dns_name: "public-dual-stack-dns-name", + public_ipv4_dns_name: "public-ipv4-dns-name", + public_ipv6_dns_name: "public-ipv6-dns-name", +}; +const TargetStorageTier = { + archive: "archive", +}; +const TrafficMirrorFilterRuleField = { + description: "description", + destination_port_range: "destination-port-range", + protocol: "protocol", + source_port_range: "source-port-range", +}; +const TrafficMirrorSessionField = { + description: "description", + packet_length: "packet-length", + virtual_network_id: "virtual-network-id", +}; +const EncryptionSupportOptionValue = { + disable: "disable", + enable: "enable", +}; +const VpcTenancy = { + default: "default", +}; +const Status = { + inClassic: "InClassic", + inVpc: "InVpc", + moveInProgress: "MoveInProgress", +}; +const VerificationMethod = { + dns_token: "dns-token", + remarks_x509: "remarks-x509", +}; +const 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", +}; +const ReportStatusType = { + impaired: "impaired", + ok: "ok", +}; +const ResetFpgaImageAttributeName = { + loadPermission: "loadPermission", +}; +const ResetImageAttributeName = { + launchPermission: "launchPermission", +}; +const MembershipType = { + igmp: "igmp", + static: "static", +}; + +exports.$Command = smithyClient.Command; +exports.__Client = smithyClient.Client; +exports.EC2ServiceException = EC2ServiceException.EC2ServiceException; +exports.AcceleratorManufacturer = AcceleratorManufacturer; +exports.AcceleratorName = AcceleratorName; +exports.AcceleratorType = AcceleratorType; +exports.AcceptAddressTransferCommand = AcceptAddressTransferCommand; +exports.AcceptCapacityReservationBillingOwnershipCommand = AcceptCapacityReservationBillingOwnershipCommand; +exports.AcceptReservedInstancesExchangeQuoteCommand = AcceptReservedInstancesExchangeQuoteCommand; +exports.AcceptTransitGatewayMulticastDomainAssociationsCommand = AcceptTransitGatewayMulticastDomainAssociationsCommand; +exports.AcceptTransitGatewayPeeringAttachmentCommand = AcceptTransitGatewayPeeringAttachmentCommand; +exports.AcceptTransitGatewayVpcAttachmentCommand = AcceptTransitGatewayVpcAttachmentCommand; +exports.AcceptVpcEndpointConnectionsCommand = AcceptVpcEndpointConnectionsCommand; +exports.AcceptVpcPeeringConnectionCommand = AcceptVpcPeeringConnectionCommand; +exports.AccountAttributeName = AccountAttributeName; +exports.ActivityStatus = ActivityStatus; +exports.AddressAttributeName = AddressAttributeName; +exports.AddressFamily = AddressFamily; +exports.AddressTransferStatus = AddressTransferStatus; +exports.AdvertiseByoipCidrCommand = AdvertiseByoipCidrCommand; +exports.Affinity = Affinity; +exports.AllocateAddressCommand = AllocateAddressCommand; +exports.AllocateHostsCommand = AllocateHostsCommand; +exports.AllocateIpamPoolCidrCommand = AllocateIpamPoolCidrCommand; +exports.AllocationState = AllocationState; +exports.AllocationStrategy = AllocationStrategy; +exports.AllocationType = AllocationType; +exports.AllowedImagesSettingsDisabledState = AllowedImagesSettingsDisabledState; +exports.AllowedImagesSettingsEnabledState = AllowedImagesSettingsEnabledState; +exports.AllowsMultipleInstanceTypes = AllowsMultipleInstanceTypes; +exports.AmdSevSnpSpecification = AmdSevSnpSpecification; +exports.AnalysisStatus = AnalysisStatus; +exports.ApplianceModeSupportValue = ApplianceModeSupportValue; +exports.ApplySecurityGroupsToClientVpnTargetNetworkCommand = ApplySecurityGroupsToClientVpnTargetNetworkCommand; +exports.ArchitectureType = ArchitectureType; +exports.ArchitectureValues = ArchitectureValues; +exports.AsnAssociationState = AsnAssociationState; +exports.AsnState = AsnState; +exports.AssignIpv6AddressesCommand = AssignIpv6AddressesCommand; +exports.AssignPrivateIpAddressesCommand = AssignPrivateIpAddressesCommand; +exports.AssignPrivateNatGatewayAddressCommand = AssignPrivateNatGatewayAddressCommand; +exports.AssociateAddressCommand = AssociateAddressCommand; +exports.AssociateCapacityReservationBillingOwnerCommand = AssociateCapacityReservationBillingOwnerCommand; +exports.AssociateClientVpnTargetNetworkCommand = AssociateClientVpnTargetNetworkCommand; +exports.AssociateDhcpOptionsCommand = AssociateDhcpOptionsCommand; +exports.AssociateEnclaveCertificateIamRoleCommand = AssociateEnclaveCertificateIamRoleCommand; +exports.AssociateIamInstanceProfileCommand = AssociateIamInstanceProfileCommand; +exports.AssociateInstanceEventWindowCommand = AssociateInstanceEventWindowCommand; +exports.AssociateIpamByoasnCommand = AssociateIpamByoasnCommand; +exports.AssociateIpamResourceDiscoveryCommand = AssociateIpamResourceDiscoveryCommand; +exports.AssociateNatGatewayAddressCommand = AssociateNatGatewayAddressCommand; +exports.AssociateRouteServerCommand = AssociateRouteServerCommand; +exports.AssociateRouteTableCommand = AssociateRouteTableCommand; +exports.AssociateSecurityGroupVpcCommand = AssociateSecurityGroupVpcCommand; +exports.AssociateSubnetCidrBlockCommand = AssociateSubnetCidrBlockCommand; +exports.AssociateTransitGatewayMulticastDomainCommand = AssociateTransitGatewayMulticastDomainCommand; +exports.AssociateTransitGatewayPolicyTableCommand = AssociateTransitGatewayPolicyTableCommand; +exports.AssociateTransitGatewayRouteTableCommand = AssociateTransitGatewayRouteTableCommand; +exports.AssociateTrunkInterfaceCommand = AssociateTrunkInterfaceCommand; +exports.AssociateVpcCidrBlockCommand = AssociateVpcCidrBlockCommand; +exports.AssociatedNetworkType = AssociatedNetworkType; +exports.AssociationStatusCode = AssociationStatusCode; +exports.AttachClassicLinkVpcCommand = AttachClassicLinkVpcCommand; +exports.AttachInternetGatewayCommand = AttachInternetGatewayCommand; +exports.AttachNetworkInterfaceCommand = AttachNetworkInterfaceCommand; +exports.AttachVerifiedAccessTrustProviderCommand = AttachVerifiedAccessTrustProviderCommand; +exports.AttachVolumeCommand = AttachVolumeCommand; +exports.AttachVpnGatewayCommand = AttachVpnGatewayCommand; +exports.AttachmentLimitType = AttachmentLimitType; +exports.AttachmentStatus = AttachmentStatus; +exports.AuthorizeClientVpnIngressCommand = AuthorizeClientVpnIngressCommand; +exports.AuthorizeSecurityGroupEgressCommand = AuthorizeSecurityGroupEgressCommand; +exports.AuthorizeSecurityGroupIngressCommand = AuthorizeSecurityGroupIngressCommand; +exports.AutoAcceptSharedAssociationsValue = AutoAcceptSharedAssociationsValue; +exports.AutoAcceptSharedAttachmentsValue = AutoAcceptSharedAttachmentsValue; +exports.AutoPlacement = AutoPlacement; +exports.AutoProvisionZonesState = AutoProvisionZonesState; +exports.AutoScalingIpsState = AutoScalingIpsState; +exports.AvailabilityMode = AvailabilityMode; +exports.AvailabilityZoneOptInStatus = AvailabilityZoneOptInStatus; +exports.AvailabilityZoneState = AvailabilityZoneState; +exports.BandwidthWeightingType = BandwidthWeightingType; +exports.BareMetal = BareMetal; +exports.BatchState = BatchState; +exports.BgpStatus = BgpStatus; +exports.BlockPublicAccessMode = BlockPublicAccessMode; +exports.BootModeType = BootModeType; +exports.BootModeValues = BootModeValues; +exports.BundleInstanceCommand = BundleInstanceCommand; +exports.BundleTaskState = BundleTaskState; +exports.BurstablePerformance = BurstablePerformance; +exports.ByoipCidrState = ByoipCidrState; +exports.CallerRole = CallerRole; +exports.CancelBatchErrorCode = CancelBatchErrorCode; +exports.CancelBundleTaskCommand = CancelBundleTaskCommand; +exports.CancelCapacityReservationCommand = CancelCapacityReservationCommand; +exports.CancelCapacityReservationFleetsCommand = CancelCapacityReservationFleetsCommand; +exports.CancelConversionTaskCommand = CancelConversionTaskCommand; +exports.CancelDeclarativePoliciesReportCommand = CancelDeclarativePoliciesReportCommand; +exports.CancelExportTaskCommand = CancelExportTaskCommand; +exports.CancelImageLaunchPermissionCommand = CancelImageLaunchPermissionCommand; +exports.CancelImportTaskCommand = CancelImportTaskCommand; +exports.CancelReservedInstancesListingCommand = CancelReservedInstancesListingCommand; +exports.CancelSpotFleetRequestsCommand = CancelSpotFleetRequestsCommand; +exports.CancelSpotInstanceRequestState = CancelSpotInstanceRequestState; +exports.CancelSpotInstanceRequestsCommand = CancelSpotInstanceRequestsCommand; +exports.CapacityBlockExtensionStatus = CapacityBlockExtensionStatus; +exports.CapacityBlockInterconnectStatus = CapacityBlockInterconnectStatus; +exports.CapacityBlockResourceState = CapacityBlockResourceState; +exports.CapacityManagerDataExportStatus = CapacityManagerDataExportStatus; +exports.CapacityManagerMonitoredTagKeyStatus = CapacityManagerMonitoredTagKeyStatus; +exports.CapacityManagerStatus = CapacityManagerStatus; +exports.CapacityReservationBillingRequestStatus = CapacityReservationBillingRequestStatus; +exports.CapacityReservationDeliveryPreference = CapacityReservationDeliveryPreference; +exports.CapacityReservationFleetState = CapacityReservationFleetState; +exports.CapacityReservationInstancePlatform = CapacityReservationInstancePlatform; +exports.CapacityReservationPreference = CapacityReservationPreference; +exports.CapacityReservationState = CapacityReservationState; +exports.CapacityReservationTenancy = CapacityReservationTenancy; +exports.CapacityReservationType = CapacityReservationType; +exports.CapacityTenancy = CapacityTenancy; +exports.CarrierGatewayState = CarrierGatewayState; +exports.ClientCertificateRevocationListStatusCode = ClientCertificateRevocationListStatusCode; +exports.ClientVpnAuthenticationType = ClientVpnAuthenticationType; +exports.ClientVpnAuthorizationRuleStatusCode = ClientVpnAuthorizationRuleStatusCode; +exports.ClientVpnConnectionStatusCode = ClientVpnConnectionStatusCode; +exports.ClientVpnEndpointAttributeStatusCode = ClientVpnEndpointAttributeStatusCode; +exports.ClientVpnEndpointStatusCode = ClientVpnEndpointStatusCode; +exports.ClientVpnRouteStatusCode = ClientVpnRouteStatusCode; +exports.Comparison = Comparison; +exports.ConfirmProductInstanceCommand = ConfirmProductInstanceCommand; +exports.ConnectionNotificationState = ConnectionNotificationState; +exports.ConnectionNotificationType = ConnectionNotificationType; +exports.ConnectivityType = ConnectivityType; +exports.ContainerFormat = ContainerFormat; +exports.ConversionTaskState = ConversionTaskState; +exports.CopyFpgaImageCommand = CopyFpgaImageCommand; +exports.CopyImageCommand = CopyImageCommand; +exports.CopySnapshotCommand = CopySnapshotCommand; +exports.CopyTagsFromSource = CopyTagsFromSource; +exports.CopyVolumesCommand = CopyVolumesCommand; +exports.CpuManufacturer = CpuManufacturer; +exports.CreateCapacityManagerDataExportCommand = CreateCapacityManagerDataExportCommand; +exports.CreateCapacityReservationBySplittingCommand = CreateCapacityReservationBySplittingCommand; +exports.CreateCapacityReservationCommand = CreateCapacityReservationCommand; +exports.CreateCapacityReservationFleetCommand = CreateCapacityReservationFleetCommand; +exports.CreateCarrierGatewayCommand = CreateCarrierGatewayCommand; +exports.CreateClientVpnEndpointCommand = CreateClientVpnEndpointCommand; +exports.CreateClientVpnRouteCommand = CreateClientVpnRouteCommand; +exports.CreateCoipCidrCommand = CreateCoipCidrCommand; +exports.CreateCoipPoolCommand = CreateCoipPoolCommand; +exports.CreateCustomerGatewayCommand = CreateCustomerGatewayCommand; +exports.CreateDefaultSubnetCommand = CreateDefaultSubnetCommand; +exports.CreateDefaultVpcCommand = CreateDefaultVpcCommand; +exports.CreateDelegateMacVolumeOwnershipTaskCommand = CreateDelegateMacVolumeOwnershipTaskCommand; +exports.CreateDhcpOptionsCommand = CreateDhcpOptionsCommand; +exports.CreateEgressOnlyInternetGatewayCommand = CreateEgressOnlyInternetGatewayCommand; +exports.CreateFleetCommand = CreateFleetCommand; +exports.CreateFlowLogsCommand = CreateFlowLogsCommand; +exports.CreateFpgaImageCommand = CreateFpgaImageCommand; +exports.CreateImageCommand = CreateImageCommand; +exports.CreateImageUsageReportCommand = CreateImageUsageReportCommand; +exports.CreateInstanceConnectEndpointCommand = CreateInstanceConnectEndpointCommand; +exports.CreateInstanceEventWindowCommand = CreateInstanceEventWindowCommand; +exports.CreateInstanceExportTaskCommand = CreateInstanceExportTaskCommand; +exports.CreateInternetGatewayCommand = CreateInternetGatewayCommand; +exports.CreateInterruptibleCapacityReservationAllocationCommand = CreateInterruptibleCapacityReservationAllocationCommand; +exports.CreateIpamCommand = CreateIpamCommand; +exports.CreateIpamExternalResourceVerificationTokenCommand = CreateIpamExternalResourceVerificationTokenCommand; +exports.CreateIpamPolicyCommand = CreateIpamPolicyCommand; +exports.CreateIpamPoolCommand = CreateIpamPoolCommand; +exports.CreateIpamPrefixListResolverCommand = CreateIpamPrefixListResolverCommand; +exports.CreateIpamPrefixListResolverTargetCommand = CreateIpamPrefixListResolverTargetCommand; +exports.CreateIpamResourceDiscoveryCommand = CreateIpamResourceDiscoveryCommand; +exports.CreateIpamScopeCommand = CreateIpamScopeCommand; +exports.CreateKeyPairCommand = CreateKeyPairCommand; +exports.CreateLaunchTemplateCommand = CreateLaunchTemplateCommand; +exports.CreateLaunchTemplateVersionCommand = CreateLaunchTemplateVersionCommand; +exports.CreateLocalGatewayRouteCommand = CreateLocalGatewayRouteCommand; +exports.CreateLocalGatewayRouteTableCommand = CreateLocalGatewayRouteTableCommand; +exports.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand; +exports.CreateLocalGatewayRouteTableVpcAssociationCommand = CreateLocalGatewayRouteTableVpcAssociationCommand; +exports.CreateLocalGatewayVirtualInterfaceCommand = CreateLocalGatewayVirtualInterfaceCommand; +exports.CreateLocalGatewayVirtualInterfaceGroupCommand = CreateLocalGatewayVirtualInterfaceGroupCommand; +exports.CreateMacSystemIntegrityProtectionModificationTaskCommand = CreateMacSystemIntegrityProtectionModificationTaskCommand; +exports.CreateManagedPrefixListCommand = CreateManagedPrefixListCommand; +exports.CreateNatGatewayCommand = CreateNatGatewayCommand; +exports.CreateNetworkAclCommand = CreateNetworkAclCommand; +exports.CreateNetworkAclEntryCommand = CreateNetworkAclEntryCommand; +exports.CreateNetworkInsightsAccessScopeCommand = CreateNetworkInsightsAccessScopeCommand; +exports.CreateNetworkInsightsPathCommand = CreateNetworkInsightsPathCommand; +exports.CreateNetworkInterfaceCommand = CreateNetworkInterfaceCommand; +exports.CreateNetworkInterfacePermissionCommand = CreateNetworkInterfacePermissionCommand; +exports.CreatePlacementGroupCommand = CreatePlacementGroupCommand; +exports.CreatePublicIpv4PoolCommand = CreatePublicIpv4PoolCommand; +exports.CreateReplaceRootVolumeTaskCommand = CreateReplaceRootVolumeTaskCommand; +exports.CreateReservedInstancesListingCommand = CreateReservedInstancesListingCommand; +exports.CreateRestoreImageTaskCommand = CreateRestoreImageTaskCommand; +exports.CreateRouteCommand = CreateRouteCommand; +exports.CreateRouteServerCommand = CreateRouteServerCommand; +exports.CreateRouteServerEndpointCommand = CreateRouteServerEndpointCommand; +exports.CreateRouteServerPeerCommand = CreateRouteServerPeerCommand; +exports.CreateRouteTableCommand = CreateRouteTableCommand; +exports.CreateSecondaryNetworkCommand = CreateSecondaryNetworkCommand; +exports.CreateSecondarySubnetCommand = CreateSecondarySubnetCommand; +exports.CreateSecurityGroupCommand = CreateSecurityGroupCommand; +exports.CreateSnapshotCommand = CreateSnapshotCommand; +exports.CreateSnapshotsCommand = CreateSnapshotsCommand; +exports.CreateSpotDatafeedSubscriptionCommand = CreateSpotDatafeedSubscriptionCommand; +exports.CreateStoreImageTaskCommand = CreateStoreImageTaskCommand; +exports.CreateSubnetCidrReservationCommand = CreateSubnetCidrReservationCommand; +exports.CreateSubnetCommand = CreateSubnetCommand; +exports.CreateTagsCommand = CreateTagsCommand; +exports.CreateTrafficMirrorFilterCommand = CreateTrafficMirrorFilterCommand; +exports.CreateTrafficMirrorFilterRuleCommand = CreateTrafficMirrorFilterRuleCommand; +exports.CreateTrafficMirrorSessionCommand = CreateTrafficMirrorSessionCommand; +exports.CreateTrafficMirrorTargetCommand = CreateTrafficMirrorTargetCommand; +exports.CreateTransitGatewayCommand = CreateTransitGatewayCommand; +exports.CreateTransitGatewayConnectCommand = CreateTransitGatewayConnectCommand; +exports.CreateTransitGatewayConnectPeerCommand = CreateTransitGatewayConnectPeerCommand; +exports.CreateTransitGatewayMeteringPolicyCommand = CreateTransitGatewayMeteringPolicyCommand; +exports.CreateTransitGatewayMeteringPolicyEntryCommand = CreateTransitGatewayMeteringPolicyEntryCommand; +exports.CreateTransitGatewayMulticastDomainCommand = CreateTransitGatewayMulticastDomainCommand; +exports.CreateTransitGatewayPeeringAttachmentCommand = CreateTransitGatewayPeeringAttachmentCommand; +exports.CreateTransitGatewayPolicyTableCommand = CreateTransitGatewayPolicyTableCommand; +exports.CreateTransitGatewayPrefixListReferenceCommand = CreateTransitGatewayPrefixListReferenceCommand; +exports.CreateTransitGatewayRouteCommand = CreateTransitGatewayRouteCommand; +exports.CreateTransitGatewayRouteTableAnnouncementCommand = CreateTransitGatewayRouteTableAnnouncementCommand; +exports.CreateTransitGatewayRouteTableCommand = CreateTransitGatewayRouteTableCommand; +exports.CreateTransitGatewayVpcAttachmentCommand = CreateTransitGatewayVpcAttachmentCommand; +exports.CreateVerifiedAccessEndpointCommand = CreateVerifiedAccessEndpointCommand; +exports.CreateVerifiedAccessGroupCommand = CreateVerifiedAccessGroupCommand; +exports.CreateVerifiedAccessInstanceCommand = CreateVerifiedAccessInstanceCommand; +exports.CreateVerifiedAccessTrustProviderCommand = CreateVerifiedAccessTrustProviderCommand; +exports.CreateVolumeCommand = CreateVolumeCommand; +exports.CreateVpcBlockPublicAccessExclusionCommand = CreateVpcBlockPublicAccessExclusionCommand; +exports.CreateVpcCommand = CreateVpcCommand; +exports.CreateVpcEncryptionControlCommand = CreateVpcEncryptionControlCommand; +exports.CreateVpcEndpointCommand = CreateVpcEndpointCommand; +exports.CreateVpcEndpointConnectionNotificationCommand = CreateVpcEndpointConnectionNotificationCommand; +exports.CreateVpcEndpointServiceConfigurationCommand = CreateVpcEndpointServiceConfigurationCommand; +exports.CreateVpcPeeringConnectionCommand = CreateVpcPeeringConnectionCommand; +exports.CreateVpnConcentratorCommand = CreateVpnConcentratorCommand; +exports.CreateVpnConnectionCommand = CreateVpnConnectionCommand; +exports.CreateVpnConnectionRouteCommand = CreateVpnConnectionRouteCommand; +exports.CreateVpnGatewayCommand = CreateVpnGatewayCommand; +exports.CurrencyCodeValues = CurrencyCodeValues; +exports.DatafeedSubscriptionState = DatafeedSubscriptionState; +exports.DefaultHttpTokensEnforcedState = DefaultHttpTokensEnforcedState; +exports.DefaultInstanceMetadataEndpointState = DefaultInstanceMetadataEndpointState; +exports.DefaultInstanceMetadataTagsState = DefaultInstanceMetadataTagsState; +exports.DefaultRouteTableAssociationValue = DefaultRouteTableAssociationValue; +exports.DefaultRouteTablePropagationValue = DefaultRouteTablePropagationValue; +exports.DefaultTargetCapacityType = DefaultTargetCapacityType; +exports.DeleteCapacityManagerDataExportCommand = DeleteCapacityManagerDataExportCommand; +exports.DeleteCarrierGatewayCommand = DeleteCarrierGatewayCommand; +exports.DeleteClientVpnEndpointCommand = DeleteClientVpnEndpointCommand; +exports.DeleteClientVpnRouteCommand = DeleteClientVpnRouteCommand; +exports.DeleteCoipCidrCommand = DeleteCoipCidrCommand; +exports.DeleteCoipPoolCommand = DeleteCoipPoolCommand; +exports.DeleteCustomerGatewayCommand = DeleteCustomerGatewayCommand; +exports.DeleteDhcpOptionsCommand = DeleteDhcpOptionsCommand; +exports.DeleteEgressOnlyInternetGatewayCommand = DeleteEgressOnlyInternetGatewayCommand; +exports.DeleteFleetErrorCode = DeleteFleetErrorCode; +exports.DeleteFleetsCommand = DeleteFleetsCommand; +exports.DeleteFlowLogsCommand = DeleteFlowLogsCommand; +exports.DeleteFpgaImageCommand = DeleteFpgaImageCommand; +exports.DeleteImageUsageReportCommand = DeleteImageUsageReportCommand; +exports.DeleteInstanceConnectEndpointCommand = DeleteInstanceConnectEndpointCommand; +exports.DeleteInstanceEventWindowCommand = DeleteInstanceEventWindowCommand; +exports.DeleteInternetGatewayCommand = DeleteInternetGatewayCommand; +exports.DeleteIpamCommand = DeleteIpamCommand; +exports.DeleteIpamExternalResourceVerificationTokenCommand = DeleteIpamExternalResourceVerificationTokenCommand; +exports.DeleteIpamPolicyCommand = DeleteIpamPolicyCommand; +exports.DeleteIpamPoolCommand = DeleteIpamPoolCommand; +exports.DeleteIpamPrefixListResolverCommand = DeleteIpamPrefixListResolverCommand; +exports.DeleteIpamPrefixListResolverTargetCommand = DeleteIpamPrefixListResolverTargetCommand; +exports.DeleteIpamResourceDiscoveryCommand = DeleteIpamResourceDiscoveryCommand; +exports.DeleteIpamScopeCommand = DeleteIpamScopeCommand; +exports.DeleteKeyPairCommand = DeleteKeyPairCommand; +exports.DeleteLaunchTemplateCommand = DeleteLaunchTemplateCommand; +exports.DeleteLaunchTemplateVersionsCommand = DeleteLaunchTemplateVersionsCommand; +exports.DeleteLocalGatewayRouteCommand = DeleteLocalGatewayRouteCommand; +exports.DeleteLocalGatewayRouteTableCommand = DeleteLocalGatewayRouteTableCommand; +exports.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand; +exports.DeleteLocalGatewayRouteTableVpcAssociationCommand = DeleteLocalGatewayRouteTableVpcAssociationCommand; +exports.DeleteLocalGatewayVirtualInterfaceCommand = DeleteLocalGatewayVirtualInterfaceCommand; +exports.DeleteLocalGatewayVirtualInterfaceGroupCommand = DeleteLocalGatewayVirtualInterfaceGroupCommand; +exports.DeleteManagedPrefixListCommand = DeleteManagedPrefixListCommand; +exports.DeleteNatGatewayCommand = DeleteNatGatewayCommand; +exports.DeleteNetworkAclCommand = DeleteNetworkAclCommand; +exports.DeleteNetworkAclEntryCommand = DeleteNetworkAclEntryCommand; +exports.DeleteNetworkInsightsAccessScopeAnalysisCommand = DeleteNetworkInsightsAccessScopeAnalysisCommand; +exports.DeleteNetworkInsightsAccessScopeCommand = DeleteNetworkInsightsAccessScopeCommand; +exports.DeleteNetworkInsightsAnalysisCommand = DeleteNetworkInsightsAnalysisCommand; +exports.DeleteNetworkInsightsPathCommand = DeleteNetworkInsightsPathCommand; +exports.DeleteNetworkInterfaceCommand = DeleteNetworkInterfaceCommand; +exports.DeleteNetworkInterfacePermissionCommand = DeleteNetworkInterfacePermissionCommand; +exports.DeletePlacementGroupCommand = DeletePlacementGroupCommand; +exports.DeletePublicIpv4PoolCommand = DeletePublicIpv4PoolCommand; +exports.DeleteQueuedReservedInstancesCommand = DeleteQueuedReservedInstancesCommand; +exports.DeleteQueuedReservedInstancesErrorCode = DeleteQueuedReservedInstancesErrorCode; +exports.DeleteRouteCommand = DeleteRouteCommand; +exports.DeleteRouteServerCommand = DeleteRouteServerCommand; +exports.DeleteRouteServerEndpointCommand = DeleteRouteServerEndpointCommand; +exports.DeleteRouteServerPeerCommand = DeleteRouteServerPeerCommand; +exports.DeleteRouteTableCommand = DeleteRouteTableCommand; +exports.DeleteSecondaryNetworkCommand = DeleteSecondaryNetworkCommand; +exports.DeleteSecondarySubnetCommand = DeleteSecondarySubnetCommand; +exports.DeleteSecurityGroupCommand = DeleteSecurityGroupCommand; +exports.DeleteSnapshotCommand = DeleteSnapshotCommand; +exports.DeleteSpotDatafeedSubscriptionCommand = DeleteSpotDatafeedSubscriptionCommand; +exports.DeleteSubnetCidrReservationCommand = DeleteSubnetCidrReservationCommand; +exports.DeleteSubnetCommand = DeleteSubnetCommand; +exports.DeleteTagsCommand = DeleteTagsCommand; +exports.DeleteTrafficMirrorFilterCommand = DeleteTrafficMirrorFilterCommand; +exports.DeleteTrafficMirrorFilterRuleCommand = DeleteTrafficMirrorFilterRuleCommand; +exports.DeleteTrafficMirrorSessionCommand = DeleteTrafficMirrorSessionCommand; +exports.DeleteTrafficMirrorTargetCommand = DeleteTrafficMirrorTargetCommand; +exports.DeleteTransitGatewayCommand = DeleteTransitGatewayCommand; +exports.DeleteTransitGatewayConnectCommand = DeleteTransitGatewayConnectCommand; +exports.DeleteTransitGatewayConnectPeerCommand = DeleteTransitGatewayConnectPeerCommand; +exports.DeleteTransitGatewayMeteringPolicyCommand = DeleteTransitGatewayMeteringPolicyCommand; +exports.DeleteTransitGatewayMeteringPolicyEntryCommand = DeleteTransitGatewayMeteringPolicyEntryCommand; +exports.DeleteTransitGatewayMulticastDomainCommand = DeleteTransitGatewayMulticastDomainCommand; +exports.DeleteTransitGatewayPeeringAttachmentCommand = DeleteTransitGatewayPeeringAttachmentCommand; +exports.DeleteTransitGatewayPolicyTableCommand = DeleteTransitGatewayPolicyTableCommand; +exports.DeleteTransitGatewayPrefixListReferenceCommand = DeleteTransitGatewayPrefixListReferenceCommand; +exports.DeleteTransitGatewayRouteCommand = DeleteTransitGatewayRouteCommand; +exports.DeleteTransitGatewayRouteTableAnnouncementCommand = DeleteTransitGatewayRouteTableAnnouncementCommand; +exports.DeleteTransitGatewayRouteTableCommand = DeleteTransitGatewayRouteTableCommand; +exports.DeleteTransitGatewayVpcAttachmentCommand = DeleteTransitGatewayVpcAttachmentCommand; +exports.DeleteVerifiedAccessEndpointCommand = DeleteVerifiedAccessEndpointCommand; +exports.DeleteVerifiedAccessGroupCommand = DeleteVerifiedAccessGroupCommand; +exports.DeleteVerifiedAccessInstanceCommand = DeleteVerifiedAccessInstanceCommand; +exports.DeleteVerifiedAccessTrustProviderCommand = DeleteVerifiedAccessTrustProviderCommand; +exports.DeleteVolumeCommand = DeleteVolumeCommand; +exports.DeleteVpcBlockPublicAccessExclusionCommand = DeleteVpcBlockPublicAccessExclusionCommand; +exports.DeleteVpcCommand = DeleteVpcCommand; +exports.DeleteVpcEncryptionControlCommand = DeleteVpcEncryptionControlCommand; +exports.DeleteVpcEndpointConnectionNotificationsCommand = DeleteVpcEndpointConnectionNotificationsCommand; +exports.DeleteVpcEndpointServiceConfigurationsCommand = DeleteVpcEndpointServiceConfigurationsCommand; +exports.DeleteVpcEndpointsCommand = DeleteVpcEndpointsCommand; +exports.DeleteVpcPeeringConnectionCommand = DeleteVpcPeeringConnectionCommand; +exports.DeleteVpnConcentratorCommand = DeleteVpnConcentratorCommand; +exports.DeleteVpnConnectionCommand = DeleteVpnConnectionCommand; +exports.DeleteVpnConnectionRouteCommand = DeleteVpnConnectionRouteCommand; +exports.DeleteVpnGatewayCommand = DeleteVpnGatewayCommand; +exports.DeprovisionByoipCidrCommand = DeprovisionByoipCidrCommand; +exports.DeprovisionIpamByoasnCommand = DeprovisionIpamByoasnCommand; +exports.DeprovisionIpamPoolCidrCommand = DeprovisionIpamPoolCidrCommand; +exports.DeprovisionPublicIpv4PoolCidrCommand = DeprovisionPublicIpv4PoolCidrCommand; +exports.DeregisterImageCommand = DeregisterImageCommand; +exports.DeregisterInstanceEventNotificationAttributesCommand = DeregisterInstanceEventNotificationAttributesCommand; +exports.DeregisterTransitGatewayMulticastGroupMembersCommand = DeregisterTransitGatewayMulticastGroupMembersCommand; +exports.DeregisterTransitGatewayMulticastGroupSourcesCommand = DeregisterTransitGatewayMulticastGroupSourcesCommand; +exports.DescribeAccountAttributesCommand = DescribeAccountAttributesCommand; +exports.DescribeAddressTransfersCommand = DescribeAddressTransfersCommand; +exports.DescribeAddressesAttributeCommand = DescribeAddressesAttributeCommand; +exports.DescribeAddressesCommand = DescribeAddressesCommand; +exports.DescribeAggregateIdFormatCommand = DescribeAggregateIdFormatCommand; +exports.DescribeAvailabilityZonesCommand = DescribeAvailabilityZonesCommand; +exports.DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = DescribeAwsNetworkPerformanceMetricSubscriptionsCommand; +exports.DescribeBundleTasksCommand = DescribeBundleTasksCommand; +exports.DescribeByoipCidrsCommand = DescribeByoipCidrsCommand; +exports.DescribeCapacityBlockExtensionHistoryCommand = DescribeCapacityBlockExtensionHistoryCommand; +exports.DescribeCapacityBlockExtensionOfferingsCommand = DescribeCapacityBlockExtensionOfferingsCommand; +exports.DescribeCapacityBlockOfferingsCommand = DescribeCapacityBlockOfferingsCommand; +exports.DescribeCapacityBlockStatusCommand = DescribeCapacityBlockStatusCommand; +exports.DescribeCapacityBlocksCommand = DescribeCapacityBlocksCommand; +exports.DescribeCapacityManagerDataExportsCommand = DescribeCapacityManagerDataExportsCommand; +exports.DescribeCapacityReservationBillingRequestsCommand = DescribeCapacityReservationBillingRequestsCommand; +exports.DescribeCapacityReservationFleetsCommand = DescribeCapacityReservationFleetsCommand; +exports.DescribeCapacityReservationTopologyCommand = DescribeCapacityReservationTopologyCommand; +exports.DescribeCapacityReservationsCommand = DescribeCapacityReservationsCommand; +exports.DescribeCarrierGatewaysCommand = DescribeCarrierGatewaysCommand; +exports.DescribeClassicLinkInstancesCommand = DescribeClassicLinkInstancesCommand; +exports.DescribeClientVpnAuthorizationRulesCommand = DescribeClientVpnAuthorizationRulesCommand; +exports.DescribeClientVpnConnectionsCommand = DescribeClientVpnConnectionsCommand; +exports.DescribeClientVpnEndpointsCommand = DescribeClientVpnEndpointsCommand; +exports.DescribeClientVpnRoutesCommand = DescribeClientVpnRoutesCommand; +exports.DescribeClientVpnTargetNetworksCommand = DescribeClientVpnTargetNetworksCommand; +exports.DescribeCoipPoolsCommand = DescribeCoipPoolsCommand; +exports.DescribeConversionTasksCommand = DescribeConversionTasksCommand; +exports.DescribeCustomerGatewaysCommand = DescribeCustomerGatewaysCommand; +exports.DescribeDeclarativePoliciesReportsCommand = DescribeDeclarativePoliciesReportsCommand; +exports.DescribeDhcpOptionsCommand = DescribeDhcpOptionsCommand; +exports.DescribeEgressOnlyInternetGatewaysCommand = DescribeEgressOnlyInternetGatewaysCommand; +exports.DescribeElasticGpusCommand = DescribeElasticGpusCommand; +exports.DescribeExportImageTasksCommand = DescribeExportImageTasksCommand; +exports.DescribeExportTasksCommand = DescribeExportTasksCommand; +exports.DescribeFastLaunchImagesCommand = DescribeFastLaunchImagesCommand; +exports.DescribeFastSnapshotRestoresCommand = DescribeFastSnapshotRestoresCommand; +exports.DescribeFleetHistoryCommand = DescribeFleetHistoryCommand; +exports.DescribeFleetInstancesCommand = DescribeFleetInstancesCommand; +exports.DescribeFleetsCommand = DescribeFleetsCommand; +exports.DescribeFlowLogsCommand = DescribeFlowLogsCommand; +exports.DescribeFpgaImageAttributeCommand = DescribeFpgaImageAttributeCommand; +exports.DescribeFpgaImagesCommand = DescribeFpgaImagesCommand; +exports.DescribeHostReservationOfferingsCommand = DescribeHostReservationOfferingsCommand; +exports.DescribeHostReservationsCommand = DescribeHostReservationsCommand; +exports.DescribeHostsCommand = DescribeHostsCommand; +exports.DescribeIamInstanceProfileAssociationsCommand = DescribeIamInstanceProfileAssociationsCommand; +exports.DescribeIdFormatCommand = DescribeIdFormatCommand; +exports.DescribeIdentityIdFormatCommand = DescribeIdentityIdFormatCommand; +exports.DescribeImageAttributeCommand = DescribeImageAttributeCommand; +exports.DescribeImageReferencesCommand = DescribeImageReferencesCommand; +exports.DescribeImageUsageReportEntriesCommand = DescribeImageUsageReportEntriesCommand; +exports.DescribeImageUsageReportsCommand = DescribeImageUsageReportsCommand; +exports.DescribeImagesCommand = DescribeImagesCommand; +exports.DescribeImportImageTasksCommand = DescribeImportImageTasksCommand; +exports.DescribeImportSnapshotTasksCommand = DescribeImportSnapshotTasksCommand; +exports.DescribeInstanceAttributeCommand = DescribeInstanceAttributeCommand; +exports.DescribeInstanceConnectEndpointsCommand = DescribeInstanceConnectEndpointsCommand; +exports.DescribeInstanceCreditSpecificationsCommand = DescribeInstanceCreditSpecificationsCommand; +exports.DescribeInstanceEventNotificationAttributesCommand = DescribeInstanceEventNotificationAttributesCommand; +exports.DescribeInstanceEventWindowsCommand = DescribeInstanceEventWindowsCommand; +exports.DescribeInstanceImageMetadataCommand = DescribeInstanceImageMetadataCommand; +exports.DescribeInstanceSqlHaHistoryStatesCommand = DescribeInstanceSqlHaHistoryStatesCommand; +exports.DescribeInstanceSqlHaStatesCommand = DescribeInstanceSqlHaStatesCommand; +exports.DescribeInstanceStatusCommand = DescribeInstanceStatusCommand; +exports.DescribeInstanceTopologyCommand = DescribeInstanceTopologyCommand; +exports.DescribeInstanceTypeOfferingsCommand = DescribeInstanceTypeOfferingsCommand; +exports.DescribeInstanceTypesCommand = DescribeInstanceTypesCommand; +exports.DescribeInstancesCommand = DescribeInstancesCommand; +exports.DescribeInternetGatewaysCommand = DescribeInternetGatewaysCommand; +exports.DescribeIpamByoasnCommand = DescribeIpamByoasnCommand; +exports.DescribeIpamExternalResourceVerificationTokensCommand = DescribeIpamExternalResourceVerificationTokensCommand; +exports.DescribeIpamPoliciesCommand = DescribeIpamPoliciesCommand; +exports.DescribeIpamPoolsCommand = DescribeIpamPoolsCommand; +exports.DescribeIpamPrefixListResolverTargetsCommand = DescribeIpamPrefixListResolverTargetsCommand; +exports.DescribeIpamPrefixListResolversCommand = DescribeIpamPrefixListResolversCommand; +exports.DescribeIpamResourceDiscoveriesCommand = DescribeIpamResourceDiscoveriesCommand; +exports.DescribeIpamResourceDiscoveryAssociationsCommand = DescribeIpamResourceDiscoveryAssociationsCommand; +exports.DescribeIpamScopesCommand = DescribeIpamScopesCommand; +exports.DescribeIpamsCommand = DescribeIpamsCommand; +exports.DescribeIpv6PoolsCommand = DescribeIpv6PoolsCommand; +exports.DescribeKeyPairsCommand = DescribeKeyPairsCommand; +exports.DescribeLaunchTemplateVersionsCommand = DescribeLaunchTemplateVersionsCommand; +exports.DescribeLaunchTemplatesCommand = DescribeLaunchTemplatesCommand; +exports.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand; +exports.DescribeLocalGatewayRouteTableVpcAssociationsCommand = DescribeLocalGatewayRouteTableVpcAssociationsCommand; +exports.DescribeLocalGatewayRouteTablesCommand = DescribeLocalGatewayRouteTablesCommand; +exports.DescribeLocalGatewayVirtualInterfaceGroupsCommand = DescribeLocalGatewayVirtualInterfaceGroupsCommand; +exports.DescribeLocalGatewayVirtualInterfacesCommand = DescribeLocalGatewayVirtualInterfacesCommand; +exports.DescribeLocalGatewaysCommand = DescribeLocalGatewaysCommand; +exports.DescribeLockedSnapshotsCommand = DescribeLockedSnapshotsCommand; +exports.DescribeMacHostsCommand = DescribeMacHostsCommand; +exports.DescribeMacModificationTasksCommand = DescribeMacModificationTasksCommand; +exports.DescribeManagedPrefixListsCommand = DescribeManagedPrefixListsCommand; +exports.DescribeMovingAddressesCommand = DescribeMovingAddressesCommand; +exports.DescribeNatGatewaysCommand = DescribeNatGatewaysCommand; +exports.DescribeNetworkAclsCommand = DescribeNetworkAclsCommand; +exports.DescribeNetworkInsightsAccessScopeAnalysesCommand = DescribeNetworkInsightsAccessScopeAnalysesCommand; +exports.DescribeNetworkInsightsAccessScopesCommand = DescribeNetworkInsightsAccessScopesCommand; +exports.DescribeNetworkInsightsAnalysesCommand = DescribeNetworkInsightsAnalysesCommand; +exports.DescribeNetworkInsightsPathsCommand = DescribeNetworkInsightsPathsCommand; +exports.DescribeNetworkInterfaceAttributeCommand = DescribeNetworkInterfaceAttributeCommand; +exports.DescribeNetworkInterfacePermissionsCommand = DescribeNetworkInterfacePermissionsCommand; +exports.DescribeNetworkInterfacesCommand = DescribeNetworkInterfacesCommand; +exports.DescribeOutpostLagsCommand = DescribeOutpostLagsCommand; +exports.DescribePlacementGroupsCommand = DescribePlacementGroupsCommand; +exports.DescribePrefixListsCommand = DescribePrefixListsCommand; +exports.DescribePrincipalIdFormatCommand = DescribePrincipalIdFormatCommand; +exports.DescribePublicIpv4PoolsCommand = DescribePublicIpv4PoolsCommand; +exports.DescribeRegionsCommand = DescribeRegionsCommand; +exports.DescribeReplaceRootVolumeTasksCommand = DescribeReplaceRootVolumeTasksCommand; +exports.DescribeReservedInstancesCommand = DescribeReservedInstancesCommand; +exports.DescribeReservedInstancesListingsCommand = DescribeReservedInstancesListingsCommand; +exports.DescribeReservedInstancesModificationsCommand = DescribeReservedInstancesModificationsCommand; +exports.DescribeReservedInstancesOfferingsCommand = DescribeReservedInstancesOfferingsCommand; +exports.DescribeRouteServerEndpointsCommand = DescribeRouteServerEndpointsCommand; +exports.DescribeRouteServerPeersCommand = DescribeRouteServerPeersCommand; +exports.DescribeRouteServersCommand = DescribeRouteServersCommand; +exports.DescribeRouteTablesCommand = DescribeRouteTablesCommand; +exports.DescribeScheduledInstanceAvailabilityCommand = DescribeScheduledInstanceAvailabilityCommand; +exports.DescribeScheduledInstancesCommand = DescribeScheduledInstancesCommand; +exports.DescribeSecondaryInterfacesCommand = DescribeSecondaryInterfacesCommand; +exports.DescribeSecondaryNetworksCommand = DescribeSecondaryNetworksCommand; +exports.DescribeSecondarySubnetsCommand = DescribeSecondarySubnetsCommand; +exports.DescribeSecurityGroupReferencesCommand = DescribeSecurityGroupReferencesCommand; +exports.DescribeSecurityGroupRulesCommand = DescribeSecurityGroupRulesCommand; +exports.DescribeSecurityGroupVpcAssociationsCommand = DescribeSecurityGroupVpcAssociationsCommand; +exports.DescribeSecurityGroupsCommand = DescribeSecurityGroupsCommand; +exports.DescribeServiceLinkVirtualInterfacesCommand = DescribeServiceLinkVirtualInterfacesCommand; +exports.DescribeSnapshotAttributeCommand = DescribeSnapshotAttributeCommand; +exports.DescribeSnapshotTierStatusCommand = DescribeSnapshotTierStatusCommand; +exports.DescribeSnapshotsCommand = DescribeSnapshotsCommand; +exports.DescribeSpotDatafeedSubscriptionCommand = DescribeSpotDatafeedSubscriptionCommand; +exports.DescribeSpotFleetInstancesCommand = DescribeSpotFleetInstancesCommand; +exports.DescribeSpotFleetRequestHistoryCommand = DescribeSpotFleetRequestHistoryCommand; +exports.DescribeSpotFleetRequestsCommand = DescribeSpotFleetRequestsCommand; +exports.DescribeSpotInstanceRequestsCommand = DescribeSpotInstanceRequestsCommand; +exports.DescribeSpotPriceHistoryCommand = DescribeSpotPriceHistoryCommand; +exports.DescribeStaleSecurityGroupsCommand = DescribeStaleSecurityGroupsCommand; +exports.DescribeStoreImageTasksCommand = DescribeStoreImageTasksCommand; +exports.DescribeSubnetsCommand = DescribeSubnetsCommand; +exports.DescribeTagsCommand = DescribeTagsCommand; +exports.DescribeTrafficMirrorFilterRulesCommand = DescribeTrafficMirrorFilterRulesCommand; +exports.DescribeTrafficMirrorFiltersCommand = DescribeTrafficMirrorFiltersCommand; +exports.DescribeTrafficMirrorSessionsCommand = DescribeTrafficMirrorSessionsCommand; +exports.DescribeTrafficMirrorTargetsCommand = DescribeTrafficMirrorTargetsCommand; +exports.DescribeTransitGatewayAttachmentsCommand = DescribeTransitGatewayAttachmentsCommand; +exports.DescribeTransitGatewayConnectPeersCommand = DescribeTransitGatewayConnectPeersCommand; +exports.DescribeTransitGatewayConnectsCommand = DescribeTransitGatewayConnectsCommand; +exports.DescribeTransitGatewayMeteringPoliciesCommand = DescribeTransitGatewayMeteringPoliciesCommand; +exports.DescribeTransitGatewayMulticastDomainsCommand = DescribeTransitGatewayMulticastDomainsCommand; +exports.DescribeTransitGatewayPeeringAttachmentsCommand = DescribeTransitGatewayPeeringAttachmentsCommand; +exports.DescribeTransitGatewayPolicyTablesCommand = DescribeTransitGatewayPolicyTablesCommand; +exports.DescribeTransitGatewayRouteTableAnnouncementsCommand = DescribeTransitGatewayRouteTableAnnouncementsCommand; +exports.DescribeTransitGatewayRouteTablesCommand = DescribeTransitGatewayRouteTablesCommand; +exports.DescribeTransitGatewayVpcAttachmentsCommand = DescribeTransitGatewayVpcAttachmentsCommand; +exports.DescribeTransitGatewaysCommand = DescribeTransitGatewaysCommand; +exports.DescribeTrunkInterfaceAssociationsCommand = DescribeTrunkInterfaceAssociationsCommand; +exports.DescribeVerifiedAccessEndpointsCommand = DescribeVerifiedAccessEndpointsCommand; +exports.DescribeVerifiedAccessGroupsCommand = DescribeVerifiedAccessGroupsCommand; +exports.DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = DescribeVerifiedAccessInstanceLoggingConfigurationsCommand; +exports.DescribeVerifiedAccessInstancesCommand = DescribeVerifiedAccessInstancesCommand; +exports.DescribeVerifiedAccessTrustProvidersCommand = DescribeVerifiedAccessTrustProvidersCommand; +exports.DescribeVolumeAttributeCommand = DescribeVolumeAttributeCommand; +exports.DescribeVolumeStatusCommand = DescribeVolumeStatusCommand; +exports.DescribeVolumesCommand = DescribeVolumesCommand; +exports.DescribeVolumesModificationsCommand = DescribeVolumesModificationsCommand; +exports.DescribeVpcAttributeCommand = DescribeVpcAttributeCommand; +exports.DescribeVpcBlockPublicAccessExclusionsCommand = DescribeVpcBlockPublicAccessExclusionsCommand; +exports.DescribeVpcBlockPublicAccessOptionsCommand = DescribeVpcBlockPublicAccessOptionsCommand; +exports.DescribeVpcClassicLinkCommand = DescribeVpcClassicLinkCommand; +exports.DescribeVpcClassicLinkDnsSupportCommand = DescribeVpcClassicLinkDnsSupportCommand; +exports.DescribeVpcEncryptionControlsCommand = DescribeVpcEncryptionControlsCommand; +exports.DescribeVpcEndpointAssociationsCommand = DescribeVpcEndpointAssociationsCommand; +exports.DescribeVpcEndpointConnectionNotificationsCommand = DescribeVpcEndpointConnectionNotificationsCommand; +exports.DescribeVpcEndpointConnectionsCommand = DescribeVpcEndpointConnectionsCommand; +exports.DescribeVpcEndpointServiceConfigurationsCommand = DescribeVpcEndpointServiceConfigurationsCommand; +exports.DescribeVpcEndpointServicePermissionsCommand = DescribeVpcEndpointServicePermissionsCommand; +exports.DescribeVpcEndpointServicesCommand = DescribeVpcEndpointServicesCommand; +exports.DescribeVpcEndpointsCommand = DescribeVpcEndpointsCommand; +exports.DescribeVpcPeeringConnectionsCommand = DescribeVpcPeeringConnectionsCommand; +exports.DescribeVpcsCommand = DescribeVpcsCommand; +exports.DescribeVpnConcentratorsCommand = DescribeVpnConcentratorsCommand; +exports.DescribeVpnConnectionsCommand = DescribeVpnConnectionsCommand; +exports.DescribeVpnGatewaysCommand = DescribeVpnGatewaysCommand; +exports.DestinationFileFormat = DestinationFileFormat; +exports.DetachClassicLinkVpcCommand = DetachClassicLinkVpcCommand; +exports.DetachInternetGatewayCommand = DetachInternetGatewayCommand; +exports.DetachNetworkInterfaceCommand = DetachNetworkInterfaceCommand; +exports.DetachVerifiedAccessTrustProviderCommand = DetachVerifiedAccessTrustProviderCommand; +exports.DetachVolumeCommand = DetachVolumeCommand; +exports.DetachVpnGatewayCommand = DetachVpnGatewayCommand; +exports.DeviceTrustProviderType = DeviceTrustProviderType; +exports.DeviceType = DeviceType; +exports.DisableAddressTransferCommand = DisableAddressTransferCommand; +exports.DisableAllowedImagesSettingsCommand = DisableAllowedImagesSettingsCommand; +exports.DisableAwsNetworkPerformanceMetricSubscriptionCommand = DisableAwsNetworkPerformanceMetricSubscriptionCommand; +exports.DisableCapacityManagerCommand = DisableCapacityManagerCommand; +exports.DisableEbsEncryptionByDefaultCommand = DisableEbsEncryptionByDefaultCommand; +exports.DisableFastLaunchCommand = DisableFastLaunchCommand; +exports.DisableFastSnapshotRestoresCommand = DisableFastSnapshotRestoresCommand; +exports.DisableImageBlockPublicAccessCommand = DisableImageBlockPublicAccessCommand; +exports.DisableImageCommand = DisableImageCommand; +exports.DisableImageDeprecationCommand = DisableImageDeprecationCommand; +exports.DisableImageDeregistrationProtectionCommand = DisableImageDeregistrationProtectionCommand; +exports.DisableInstanceSqlHaStandbyDetectionsCommand = DisableInstanceSqlHaStandbyDetectionsCommand; +exports.DisableIpamOrganizationAdminAccountCommand = DisableIpamOrganizationAdminAccountCommand; +exports.DisableIpamPolicyCommand = DisableIpamPolicyCommand; +exports.DisableRouteServerPropagationCommand = DisableRouteServerPropagationCommand; +exports.DisableSerialConsoleAccessCommand = DisableSerialConsoleAccessCommand; +exports.DisableSnapshotBlockPublicAccessCommand = DisableSnapshotBlockPublicAccessCommand; +exports.DisableTransitGatewayRouteTablePropagationCommand = DisableTransitGatewayRouteTablePropagationCommand; +exports.DisableVgwRoutePropagationCommand = DisableVgwRoutePropagationCommand; +exports.DisableVpcClassicLinkCommand = DisableVpcClassicLinkCommand; +exports.DisableVpcClassicLinkDnsSupportCommand = DisableVpcClassicLinkDnsSupportCommand; +exports.DisassociateAddressCommand = DisassociateAddressCommand; +exports.DisassociateCapacityReservationBillingOwnerCommand = DisassociateCapacityReservationBillingOwnerCommand; +exports.DisassociateClientVpnTargetNetworkCommand = DisassociateClientVpnTargetNetworkCommand; +exports.DisassociateEnclaveCertificateIamRoleCommand = DisassociateEnclaveCertificateIamRoleCommand; +exports.DisassociateIamInstanceProfileCommand = DisassociateIamInstanceProfileCommand; +exports.DisassociateInstanceEventWindowCommand = DisassociateInstanceEventWindowCommand; +exports.DisassociateIpamByoasnCommand = DisassociateIpamByoasnCommand; +exports.DisassociateIpamResourceDiscoveryCommand = DisassociateIpamResourceDiscoveryCommand; +exports.DisassociateNatGatewayAddressCommand = DisassociateNatGatewayAddressCommand; +exports.DisassociateRouteServerCommand = DisassociateRouteServerCommand; +exports.DisassociateRouteTableCommand = DisassociateRouteTableCommand; +exports.DisassociateSecurityGroupVpcCommand = DisassociateSecurityGroupVpcCommand; +exports.DisassociateSubnetCidrBlockCommand = DisassociateSubnetCidrBlockCommand; +exports.DisassociateTransitGatewayMulticastDomainCommand = DisassociateTransitGatewayMulticastDomainCommand; +exports.DisassociateTransitGatewayPolicyTableCommand = DisassociateTransitGatewayPolicyTableCommand; +exports.DisassociateTransitGatewayRouteTableCommand = DisassociateTransitGatewayRouteTableCommand; +exports.DisassociateTrunkInterfaceCommand = DisassociateTrunkInterfaceCommand; +exports.DisassociateVpcCidrBlockCommand = DisassociateVpcCidrBlockCommand; +exports.DiskImageFormat = DiskImageFormat; +exports.DiskType = DiskType; +exports.DnsNameState = DnsNameState; +exports.DnsRecordIpType = DnsRecordIpType; +exports.DnsSupportValue = DnsSupportValue; +exports.DomainType = DomainType; +exports.DynamicRoutingValue = DynamicRoutingValue; +exports.EC2 = EC2; +exports.EC2Client = EC2Client; +exports.EbsEncryptionSupport = EbsEncryptionSupport; +exports.EbsNvmeSupport = EbsNvmeSupport; +exports.EbsOptimizedSupport = EbsOptimizedSupport; +exports.Ec2InstanceConnectEndpointState = Ec2InstanceConnectEndpointState; +exports.EkPubKeyFormat = EkPubKeyFormat; +exports.EkPubKeyType = EkPubKeyType; +exports.ElasticGpuState = ElasticGpuState; +exports.ElasticGpuStatus = ElasticGpuStatus; +exports.EnaSupport = EnaSupport; +exports.EnableAddressTransferCommand = EnableAddressTransferCommand; +exports.EnableAllowedImagesSettingsCommand = EnableAllowedImagesSettingsCommand; +exports.EnableAwsNetworkPerformanceMetricSubscriptionCommand = EnableAwsNetworkPerformanceMetricSubscriptionCommand; +exports.EnableCapacityManagerCommand = EnableCapacityManagerCommand; +exports.EnableEbsEncryptionByDefaultCommand = EnableEbsEncryptionByDefaultCommand; +exports.EnableFastLaunchCommand = EnableFastLaunchCommand; +exports.EnableFastSnapshotRestoresCommand = EnableFastSnapshotRestoresCommand; +exports.EnableImageBlockPublicAccessCommand = EnableImageBlockPublicAccessCommand; +exports.EnableImageCommand = EnableImageCommand; +exports.EnableImageDeprecationCommand = EnableImageDeprecationCommand; +exports.EnableImageDeregistrationProtectionCommand = EnableImageDeregistrationProtectionCommand; +exports.EnableInstanceSqlHaStandbyDetectionsCommand = EnableInstanceSqlHaStandbyDetectionsCommand; +exports.EnableIpamOrganizationAdminAccountCommand = EnableIpamOrganizationAdminAccountCommand; +exports.EnableIpamPolicyCommand = EnableIpamPolicyCommand; +exports.EnableReachabilityAnalyzerOrganizationSharingCommand = EnableReachabilityAnalyzerOrganizationSharingCommand; +exports.EnableRouteServerPropagationCommand = EnableRouteServerPropagationCommand; +exports.EnableSerialConsoleAccessCommand = EnableSerialConsoleAccessCommand; +exports.EnableSnapshotBlockPublicAccessCommand = EnableSnapshotBlockPublicAccessCommand; +exports.EnableTransitGatewayRouteTablePropagationCommand = EnableTransitGatewayRouteTablePropagationCommand; +exports.EnableVgwRoutePropagationCommand = EnableVgwRoutePropagationCommand; +exports.EnableVolumeIOCommand = EnableVolumeIOCommand; +exports.EnableVpcClassicLinkCommand = EnableVpcClassicLinkCommand; +exports.EnableVpcClassicLinkDnsSupportCommand = EnableVpcClassicLinkDnsSupportCommand; +exports.EncryptionStateValue = EncryptionStateValue; +exports.EncryptionSupportOptionValue = EncryptionSupportOptionValue; +exports.EndDateType = EndDateType; +exports.EndpointIpAddressType = EndpointIpAddressType; +exports.EphemeralNvmeSupport = EphemeralNvmeSupport; +exports.EventCode = EventCode; +exports.EventType = EventType; +exports.ExcessCapacityTerminationPolicy = ExcessCapacityTerminationPolicy; +exports.ExportClientVpnClientCertificateRevocationListCommand = ExportClientVpnClientCertificateRevocationListCommand; +exports.ExportClientVpnClientConfigurationCommand = ExportClientVpnClientConfigurationCommand; +exports.ExportEnvironment = ExportEnvironment; +exports.ExportImageCommand = ExportImageCommand; +exports.ExportTaskState = ExportTaskState; +exports.ExportTransitGatewayRoutesCommand = ExportTransitGatewayRoutesCommand; +exports.ExportVerifiedAccessInstanceClientConfigurationCommand = ExportVerifiedAccessInstanceClientConfigurationCommand; +exports.FastLaunchResourceType = FastLaunchResourceType; +exports.FastLaunchStateCode = FastLaunchStateCode; +exports.FastSnapshotRestoreStateCode = FastSnapshotRestoreStateCode; +exports.FilterByDimension = FilterByDimension; +exports.FindingsFound = FindingsFound; +exports.FleetActivityStatus = FleetActivityStatus; +exports.FleetCapacityReservationTenancy = FleetCapacityReservationTenancy; +exports.FleetCapacityReservationUsageStrategy = FleetCapacityReservationUsageStrategy; +exports.FleetEventType = FleetEventType; +exports.FleetExcessCapacityTerminationPolicy = FleetExcessCapacityTerminationPolicy; +exports.FleetInstanceMatchCriteria = FleetInstanceMatchCriteria; +exports.FleetOnDemandAllocationStrategy = FleetOnDemandAllocationStrategy; +exports.FleetReplacementStrategy = FleetReplacementStrategy; +exports.FleetReservationType = FleetReservationType; +exports.FleetStateCode = FleetStateCode; +exports.FleetType = FleetType; +exports.FlexibleEnaQueuesSupport = FlexibleEnaQueuesSupport; +exports.FlowLogsResourceType = FlowLogsResourceType; +exports.FpgaImageAttributeName = FpgaImageAttributeName; +exports.FpgaImageStateCode = FpgaImageStateCode; +exports.GatewayAssociationState = GatewayAssociationState; +exports.GatewayType = GatewayType; +exports.GetActiveVpnTunnelStatusCommand = GetActiveVpnTunnelStatusCommand; +exports.GetAllowedImagesSettingsCommand = GetAllowedImagesSettingsCommand; +exports.GetAssociatedEnclaveCertificateIamRolesCommand = GetAssociatedEnclaveCertificateIamRolesCommand; +exports.GetAssociatedIpv6PoolCidrsCommand = GetAssociatedIpv6PoolCidrsCommand; +exports.GetAwsNetworkPerformanceDataCommand = GetAwsNetworkPerformanceDataCommand; +exports.GetCapacityManagerAttributesCommand = GetCapacityManagerAttributesCommand; +exports.GetCapacityManagerMetricDataCommand = GetCapacityManagerMetricDataCommand; +exports.GetCapacityManagerMetricDimensionsCommand = GetCapacityManagerMetricDimensionsCommand; +exports.GetCapacityManagerMonitoredTagKeysCommand = GetCapacityManagerMonitoredTagKeysCommand; +exports.GetCapacityReservationUsageCommand = GetCapacityReservationUsageCommand; +exports.GetCoipPoolUsageCommand = GetCoipPoolUsageCommand; +exports.GetConsoleOutputCommand = GetConsoleOutputCommand; +exports.GetConsoleScreenshotCommand = GetConsoleScreenshotCommand; +exports.GetDeclarativePoliciesReportSummaryCommand = GetDeclarativePoliciesReportSummaryCommand; +exports.GetDefaultCreditSpecificationCommand = GetDefaultCreditSpecificationCommand; +exports.GetEbsDefaultKmsKeyIdCommand = GetEbsDefaultKmsKeyIdCommand; +exports.GetEbsEncryptionByDefaultCommand = GetEbsEncryptionByDefaultCommand; +exports.GetEnabledIpamPolicyCommand = GetEnabledIpamPolicyCommand; +exports.GetFlowLogsIntegrationTemplateCommand = GetFlowLogsIntegrationTemplateCommand; +exports.GetGroupsForCapacityReservationCommand = GetGroupsForCapacityReservationCommand; +exports.GetHostReservationPurchasePreviewCommand = GetHostReservationPurchasePreviewCommand; +exports.GetImageAncestryCommand = GetImageAncestryCommand; +exports.GetImageBlockPublicAccessStateCommand = GetImageBlockPublicAccessStateCommand; +exports.GetInstanceMetadataDefaultsCommand = GetInstanceMetadataDefaultsCommand; +exports.GetInstanceTpmEkPubCommand = GetInstanceTpmEkPubCommand; +exports.GetInstanceTypesFromInstanceRequirementsCommand = GetInstanceTypesFromInstanceRequirementsCommand; +exports.GetInstanceUefiDataCommand = GetInstanceUefiDataCommand; +exports.GetIpamAddressHistoryCommand = GetIpamAddressHistoryCommand; +exports.GetIpamDiscoveredAccountsCommand = GetIpamDiscoveredAccountsCommand; +exports.GetIpamDiscoveredPublicAddressesCommand = GetIpamDiscoveredPublicAddressesCommand; +exports.GetIpamDiscoveredResourceCidrsCommand = GetIpamDiscoveredResourceCidrsCommand; +exports.GetIpamPolicyAllocationRulesCommand = GetIpamPolicyAllocationRulesCommand; +exports.GetIpamPolicyOrganizationTargetsCommand = GetIpamPolicyOrganizationTargetsCommand; +exports.GetIpamPoolAllocationsCommand = GetIpamPoolAllocationsCommand; +exports.GetIpamPoolCidrsCommand = GetIpamPoolCidrsCommand; +exports.GetIpamPrefixListResolverRulesCommand = GetIpamPrefixListResolverRulesCommand; +exports.GetIpamPrefixListResolverVersionEntriesCommand = GetIpamPrefixListResolverVersionEntriesCommand; +exports.GetIpamPrefixListResolverVersionsCommand = GetIpamPrefixListResolverVersionsCommand; +exports.GetIpamResourceCidrsCommand = GetIpamResourceCidrsCommand; +exports.GetLaunchTemplateDataCommand = GetLaunchTemplateDataCommand; +exports.GetManagedPrefixListAssociationsCommand = GetManagedPrefixListAssociationsCommand; +exports.GetManagedPrefixListEntriesCommand = GetManagedPrefixListEntriesCommand; +exports.GetNetworkInsightsAccessScopeAnalysisFindingsCommand = GetNetworkInsightsAccessScopeAnalysisFindingsCommand; +exports.GetNetworkInsightsAccessScopeContentCommand = GetNetworkInsightsAccessScopeContentCommand; +exports.GetPasswordDataCommand = GetPasswordDataCommand; +exports.GetReservedInstancesExchangeQuoteCommand = GetReservedInstancesExchangeQuoteCommand; +exports.GetRouteServerAssociationsCommand = GetRouteServerAssociationsCommand; +exports.GetRouteServerPropagationsCommand = GetRouteServerPropagationsCommand; +exports.GetRouteServerRoutingDatabaseCommand = GetRouteServerRoutingDatabaseCommand; +exports.GetSecurityGroupsForVpcCommand = GetSecurityGroupsForVpcCommand; +exports.GetSerialConsoleAccessStatusCommand = GetSerialConsoleAccessStatusCommand; +exports.GetSnapshotBlockPublicAccessStateCommand = GetSnapshotBlockPublicAccessStateCommand; +exports.GetSpotPlacementScoresCommand = GetSpotPlacementScoresCommand; +exports.GetSubnetCidrReservationsCommand = GetSubnetCidrReservationsCommand; +exports.GetTransitGatewayAttachmentPropagationsCommand = GetTransitGatewayAttachmentPropagationsCommand; +exports.GetTransitGatewayMeteringPolicyEntriesCommand = GetTransitGatewayMeteringPolicyEntriesCommand; +exports.GetTransitGatewayMulticastDomainAssociationsCommand = GetTransitGatewayMulticastDomainAssociationsCommand; +exports.GetTransitGatewayPolicyTableAssociationsCommand = GetTransitGatewayPolicyTableAssociationsCommand; +exports.GetTransitGatewayPolicyTableEntriesCommand = GetTransitGatewayPolicyTableEntriesCommand; +exports.GetTransitGatewayPrefixListReferencesCommand = GetTransitGatewayPrefixListReferencesCommand; +exports.GetTransitGatewayRouteTableAssociationsCommand = GetTransitGatewayRouteTableAssociationsCommand; +exports.GetTransitGatewayRouteTablePropagationsCommand = GetTransitGatewayRouteTablePropagationsCommand; +exports.GetVerifiedAccessEndpointPolicyCommand = GetVerifiedAccessEndpointPolicyCommand; +exports.GetVerifiedAccessEndpointTargetsCommand = GetVerifiedAccessEndpointTargetsCommand; +exports.GetVerifiedAccessGroupPolicyCommand = GetVerifiedAccessGroupPolicyCommand; +exports.GetVpcResourcesBlockingEncryptionEnforcementCommand = GetVpcResourcesBlockingEncryptionEnforcementCommand; +exports.GetVpnConnectionDeviceSampleConfigurationCommand = GetVpnConnectionDeviceSampleConfigurationCommand; +exports.GetVpnConnectionDeviceTypesCommand = GetVpnConnectionDeviceTypesCommand; +exports.GetVpnTunnelReplacementStatusCommand = GetVpnTunnelReplacementStatusCommand; +exports.GroupBy = GroupBy; +exports.HaStatus = HaStatus; +exports.HostMaintenance = HostMaintenance; +exports.HostRecovery = HostRecovery; +exports.HostTenancy = HostTenancy; +exports.HostnameType = HostnameType; +exports.HttpTokensEnforcedState = HttpTokensEnforcedState; +exports.HttpTokensState = HttpTokensState; +exports.HypervisorType = HypervisorType; +exports.IamInstanceProfileAssociationState = IamInstanceProfileAssociationState; +exports.Igmpv2SupportValue = Igmpv2SupportValue; +exports.ImageAttributeName = ImageAttributeName; +exports.ImageBlockPublicAccessDisabledState = ImageBlockPublicAccessDisabledState; +exports.ImageBlockPublicAccessEnabledState = ImageBlockPublicAccessEnabledState; +exports.ImageReferenceOptionName = ImageReferenceOptionName; +exports.ImageReferenceResourceType = ImageReferenceResourceType; +exports.ImageState = ImageState; +exports.ImageTypeValues = ImageTypeValues; +exports.ImdsSupportValues = ImdsSupportValues; +exports.ImportClientVpnClientCertificateRevocationListCommand = ImportClientVpnClientCertificateRevocationListCommand; +exports.ImportImageCommand = ImportImageCommand; +exports.ImportInstanceCommand = ImportInstanceCommand; +exports.ImportKeyPairCommand = ImportKeyPairCommand; +exports.ImportSnapshotCommand = ImportSnapshotCommand; +exports.ImportVolumeCommand = ImportVolumeCommand; +exports.IngestionStatus = IngestionStatus; +exports.InitializationType = InitializationType; +exports.InstanceAttributeName = InstanceAttributeName; +exports.InstanceAutoRecoveryState = InstanceAutoRecoveryState; +exports.InstanceBandwidthWeighting = InstanceBandwidthWeighting; +exports.InstanceBootModeValues = InstanceBootModeValues; +exports.InstanceEventWindowState = InstanceEventWindowState; +exports.InstanceGeneration = InstanceGeneration; +exports.InstanceHealthStatus = InstanceHealthStatus; +exports.InstanceInterruptionBehavior = InstanceInterruptionBehavior; +exports.InstanceLifecycle = InstanceLifecycle; +exports.InstanceLifecycleType = InstanceLifecycleType; +exports.InstanceMatchCriteria = InstanceMatchCriteria; +exports.InstanceMetadataEndpointState = InstanceMetadataEndpointState; +exports.InstanceMetadataOptionsState = InstanceMetadataOptionsState; +exports.InstanceMetadataProtocolState = InstanceMetadataProtocolState; +exports.InstanceMetadataTagsState = InstanceMetadataTagsState; +exports.InstanceRebootMigrationState = InstanceRebootMigrationState; +exports.InstanceStateName = InstanceStateName; +exports.InstanceStorageEncryptionSupport = InstanceStorageEncryptionSupport; +exports.InstanceTypeHypervisor = InstanceTypeHypervisor; +exports.InterfacePermissionType = InterfacePermissionType; +exports.InterfaceProtocolType = InterfaceProtocolType; +exports.InternetGatewayBlockMode = InternetGatewayBlockMode; +exports.InternetGatewayExclusionMode = InternetGatewayExclusionMode; +exports.InterruptibleCapacityReservationAllocationStatus = InterruptibleCapacityReservationAllocationStatus; +exports.InterruptionType = InterruptionType; +exports.IpAddressType = IpAddressType; +exports.IpSource = IpSource; +exports.IpamAddressHistoryResourceType = IpamAddressHistoryResourceType; +exports.IpamAssociatedResourceDiscoveryStatus = IpamAssociatedResourceDiscoveryStatus; +exports.IpamComplianceStatus = IpamComplianceStatus; +exports.IpamDiscoveryFailureCode = IpamDiscoveryFailureCode; +exports.IpamExternalResourceVerificationTokenState = IpamExternalResourceVerificationTokenState; +exports.IpamManagementState = IpamManagementState; +exports.IpamMeteredAccount = IpamMeteredAccount; +exports.IpamNetworkInterfaceAttachmentStatus = IpamNetworkInterfaceAttachmentStatus; +exports.IpamOverlapStatus = IpamOverlapStatus; +exports.IpamPolicyManagedBy = IpamPolicyManagedBy; +exports.IpamPolicyResourceType = IpamPolicyResourceType; +exports.IpamPolicyState = IpamPolicyState; +exports.IpamPoolAllocationResourceType = IpamPoolAllocationResourceType; +exports.IpamPoolAwsService = IpamPoolAwsService; +exports.IpamPoolCidrFailureCode = IpamPoolCidrFailureCode; +exports.IpamPoolCidrState = IpamPoolCidrState; +exports.IpamPoolPublicIpSource = IpamPoolPublicIpSource; +exports.IpamPoolSourceResourceType = IpamPoolSourceResourceType; +exports.IpamPoolState = IpamPoolState; +exports.IpamPrefixListResolverRuleConditionOperation = IpamPrefixListResolverRuleConditionOperation; +exports.IpamPrefixListResolverRuleType = IpamPrefixListResolverRuleType; +exports.IpamPrefixListResolverState = IpamPrefixListResolverState; +exports.IpamPrefixListResolverTargetState = IpamPrefixListResolverTargetState; +exports.IpamPrefixListResolverVersionCreationStatus = IpamPrefixListResolverVersionCreationStatus; +exports.IpamPublicAddressAssociationStatus = IpamPublicAddressAssociationStatus; +exports.IpamPublicAddressAwsService = IpamPublicAddressAwsService; +exports.IpamPublicAddressType = IpamPublicAddressType; +exports.IpamResourceCidrIpSource = IpamResourceCidrIpSource; +exports.IpamResourceDiscoveryAssociationState = IpamResourceDiscoveryAssociationState; +exports.IpamResourceDiscoveryState = IpamResourceDiscoveryState; +exports.IpamResourceType = IpamResourceType; +exports.IpamScopeExternalAuthorityType = IpamScopeExternalAuthorityType; +exports.IpamScopeState = IpamScopeState; +exports.IpamScopeType = IpamScopeType; +exports.IpamState = IpamState; +exports.IpamTier = IpamTier; +exports.Ipv6AddressAttribute = Ipv6AddressAttribute; +exports.Ipv6SupportValue = Ipv6SupportValue; +exports.KeyFormat = KeyFormat; +exports.KeyType = KeyType; +exports.LaunchTemplateAutoRecoveryState = LaunchTemplateAutoRecoveryState; +exports.LaunchTemplateErrorCode = LaunchTemplateErrorCode; +exports.LaunchTemplateHttpTokensState = LaunchTemplateHttpTokensState; +exports.LaunchTemplateInstanceMetadataEndpointState = LaunchTemplateInstanceMetadataEndpointState; +exports.LaunchTemplateInstanceMetadataOptionsState = LaunchTemplateInstanceMetadataOptionsState; +exports.LaunchTemplateInstanceMetadataProtocolIpv6 = LaunchTemplateInstanceMetadataProtocolIpv6; +exports.LaunchTemplateInstanceMetadataTagsState = LaunchTemplateInstanceMetadataTagsState; +exports.ListImagesInRecycleBinCommand = ListImagesInRecycleBinCommand; +exports.ListSnapshotsInRecycleBinCommand = ListSnapshotsInRecycleBinCommand; +exports.ListVolumesInRecycleBinCommand = ListVolumesInRecycleBinCommand; +exports.ListingState = ListingState; +exports.ListingStatus = ListingStatus; +exports.LocalGatewayRouteState = LocalGatewayRouteState; +exports.LocalGatewayRouteTableMode = LocalGatewayRouteTableMode; +exports.LocalGatewayRouteType = LocalGatewayRouteType; +exports.LocalGatewayVirtualInterfaceConfigurationState = LocalGatewayVirtualInterfaceConfigurationState; +exports.LocalGatewayVirtualInterfaceGroupConfigurationState = LocalGatewayVirtualInterfaceGroupConfigurationState; +exports.LocalStorage = LocalStorage; +exports.LocalStorageType = LocalStorageType; +exports.LocationType = LocationType; +exports.LockMode = LockMode; +exports.LockSnapshotCommand = LockSnapshotCommand; +exports.LockState = LockState; +exports.LogDestinationType = LogDestinationType; +exports.MacModificationTaskState = MacModificationTaskState; +exports.MacModificationTaskType = MacModificationTaskType; +exports.MacSystemIntegrityProtectionSettingStatus = MacSystemIntegrityProtectionSettingStatus; +exports.ManagedBy = ManagedBy; +exports.MarketType = MarketType; +exports.MembershipType = MembershipType; +exports.MetadataDefaultHttpTokensState = MetadataDefaultHttpTokensState; +exports.Metric = Metric; +exports.MetricType = MetricType; +exports.ModifyAddressAttributeCommand = ModifyAddressAttributeCommand; +exports.ModifyAvailabilityZoneGroupCommand = ModifyAvailabilityZoneGroupCommand; +exports.ModifyAvailabilityZoneOptInStatus = ModifyAvailabilityZoneOptInStatus; +exports.ModifyCapacityReservationCommand = ModifyCapacityReservationCommand; +exports.ModifyCapacityReservationFleetCommand = ModifyCapacityReservationFleetCommand; +exports.ModifyClientVpnEndpointCommand = ModifyClientVpnEndpointCommand; +exports.ModifyDefaultCreditSpecificationCommand = ModifyDefaultCreditSpecificationCommand; +exports.ModifyEbsDefaultKmsKeyIdCommand = ModifyEbsDefaultKmsKeyIdCommand; +exports.ModifyFleetCommand = ModifyFleetCommand; +exports.ModifyFpgaImageAttributeCommand = ModifyFpgaImageAttributeCommand; +exports.ModifyHostsCommand = ModifyHostsCommand; +exports.ModifyIdFormatCommand = ModifyIdFormatCommand; +exports.ModifyIdentityIdFormatCommand = ModifyIdentityIdFormatCommand; +exports.ModifyImageAttributeCommand = ModifyImageAttributeCommand; +exports.ModifyInstanceAttributeCommand = ModifyInstanceAttributeCommand; +exports.ModifyInstanceCapacityReservationAttributesCommand = ModifyInstanceCapacityReservationAttributesCommand; +exports.ModifyInstanceConnectEndpointCommand = ModifyInstanceConnectEndpointCommand; +exports.ModifyInstanceCpuOptionsCommand = ModifyInstanceCpuOptionsCommand; +exports.ModifyInstanceCreditSpecificationCommand = ModifyInstanceCreditSpecificationCommand; +exports.ModifyInstanceEventStartTimeCommand = ModifyInstanceEventStartTimeCommand; +exports.ModifyInstanceEventWindowCommand = ModifyInstanceEventWindowCommand; +exports.ModifyInstanceMaintenanceOptionsCommand = ModifyInstanceMaintenanceOptionsCommand; +exports.ModifyInstanceMetadataDefaultsCommand = ModifyInstanceMetadataDefaultsCommand; +exports.ModifyInstanceMetadataOptionsCommand = ModifyInstanceMetadataOptionsCommand; +exports.ModifyInstanceNetworkPerformanceOptionsCommand = ModifyInstanceNetworkPerformanceOptionsCommand; +exports.ModifyInstancePlacementCommand = ModifyInstancePlacementCommand; +exports.ModifyIpamCommand = ModifyIpamCommand; +exports.ModifyIpamPolicyAllocationRulesCommand = ModifyIpamPolicyAllocationRulesCommand; +exports.ModifyIpamPoolCommand = ModifyIpamPoolCommand; +exports.ModifyIpamPrefixListResolverCommand = ModifyIpamPrefixListResolverCommand; +exports.ModifyIpamPrefixListResolverTargetCommand = ModifyIpamPrefixListResolverTargetCommand; +exports.ModifyIpamResourceCidrCommand = ModifyIpamResourceCidrCommand; +exports.ModifyIpamResourceDiscoveryCommand = ModifyIpamResourceDiscoveryCommand; +exports.ModifyIpamScopeCommand = ModifyIpamScopeCommand; +exports.ModifyLaunchTemplateCommand = ModifyLaunchTemplateCommand; +exports.ModifyLocalGatewayRouteCommand = ModifyLocalGatewayRouteCommand; +exports.ModifyManagedPrefixListCommand = ModifyManagedPrefixListCommand; +exports.ModifyNetworkInterfaceAttributeCommand = ModifyNetworkInterfaceAttributeCommand; +exports.ModifyPrivateDnsNameOptionsCommand = ModifyPrivateDnsNameOptionsCommand; +exports.ModifyPublicIpDnsNameOptionsCommand = ModifyPublicIpDnsNameOptionsCommand; +exports.ModifyReservedInstancesCommand = ModifyReservedInstancesCommand; +exports.ModifyRouteServerCommand = ModifyRouteServerCommand; +exports.ModifySecurityGroupRulesCommand = ModifySecurityGroupRulesCommand; +exports.ModifySnapshotAttributeCommand = ModifySnapshotAttributeCommand; +exports.ModifySnapshotTierCommand = ModifySnapshotTierCommand; +exports.ModifySpotFleetRequestCommand = ModifySpotFleetRequestCommand; +exports.ModifySubnetAttributeCommand = ModifySubnetAttributeCommand; +exports.ModifyTrafficMirrorFilterNetworkServicesCommand = ModifyTrafficMirrorFilterNetworkServicesCommand; +exports.ModifyTrafficMirrorFilterRuleCommand = ModifyTrafficMirrorFilterRuleCommand; +exports.ModifyTrafficMirrorSessionCommand = ModifyTrafficMirrorSessionCommand; +exports.ModifyTransitGatewayCommand = ModifyTransitGatewayCommand; +exports.ModifyTransitGatewayMeteringPolicyCommand = ModifyTransitGatewayMeteringPolicyCommand; +exports.ModifyTransitGatewayPrefixListReferenceCommand = ModifyTransitGatewayPrefixListReferenceCommand; +exports.ModifyTransitGatewayVpcAttachmentCommand = ModifyTransitGatewayVpcAttachmentCommand; +exports.ModifyVerifiedAccessEndpointCommand = ModifyVerifiedAccessEndpointCommand; +exports.ModifyVerifiedAccessEndpointPolicyCommand = ModifyVerifiedAccessEndpointPolicyCommand; +exports.ModifyVerifiedAccessGroupCommand = ModifyVerifiedAccessGroupCommand; +exports.ModifyVerifiedAccessGroupPolicyCommand = ModifyVerifiedAccessGroupPolicyCommand; +exports.ModifyVerifiedAccessInstanceCommand = ModifyVerifiedAccessInstanceCommand; +exports.ModifyVerifiedAccessInstanceLoggingConfigurationCommand = ModifyVerifiedAccessInstanceLoggingConfigurationCommand; +exports.ModifyVerifiedAccessTrustProviderCommand = ModifyVerifiedAccessTrustProviderCommand; +exports.ModifyVolumeAttributeCommand = ModifyVolumeAttributeCommand; +exports.ModifyVolumeCommand = ModifyVolumeCommand; +exports.ModifyVpcAttributeCommand = ModifyVpcAttributeCommand; +exports.ModifyVpcBlockPublicAccessExclusionCommand = ModifyVpcBlockPublicAccessExclusionCommand; +exports.ModifyVpcBlockPublicAccessOptionsCommand = ModifyVpcBlockPublicAccessOptionsCommand; +exports.ModifyVpcEncryptionControlCommand = ModifyVpcEncryptionControlCommand; +exports.ModifyVpcEndpointCommand = ModifyVpcEndpointCommand; +exports.ModifyVpcEndpointConnectionNotificationCommand = ModifyVpcEndpointConnectionNotificationCommand; +exports.ModifyVpcEndpointServiceConfigurationCommand = ModifyVpcEndpointServiceConfigurationCommand; +exports.ModifyVpcEndpointServicePayerResponsibilityCommand = ModifyVpcEndpointServicePayerResponsibilityCommand; +exports.ModifyVpcEndpointServicePermissionsCommand = ModifyVpcEndpointServicePermissionsCommand; +exports.ModifyVpcPeeringConnectionOptionsCommand = ModifyVpcPeeringConnectionOptionsCommand; +exports.ModifyVpcTenancyCommand = ModifyVpcTenancyCommand; +exports.ModifyVpnConnectionCommand = ModifyVpnConnectionCommand; +exports.ModifyVpnConnectionOptionsCommand = ModifyVpnConnectionOptionsCommand; +exports.ModifyVpnTunnelCertificateCommand = ModifyVpnTunnelCertificateCommand; +exports.ModifyVpnTunnelOptionsCommand = ModifyVpnTunnelOptionsCommand; +exports.MonitorInstancesCommand = MonitorInstancesCommand; +exports.MonitoringState = MonitoringState; +exports.MoveAddressToVpcCommand = MoveAddressToVpcCommand; +exports.MoveByoipCidrToIpamCommand = MoveByoipCidrToIpamCommand; +exports.MoveCapacityReservationInstancesCommand = MoveCapacityReservationInstancesCommand; +exports.MoveStatus = MoveStatus; +exports.MulticastSupportValue = MulticastSupportValue; +exports.NatGatewayAddressStatus = NatGatewayAddressStatus; +exports.NatGatewayApplianceModifyState = NatGatewayApplianceModifyState; +exports.NatGatewayApplianceState = NatGatewayApplianceState; +exports.NatGatewayApplianceType = NatGatewayApplianceType; +exports.NatGatewayState = NatGatewayState; +exports.NestedVirtualizationSpecification = NestedVirtualizationSpecification; +exports.NetworkInterfaceAttribute = NetworkInterfaceAttribute; +exports.NetworkInterfaceCreationType = NetworkInterfaceCreationType; +exports.NetworkInterfacePermissionStateCode = NetworkInterfacePermissionStateCode; +exports.NetworkInterfaceStatus = NetworkInterfaceStatus; +exports.NetworkInterfaceType = NetworkInterfaceType; +exports.NitroEnclavesSupport = NitroEnclavesSupport; +exports.NitroTpmSupport = NitroTpmSupport; +exports.OfferingClassType = OfferingClassType; +exports.OfferingTypeValues = OfferingTypeValues; +exports.OnDemandAllocationStrategy = OnDemandAllocationStrategy; +exports.OperationType = OperationType; +exports.OutputFormat = OutputFormat; +exports.PartitionLoadFrequency = PartitionLoadFrequency; +exports.PayerResponsibility = PayerResponsibility; +exports.PaymentOption = PaymentOption; +exports.PeriodType = PeriodType; +exports.PermissionGroup = PermissionGroup; +exports.PhcSupport = PhcSupport; +exports.PlacementGroupState = PlacementGroupState; +exports.PlacementGroupStrategy = PlacementGroupStrategy; +exports.PlacementStrategy = PlacementStrategy; +exports.PlatformValues = PlatformValues; +exports.PrefixListState = PrefixListState; +exports.PrincipalType = PrincipalType; +exports.ProductCodeValues = ProductCodeValues; +exports.Protocol = Protocol; +exports.ProtocolValue = ProtocolValue; +exports.ProvisionByoipCidrCommand = ProvisionByoipCidrCommand; +exports.ProvisionIpamByoasnCommand = ProvisionIpamByoasnCommand; +exports.ProvisionIpamPoolCidrCommand = ProvisionIpamPoolCidrCommand; +exports.ProvisionPublicIpv4PoolCidrCommand = ProvisionPublicIpv4PoolCidrCommand; +exports.PublicIpDnsOption = PublicIpDnsOption; +exports.PurchaseCapacityBlockCommand = PurchaseCapacityBlockCommand; +exports.PurchaseCapacityBlockExtensionCommand = PurchaseCapacityBlockExtensionCommand; +exports.PurchaseHostReservationCommand = PurchaseHostReservationCommand; +exports.PurchaseReservedInstancesOfferingCommand = PurchaseReservedInstancesOfferingCommand; +exports.PurchaseScheduledInstancesCommand = PurchaseScheduledInstancesCommand; +exports.RIProductDescription = RIProductDescription; +exports.RebootInstancesCommand = RebootInstancesCommand; +exports.RebootMigrationSupport = RebootMigrationSupport; +exports.RecurringChargeFrequency = RecurringChargeFrequency; +exports.RegisterImageCommand = RegisterImageCommand; +exports.RegisterInstanceEventNotificationAttributesCommand = RegisterInstanceEventNotificationAttributesCommand; +exports.RegisterTransitGatewayMulticastGroupMembersCommand = RegisterTransitGatewayMulticastGroupMembersCommand; +exports.RegisterTransitGatewayMulticastGroupSourcesCommand = RegisterTransitGatewayMulticastGroupSourcesCommand; +exports.RejectCapacityReservationBillingOwnershipCommand = RejectCapacityReservationBillingOwnershipCommand; +exports.RejectTransitGatewayMulticastDomainAssociationsCommand = RejectTransitGatewayMulticastDomainAssociationsCommand; +exports.RejectTransitGatewayPeeringAttachmentCommand = RejectTransitGatewayPeeringAttachmentCommand; +exports.RejectTransitGatewayVpcAttachmentCommand = RejectTransitGatewayVpcAttachmentCommand; +exports.RejectVpcEndpointConnectionsCommand = RejectVpcEndpointConnectionsCommand; +exports.RejectVpcPeeringConnectionCommand = RejectVpcPeeringConnectionCommand; +exports.ReleaseAddressCommand = ReleaseAddressCommand; +exports.ReleaseHostsCommand = ReleaseHostsCommand; +exports.ReleaseIpamPoolAllocationCommand = ReleaseIpamPoolAllocationCommand; +exports.ReplaceIamInstanceProfileAssociationCommand = ReplaceIamInstanceProfileAssociationCommand; +exports.ReplaceImageCriteriaInAllowedImagesSettingsCommand = ReplaceImageCriteriaInAllowedImagesSettingsCommand; +exports.ReplaceNetworkAclAssociationCommand = ReplaceNetworkAclAssociationCommand; +exports.ReplaceNetworkAclEntryCommand = ReplaceNetworkAclEntryCommand; +exports.ReplaceRootVolumeTaskState = ReplaceRootVolumeTaskState; +exports.ReplaceRouteCommand = ReplaceRouteCommand; +exports.ReplaceRouteTableAssociationCommand = ReplaceRouteTableAssociationCommand; +exports.ReplaceTransitGatewayRouteCommand = ReplaceTransitGatewayRouteCommand; +exports.ReplaceVpnTunnelCommand = ReplaceVpnTunnelCommand; +exports.ReplacementStrategy = ReplacementStrategy; +exports.ReportInstanceReasonCodes = ReportInstanceReasonCodes; +exports.ReportInstanceStatusCommand = ReportInstanceStatusCommand; +exports.ReportState = ReportState; +exports.ReportStatusType = ReportStatusType; +exports.RequestSpotFleetCommand = RequestSpotFleetCommand; +exports.RequestSpotInstancesCommand = RequestSpotInstancesCommand; +exports.ReservationEndDateType = ReservationEndDateType; +exports.ReservationState = ReservationState; +exports.ReservationType = ReservationType; +exports.ReservedInstanceState = ReservedInstanceState; +exports.ResetAddressAttributeCommand = ResetAddressAttributeCommand; +exports.ResetEbsDefaultKmsKeyIdCommand = ResetEbsDefaultKmsKeyIdCommand; +exports.ResetFpgaImageAttributeCommand = ResetFpgaImageAttributeCommand; +exports.ResetFpgaImageAttributeName = ResetFpgaImageAttributeName; +exports.ResetImageAttributeCommand = ResetImageAttributeCommand; +exports.ResetImageAttributeName = ResetImageAttributeName; +exports.ResetInstanceAttributeCommand = ResetInstanceAttributeCommand; +exports.ResetNetworkInterfaceAttributeCommand = ResetNetworkInterfaceAttributeCommand; +exports.ResetSnapshotAttributeCommand = ResetSnapshotAttributeCommand; +exports.ResourceType = ResourceType; +exports.RestoreAddressToClassicCommand = RestoreAddressToClassicCommand; +exports.RestoreImageFromRecycleBinCommand = RestoreImageFromRecycleBinCommand; +exports.RestoreManagedPrefixListVersionCommand = RestoreManagedPrefixListVersionCommand; +exports.RestoreSnapshotFromRecycleBinCommand = RestoreSnapshotFromRecycleBinCommand; +exports.RestoreSnapshotTierCommand = RestoreSnapshotTierCommand; +exports.RestoreVolumeFromRecycleBinCommand = RestoreVolumeFromRecycleBinCommand; +exports.RevokeClientVpnIngressCommand = RevokeClientVpnIngressCommand; +exports.RevokeSecurityGroupEgressCommand = RevokeSecurityGroupEgressCommand; +exports.RevokeSecurityGroupIngressCommand = RevokeSecurityGroupIngressCommand; +exports.RootDeviceType = RootDeviceType; +exports.RouteOrigin = RouteOrigin; +exports.RouteServerAssociationState = RouteServerAssociationState; +exports.RouteServerBfdState = RouteServerBfdState; +exports.RouteServerBgpState = RouteServerBgpState; +exports.RouteServerEndpointState = RouteServerEndpointState; +exports.RouteServerPeerLivenessMode = RouteServerPeerLivenessMode; +exports.RouteServerPeerState = RouteServerPeerState; +exports.RouteServerPersistRoutesAction = RouteServerPersistRoutesAction; +exports.RouteServerPersistRoutesState = RouteServerPersistRoutesState; +exports.RouteServerPropagationState = RouteServerPropagationState; +exports.RouteServerRouteInstallationStatus = RouteServerRouteInstallationStatus; +exports.RouteServerRouteStatus = RouteServerRouteStatus; +exports.RouteServerState = RouteServerState; +exports.RouteState = RouteState; +exports.RouteTableAssociationStateCode = RouteTableAssociationStateCode; +exports.RuleAction = RuleAction; +exports.RunInstancesCommand = RunInstancesCommand; +exports.RunScheduledInstancesCommand = RunScheduledInstancesCommand; +exports.SSEType = SSEType; +exports.Schedule = Schedule; +exports.Scope = Scope; +exports.SearchLocalGatewayRoutesCommand = SearchLocalGatewayRoutesCommand; +exports.SearchTransitGatewayMulticastGroupsCommand = SearchTransitGatewayMulticastGroupsCommand; +exports.SearchTransitGatewayRoutesCommand = SearchTransitGatewayRoutesCommand; +exports.SecondaryInterfaceStatus = SecondaryInterfaceStatus; +exports.SecondaryInterfaceType = SecondaryInterfaceType; +exports.SecondaryNetworkCidrBlockAssociationState = SecondaryNetworkCidrBlockAssociationState; +exports.SecondaryNetworkState = SecondaryNetworkState; +exports.SecondaryNetworkType = SecondaryNetworkType; +exports.SecondarySubnetCidrBlockAssociationState = SecondarySubnetCidrBlockAssociationState; +exports.SecondarySubnetState = SecondarySubnetState; +exports.SecurityGroupReferencingSupportValue = SecurityGroupReferencingSupportValue; +exports.SecurityGroupVpcAssociationState = SecurityGroupVpcAssociationState; +exports.SelfServicePortal = SelfServicePortal; +exports.SendDiagnosticInterruptCommand = SendDiagnosticInterruptCommand; +exports.ServiceConnectivityType = ServiceConnectivityType; +exports.ServiceLinkVirtualInterfaceConfigurationState = ServiceLinkVirtualInterfaceConfigurationState; +exports.ServiceManaged = ServiceManaged; +exports.ServiceState = ServiceState; +exports.ServiceType = ServiceType; +exports.ShutdownBehavior = ShutdownBehavior; +exports.SnapshotAttributeName = SnapshotAttributeName; +exports.SnapshotBlockPublicAccessState = SnapshotBlockPublicAccessState; +exports.SnapshotLocationEnum = SnapshotLocationEnum; +exports.SnapshotReturnCodes = SnapshotReturnCodes; +exports.SnapshotState = SnapshotState; +exports.SpotAllocationStrategy = SpotAllocationStrategy; +exports.SpotInstanceInterruptionBehavior = SpotInstanceInterruptionBehavior; +exports.SpotInstanceState = SpotInstanceState; +exports.SpotInstanceType = SpotInstanceType; +exports.SpreadLevel = SpreadLevel; +exports.SqlServerLicenseUsage = SqlServerLicenseUsage; +exports.StartDeclarativePoliciesReportCommand = StartDeclarativePoliciesReportCommand; +exports.StartInstancesCommand = StartInstancesCommand; +exports.StartNetworkInsightsAccessScopeAnalysisCommand = StartNetworkInsightsAccessScopeAnalysisCommand; +exports.StartNetworkInsightsAnalysisCommand = StartNetworkInsightsAnalysisCommand; +exports.StartVpcEndpointServicePrivateDnsVerificationCommand = StartVpcEndpointServicePrivateDnsVerificationCommand; +exports.State = State; +exports.StaticSourcesSupportValue = StaticSourcesSupportValue; +exports.StatisticType = StatisticType; +exports.Status = Status; +exports.StatusName = StatusName; +exports.StatusType = StatusType; +exports.StopInstancesCommand = StopInstancesCommand; +exports.StorageTier = StorageTier; +exports.SubnetCidrBlockStateCode = SubnetCidrBlockStateCode; +exports.SubnetCidrReservationType = SubnetCidrReservationType; +exports.SubnetState = SubnetState; +exports.SummaryStatus = SummaryStatus; +exports.SupportedAdditionalProcessorFeature = SupportedAdditionalProcessorFeature; +exports.TargetCapacityUnitType = TargetCapacityUnitType; +exports.TargetStorageTier = TargetStorageTier; +exports.TelemetryStatus = TelemetryStatus; +exports.Tenancy = Tenancy; +exports.TerminateClientVpnConnectionsCommand = TerminateClientVpnConnectionsCommand; +exports.TerminateInstancesCommand = TerminateInstancesCommand; +exports.TieringOperationStatus = TieringOperationStatus; +exports.TokenState = TokenState; +exports.TpmSupportValues = TpmSupportValues; +exports.TrafficDirection = TrafficDirection; +exports.TrafficIpAddressType = TrafficIpAddressType; +exports.TrafficMirrorFilterRuleField = TrafficMirrorFilterRuleField; +exports.TrafficMirrorNetworkService = TrafficMirrorNetworkService; +exports.TrafficMirrorRuleAction = TrafficMirrorRuleAction; +exports.TrafficMirrorSessionField = TrafficMirrorSessionField; +exports.TrafficMirrorTargetType = TrafficMirrorTargetType; +exports.TrafficType = TrafficType; +exports.TransferType = TransferType; +exports.TransitGatewayAssociationState = TransitGatewayAssociationState; +exports.TransitGatewayAttachmentResourceType = TransitGatewayAttachmentResourceType; +exports.TransitGatewayAttachmentState = TransitGatewayAttachmentState; +exports.TransitGatewayConnectPeerState = TransitGatewayConnectPeerState; +exports.TransitGatewayMeteringPayerType = TransitGatewayMeteringPayerType; +exports.TransitGatewayMeteringPolicyEntryState = TransitGatewayMeteringPolicyEntryState; +exports.TransitGatewayMeteringPolicyState = TransitGatewayMeteringPolicyState; +exports.TransitGatewayMulitcastDomainAssociationState = TransitGatewayMulitcastDomainAssociationState; +exports.TransitGatewayMulticastDomainState = TransitGatewayMulticastDomainState; +exports.TransitGatewayPolicyTableState = TransitGatewayPolicyTableState; +exports.TransitGatewayPrefixListReferenceState = TransitGatewayPrefixListReferenceState; +exports.TransitGatewayPropagationState = TransitGatewayPropagationState; +exports.TransitGatewayRouteState = TransitGatewayRouteState; +exports.TransitGatewayRouteTableAnnouncementDirection = TransitGatewayRouteTableAnnouncementDirection; +exports.TransitGatewayRouteTableAnnouncementState = TransitGatewayRouteTableAnnouncementState; +exports.TransitGatewayRouteTableState = TransitGatewayRouteTableState; +exports.TransitGatewayRouteType = TransitGatewayRouteType; +exports.TransitGatewayState = TransitGatewayState; +exports.TransportProtocol = TransportProtocol; +exports.TrustProviderType = TrustProviderType; +exports.TunnelInsideIpVersion = TunnelInsideIpVersion; +exports.UnassignIpv6AddressesCommand = UnassignIpv6AddressesCommand; +exports.UnassignPrivateIpAddressesCommand = UnassignPrivateIpAddressesCommand; +exports.UnassignPrivateNatGatewayAddressCommand = UnassignPrivateNatGatewayAddressCommand; +exports.UnlimitedSupportedInstanceFamily = UnlimitedSupportedInstanceFamily; +exports.UnlockSnapshotCommand = UnlockSnapshotCommand; +exports.UnmonitorInstancesCommand = UnmonitorInstancesCommand; +exports.UnsuccessfulInstanceCreditSpecificationErrorCode = UnsuccessfulInstanceCreditSpecificationErrorCode; +exports.UpdateCapacityManagerMonitoredTagKeysCommand = UpdateCapacityManagerMonitoredTagKeysCommand; +exports.UpdateCapacityManagerOrganizationsAccessCommand = UpdateCapacityManagerOrganizationsAccessCommand; +exports.UpdateInterruptibleCapacityReservationAllocationCommand = UpdateInterruptibleCapacityReservationAllocationCommand; +exports.UpdateSecurityGroupRuleDescriptionsEgressCommand = UpdateSecurityGroupRuleDescriptionsEgressCommand; +exports.UpdateSecurityGroupRuleDescriptionsIngressCommand = UpdateSecurityGroupRuleDescriptionsIngressCommand; +exports.UsageClassType = UsageClassType; +exports.UserTrustProviderType = UserTrustProviderType; +exports.VerificationMethod = VerificationMethod; +exports.VerifiedAccessEndpointAttachmentType = VerifiedAccessEndpointAttachmentType; +exports.VerifiedAccessEndpointProtocol = VerifiedAccessEndpointProtocol; +exports.VerifiedAccessEndpointStatusCode = VerifiedAccessEndpointStatusCode; +exports.VerifiedAccessEndpointType = VerifiedAccessEndpointType; +exports.VerifiedAccessLogDeliveryStatusCode = VerifiedAccessLogDeliveryStatusCode; +exports.VirtualizationType = VirtualizationType; +exports.VolumeAttachmentState = VolumeAttachmentState; +exports.VolumeAttributeName = VolumeAttributeName; +exports.VolumeModificationState = VolumeModificationState; +exports.VolumeState = VolumeState; +exports.VolumeStatusInfoStatus = VolumeStatusInfoStatus; +exports.VolumeStatusName = VolumeStatusName; +exports.VolumeType = VolumeType; +exports.VpcAttributeName = VpcAttributeName; +exports.VpcBlockPublicAccessExclusionState = VpcBlockPublicAccessExclusionState; +exports.VpcBlockPublicAccessExclusionsAllowed = VpcBlockPublicAccessExclusionsAllowed; +exports.VpcBlockPublicAccessState = VpcBlockPublicAccessState; +exports.VpcCidrBlockStateCode = VpcCidrBlockStateCode; +exports.VpcEncryptionControlExclusionState = VpcEncryptionControlExclusionState; +exports.VpcEncryptionControlExclusionStateInput = VpcEncryptionControlExclusionStateInput; +exports.VpcEncryptionControlMode = VpcEncryptionControlMode; +exports.VpcEncryptionControlState = VpcEncryptionControlState; +exports.VpcEndpointType = VpcEndpointType; +exports.VpcPeeringConnectionStateReasonCode = VpcPeeringConnectionStateReasonCode; +exports.VpcState = VpcState; +exports.VpcTenancy = VpcTenancy; +exports.VpnConcentratorType = VpnConcentratorType; +exports.VpnEcmpSupportValue = VpnEcmpSupportValue; +exports.VpnProtocol = VpnProtocol; +exports.VpnState = VpnState; +exports.VpnStaticRouteSource = VpnStaticRouteSource; +exports.VpnTunnelBandwidth = VpnTunnelBandwidth; +exports.VpnTunnelProvisioningStatus = VpnTunnelProvisioningStatus; +exports.WeekDay = WeekDay; +exports.WithdrawByoipCidrCommand = WithdrawByoipCidrCommand; +exports._InstanceType = _InstanceType; +exports.paginateDescribeAddressTransfers = paginateDescribeAddressTransfers; +exports.paginateDescribeAddressesAttribute = paginateDescribeAddressesAttribute; +exports.paginateDescribeAwsNetworkPerformanceMetricSubscriptions = paginateDescribeAwsNetworkPerformanceMetricSubscriptions; +exports.paginateDescribeByoipCidrs = paginateDescribeByoipCidrs; +exports.paginateDescribeCapacityBlockExtensionHistory = paginateDescribeCapacityBlockExtensionHistory; +exports.paginateDescribeCapacityBlockExtensionOfferings = paginateDescribeCapacityBlockExtensionOfferings; +exports.paginateDescribeCapacityBlockOfferings = paginateDescribeCapacityBlockOfferings; +exports.paginateDescribeCapacityBlockStatus = paginateDescribeCapacityBlockStatus; +exports.paginateDescribeCapacityBlocks = paginateDescribeCapacityBlocks; +exports.paginateDescribeCapacityManagerDataExports = paginateDescribeCapacityManagerDataExports; +exports.paginateDescribeCapacityReservationBillingRequests = paginateDescribeCapacityReservationBillingRequests; +exports.paginateDescribeCapacityReservationFleets = paginateDescribeCapacityReservationFleets; +exports.paginateDescribeCapacityReservations = paginateDescribeCapacityReservations; +exports.paginateDescribeCarrierGateways = paginateDescribeCarrierGateways; +exports.paginateDescribeClassicLinkInstances = paginateDescribeClassicLinkInstances; +exports.paginateDescribeClientVpnAuthorizationRules = paginateDescribeClientVpnAuthorizationRules; +exports.paginateDescribeClientVpnConnections = paginateDescribeClientVpnConnections; +exports.paginateDescribeClientVpnEndpoints = paginateDescribeClientVpnEndpoints; +exports.paginateDescribeClientVpnRoutes = paginateDescribeClientVpnRoutes; +exports.paginateDescribeClientVpnTargetNetworks = paginateDescribeClientVpnTargetNetworks; +exports.paginateDescribeCoipPools = paginateDescribeCoipPools; +exports.paginateDescribeDhcpOptions = paginateDescribeDhcpOptions; +exports.paginateDescribeEgressOnlyInternetGateways = paginateDescribeEgressOnlyInternetGateways; +exports.paginateDescribeExportImageTasks = paginateDescribeExportImageTasks; +exports.paginateDescribeFastLaunchImages = paginateDescribeFastLaunchImages; +exports.paginateDescribeFastSnapshotRestores = paginateDescribeFastSnapshotRestores; +exports.paginateDescribeFleets = paginateDescribeFleets; +exports.paginateDescribeFlowLogs = paginateDescribeFlowLogs; +exports.paginateDescribeFpgaImages = paginateDescribeFpgaImages; +exports.paginateDescribeHostReservationOfferings = paginateDescribeHostReservationOfferings; +exports.paginateDescribeHostReservations = paginateDescribeHostReservations; +exports.paginateDescribeHosts = paginateDescribeHosts; +exports.paginateDescribeIamInstanceProfileAssociations = paginateDescribeIamInstanceProfileAssociations; +exports.paginateDescribeImageReferences = paginateDescribeImageReferences; +exports.paginateDescribeImageUsageReportEntries = paginateDescribeImageUsageReportEntries; +exports.paginateDescribeImageUsageReports = paginateDescribeImageUsageReports; +exports.paginateDescribeImages = paginateDescribeImages; +exports.paginateDescribeImportImageTasks = paginateDescribeImportImageTasks; +exports.paginateDescribeImportSnapshotTasks = paginateDescribeImportSnapshotTasks; +exports.paginateDescribeInstanceConnectEndpoints = paginateDescribeInstanceConnectEndpoints; +exports.paginateDescribeInstanceCreditSpecifications = paginateDescribeInstanceCreditSpecifications; +exports.paginateDescribeInstanceEventWindows = paginateDescribeInstanceEventWindows; +exports.paginateDescribeInstanceImageMetadata = paginateDescribeInstanceImageMetadata; +exports.paginateDescribeInstanceStatus = paginateDescribeInstanceStatus; +exports.paginateDescribeInstanceTopology = paginateDescribeInstanceTopology; +exports.paginateDescribeInstanceTypeOfferings = paginateDescribeInstanceTypeOfferings; +exports.paginateDescribeInstanceTypes = paginateDescribeInstanceTypes; +exports.paginateDescribeInstances = paginateDescribeInstances; +exports.paginateDescribeInternetGateways = paginateDescribeInternetGateways; +exports.paginateDescribeIpamPools = paginateDescribeIpamPools; +exports.paginateDescribeIpamPrefixListResolverTargets = paginateDescribeIpamPrefixListResolverTargets; +exports.paginateDescribeIpamPrefixListResolvers = paginateDescribeIpamPrefixListResolvers; +exports.paginateDescribeIpamResourceDiscoveries = paginateDescribeIpamResourceDiscoveries; +exports.paginateDescribeIpamResourceDiscoveryAssociations = paginateDescribeIpamResourceDiscoveryAssociations; +exports.paginateDescribeIpamScopes = paginateDescribeIpamScopes; +exports.paginateDescribeIpams = paginateDescribeIpams; +exports.paginateDescribeIpv6Pools = paginateDescribeIpv6Pools; +exports.paginateDescribeLaunchTemplateVersions = paginateDescribeLaunchTemplateVersions; +exports.paginateDescribeLaunchTemplates = paginateDescribeLaunchTemplates; +exports.paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations = paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations; +exports.paginateDescribeLocalGatewayRouteTableVpcAssociations = paginateDescribeLocalGatewayRouteTableVpcAssociations; +exports.paginateDescribeLocalGatewayRouteTables = paginateDescribeLocalGatewayRouteTables; +exports.paginateDescribeLocalGatewayVirtualInterfaceGroups = paginateDescribeLocalGatewayVirtualInterfaceGroups; +exports.paginateDescribeLocalGatewayVirtualInterfaces = paginateDescribeLocalGatewayVirtualInterfaces; +exports.paginateDescribeLocalGateways = paginateDescribeLocalGateways; +exports.paginateDescribeMacHosts = paginateDescribeMacHosts; +exports.paginateDescribeMacModificationTasks = paginateDescribeMacModificationTasks; +exports.paginateDescribeManagedPrefixLists = paginateDescribeManagedPrefixLists; +exports.paginateDescribeMovingAddresses = paginateDescribeMovingAddresses; +exports.paginateDescribeNatGateways = paginateDescribeNatGateways; +exports.paginateDescribeNetworkAcls = paginateDescribeNetworkAcls; +exports.paginateDescribeNetworkInsightsAccessScopeAnalyses = paginateDescribeNetworkInsightsAccessScopeAnalyses; +exports.paginateDescribeNetworkInsightsAccessScopes = paginateDescribeNetworkInsightsAccessScopes; +exports.paginateDescribeNetworkInsightsAnalyses = paginateDescribeNetworkInsightsAnalyses; +exports.paginateDescribeNetworkInsightsPaths = paginateDescribeNetworkInsightsPaths; +exports.paginateDescribeNetworkInterfacePermissions = paginateDescribeNetworkInterfacePermissions; +exports.paginateDescribeNetworkInterfaces = paginateDescribeNetworkInterfaces; +exports.paginateDescribePrefixLists = paginateDescribePrefixLists; +exports.paginateDescribePrincipalIdFormat = paginateDescribePrincipalIdFormat; +exports.paginateDescribePublicIpv4Pools = paginateDescribePublicIpv4Pools; +exports.paginateDescribeReplaceRootVolumeTasks = paginateDescribeReplaceRootVolumeTasks; +exports.paginateDescribeReservedInstancesModifications = paginateDescribeReservedInstancesModifications; +exports.paginateDescribeReservedInstancesOfferings = paginateDescribeReservedInstancesOfferings; +exports.paginateDescribeRouteServerEndpoints = paginateDescribeRouteServerEndpoints; +exports.paginateDescribeRouteServerPeers = paginateDescribeRouteServerPeers; +exports.paginateDescribeRouteServers = paginateDescribeRouteServers; +exports.paginateDescribeRouteTables = paginateDescribeRouteTables; +exports.paginateDescribeScheduledInstanceAvailability = paginateDescribeScheduledInstanceAvailability; +exports.paginateDescribeScheduledInstances = paginateDescribeScheduledInstances; +exports.paginateDescribeSecondaryInterfaces = paginateDescribeSecondaryInterfaces; +exports.paginateDescribeSecondaryNetworks = paginateDescribeSecondaryNetworks; +exports.paginateDescribeSecondarySubnets = paginateDescribeSecondarySubnets; +exports.paginateDescribeSecurityGroupRules = paginateDescribeSecurityGroupRules; +exports.paginateDescribeSecurityGroupVpcAssociations = paginateDescribeSecurityGroupVpcAssociations; +exports.paginateDescribeSecurityGroups = paginateDescribeSecurityGroups; +exports.paginateDescribeSnapshotTierStatus = paginateDescribeSnapshotTierStatus; +exports.paginateDescribeSnapshots = paginateDescribeSnapshots; +exports.paginateDescribeSpotFleetRequests = paginateDescribeSpotFleetRequests; +exports.paginateDescribeSpotInstanceRequests = paginateDescribeSpotInstanceRequests; +exports.paginateDescribeSpotPriceHistory = paginateDescribeSpotPriceHistory; +exports.paginateDescribeStaleSecurityGroups = paginateDescribeStaleSecurityGroups; +exports.paginateDescribeStoreImageTasks = paginateDescribeStoreImageTasks; +exports.paginateDescribeSubnets = paginateDescribeSubnets; +exports.paginateDescribeTags = paginateDescribeTags; +exports.paginateDescribeTrafficMirrorFilters = paginateDescribeTrafficMirrorFilters; +exports.paginateDescribeTrafficMirrorSessions = paginateDescribeTrafficMirrorSessions; +exports.paginateDescribeTrafficMirrorTargets = paginateDescribeTrafficMirrorTargets; +exports.paginateDescribeTransitGatewayAttachments = paginateDescribeTransitGatewayAttachments; +exports.paginateDescribeTransitGatewayConnectPeers = paginateDescribeTransitGatewayConnectPeers; +exports.paginateDescribeTransitGatewayConnects = paginateDescribeTransitGatewayConnects; +exports.paginateDescribeTransitGatewayMulticastDomains = paginateDescribeTransitGatewayMulticastDomains; +exports.paginateDescribeTransitGatewayPeeringAttachments = paginateDescribeTransitGatewayPeeringAttachments; +exports.paginateDescribeTransitGatewayPolicyTables = paginateDescribeTransitGatewayPolicyTables; +exports.paginateDescribeTransitGatewayRouteTableAnnouncements = paginateDescribeTransitGatewayRouteTableAnnouncements; +exports.paginateDescribeTransitGatewayRouteTables = paginateDescribeTransitGatewayRouteTables; +exports.paginateDescribeTransitGatewayVpcAttachments = paginateDescribeTransitGatewayVpcAttachments; +exports.paginateDescribeTransitGateways = paginateDescribeTransitGateways; +exports.paginateDescribeTrunkInterfaceAssociations = paginateDescribeTrunkInterfaceAssociations; +exports.paginateDescribeVerifiedAccessEndpoints = paginateDescribeVerifiedAccessEndpoints; +exports.paginateDescribeVerifiedAccessGroups = paginateDescribeVerifiedAccessGroups; +exports.paginateDescribeVerifiedAccessInstanceLoggingConfigurations = paginateDescribeVerifiedAccessInstanceLoggingConfigurations; +exports.paginateDescribeVerifiedAccessInstances = paginateDescribeVerifiedAccessInstances; +exports.paginateDescribeVerifiedAccessTrustProviders = paginateDescribeVerifiedAccessTrustProviders; +exports.paginateDescribeVolumeStatus = paginateDescribeVolumeStatus; +exports.paginateDescribeVolumes = paginateDescribeVolumes; +exports.paginateDescribeVolumesModifications = paginateDescribeVolumesModifications; +exports.paginateDescribeVpcClassicLinkDnsSupport = paginateDescribeVpcClassicLinkDnsSupport; +exports.paginateDescribeVpcEndpointConnectionNotifications = paginateDescribeVpcEndpointConnectionNotifications; +exports.paginateDescribeVpcEndpointConnections = paginateDescribeVpcEndpointConnections; +exports.paginateDescribeVpcEndpointServiceConfigurations = paginateDescribeVpcEndpointServiceConfigurations; +exports.paginateDescribeVpcEndpointServicePermissions = paginateDescribeVpcEndpointServicePermissions; +exports.paginateDescribeVpcEndpoints = paginateDescribeVpcEndpoints; +exports.paginateDescribeVpcPeeringConnections = paginateDescribeVpcPeeringConnections; +exports.paginateDescribeVpcs = paginateDescribeVpcs; +exports.paginateDescribeVpnConcentrators = paginateDescribeVpnConcentrators; +exports.paginateGetAssociatedIpv6PoolCidrs = paginateGetAssociatedIpv6PoolCidrs; +exports.paginateGetAwsNetworkPerformanceData = paginateGetAwsNetworkPerformanceData; +exports.paginateGetCapacityManagerMetricData = paginateGetCapacityManagerMetricData; +exports.paginateGetCapacityManagerMetricDimensions = paginateGetCapacityManagerMetricDimensions; +exports.paginateGetCapacityManagerMonitoredTagKeys = paginateGetCapacityManagerMonitoredTagKeys; +exports.paginateGetGroupsForCapacityReservation = paginateGetGroupsForCapacityReservation; +exports.paginateGetInstanceTypesFromInstanceRequirements = paginateGetInstanceTypesFromInstanceRequirements; +exports.paginateGetIpamAddressHistory = paginateGetIpamAddressHistory; +exports.paginateGetIpamDiscoveredAccounts = paginateGetIpamDiscoveredAccounts; +exports.paginateGetIpamDiscoveredResourceCidrs = paginateGetIpamDiscoveredResourceCidrs; +exports.paginateGetIpamPoolAllocations = paginateGetIpamPoolAllocations; +exports.paginateGetIpamPoolCidrs = paginateGetIpamPoolCidrs; +exports.paginateGetIpamPrefixListResolverRules = paginateGetIpamPrefixListResolverRules; +exports.paginateGetIpamPrefixListResolverVersionEntries = paginateGetIpamPrefixListResolverVersionEntries; +exports.paginateGetIpamPrefixListResolverVersions = paginateGetIpamPrefixListResolverVersions; +exports.paginateGetIpamResourceCidrs = paginateGetIpamResourceCidrs; +exports.paginateGetManagedPrefixListAssociations = paginateGetManagedPrefixListAssociations; +exports.paginateGetManagedPrefixListEntries = paginateGetManagedPrefixListEntries; +exports.paginateGetNetworkInsightsAccessScopeAnalysisFindings = paginateGetNetworkInsightsAccessScopeAnalysisFindings; +exports.paginateGetSecurityGroupsForVpc = paginateGetSecurityGroupsForVpc; +exports.paginateGetSpotPlacementScores = paginateGetSpotPlacementScores; +exports.paginateGetTransitGatewayAttachmentPropagations = paginateGetTransitGatewayAttachmentPropagations; +exports.paginateGetTransitGatewayMulticastDomainAssociations = paginateGetTransitGatewayMulticastDomainAssociations; +exports.paginateGetTransitGatewayPolicyTableAssociations = paginateGetTransitGatewayPolicyTableAssociations; +exports.paginateGetTransitGatewayPrefixListReferences = paginateGetTransitGatewayPrefixListReferences; +exports.paginateGetTransitGatewayRouteTableAssociations = paginateGetTransitGatewayRouteTableAssociations; +exports.paginateGetTransitGatewayRouteTablePropagations = paginateGetTransitGatewayRouteTablePropagations; +exports.paginateGetVpnConnectionDeviceTypes = paginateGetVpnConnectionDeviceTypes; +exports.paginateListImagesInRecycleBin = paginateListImagesInRecycleBin; +exports.paginateListSnapshotsInRecycleBin = paginateListSnapshotsInRecycleBin; +exports.paginateSearchLocalGatewayRoutes = paginateSearchLocalGatewayRoutes; +exports.paginateSearchTransitGatewayMulticastGroups = paginateSearchTransitGatewayMulticastGroups; +exports.paginateSearchTransitGatewayRoutes = paginateSearchTransitGatewayRoutes; +exports.waitForBundleTaskComplete = waitForBundleTaskComplete; +exports.waitForConversionTaskCancelled = waitForConversionTaskCancelled; +exports.waitForConversionTaskCompleted = waitForConversionTaskCompleted; +exports.waitForConversionTaskDeleted = waitForConversionTaskDeleted; +exports.waitForCustomerGatewayAvailable = waitForCustomerGatewayAvailable; +exports.waitForExportTaskCancelled = waitForExportTaskCancelled; +exports.waitForExportTaskCompleted = waitForExportTaskCompleted; +exports.waitForImageAvailable = waitForImageAvailable; +exports.waitForImageExists = waitForImageExists; +exports.waitForImageUsageReportAvailable = waitForImageUsageReportAvailable; +exports.waitForInstanceExists = waitForInstanceExists; +exports.waitForInstanceRunning = waitForInstanceRunning; +exports.waitForInstanceStatusOk = waitForInstanceStatusOk; +exports.waitForInstanceStopped = waitForInstanceStopped; +exports.waitForInstanceTerminated = waitForInstanceTerminated; +exports.waitForInternetGatewayExists = waitForInternetGatewayExists; +exports.waitForKeyPairExists = waitForKeyPairExists; +exports.waitForNatGatewayAvailable = waitForNatGatewayAvailable; +exports.waitForNatGatewayDeleted = waitForNatGatewayDeleted; +exports.waitForNetworkInterfaceAvailable = waitForNetworkInterfaceAvailable; +exports.waitForPasswordDataAvailable = waitForPasswordDataAvailable; +exports.waitForSecondaryNetworkCreateComplete = waitForSecondaryNetworkCreateComplete; +exports.waitForSecondaryNetworkDeleteComplete = waitForSecondaryNetworkDeleteComplete; +exports.waitForSecondarySubnetCreateComplete = waitForSecondarySubnetCreateComplete; +exports.waitForSecondarySubnetDeleteComplete = waitForSecondarySubnetDeleteComplete; +exports.waitForSecurityGroupExists = waitForSecurityGroupExists; +exports.waitForSecurityGroupVpcAssociationAssociated = waitForSecurityGroupVpcAssociationAssociated; +exports.waitForSecurityGroupVpcAssociationDisassociated = waitForSecurityGroupVpcAssociationDisassociated; +exports.waitForSnapshotCompleted = waitForSnapshotCompleted; +exports.waitForSnapshotImported = waitForSnapshotImported; +exports.waitForSpotInstanceRequestFulfilled = waitForSpotInstanceRequestFulfilled; +exports.waitForStoreImageTaskComplete = waitForStoreImageTaskComplete; +exports.waitForSubnetAvailable = waitForSubnetAvailable; +exports.waitForSystemStatusOk = waitForSystemStatusOk; +exports.waitForVolumeAvailable = waitForVolumeAvailable; +exports.waitForVolumeDeleted = waitForVolumeDeleted; +exports.waitForVolumeInUse = waitForVolumeInUse; +exports.waitForVpcAvailable = waitForVpcAvailable; +exports.waitForVpcExists = waitForVpcExists; +exports.waitForVpcPeeringConnectionDeleted = waitForVpcPeeringConnectionDeleted; +exports.waitForVpcPeeringConnectionExists = waitForVpcPeeringConnectionExists; +exports.waitForVpnConnectionAvailable = waitForVpnConnectionAvailable; +exports.waitForVpnConnectionDeleted = waitForVpnConnectionDeleted; +exports.waitUntilBundleTaskComplete = waitUntilBundleTaskComplete; +exports.waitUntilConversionTaskCancelled = waitUntilConversionTaskCancelled; +exports.waitUntilConversionTaskCompleted = waitUntilConversionTaskCompleted; +exports.waitUntilConversionTaskDeleted = waitUntilConversionTaskDeleted; +exports.waitUntilCustomerGatewayAvailable = waitUntilCustomerGatewayAvailable; +exports.waitUntilExportTaskCancelled = waitUntilExportTaskCancelled; +exports.waitUntilExportTaskCompleted = waitUntilExportTaskCompleted; +exports.waitUntilImageAvailable = waitUntilImageAvailable; +exports.waitUntilImageExists = waitUntilImageExists; +exports.waitUntilImageUsageReportAvailable = waitUntilImageUsageReportAvailable; +exports.waitUntilInstanceExists = waitUntilInstanceExists; +exports.waitUntilInstanceRunning = waitUntilInstanceRunning; +exports.waitUntilInstanceStatusOk = waitUntilInstanceStatusOk; +exports.waitUntilInstanceStopped = waitUntilInstanceStopped; +exports.waitUntilInstanceTerminated = waitUntilInstanceTerminated; +exports.waitUntilInternetGatewayExists = waitUntilInternetGatewayExists; +exports.waitUntilKeyPairExists = waitUntilKeyPairExists; +exports.waitUntilNatGatewayAvailable = waitUntilNatGatewayAvailable; +exports.waitUntilNatGatewayDeleted = waitUntilNatGatewayDeleted; +exports.waitUntilNetworkInterfaceAvailable = waitUntilNetworkInterfaceAvailable; +exports.waitUntilPasswordDataAvailable = waitUntilPasswordDataAvailable; +exports.waitUntilSecondaryNetworkCreateComplete = waitUntilSecondaryNetworkCreateComplete; +exports.waitUntilSecondaryNetworkDeleteComplete = waitUntilSecondaryNetworkDeleteComplete; +exports.waitUntilSecondarySubnetCreateComplete = waitUntilSecondarySubnetCreateComplete; +exports.waitUntilSecondarySubnetDeleteComplete = waitUntilSecondarySubnetDeleteComplete; +exports.waitUntilSecurityGroupExists = waitUntilSecurityGroupExists; +exports.waitUntilSecurityGroupVpcAssociationAssociated = waitUntilSecurityGroupVpcAssociationAssociated; +exports.waitUntilSecurityGroupVpcAssociationDisassociated = waitUntilSecurityGroupVpcAssociationDisassociated; +exports.waitUntilSnapshotCompleted = waitUntilSnapshotCompleted; +exports.waitUntilSnapshotImported = waitUntilSnapshotImported; +exports.waitUntilSpotInstanceRequestFulfilled = waitUntilSpotInstanceRequestFulfilled; +exports.waitUntilStoreImageTaskComplete = waitUntilStoreImageTaskComplete; +exports.waitUntilSubnetAvailable = waitUntilSubnetAvailable; +exports.waitUntilSystemStatusOk = waitUntilSystemStatusOk; +exports.waitUntilVolumeAvailable = waitUntilVolumeAvailable; +exports.waitUntilVolumeDeleted = waitUntilVolumeDeleted; +exports.waitUntilVolumeInUse = waitUntilVolumeInUse; +exports.waitUntilVpcAvailable = waitUntilVpcAvailable; +exports.waitUntilVpcExists = waitUntilVpcExists; +exports.waitUntilVpcPeeringConnectionDeleted = waitUntilVpcPeeringConnectionDeleted; +exports.waitUntilVpcPeeringConnectionExists = waitUntilVpcPeeringConnectionExists; +exports.waitUntilVpnConnectionAvailable = waitUntilVpnConnectionAvailable; +exports.waitUntilVpnConnectionDeleted = waitUntilVpnConnectionDeleted; +Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: schemas_0['__proto__'] + }); + +Object.keys(schemas_0).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; +}); + + +/***/ }), + +/***/ 2813: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.EC2ServiceException = exports.__ServiceException = void 0; +const smithy_client_1 = __nccwpck_require__(3570); +Object.defineProperty(exports, "__ServiceException", ({ enumerable: true, get: function () { return smithy_client_1.ServiceException; } })); +class EC2ServiceException extends smithy_client_1.ServiceException { + constructor(options) { + super(options); + Object.setPrototypeOf(this, EC2ServiceException.prototype); + } +} +exports.EC2ServiceException = EC2ServiceException; + + +/***/ }), + +/***/ 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 client_1 = __nccwpck_require__(2825); +const httpAuthSchemes_1 = __nccwpck_require__(7862); +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 smithy_client_1 = __nccwpck_require__(3570); +const util_body_length_node_1 = __nccwpck_require__(8075); +const util_defaults_mode_node_1 = __nccwpck_require__(2429); +const util_retry_1 = __nccwpck_require__(4902); +const runtimeConfig_shared_1 = __nccwpck_require__(8970); +const getRuntimeConfig = (config) => { + (0, smithy_client_1.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, client_1.emitWarningIfUnsupportedVersion)(process.version); + const loaderConfig = { + profile: config?.profile, + logger: clientSharedValues.logger, + }; + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), + region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), + 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, + }, config), + 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, loaderConfig), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 8970: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const httpAuthSchemes_1 = __nccwpck_require__(7862); +const protocols_1 = __nccwpck_require__(785); +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 schemas_0_1 = __nccwpck_require__(715); +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 httpAuthSchemes_1.AwsSdkSigV4Signer(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + protocol: config?.protocol ?? protocols_1.AwsEc2QueryProtocol, + protocolSettings: config?.protocolSettings ?? { + defaultNamespace: "com.amazonaws.ec2", + errorTypeRegistries: schemas_0_1.errorTypeRegistries, + xmlNamespace: "http://ec2.amazonaws.com/doc/2016-11-15", + version: "2016-11-15", + serviceTarget: "AmazonEC2", + }, + 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; + + +/***/ }), + +/***/ 715: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; -const VERSION = "4.15.1"; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AnalysisLoadBalancerListener$ = exports.AnalysisComponent$ = exports.AnalysisAclRule$ = exports.AlternatePathHint$ = exports.AllowedPrincipal$ = exports.AllocateIpamPoolCidrResult$ = exports.AllocateIpamPoolCidrRequest$ = exports.AllocateHostsResult$ = exports.AllocateHostsRequest$ = exports.AllocateAddressResult$ = exports.AllocateAddressRequest$ = exports.AdvertiseByoipCidrResult$ = exports.AdvertiseByoipCidrRequest$ = exports.AddressTransfer$ = exports.AddressAttribute$ = exports.Address$ = exports.AddPrefixListEntry$ = exports.AdditionalDetail$ = exports.AddIpamOrganizationalUnitExclusion$ = exports.AddIpamOperatingRegion$ = exports.AddedPrincipal$ = exports.ActiveVpnTunnelStatus$ = exports.ActiveInstance$ = exports.AccountAttributeValue$ = exports.AccountAttribute$ = exports.AccessScopePathRequest$ = exports.AccessScopePath$ = exports.AccessScopeAnalysisFinding$ = exports.AcceptVpcPeeringConnectionResult$ = exports.AcceptVpcPeeringConnectionRequest$ = exports.AcceptVpcEndpointConnectionsResult$ = exports.AcceptVpcEndpointConnectionsRequest$ = exports.AcceptTransitGatewayVpcAttachmentResult$ = exports.AcceptTransitGatewayVpcAttachmentRequest$ = exports.AcceptTransitGatewayPeeringAttachmentResult$ = exports.AcceptTransitGatewayPeeringAttachmentRequest$ = exports.AcceptTransitGatewayMulticastDomainAssociationsResult$ = exports.AcceptTransitGatewayMulticastDomainAssociationsRequest$ = exports.AcceptReservedInstancesExchangeQuoteResult$ = exports.AcceptReservedInstancesExchangeQuoteRequest$ = exports.AcceptCapacityReservationBillingOwnershipResult$ = exports.AcceptCapacityReservationBillingOwnershipRequest$ = exports.AcceptAddressTransferResult$ = exports.AcceptAddressTransferRequest$ = exports.AcceleratorTotalMemoryMiBRequest$ = exports.AcceleratorTotalMemoryMiB$ = exports.AcceleratorCountRequest$ = exports.AcceleratorCount$ = exports.errorTypeRegistries = exports.EC2ServiceException$ = void 0; +exports.AssociateTransitGatewayRouteTableResult$ = exports.AssociateTransitGatewayRouteTableRequest$ = exports.AssociateTransitGatewayPolicyTableResult$ = exports.AssociateTransitGatewayPolicyTableRequest$ = exports.AssociateTransitGatewayMulticastDomainResult$ = exports.AssociateTransitGatewayMulticastDomainRequest$ = exports.AssociateSubnetCidrBlockResult$ = exports.AssociateSubnetCidrBlockRequest$ = exports.AssociateSecurityGroupVpcResult$ = exports.AssociateSecurityGroupVpcRequest$ = exports.AssociateRouteTableResult$ = exports.AssociateRouteTableRequest$ = exports.AssociateRouteServerResult$ = exports.AssociateRouteServerRequest$ = exports.AssociateNatGatewayAddressResult$ = exports.AssociateNatGatewayAddressRequest$ = exports.AssociateIpamResourceDiscoveryResult$ = exports.AssociateIpamResourceDiscoveryRequest$ = exports.AssociateIpamByoasnResult$ = exports.AssociateIpamByoasnRequest$ = exports.AssociateInstanceEventWindowResult$ = exports.AssociateInstanceEventWindowRequest$ = exports.AssociateIamInstanceProfileResult$ = exports.AssociateIamInstanceProfileRequest$ = exports.AssociateEnclaveCertificateIamRoleResult$ = exports.AssociateEnclaveCertificateIamRoleRequest$ = exports.AssociatedTargetNetwork$ = exports.AssociatedRole$ = exports.AssociateDhcpOptionsRequest$ = exports.AssociateClientVpnTargetNetworkResult$ = exports.AssociateClientVpnTargetNetworkRequest$ = exports.AssociateCapacityReservationBillingOwnerResult$ = exports.AssociateCapacityReservationBillingOwnerRequest$ = exports.AssociateAddressResult$ = exports.AssociateAddressRequest$ = exports.AssignPrivateNatGatewayAddressResult$ = exports.AssignPrivateNatGatewayAddressRequest$ = exports.AssignPrivateIpAddressesResult$ = exports.AssignPrivateIpAddressesRequest$ = exports.AssignIpv6AddressesResult$ = exports.AssignIpv6AddressesRequest$ = exports.AssignedPrivateIpAddress$ = exports.AsnAuthorizationContext$ = exports.AsnAssociation$ = exports.ApplySecurityGroupsToClientVpnTargetNetworkResult$ = exports.ApplySecurityGroupsToClientVpnTargetNetworkRequest$ = exports.AnalysisSecurityGroupRule$ = exports.AnalysisRouteTableRoute$ = exports.AnalysisPacketHeader$ = exports.AnalysisLoadBalancerTarget$ = void 0; +exports.CancelBundleTaskResult$ = exports.CancelBundleTaskRequest$ = exports.ByoipCidr$ = exports.Byoasn$ = exports.BundleTaskError$ = exports.BundleTask$ = exports.BundleInstanceResult$ = exports.BundleInstanceRequest$ = exports.BlockPublicAccessStates$ = exports.BlockDeviceMappingResponse$ = exports.BlockDeviceMapping$ = exports.BlobAttributeValue$ = exports.BaselinePerformanceFactorsRequest$ = exports.BaselinePerformanceFactors$ = exports.BaselineEbsBandwidthMbpsRequest$ = exports.BaselineEbsBandwidthMbps$ = exports.AvailableCapacity$ = exports.AvailabilityZoneSubGeography$ = exports.AvailabilityZoneMessage$ = exports.AvailabilityZoneGeography$ = exports.AvailabilityZoneAddress$ = exports.AvailabilityZone$ = exports.AuthorizeSecurityGroupIngressResult$ = exports.AuthorizeSecurityGroupIngressRequest$ = exports.AuthorizeSecurityGroupEgressResult$ = exports.AuthorizeSecurityGroupEgressRequest$ = exports.AuthorizeClientVpnIngressResult$ = exports.AuthorizeClientVpnIngressRequest$ = exports.AuthorizationRule$ = exports.AttributeValue$ = exports.AttributeSummary$ = exports.AttributeBooleanValue$ = exports.AttachVpnGatewayResult$ = exports.AttachVpnGatewayRequest$ = exports.AttachVolumeRequest$ = exports.AttachVerifiedAccessTrustProviderResult$ = exports.AttachVerifiedAccessTrustProviderRequest$ = exports.AttachNetworkInterfaceResult$ = exports.AttachNetworkInterfaceRequest$ = exports.AttachmentEnaSrdUdpSpecification$ = exports.AttachmentEnaSrdSpecification$ = exports.AttachInternetGatewayRequest$ = exports.AttachClassicLinkVpcResult$ = exports.AttachClassicLinkVpcRequest$ = exports.AthenaIntegration$ = exports.AssociationStatus$ = exports.AssociateVpcCidrBlockResult$ = exports.AssociateVpcCidrBlockRequest$ = exports.AssociateTrunkInterfaceResult$ = exports.AssociateTrunkInterfaceRequest$ = void 0; +exports.CapacityReservationTopology$ = exports.CapacityReservationTargetResponse$ = exports.CapacityReservationTarget$ = exports.CapacityReservationStatus$ = exports.CapacityReservationSpecificationResponse$ = exports.CapacityReservationSpecification$ = exports.CapacityReservationOptionsRequest$ = exports.CapacityReservationOptions$ = exports.CapacityReservationInfo$ = exports.CapacityReservationGroup$ = exports.CapacityReservationFleetCancellationState$ = exports.CapacityReservationFleet$ = exports.CapacityReservationCommitmentInfo$ = exports.CapacityReservationBillingRequest$ = exports.CapacityReservation$ = exports.CapacityManagerTagDimension$ = exports.CapacityManagerMonitoredTagKey$ = exports.CapacityManagerDimension$ = exports.CapacityManagerDataExportResponse$ = exports.CapacityManagerCondition$ = exports.CapacityBlockStatus$ = exports.CapacityBlockOffering$ = exports.CapacityBlockExtensionOffering$ = exports.CapacityBlockExtension$ = exports.CapacityBlock$ = exports.CapacityAllocationMetadataEntry$ = exports.CapacityAllocation$ = exports.CancelSpotInstanceRequestsResult$ = exports.CancelSpotInstanceRequestsRequest$ = exports.CancelSpotFleetRequestsSuccessItem$ = exports.CancelSpotFleetRequestsResponse$ = exports.CancelSpotFleetRequestsRequest$ = exports.CancelSpotFleetRequestsErrorItem$ = exports.CancelSpotFleetRequestsError$ = exports.CancelReservedInstancesListingResult$ = exports.CancelReservedInstancesListingRequest$ = exports.CancelledSpotInstanceRequest$ = exports.CancelImportTaskResult$ = exports.CancelImportTaskRequest$ = exports.CancelImageLaunchPermissionResult$ = exports.CancelImageLaunchPermissionRequest$ = exports.CancelExportTaskRequest$ = exports.CancelDeclarativePoliciesReportResult$ = exports.CancelDeclarativePoliciesReportRequest$ = exports.CancelConversionRequest$ = exports.CancelCapacityReservationResult$ = exports.CancelCapacityReservationRequest$ = exports.CancelCapacityReservationFleetsResult$ = exports.CancelCapacityReservationFleetsRequest$ = exports.CancelCapacityReservationFleetError$ = void 0; +exports.CopyVolumesResult$ = exports.CopyVolumesRequest$ = exports.CopySnapshotResult$ = exports.CopySnapshotRequest$ = exports.CopyImageResult$ = exports.CopyImageRequest$ = exports.CopyFpgaImageResult$ = exports.CopyFpgaImageRequest$ = exports.ConversionTask$ = exports.ConnectionTrackingSpecificationResponse$ = exports.ConnectionTrackingSpecificationRequest$ = exports.ConnectionTrackingSpecification$ = exports.ConnectionTrackingConfiguration$ = exports.ConnectionNotification$ = exports.ConnectionLogResponseOptions$ = exports.ConnectionLogOptions$ = exports.ConfirmProductInstanceResult$ = exports.ConfirmProductInstanceRequest$ = exports.CoipPool$ = exports.CoipCidr$ = exports.CoipAddressUsage$ = exports.CloudWatchLogOptionsSpecification$ = exports.CloudWatchLogOptions$ = exports.ClientVpnRouteStatus$ = exports.ClientVpnRoute$ = exports.ClientVpnEndpointStatus$ = exports.ClientVpnEndpointAttributeStatus$ = exports.ClientVpnEndpoint$ = exports.ClientVpnConnectionStatus$ = exports.ClientVpnConnection$ = exports.ClientVpnAuthorizationRuleStatus$ = exports.ClientVpnAuthenticationRequest$ = exports.ClientVpnAuthentication$ = exports.ClientRouteEnforcementResponseOptions$ = exports.ClientRouteEnforcementOptions$ = exports.ClientLoginBannerResponseOptions$ = exports.ClientLoginBannerOptions$ = exports.ClientData$ = exports.ClientConnectResponseOptions$ = exports.ClientConnectOptions$ = exports.ClientCertificateRevocationListStatus$ = exports.ClassicLoadBalancersConfig$ = exports.ClassicLoadBalancer$ = exports.ClassicLinkInstance$ = exports.ClassicLinkDnsSupport$ = exports.CidrBlock$ = exports.CidrAuthorizationContext$ = exports.CertificateAuthenticationRequest$ = exports.CertificateAuthentication$ = exports.CarrierGateway$ = void 0; +exports.CreateInstanceEventWindowResult$ = exports.CreateInstanceEventWindowRequest$ = exports.CreateInstanceConnectEndpointResult$ = exports.CreateInstanceConnectEndpointRequest$ = exports.CreateImageUsageReportResult$ = exports.CreateImageUsageReportRequest$ = exports.CreateImageResult$ = exports.CreateImageRequest$ = exports.CreateFpgaImageResult$ = exports.CreateFpgaImageRequest$ = exports.CreateFlowLogsResult$ = exports.CreateFlowLogsRequest$ = exports.CreateFleetResult$ = exports.CreateFleetRequest$ = exports.CreateFleetInstance$ = exports.CreateFleetError$ = exports.CreateEgressOnlyInternetGatewayResult$ = exports.CreateEgressOnlyInternetGatewayRequest$ = exports.CreateDhcpOptionsResult$ = exports.CreateDhcpOptionsRequest$ = exports.CreateDelegateMacVolumeOwnershipTaskResult$ = exports.CreateDelegateMacVolumeOwnershipTaskRequest$ = exports.CreateDefaultVpcResult$ = exports.CreateDefaultVpcRequest$ = exports.CreateDefaultSubnetResult$ = exports.CreateDefaultSubnetRequest$ = exports.CreateCustomerGatewayResult$ = exports.CreateCustomerGatewayRequest$ = exports.CreateCoipPoolResult$ = exports.CreateCoipPoolRequest$ = exports.CreateCoipCidrResult$ = exports.CreateCoipCidrRequest$ = exports.CreateClientVpnRouteResult$ = exports.CreateClientVpnRouteRequest$ = exports.CreateClientVpnEndpointResult$ = exports.CreateClientVpnEndpointRequest$ = exports.CreateCarrierGatewayResult$ = exports.CreateCarrierGatewayRequest$ = exports.CreateCapacityReservationResult$ = exports.CreateCapacityReservationRequest$ = exports.CreateCapacityReservationFleetResult$ = exports.CreateCapacityReservationFleetRequest$ = exports.CreateCapacityReservationBySplittingResult$ = exports.CreateCapacityReservationBySplittingRequest$ = exports.CreateCapacityManagerDataExportResult$ = exports.CreateCapacityManagerDataExportRequest$ = exports.CpuPerformanceFactorRequest$ = exports.CpuPerformanceFactor$ = exports.CpuOptionsRequest$ = exports.CpuOptions$ = void 0; +exports.CreateNetworkInsightsAccessScopeResult$ = exports.CreateNetworkInsightsAccessScopeRequest$ = exports.CreateNetworkAclResult$ = exports.CreateNetworkAclRequest$ = exports.CreateNetworkAclEntryRequest$ = exports.CreateNatGatewayResult$ = exports.CreateNatGatewayRequest$ = exports.CreateManagedPrefixListResult$ = exports.CreateManagedPrefixListRequest$ = exports.CreateMacSystemIntegrityProtectionModificationTaskResult$ = exports.CreateMacSystemIntegrityProtectionModificationTaskRequest$ = exports.CreateLocalGatewayVirtualInterfaceResult$ = exports.CreateLocalGatewayVirtualInterfaceRequest$ = exports.CreateLocalGatewayVirtualInterfaceGroupResult$ = exports.CreateLocalGatewayVirtualInterfaceGroupRequest$ = exports.CreateLocalGatewayRouteTableVpcAssociationResult$ = exports.CreateLocalGatewayRouteTableVpcAssociationRequest$ = exports.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult$ = exports.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest$ = exports.CreateLocalGatewayRouteTableResult$ = exports.CreateLocalGatewayRouteTableRequest$ = exports.CreateLocalGatewayRouteResult$ = exports.CreateLocalGatewayRouteRequest$ = exports.CreateLaunchTemplateVersionResult$ = exports.CreateLaunchTemplateVersionRequest$ = exports.CreateLaunchTemplateResult$ = exports.CreateLaunchTemplateRequest$ = exports.CreateKeyPairRequest$ = exports.CreateIpamScopeResult$ = exports.CreateIpamScopeRequest$ = exports.CreateIpamResult$ = exports.CreateIpamResourceDiscoveryResult$ = exports.CreateIpamResourceDiscoveryRequest$ = exports.CreateIpamRequest$ = exports.CreateIpamPrefixListResolverTargetResult$ = exports.CreateIpamPrefixListResolverTargetRequest$ = exports.CreateIpamPrefixListResolverResult$ = exports.CreateIpamPrefixListResolverRequest$ = exports.CreateIpamPoolResult$ = exports.CreateIpamPoolRequest$ = exports.CreateIpamPolicyResult$ = exports.CreateIpamPolicyRequest$ = exports.CreateIpamExternalResourceVerificationTokenResult$ = exports.CreateIpamExternalResourceVerificationTokenRequest$ = exports.CreateInterruptibleCapacityReservationAllocationResult$ = exports.CreateInterruptibleCapacityReservationAllocationRequest$ = exports.CreateInternetGatewayResult$ = exports.CreateInternetGatewayRequest$ = exports.CreateInstanceExportTaskResult$ = exports.CreateInstanceExportTaskRequest$ = void 0; +exports.CreateTrafficMirrorSessionResult$ = exports.CreateTrafficMirrorSessionRequest$ = exports.CreateTrafficMirrorFilterRuleResult$ = exports.CreateTrafficMirrorFilterRuleRequest$ = exports.CreateTrafficMirrorFilterResult$ = exports.CreateTrafficMirrorFilterRequest$ = exports.CreateTagsRequest$ = exports.CreateSubnetResult$ = exports.CreateSubnetRequest$ = exports.CreateSubnetCidrReservationResult$ = exports.CreateSubnetCidrReservationRequest$ = exports.CreateStoreImageTaskResult$ = exports.CreateStoreImageTaskRequest$ = exports.CreateSpotDatafeedSubscriptionResult$ = exports.CreateSpotDatafeedSubscriptionRequest$ = exports.CreateSnapshotsResult$ = exports.CreateSnapshotsRequest$ = exports.CreateSnapshotRequest$ = exports.CreateSecurityGroupResult$ = exports.CreateSecurityGroupRequest$ = exports.CreateSecondarySubnetResult$ = exports.CreateSecondarySubnetRequest$ = exports.CreateSecondaryNetworkResult$ = exports.CreateSecondaryNetworkRequest$ = exports.CreateRouteTableResult$ = exports.CreateRouteTableRequest$ = exports.CreateRouteServerResult$ = exports.CreateRouteServerRequest$ = exports.CreateRouteServerPeerResult$ = exports.CreateRouteServerPeerRequest$ = exports.CreateRouteServerEndpointResult$ = exports.CreateRouteServerEndpointRequest$ = exports.CreateRouteResult$ = exports.CreateRouteRequest$ = exports.CreateRestoreImageTaskResult$ = exports.CreateRestoreImageTaskRequest$ = exports.CreateReservedInstancesListingResult$ = exports.CreateReservedInstancesListingRequest$ = exports.CreateReplaceRootVolumeTaskResult$ = exports.CreateReplaceRootVolumeTaskRequest$ = exports.CreatePublicIpv4PoolResult$ = exports.CreatePublicIpv4PoolRequest$ = exports.CreatePlacementGroupResult$ = exports.CreatePlacementGroupRequest$ = exports.CreateNetworkInterfaceResult$ = exports.CreateNetworkInterfaceRequest$ = exports.CreateNetworkInterfacePermissionResult$ = exports.CreateNetworkInterfacePermissionRequest$ = exports.CreateNetworkInsightsPathResult$ = exports.CreateNetworkInsightsPathRequest$ = void 0; +exports.CreateVolumePermissionModifications$ = exports.CreateVolumePermission$ = exports.CreateVerifiedAccessTrustProviderResult$ = exports.CreateVerifiedAccessTrustProviderRequest$ = exports.CreateVerifiedAccessTrustProviderOidcOptions$ = exports.CreateVerifiedAccessTrustProviderDeviceOptions$ = exports.CreateVerifiedAccessNativeApplicationOidcOptions$ = exports.CreateVerifiedAccessInstanceResult$ = exports.CreateVerifiedAccessInstanceRequest$ = exports.CreateVerifiedAccessGroupResult$ = exports.CreateVerifiedAccessGroupRequest$ = exports.CreateVerifiedAccessEndpointResult$ = exports.CreateVerifiedAccessEndpointRequest$ = exports.CreateVerifiedAccessEndpointRdsOptions$ = exports.CreateVerifiedAccessEndpointPortRange$ = exports.CreateVerifiedAccessEndpointLoadBalancerOptions$ = exports.CreateVerifiedAccessEndpointEniOptions$ = exports.CreateVerifiedAccessEndpointCidrOptions$ = exports.CreateTransitGatewayVpcAttachmentResult$ = exports.CreateTransitGatewayVpcAttachmentRequestOptions$ = exports.CreateTransitGatewayVpcAttachmentRequest$ = exports.CreateTransitGatewayRouteTableResult$ = exports.CreateTransitGatewayRouteTableRequest$ = exports.CreateTransitGatewayRouteTableAnnouncementResult$ = exports.CreateTransitGatewayRouteTableAnnouncementRequest$ = exports.CreateTransitGatewayRouteResult$ = exports.CreateTransitGatewayRouteRequest$ = exports.CreateTransitGatewayResult$ = exports.CreateTransitGatewayRequest$ = exports.CreateTransitGatewayPrefixListReferenceResult$ = exports.CreateTransitGatewayPrefixListReferenceRequest$ = exports.CreateTransitGatewayPolicyTableResult$ = exports.CreateTransitGatewayPolicyTableRequest$ = exports.CreateTransitGatewayPeeringAttachmentResult$ = exports.CreateTransitGatewayPeeringAttachmentRequestOptions$ = exports.CreateTransitGatewayPeeringAttachmentRequest$ = exports.CreateTransitGatewayMulticastDomainResult$ = exports.CreateTransitGatewayMulticastDomainRequestOptions$ = exports.CreateTransitGatewayMulticastDomainRequest$ = exports.CreateTransitGatewayMeteringPolicyResult$ = exports.CreateTransitGatewayMeteringPolicyRequest$ = exports.CreateTransitGatewayMeteringPolicyEntryResult$ = exports.CreateTransitGatewayMeteringPolicyEntryRequest$ = exports.CreateTransitGatewayConnectResult$ = exports.CreateTransitGatewayConnectRequestOptions$ = exports.CreateTransitGatewayConnectRequest$ = exports.CreateTransitGatewayConnectPeerResult$ = exports.CreateTransitGatewayConnectPeerRequest$ = exports.CreateTrafficMirrorTargetResult$ = exports.CreateTrafficMirrorTargetRequest$ = void 0; +exports.DeleteFleetsRequest$ = exports.DeleteFleetErrorItem$ = exports.DeleteFleetError$ = exports.DeleteEgressOnlyInternetGatewayResult$ = exports.DeleteEgressOnlyInternetGatewayRequest$ = exports.DeleteDhcpOptionsRequest$ = exports.DeleteCustomerGatewayRequest$ = exports.DeleteCoipPoolResult$ = exports.DeleteCoipPoolRequest$ = exports.DeleteCoipCidrResult$ = exports.DeleteCoipCidrRequest$ = exports.DeleteClientVpnRouteResult$ = exports.DeleteClientVpnRouteRequest$ = exports.DeleteClientVpnEndpointResult$ = exports.DeleteClientVpnEndpointRequest$ = exports.DeleteCarrierGatewayResult$ = exports.DeleteCarrierGatewayRequest$ = exports.DeleteCapacityManagerDataExportResult$ = exports.DeleteCapacityManagerDataExportRequest$ = exports.DefaultConnectionTrackingConfiguration$ = exports.DeclarativePoliciesReport$ = exports.DataResponse$ = exports.DataQuery$ = exports.CustomerGateway$ = exports.CreditSpecificationRequest$ = exports.CreditSpecification$ = exports.CreationDateConditionRequest$ = exports.CreationDateCondition$ = exports.CreateVpnGatewayResult$ = exports.CreateVpnGatewayRequest$ = exports.CreateVpnConnectionRouteRequest$ = exports.CreateVpnConnectionResult$ = exports.CreateVpnConnectionRequest$ = exports.CreateVpnConcentratorResult$ = exports.CreateVpnConcentratorRequest$ = exports.CreateVpcResult$ = exports.CreateVpcRequest$ = exports.CreateVpcPeeringConnectionResult$ = exports.CreateVpcPeeringConnectionRequest$ = exports.CreateVpcEndpointServiceConfigurationResult$ = exports.CreateVpcEndpointServiceConfigurationRequest$ = exports.CreateVpcEndpointResult$ = exports.CreateVpcEndpointRequest$ = exports.CreateVpcEndpointConnectionNotificationResult$ = exports.CreateVpcEndpointConnectionNotificationRequest$ = exports.CreateVpcEncryptionControlResult$ = exports.CreateVpcEncryptionControlRequest$ = exports.CreateVpcBlockPublicAccessExclusionResult$ = exports.CreateVpcBlockPublicAccessExclusionRequest$ = exports.CreateVolumeRequest$ = void 0; +exports.DeleteManagedPrefixListRequest$ = exports.DeleteLocalGatewayVirtualInterfaceResult$ = exports.DeleteLocalGatewayVirtualInterfaceRequest$ = exports.DeleteLocalGatewayVirtualInterfaceGroupResult$ = exports.DeleteLocalGatewayVirtualInterfaceGroupRequest$ = exports.DeleteLocalGatewayRouteTableVpcAssociationResult$ = exports.DeleteLocalGatewayRouteTableVpcAssociationRequest$ = exports.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult$ = exports.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest$ = exports.DeleteLocalGatewayRouteTableResult$ = exports.DeleteLocalGatewayRouteTableRequest$ = exports.DeleteLocalGatewayRouteResult$ = exports.DeleteLocalGatewayRouteRequest$ = exports.DeleteLaunchTemplateVersionsResult$ = exports.DeleteLaunchTemplateVersionsResponseSuccessItem$ = exports.DeleteLaunchTemplateVersionsResponseErrorItem$ = exports.DeleteLaunchTemplateVersionsRequest$ = exports.DeleteLaunchTemplateResult$ = exports.DeleteLaunchTemplateRequest$ = exports.DeleteKeyPairResult$ = exports.DeleteKeyPairRequest$ = exports.DeleteIpamScopeResult$ = exports.DeleteIpamScopeRequest$ = exports.DeleteIpamResult$ = exports.DeleteIpamResourceDiscoveryResult$ = exports.DeleteIpamResourceDiscoveryRequest$ = exports.DeleteIpamRequest$ = exports.DeleteIpamPrefixListResolverTargetResult$ = exports.DeleteIpamPrefixListResolverTargetRequest$ = exports.DeleteIpamPrefixListResolverResult$ = exports.DeleteIpamPrefixListResolverRequest$ = exports.DeleteIpamPoolResult$ = exports.DeleteIpamPoolRequest$ = exports.DeleteIpamPolicyResult$ = exports.DeleteIpamPolicyRequest$ = exports.DeleteIpamExternalResourceVerificationTokenResult$ = exports.DeleteIpamExternalResourceVerificationTokenRequest$ = exports.DeleteInternetGatewayRequest$ = exports.DeleteInstanceEventWindowResult$ = exports.DeleteInstanceEventWindowRequest$ = exports.DeleteInstanceConnectEndpointResult$ = exports.DeleteInstanceConnectEndpointRequest$ = exports.DeleteImageUsageReportResult$ = exports.DeleteImageUsageReportRequest$ = exports.DeleteFpgaImageResult$ = exports.DeleteFpgaImageRequest$ = exports.DeleteFlowLogsResult$ = exports.DeleteFlowLogsRequest$ = exports.DeleteFleetSuccessItem$ = exports.DeleteFleetsResult$ = void 0; +exports.DeleteTrafficMirrorTargetRequest$ = exports.DeleteTrafficMirrorSessionResult$ = exports.DeleteTrafficMirrorSessionRequest$ = exports.DeleteTrafficMirrorFilterRuleResult$ = exports.DeleteTrafficMirrorFilterRuleRequest$ = exports.DeleteTrafficMirrorFilterResult$ = exports.DeleteTrafficMirrorFilterRequest$ = exports.DeleteTagsRequest$ = exports.DeleteSubnetRequest$ = exports.DeleteSubnetCidrReservationResult$ = exports.DeleteSubnetCidrReservationRequest$ = exports.DeleteSpotDatafeedSubscriptionRequest$ = exports.DeleteSnapshotReturnCode$ = exports.DeleteSnapshotRequest$ = exports.DeleteSecurityGroupResult$ = exports.DeleteSecurityGroupRequest$ = exports.DeleteSecondarySubnetResult$ = exports.DeleteSecondarySubnetRequest$ = exports.DeleteSecondaryNetworkResult$ = exports.DeleteSecondaryNetworkRequest$ = exports.DeleteRouteTableRequest$ = exports.DeleteRouteServerResult$ = exports.DeleteRouteServerRequest$ = exports.DeleteRouteServerPeerResult$ = exports.DeleteRouteServerPeerRequest$ = exports.DeleteRouteServerEndpointResult$ = exports.DeleteRouteServerEndpointRequest$ = exports.DeleteRouteRequest$ = exports.DeleteQueuedReservedInstancesResult$ = exports.DeleteQueuedReservedInstancesRequest$ = exports.DeleteQueuedReservedInstancesError$ = exports.DeletePublicIpv4PoolResult$ = exports.DeletePublicIpv4PoolRequest$ = exports.DeletePlacementGroupRequest$ = exports.DeleteNetworkInterfaceRequest$ = exports.DeleteNetworkInterfacePermissionResult$ = exports.DeleteNetworkInterfacePermissionRequest$ = exports.DeleteNetworkInsightsPathResult$ = exports.DeleteNetworkInsightsPathRequest$ = exports.DeleteNetworkInsightsAnalysisResult$ = exports.DeleteNetworkInsightsAnalysisRequest$ = exports.DeleteNetworkInsightsAccessScopeResult$ = exports.DeleteNetworkInsightsAccessScopeRequest$ = exports.DeleteNetworkInsightsAccessScopeAnalysisResult$ = exports.DeleteNetworkInsightsAccessScopeAnalysisRequest$ = exports.DeleteNetworkAclRequest$ = exports.DeleteNetworkAclEntryRequest$ = exports.DeleteNatGatewayResult$ = exports.DeleteNatGatewayRequest$ = exports.DeleteManagedPrefixListResult$ = void 0; +exports.DeleteVpnConcentratorRequest$ = exports.DeleteVpcRequest$ = exports.DeleteVpcPeeringConnectionResult$ = exports.DeleteVpcPeeringConnectionRequest$ = exports.DeleteVpcEndpointsResult$ = exports.DeleteVpcEndpointsRequest$ = exports.DeleteVpcEndpointServiceConfigurationsResult$ = exports.DeleteVpcEndpointServiceConfigurationsRequest$ = exports.DeleteVpcEndpointConnectionNotificationsResult$ = exports.DeleteVpcEndpointConnectionNotificationsRequest$ = exports.DeleteVpcEncryptionControlResult$ = exports.DeleteVpcEncryptionControlRequest$ = exports.DeleteVpcBlockPublicAccessExclusionResult$ = exports.DeleteVpcBlockPublicAccessExclusionRequest$ = exports.DeleteVolumeRequest$ = exports.DeleteVerifiedAccessTrustProviderResult$ = exports.DeleteVerifiedAccessTrustProviderRequest$ = exports.DeleteVerifiedAccessInstanceResult$ = exports.DeleteVerifiedAccessInstanceRequest$ = exports.DeleteVerifiedAccessGroupResult$ = exports.DeleteVerifiedAccessGroupRequest$ = exports.DeleteVerifiedAccessEndpointResult$ = exports.DeleteVerifiedAccessEndpointRequest$ = exports.DeleteTransitGatewayVpcAttachmentResult$ = exports.DeleteTransitGatewayVpcAttachmentRequest$ = exports.DeleteTransitGatewayRouteTableResult$ = exports.DeleteTransitGatewayRouteTableRequest$ = exports.DeleteTransitGatewayRouteTableAnnouncementResult$ = exports.DeleteTransitGatewayRouteTableAnnouncementRequest$ = exports.DeleteTransitGatewayRouteResult$ = exports.DeleteTransitGatewayRouteRequest$ = exports.DeleteTransitGatewayResult$ = exports.DeleteTransitGatewayRequest$ = exports.DeleteTransitGatewayPrefixListReferenceResult$ = exports.DeleteTransitGatewayPrefixListReferenceRequest$ = exports.DeleteTransitGatewayPolicyTableResult$ = exports.DeleteTransitGatewayPolicyTableRequest$ = exports.DeleteTransitGatewayPeeringAttachmentResult$ = exports.DeleteTransitGatewayPeeringAttachmentRequest$ = exports.DeleteTransitGatewayMulticastDomainResult$ = exports.DeleteTransitGatewayMulticastDomainRequest$ = exports.DeleteTransitGatewayMeteringPolicyResult$ = exports.DeleteTransitGatewayMeteringPolicyRequest$ = exports.DeleteTransitGatewayMeteringPolicyEntryResult$ = exports.DeleteTransitGatewayMeteringPolicyEntryRequest$ = exports.DeleteTransitGatewayConnectResult$ = exports.DeleteTransitGatewayConnectRequest$ = exports.DeleteTransitGatewayConnectPeerResult$ = exports.DeleteTransitGatewayConnectPeerRequest$ = exports.DeleteTrafficMirrorTargetResult$ = void 0; +exports.DescribeCapacityBlockStatusRequest$ = exports.DescribeCapacityBlocksResult$ = exports.DescribeCapacityBlocksRequest$ = exports.DescribeCapacityBlockOfferingsResult$ = exports.DescribeCapacityBlockOfferingsRequest$ = exports.DescribeCapacityBlockExtensionOfferingsResult$ = exports.DescribeCapacityBlockExtensionOfferingsRequest$ = exports.DescribeCapacityBlockExtensionHistoryResult$ = exports.DescribeCapacityBlockExtensionHistoryRequest$ = exports.DescribeByoipCidrsResult$ = exports.DescribeByoipCidrsRequest$ = exports.DescribeBundleTasksResult$ = exports.DescribeBundleTasksRequest$ = exports.DescribeAwsNetworkPerformanceMetricSubscriptionsResult$ = exports.DescribeAwsNetworkPerformanceMetricSubscriptionsRequest$ = exports.DescribeAvailabilityZonesResult$ = exports.DescribeAvailabilityZonesRequest$ = exports.DescribeAggregateIdFormatResult$ = exports.DescribeAggregateIdFormatRequest$ = exports.DescribeAddressTransfersResult$ = exports.DescribeAddressTransfersRequest$ = exports.DescribeAddressesResult$ = exports.DescribeAddressesRequest$ = exports.DescribeAddressesAttributeResult$ = exports.DescribeAddressesAttributeRequest$ = exports.DescribeAccountAttributesResult$ = exports.DescribeAccountAttributesRequest$ = exports.DeregisterTransitGatewayMulticastGroupSourcesResult$ = exports.DeregisterTransitGatewayMulticastGroupSourcesRequest$ = exports.DeregisterTransitGatewayMulticastGroupMembersResult$ = exports.DeregisterTransitGatewayMulticastGroupMembersRequest$ = exports.DeregisterInstanceTagAttributeRequest$ = exports.DeregisterInstanceEventNotificationAttributesResult$ = exports.DeregisterInstanceEventNotificationAttributesRequest$ = exports.DeregisterImageResult$ = exports.DeregisterImageRequest$ = exports.DeprovisionPublicIpv4PoolCidrResult$ = exports.DeprovisionPublicIpv4PoolCidrRequest$ = exports.DeprovisionIpamPoolCidrResult$ = exports.DeprovisionIpamPoolCidrRequest$ = exports.DeprovisionIpamByoasnResult$ = exports.DeprovisionIpamByoasnRequest$ = exports.DeprovisionByoipCidrResult$ = exports.DeprovisionByoipCidrRequest$ = exports.DeprecationTimeConditionRequest$ = exports.DeprecationTimeCondition$ = exports.DeleteVpnGatewayRequest$ = exports.DeleteVpnConnectionRouteRequest$ = exports.DeleteVpnConnectionRequest$ = exports.DeleteVpnConcentratorResult$ = void 0; +exports.DescribeFleetError$ = exports.DescribeFastSnapshotRestoreSuccessItem$ = exports.DescribeFastSnapshotRestoresResult$ = exports.DescribeFastSnapshotRestoresRequest$ = exports.DescribeFastLaunchImagesSuccessItem$ = exports.DescribeFastLaunchImagesResult$ = exports.DescribeFastLaunchImagesRequest$ = exports.DescribeExportTasksResult$ = exports.DescribeExportTasksRequest$ = exports.DescribeExportImageTasksResult$ = exports.DescribeExportImageTasksRequest$ = exports.DescribeElasticGpusResult$ = exports.DescribeElasticGpusRequest$ = exports.DescribeEgressOnlyInternetGatewaysResult$ = exports.DescribeEgressOnlyInternetGatewaysRequest$ = exports.DescribeDhcpOptionsResult$ = exports.DescribeDhcpOptionsRequest$ = exports.DescribeDeclarativePoliciesReportsResult$ = exports.DescribeDeclarativePoliciesReportsRequest$ = exports.DescribeCustomerGatewaysResult$ = exports.DescribeCustomerGatewaysRequest$ = exports.DescribeConversionTasksResult$ = exports.DescribeConversionTasksRequest$ = exports.DescribeCoipPoolsResult$ = exports.DescribeCoipPoolsRequest$ = exports.DescribeClientVpnTargetNetworksResult$ = exports.DescribeClientVpnTargetNetworksRequest$ = exports.DescribeClientVpnRoutesResult$ = exports.DescribeClientVpnRoutesRequest$ = exports.DescribeClientVpnEndpointsResult$ = exports.DescribeClientVpnEndpointsRequest$ = exports.DescribeClientVpnConnectionsResult$ = exports.DescribeClientVpnConnectionsRequest$ = exports.DescribeClientVpnAuthorizationRulesResult$ = exports.DescribeClientVpnAuthorizationRulesRequest$ = exports.DescribeClassicLinkInstancesResult$ = exports.DescribeClassicLinkInstancesRequest$ = exports.DescribeCarrierGatewaysResult$ = exports.DescribeCarrierGatewaysRequest$ = exports.DescribeCapacityReservationTopologyResult$ = exports.DescribeCapacityReservationTopologyRequest$ = exports.DescribeCapacityReservationsResult$ = exports.DescribeCapacityReservationsRequest$ = exports.DescribeCapacityReservationFleetsResult$ = exports.DescribeCapacityReservationFleetsRequest$ = exports.DescribeCapacityReservationBillingRequestsResult$ = exports.DescribeCapacityReservationBillingRequestsRequest$ = exports.DescribeCapacityManagerDataExportsResult$ = exports.DescribeCapacityManagerDataExportsRequest$ = exports.DescribeCapacityBlockStatusResult$ = void 0; +exports.DescribeInstanceSqlHaHistoryStatesRequest$ = exports.DescribeInstanceImageMetadataResult$ = exports.DescribeInstanceImageMetadataRequest$ = exports.DescribeInstanceEventWindowsResult$ = exports.DescribeInstanceEventWindowsRequest$ = exports.DescribeInstanceEventNotificationAttributesResult$ = exports.DescribeInstanceEventNotificationAttributesRequest$ = exports.DescribeInstanceCreditSpecificationsResult$ = exports.DescribeInstanceCreditSpecificationsRequest$ = exports.DescribeInstanceConnectEndpointsResult$ = exports.DescribeInstanceConnectEndpointsRequest$ = exports.DescribeInstanceAttributeRequest$ = exports.DescribeImportSnapshotTasksResult$ = exports.DescribeImportSnapshotTasksRequest$ = exports.DescribeImportImageTasksResult$ = exports.DescribeImportImageTasksRequest$ = exports.DescribeImageUsageReportsResult$ = exports.DescribeImageUsageReportsRequest$ = exports.DescribeImageUsageReportEntriesResult$ = exports.DescribeImageUsageReportEntriesRequest$ = exports.DescribeImagesResult$ = exports.DescribeImagesRequest$ = exports.DescribeImageReferencesResult$ = exports.DescribeImageReferencesRequest$ = exports.DescribeImageAttributeRequest$ = exports.DescribeIdFormatResult$ = exports.DescribeIdFormatRequest$ = exports.DescribeIdentityIdFormatResult$ = exports.DescribeIdentityIdFormatRequest$ = exports.DescribeIamInstanceProfileAssociationsResult$ = exports.DescribeIamInstanceProfileAssociationsRequest$ = exports.DescribeHostsResult$ = exports.DescribeHostsRequest$ = exports.DescribeHostReservationsResult$ = exports.DescribeHostReservationsRequest$ = exports.DescribeHostReservationOfferingsResult$ = exports.DescribeHostReservationOfferingsRequest$ = exports.DescribeFpgaImagesResult$ = exports.DescribeFpgaImagesRequest$ = exports.DescribeFpgaImageAttributeResult$ = exports.DescribeFpgaImageAttributeRequest$ = exports.DescribeFlowLogsResult$ = exports.DescribeFlowLogsRequest$ = exports.DescribeFleetsResult$ = exports.DescribeFleetsRequest$ = exports.DescribeFleetsInstances$ = exports.DescribeFleetInstancesResult$ = exports.DescribeFleetInstancesRequest$ = exports.DescribeFleetHistoryResult$ = exports.DescribeFleetHistoryRequest$ = void 0; +exports.DescribeLocalGatewaysRequest$ = exports.DescribeLocalGatewayRouteTableVpcAssociationsResult$ = exports.DescribeLocalGatewayRouteTableVpcAssociationsRequest$ = exports.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult$ = exports.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest$ = exports.DescribeLocalGatewayRouteTablesResult$ = exports.DescribeLocalGatewayRouteTablesRequest$ = exports.DescribeLaunchTemplateVersionsResult$ = exports.DescribeLaunchTemplateVersionsRequest$ = exports.DescribeLaunchTemplatesResult$ = exports.DescribeLaunchTemplatesRequest$ = exports.DescribeKeyPairsResult$ = exports.DescribeKeyPairsRequest$ = exports.DescribeIpv6PoolsResult$ = exports.DescribeIpv6PoolsRequest$ = exports.DescribeIpamsResult$ = exports.DescribeIpamsRequest$ = exports.DescribeIpamScopesResult$ = exports.DescribeIpamScopesRequest$ = exports.DescribeIpamResourceDiscoveryAssociationsResult$ = exports.DescribeIpamResourceDiscoveryAssociationsRequest$ = exports.DescribeIpamResourceDiscoveriesResult$ = exports.DescribeIpamResourceDiscoveriesRequest$ = exports.DescribeIpamPrefixListResolverTargetsResult$ = exports.DescribeIpamPrefixListResolverTargetsRequest$ = exports.DescribeIpamPrefixListResolversResult$ = exports.DescribeIpamPrefixListResolversRequest$ = exports.DescribeIpamPoolsResult$ = exports.DescribeIpamPoolsRequest$ = exports.DescribeIpamPoliciesResult$ = exports.DescribeIpamPoliciesRequest$ = exports.DescribeIpamExternalResourceVerificationTokensResult$ = exports.DescribeIpamExternalResourceVerificationTokensRequest$ = exports.DescribeIpamByoasnResult$ = exports.DescribeIpamByoasnRequest$ = exports.DescribeInternetGatewaysResult$ = exports.DescribeInternetGatewaysRequest$ = exports.DescribeInstanceTypesResult$ = exports.DescribeInstanceTypesRequest$ = exports.DescribeInstanceTypeOfferingsResult$ = exports.DescribeInstanceTypeOfferingsRequest$ = exports.DescribeInstanceTopologyResult$ = exports.DescribeInstanceTopologyRequest$ = exports.DescribeInstanceStatusResult$ = exports.DescribeInstanceStatusRequest$ = exports.DescribeInstancesResult$ = exports.DescribeInstancesRequest$ = exports.DescribeInstanceSqlHaStatesResult$ = exports.DescribeInstanceSqlHaStatesRequest$ = exports.DescribeInstanceSqlHaHistoryStatesResult$ = void 0; +exports.DescribeReservedInstancesModificationsRequest$ = exports.DescribeReservedInstancesListingsResult$ = exports.DescribeReservedInstancesListingsRequest$ = exports.DescribeReplaceRootVolumeTasksResult$ = exports.DescribeReplaceRootVolumeTasksRequest$ = exports.DescribeRegionsResult$ = exports.DescribeRegionsRequest$ = exports.DescribePublicIpv4PoolsResult$ = exports.DescribePublicIpv4PoolsRequest$ = exports.DescribePrincipalIdFormatResult$ = exports.DescribePrincipalIdFormatRequest$ = exports.DescribePrefixListsResult$ = exports.DescribePrefixListsRequest$ = exports.DescribePlacementGroupsResult$ = exports.DescribePlacementGroupsRequest$ = exports.DescribeOutpostLagsResult$ = exports.DescribeOutpostLagsRequest$ = exports.DescribeNetworkInterfacesResult$ = exports.DescribeNetworkInterfacesRequest$ = exports.DescribeNetworkInterfacePermissionsResult$ = exports.DescribeNetworkInterfacePermissionsRequest$ = exports.DescribeNetworkInterfaceAttributeResult$ = exports.DescribeNetworkInterfaceAttributeRequest$ = exports.DescribeNetworkInsightsPathsResult$ = exports.DescribeNetworkInsightsPathsRequest$ = exports.DescribeNetworkInsightsAnalysesResult$ = exports.DescribeNetworkInsightsAnalysesRequest$ = exports.DescribeNetworkInsightsAccessScopesResult$ = exports.DescribeNetworkInsightsAccessScopesRequest$ = exports.DescribeNetworkInsightsAccessScopeAnalysesResult$ = exports.DescribeNetworkInsightsAccessScopeAnalysesRequest$ = exports.DescribeNetworkAclsResult$ = exports.DescribeNetworkAclsRequest$ = exports.DescribeNatGatewaysResult$ = exports.DescribeNatGatewaysRequest$ = exports.DescribeMovingAddressesResult$ = exports.DescribeMovingAddressesRequest$ = exports.DescribeManagedPrefixListsResult$ = exports.DescribeManagedPrefixListsRequest$ = exports.DescribeMacModificationTasksResult$ = exports.DescribeMacModificationTasksRequest$ = exports.DescribeMacHostsResult$ = exports.DescribeMacHostsRequest$ = exports.DescribeLockedSnapshotsResult$ = exports.DescribeLockedSnapshotsRequest$ = exports.DescribeLocalGatewayVirtualInterfacesResult$ = exports.DescribeLocalGatewayVirtualInterfacesRequest$ = exports.DescribeLocalGatewayVirtualInterfaceGroupsResult$ = exports.DescribeLocalGatewayVirtualInterfaceGroupsRequest$ = exports.DescribeLocalGatewaysResult$ = void 0; +exports.DescribeSpotPriceHistoryRequest$ = exports.DescribeSpotInstanceRequestsResult$ = exports.DescribeSpotInstanceRequestsRequest$ = exports.DescribeSpotFleetRequestsResponse$ = exports.DescribeSpotFleetRequestsRequest$ = exports.DescribeSpotFleetRequestHistoryResponse$ = exports.DescribeSpotFleetRequestHistoryRequest$ = exports.DescribeSpotFleetInstancesResponse$ = exports.DescribeSpotFleetInstancesRequest$ = exports.DescribeSpotDatafeedSubscriptionResult$ = exports.DescribeSpotDatafeedSubscriptionRequest$ = exports.DescribeSnapshotTierStatusResult$ = exports.DescribeSnapshotTierStatusRequest$ = exports.DescribeSnapshotsResult$ = exports.DescribeSnapshotsRequest$ = exports.DescribeSnapshotAttributeResult$ = exports.DescribeSnapshotAttributeRequest$ = exports.DescribeServiceLinkVirtualInterfacesResult$ = exports.DescribeServiceLinkVirtualInterfacesRequest$ = exports.DescribeSecurityGroupVpcAssociationsResult$ = exports.DescribeSecurityGroupVpcAssociationsRequest$ = exports.DescribeSecurityGroupsResult$ = exports.DescribeSecurityGroupsRequest$ = exports.DescribeSecurityGroupRulesResult$ = exports.DescribeSecurityGroupRulesRequest$ = exports.DescribeSecurityGroupReferencesResult$ = exports.DescribeSecurityGroupReferencesRequest$ = exports.DescribeSecondarySubnetsResult$ = exports.DescribeSecondarySubnetsRequest$ = exports.DescribeSecondaryNetworksResult$ = exports.DescribeSecondaryNetworksRequest$ = exports.DescribeSecondaryInterfacesResult$ = exports.DescribeSecondaryInterfacesRequest$ = exports.DescribeScheduledInstancesResult$ = exports.DescribeScheduledInstancesRequest$ = exports.DescribeScheduledInstanceAvailabilityResult$ = exports.DescribeScheduledInstanceAvailabilityRequest$ = exports.DescribeRouteTablesResult$ = exports.DescribeRouteTablesRequest$ = exports.DescribeRouteServersResult$ = exports.DescribeRouteServersRequest$ = exports.DescribeRouteServerPeersResult$ = exports.DescribeRouteServerPeersRequest$ = exports.DescribeRouteServerEndpointsResult$ = exports.DescribeRouteServerEndpointsRequest$ = exports.DescribeReservedInstancesResult$ = exports.DescribeReservedInstancesRequest$ = exports.DescribeReservedInstancesOfferingsResult$ = exports.DescribeReservedInstancesOfferingsRequest$ = exports.DescribeReservedInstancesModificationsResult$ = void 0; +exports.DescribeVerifiedAccessTrustProvidersRequest$ = exports.DescribeVerifiedAccessInstancesResult$ = exports.DescribeVerifiedAccessInstancesRequest$ = exports.DescribeVerifiedAccessInstanceLoggingConfigurationsResult$ = exports.DescribeVerifiedAccessInstanceLoggingConfigurationsRequest$ = exports.DescribeVerifiedAccessGroupsResult$ = exports.DescribeVerifiedAccessGroupsRequest$ = exports.DescribeVerifiedAccessEndpointsResult$ = exports.DescribeVerifiedAccessEndpointsRequest$ = exports.DescribeTrunkInterfaceAssociationsResult$ = exports.DescribeTrunkInterfaceAssociationsRequest$ = exports.DescribeTransitGatewayVpcAttachmentsResult$ = exports.DescribeTransitGatewayVpcAttachmentsRequest$ = exports.DescribeTransitGatewaysResult$ = exports.DescribeTransitGatewaysRequest$ = exports.DescribeTransitGatewayRouteTablesResult$ = exports.DescribeTransitGatewayRouteTablesRequest$ = exports.DescribeTransitGatewayRouteTableAnnouncementsResult$ = exports.DescribeTransitGatewayRouteTableAnnouncementsRequest$ = exports.DescribeTransitGatewayPolicyTablesResult$ = exports.DescribeTransitGatewayPolicyTablesRequest$ = exports.DescribeTransitGatewayPeeringAttachmentsResult$ = exports.DescribeTransitGatewayPeeringAttachmentsRequest$ = exports.DescribeTransitGatewayMulticastDomainsResult$ = exports.DescribeTransitGatewayMulticastDomainsRequest$ = exports.DescribeTransitGatewayMeteringPoliciesResult$ = exports.DescribeTransitGatewayMeteringPoliciesRequest$ = exports.DescribeTransitGatewayConnectsResult$ = exports.DescribeTransitGatewayConnectsRequest$ = exports.DescribeTransitGatewayConnectPeersResult$ = exports.DescribeTransitGatewayConnectPeersRequest$ = exports.DescribeTransitGatewayAttachmentsResult$ = exports.DescribeTransitGatewayAttachmentsRequest$ = exports.DescribeTrafficMirrorTargetsResult$ = exports.DescribeTrafficMirrorTargetsRequest$ = exports.DescribeTrafficMirrorSessionsResult$ = exports.DescribeTrafficMirrorSessionsRequest$ = exports.DescribeTrafficMirrorFiltersResult$ = exports.DescribeTrafficMirrorFiltersRequest$ = exports.DescribeTrafficMirrorFilterRulesResult$ = exports.DescribeTrafficMirrorFilterRulesRequest$ = exports.DescribeTagsResult$ = exports.DescribeTagsRequest$ = exports.DescribeSubnetsResult$ = exports.DescribeSubnetsRequest$ = exports.DescribeStoreImageTasksResult$ = exports.DescribeStoreImageTasksRequest$ = exports.DescribeStaleSecurityGroupsResult$ = exports.DescribeStaleSecurityGroupsRequest$ = exports.DescribeSpotPriceHistoryResult$ = void 0; +exports.DetachInternetGatewayRequest$ = exports.DetachClassicLinkVpcResult$ = exports.DetachClassicLinkVpcRequest$ = exports.DestinationOptionsResponse$ = exports.DestinationOptionsRequest$ = exports.DescribeVpnGatewaysResult$ = exports.DescribeVpnGatewaysRequest$ = exports.DescribeVpnConnectionsResult$ = exports.DescribeVpnConnectionsRequest$ = exports.DescribeVpnConcentratorsResult$ = exports.DescribeVpnConcentratorsRequest$ = exports.DescribeVpcsResult$ = exports.DescribeVpcsRequest$ = exports.DescribeVpcPeeringConnectionsResult$ = exports.DescribeVpcPeeringConnectionsRequest$ = exports.DescribeVpcEndpointsResult$ = exports.DescribeVpcEndpointsRequest$ = exports.DescribeVpcEndpointServicesResult$ = exports.DescribeVpcEndpointServicesRequest$ = exports.DescribeVpcEndpointServicePermissionsResult$ = exports.DescribeVpcEndpointServicePermissionsRequest$ = exports.DescribeVpcEndpointServiceConfigurationsResult$ = exports.DescribeVpcEndpointServiceConfigurationsRequest$ = exports.DescribeVpcEndpointConnectionsResult$ = exports.DescribeVpcEndpointConnectionsRequest$ = exports.DescribeVpcEndpointConnectionNotificationsResult$ = exports.DescribeVpcEndpointConnectionNotificationsRequest$ = exports.DescribeVpcEndpointAssociationsResult$ = exports.DescribeVpcEndpointAssociationsRequest$ = exports.DescribeVpcEncryptionControlsResult$ = exports.DescribeVpcEncryptionControlsRequest$ = exports.DescribeVpcClassicLinkResult$ = exports.DescribeVpcClassicLinkRequest$ = exports.DescribeVpcClassicLinkDnsSupportResult$ = exports.DescribeVpcClassicLinkDnsSupportRequest$ = exports.DescribeVpcBlockPublicAccessOptionsResult$ = exports.DescribeVpcBlockPublicAccessOptionsRequest$ = exports.DescribeVpcBlockPublicAccessExclusionsResult$ = exports.DescribeVpcBlockPublicAccessExclusionsRequest$ = exports.DescribeVpcAttributeResult$ = exports.DescribeVpcAttributeRequest$ = exports.DescribeVolumeStatusResult$ = exports.DescribeVolumeStatusRequest$ = exports.DescribeVolumesResult$ = exports.DescribeVolumesRequest$ = exports.DescribeVolumesModificationsResult$ = exports.DescribeVolumesModificationsRequest$ = exports.DescribeVolumeAttributeResult$ = exports.DescribeVolumeAttributeRequest$ = exports.DescribeVerifiedAccessTrustProvidersResult$ = void 0; +exports.DisableTransitGatewayRouteTablePropagationRequest$ = exports.DisableSnapshotBlockPublicAccessResult$ = exports.DisableSnapshotBlockPublicAccessRequest$ = exports.DisableSerialConsoleAccessResult$ = exports.DisableSerialConsoleAccessRequest$ = exports.DisableRouteServerPropagationResult$ = exports.DisableRouteServerPropagationRequest$ = exports.DisableIpamPolicyResult$ = exports.DisableIpamPolicyRequest$ = exports.DisableIpamOrganizationAdminAccountResult$ = exports.DisableIpamOrganizationAdminAccountRequest$ = exports.DisableInstanceSqlHaStandbyDetectionsResult$ = exports.DisableInstanceSqlHaStandbyDetectionsRequest$ = exports.DisableImageResult$ = exports.DisableImageRequest$ = exports.DisableImageDeregistrationProtectionResult$ = exports.DisableImageDeregistrationProtectionRequest$ = exports.DisableImageDeprecationResult$ = exports.DisableImageDeprecationRequest$ = exports.DisableImageBlockPublicAccessResult$ = exports.DisableImageBlockPublicAccessRequest$ = exports.DisableFastSnapshotRestoreSuccessItem$ = exports.DisableFastSnapshotRestoreStateErrorItem$ = exports.DisableFastSnapshotRestoreStateError$ = exports.DisableFastSnapshotRestoresResult$ = exports.DisableFastSnapshotRestoresRequest$ = exports.DisableFastSnapshotRestoreErrorItem$ = exports.DisableFastLaunchResult$ = exports.DisableFastLaunchRequest$ = exports.DisableEbsEncryptionByDefaultResult$ = exports.DisableEbsEncryptionByDefaultRequest$ = exports.DisableCapacityManagerResult$ = exports.DisableCapacityManagerRequest$ = exports.DisableAwsNetworkPerformanceMetricSubscriptionResult$ = exports.DisableAwsNetworkPerformanceMetricSubscriptionRequest$ = exports.DisableAllowedImagesSettingsResult$ = exports.DisableAllowedImagesSettingsRequest$ = exports.DisableAddressTransferResult$ = exports.DisableAddressTransferRequest$ = exports.DirectoryServiceAuthenticationRequest$ = exports.DirectoryServiceAuthentication$ = exports.DimensionCondition$ = exports.DhcpOptions$ = exports.DhcpConfiguration$ = exports.DeviceOptions$ = exports.DetachVpnGatewayRequest$ = exports.DetachVolumeRequest$ = exports.DetachVerifiedAccessTrustProviderResult$ = exports.DetachVerifiedAccessTrustProviderRequest$ = exports.DetachNetworkInterfaceRequest$ = void 0; +exports.EbsBlockDevice$ = exports.DnsServersOptionsModifyStructure$ = exports.DnsOptionsSpecification$ = exports.DnsOptions$ = exports.DnsEntry$ = exports.DiskInfo$ = exports.DiskImageVolumeDescription$ = exports.DiskImageDetail$ = exports.DiskImageDescription$ = exports.DiskImage$ = exports.DisassociateVpcCidrBlockResult$ = exports.DisassociateVpcCidrBlockRequest$ = exports.DisassociateTrunkInterfaceResult$ = exports.DisassociateTrunkInterfaceRequest$ = exports.DisassociateTransitGatewayRouteTableResult$ = exports.DisassociateTransitGatewayRouteTableRequest$ = exports.DisassociateTransitGatewayPolicyTableResult$ = exports.DisassociateTransitGatewayPolicyTableRequest$ = exports.DisassociateTransitGatewayMulticastDomainResult$ = exports.DisassociateTransitGatewayMulticastDomainRequest$ = exports.DisassociateSubnetCidrBlockResult$ = exports.DisassociateSubnetCidrBlockRequest$ = exports.DisassociateSecurityGroupVpcResult$ = exports.DisassociateSecurityGroupVpcRequest$ = exports.DisassociateRouteTableRequest$ = exports.DisassociateRouteServerResult$ = exports.DisassociateRouteServerRequest$ = exports.DisassociateNatGatewayAddressResult$ = exports.DisassociateNatGatewayAddressRequest$ = exports.DisassociateIpamResourceDiscoveryResult$ = exports.DisassociateIpamResourceDiscoveryRequest$ = exports.DisassociateIpamByoasnResult$ = exports.DisassociateIpamByoasnRequest$ = exports.DisassociateInstanceEventWindowResult$ = exports.DisassociateInstanceEventWindowRequest$ = exports.DisassociateIamInstanceProfileResult$ = exports.DisassociateIamInstanceProfileRequest$ = exports.DisassociateEnclaveCertificateIamRoleResult$ = exports.DisassociateEnclaveCertificateIamRoleRequest$ = exports.DisassociateClientVpnTargetNetworkResult$ = exports.DisassociateClientVpnTargetNetworkRequest$ = exports.DisassociateCapacityReservationBillingOwnerResult$ = exports.DisassociateCapacityReservationBillingOwnerRequest$ = exports.DisassociateAddressRequest$ = exports.DisableVpcClassicLinkResult$ = exports.DisableVpcClassicLinkRequest$ = exports.DisableVpcClassicLinkDnsSupportResult$ = exports.DisableVpcClassicLinkDnsSupportRequest$ = exports.DisableVgwRoutePropagationRequest$ = exports.DisableTransitGatewayRouteTablePropagationResult$ = void 0; +exports.EnableIpamPolicyResult$ = exports.EnableIpamPolicyRequest$ = exports.EnableIpamOrganizationAdminAccountResult$ = exports.EnableIpamOrganizationAdminAccountRequest$ = exports.EnableInstanceSqlHaStandbyDetectionsResult$ = exports.EnableInstanceSqlHaStandbyDetectionsRequest$ = exports.EnableImageResult$ = exports.EnableImageRequest$ = exports.EnableImageDeregistrationProtectionResult$ = exports.EnableImageDeregistrationProtectionRequest$ = exports.EnableImageDeprecationResult$ = exports.EnableImageDeprecationRequest$ = exports.EnableImageBlockPublicAccessResult$ = exports.EnableImageBlockPublicAccessRequest$ = exports.EnableFastSnapshotRestoreSuccessItem$ = exports.EnableFastSnapshotRestoreStateErrorItem$ = exports.EnableFastSnapshotRestoreStateError$ = exports.EnableFastSnapshotRestoresResult$ = exports.EnableFastSnapshotRestoresRequest$ = exports.EnableFastSnapshotRestoreErrorItem$ = exports.EnableFastLaunchResult$ = exports.EnableFastLaunchRequest$ = exports.EnableEbsEncryptionByDefaultResult$ = exports.EnableEbsEncryptionByDefaultRequest$ = exports.EnableCapacityManagerResult$ = exports.EnableCapacityManagerRequest$ = exports.EnableAwsNetworkPerformanceMetricSubscriptionResult$ = exports.EnableAwsNetworkPerformanceMetricSubscriptionRequest$ = exports.EnableAllowedImagesSettingsResult$ = exports.EnableAllowedImagesSettingsRequest$ = exports.EnableAddressTransferResult$ = exports.EnableAddressTransferRequest$ = exports.ElasticInferenceAcceleratorAssociation$ = exports.ElasticInferenceAccelerator$ = exports.ElasticGpuSpecificationResponse$ = exports.ElasticGpuSpecification$ = exports.ElasticGpus$ = exports.ElasticGpuHealth$ = exports.ElasticGpuAssociation$ = exports.EgressOnlyInternetGateway$ = exports.EfaInfo$ = exports.Ec2InstanceConnectEndpoint$ = exports.EbsStatusSummary$ = exports.EbsStatusDetails$ = exports.EbsOptimizedInfo$ = exports.EbsInstanceBlockDeviceSpecification$ = exports.EbsInstanceBlockDevice$ = exports.EbsInfo$ = exports.EbsCardInfo$ = exports.EbsBlockDeviceResponse$ = void 0; +exports.FederatedAuthenticationRequest$ = exports.FederatedAuthentication$ = exports.FastLaunchSnapshotConfigurationResponse$ = exports.FastLaunchSnapshotConfigurationRequest$ = exports.FastLaunchLaunchTemplateSpecificationResponse$ = exports.FastLaunchLaunchTemplateSpecificationRequest$ = exports.FailedQueuedPurchaseDeletion$ = exports.FailedCapacityReservationFleetCancellationResult$ = exports.ExternalAuthorityConfiguration$ = exports.ExportVerifiedAccessInstanceClientConfigurationResult$ = exports.ExportVerifiedAccessInstanceClientConfigurationRequest$ = exports.ExportTransitGatewayRoutesResult$ = exports.ExportTransitGatewayRoutesRequest$ = exports.ExportToS3TaskSpecification$ = exports.ExportToS3Task$ = exports.ExportTaskS3LocationRequest$ = exports.ExportTaskS3Location$ = exports.ExportTask$ = exports.ExportImageTask$ = exports.ExportImageResult$ = exports.ExportImageRequest$ = exports.ExportClientVpnClientConfigurationResult$ = exports.ExportClientVpnClientConfigurationRequest$ = exports.ExportClientVpnClientCertificateRevocationListResult$ = exports.ExportClientVpnClientCertificateRevocationListRequest$ = exports.Explanation$ = exports.EventInformation$ = exports.EncryptionSupport$ = exports.EnclaveOptionsRequest$ = exports.EnclaveOptions$ = exports.EnaSrdUdpSpecificationRequest$ = exports.EnaSrdUdpSpecification$ = exports.EnaSrdSpecificationRequest$ = exports.EnaSrdSpecification$ = exports.EnableVpcClassicLinkResult$ = exports.EnableVpcClassicLinkRequest$ = exports.EnableVpcClassicLinkDnsSupportResult$ = exports.EnableVpcClassicLinkDnsSupportRequest$ = exports.EnableVolumeIORequest$ = exports.EnableVgwRoutePropagationRequest$ = exports.EnableTransitGatewayRouteTablePropagationResult$ = exports.EnableTransitGatewayRouteTablePropagationRequest$ = exports.EnableSnapshotBlockPublicAccessResult$ = exports.EnableSnapshotBlockPublicAccessRequest$ = exports.EnableSerialConsoleAccessResult$ = exports.EnableSerialConsoleAccessRequest$ = exports.EnableRouteServerPropagationResult$ = exports.EnableRouteServerPropagationRequest$ = exports.EnableReachabilityAnalyzerOrganizationSharingResult$ = exports.EnableReachabilityAnalyzerOrganizationSharingRequest$ = void 0; +exports.GetConsoleScreenshotRequest$ = exports.GetConsoleOutputResult$ = exports.GetConsoleOutputRequest$ = exports.GetCoipPoolUsageResult$ = exports.GetCoipPoolUsageRequest$ = exports.GetCapacityReservationUsageResult$ = exports.GetCapacityReservationUsageRequest$ = exports.GetCapacityManagerMonitoredTagKeysResult$ = exports.GetCapacityManagerMonitoredTagKeysRequest$ = exports.GetCapacityManagerMetricDimensionsResult$ = exports.GetCapacityManagerMetricDimensionsRequest$ = exports.GetCapacityManagerMetricDataResult$ = exports.GetCapacityManagerMetricDataRequest$ = exports.GetCapacityManagerAttributesResult$ = exports.GetCapacityManagerAttributesRequest$ = exports.GetAwsNetworkPerformanceDataResult$ = exports.GetAwsNetworkPerformanceDataRequest$ = exports.GetAssociatedIpv6PoolCidrsResult$ = exports.GetAssociatedIpv6PoolCidrsRequest$ = exports.GetAssociatedEnclaveCertificateIamRolesResult$ = exports.GetAssociatedEnclaveCertificateIamRolesRequest$ = exports.GetAllowedImagesSettingsResult$ = exports.GetAllowedImagesSettingsRequest$ = exports.GetActiveVpnTunnelStatusResult$ = exports.GetActiveVpnTunnelStatusRequest$ = exports.FpgaInfo$ = exports.FpgaImageState$ = exports.FpgaImageAttribute$ = exports.FpgaImage$ = exports.FpgaDeviceMemoryInfo$ = exports.FpgaDeviceInfo$ = exports.FlowLog$ = exports.FleetSpotMaintenanceStrategiesRequest$ = exports.FleetSpotMaintenanceStrategies$ = exports.FleetSpotCapacityRebalanceRequest$ = exports.FleetSpotCapacityRebalance$ = exports.FleetLaunchTemplateSpecificationRequest$ = exports.FleetLaunchTemplateSpecification$ = exports.FleetLaunchTemplateOverridesRequest$ = exports.FleetLaunchTemplateOverrides$ = exports.FleetLaunchTemplateConfigRequest$ = exports.FleetLaunchTemplateConfig$ = exports.FleetEbsBlockDeviceRequest$ = exports.FleetData$ = exports.FleetCapacityReservation$ = exports.FleetBlockDeviceMappingRequest$ = exports.FirewallStatelessRule$ = exports.FirewallStatefulRule$ = exports.FilterPortRange$ = exports.Filter$ = void 0; +exports.GetIpamPrefixListResolverVersionsRequest$ = exports.GetIpamPrefixListResolverVersionEntriesResult$ = exports.GetIpamPrefixListResolverVersionEntriesRequest$ = exports.GetIpamPrefixListResolverRulesResult$ = exports.GetIpamPrefixListResolverRulesRequest$ = exports.GetIpamPoolCidrsResult$ = exports.GetIpamPoolCidrsRequest$ = exports.GetIpamPoolAllocationsResult$ = exports.GetIpamPoolAllocationsRequest$ = exports.GetIpamPolicyOrganizationTargetsResult$ = exports.GetIpamPolicyOrganizationTargetsRequest$ = exports.GetIpamPolicyAllocationRulesResult$ = exports.GetIpamPolicyAllocationRulesRequest$ = exports.GetIpamDiscoveredResourceCidrsResult$ = exports.GetIpamDiscoveredResourceCidrsRequest$ = exports.GetIpamDiscoveredPublicAddressesResult$ = exports.GetIpamDiscoveredPublicAddressesRequest$ = exports.GetIpamDiscoveredAccountsResult$ = exports.GetIpamDiscoveredAccountsRequest$ = exports.GetIpamAddressHistoryResult$ = exports.GetIpamAddressHistoryRequest$ = exports.GetInstanceUefiDataResult$ = exports.GetInstanceUefiDataRequest$ = exports.GetInstanceTypesFromInstanceRequirementsResult$ = exports.GetInstanceTypesFromInstanceRequirementsRequest$ = exports.GetInstanceTpmEkPubResult$ = exports.GetInstanceTpmEkPubRequest$ = exports.GetInstanceMetadataDefaultsResult$ = exports.GetInstanceMetadataDefaultsRequest$ = exports.GetImageBlockPublicAccessStateResult$ = exports.GetImageBlockPublicAccessStateRequest$ = exports.GetImageAncestryResult$ = exports.GetImageAncestryRequest$ = exports.GetHostReservationPurchasePreviewResult$ = exports.GetHostReservationPurchasePreviewRequest$ = exports.GetGroupsForCapacityReservationResult$ = exports.GetGroupsForCapacityReservationRequest$ = exports.GetFlowLogsIntegrationTemplateResult$ = exports.GetFlowLogsIntegrationTemplateRequest$ = exports.GetEnabledIpamPolicyResult$ = exports.GetEnabledIpamPolicyRequest$ = exports.GetEbsEncryptionByDefaultResult$ = exports.GetEbsEncryptionByDefaultRequest$ = exports.GetEbsDefaultKmsKeyIdResult$ = exports.GetEbsDefaultKmsKeyIdRequest$ = exports.GetDefaultCreditSpecificationResult$ = exports.GetDefaultCreditSpecificationRequest$ = exports.GetDeclarativePoliciesReportSummaryResult$ = exports.GetDeclarativePoliciesReportSummaryRequest$ = exports.GetConsoleScreenshotResult$ = void 0; +exports.GetVerifiedAccessEndpointPolicyRequest$ = exports.GetTransitGatewayRouteTablePropagationsResult$ = exports.GetTransitGatewayRouteTablePropagationsRequest$ = exports.GetTransitGatewayRouteTableAssociationsResult$ = exports.GetTransitGatewayRouteTableAssociationsRequest$ = exports.GetTransitGatewayPrefixListReferencesResult$ = exports.GetTransitGatewayPrefixListReferencesRequest$ = exports.GetTransitGatewayPolicyTableEntriesResult$ = exports.GetTransitGatewayPolicyTableEntriesRequest$ = exports.GetTransitGatewayPolicyTableAssociationsResult$ = exports.GetTransitGatewayPolicyTableAssociationsRequest$ = exports.GetTransitGatewayMulticastDomainAssociationsResult$ = exports.GetTransitGatewayMulticastDomainAssociationsRequest$ = exports.GetTransitGatewayMeteringPolicyEntriesResult$ = exports.GetTransitGatewayMeteringPolicyEntriesRequest$ = exports.GetTransitGatewayAttachmentPropagationsResult$ = exports.GetTransitGatewayAttachmentPropagationsRequest$ = exports.GetSubnetCidrReservationsResult$ = exports.GetSubnetCidrReservationsRequest$ = exports.GetSpotPlacementScoresResult$ = exports.GetSpotPlacementScoresRequest$ = exports.GetSnapshotBlockPublicAccessStateResult$ = exports.GetSnapshotBlockPublicAccessStateRequest$ = exports.GetSerialConsoleAccessStatusResult$ = exports.GetSerialConsoleAccessStatusRequest$ = exports.GetSecurityGroupsForVpcResult$ = exports.GetSecurityGroupsForVpcRequest$ = exports.GetRouteServerRoutingDatabaseResult$ = exports.GetRouteServerRoutingDatabaseRequest$ = exports.GetRouteServerPropagationsResult$ = exports.GetRouteServerPropagationsRequest$ = exports.GetRouteServerAssociationsResult$ = exports.GetRouteServerAssociationsRequest$ = exports.GetReservedInstancesExchangeQuoteResult$ = exports.GetReservedInstancesExchangeQuoteRequest$ = exports.GetPasswordDataResult$ = exports.GetPasswordDataRequest$ = exports.GetNetworkInsightsAccessScopeContentResult$ = exports.GetNetworkInsightsAccessScopeContentRequest$ = exports.GetNetworkInsightsAccessScopeAnalysisFindingsResult$ = exports.GetNetworkInsightsAccessScopeAnalysisFindingsRequest$ = exports.GetManagedPrefixListEntriesResult$ = exports.GetManagedPrefixListEntriesRequest$ = exports.GetManagedPrefixListAssociationsResult$ = exports.GetManagedPrefixListAssociationsRequest$ = exports.GetLaunchTemplateDataResult$ = exports.GetLaunchTemplateDataRequest$ = exports.GetIpamResourceCidrsResult$ = exports.GetIpamResourceCidrsRequest$ = exports.GetIpamPrefixListResolverVersionsResult$ = void 0; +exports.ImportClientVpnClientCertificateRevocationListResult$ = exports.ImportClientVpnClientCertificateRevocationListRequest$ = exports.ImageUsageResourceTypeRequest$ = exports.ImageUsageResourceTypeOptionRequest$ = exports.ImageUsageResourceTypeOption$ = exports.ImageUsageResourceType$ = exports.ImageUsageReportEntry$ = exports.ImageUsageReport$ = exports.ImageReference$ = exports.ImageRecycleBinInfo$ = exports.ImageMetadata$ = exports.ImageDiskContainer$ = exports.ImageCriterionRequest$ = exports.ImageCriterion$ = exports.ImageAttribute$ = exports.ImageAncestryEntry$ = exports.Image$ = exports.IKEVersionsRequestListValue$ = exports.IKEVersionsListValue$ = exports.IdFormat$ = exports.IcmpTypeCode$ = exports.IamInstanceProfileSpecification$ = exports.IamInstanceProfileAssociation$ = exports.IamInstanceProfile$ = exports.HostReservation$ = exports.HostProperties$ = exports.HostOffering$ = exports.HostInstance$ = exports.Host$ = exports.HistoryRecordEntry$ = exports.HistoryRecord$ = exports.HibernationOptionsRequest$ = exports.HibernationOptions$ = exports.GroupIdentifier$ = exports.GpuInfo$ = exports.GpuDeviceMemoryInfo$ = exports.GpuDeviceInfo$ = exports.GetVpnTunnelReplacementStatusResult$ = exports.GetVpnTunnelReplacementStatusRequest$ = exports.GetVpnConnectionDeviceTypesResult$ = exports.GetVpnConnectionDeviceTypesRequest$ = exports.GetVpnConnectionDeviceSampleConfigurationResult$ = exports.GetVpnConnectionDeviceSampleConfigurationRequest$ = exports.GetVpcResourcesBlockingEncryptionEnforcementResult$ = exports.GetVpcResourcesBlockingEncryptionEnforcementRequest$ = exports.GetVerifiedAccessGroupPolicyResult$ = exports.GetVerifiedAccessGroupPolicyRequest$ = exports.GetVerifiedAccessEndpointTargetsResult$ = exports.GetVerifiedAccessEndpointTargetsRequest$ = exports.GetVerifiedAccessEndpointPolicyResult$ = void 0; +exports.InstanceMaintenanceOptionsRequest$ = exports.InstanceMaintenanceOptions$ = exports.InstanceIpv6Prefix$ = exports.InstanceIpv6AddressRequest$ = exports.InstanceIpv6Address$ = exports.InstanceIpv4Prefix$ = exports.InstanceImageMetadata$ = exports.InstanceFamilyCreditSpecification$ = exports.InstanceExportDetails$ = exports.InstanceEventWindowTimeRangeRequest$ = exports.InstanceEventWindowTimeRange$ = exports.InstanceEventWindowStateChange$ = exports.InstanceEventWindowDisassociationRequest$ = exports.InstanceEventWindowAssociationTarget$ = exports.InstanceEventWindowAssociationRequest$ = exports.InstanceEventWindow$ = exports.InstanceCreditSpecificationRequest$ = exports.InstanceCreditSpecification$ = exports.InstanceCount$ = exports.InstanceConnectEndpointPublicDnsNames$ = exports.InstanceConnectEndpointDnsNames$ = exports.InstanceCapacity$ = exports.InstanceBlockDeviceMappingSpecification$ = exports.InstanceBlockDeviceMapping$ = exports.InstanceAttribute$ = exports.InstanceAttachmentEnaSrdUdpSpecification$ = exports.InstanceAttachmentEnaSrdSpecification$ = exports.Instance$ = exports.InitializationStatusDetails$ = exports.InferenceDeviceMemoryInfo$ = exports.InferenceDeviceInfo$ = exports.InferenceAcceleratorInfo$ = exports.ImportVolumeTaskDetails$ = exports.ImportVolumeResult$ = exports.ImportVolumeRequest$ = exports.ImportSnapshotTask$ = exports.ImportSnapshotResult$ = exports.ImportSnapshotRequest$ = exports.ImportKeyPairResult$ = exports.ImportKeyPairRequest$ = exports.ImportInstanceVolumeDetailItem$ = exports.ImportInstanceTaskDetails$ = exports.ImportInstanceResult$ = exports.ImportInstanceRequest$ = exports.ImportInstanceLaunchSpecification$ = exports.ImportImageTask$ = exports.ImportImageResult$ = exports.ImportImageRequest$ = exports.ImportImageLicenseConfigurationResponse$ = exports.ImportImageLicenseConfigurationRequest$ = void 0; +exports.IpamPolicy$ = exports.IpamOrganizationalUnitExclusion$ = exports.IpamOperatingRegion$ = exports.IpamExternalResourceVerificationToken$ = exports.IpamDiscoveryFailureReason$ = exports.IpamDiscoveredResourceCidr$ = exports.IpamDiscoveredPublicAddress$ = exports.IpamDiscoveredAccount$ = exports.IpamCidrAuthorizationContext$ = exports.IpamAddressHistoryRecord$ = exports.Ipam$ = exports.InterruptionInfo$ = exports.InterruptibleCapacityAllocation$ = exports.InternetGatewayAttachment$ = exports.InternetGateway$ = exports.IntegrateServices$ = exports.InstanceUsage$ = exports.InstanceTypeOffering$ = exports.InstanceTypeInfoFromInstanceRequirements$ = exports.InstanceTypeInfo$ = exports.InstanceTopology$ = exports.InstanceTagNotificationAttribute$ = exports.InstanceStorageInfo$ = exports.InstanceStatusSummary$ = exports.InstanceStatusEvent$ = exports.InstanceStatusDetails$ = exports.InstanceStatus$ = exports.InstanceStateChange$ = exports.InstanceState$ = exports.InstanceSpecification$ = exports.InstanceSecondaryInterfaceSpecificationRequest$ = exports.InstanceSecondaryInterfacePrivateIpAddressRequest$ = exports.InstanceSecondaryInterfacePrivateIpAddress$ = exports.InstanceSecondaryInterfaceAttachment$ = exports.InstanceSecondaryInterface$ = exports.InstanceRequirementsWithMetadataRequest$ = exports.InstanceRequirementsRequest$ = exports.InstanceRequirements$ = exports.InstancePrivateIpAddress$ = exports.InstanceNetworkPerformanceOptionsRequest$ = exports.InstanceNetworkPerformanceOptions$ = exports.InstanceNetworkInterfaceSpecification$ = exports.InstanceNetworkInterfaceAttachment$ = exports.InstanceNetworkInterfaceAssociation$ = exports.InstanceNetworkInterface$ = exports.InstanceMonitoring$ = exports.InstanceMetadataOptionsResponse$ = exports.InstanceMetadataOptionsRequest$ = exports.InstanceMetadataDefaultsResponse$ = exports.InstanceMarketOptionsRequest$ = void 0; +exports.LaunchTemplateCapacityReservationSpecificationRequest$ = exports.LaunchTemplateBlockDeviceMappingRequest$ = exports.LaunchTemplateBlockDeviceMapping$ = exports.LaunchTemplateAndOverridesResponse$ = exports.LaunchTemplate$ = exports.LaunchSpecification$ = exports.LaunchPermissionModifications$ = exports.LaunchPermission$ = exports.LastError$ = exports.KeyPairInfo$ = exports.KeyPair$ = exports.Ipv6Range$ = exports.Ipv6PrefixSpecificationResponse$ = exports.Ipv6PrefixSpecificationRequest$ = exports.Ipv6PrefixSpecification$ = exports.Ipv6Pool$ = exports.Ipv6CidrBlock$ = exports.Ipv6CidrAssociation$ = exports.Ipv4PrefixSpecificationResponse$ = exports.Ipv4PrefixSpecificationRequest$ = exports.Ipv4PrefixSpecification$ = exports.IpRange$ = exports.IpPermission$ = exports.IpamScopeExternalAuthorityConfiguration$ = exports.IpamScope$ = exports.IpamResourceTag$ = exports.IpamResourceDiscoveryAssociation$ = exports.IpamResourceDiscovery$ = exports.IpamResourceCidr$ = exports.IpamPublicAddressTags$ = exports.IpamPublicAddressTag$ = exports.IpamPublicAddressSecurityGroup$ = exports.IpamPrefixListResolverVersionEntry$ = exports.IpamPrefixListResolverVersion$ = exports.IpamPrefixListResolverTarget$ = exports.IpamPrefixListResolverRuleRequest$ = exports.IpamPrefixListResolverRuleConditionRequest$ = exports.IpamPrefixListResolverRuleCondition$ = exports.IpamPrefixListResolverRule$ = exports.IpamPrefixListResolver$ = exports.IpamPoolSourceResourceRequest$ = exports.IpamPoolSourceResource$ = exports.IpamPoolCidrFailureReason$ = exports.IpamPoolCidr$ = exports.IpamPoolAllocation$ = exports.IpamPool$ = exports.IpamPolicyOrganizationTarget$ = exports.IpamPolicyDocument$ = exports.IpamPolicyAllocationRuleRequest$ = exports.IpamPolicyAllocationRule$ = void 0; +exports.ListVolumesInRecycleBinRequest$ = exports.ListSnapshotsInRecycleBinResult$ = exports.ListSnapshotsInRecycleBinRequest$ = exports.ListImagesInRecycleBinResult$ = exports.ListImagesInRecycleBinRequest$ = exports.LicenseConfigurationRequest$ = exports.LicenseConfiguration$ = exports.LaunchTemplateVersion$ = exports.LaunchTemplateTagSpecificationRequest$ = exports.LaunchTemplateTagSpecification$ = exports.LaunchTemplateSpotMarketOptionsRequest$ = exports.LaunchTemplateSpotMarketOptions$ = exports.LaunchTemplateSpecification$ = exports.LaunchTemplatesMonitoringRequest$ = exports.LaunchTemplatesMonitoring$ = exports.LaunchTemplatePrivateDnsNameOptionsRequest$ = exports.LaunchTemplatePrivateDnsNameOptions$ = exports.LaunchTemplatePlacementRequest$ = exports.LaunchTemplatePlacement$ = exports.LaunchTemplateOverrides$ = exports.LaunchTemplateNetworkPerformanceOptionsRequest$ = exports.LaunchTemplateNetworkPerformanceOptions$ = exports.LaunchTemplateLicenseConfigurationRequest$ = exports.LaunchTemplateLicenseConfiguration$ = exports.LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest$ = exports.LaunchTemplateInstanceSecondaryInterfaceSpecification$ = exports.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$ = exports.LaunchTemplateInstanceNetworkInterfaceSpecification$ = exports.LaunchTemplateInstanceMetadataOptionsRequest$ = exports.LaunchTemplateInstanceMetadataOptions$ = exports.LaunchTemplateInstanceMarketOptionsRequest$ = exports.LaunchTemplateInstanceMarketOptions$ = exports.LaunchTemplateInstanceMaintenanceOptionsRequest$ = exports.LaunchTemplateInstanceMaintenanceOptions$ = exports.LaunchTemplateIamInstanceProfileSpecificationRequest$ = exports.LaunchTemplateIamInstanceProfileSpecification$ = exports.LaunchTemplateHibernationOptionsRequest$ = exports.LaunchTemplateHibernationOptions$ = exports.LaunchTemplateEnclaveOptionsRequest$ = exports.LaunchTemplateEnclaveOptions$ = exports.LaunchTemplateEnaSrdUdpSpecification$ = exports.LaunchTemplateEnaSrdSpecification$ = exports.LaunchTemplateElasticInferenceAcceleratorResponse$ = exports.LaunchTemplateElasticInferenceAccelerator$ = exports.LaunchTemplateEbsBlockDeviceRequest$ = exports.LaunchTemplateEbsBlockDevice$ = exports.LaunchTemplateCpuOptionsRequest$ = exports.LaunchTemplateCpuOptions$ = exports.LaunchTemplateConfig$ = exports.LaunchTemplateCapacityReservationSpecificationResponse$ = void 0; +exports.ModifyFpgaImageAttributeResult$ = exports.ModifyFpgaImageAttributeRequest$ = exports.ModifyFleetResult$ = exports.ModifyFleetRequest$ = exports.ModifyEbsDefaultKmsKeyIdResult$ = exports.ModifyEbsDefaultKmsKeyIdRequest$ = exports.ModifyDefaultCreditSpecificationResult$ = exports.ModifyDefaultCreditSpecificationRequest$ = exports.ModifyClientVpnEndpointResult$ = exports.ModifyClientVpnEndpointRequest$ = exports.ModifyCapacityReservationResult$ = exports.ModifyCapacityReservationRequest$ = exports.ModifyCapacityReservationFleetResult$ = exports.ModifyCapacityReservationFleetRequest$ = exports.ModifyAvailabilityZoneGroupResult$ = exports.ModifyAvailabilityZoneGroupRequest$ = exports.ModifyAddressAttributeResult$ = exports.ModifyAddressAttributeRequest$ = exports.MetricValue$ = exports.MetricPoint$ = exports.MetricDataResult$ = exports.MemoryMiBRequest$ = exports.MemoryMiB$ = exports.MemoryInfo$ = exports.MemoryGiBPerVCpuRequest$ = exports.MemoryGiBPerVCpu$ = exports.MediaDeviceMemoryInfo$ = exports.MediaDeviceInfo$ = exports.MediaAcceleratorInfo$ = exports.ManagedPrefixList$ = exports.MaintenanceDetails$ = exports.MacSystemIntegrityProtectionConfigurationRequest$ = exports.MacSystemIntegrityProtectionConfiguration$ = exports.MacModificationTask$ = exports.MacHost$ = exports.LockSnapshotResult$ = exports.LockSnapshotRequest$ = exports.LockedSnapshotsInfo$ = exports.LocalGatewayVirtualInterfaceGroup$ = exports.LocalGatewayVirtualInterface$ = exports.LocalGatewayRouteTableVpcAssociation$ = exports.LocalGatewayRouteTableVirtualInterfaceGroupAssociation$ = exports.LocalGatewayRouteTable$ = exports.LocalGatewayRoute$ = exports.LocalGateway$ = exports.LoadPermissionRequest$ = exports.LoadPermissionModifications$ = exports.LoadPermission$ = exports.LoadBalancersConfig$ = exports.ListVolumesInRecycleBinResult$ = void 0; +exports.ModifyManagedPrefixListResult$ = exports.ModifyManagedPrefixListRequest$ = exports.ModifyLocalGatewayRouteResult$ = exports.ModifyLocalGatewayRouteRequest$ = exports.ModifyLaunchTemplateResult$ = exports.ModifyLaunchTemplateRequest$ = exports.ModifyIpamScopeResult$ = exports.ModifyIpamScopeRequest$ = exports.ModifyIpamResult$ = exports.ModifyIpamResourceDiscoveryResult$ = exports.ModifyIpamResourceDiscoveryRequest$ = exports.ModifyIpamResourceCidrResult$ = exports.ModifyIpamResourceCidrRequest$ = exports.ModifyIpamRequest$ = exports.ModifyIpamPrefixListResolverTargetResult$ = exports.ModifyIpamPrefixListResolverTargetRequest$ = exports.ModifyIpamPrefixListResolverResult$ = exports.ModifyIpamPrefixListResolverRequest$ = exports.ModifyIpamPoolResult$ = exports.ModifyIpamPoolRequest$ = exports.ModifyIpamPolicyAllocationRulesResult$ = exports.ModifyIpamPolicyAllocationRulesRequest$ = exports.ModifyInstancePlacementResult$ = exports.ModifyInstancePlacementRequest$ = exports.ModifyInstanceNetworkPerformanceResult$ = exports.ModifyInstanceNetworkPerformanceRequest$ = exports.ModifyInstanceMetadataOptionsResult$ = exports.ModifyInstanceMetadataOptionsRequest$ = exports.ModifyInstanceMetadataDefaultsResult$ = exports.ModifyInstanceMetadataDefaultsRequest$ = exports.ModifyInstanceMaintenanceOptionsResult$ = exports.ModifyInstanceMaintenanceOptionsRequest$ = exports.ModifyInstanceEventWindowResult$ = exports.ModifyInstanceEventWindowRequest$ = exports.ModifyInstanceEventStartTimeResult$ = exports.ModifyInstanceEventStartTimeRequest$ = exports.ModifyInstanceCreditSpecificationResult$ = exports.ModifyInstanceCreditSpecificationRequest$ = exports.ModifyInstanceCpuOptionsResult$ = exports.ModifyInstanceCpuOptionsRequest$ = exports.ModifyInstanceConnectEndpointResult$ = exports.ModifyInstanceConnectEndpointRequest$ = exports.ModifyInstanceCapacityReservationAttributesResult$ = exports.ModifyInstanceCapacityReservationAttributesRequest$ = exports.ModifyInstanceAttributeRequest$ = exports.ModifyImageAttributeRequest$ = exports.ModifyIdFormatRequest$ = exports.ModifyIdentityIdFormatRequest$ = exports.ModifyHostsResult$ = exports.ModifyHostsRequest$ = void 0; +exports.ModifyVerifiedAccessInstanceResult$ = exports.ModifyVerifiedAccessInstanceRequest$ = exports.ModifyVerifiedAccessInstanceLoggingConfigurationResult$ = exports.ModifyVerifiedAccessInstanceLoggingConfigurationRequest$ = exports.ModifyVerifiedAccessGroupResult$ = exports.ModifyVerifiedAccessGroupRequest$ = exports.ModifyVerifiedAccessGroupPolicyResult$ = exports.ModifyVerifiedAccessGroupPolicyRequest$ = exports.ModifyVerifiedAccessEndpointResult$ = exports.ModifyVerifiedAccessEndpointRequest$ = exports.ModifyVerifiedAccessEndpointRdsOptions$ = exports.ModifyVerifiedAccessEndpointPortRange$ = exports.ModifyVerifiedAccessEndpointPolicyResult$ = exports.ModifyVerifiedAccessEndpointPolicyRequest$ = exports.ModifyVerifiedAccessEndpointLoadBalancerOptions$ = exports.ModifyVerifiedAccessEndpointEniOptions$ = exports.ModifyVerifiedAccessEndpointCidrOptions$ = exports.ModifyTransitGatewayVpcAttachmentResult$ = exports.ModifyTransitGatewayVpcAttachmentRequestOptions$ = exports.ModifyTransitGatewayVpcAttachmentRequest$ = exports.ModifyTransitGatewayResult$ = exports.ModifyTransitGatewayRequest$ = exports.ModifyTransitGatewayPrefixListReferenceResult$ = exports.ModifyTransitGatewayPrefixListReferenceRequest$ = exports.ModifyTransitGatewayOptions$ = exports.ModifyTransitGatewayMeteringPolicyResult$ = exports.ModifyTransitGatewayMeteringPolicyRequest$ = exports.ModifyTrafficMirrorSessionResult$ = exports.ModifyTrafficMirrorSessionRequest$ = exports.ModifyTrafficMirrorFilterRuleResult$ = exports.ModifyTrafficMirrorFilterRuleRequest$ = exports.ModifyTrafficMirrorFilterNetworkServicesResult$ = exports.ModifyTrafficMirrorFilterNetworkServicesRequest$ = exports.ModifySubnetAttributeRequest$ = exports.ModifySpotFleetRequestResponse$ = exports.ModifySpotFleetRequestRequest$ = exports.ModifySnapshotTierResult$ = exports.ModifySnapshotTierRequest$ = exports.ModifySnapshotAttributeRequest$ = exports.ModifySecurityGroupRulesResult$ = exports.ModifySecurityGroupRulesRequest$ = exports.ModifyRouteServerResult$ = exports.ModifyRouteServerRequest$ = exports.ModifyReservedInstancesResult$ = exports.ModifyReservedInstancesRequest$ = exports.ModifyPublicIpDnsNameOptionsResult$ = exports.ModifyPublicIpDnsNameOptionsRequest$ = exports.ModifyPrivateDnsNameOptionsResult$ = exports.ModifyPrivateDnsNameOptionsRequest$ = exports.ModifyNetworkInterfaceAttributeRequest$ = void 0; +exports.NatGatewayAddress$ = exports.NatGateway$ = exports.MovingAddressStatus$ = exports.MoveCapacityReservationInstancesResult$ = exports.MoveCapacityReservationInstancesRequest$ = exports.MoveByoipCidrToIpamResult$ = exports.MoveByoipCidrToIpamRequest$ = exports.MoveAddressToVpcResult$ = exports.MoveAddressToVpcRequest$ = exports.MonitorInstancesResult$ = exports.MonitorInstancesRequest$ = exports.Monitoring$ = exports.ModifyVpnTunnelOptionsSpecification$ = exports.ModifyVpnTunnelOptionsResult$ = exports.ModifyVpnTunnelOptionsRequest$ = exports.ModifyVpnTunnelCertificateResult$ = exports.ModifyVpnTunnelCertificateRequest$ = exports.ModifyVpnConnectionResult$ = exports.ModifyVpnConnectionRequest$ = exports.ModifyVpnConnectionOptionsResult$ = exports.ModifyVpnConnectionOptionsRequest$ = exports.ModifyVpcTenancyResult$ = exports.ModifyVpcTenancyRequest$ = exports.ModifyVpcPeeringConnectionOptionsResult$ = exports.ModifyVpcPeeringConnectionOptionsRequest$ = exports.ModifyVpcEndpointServicePermissionsResult$ = exports.ModifyVpcEndpointServicePermissionsRequest$ = exports.ModifyVpcEndpointServicePayerResponsibilityResult$ = exports.ModifyVpcEndpointServicePayerResponsibilityRequest$ = exports.ModifyVpcEndpointServiceConfigurationResult$ = exports.ModifyVpcEndpointServiceConfigurationRequest$ = exports.ModifyVpcEndpointResult$ = exports.ModifyVpcEndpointRequest$ = exports.ModifyVpcEndpointConnectionNotificationResult$ = exports.ModifyVpcEndpointConnectionNotificationRequest$ = exports.ModifyVpcEncryptionControlResult$ = exports.ModifyVpcEncryptionControlRequest$ = exports.ModifyVpcBlockPublicAccessOptionsResult$ = exports.ModifyVpcBlockPublicAccessOptionsRequest$ = exports.ModifyVpcBlockPublicAccessExclusionResult$ = exports.ModifyVpcBlockPublicAccessExclusionRequest$ = exports.ModifyVpcAttributeRequest$ = exports.ModifyVolumeResult$ = exports.ModifyVolumeRequest$ = exports.ModifyVolumeAttributeRequest$ = exports.ModifyVerifiedAccessTrustProviderResult$ = exports.ModifyVerifiedAccessTrustProviderRequest$ = exports.ModifyVerifiedAccessTrustProviderOidcOptions$ = exports.ModifyVerifiedAccessTrustProviderDeviceOptions$ = exports.ModifyVerifiedAccessNativeApplicationOidcOptions$ = void 0; +exports.PerformanceFactorReferenceRequest$ = exports.PerformanceFactorReference$ = exports.PeeringTgwInfo$ = exports.PeeringConnectionOptionsRequest$ = exports.PeeringConnectionOptions$ = exports.PeeringAttachmentStatus$ = exports.PciId$ = exports.PathStatementRequest$ = exports.PathStatement$ = exports.PathRequestFilter$ = exports.PathFilter$ = exports.PathComponent$ = exports.PacketHeaderStatementRequest$ = exports.PacketHeaderStatement$ = exports.OutpostLag$ = exports.OperatorResponse$ = exports.OperatorRequest$ = exports.OnDemandOptionsRequest$ = exports.OnDemandOptions$ = exports.OidcOptions$ = exports.NitroTpmInfo$ = exports.NewDhcpConfiguration$ = exports.NeuronInfo$ = exports.NeuronDeviceMemoryInfo$ = exports.NeuronDeviceInfo$ = exports.NeuronDeviceCoreInfo$ = exports.NetworkInterfacePrivateIpAddress$ = exports.NetworkInterfacePermissionState$ = exports.NetworkInterfacePermission$ = exports.NetworkInterfaceIpv6Address$ = exports.NetworkInterfaceCountRequest$ = exports.NetworkInterfaceCount$ = exports.NetworkInterfaceAttachmentChanges$ = exports.NetworkInterfaceAttachment$ = exports.NetworkInterfaceAssociation$ = exports.NetworkInterface$ = exports.NetworkInsightsPath$ = exports.NetworkInsightsAnalysis$ = exports.NetworkInsightsAccessScopeContent$ = exports.NetworkInsightsAccessScopeAnalysis$ = exports.NetworkInsightsAccessScope$ = exports.NetworkInfo$ = exports.NetworkCardInfo$ = exports.NetworkBandwidthGbpsRequest$ = exports.NetworkBandwidthGbps$ = exports.NetworkAclEntry$ = exports.NetworkAclAssociation$ = exports.NetworkAcl$ = exports.NativeApplicationOidcOptions$ = exports.NatGatewayAttachedAppliance$ = void 0; +exports.PurchaseCapacityBlockExtensionRequest$ = exports.Purchase$ = exports.PublicIpv4PoolRange$ = exports.PublicIpv4Pool$ = exports.PublicIpDnsNameOptions$ = exports.PtrUpdateStatus$ = exports.ProvisionPublicIpv4PoolCidrResult$ = exports.ProvisionPublicIpv4PoolCidrRequest$ = exports.ProvisionIpamPoolCidrResult$ = exports.ProvisionIpamPoolCidrRequest$ = exports.ProvisionIpamByoasnResult$ = exports.ProvisionIpamByoasnRequest$ = exports.ProvisionedBandwidth$ = exports.ProvisionByoipCidrResult$ = exports.ProvisionByoipCidrRequest$ = exports.PropagatingVgw$ = exports.ProductCode$ = exports.ProcessorInfo$ = exports.PrivateIpAddressSpecification$ = exports.PrivateDnsNameOptionsResponse$ = exports.PrivateDnsNameOptionsRequest$ = exports.PrivateDnsNameOptionsOnLaunch$ = exports.PrivateDnsNameConfiguration$ = exports.PrivateDnsDetails$ = exports.PrincipalIdFormat$ = exports.PricingDetail$ = exports.PriceScheduleSpecification$ = exports.PriceSchedule$ = exports.PrefixListId$ = exports.PrefixListEntry$ = exports.PrefixListAssociation$ = exports.PrefixList$ = exports.PortRange$ = exports.PoolCidrBlock$ = exports.PlacementResponse$ = exports.PlacementGroupInfo$ = exports.PlacementGroup$ = exports.Placement$ = exports.Phase2IntegrityAlgorithmsRequestListValue$ = exports.Phase2IntegrityAlgorithmsListValue$ = exports.Phase2EncryptionAlgorithmsRequestListValue$ = exports.Phase2EncryptionAlgorithmsListValue$ = exports.Phase2DHGroupNumbersRequestListValue$ = exports.Phase2DHGroupNumbersListValue$ = exports.Phase1IntegrityAlgorithmsRequestListValue$ = exports.Phase1IntegrityAlgorithmsListValue$ = exports.Phase1EncryptionAlgorithmsRequestListValue$ = exports.Phase1EncryptionAlgorithmsListValue$ = exports.Phase1DHGroupNumbersRequestListValue$ = exports.Phase1DHGroupNumbersListValue$ = void 0; +exports.ReplaceImageCriteriaInAllowedImagesSettingsResult$ = exports.ReplaceImageCriteriaInAllowedImagesSettingsRequest$ = exports.ReplaceIamInstanceProfileAssociationResult$ = exports.ReplaceIamInstanceProfileAssociationRequest$ = exports.RemovePrefixListEntry$ = exports.RemoveIpamOrganizationalUnitExclusion$ = exports.RemoveIpamOperatingRegion$ = exports.ReleaseIpamPoolAllocationResult$ = exports.ReleaseIpamPoolAllocationRequest$ = exports.ReleaseHostsResult$ = exports.ReleaseHostsRequest$ = exports.ReleaseAddressRequest$ = exports.RejectVpcPeeringConnectionResult$ = exports.RejectVpcPeeringConnectionRequest$ = exports.RejectVpcEndpointConnectionsResult$ = exports.RejectVpcEndpointConnectionsRequest$ = exports.RejectTransitGatewayVpcAttachmentResult$ = exports.RejectTransitGatewayVpcAttachmentRequest$ = exports.RejectTransitGatewayPeeringAttachmentResult$ = exports.RejectTransitGatewayPeeringAttachmentRequest$ = exports.RejectTransitGatewayMulticastDomainAssociationsResult$ = exports.RejectTransitGatewayMulticastDomainAssociationsRequest$ = exports.RejectCapacityReservationBillingOwnershipResult$ = exports.RejectCapacityReservationBillingOwnershipRequest$ = exports.RegisterTransitGatewayMulticastGroupSourcesResult$ = exports.RegisterTransitGatewayMulticastGroupSourcesRequest$ = exports.RegisterTransitGatewayMulticastGroupMembersResult$ = exports.RegisterTransitGatewayMulticastGroupMembersRequest$ = exports.RegisterInstanceTagAttributeRequest$ = exports.RegisterInstanceEventNotificationAttributesResult$ = exports.RegisterInstanceEventNotificationAttributesRequest$ = exports.RegisterImageResult$ = exports.RegisterImageRequest$ = exports.RegisteredInstance$ = exports.RegionGeography$ = exports.RegionalSummary$ = exports.Region$ = exports.ReferencedSecurityGroup$ = exports.RecurringCharge$ = exports.RebootInstancesRequest$ = exports.PurchaseScheduledInstancesResult$ = exports.PurchaseScheduledInstancesRequest$ = exports.PurchaseReservedInstancesOfferingResult$ = exports.PurchaseReservedInstancesOfferingRequest$ = exports.PurchaseRequest$ = exports.PurchaseHostReservationResult$ = exports.PurchaseHostReservationRequest$ = exports.PurchaseCapacityBlockResult$ = exports.PurchaseCapacityBlockRequest$ = exports.PurchaseCapacityBlockExtensionResult$ = void 0; +exports.ResponseLaunchTemplateData$ = exports.ResponseError$ = exports.ResourceTypeRequest$ = exports.ResourceTypeOption$ = exports.ResourceStatementRequest$ = exports.ResourceStatement$ = exports.ResetSnapshotAttributeRequest$ = exports.ResetNetworkInterfaceAttributeRequest$ = exports.ResetInstanceAttributeRequest$ = exports.ResetImageAttributeRequest$ = exports.ResetFpgaImageAttributeResult$ = exports.ResetFpgaImageAttributeRequest$ = exports.ResetEbsDefaultKmsKeyIdResult$ = exports.ResetEbsDefaultKmsKeyIdRequest$ = exports.ResetAddressAttributeResult$ = exports.ResetAddressAttributeRequest$ = exports.ReservedInstancesOffering$ = exports.ReservedInstancesModificationResult$ = exports.ReservedInstancesModification$ = exports.ReservedInstancesListing$ = exports.ReservedInstancesId$ = exports.ReservedInstancesConfiguration$ = exports.ReservedInstances$ = exports.ReservedInstanceReservationValue$ = exports.ReservedInstanceLimitPrice$ = exports.ReservedCapacityOptionsRequest$ = exports.ReservedCapacityOptions$ = exports.ReservationValue$ = exports.ReservationFleetInstanceSpecification$ = exports.Reservation$ = exports.RequestSpotLaunchSpecification$ = exports.RequestSpotInstancesResult$ = exports.RequestSpotInstancesRequest$ = exports.RequestSpotFleetResponse$ = exports.RequestSpotFleetRequest$ = exports.RequestLaunchTemplateData$ = exports.RequestIpamResourceTag$ = exports.RequestFilterPortRange$ = exports.ReportInstanceStatusRequest$ = exports.ReplaceVpnTunnelResult$ = exports.ReplaceVpnTunnelRequest$ = exports.ReplaceTransitGatewayRouteResult$ = exports.ReplaceTransitGatewayRouteRequest$ = exports.ReplaceRouteTableAssociationResult$ = exports.ReplaceRouteTableAssociationRequest$ = exports.ReplaceRouteRequest$ = exports.ReplaceRootVolumeTask$ = exports.ReplaceNetworkAclEntryRequest$ = exports.ReplaceNetworkAclAssociationResult$ = exports.ReplaceNetworkAclAssociationRequest$ = void 0; +exports.ScheduledInstancesIamInstanceProfile$ = exports.ScheduledInstancesEbs$ = exports.ScheduledInstancesBlockDeviceMapping$ = exports.ScheduledInstanceRecurrenceRequest$ = exports.ScheduledInstanceRecurrence$ = exports.ScheduledInstanceAvailability$ = exports.ScheduledInstance$ = exports.S3Storage$ = exports.S3ObjectTag$ = exports.RunScheduledInstancesResult$ = exports.RunScheduledInstancesRequest$ = exports.RunInstancesRequest$ = exports.RunInstancesMonitoringEnabled$ = exports.RuleOption$ = exports.RuleGroupTypePair$ = exports.RuleGroupRuleOptionsPair$ = exports.RouteTableAssociationState$ = exports.RouteTableAssociation$ = exports.RouteTable$ = exports.RouteServerRouteInstallationDetail$ = exports.RouteServerRoute$ = exports.RouteServerPropagation$ = exports.RouteServerPeer$ = exports.RouteServerEndpoint$ = exports.RouteServerBgpStatus$ = exports.RouteServerBgpOptionsRequest$ = exports.RouteServerBgpOptions$ = exports.RouteServerBfdStatus$ = exports.RouteServerAssociation$ = exports.RouteServer$ = exports.Route$ = exports.RevokeSecurityGroupIngressResult$ = exports.RevokeSecurityGroupIngressRequest$ = exports.RevokeSecurityGroupEgressResult$ = exports.RevokeSecurityGroupEgressRequest$ = exports.RevokedSecurityGroupRule$ = exports.RevokeClientVpnIngressResult$ = exports.RevokeClientVpnIngressRequest$ = exports.RestoreVolumeFromRecycleBinResult$ = exports.RestoreVolumeFromRecycleBinRequest$ = exports.RestoreSnapshotTierResult$ = exports.RestoreSnapshotTierRequest$ = exports.RestoreSnapshotFromRecycleBinResult$ = exports.RestoreSnapshotFromRecycleBinRequest$ = exports.RestoreManagedPrefixListVersionResult$ = exports.RestoreManagedPrefixListVersionRequest$ = exports.RestoreImageFromRecycleBinResult$ = exports.RestoreImageFromRecycleBinRequest$ = exports.RestoreAddressToClassicResult$ = exports.RestoreAddressToClassicRequest$ = void 0; +exports.SpotFleetRequestConfigData$ = exports.SpotFleetRequestConfig$ = exports.SpotFleetMonitoring$ = exports.SpotFleetLaunchSpecification$ = exports.SpotDatafeedSubscription$ = exports.SpotCapacityRebalance$ = exports.SnapshotTierStatus$ = exports.SnapshotTaskDetail$ = exports.SnapshotRecycleBinInfo$ = exports.SnapshotInfo$ = exports.SnapshotDiskContainer$ = exports.SnapshotDetail$ = exports.Snapshot$ = exports.SlotStartTimeRangeRequest$ = exports.SlotDateTimeRangeRequest$ = exports.ServiceTypeDetail$ = exports.ServiceLinkVirtualInterface$ = exports.ServiceDetail$ = exports.ServiceConfiguration$ = exports.SendDiagnosticInterruptRequest$ = exports.SecurityGroupVpcAssociation$ = exports.SecurityGroupRuleUpdate$ = exports.SecurityGroupRuleRequest$ = exports.SecurityGroupRuleDescription$ = exports.SecurityGroupRule$ = exports.SecurityGroupReference$ = exports.SecurityGroupIdentifier$ = exports.SecurityGroupForVpc$ = exports.SecurityGroup$ = exports.SecondarySubnetIpv4CidrBlockAssociation$ = exports.SecondarySubnet$ = exports.SecondaryNetworkIpv4CidrBlockAssociation$ = exports.SecondaryNetwork$ = exports.SecondaryInterfacePrivateIpAddressSpecificationRequest$ = exports.SecondaryInterfacePrivateIpAddressSpecification$ = exports.SecondaryInterfaceIpv4Address$ = exports.SecondaryInterfaceAttachment$ = exports.SecondaryInterface$ = exports.SearchTransitGatewayRoutesResult$ = exports.SearchTransitGatewayRoutesRequest$ = exports.SearchTransitGatewayMulticastGroupsResult$ = exports.SearchTransitGatewayMulticastGroupsRequest$ = exports.SearchLocalGatewayRoutesResult$ = exports.SearchLocalGatewayRoutesRequest$ = exports.ScheduledInstancesPrivateIpAddressConfig$ = exports.ScheduledInstancesPlacement$ = exports.ScheduledInstancesNetworkInterface$ = exports.ScheduledInstancesMonitoring$ = exports.ScheduledInstancesLaunchSpecification$ = exports.ScheduledInstancesIpv6Address$ = void 0; +exports.TargetNetwork$ = exports.TargetGroupsConfig$ = exports.TargetGroup$ = exports.TargetConfigurationRequest$ = exports.TargetConfiguration$ = exports.TargetCapacitySpecificationRequest$ = exports.TargetCapacitySpecification$ = exports.TagSpecification$ = exports.TagDescription$ = exports.Tag$ = exports.SupportedRegionDetail$ = exports.SuccessfulQueuedPurchaseDeletion$ = exports.SuccessfulInstanceCreditSpecificationItem$ = exports.Subscription$ = exports.SubnetIpv6CidrBlockAssociation$ = exports.SubnetIpPrefixes$ = exports.SubnetConfiguration$ = exports.SubnetCidrReservation$ = exports.SubnetCidrBlockState$ = exports.SubnetAssociation$ = exports.Subnet$ = exports.StoreImageTaskResult$ = exports.StorageLocation$ = exports.Storage$ = exports.StopInstancesResult$ = exports.StopInstancesRequest$ = exports.StateReason$ = exports.StartVpcEndpointServicePrivateDnsVerificationResult$ = exports.StartVpcEndpointServicePrivateDnsVerificationRequest$ = exports.StartNetworkInsightsAnalysisResult$ = exports.StartNetworkInsightsAnalysisRequest$ = exports.StartNetworkInsightsAccessScopeAnalysisResult$ = exports.StartNetworkInsightsAccessScopeAnalysisRequest$ = exports.StartInstancesResult$ = exports.StartInstancesRequest$ = exports.StartDeclarativePoliciesReportResult$ = exports.StartDeclarativePoliciesReportRequest$ = exports.StaleSecurityGroup$ = exports.StaleIpPermission$ = exports.SpotPrice$ = exports.SpotPlacementScore$ = exports.SpotPlacement$ = exports.SpotOptionsRequest$ = exports.SpotOptions$ = exports.SpotMarketOptions$ = exports.SpotMaintenanceStrategies$ = exports.SpotInstanceStatus$ = exports.SpotInstanceStateFault$ = exports.SpotInstanceRequest$ = exports.SpotFleetTagSpecification$ = void 0; +exports.TransitGatewayPropagation$ = exports.TransitGatewayPrefixListReference$ = exports.TransitGatewayPrefixListAttachment$ = exports.TransitGatewayPolicyTableEntry$ = exports.TransitGatewayPolicyTableAssociation$ = exports.TransitGatewayPolicyTable$ = exports.TransitGatewayPolicyRuleMetaData$ = exports.TransitGatewayPolicyRule$ = exports.TransitGatewayPeeringAttachmentOptions$ = exports.TransitGatewayPeeringAttachment$ = exports.TransitGatewayOptions$ = exports.TransitGatewayMulticastRegisteredGroupSources$ = exports.TransitGatewayMulticastRegisteredGroupMembers$ = exports.TransitGatewayMulticastGroup$ = exports.TransitGatewayMulticastDomainOptions$ = exports.TransitGatewayMulticastDomainAssociations$ = exports.TransitGatewayMulticastDomainAssociation$ = exports.TransitGatewayMulticastDomain$ = exports.TransitGatewayMulticastDeregisteredGroupSources$ = exports.TransitGatewayMulticastDeregisteredGroupMembers$ = exports.TransitGatewayMeteringPolicyRule$ = exports.TransitGatewayMeteringPolicyEntry$ = exports.TransitGatewayMeteringPolicy$ = exports.TransitGatewayConnectRequestBgpOptions$ = exports.TransitGatewayConnectPeerConfiguration$ = exports.TransitGatewayConnectPeer$ = exports.TransitGatewayConnectOptions$ = exports.TransitGatewayConnect$ = exports.TransitGatewayAttachmentPropagation$ = exports.TransitGatewayAttachmentBgpConfiguration$ = exports.TransitGatewayAttachmentAssociation$ = exports.TransitGatewayAttachment$ = exports.TransitGatewayAssociation$ = exports.TransitGateway$ = exports.TrafficMirrorTarget$ = exports.TrafficMirrorSession$ = exports.TrafficMirrorPortRangeRequest$ = exports.TrafficMirrorPortRange$ = exports.TrafficMirrorFilterRule$ = exports.TrafficMirrorFilter$ = exports.TotalLocalStorageGBRequest$ = exports.TotalLocalStorageGB$ = exports.ThroughResourcesStatementRequest$ = exports.ThroughResourcesStatement$ = exports.TerminateInstancesResult$ = exports.TerminateInstancesRequest$ = exports.TerminateConnectionStatus$ = exports.TerminateClientVpnConnectionsResult$ = exports.TerminateClientVpnConnectionsRequest$ = exports.TargetReservationValue$ = void 0; +exports.VerifiedAccessEndpointRdsOptions$ = exports.VerifiedAccessEndpointPortRange$ = exports.VerifiedAccessEndpointLoadBalancerOptions$ = exports.VerifiedAccessEndpointEniOptions$ = exports.VerifiedAccessEndpointCidrOptions$ = exports.VerifiedAccessEndpoint$ = exports.VCpuInfo$ = exports.VCpuCountRangeRequest$ = exports.VCpuCountRange$ = exports.ValidationWarning$ = exports.ValidationError$ = exports.UserIdGroupPair$ = exports.UserData$ = exports.UserBucketDetails$ = exports.UserBucket$ = exports.UpdateSecurityGroupRuleDescriptionsIngressResult$ = exports.UpdateSecurityGroupRuleDescriptionsIngressRequest$ = exports.UpdateSecurityGroupRuleDescriptionsEgressResult$ = exports.UpdateSecurityGroupRuleDescriptionsEgressRequest$ = exports.UpdateInterruptibleCapacityReservationAllocationResult$ = exports.UpdateInterruptibleCapacityReservationAllocationRequest$ = exports.UpdateCapacityManagerOrganizationsAccessResult$ = exports.UpdateCapacityManagerOrganizationsAccessRequest$ = exports.UpdateCapacityManagerMonitoredTagKeysResult$ = exports.UpdateCapacityManagerMonitoredTagKeysRequest$ = exports.UnsuccessfulItemError$ = exports.UnsuccessfulItem$ = exports.UnsuccessfulInstanceCreditSpecificationItemError$ = exports.UnsuccessfulInstanceCreditSpecificationItem$ = exports.UnmonitorInstancesResult$ = exports.UnmonitorInstancesRequest$ = exports.UnlockSnapshotResult$ = exports.UnlockSnapshotRequest$ = exports.UnassignPrivateNatGatewayAddressResult$ = exports.UnassignPrivateNatGatewayAddressRequest$ = exports.UnassignPrivateIpAddressesRequest$ = exports.UnassignIpv6AddressesResult$ = exports.UnassignIpv6AddressesRequest$ = exports.TunnelOption$ = exports.TrunkInterfaceAssociation$ = exports.TransitGatewayVpcAttachmentOptions$ = exports.TransitGatewayVpcAttachment$ = exports.TransitGatewayRouteTableRoute$ = exports.TransitGatewayRouteTablePropagation$ = exports.TransitGatewayRouteTableAssociation$ = exports.TransitGatewayRouteTableAnnouncement$ = exports.TransitGatewayRouteTable$ = exports.TransitGatewayRouteAttachment$ = exports.TransitGatewayRoute$ = exports.TransitGatewayRequestOptions$ = void 0; +exports.VpcIpv6CidrBlockAssociation$ = exports.VpcEndpointConnection$ = exports.VpcEndpointAssociation$ = exports.VpcEndpoint$ = exports.VpcEncryptionNonCompliantResource$ = exports.VpcEncryptionControlExclusions$ = exports.VpcEncryptionControlExclusion$ = exports.VpcEncryptionControlConfiguration$ = exports.VpcEncryptionControl$ = exports.VpcClassicLink$ = exports.VpcCidrBlockState$ = exports.VpcCidrBlockAssociation$ = exports.VpcBlockPublicAccessOptions$ = exports.VpcBlockPublicAccessExclusion$ = exports.VpcAttachment$ = exports.Vpc$ = exports.VolumeStatusItem$ = exports.VolumeStatusInfo$ = exports.VolumeStatusEvent$ = exports.VolumeStatusDetails$ = exports.VolumeStatusAttachmentStatus$ = exports.VolumeStatusAction$ = exports.VolumeRecycleBinInfo$ = exports.VolumeModification$ = exports.VolumeDetail$ = exports.VolumeAttachment$ = exports.Volume$ = exports.VgwTelemetry$ = exports.VerifiedAccessTrustProviderCondensed$ = exports.VerifiedAccessTrustProvider$ = exports.VerifiedAccessSseSpecificationResponse$ = exports.VerifiedAccessSseSpecificationRequest$ = exports.VerifiedAccessLogS3DestinationOptions$ = exports.VerifiedAccessLogS3Destination$ = exports.VerifiedAccessLogs$ = exports.VerifiedAccessLogOptions$ = exports.VerifiedAccessLogKinesisDataFirehoseDestinationOptions$ = exports.VerifiedAccessLogKinesisDataFirehoseDestination$ = exports.VerifiedAccessLogDeliveryStatus$ = exports.VerifiedAccessLogCloudWatchLogsDestinationOptions$ = exports.VerifiedAccessLogCloudWatchLogsDestination$ = exports.VerifiedAccessInstanceUserTrustProviderClientConfiguration$ = exports.VerifiedAccessInstanceOpenVpnClientConfigurationRoute$ = exports.VerifiedAccessInstanceOpenVpnClientConfiguration$ = exports.VerifiedAccessInstanceLoggingConfiguration$ = exports.VerifiedAccessInstanceCustomSubDomain$ = exports.VerifiedAccessInstance$ = exports.VerifiedAccessGroup$ = exports.VerifiedAccessEndpointTarget$ = exports.VerifiedAccessEndpointStatus$ = void 0; +exports.AssociateTrunkInterface$ = exports.AssociateTransitGatewayRouteTable$ = exports.AssociateTransitGatewayPolicyTable$ = exports.AssociateTransitGatewayMulticastDomain$ = exports.AssociateSubnetCidrBlock$ = exports.AssociateSecurityGroupVpc$ = exports.AssociateRouteTable$ = exports.AssociateRouteServer$ = exports.AssociateNatGatewayAddress$ = exports.AssociateIpamResourceDiscovery$ = exports.AssociateIpamByoasn$ = exports.AssociateInstanceEventWindow$ = exports.AssociateIamInstanceProfile$ = exports.AssociateEnclaveCertificateIamRole$ = exports.AssociateDhcpOptions$ = exports.AssociateClientVpnTargetNetwork$ = exports.AssociateCapacityReservationBillingOwner$ = exports.AssociateAddress$ = exports.AssignPrivateNatGatewayAddress$ = exports.AssignPrivateIpAddresses$ = exports.AssignIpv6Addresses$ = exports.ApplySecurityGroupsToClientVpnTargetNetwork$ = exports.AllocateIpamPoolCidr$ = exports.AllocateHosts$ = exports.AllocateAddress$ = exports.AdvertiseByoipCidr$ = exports.AcceptVpcPeeringConnection$ = exports.AcceptVpcEndpointConnections$ = exports.AcceptTransitGatewayVpcAttachment$ = exports.AcceptTransitGatewayPeeringAttachment$ = exports.AcceptTransitGatewayMulticastDomainAssociations$ = exports.AcceptReservedInstancesExchangeQuote$ = exports.AcceptCapacityReservationBillingOwnership$ = exports.AcceptAddressTransfer$ = exports.WithdrawByoipCidrResult$ = exports.WithdrawByoipCidrRequest$ = exports.VpnTunnelOptionsSpecification$ = exports.VpnTunnelLogOptionsSpecification$ = exports.VpnTunnelLogOptions$ = exports.VpnStaticRoute$ = exports.VpnGateway$ = exports.VpnConnectionOptionsSpecification$ = exports.VpnConnectionOptions$ = exports.VpnConnectionDeviceType$ = exports.VpnConnection$ = exports.VpnConcentrator$ = exports.VpcPeeringConnectionVpcInfo$ = exports.VpcPeeringConnectionStateReason$ = exports.VpcPeeringConnectionOptionsDescription$ = exports.VpcPeeringConnection$ = void 0; +exports.CreateInstanceExportTask$ = exports.CreateInstanceEventWindow$ = exports.CreateInstanceConnectEndpoint$ = exports.CreateImageUsageReport$ = exports.CreateImage$ = exports.CreateFpgaImage$ = exports.CreateFlowLogs$ = exports.CreateFleet$ = exports.CreateEgressOnlyInternetGateway$ = exports.CreateDhcpOptions$ = exports.CreateDelegateMacVolumeOwnershipTask$ = exports.CreateDefaultVpc$ = exports.CreateDefaultSubnet$ = exports.CreateCustomerGateway$ = exports.CreateCoipPool$ = exports.CreateCoipCidr$ = exports.CreateClientVpnRoute$ = exports.CreateClientVpnEndpoint$ = exports.CreateCarrierGateway$ = exports.CreateCapacityReservationFleet$ = exports.CreateCapacityReservationBySplitting$ = exports.CreateCapacityReservation$ = exports.CreateCapacityManagerDataExport$ = exports.CopyVolumes$ = exports.CopySnapshot$ = exports.CopyImage$ = exports.CopyFpgaImage$ = exports.ConfirmProductInstance$ = exports.CancelSpotInstanceRequests$ = exports.CancelSpotFleetRequests$ = exports.CancelReservedInstancesListing$ = exports.CancelImportTask$ = exports.CancelImageLaunchPermission$ = exports.CancelExportTask$ = exports.CancelDeclarativePoliciesReport$ = exports.CancelConversionTask$ = exports.CancelCapacityReservationFleets$ = exports.CancelCapacityReservation$ = exports.CancelBundleTask$ = exports.BundleInstance$ = exports.AuthorizeSecurityGroupIngress$ = exports.AuthorizeSecurityGroupEgress$ = exports.AuthorizeClientVpnIngress$ = exports.AttachVpnGateway$ = exports.AttachVolume$ = exports.AttachVerifiedAccessTrustProvider$ = exports.AttachNetworkInterface$ = exports.AttachInternetGateway$ = exports.AttachClassicLinkVpc$ = exports.AssociateVpcCidrBlock$ = void 0; +exports.CreateTrafficMirrorFilterRule$ = exports.CreateTrafficMirrorFilter$ = exports.CreateTags$ = exports.CreateSubnetCidrReservation$ = exports.CreateSubnet$ = exports.CreateStoreImageTask$ = exports.CreateSpotDatafeedSubscription$ = exports.CreateSnapshots$ = exports.CreateSnapshot$ = exports.CreateSecurityGroup$ = exports.CreateSecondarySubnet$ = exports.CreateSecondaryNetwork$ = exports.CreateRouteTable$ = exports.CreateRouteServerPeer$ = exports.CreateRouteServerEndpoint$ = exports.CreateRouteServer$ = exports.CreateRoute$ = exports.CreateRestoreImageTask$ = exports.CreateReservedInstancesListing$ = exports.CreateReplaceRootVolumeTask$ = exports.CreatePublicIpv4Pool$ = exports.CreatePlacementGroup$ = exports.CreateNetworkInterfacePermission$ = exports.CreateNetworkInterface$ = exports.CreateNetworkInsightsPath$ = exports.CreateNetworkInsightsAccessScope$ = exports.CreateNetworkAclEntry$ = exports.CreateNetworkAcl$ = exports.CreateNatGateway$ = exports.CreateManagedPrefixList$ = exports.CreateMacSystemIntegrityProtectionModificationTask$ = exports.CreateLocalGatewayVirtualInterfaceGroup$ = exports.CreateLocalGatewayVirtualInterface$ = exports.CreateLocalGatewayRouteTableVpcAssociation$ = exports.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation$ = exports.CreateLocalGatewayRouteTable$ = exports.CreateLocalGatewayRoute$ = exports.CreateLaunchTemplateVersion$ = exports.CreateLaunchTemplate$ = exports.CreateKeyPair$ = exports.CreateIpamScope$ = exports.CreateIpamResourceDiscovery$ = exports.CreateIpamPrefixListResolverTarget$ = exports.CreateIpamPrefixListResolver$ = exports.CreateIpamPool$ = exports.CreateIpamPolicy$ = exports.CreateIpamExternalResourceVerificationToken$ = exports.CreateIpam$ = exports.CreateInterruptibleCapacityReservationAllocation$ = exports.CreateInternetGateway$ = void 0; +exports.DeleteIpamPolicy$ = exports.DeleteIpamExternalResourceVerificationToken$ = exports.DeleteIpam$ = exports.DeleteInternetGateway$ = exports.DeleteInstanceEventWindow$ = exports.DeleteInstanceConnectEndpoint$ = exports.DeleteImageUsageReport$ = exports.DeleteFpgaImage$ = exports.DeleteFlowLogs$ = exports.DeleteFleets$ = exports.DeleteEgressOnlyInternetGateway$ = exports.DeleteDhcpOptions$ = exports.DeleteCustomerGateway$ = exports.DeleteCoipPool$ = exports.DeleteCoipCidr$ = exports.DeleteClientVpnRoute$ = exports.DeleteClientVpnEndpoint$ = exports.DeleteCarrierGateway$ = exports.DeleteCapacityManagerDataExport$ = exports.CreateVpnGateway$ = exports.CreateVpnConnectionRoute$ = exports.CreateVpnConnection$ = exports.CreateVpnConcentrator$ = exports.CreateVpcPeeringConnection$ = exports.CreateVpcEndpointServiceConfiguration$ = exports.CreateVpcEndpointConnectionNotification$ = exports.CreateVpcEndpoint$ = exports.CreateVpcEncryptionControl$ = exports.CreateVpcBlockPublicAccessExclusion$ = exports.CreateVpc$ = exports.CreateVolume$ = exports.CreateVerifiedAccessTrustProvider$ = exports.CreateVerifiedAccessInstance$ = exports.CreateVerifiedAccessGroup$ = exports.CreateVerifiedAccessEndpoint$ = exports.CreateTransitGatewayVpcAttachment$ = exports.CreateTransitGatewayRouteTableAnnouncement$ = exports.CreateTransitGatewayRouteTable$ = exports.CreateTransitGatewayRoute$ = exports.CreateTransitGatewayPrefixListReference$ = exports.CreateTransitGatewayPolicyTable$ = exports.CreateTransitGatewayPeeringAttachment$ = exports.CreateTransitGatewayMulticastDomain$ = exports.CreateTransitGatewayMeteringPolicyEntry$ = exports.CreateTransitGatewayMeteringPolicy$ = exports.CreateTransitGatewayConnectPeer$ = exports.CreateTransitGatewayConnect$ = exports.CreateTransitGateway$ = exports.CreateTrafficMirrorTarget$ = exports.CreateTrafficMirrorSession$ = void 0; +exports.DeleteTransitGatewayMulticastDomain$ = exports.DeleteTransitGatewayMeteringPolicyEntry$ = exports.DeleteTransitGatewayMeteringPolicy$ = exports.DeleteTransitGatewayConnectPeer$ = exports.DeleteTransitGatewayConnect$ = exports.DeleteTransitGateway$ = exports.DeleteTrafficMirrorTarget$ = exports.DeleteTrafficMirrorSession$ = exports.DeleteTrafficMirrorFilterRule$ = exports.DeleteTrafficMirrorFilter$ = exports.DeleteTags$ = exports.DeleteSubnetCidrReservation$ = exports.DeleteSubnet$ = exports.DeleteSpotDatafeedSubscription$ = exports.DeleteSnapshot$ = exports.DeleteSecurityGroup$ = exports.DeleteSecondarySubnet$ = exports.DeleteSecondaryNetwork$ = exports.DeleteRouteTable$ = exports.DeleteRouteServerPeer$ = exports.DeleteRouteServerEndpoint$ = exports.DeleteRouteServer$ = exports.DeleteRoute$ = exports.DeleteQueuedReservedInstances$ = exports.DeletePublicIpv4Pool$ = exports.DeletePlacementGroup$ = exports.DeleteNetworkInterfacePermission$ = exports.DeleteNetworkInterface$ = exports.DeleteNetworkInsightsPath$ = exports.DeleteNetworkInsightsAnalysis$ = exports.DeleteNetworkInsightsAccessScopeAnalysis$ = exports.DeleteNetworkInsightsAccessScope$ = exports.DeleteNetworkAclEntry$ = exports.DeleteNetworkAcl$ = exports.DeleteNatGateway$ = exports.DeleteManagedPrefixList$ = exports.DeleteLocalGatewayVirtualInterfaceGroup$ = exports.DeleteLocalGatewayVirtualInterface$ = exports.DeleteLocalGatewayRouteTableVpcAssociation$ = exports.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation$ = exports.DeleteLocalGatewayRouteTable$ = exports.DeleteLocalGatewayRoute$ = exports.DeleteLaunchTemplateVersions$ = exports.DeleteLaunchTemplate$ = exports.DeleteKeyPair$ = exports.DeleteIpamScope$ = exports.DeleteIpamResourceDiscovery$ = exports.DeleteIpamPrefixListResolverTarget$ = exports.DeleteIpamPrefixListResolver$ = exports.DeleteIpamPool$ = void 0; +exports.DescribeCapacityReservationTopology$ = exports.DescribeCapacityReservations$ = exports.DescribeCapacityReservationFleets$ = exports.DescribeCapacityReservationBillingRequests$ = exports.DescribeCapacityManagerDataExports$ = exports.DescribeCapacityBlockStatus$ = exports.DescribeCapacityBlocks$ = exports.DescribeCapacityBlockOfferings$ = exports.DescribeCapacityBlockExtensionOfferings$ = exports.DescribeCapacityBlockExtensionHistory$ = exports.DescribeByoipCidrs$ = exports.DescribeBundleTasks$ = exports.DescribeAwsNetworkPerformanceMetricSubscriptions$ = exports.DescribeAvailabilityZones$ = exports.DescribeAggregateIdFormat$ = exports.DescribeAddressTransfers$ = exports.DescribeAddressesAttribute$ = exports.DescribeAddresses$ = exports.DescribeAccountAttributes$ = exports.DeregisterTransitGatewayMulticastGroupSources$ = exports.DeregisterTransitGatewayMulticastGroupMembers$ = exports.DeregisterInstanceEventNotificationAttributes$ = exports.DeregisterImage$ = exports.DeprovisionPublicIpv4PoolCidr$ = exports.DeprovisionIpamPoolCidr$ = exports.DeprovisionIpamByoasn$ = exports.DeprovisionByoipCidr$ = exports.DeleteVpnGateway$ = exports.DeleteVpnConnectionRoute$ = exports.DeleteVpnConnection$ = exports.DeleteVpnConcentrator$ = exports.DeleteVpcPeeringConnection$ = exports.DeleteVpcEndpointServiceConfigurations$ = exports.DeleteVpcEndpoints$ = exports.DeleteVpcEndpointConnectionNotifications$ = exports.DeleteVpcEncryptionControl$ = exports.DeleteVpcBlockPublicAccessExclusion$ = exports.DeleteVpc$ = exports.DeleteVolume$ = exports.DeleteVerifiedAccessTrustProvider$ = exports.DeleteVerifiedAccessInstance$ = exports.DeleteVerifiedAccessGroup$ = exports.DeleteVerifiedAccessEndpoint$ = exports.DeleteTransitGatewayVpcAttachment$ = exports.DeleteTransitGatewayRouteTableAnnouncement$ = exports.DeleteTransitGatewayRouteTable$ = exports.DeleteTransitGatewayRoute$ = exports.DeleteTransitGatewayPrefixListReference$ = exports.DeleteTransitGatewayPolicyTable$ = exports.DeleteTransitGatewayPeeringAttachment$ = void 0; +exports.DescribeInstanceTypes$ = exports.DescribeInstanceTypeOfferings$ = exports.DescribeInstanceTopology$ = exports.DescribeInstanceStatus$ = exports.DescribeInstanceSqlHaStates$ = exports.DescribeInstanceSqlHaHistoryStates$ = exports.DescribeInstances$ = exports.DescribeInstanceImageMetadata$ = exports.DescribeInstanceEventWindows$ = exports.DescribeInstanceEventNotificationAttributes$ = exports.DescribeInstanceCreditSpecifications$ = exports.DescribeInstanceConnectEndpoints$ = exports.DescribeInstanceAttribute$ = exports.DescribeImportSnapshotTasks$ = exports.DescribeImportImageTasks$ = exports.DescribeImageUsageReports$ = exports.DescribeImageUsageReportEntries$ = exports.DescribeImages$ = exports.DescribeImageReferences$ = exports.DescribeImageAttribute$ = exports.DescribeIdFormat$ = exports.DescribeIdentityIdFormat$ = exports.DescribeIamInstanceProfileAssociations$ = exports.DescribeHosts$ = exports.DescribeHostReservations$ = exports.DescribeHostReservationOfferings$ = exports.DescribeFpgaImages$ = exports.DescribeFpgaImageAttribute$ = exports.DescribeFlowLogs$ = exports.DescribeFleets$ = exports.DescribeFleetInstances$ = exports.DescribeFleetHistory$ = exports.DescribeFastSnapshotRestores$ = exports.DescribeFastLaunchImages$ = exports.DescribeExportTasks$ = exports.DescribeExportImageTasks$ = exports.DescribeElasticGpus$ = exports.DescribeEgressOnlyInternetGateways$ = exports.DescribeDhcpOptions$ = exports.DescribeDeclarativePoliciesReports$ = exports.DescribeCustomerGateways$ = exports.DescribeConversionTasks$ = exports.DescribeCoipPools$ = exports.DescribeClientVpnTargetNetworks$ = exports.DescribeClientVpnRoutes$ = exports.DescribeClientVpnEndpoints$ = exports.DescribeClientVpnConnections$ = exports.DescribeClientVpnAuthorizationRules$ = exports.DescribeClassicLinkInstances$ = exports.DescribeCarrierGateways$ = void 0; +exports.DescribeRouteTables$ = exports.DescribeRouteServers$ = exports.DescribeRouteServerPeers$ = exports.DescribeRouteServerEndpoints$ = exports.DescribeReservedInstancesOfferings$ = exports.DescribeReservedInstancesModifications$ = exports.DescribeReservedInstancesListings$ = exports.DescribeReservedInstances$ = exports.DescribeReplaceRootVolumeTasks$ = exports.DescribeRegions$ = exports.DescribePublicIpv4Pools$ = exports.DescribePrincipalIdFormat$ = exports.DescribePrefixLists$ = exports.DescribePlacementGroups$ = exports.DescribeOutpostLags$ = exports.DescribeNetworkInterfaces$ = exports.DescribeNetworkInterfacePermissions$ = exports.DescribeNetworkInterfaceAttribute$ = exports.DescribeNetworkInsightsPaths$ = exports.DescribeNetworkInsightsAnalyses$ = exports.DescribeNetworkInsightsAccessScopes$ = exports.DescribeNetworkInsightsAccessScopeAnalyses$ = exports.DescribeNetworkAcls$ = exports.DescribeNatGateways$ = exports.DescribeMovingAddresses$ = exports.DescribeManagedPrefixLists$ = exports.DescribeMacModificationTasks$ = exports.DescribeMacHosts$ = exports.DescribeLockedSnapshots$ = exports.DescribeLocalGatewayVirtualInterfaces$ = exports.DescribeLocalGatewayVirtualInterfaceGroups$ = exports.DescribeLocalGateways$ = exports.DescribeLocalGatewayRouteTableVpcAssociations$ = exports.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations$ = exports.DescribeLocalGatewayRouteTables$ = exports.DescribeLaunchTemplateVersions$ = exports.DescribeLaunchTemplates$ = exports.DescribeKeyPairs$ = exports.DescribeIpv6Pools$ = exports.DescribeIpamScopes$ = exports.DescribeIpams$ = exports.DescribeIpamResourceDiscoveryAssociations$ = exports.DescribeIpamResourceDiscoveries$ = exports.DescribeIpamPrefixListResolverTargets$ = exports.DescribeIpamPrefixListResolvers$ = exports.DescribeIpamPools$ = exports.DescribeIpamPolicies$ = exports.DescribeIpamExternalResourceVerificationTokens$ = exports.DescribeIpamByoasn$ = exports.DescribeInternetGateways$ = void 0; +exports.DescribeVpcBlockPublicAccessExclusions$ = exports.DescribeVpcAttribute$ = exports.DescribeVolumeStatus$ = exports.DescribeVolumesModifications$ = exports.DescribeVolumes$ = exports.DescribeVolumeAttribute$ = exports.DescribeVerifiedAccessTrustProviders$ = exports.DescribeVerifiedAccessInstances$ = exports.DescribeVerifiedAccessInstanceLoggingConfigurations$ = exports.DescribeVerifiedAccessGroups$ = exports.DescribeVerifiedAccessEndpoints$ = exports.DescribeTrunkInterfaceAssociations$ = exports.DescribeTransitGatewayVpcAttachments$ = exports.DescribeTransitGateways$ = exports.DescribeTransitGatewayRouteTables$ = exports.DescribeTransitGatewayRouteTableAnnouncements$ = exports.DescribeTransitGatewayPolicyTables$ = exports.DescribeTransitGatewayPeeringAttachments$ = exports.DescribeTransitGatewayMulticastDomains$ = exports.DescribeTransitGatewayMeteringPolicies$ = exports.DescribeTransitGatewayConnects$ = exports.DescribeTransitGatewayConnectPeers$ = exports.DescribeTransitGatewayAttachments$ = exports.DescribeTrafficMirrorTargets$ = exports.DescribeTrafficMirrorSessions$ = exports.DescribeTrafficMirrorFilters$ = exports.DescribeTrafficMirrorFilterRules$ = exports.DescribeTags$ = exports.DescribeSubnets$ = exports.DescribeStoreImageTasks$ = exports.DescribeStaleSecurityGroups$ = exports.DescribeSpotPriceHistory$ = exports.DescribeSpotInstanceRequests$ = exports.DescribeSpotFleetRequests$ = exports.DescribeSpotFleetRequestHistory$ = exports.DescribeSpotFleetInstances$ = exports.DescribeSpotDatafeedSubscription$ = exports.DescribeSnapshotTierStatus$ = exports.DescribeSnapshots$ = exports.DescribeSnapshotAttribute$ = exports.DescribeServiceLinkVirtualInterfaces$ = exports.DescribeSecurityGroupVpcAssociations$ = exports.DescribeSecurityGroups$ = exports.DescribeSecurityGroupRules$ = exports.DescribeSecurityGroupReferences$ = exports.DescribeSecondarySubnets$ = exports.DescribeSecondaryNetworks$ = exports.DescribeSecondaryInterfaces$ = exports.DescribeScheduledInstances$ = exports.DescribeScheduledInstanceAvailability$ = void 0; +exports.DisassociateIpamByoasn$ = exports.DisassociateInstanceEventWindow$ = exports.DisassociateIamInstanceProfile$ = exports.DisassociateEnclaveCertificateIamRole$ = exports.DisassociateClientVpnTargetNetwork$ = exports.DisassociateCapacityReservationBillingOwner$ = exports.DisassociateAddress$ = exports.DisableVpcClassicLinkDnsSupport$ = exports.DisableVpcClassicLink$ = exports.DisableVgwRoutePropagation$ = exports.DisableTransitGatewayRouteTablePropagation$ = exports.DisableSnapshotBlockPublicAccess$ = exports.DisableSerialConsoleAccess$ = exports.DisableRouteServerPropagation$ = exports.DisableIpamPolicy$ = exports.DisableIpamOrganizationAdminAccount$ = exports.DisableInstanceSqlHaStandbyDetections$ = exports.DisableImageDeregistrationProtection$ = exports.DisableImageDeprecation$ = exports.DisableImageBlockPublicAccess$ = exports.DisableImage$ = exports.DisableFastSnapshotRestores$ = exports.DisableFastLaunch$ = exports.DisableEbsEncryptionByDefault$ = exports.DisableCapacityManager$ = exports.DisableAwsNetworkPerformanceMetricSubscription$ = exports.DisableAllowedImagesSettings$ = exports.DisableAddressTransfer$ = exports.DetachVpnGateway$ = exports.DetachVolume$ = exports.DetachVerifiedAccessTrustProvider$ = exports.DetachNetworkInterface$ = exports.DetachInternetGateway$ = exports.DetachClassicLinkVpc$ = exports.DescribeVpnGateways$ = exports.DescribeVpnConnections$ = exports.DescribeVpnConcentrators$ = exports.DescribeVpcs$ = exports.DescribeVpcPeeringConnections$ = exports.DescribeVpcEndpointServices$ = exports.DescribeVpcEndpointServicePermissions$ = exports.DescribeVpcEndpointServiceConfigurations$ = exports.DescribeVpcEndpoints$ = exports.DescribeVpcEndpointConnections$ = exports.DescribeVpcEndpointConnectionNotifications$ = exports.DescribeVpcEndpointAssociations$ = exports.DescribeVpcEncryptionControls$ = exports.DescribeVpcClassicLinkDnsSupport$ = exports.DescribeVpcClassicLink$ = exports.DescribeVpcBlockPublicAccessOptions$ = void 0; +exports.GetCoipPoolUsage$ = exports.GetCapacityReservationUsage$ = exports.GetCapacityManagerMonitoredTagKeys$ = exports.GetCapacityManagerMetricDimensions$ = exports.GetCapacityManagerMetricData$ = exports.GetCapacityManagerAttributes$ = exports.GetAwsNetworkPerformanceData$ = exports.GetAssociatedIpv6PoolCidrs$ = exports.GetAssociatedEnclaveCertificateIamRoles$ = exports.GetAllowedImagesSettings$ = exports.GetActiveVpnTunnelStatus$ = exports.ExportVerifiedAccessInstanceClientConfiguration$ = exports.ExportTransitGatewayRoutes$ = exports.ExportImage$ = exports.ExportClientVpnClientConfiguration$ = exports.ExportClientVpnClientCertificateRevocationList$ = exports.EnableVpcClassicLinkDnsSupport$ = exports.EnableVpcClassicLink$ = exports.EnableVolumeIO$ = exports.EnableVgwRoutePropagation$ = exports.EnableTransitGatewayRouteTablePropagation$ = exports.EnableSnapshotBlockPublicAccess$ = exports.EnableSerialConsoleAccess$ = exports.EnableRouteServerPropagation$ = exports.EnableReachabilityAnalyzerOrganizationSharing$ = exports.EnableIpamPolicy$ = exports.EnableIpamOrganizationAdminAccount$ = exports.EnableInstanceSqlHaStandbyDetections$ = exports.EnableImageDeregistrationProtection$ = exports.EnableImageDeprecation$ = exports.EnableImageBlockPublicAccess$ = exports.EnableImage$ = exports.EnableFastSnapshotRestores$ = exports.EnableFastLaunch$ = exports.EnableEbsEncryptionByDefault$ = exports.EnableCapacityManager$ = exports.EnableAwsNetworkPerformanceMetricSubscription$ = exports.EnableAllowedImagesSettings$ = exports.EnableAddressTransfer$ = exports.DisassociateVpcCidrBlock$ = exports.DisassociateTrunkInterface$ = exports.DisassociateTransitGatewayRouteTable$ = exports.DisassociateTransitGatewayPolicyTable$ = exports.DisassociateTransitGatewayMulticastDomain$ = exports.DisassociateSubnetCidrBlock$ = exports.DisassociateSecurityGroupVpc$ = exports.DisassociateRouteTable$ = exports.DisassociateRouteServer$ = exports.DisassociateNatGatewayAddress$ = exports.DisassociateIpamResourceDiscovery$ = void 0; +exports.GetTransitGatewayRouteTableAssociations$ = exports.GetTransitGatewayPrefixListReferences$ = exports.GetTransitGatewayPolicyTableEntries$ = exports.GetTransitGatewayPolicyTableAssociations$ = exports.GetTransitGatewayMulticastDomainAssociations$ = exports.GetTransitGatewayMeteringPolicyEntries$ = exports.GetTransitGatewayAttachmentPropagations$ = exports.GetSubnetCidrReservations$ = exports.GetSpotPlacementScores$ = exports.GetSnapshotBlockPublicAccessState$ = exports.GetSerialConsoleAccessStatus$ = exports.GetSecurityGroupsForVpc$ = exports.GetRouteServerRoutingDatabase$ = exports.GetRouteServerPropagations$ = exports.GetRouteServerAssociations$ = exports.GetReservedInstancesExchangeQuote$ = exports.GetPasswordData$ = exports.GetNetworkInsightsAccessScopeContent$ = exports.GetNetworkInsightsAccessScopeAnalysisFindings$ = exports.GetManagedPrefixListEntries$ = exports.GetManagedPrefixListAssociations$ = exports.GetLaunchTemplateData$ = exports.GetIpamResourceCidrs$ = exports.GetIpamPrefixListResolverVersions$ = exports.GetIpamPrefixListResolverVersionEntries$ = exports.GetIpamPrefixListResolverRules$ = exports.GetIpamPoolCidrs$ = exports.GetIpamPoolAllocations$ = exports.GetIpamPolicyOrganizationTargets$ = exports.GetIpamPolicyAllocationRules$ = exports.GetIpamDiscoveredResourceCidrs$ = exports.GetIpamDiscoveredPublicAddresses$ = exports.GetIpamDiscoveredAccounts$ = exports.GetIpamAddressHistory$ = exports.GetInstanceUefiData$ = exports.GetInstanceTypesFromInstanceRequirements$ = exports.GetInstanceTpmEkPub$ = exports.GetInstanceMetadataDefaults$ = exports.GetImageBlockPublicAccessState$ = exports.GetImageAncestry$ = exports.GetHostReservationPurchasePreview$ = exports.GetGroupsForCapacityReservation$ = exports.GetFlowLogsIntegrationTemplate$ = exports.GetEnabledIpamPolicy$ = exports.GetEbsEncryptionByDefault$ = exports.GetEbsDefaultKmsKeyId$ = exports.GetDefaultCreditSpecification$ = exports.GetDeclarativePoliciesReportSummary$ = exports.GetConsoleScreenshot$ = exports.GetConsoleOutput$ = void 0; +exports.ModifyIpamResourceDiscovery$ = exports.ModifyIpamResourceCidr$ = exports.ModifyIpamPrefixListResolverTarget$ = exports.ModifyIpamPrefixListResolver$ = exports.ModifyIpamPool$ = exports.ModifyIpamPolicyAllocationRules$ = exports.ModifyIpam$ = exports.ModifyInstancePlacement$ = exports.ModifyInstanceNetworkPerformanceOptions$ = exports.ModifyInstanceMetadataOptions$ = exports.ModifyInstanceMetadataDefaults$ = exports.ModifyInstanceMaintenanceOptions$ = exports.ModifyInstanceEventWindow$ = exports.ModifyInstanceEventStartTime$ = exports.ModifyInstanceCreditSpecification$ = exports.ModifyInstanceCpuOptions$ = exports.ModifyInstanceConnectEndpoint$ = exports.ModifyInstanceCapacityReservationAttributes$ = exports.ModifyInstanceAttribute$ = exports.ModifyImageAttribute$ = exports.ModifyIdFormat$ = exports.ModifyIdentityIdFormat$ = exports.ModifyHosts$ = exports.ModifyFpgaImageAttribute$ = exports.ModifyFleet$ = exports.ModifyEbsDefaultKmsKeyId$ = exports.ModifyDefaultCreditSpecification$ = exports.ModifyClientVpnEndpoint$ = exports.ModifyCapacityReservationFleet$ = exports.ModifyCapacityReservation$ = exports.ModifyAvailabilityZoneGroup$ = exports.ModifyAddressAttribute$ = exports.LockSnapshot$ = exports.ListVolumesInRecycleBin$ = exports.ListSnapshotsInRecycleBin$ = exports.ListImagesInRecycleBin$ = exports.ImportVolume$ = exports.ImportSnapshot$ = exports.ImportKeyPair$ = exports.ImportInstance$ = exports.ImportImage$ = exports.ImportClientVpnClientCertificateRevocationList$ = exports.GetVpnTunnelReplacementStatus$ = exports.GetVpnConnectionDeviceTypes$ = exports.GetVpnConnectionDeviceSampleConfiguration$ = exports.GetVpcResourcesBlockingEncryptionEnforcement$ = exports.GetVerifiedAccessGroupPolicy$ = exports.GetVerifiedAccessEndpointTargets$ = exports.GetVerifiedAccessEndpointPolicy$ = exports.GetTransitGatewayRouteTablePropagations$ = void 0; +exports.ProvisionByoipCidr$ = exports.MoveCapacityReservationInstances$ = exports.MoveByoipCidrToIpam$ = exports.MoveAddressToVpc$ = exports.MonitorInstances$ = exports.ModifyVpnTunnelOptions$ = exports.ModifyVpnTunnelCertificate$ = exports.ModifyVpnConnectionOptions$ = exports.ModifyVpnConnection$ = exports.ModifyVpcTenancy$ = exports.ModifyVpcPeeringConnectionOptions$ = exports.ModifyVpcEndpointServicePermissions$ = exports.ModifyVpcEndpointServicePayerResponsibility$ = exports.ModifyVpcEndpointServiceConfiguration$ = exports.ModifyVpcEndpointConnectionNotification$ = exports.ModifyVpcEndpoint$ = exports.ModifyVpcEncryptionControl$ = exports.ModifyVpcBlockPublicAccessOptions$ = exports.ModifyVpcBlockPublicAccessExclusion$ = exports.ModifyVpcAttribute$ = exports.ModifyVolumeAttribute$ = exports.ModifyVolume$ = exports.ModifyVerifiedAccessTrustProvider$ = exports.ModifyVerifiedAccessInstanceLoggingConfiguration$ = exports.ModifyVerifiedAccessInstance$ = exports.ModifyVerifiedAccessGroupPolicy$ = exports.ModifyVerifiedAccessGroup$ = exports.ModifyVerifiedAccessEndpointPolicy$ = exports.ModifyVerifiedAccessEndpoint$ = exports.ModifyTransitGatewayVpcAttachment$ = exports.ModifyTransitGatewayPrefixListReference$ = exports.ModifyTransitGatewayMeteringPolicy$ = exports.ModifyTransitGateway$ = exports.ModifyTrafficMirrorSession$ = exports.ModifyTrafficMirrorFilterRule$ = exports.ModifyTrafficMirrorFilterNetworkServices$ = exports.ModifySubnetAttribute$ = exports.ModifySpotFleetRequest$ = exports.ModifySnapshotTier$ = exports.ModifySnapshotAttribute$ = exports.ModifySecurityGroupRules$ = exports.ModifyRouteServer$ = exports.ModifyReservedInstances$ = exports.ModifyPublicIpDnsNameOptions$ = exports.ModifyPrivateDnsNameOptions$ = exports.ModifyNetworkInterfaceAttribute$ = exports.ModifyManagedPrefixList$ = exports.ModifyLocalGatewayRoute$ = exports.ModifyLaunchTemplate$ = exports.ModifyIpamScope$ = void 0; +exports.RunInstances$ = exports.RevokeSecurityGroupIngress$ = exports.RevokeSecurityGroupEgress$ = exports.RevokeClientVpnIngress$ = exports.RestoreVolumeFromRecycleBin$ = exports.RestoreSnapshotTier$ = exports.RestoreSnapshotFromRecycleBin$ = exports.RestoreManagedPrefixListVersion$ = exports.RestoreImageFromRecycleBin$ = exports.RestoreAddressToClassic$ = exports.ResetSnapshotAttribute$ = exports.ResetNetworkInterfaceAttribute$ = exports.ResetInstanceAttribute$ = exports.ResetImageAttribute$ = exports.ResetFpgaImageAttribute$ = exports.ResetEbsDefaultKmsKeyId$ = exports.ResetAddressAttribute$ = exports.RequestSpotInstances$ = exports.RequestSpotFleet$ = exports.ReportInstanceStatus$ = exports.ReplaceVpnTunnel$ = exports.ReplaceTransitGatewayRoute$ = exports.ReplaceRouteTableAssociation$ = exports.ReplaceRoute$ = exports.ReplaceNetworkAclEntry$ = exports.ReplaceNetworkAclAssociation$ = exports.ReplaceImageCriteriaInAllowedImagesSettings$ = exports.ReplaceIamInstanceProfileAssociation$ = exports.ReleaseIpamPoolAllocation$ = exports.ReleaseHosts$ = exports.ReleaseAddress$ = exports.RejectVpcPeeringConnection$ = exports.RejectVpcEndpointConnections$ = exports.RejectTransitGatewayVpcAttachment$ = exports.RejectTransitGatewayPeeringAttachment$ = exports.RejectTransitGatewayMulticastDomainAssociations$ = exports.RejectCapacityReservationBillingOwnership$ = exports.RegisterTransitGatewayMulticastGroupSources$ = exports.RegisterTransitGatewayMulticastGroupMembers$ = exports.RegisterInstanceEventNotificationAttributes$ = exports.RegisterImage$ = exports.RebootInstances$ = exports.PurchaseScheduledInstances$ = exports.PurchaseReservedInstancesOffering$ = exports.PurchaseHostReservation$ = exports.PurchaseCapacityBlockExtension$ = exports.PurchaseCapacityBlock$ = exports.ProvisionPublicIpv4PoolCidr$ = exports.ProvisionIpamPoolCidr$ = exports.ProvisionIpamByoasn$ = void 0; +exports.WithdrawByoipCidr$ = exports.UpdateSecurityGroupRuleDescriptionsIngress$ = exports.UpdateSecurityGroupRuleDescriptionsEgress$ = exports.UpdateInterruptibleCapacityReservationAllocation$ = exports.UpdateCapacityManagerOrganizationsAccess$ = exports.UpdateCapacityManagerMonitoredTagKeys$ = exports.UnmonitorInstances$ = exports.UnlockSnapshot$ = exports.UnassignPrivateNatGatewayAddress$ = exports.UnassignPrivateIpAddresses$ = exports.UnassignIpv6Addresses$ = exports.TerminateInstances$ = exports.TerminateClientVpnConnections$ = exports.StopInstances$ = exports.StartVpcEndpointServicePrivateDnsVerification$ = exports.StartNetworkInsightsAnalysis$ = exports.StartNetworkInsightsAccessScopeAnalysis$ = exports.StartInstances$ = exports.StartDeclarativePoliciesReport$ = exports.SendDiagnosticInterrupt$ = exports.SearchTransitGatewayRoutes$ = exports.SearchTransitGatewayMulticastGroups$ = exports.SearchLocalGatewayRoutes$ = exports.RunScheduledInstances$ = void 0; +const _A = "Address"; +const _AA = "AccountAttribute"; +const _AAC = "AsnAuthorizationContext"; +const _AACv = "AvailableAddressCount"; +const _AAG = "AuthorizeAllGroups"; +const _AAI = "AwsAccountId"; +const _AAId = "AddressAllocationId"; +const _AAL = "AccountAttributeList"; +const _AANSL = "AccountAttributeNameStringList"; +const _AAP = "AddAllowedPrincipals"; +const _AAR = "AllocateAddressRequest"; +const _AART = "AddAllocationResourceTags"; +const _AARTd = "AddAllocationResourceTag"; +const _AARl = "AllocateAddressResult"; +const _AARn = "AnalysisAclRule"; +const _AARs = "AssociateAddressRequest"; +const _AARss = "AssociateAddressResult"; +const _AAS = "AsnAssociationSet"; +const _AASA = "AutoAcceptSharedAssociations"; +const _AASAu = "AutoAcceptSharedAttachments"; +const _AAT = "AcceptAddressTransfer"; +const _AATR = "AcceptAddressTransferRequest"; +const _AATRc = "AcceptAddressTransferResult"; +const _AAV = "AccountAttributeValue"; +const _AAVL = "AccountAttributeValueList"; +const _AAZ = "AllAvailabilityZones"; +const _AAc = "AccessAll"; +const _AAcc = "AccountAttributes"; +const _AAd = "AddressAttribute"; +const _AAdd = "AdditionalAccounts"; +const _AAddi = "AdditionalAccount"; +const _AAl = "AllocateAddress"; +const _AAp = "ApplianceArn"; +const _AAs = "AsnAssociation"; +const _AAsn = "AsnAssociations"; +const _AAss = "AssociateAddress"; +const _AAt = "AttachedAppliances"; +const _ABC = "AdvertiseByoipCidr"; +const _ABCR = "AdvertiseByoipCidrRequest"; +const _ABCRd = "AdvertiseByoipCidrResult"; +const _ABHP = "ActualBlockHourlyPrice"; +const _ABV = "AttributeBooleanValue"; +const _AC = "AcceleratorCount"; +const _ACIA = "AssociateCarrierIpAddress"; +const _ACL = "AnalysisComponentList"; +const _ACLV = "AttachClassicLinkVpc"; +const _ACLVR = "AttachClassicLinkVpcRequest"; +const _ACLVRt = "AttachClassicLinkVpcResult"; +const _ACR = "AcceleratorCountRequest"; +const _ACRBO = "AcceptCapacityReservationBillingOwnership"; +const _ACRBOR = "AcceptCapacityReservationBillingOwnershipRequest"; +const _ACRBORc = "AcceptCapacityReservationBillingOwnershipResult"; +const _ACRBORs = "AssociateCapacityReservationBillingOwnerRequest"; +const _ACRBORss = "AssociateCapacityReservationBillingOwnerResult"; +const _ACRBOs = "AssociateCapacityReservationBillingOwner"; +const _ACT = "ArchivalCompleteTime"; +const _ACVI = "AuthorizeClientVpnIngress"; +const _ACVIR = "AuthorizeClientVpnIngressRequest"; +const _ACVIRu = "AuthorizeClientVpnIngressResult"; +const _ACVTN = "AssociateClientVpnTargetNetwork"; +const _ACVTNR = "AssociateClientVpnTargetNetworkRequest"; +const _ACVTNRs = "AssociateClientVpnTargetNetworkResult"; +const _ACd = "AddressCount"; +const _ACl = "AllowedCidrs"; +const _ACll = "AllowedCidr"; +const _ACn = "AnalysisComponent"; +const _ACv = "AvailableCapacity"; +const _AD = "AdditionalDetail"; +const _ADL = "AdditionalDetailList"; +const _ADNL = "AllocationDefaultNetmaskLength"; +const _ADO = "AssociateDhcpOptions"; +const _ADOR = "AssociateDhcpOptionsRequest"; +const _ADRFRV = "AllowDnsResolutionFromRemoteVpc"; +const _ADRTI = "AssociationDefaultRouteTableId"; +const _ADT = "AdditionalDetailType"; +const _ADc = "ActiveDirectory"; +const _ADd = "AdditionalDetails"; +const _ADn = "AnnouncementDirection"; +const _ADp = "ApplicationDomain"; +const _AE = "AuthorizationEndpoint"; +const _AEC = "AnalyzedEniCount"; +const _AECIR = "AssociateEnclaveCertificateIamRole"; +const _AECIRR = "AssociateEnclaveCertificateIamRoleRequest"; +const _AECIRRs = "AssociateEnclaveCertificateIamRoleResult"; +const _AEFLCLTRV = "AllowEgressFromLocalClassicLinkToRemoteVpc"; +const _AEFLVTRCL = "AllowEgressFromLocalVpcToRemoteClassicLink"; +const _AEIO = "AutoEnableIO"; +const _AES = "AttachedEbsStatus"; +const _AESS = "AttachmentEnaSrdSpecification"; +const _AESUS = "AttachmentEnaSrdUdpSpecification"; +const _AET = "AnalysisEndTime"; +const _AEd = "AddEntries"; +const _AEdd = "AddEntry"; +const _AF = "AddressFamily"; +const _AFNI = "AdditionalFlexibleNetworkInterfaces"; +const _AFn = "AnalysisFindings"; +const _AGI = "AccessGroupId"; +const _AGLBA = "AddGatewayLoadBalancerArns"; +const _AGLBAd = "AddGatewayLoadBalancerArn"; +const _AH = "AllocateHosts"; +const _AHR = "AllocateHostsRequest"; +const _AHRl = "AllocateHostsResult"; +const _AI = "ActiveInstance"; +const _AIA = "AssignedIpv6Addresses"; +const _AIAC = "AvailableIpAddressCount"; +const _AIAOC = "AssignIpv6AddressOnCreation"; +const _AIAR = "AssignIpv6AddressesRequest"; +const _AIARs = "AssignIpv6AddressesResult"; +const _AIAs = "AssignIpv6Addresses"; +const _AIB = "AssociateIpamByoasn"; +const _AIBR = "AssociateIpamByoasnRequest"; +const _AIBRs = "AssociateIpamByoasnResult"; +const _AIC = "AvailableInstanceCapacity"; +const _AICL = "AvailableInstanceCapacityList"; +const _AICv = "AvailableInstanceCount"; +const _AIEW = "AssociateInstanceEventWindow"; +const _AIEWR = "AssociateInstanceEventWindowRequest"; +const _AIEWRs = "AssociateInstanceEventWindowResult"; +const _AIG = "AttachInternetGateway"; +const _AIGR = "AttachInternetGatewayRequest"; +const _AIIP = "AssociateIamInstanceProfile"; +const _AIIPR = "AssociateIamInstanceProfileRequest"; +const _AIIPRs = "AssociateIamInstanceProfileResult"; +const _AIL = "AllocationIdList"; +const _AILs = "AssociationIdList"; +const _AIOR = "AddIpamOperatingRegion"; +const _AIORS = "AddIpamOperatingRegionSet"; +const _AIOUE = "AddIpamOrganizationalUnitExclusion"; +const _AIOUES = "AddIpamOrganizationalUnitExclusionSet"; +const _AIP = "AssignedIpv6Prefixes"; +const _AIPC = "AllocateIpamPoolCidr"; +const _AIPCR = "AllocateIpamPoolCidrRequest"; +const _AIPCRl = "AllocateIpamPoolCidrResult"; +const _AIPs = "AssignedIpv4Prefixes"; +const _AIRD = "AssociateIpamResourceDiscovery"; +const _AIRDR = "AssociateIpamResourceDiscoveryRequest"; +const _AIRDRs = "AssociateIpamResourceDiscoveryResult"; +const _AIS = "ActiveInstanceSet"; +const _AISS = "AllowedImagesSettingsState"; +const _AISt = "AthenaIntegrationsSet"; +const _AIT = "AllowedInstanceTypes"; +const _AITS = "AllowedInstanceTypeSet"; +const _AITl = "AllowedInstanceType"; +const _AIc = "AccountId"; +const _AIcc = "AccountIds"; +const _AIct = "ActiveInstances"; +const _AId = "AdditionalInfo"; +const _AIl = "AllocationId"; +const _AIll = "AllocationIds"; +const _AIm = "AmiId"; +const _AIp = "AppleInternal"; +const _AIs = "AssociationId"; +const _AIss = "AssetIds"; +const _AIsse = "AssetId"; +const _AIsso = "AssociationIds"; +const _AIt = "AthenaIntegration"; +const _AIth = "AthenaIntegrations"; +const _AItt = "AttachmentId"; +const _AIu = "AutoImport"; +const _AL = "AccountLevel"; +const _ALBL = "AnalysisLoadBalancerListener"; +const _ALBT = "AnalysisLoadBalancerTarget"; +const _ALI = "AmiLaunchIndex"; +const _ALT = "AttachmentLimitType"; +const _ALc = "AccessLogs"; +const _ALd = "AddressList"; +const _ALr = "ArnList"; +const _AM = "AllocationMetadata"; +const _AMAI = "AddMiddleboxAttachmentIds"; +const _AMAId = "AddMiddleboxAttachmentId"; +const _AMIT = "AllowsMultipleInstanceTypes"; +const _AMNL = "AllocationMinNetmaskLength"; +const _AMNLl = "AllocationMaxNetmaskLength"; +const _AMS = "ApplianceModeSupport"; +const _AMSc = "AcceleratorManufacturerSet"; +const _AMc = "AcceleratorManufacturers"; +const _AMcc = "AcceleratorManufacturer"; +const _AMv = "AvailabilityMode"; +const _AN = "AttributeName"; +const _ANGA = "AssociateNatGatewayAddress"; +const _ANGAR = "AssociateNatGatewayAddressRequest"; +const _ANGARs = "AssociateNatGatewayAddressResult"; +const _ANI = "AttachNetworkInterface"; +const _ANIR = "AttachNetworkInterfaceRequest"; +const _ANIRt = "AttachNetworkInterfaceResult"; +const _ANLBA = "AddNetworkLoadBalancerArns"; +const _ANLBAd = "AddNetworkLoadBalancerArn"; +const _ANS = "AddNetworkServices"; +const _ANSc = "AcceleratorNameSet"; +const _ANSd = "AddNetworkService"; +const _ANc = "AccountName"; +const _ANcc = "AcceleratorNames"; +const _ANcce = "AcceleratorName"; +const _ANt = "AttributeNames"; +const _AO = "AuthenticationOptions"; +const _AOI = "AddressOwnerId"; +const _AOR = "AddOperatingRegions"; +const _AORd = "AddOperatingRegion"; +const _AOUE = "AddOrganizationalUnitExclusions"; +const _AOUEd = "AddOrganizationalUnitExclusion"; +const _AP = "AddedPrincipal"; +const _APCO = "AccepterPeeringConnectionOptions"; +const _APH = "AlternatePathHint"; +const _APHL = "AlternatePathHintList"; +const _APHl = "AlternatePathHints"; +const _APHn = "AnalysisPacketHeader"; +const _APIA = "AssignedPrivateIpAddress"; +const _APIAL = "AssignedPrivateIpAddressList"; +const _APIAR = "AssignPrivateIpAddressesRequest"; +const _APIARs = "AssignPrivateIpAddressesResult"; +const _APIAs = "AssignedPrivateIpAddresses"; +const _APIAss = "AssociatePublicIpAddress"; +const _APIAssi = "AssignPrivateIpAddresses"; +const _APICB = "AmazonProvidedIpv6CidrBlock"; +const _APLE = "AddPrefixListEntry"; +const _APLEd = "AddPrefixListEntries"; +const _APM = "ApplyPendingMaintenance"; +const _APNGA = "AssignPrivateNatGatewayAddress"; +const _APNGAR = "AssignPrivateNatGatewayAddressRequest"; +const _APNGARs = "AssignPrivateNatGatewayAddressResult"; +const _APS = "AddedPrincipalSet"; +const _APSl = "AllowedPrincipalSet"; +const _APZ = "AutoProvisionZones"; +const _APd = "AddedPrincipals"; +const _APl = "AllowedPrincipal"; +const _APll = "AllowedPrincipals"; +const _APs = "AsPaths"; +const _APsa = "AsPath"; +const _APu = "AutoPlacement"; +const _AR = "AllowReassignment"; +const _ARA = "AssociatedRoleArn"; +const _ARAd = "AdditionalRoutesAvailable"; +const _ARAs = "AssociatedResourceAccessibility"; +const _ARAss = "AssociatedResourceArn"; +const _ARC = "AcceptedRouteCount"; +const _ARIEQ = "AcceptReservedInstancesExchangeQuote"; +const _ARIEQR = "AcceptReservedInstancesExchangeQuoteRequest"; +const _ARIEQRc = "AcceptReservedInstancesExchangeQuoteResult"; +const _ARL = "AssociatedRolesList"; +const _ARP = "AreRoutesPersisted"; +const _ARS = "AutoRecoverySupported"; +const _ARSR = "AssociateRouteServerRequest"; +const _ARSRs = "AssociateRouteServerResult"; +const _ARSs = "AssociateRouteServer"; +const _ARSu = "AuthorizationRuleSet"; +const _ART = "AllocationResourceTags"; +const _ARTI = "AddRouteTableIds"; +const _ARTId = "AddRouteTableId"; +const _ARTR = "AnalysisRouteTableRoute"; +const _ARTRs = "AssociateRouteTableRequest"; +const _ARTRss = "AssociateRouteTableResult"; +const _ARTl = "AllocationResourceTag"; +const _ARTs = "AssociateRouteTable"; +const _ARc = "AcceptanceRequired"; +const _ARcl = "AclRule"; +const _ARd = "AddressRegion"; +const _ARl = "AllowReassociation"; +const _ARll = "AllRegions"; +const _ARllo = "AllocationRules"; +const _ARlloc = "AllocationRule"; +const _ARs = "AssociatedRole"; +const _ARss = "AssociatedResource"; +const _ARsso = "AssociatedRoles"; +const _ARu = "AuthorizationRule"; +const _ARut = "AuthorizationRules"; +const _ARuto = "AutoRecovery"; +const _ARw = "AwsRegion"; +const _AS = "AssociationState"; +const _ASA = "AmazonSideAsn"; +const _ASAF = "AccessScopeAnalysisFinding"; +const _ASAFL = "AccessScopeAnalysisFindingList"; +const _ASCB = "AssociateSubnetCidrBlock"; +const _ASCBR = "AssociateSubnetCidrBlockRequest"; +const _ASCBRs = "AssociateSubnetCidrBlockResult"; +const _ASGE = "AuthorizeSecurityGroupEgress"; +const _ASGER = "AuthorizeSecurityGroupEgressRequest"; +const _ASGERu = "AuthorizeSecurityGroupEgressResult"; +const _ASGI = "AddSecurityGroupIds"; +const _ASGIR = "AuthorizeSecurityGroupIngressRequest"; +const _ASGIRu = "AuthorizeSecurityGroupIngressResult"; +const _ASGId = "AddSecurityGroupId"; +const _ASGIu = "AuthorizeSecurityGroupIngress"; +const _ASGR = "AnalysisSecurityGroupRule"; +const _ASGTCVTN = "ApplySecurityGroupsToClientVpnTargetNetwork"; +const _ASGTCVTNR = "ApplySecurityGroupsToClientVpnTargetNetworkRequest"; +const _ASGTCVTNRp = "ApplySecurityGroupsToClientVpnTargetNetworkResult"; +const _ASGV = "AssociateSecurityGroupVpc"; +const _ASGVR = "AssociateSecurityGroupVpcRequest"; +const _ASGVRs = "AssociateSecurityGroupVpcResult"; +const _ASI = "AssociatedSubnetIds"; +const _ASIAT = "AddSupportedIpAddressTypes"; +const _ASIATd = "AddSupportedIpAddressType"; +const _ASId = "AddSubnetIds"; +const _ASIdd = "AddSubnetId"; +const _ASIs = "AssociatedSubnetId"; +const _ASIu = "AutoScalingIps"; +const _ASL = "AssociatedSubnetList"; +const _ASLt = "AttributeSummaryList"; +const _ASP = "AccessScopePath"; +const _ASPL = "AccessScopePathList"; +const _ASPLR = "AccessScopePathListRequest"; +const _ASPR = "AccessScopePathRequest"; +const _ASR = "AddSupportedRegions"; +const _ASRd = "AddSupportedRegion"; +const _ASS = "AmdSevSnp"; +const _AST = "AnalysisStartTime"; +const _ASTB = "AnalysisStartTimeBegin"; +const _ASTE = "AnalysisStartTimeEnd"; +const _ASc = "ActivityStatus"; +const _ASd = "AddressSet"; +const _ASl = "AllocationStrategy"; +const _ASn = "AnalysisStatus"; +const _ASs = "AssociationStatus"; +const _ASss = "AssociatedSubnets"; +const _ASt = "AttributeSummary"; +const _AStt = "AttributeSummaries"; +const _AStta = "AttachmentState"; +const _ASttac = "AttachmentStatuses"; +const _ASw = "AwsService"; +const _AT = "AddressTransfer"; +const _ATGAI = "AccepterTransitGatewayAttachmentId"; +const _ATGCB = "AddTransitGatewayCidrBlocks"; +const _ATGMD = "AssociateTransitGatewayMulticastDomain"; +const _ATGMDA = "AcceptTransitGatewayMulticastDomainAssociations"; +const _ATGMDAR = "AcceptTransitGatewayMulticastDomainAssociationsRequest"; +const _ATGMDARc = "AcceptTransitGatewayMulticastDomainAssociationsResult"; +const _ATGMDR = "AssociateTransitGatewayMulticastDomainRequest"; +const _ATGMDRs = "AssociateTransitGatewayMulticastDomainResult"; +const _ATGPA = "AcceptTransitGatewayPeeringAttachment"; +const _ATGPAR = "AcceptTransitGatewayPeeringAttachmentRequest"; +const _ATGPARc = "AcceptTransitGatewayPeeringAttachmentResult"; +const _ATGPT = "AssociateTransitGatewayPolicyTable"; +const _ATGPTR = "AssociateTransitGatewayPolicyTableRequest"; +const _ATGPTRs = "AssociateTransitGatewayPolicyTableResult"; +const _ATGRT = "AssociateTransitGatewayRouteTable"; +const _ATGRTR = "AssociateTransitGatewayRouteTableRequest"; +const _ATGRTRs = "AssociateTransitGatewayRouteTableResult"; +const _ATGVA = "AcceptTransitGatewayVpcAttachment"; +const _ATGVAR = "AcceptTransitGatewayVpcAttachmentRequest"; +const _ATGVARc = "AcceptTransitGatewayVpcAttachmentResult"; +const _ATI = "AccepterTgwInfo"; +const _ATIR = "AssociateTrunkInterfaceRequest"; +const _ATIRs = "AssociateTrunkInterfaceResult"; +const _ATIs = "AssociateTrunkInterface"; +const _ATK = "ActivateTagKeys"; +const _ATKc = "ActivateTagKey"; +const _ATL = "AddressTransferList"; +const _ATLr = "ArchitectureTypeList"; +const _ATMMB = "AcceleratorTotalMemoryMiB"; +const _ATMMBR = "AcceleratorTotalMemoryMiBRequest"; +const _ATN = "AssociatedTargetNetwork"; +const _ATNS = "AssociatedTargetNetworkSet"; +const _ATNs = "AssociatedTargetNetworks"; +const _ATS = "AddressTransferStatus"; +const _ATSc = "AcceleratorTypeSet"; +const _ATSr = "ArchitectureTypeSet"; +const _ATc = "AcceleratorTypes"; +const _ATcc = "AcceleratorType"; +const _ATd = "AdvertisementType"; +const _ATdd = "AddressTransfers"; +const _ATddr = "AddressType"; +const _ATddre = "AddressingType"; +const _ATl = "AllocationType"; +const _ATll = "AllocationTime"; +const _ATr = "ArchitectureTypes"; +const _ATrc = "ArchitectureType"; +const _ATs = "AssociationTarget"; +const _ATt = "AttachmentType"; +const _ATtt = "AttachTime"; +const _ATtta = "AttachedTo"; +const _AV = "AttributeValues"; +const _AVATP = "AttachVerifiedAccessTrustProvider"; +const _AVATPR = "AttachVerifiedAccessTrustProviderRequest"; +const _AVATPRt = "AttachVerifiedAccessTrustProviderResult"; +const _AVC = "AvailableVCpus"; +const _AVCB = "AssociateVpcCidrBlock"; +const _AVCBR = "AssociateVpcCidrBlockRequest"; +const _AVCBRs = "AssociateVpcCidrBlockResult"; +const _AVEC = "AcceptVpcEndpointConnections"; +const _AVECR = "AcceptVpcEndpointConnectionsRequest"; +const _AVECRc = "AcceptVpcEndpointConnectionsResult"; +const _AVG = "AttachVpnGateway"; +const _AVGR = "AttachVpnGatewayRequest"; +const _AVGRt = "AttachVpnGatewayResult"; +const _AVI = "AccepterVpcInfo"; +const _AVPC = "AcceptVpcPeeringConnection"; +const _AVPCR = "AcceptVpcPeeringConnectionRequest"; +const _AVPCRc = "AcceptVpcPeeringConnectionResult"; +const _AVR = "AttachVolumeRequest"; +const _AVTS = "ActiveVpnTunnelStatus"; +const _AVt = "AttributeValue"; +const _AVtt = "AttachVolume"; +const _AWSAKI = "AWSAccessKeyId"; +const _AZ = "AvailabilityZone"; +const _AZA = "AvailabilityZoneAddress"; +const _AZAv = "AvailabilityZoneAddresses"; +const _AZG = "AvailabilityZoneGeography"; +const _AZGL = "AvailabilityZoneGeographyList"; +const _AZGv = "AvailabilityZoneGroup"; +const _AZI = "AvailabilityZoneId"; +const _AZISL = "AvailabilityZoneIdStringList"; +const _AZIv = "AvailabilityZoneIds"; +const _AZL = "AvailabilityZoneList"; +const _AZM = "AvailabilityZoneMessage"; +const _AZML = "AvailabilityZoneMessageList"; +const _AZSG = "AvailabilityZoneSubGeography"; +const _AZSGL = "AvailabilityZoneSubGeographyList"; +const _AZSL = "AvailabilityZoneStringList"; +const _AZv = "AvailabilityZones"; +const _Ac = "Acl"; +const _Acc = "Accelerators"; +const _Acce = "Accept"; +const _Act = "Active"; +const _Acti = "Actions"; +const _Ad = "Add"; +const _Add = "Addresses"; +const _Af = "Affinity"; +const _Am = "Amount"; +const _Ar = "Arn"; +const _Arc = "Architecture"; +const _As = "Associations"; +const _Asn = "Asn"; +const _Ass = "Association"; +const _At = "Attribute"; +const _Att = "Attachment"; +const _Atta = "Attachments"; +const _Au = "Authentication"; +const _B = "Byoasn"; +const _BA = "BgpAsn"; +const _BAE = "BgpAsnExtended"; +const _BAV = "BlobAttributeValue"; +const _BBIG = "BaselineBandwidthInGbps"; +const _BBIM = "BaselineBandwidthInMbps"; +const _BC = "ByoipCidr"; +const _BCS = "ByoipCidrSet"; +const _BCg = "BgpConfigurations"; +const _BCy = "ByoipCidrs"; +const _BCyt = "BytesConverted"; +const _BDM = "BlockDeviceMapping"; +const _BDML = "BlockDeviceMappingList"; +const _BDMR = "BlockDeviceMappingResponse"; +const _BDMRL = "BlockDeviceMappingRequestList"; +const _BDMRLl = "BlockDeviceMappingResponseList"; +const _BDMl = "BlockDeviceMappings"; +const _BDMlo = "BlockDurationMinutes"; +const _BEBM = "BaselineEbsBandwidthMbps"; +const _BEBMR = "BaselineEbsBandwidthMbpsRequest"; +const _BEDN = "BaseEndpointDnsNames"; +const _BI = "BundleId"; +const _BII = "BranchInterfaceId"; +const _BIR = "BundleInstanceRequest"; +const _BIRu = "BundleInstanceResult"; +const _BISL = "BundleIdStringList"; +const _BIa = "BaselineIops"; +const _BIu = "BundleIds"; +const _BIun = "BundleInstance"; +const _BLE = "BgpLogEnabled"; +const _BLGA = "BgpLogGroupArn"; +const _BLOF = "BgpLogOutputFormat"; +const _BM = "BootMode"; +const _BMTL = "BootModeTypeList"; +const _BMa = "BareMetal"; +const _BN = "BucketName"; +const _BO = "BgpOptions"; +const _BOu = "BucketOwner"; +const _BP = "BurstablePerformance"; +const _BPAS = "BlockPublicAccessStates"; +const _BPF = "BaselinePerformanceFactors"; +const _BPFR = "BaselinePerformanceFactorsRequest"; +const _BPL = "BillingProductList"; +const _BPS = "BurstablePerformanceSupported"; +const _BPi = "BillingProducts"; +const _BPil = "BillingProduct"; +const _BS = "BaseSystem"; +const _BSf = "BfdStatus"; +const _BSg = "BgpStatus"; +const _BSy = "ByoasnSet"; +const _BT = "BundleTask"; +const _BTE = "BundleTaskError"; +const _BTIMB = "BaselineThroughputInMBps"; +const _BTL = "BundleTaskList"; +const _BTa = "BannerText"; +const _BTu = "BundleTasks"; +const _BW = "BandwidthWeighting"; +const _BWTL = "BandwidthWeightingTypeList"; +const _BWa = "BandwidthWeightings"; +const _Bl = "Blackhole"; +const _Bu = "Bucket"; +const _By = "Byoasns"; +const _Byt = "Bytes"; +const _C = "Component"; +const _CA = "ComponentArn"; +const _CAC = "CidrAuthorizationContext"; +const _CADNL = "ClearAllocationDefaultNetmaskLength"; +const _CAME = "CapacityAllocationMetadataEntry"; +const _CAML = "CapacityAllocationMetadataList"; +const _CAR = "CertificateAuthenticationRequest"; +const _CAU = "CoipAddressUsage"; +const _CAUS = "CoipAddressUsageSet"; +const _CAUo = "CoipAddressUsages"; +const _CAa = "CapacityAllocation"; +const _CAap = "CapacityAllocations"; +const _CAe = "CertificateArn"; +const _CAer = "CertificateAuthentication"; +const _CAo = "ComponentAccount"; +const _CAr = "CreatedAt"; +const _CB = "CidrBlock"; +const _CBA = "CidrBlockAssociation"; +const _CBAS = "CidrBlockAssociationSet"; +const _CBDH = "CapacityBlockDurationHours"; +const _CBDM = "CapacityBlockDurationMinutes"; +const _CBE = "CapacityBlockExtension"; +const _CBEDH = "CapacityBlockExtensionDurationHours"; +const _CBEED = "CapacityBlockExtensionEndDate"; +const _CBEO = "CapacityBlockExtensionOffering"; +const _CBEOI = "CapacityBlockExtensionOfferingId"; +const _CBEOS = "CapacityBlockExtensionOfferingSet"; +const _CBEOa = "CapacityBlockExtensionOfferings"; +const _CBEPD = "CapacityBlockExtensionPurchaseDate"; +const _CBES = "CapacityBlockExtensionStatus"; +const _CBESD = "CapacityBlockExtensionStartDate"; +const _CBESa = "CapacityBlockExtensionSet"; +const _CBEa = "CapacityBlockExtensions"; +const _CBI = "CapacityBlockId"; +const _CBIa = "CapacityBlockIds"; +const _CBO = "CapacityBlockOffering"; +const _CBOI = "CapacityBlockOfferingId"; +const _CBOS = "CapacityBlockOfferingSet"; +const _CBOa = "CapacityBlockOfferings"; +const _CBS = "CapacityBlockStatus"; +const _CBSS = "CapacityBlockStatusSet"; +const _CBSa = "CapacityBlockStatuses"; +const _CBSap = "CapacityBlockSet"; +const _CBSi = "CidrBlockState"; +const _CBSid = "CidrBlockSet"; +const _CBT = "CancelBundleTask"; +const _CBTR = "CancelBundleTaskRequest"; +const _CBTRa = "CancelBundleTaskResult"; +const _CBa = "CapacityBlock"; +const _CBap = "CapacityBlocks"; +const _CBr = "CreatedBy"; +const _CC = "CurrencyCode"; +const _CCB = "ClientCidrBlock"; +const _CCC = "CreateCoipCidr"; +const _CCCR = "CreateCoipCidrRequest"; +const _CCCRr = "CreateCoipCidrResult"; +const _CCG = "CreateCarrierGateway"; +const _CCGR = "CreateCarrierGatewayRequest"; +const _CCGRr = "CreateCarrierGatewayResult"; +const _CCGRre = "CreateCustomerGatewayRequest"; +const _CCGRrea = "CreateCustomerGatewayResult"; +const _CCGr = "CreateCustomerGateway"; +const _CCL = "CoreCountList"; +const _CCMDE = "CreateCapacityManagerDataExport"; +const _CCMDER = "CreateCapacityManagerDataExportRequest"; +const _CCMDERr = "CreateCapacityManagerDataExportResult"; +const _CCO = "ClientConnectOptions"; +const _CCP = "CreateCoipPool"; +const _CCPR = "CreateCoipPoolRequest"; +const _CCPRr = "CreateCoipPoolResult"; +const _CCR = "CancelConversionRequest"; +const _CCRBS = "CreateCapacityReservationBySplitting"; +const _CCRBSR = "CreateCapacityReservationBySplittingRequest"; +const _CCRBSRr = "CreateCapacityReservationBySplittingResult"; +const _CCRF = "CancelCapacityReservationFleets"; +const _CCRFE = "CancelCapacityReservationFleetError"; +const _CCRFR = "CancelCapacityReservationFleetsRequest"; +const _CCRFRa = "CancelCapacityReservationFleetsResult"; +const _CCRFRr = "CreateCapacityReservationFleetRequest"; +const _CCRFRre = "CreateCapacityReservationFleetResult"; +const _CCRFr = "CreateCapacityReservationFleet"; +const _CCRLS = "ClientCertificateRevocationListStatus"; +const _CCRO = "ClientConnectResponseOptions"; +const _CCRR = "CancelCapacityReservationRequest"; +const _CCRRa = "CancelCapacityReservationResult"; +const _CCRRr = "CreateCapacityReservationRequest"; +const _CCRRre = "CreateCapacityReservationResult"; +const _CCRa = "CancelCapacityReservation"; +const _CCRr = "CreateCapacityReservation"; +const _CCT = "CancelConversionTask"; +const _CCVE = "CreateClientVpnEndpoint"; +const _CCVER = "CreateClientVpnEndpointRequest"; +const _CCVERr = "CreateClientVpnEndpointResult"; +const _CCVR = "CreateClientVpnRoute"; +const _CCVRR = "CreateClientVpnRouteRequest"; +const _CCVRRr = "CreateClientVpnRouteResult"; +const _CCl = "ClientConfiguration"; +const _CCo = "CoipCidr"; +const _CCor = "CoreCount"; +const _CCp = "CpuCredits"; +const _CD = "CreateDate"; +const _CDC = "CreationDateCondition"; +const _CDCR = "CreationDateConditionRequest"; +const _CDH = "CapacityDurationHours"; +const _CDM = "CompletionDurationMinutes"; +const _CDMVOT = "CreateDelegateMacVolumeOwnershipTask"; +const _CDMVOTR = "CreateDelegateMacVolumeOwnershipTaskRequest"; +const _CDMVOTRr = "CreateDelegateMacVolumeOwnershipTaskResult"; +const _CDO = "CreateDhcpOptions"; +const _CDOR = "CreateDhcpOptionsRequest"; +const _CDORr = "CreateDhcpOptionsResult"; +const _CDPR = "CancelDeclarativePoliciesReport"; +const _CDPRR = "CancelDeclarativePoliciesReportRequest"; +const _CDPRRa = "CancelDeclarativePoliciesReportResult"; +const _CDS = "CustomDnsServers"; +const _CDSDA = "ConfigDeliveryS3DestinationArn"; +const _CDSR = "CreateDefaultSubnetRequest"; +const _CDSRr = "CreateDefaultSubnetResult"; +const _CDSr = "CreateDefaultSubnet"; +const _CDV = "CreateDefaultVpc"; +const _CDVR = "CreateDefaultVpcRequest"; +const _CDVRr = "CreateDefaultVpcResult"; +const _CDl = "ClientData"; +const _CDo = "CommitmentDuration"; +const _CDr = "CreationDate"; +const _CDre = "CreatedDate"; +const _CE = "ConnectionEvents"; +const _CECSD = "CidrEndpointsCustomSubDomain"; +const _CED = "CommitmentEndDate"; +const _CEOIG = "CreateEgressOnlyInternetGateway"; +const _CEOIGR = "CreateEgressOnlyInternetGatewayRequest"; +const _CEOIGRr = "CreateEgressOnlyInternetGatewayResult"; +const _CET = "ConnectionEstablishedTime"; +const _CETR = "CancelExportTaskRequest"; +const _CETa = "CancelExportTask"; +const _CETo = "ConnectionEndTime"; +const _CEr = "CronExpression"; +const _CF = "ContainerFormat"; +const _CFE = "CreateFleetError"; +const _CFES = "CreateFleetErrorsSet"; +const _CFI = "CreateFleetInstance"; +const _CFIR = "CopyFpgaImageRequest"; +const _CFIRo = "CopyFpgaImageResult"; +const _CFIRr = "CreateFpgaImageRequest"; +const _CFIRre = "CreateFpgaImageResult"; +const _CFIS = "CreateFleetInstancesSet"; +const _CFIo = "CopyFpgaImage"; +const _CFIr = "CreateFpgaImage"; +const _CFL = "CreateFlowLogs"; +const _CFLR = "CreateFlowLogsRequest"; +const _CFLRr = "CreateFlowLogsResult"; +const _CFR = "CreateFleetRequest"; +const _CFRr = "CreateFleetResult"; +const _CFS = "CurrentFleetState"; +const _CFr = "CreateFleet"; +const _CG = "CarrierGateway"; +const _CGC = "CustomerGatewayConfiguration"; +const _CGI = "CarrierGatewayId"; +const _CGISL = "CustomerGatewayIdStringList"; +const _CGIa = "CarrierGatewayIds"; +const _CGIu = "CustomerGatewayId"; +const _CGIus = "CustomerGatewayIds"; +const _CGL = "CustomerGatewayList"; +const _CGS = "CarrierGatewaySet"; +const _CGa = "CarrierGateways"; +const _CGu = "CustomerGateway"; +const _CGur = "CurrentGeneration"; +const _CGus = "CustomerGateways"; +const _CI = "CarrierIp"; +const _CIA = "ClientIpv6Address"; +const _CIBM = "CurrentInstanceBootMode"; +const _CIC = "CommittedInstanceCount"; +const _CICE = "CreateInstanceConnectEndpoint"; +const _CICER = "CreateInstanceConnectEndpointRequest"; +const _CICERr = "CreateInstanceConnectEndpointResult"; +const _CICRA = "CreateInterruptibleCapacityReservationAllocation"; +const _CICRAR = "CreateInterruptibleCapacityReservationAllocationRequest"; +const _CICRARr = "CreateInterruptibleCapacityReservationAllocationResult"; +const _CIERVT = "CreateIpamExternalResourceVerificationToken"; +const _CIERVTR = "CreateIpamExternalResourceVerificationTokenRequest"; +const _CIERVTRr = "CreateIpamExternalResourceVerificationTokenResult"; +const _CIET = "CreateInstanceExportTask"; +const _CIETR = "CreateInstanceExportTaskRequest"; +const _CIETRr = "CreateInstanceExportTaskResult"; +const _CIEW = "CreateInstanceEventWindow"; +const _CIEWR = "CreateInstanceEventWindowRequest"; +const _CIEWRr = "CreateInstanceEventWindowResult"; +const _CIG = "CreateInternetGateway"; +const _CIGR = "CreateInternetGatewayRequest"; +const _CIGRr = "CreateInternetGatewayResult"; +const _CILP = "CancelImageLaunchPermission"; +const _CILPR = "CancelImageLaunchPermissionRequest"; +const _CILPRa = "CancelImageLaunchPermissionResult"; +const _CIP = "CreateIpamPolicy"; +const _CIPLR = "CreateIpamPrefixListResolver"; +const _CIPLRR = "CreateIpamPrefixListResolverRequest"; +const _CIPLRRr = "CreateIpamPrefixListResolverResult"; +const _CIPLRT = "CreateIpamPrefixListResolverTarget"; +const _CIPLRTR = "CreateIpamPrefixListResolverTargetRequest"; +const _CIPLRTRr = "CreateIpamPrefixListResolverTargetResult"; +const _CIPR = "CreateIpamPolicyRequest"; +const _CIPRr = "CreateIpamPolicyResult"; +const _CIPRre = "CreateIpamPoolRequest"; +const _CIPRrea = "CreateIpamPoolResult"; +const _CIPr = "CreateIpamPool"; +const _CIR = "CopyImageRequest"; +const _CIRD = "CreateIpamResourceDiscovery"; +const _CIRDR = "CreateIpamResourceDiscoveryRequest"; +const _CIRDRr = "CreateIpamResourceDiscoveryResult"; +const _CIRo = "CopyImageResult"; +const _CIRr = "CreateImageRequest"; +const _CIRre = "CreateImageResult"; +const _CIRrea = "CreateIpamRequest"; +const _CIRreat = "CreateIpamResult"; +const _CIS = "CreateIpamScope"; +const _CISI = "CurrentIpamScopeId"; +const _CISL = "ConversionIdStringList"; +const _CISR = "CreateIpamScopeRequest"; +const _CISRr = "CreateIpamScopeResult"; +const _CIT = "CopyImageTags"; +const _CITR = "CancelImportTaskRequest"; +const _CITRa = "CancelImportTaskResult"; +const _CITa = "CancelImportTask"; +const _CIUR = "CreateImageUsageReport"; +const _CIURR = "CreateImageUsageReportRequest"; +const _CIURRr = "CreateImageUsageReportResult"; +const _CIi = "CidrIp"; +const _CIid = "CidrIpv6"; +const _CIidr = "CidrIpv4"; +const _CIl = "ClientIp"; +const _CIli = "ClientId"; +const _CIo = "ComponentId"; +const _CIom = "CommitmentInfo"; +const _CIon = "ConnectionId"; +const _CIop = "CoIp"; +const _CIopy = "CopyImage"; +const _CIor = "CoreInfo"; +const _CIr = "CreateImage"; +const _CIre = "CreateIpam"; +const _CKP = "CreateKeyPair"; +const _CKPR = "CreateKeyPairRequest"; +const _CLB = "ClassicLoadBalancer"; +const _CLBC = "ClassicLoadBalancersConfig"; +const _CLBL = "ClassicLoadBalancerListener"; +const _CLBO = "ClientLoginBannerOptions"; +const _CLBRO = "ClientLoginBannerResponseOptions"; +const _CLBl = "ClassicLoadBalancers"; +const _CLDS = "ClassicLinkDnsSupport"; +const _CLDSL = "ClassicLinkDnsSupportList"; +const _CLDSl = "ClassicLinkDnsSupported"; +const _CLE = "ClassicLinkEnabled"; +const _CLG = "CloudwatchLogGroup"; +const _CLGR = "CreateLocalGatewayRoute"; +const _CLGRR = "CreateLocalGatewayRouteRequest"; +const _CLGRRr = "CreateLocalGatewayRouteResult"; +const _CLGRT = "CreateLocalGatewayRouteTable"; +const _CLGRTR = "CreateLocalGatewayRouteTableRequest"; +const _CLGRTRr = "CreateLocalGatewayRouteTableResult"; +const _CLGRTVA = "CreateLocalGatewayRouteTableVpcAssociation"; +const _CLGRTVAR = "CreateLocalGatewayRouteTableVpcAssociationRequest"; +const _CLGRTVARr = "CreateLocalGatewayRouteTableVpcAssociationResult"; +const _CLGRTVIGA = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"; +const _CLGRTVIGAR = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest"; +const _CLGRTVIGARr = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult"; +const _CLGVI = "CreateLocalGatewayVirtualInterface"; +const _CLGVIG = "CreateLocalGatewayVirtualInterfaceGroup"; +const _CLGVIGR = "CreateLocalGatewayVirtualInterfaceGroupRequest"; +const _CLGVIGRr = "CreateLocalGatewayVirtualInterfaceGroupResult"; +const _CLGVIR = "CreateLocalGatewayVirtualInterfaceRequest"; +const _CLGVIRr = "CreateLocalGatewayVirtualInterfaceResult"; +const _CLI = "ClassicLinkInstance"; +const _CLIL = "ClassicLinkInstanceList"; +const _CLO = "ConnectionLogOptions"; +const _CLRO = "ConnectionLogResponseOptions"; +const _CLS = "CloudwatchLogStream"; +const _CLT = "CreateLaunchTemplate"; +const _CLTR = "CreateLaunchTemplateRequest"; +const _CLTRr = "CreateLaunchTemplateResult"; +const _CLTV = "CreateLaunchTemplateVersion"; +const _CLTVR = "CreateLaunchTemplateVersionRequest"; +const _CLTVRr = "CreateLaunchTemplateVersionResult"; +const _CM = "CpuManufacturers"; +const _CMC = "CapacityManagerCondition"; +const _CMCS = "CapacityManagerConditionSet"; +const _CMD = "CapacityManagerDimension"; +const _CMDE = "CapacityManagerDataExports"; +const _CMDEI = "CapacityManagerDataExportId"; +const _CMDEIS = "CapacityManagerDataExportIdSet"; +const _CMDEIa = "CapacityManagerDataExportIds"; +const _CMDER = "CapacityManagerDataExportResponse"; +const _CMDERS = "CapacityManagerDataExportResponseSet"; +const _CMKE = "CustomerManagedKeyEnabled"; +const _CMMTK = "CapacityManagerMonitoredTagKey"; +const _CMMTKL = "CapacityManagerMonitoredTagKeyList"; +const _CMP = "CapacityManagerProvided"; +const _CMPL = "CreateManagedPrefixList"; +const _CMPLR = "CreateManagedPrefixListRequest"; +const _CMPLRr = "CreateManagedPrefixListResult"; +const _CMS = "CapacityManagerStatus"; +const _CMSIPMT = "CreateMacSystemIntegrityProtectionModificationTask"; +const _CMSIPMTR = "CreateMacSystemIntegrityProtectionModificationTaskRequest"; +const _CMSIPMTRr = "CreateMacSystemIntegrityProtectionModificationTaskResult"; +const _CMSp = "CpuManufacturerSet"; +const _CMTD = "CapacityManagerTagDimension"; +const _CMTDS = "CapacityManagerTagDimensionSet"; +const _CMTK = "CapacityManagerTagKeys"; +const _CMp = "CpuManufacturer"; +const _CN = "CommonName"; +const _CNA = "CoreNetworkArn"; +const _CNAA = "CoreNetworkAttachmentArn"; +const _CNAE = "CreateNetworkAclEntry"; +const _CNAER = "CreateNetworkAclEntryRequest"; +const _CNAR = "CreateNetworkAclRequest"; +const _CNARr = "CreateNetworkAclResult"; +const _CNAo = "ConnectionNotificationArn"; +const _CNAr = "CreateNetworkAcl"; +const _CNG = "CreateNatGateway"; +const _CNGR = "CreateNatGatewayRequest"; +const _CNGRr = "CreateNatGatewayResult"; +const _CNI = "ConnectionNotificationId"; +const _CNIAS = "CreateNetworkInsightsAccessScope"; +const _CNIASR = "CreateNetworkInsightsAccessScopeRequest"; +const _CNIASRr = "CreateNetworkInsightsAccessScopeResult"; +const _CNIL = "ConnectionNotificationIdsList"; +const _CNIP = "CreateNetworkInsightsPath"; +const _CNIPR = "CreateNetworkInsightsPathRequest"; +const _CNIPRr = "CreateNetworkInsightsPathResult"; +const _CNIPRre = "CreateNetworkInterfacePermissionRequest"; +const _CNIPRrea = "CreateNetworkInterfacePermissionResult"; +const _CNIPr = "CreateNetworkInterfacePermission"; +const _CNIR = "CreateNetworkInterfaceRequest"; +const _CNIRr = "CreateNetworkInterfaceResult"; +const _CNIo = "ConnectionNotificationIds"; +const _CNIor = "CoreNetworkId"; +const _CNIr = "CreateNetworkInterface"; +const _CNS = "ConnectionNotificationState"; +const _CNSo = "ConnectionNotificationSet"; +const _CNT = "ConnectionNotificationType"; +const _CNo = "ConnectionNotification"; +const _CO = "CpuOptions"; +const _COI = "CustomerOwnedIp"; +const _COIP = "CustomerOwnedIpv4Pool"; +const _COP = "CoolOffPeriod"; +const _COPEO = "CoolOffPeriodExpiresOn"; +const _COR = "CpuOptionsRequest"; +const _COi = "CidrOptions"; +const _CP = "CoipPool"; +const _CPC = "ConnectPeerConfiguration"; +const _CPF = "CpuPerformanceFactor"; +const _CPFR = "CpuPerformanceFactorRequest"; +const _CPG = "CreatePlacementGroup"; +const _CPGR = "CreatePlacementGroupRequest"; +const _CPGRr = "CreatePlacementGroupResult"; +const _CPI = "CoipPoolId"; +const _CPIP = "CreatePublicIpv4Pool"; +const _CPIPR = "CreatePublicIpv4PoolRequest"; +const _CPIPRr = "CreatePublicIpv4PoolResult"; +const _CPIR = "ConfirmProductInstanceRequest"; +const _CPIRo = "ConfirmProductInstanceResult"; +const _CPIS = "CoipPoolIdSet"; +const _CPIo = "ConfirmProductInstance"; +const _CPS = "CoipPoolSet"; +const _CPo = "CoipPools"; +const _CR = "CancelReason"; +const _CRA = "CapacityReservationArn"; +const _CRBR = "CapacityReservationBillingRequest"; +const _CRBRS = "CapacityReservationBillingRequestSet"; +const _CRBRa = "CapacityReservationBillingRequests"; +const _CRCC = "ClientRootCertificateChain"; +const _CRCCA = "ClientRootCertificateChainArn"; +const _CRCI = "CapacityReservationCommitmentInfo"; +const _CREO = "ClientRouteEnforcementOptions"; +const _CRERO = "ClientRouteEnforcementResponseOptions"; +const _CRF = "CapacityReservationFleet"; +const _CRFA = "CapacityReservationFleetArn"; +const _CRFCS = "CapacityReservationFleetCancellationState"; +const _CRFCSS = "CapacityReservationFleetCancellationStateSet"; +const _CRFI = "CapacityReservationFleetIds"; +const _CRFIS = "CapacityReservationFleetIdSet"; +const _CRFIa = "CapacityReservationFleetId"; +const _CRFS = "CapacityReservationFleetSet"; +const _CRFa = "CapacityReservationFleets"; +const _CRG = "CapacityReservationGroup"; +const _CRGS = "CapacityReservationGroupSet"; +const _CRGa = "CapacityReservationGroups"; +const _CRI = "CapacityReservationId"; +const _CRIL = "CancelReservedInstancesListing"; +const _CRILR = "CancelReservedInstancesListingRequest"; +const _CRILRa = "CancelReservedInstancesListingResult"; +const _CRILRr = "CreateReservedInstancesListingRequest"; +const _CRILRre = "CreateReservedInstancesListingResult"; +const _CRILr = "CreateReservedInstancesListing"; +const _CRIS = "CapacityReservationIdSet"; +const _CRIT = "CreateRestoreImageTask"; +const _CRITR = "CreateRestoreImageTaskRequest"; +const _CRITRr = "CreateRestoreImageTaskResult"; +const _CRIa = "CapacityReservationIds"; +const _CRIap = "CapacityReservationInfo"; +const _CRL = "CertificateRevocationList"; +const _CRO = "CapacityReservationOptions"; +const _CROR = "CapacityReservationOptionsRequest"; +const _CRP = "CapacityReservationPreference"; +const _CRR = "CreateRouteRequest"; +const _CRRGA = "CapacityReservationResourceGroupArn"; +const _CRRVT = "CreateReplaceRootVolumeTask"; +const _CRRVTR = "CreateReplaceRootVolumeTaskRequest"; +const _CRRVTRr = "CreateReplaceRootVolumeTaskResult"; +const _CRRr = "CreateRouteResult"; +const _CRS = "CapacityReservationStatuses"; +const _CRSE = "CreateRouteServerEndpoint"; +const _CRSER = "CreateRouteServerEndpointRequest"; +const _CRSERr = "CreateRouteServerEndpointResult"; +const _CRSP = "CreateRouteServerPeer"; +const _CRSPR = "CreateRouteServerPeerRequest"; +const _CRSPRr = "CreateRouteServerPeerResult"; +const _CRSR = "CapacityReservationSpecificationResponse"; +const _CRSRr = "CreateRouteServerRequest"; +const _CRSRre = "CreateRouteServerResult"; +const _CRSS = "CapacityReservationStatusSet"; +const _CRSa = "CapacityReservationSpecification"; +const _CRSap = "CapacityReservationStatus"; +const _CRSapa = "CapacityReservationSet"; +const _CRSr = "CreateRouteServer"; +const _CRT = "CapacityReservationTarget"; +const _CRTR = "CapacityReservationTargetResponse"; +const _CRTRr = "CreateRouteTableRequest"; +const _CRTRre = "CreateRouteTableResult"; +const _CRTS = "CapacityReservationTopologySet"; +const _CRTa = "CapacityReservationTopology"; +const _CRTr = "CreateRouteTable"; +const _CRa = "CapacityReservation"; +const _CRap = "CapacityReservations"; +const _CRapa = "CapacityRebalance"; +const _CRo = "ComponentRegion"; +const _CRr = "CreateRoute"; +const _CS = "ClientSecret"; +const _CSBN = "CertificateS3BucketName"; +const _CSCR = "CreateSubnetCidrReservation"; +const _CSCRR = "CreateSubnetCidrReservationRequest"; +const _CSCRRr = "CreateSubnetCidrReservationResult"; +const _CSDS = "CreateSpotDatafeedSubscription"; +const _CSDSR = "CreateSpotDatafeedSubscriptionRequest"; +const _CSDSRr = "CreateSpotDatafeedSubscriptionResult"; +const _CSFR = "CancelSpotFleetRequests"; +const _CSFRE = "CancelSpotFleetRequestsError"; +const _CSFREI = "CancelSpotFleetRequestsErrorItem"; +const _CSFRES = "CancelSpotFleetRequestsErrorSet"; +const _CSFRR = "CancelSpotFleetRequestsRequest"; +const _CSFRRa = "CancelSpotFleetRequestsResponse"; +const _CSFRS = "CurrentSpotFleetRequestState"; +const _CSFRSI = "CancelSpotFleetRequestsSuccessItem"; +const _CSFRSS = "CancelSpotFleetRequestsSuccessSet"; +const _CSG = "CreateSecurityGroup"; +const _CSGR = "CreateSecurityGroupRequest"; +const _CSGRr = "CreateSecurityGroupResult"; +const _CSIR = "CancelledSpotInstanceRequest"; +const _CSIRL = "CancelledSpotInstanceRequestList"; +const _CSIRR = "CancelSpotInstanceRequestsRequest"; +const _CSIRRa = "CancelSpotInstanceRequestsResult"; +const _CSIRa = "CancelledSpotInstanceRequests"; +const _CSIRan = "CancelSpotInstanceRequests"; +const _CSIT = "CreateStoreImageTask"; +const _CSITR = "CreateStoreImageTaskRequest"; +const _CSITRr = "CreateStoreImageTaskResult"; +const _CSN = "CreateSecondaryNetwork"; +const _CSNR = "CreateSecondaryNetworkRequest"; +const _CSNRr = "CreateSecondaryNetworkResult"; +const _CSOK = "CertificateS3ObjectKey"; +const _CSR = "CopySnapshotRequest"; +const _CSRPSU = "CopySnapshotRequestPSU"; +const _CSRo = "CopySnapshotResult"; +const _CSRr = "CreateSnapshotRequest"; +const _CSRre = "CreateSnapshotsRequest"; +const _CSRrea = "CreateSnapshotsResult"; +const _CSRreat = "CreateSubnetRequest"; +const _CSRreate = "CreateSubnetResult"; +const _CSRred = "CreditSpecificationRequest"; +const _CSS = "CreateSecondarySubnet"; +const _CSSR = "CreateSecondarySubnetRequest"; +const _CSSRr = "CreateSecondarySubnetResult"; +const _CST = "ClientSecretType"; +const _CSo = "ComplianceStatus"; +const _CSon = "ConfigurationState"; +const _CSonn = "ConnectionStatuses"; +const _CSop = "CopySnapshot"; +const _CSr = "CreditSpecification"; +const _CSre = "CreateSnapshot"; +const _CSrea = "CreateSnapshots"; +const _CSreat = "CreateSubnet"; +const _CSu = "CurrentState"; +const _CSur = "CurrentStatus"; +const _CT = "ClientToken"; +const _CTC = "ConnectionTrackingConfiguration"; +const _CTFS = "CopyTagsFromSource"; +const _CTG = "CreateTransitGateway"; +const _CTGC = "CreateTransitGatewayConnect"; +const _CTGCP = "CreateTransitGatewayConnectPeer"; +const _CTGCPR = "CreateTransitGatewayConnectPeerRequest"; +const _CTGCPRr = "CreateTransitGatewayConnectPeerResult"; +const _CTGCR = "CreateTransitGatewayConnectRequest"; +const _CTGCRO = "CreateTransitGatewayConnectRequestOptions"; +const _CTGCRr = "CreateTransitGatewayConnectResult"; +const _CTGMD = "CreateTransitGatewayMulticastDomain"; +const _CTGMDR = "CreateTransitGatewayMulticastDomainRequest"; +const _CTGMDRO = "CreateTransitGatewayMulticastDomainRequestOptions"; +const _CTGMDRr = "CreateTransitGatewayMulticastDomainResult"; +const _CTGMP = "CreateTransitGatewayMeteringPolicy"; +const _CTGMPE = "CreateTransitGatewayMeteringPolicyEntry"; +const _CTGMPER = "CreateTransitGatewayMeteringPolicyEntryRequest"; +const _CTGMPERr = "CreateTransitGatewayMeteringPolicyEntryResult"; +const _CTGMPR = "CreateTransitGatewayMeteringPolicyRequest"; +const _CTGMPRr = "CreateTransitGatewayMeteringPolicyResult"; +const _CTGPA = "CreateTransitGatewayPeeringAttachment"; +const _CTGPAR = "CreateTransitGatewayPeeringAttachmentRequest"; +const _CTGPARO = "CreateTransitGatewayPeeringAttachmentRequestOptions"; +const _CTGPARr = "CreateTransitGatewayPeeringAttachmentResult"; +const _CTGPLR = "CreateTransitGatewayPrefixListReference"; +const _CTGPLRR = "CreateTransitGatewayPrefixListReferenceRequest"; +const _CTGPLRRr = "CreateTransitGatewayPrefixListReferenceResult"; +const _CTGPT = "CreateTransitGatewayPolicyTable"; +const _CTGPTR = "CreateTransitGatewayPolicyTableRequest"; +const _CTGPTRr = "CreateTransitGatewayPolicyTableResult"; +const _CTGR = "CreateTransitGatewayRequest"; +const _CTGRR = "CreateTransitGatewayRouteRequest"; +const _CTGRRr = "CreateTransitGatewayRouteResult"; +const _CTGRT = "CreateTransitGatewayRouteTable"; +const _CTGRTA = "CreateTransitGatewayRouteTableAnnouncement"; +const _CTGRTAR = "CreateTransitGatewayRouteTableAnnouncementRequest"; +const _CTGRTARr = "CreateTransitGatewayRouteTableAnnouncementResult"; +const _CTGRTR = "CreateTransitGatewayRouteTableRequest"; +const _CTGRTRr = "CreateTransitGatewayRouteTableResult"; +const _CTGRr = "CreateTransitGatewayResult"; +const _CTGRre = "CreateTransitGatewayRoute"; +const _CTGVA = "CreateTransitGatewayVpcAttachment"; +const _CTGVAR = "CreateTransitGatewayVpcAttachmentRequest"; +const _CTGVARO = "CreateTransitGatewayVpcAttachmentRequestOptions"; +const _CTGVARr = "CreateTransitGatewayVpcAttachmentResult"; +const _CTI = "ConversionTaskId"; +const _CTIo = "ConversionTaskIds"; +const _CTMF = "CreateTrafficMirrorFilter"; +const _CTMFR = "CreateTrafficMirrorFilterRequest"; +const _CTMFRR = "CreateTrafficMirrorFilterRuleRequest"; +const _CTMFRRr = "CreateTrafficMirrorFilterRuleResult"; +const _CTMFRr = "CreateTrafficMirrorFilterResult"; +const _CTMFRre = "CreateTrafficMirrorFilterRule"; +const _CTMS = "CreateTrafficMirrorSession"; +const _CTMSR = "CreateTrafficMirrorSessionRequest"; +const _CTMSRr = "CreateTrafficMirrorSessionResult"; +const _CTMT = "CreateTrafficMirrorTarget"; +const _CTMTR = "CreateTrafficMirrorTargetRequest"; +const _CTMTRr = "CreateTrafficMirrorTargetResult"; +const _CTR = "CreateTagsRequest"; +const _CTS = "ConnectionTrackingSpecification"; +const _CTSR = "ConnectionTrackingSpecificationRequest"; +const _CTSRo = "ConnectionTrackingSpecificationResponse"; +const _CTo = "ConversionTask"; +const _CTom = "CompleteTime"; +const _CTomp = "CompletionTime"; +const _CTon = "ConnectivityType"; +const _CTonv = "ConversionTasks"; +const _CTr = "CreateTime"; +const _CTre = "CreationTime"; +const _CTrea = "CreationTimestamp"; +const _CTreat = "CreateTags"; +const _CV = "CurrentVersion"; +const _CVA = "ClientVpnAuthentication"; +const _CVAE = "CreateVerifiedAccessEndpoint"; +const _CVAECO = "CreateVerifiedAccessEndpointCidrOptions"; +const _CVAEEO = "CreateVerifiedAccessEndpointEniOptions"; +const _CVAELBO = "CreateVerifiedAccessEndpointLoadBalancerOptions"; +const _CVAEPR = "CreateVerifiedAccessEndpointPortRange"; +const _CVAEPRL = "CreateVerifiedAccessEndpointPortRangeList"; +const _CVAER = "CreateVerifiedAccessEndpointRequest"; +const _CVAERO = "CreateVerifiedAccessEndpointRdsOptions"; +const _CVAERr = "CreateVerifiedAccessEndpointResult"; +const _CVAESIL = "CreateVerifiedAccessEndpointSubnetIdList"; +const _CVAG = "CreateVerifiedAccessGroup"; +const _CVAGR = "CreateVerifiedAccessGroupRequest"; +const _CVAGRr = "CreateVerifiedAccessGroupResult"; +const _CVAI = "CreateVerifiedAccessInstance"; +const _CVAIR = "CreateVerifiedAccessInstanceRequest"; +const _CVAIRr = "CreateVerifiedAccessInstanceResult"; +const _CVAL = "ClientVpnAuthenticationList"; +const _CVANAOO = "CreateVerifiedAccessNativeApplicationOidcOptions"; +const _CVAR = "ClientVpnAuthenticationRequest"; +const _CVARL = "ClientVpnAuthenticationRequestList"; +const _CVARS = "ClientVpnAuthorizationRuleStatus"; +const _CVATP = "CreateVerifiedAccessTrustProvider"; +const _CVATPDO = "CreateVerifiedAccessTrustProviderDeviceOptions"; +const _CVATPOO = "CreateVerifiedAccessTrustProviderOidcOptions"; +const _CVATPR = "CreateVerifiedAccessTrustProviderRequest"; +const _CVATPRr = "CreateVerifiedAccessTrustProviderResult"; +const _CVBPAE = "CreateVpcBlockPublicAccessExclusion"; +const _CVBPAER = "CreateVpcBlockPublicAccessExclusionRequest"; +const _CVBPAERr = "CreateVpcBlockPublicAccessExclusionResult"; +const _CVC = "ClientVpnConnection"; +const _CVCR = "CreateVpnConcentratorRequest"; +const _CVCRR = "CreateVpnConnectionRouteRequest"; +const _CVCRr = "CreateVpnConcentratorResult"; +const _CVCRre = "CreateVpnConnectionRequest"; +const _CVCRrea = "CreateVpnConnectionResult"; +const _CVCRreat = "CreateVpnConnectionRoute"; +const _CVCS = "ClientVpnConnectionStatus"; +const _CVCSl = "ClientVpnConnectionSet"; +const _CVCr = "CreateVpnConcentrator"; +const _CVCre = "CreateVpnConnection"; +const _CVE = "ClientVpnEndpoint"; +const _CVEAS = "ClientVpnEndpointAttributeStatus"; +const _CVEC = "CreateVpcEncryptionControl"; +const _CVECN = "CreateVpcEndpointConnectionNotification"; +const _CVECNR = "CreateVpcEndpointConnectionNotificationRequest"; +const _CVECNRr = "CreateVpcEndpointConnectionNotificationResult"; +const _CVECR = "CreateVpcEncryptionControlRequest"; +const _CVECRr = "CreateVpcEncryptionControlResult"; +const _CVEI = "ClientVpnEndpointId"; +const _CVEIL = "ClientVpnEndpointIdList"; +const _CVEIl = "ClientVpnEndpointIds"; +const _CVER = "CreateVpcEndpointRequest"; +const _CVERr = "CreateVpcEndpointResult"; +const _CVES = "ClientVpnEndpointStatus"; +const _CVESC = "CreateVpcEndpointServiceConfiguration"; +const _CVESCR = "CreateVpcEndpointServiceConfigurationRequest"; +const _CVESCRr = "CreateVpcEndpointServiceConfigurationResult"; +const _CVEl = "ClientVpnEndpoints"; +const _CVEr = "CreateVpcEndpoint"; +const _CVG = "CreateVpnGateway"; +const _CVGR = "CreateVpnGatewayRequest"; +const _CVGRr = "CreateVpnGatewayResult"; +const _CVL = "ConditionValueList"; +const _CVP = "CreateVolumePermission"; +const _CVPC = "CreateVpcPeeringConnection"; +const _CVPCR = "CreateVpcPeeringConnectionRequest"; +const _CVPCRr = "CreateVpcPeeringConnectionResult"; +const _CVPL = "CreateVolumePermissionList"; +const _CVPM = "CreateVolumePermissionModifications"; +const _CVPr = "CreateVolumePermissions"; +const _CVR = "ClientVpnRoute"; +const _CVRS = "ClientVpnRouteStatus"; +const _CVRSl = "ClientVpnRouteSet"; +const _CVRo = "CopyVolumesRequest"; +const _CVRop = "CopyVolumesResult"; +const _CVRr = "CreateVolumeRequest"; +const _CVRre = "CreateVpcRequest"; +const _CVRrea = "CreateVpcResult"; +const _CVSGIS = "ClientVpnSecurityGroupIdSet"; +const _CVTN = "ClientVpnTargetNetworks"; +const _CVo = "CopyVolumes"; +const _CVr = "CreateVolume"; +const _CVre = "CreateVpc"; +const _CWL = "CloudWatchLogs"; +const _CWLO = "CloudWatchLogOptions"; +const _CWLOS = "CloudWatchLogOptionsSpecification"; +const _Ca = "Cascade"; +const _Cat = "Category"; +const _Ch = "Checksum"; +const _Ci = "Cidr"; +const _Cid = "Cidrs"; +const _Co = "Code"; +const _Com = "Comment"; +const _Comp = "Comparison"; +const _Con = "Context"; +const _Cond = "Conditions"; +const _Condi = "Condition"; +const _Conf = "Configured"; +const _Confi = "Config"; +const _Conn = "Connections"; +const _Cor = "Cores"; +const _Cou = "Count"; +const _Cp = "Cpu"; +const _D = "Destination"; +const _DA = "DestinationAddresses"; +const _DAA = "DescribeAccountAttributes"; +const _DAAI = "DelegatedAdminAccountId"; +const _DAAR = "DescribeAccountAttributesRequest"; +const _DAARe = "DescribeAccountAttributesResult"; +const _DAARes = "DescribeAddressesAttributeRequest"; +const _DAAResc = "DescribeAddressesAttributeResult"; +const _DAAe = "DescribeAddressesAttribute"; +const _DAIF = "DescribeAggregateIdFormat"; +const _DAIFR = "DescribeAggregateIdFormatRequest"; +const _DAIFRe = "DescribeAggregateIdFormatResult"; +const _DAIS = "DisableAllowedImagesSettings"; +const _DAISR = "DisableAllowedImagesSettingsRequest"; +const _DAISRi = "DisableAllowedImagesSettingsResult"; +const _DAIT = "DenyAllIgwTraffic"; +const _DANPMS = "DescribeAwsNetworkPerformanceMetricSubscriptions"; +const _DANPMSR = "DescribeAwsNetworkPerformanceMetricSubscriptionsRequest"; +const _DANPMSRe = "DescribeAwsNetworkPerformanceMetricSubscriptionsResult"; +const _DANPMSRi = "DisableAwsNetworkPerformanceMetricSubscriptionRequest"; +const _DANPMSRis = "DisableAwsNetworkPerformanceMetricSubscriptionResult"; +const _DANPMSi = "DisableAwsNetworkPerformanceMetricSubscription"; +const _DAR = "DescribeAddressesRequest"; +const _DART = "DefaultAssociationRouteTable"; +const _DARe = "DescribeAddressesResult"; +const _DARi = "DisassociateAddressRequest"; +const _DAS = "DeleteAssociatedSnapshots"; +const _DASe = "DeprovisionedAddressSet"; +const _DASi = "DisableApiStop"; +const _DAT = "DisableApiTermination"; +const _DATR = "DescribeAddressTransfersRequest"; +const _DATRe = "DescribeAddressTransfersResult"; +const _DATRi = "DisableAddressTransferRequest"; +const _DATRis = "DisableAddressTransferResult"; +const _DATe = "DescribeAddressTransfers"; +const _DATi = "DisableAddressTransfer"; +const _DAZ = "DestinationAvailabilityZone"; +const _DAZI = "DestinationAvailabilityZoneId"; +const _DAZR = "DescribeAvailabilityZonesRequest"; +const _DAZRe = "DescribeAvailabilityZonesResult"; +const _DAZe = "DescribeAvailabilityZones"; +const _DAe = "DeprovisionedAddresses"; +const _DAep = "DeprecateAt"; +const _DAes = "DestinationArn"; +const _DAesc = "DescribeAddresses"; +const _DAest = "DestinationAddress"; +const _DAi = "DisassociateAddress"; +const _DBC = "DeprovisionByoipCidr"; +const _DBCR = "DeprovisionByoipCidrRequest"; +const _DBCRe = "DeprovisionByoipCidrResult"; +const _DBCRes = "DescribeByoipCidrsRequest"; +const _DBCResc = "DescribeByoipCidrsResult"; +const _DBCe = "DescribeByoipCidrs"; +const _DBT = "DescribeBundleTasks"; +const _DBTR = "DescribeBundleTasksRequest"; +const _DBTRe = "DescribeBundleTasksResult"; +const _DC = "DisallowedCidrs"; +const _DCA = "DomainCertificateArn"; +const _DCAR = "DeliverCrossAccountRole"; +const _DCB = "DestinationCidrBlock"; +const _DCBEH = "DescribeCapacityBlockExtensionHistory"; +const _DCBEHR = "DescribeCapacityBlockExtensionHistoryRequest"; +const _DCBEHRe = "DescribeCapacityBlockExtensionHistoryResult"; +const _DCBEO = "DescribeCapacityBlockExtensionOfferings"; +const _DCBEOR = "DescribeCapacityBlockExtensionOfferingsRequest"; +const _DCBEORe = "DescribeCapacityBlockExtensionOfferingsResult"; +const _DCBO = "DescribeCapacityBlockOfferings"; +const _DCBOR = "DescribeCapacityBlockOfferingsRequest"; +const _DCBORe = "DescribeCapacityBlockOfferingsResult"; +const _DCBR = "DescribeCapacityBlocksRequest"; +const _DCBRe = "DescribeCapacityBlocksResult"; +const _DCBS = "DescribeCapacityBlockStatus"; +const _DCBSR = "DescribeCapacityBlockStatusRequest"; +const _DCBSRe = "DescribeCapacityBlockStatusResult"; +const _DCBe = "DescribeCapacityBlocks"; +const _DCC = "DeleteCoipCidr"; +const _DCCR = "DeleteCoipCidrRequest"; +const _DCCRe = "DeleteCoipCidrResult"; +const _DCG = "DeleteCarrierGateway"; +const _DCGR = "DeleteCarrierGatewayRequest"; +const _DCGRe = "DeleteCarrierGatewayResult"; +const _DCGRel = "DeleteCustomerGatewayRequest"; +const _DCGRes = "DescribeCarrierGatewaysRequest"; +const _DCGResc = "DescribeCarrierGatewaysResult"; +const _DCGRescr = "DescribeCustomerGatewaysRequest"; +const _DCGRescri = "DescribeCustomerGatewaysResult"; +const _DCGe = "DeleteCustomerGateway"; +const _DCGes = "DescribeCarrierGateways"; +const _DCGesc = "DescribeCustomerGateways"; +const _DCL = "DhcpConfigurationList"; +const _DCLI = "DescribeClassicLinkInstances"; +const _DCLIR = "DescribeClassicLinkInstancesRequest"; +const _DCLIRe = "DescribeClassicLinkInstancesResult"; +const _DCLV = "DetachClassicLinkVpc"; +const _DCLVR = "DetachClassicLinkVpcRequest"; +const _DCLVRe = "DetachClassicLinkVpcResult"; +const _DCM = "DisableCapacityManager"; +const _DCMDE = "DeleteCapacityManagerDataExport"; +const _DCMDER = "DeleteCapacityManagerDataExportRequest"; +const _DCMDERe = "DeleteCapacityManagerDataExportResult"; +const _DCMDERes = "DescribeCapacityManagerDataExportsRequest"; +const _DCMDEResc = "DescribeCapacityManagerDataExportsResult"; +const _DCMDEe = "DescribeCapacityManagerDataExports"; +const _DCMR = "DisableCapacityManagerRequest"; +const _DCMRi = "DisableCapacityManagerResult"; +const _DCP = "DeleteCoipPool"; +const _DCPR = "DeleteCoipPoolRequest"; +const _DCPRe = "DeleteCoipPoolResult"; +const _DCPRes = "DescribeCoipPoolsRequest"; +const _DCPResc = "DescribeCoipPoolsResult"; +const _DCPe = "DescribeCoipPools"; +const _DCR = "DestinationCapacityReservation"; +const _DCRBO = "DisassociateCapacityReservationBillingOwner"; +const _DCRBOR = "DisassociateCapacityReservationBillingOwnerRequest"; +const _DCRBORi = "DisassociateCapacityReservationBillingOwnerResult"; +const _DCRBR = "DescribeCapacityReservationBillingRequests"; +const _DCRBRR = "DescribeCapacityReservationBillingRequestsRequest"; +const _DCRBRRe = "DescribeCapacityReservationBillingRequestsResult"; +const _DCRF = "DescribeCapacityReservationFleets"; +const _DCRFR = "DescribeCapacityReservationFleetsRequest"; +const _DCRFRe = "DescribeCapacityReservationFleetsResult"; +const _DCRI = "DestinationCapacityReservationId"; +const _DCRR = "DescribeCapacityReservationsRequest"; +const _DCRRe = "DescribeCapacityReservationsResult"; +const _DCRT = "DescribeCapacityReservationTopology"; +const _DCRTR = "DescribeCapacityReservationTopologyRequest"; +const _DCRTRe = "DescribeCapacityReservationTopologyResult"; +const _DCRe = "DescribeCapacityReservations"; +const _DCT = "DescribeConversionTasks"; +const _DCTC = "DefaultConnectionTrackingConfiguration"; +const _DCTL = "DescribeConversionTaskList"; +const _DCTR = "DescribeConversionTasksRequest"; +const _DCTRe = "DescribeConversionTasksResult"; +const _DCVAR = "DescribeClientVpnAuthorizationRules"; +const _DCVARR = "DescribeClientVpnAuthorizationRulesRequest"; +const _DCVARRe = "DescribeClientVpnAuthorizationRulesResult"; +const _DCVC = "DescribeClientVpnConnections"; +const _DCVCR = "DescribeClientVpnConnectionsRequest"; +const _DCVCRe = "DescribeClientVpnConnectionsResult"; +const _DCVE = "DeleteClientVpnEndpoint"; +const _DCVER = "DeleteClientVpnEndpointRequest"; +const _DCVERe = "DeleteClientVpnEndpointResult"; +const _DCVERes = "DescribeClientVpnEndpointsRequest"; +const _DCVEResc = "DescribeClientVpnEndpointsResult"; +const _DCVEe = "DescribeClientVpnEndpoints"; +const _DCVL = "DhcpConfigurationValueList"; +const _DCVR = "DeleteClientVpnRoute"; +const _DCVRR = "DeleteClientVpnRouteRequest"; +const _DCVRRe = "DeleteClientVpnRouteResult"; +const _DCVRRes = "DescribeClientVpnRoutesRequest"; +const _DCVRResc = "DescribeClientVpnRoutesResult"; +const _DCVRe = "DescribeClientVpnRoutes"; +const _DCVTN = "DescribeClientVpnTargetNetworks"; +const _DCVTNR = "DescribeClientVpnTargetNetworksRequest"; +const _DCVTNRe = "DescribeClientVpnTargetNetworksResult"; +const _DCVTNRi = "DisassociateClientVpnTargetNetworkRequest"; +const _DCVTNRis = "DisassociateClientVpnTargetNetworkResult"; +const _DCVTNi = "DisassociateClientVpnTargetNetwork"; +const _DCe = "DestinationCidr"; +const _DCef = "DefaultCores"; +const _DCh = "DhcpConfigurations"; +const _DChc = "DhcpConfiguration"; +const _DCi = "DisallowedCidr"; +const _DCim = "DimensionCondition"; +const _DCis = "DiskContainers"; +const _DCisk = "DiskContainer"; +const _DDO = "DeleteDhcpOptions"; +const _DDOR = "DeleteDhcpOptionsRequest"; +const _DDORe = "DescribeDhcpOptionsRequest"; +const _DDORes = "DescribeDhcpOptionsResult"; +const _DDOe = "DescribeDhcpOptions"; +const _DDPR = "DescribeDeclarativePoliciesReports"; +const _DDPRR = "DescribeDeclarativePoliciesReportsRequest"; +const _DDPRRe = "DescribeDeclarativePoliciesReportsResult"; +const _DE = "DnsEntry"; +const _DEC = "DataExportCount"; +const _DECIR = "DisassociateEnclaveCertificateIamRole"; +const _DECIRR = "DisassociateEnclaveCertificateIamRoleRequest"; +const _DECIRRi = "DisassociateEnclaveCertificateIamRoleResult"; +const _DEEBD = "DisableEbsEncryptionByDefault"; +const _DEEBDR = "DisableEbsEncryptionByDefaultRequest"; +const _DEEBDRi = "DisableEbsEncryptionByDefaultResult"; +const _DEG = "DescribeElasticGpus"; +const _DEGR = "DescribeElasticGpusRequest"; +const _DEGRe = "DescribeElasticGpusResult"; +const _DEIT = "DescribeExportImageTasks"; +const _DEITR = "DescribeExportImageTasksRequest"; +const _DEITRe = "DescribeExportImageTasksResult"; +const _DEKI = "DataEncryptionKeyId"; +const _DEOIG = "DeleteEgressOnlyInternetGateway"; +const _DEOIGR = "DeleteEgressOnlyInternetGatewayRequest"; +const _DEOIGRe = "DeleteEgressOnlyInternetGatewayResult"; +const _DEOIGRes = "DescribeEgressOnlyInternetGatewaysRequest"; +const _DEOIGResc = "DescribeEgressOnlyInternetGatewaysResult"; +const _DEOIGe = "DescribeEgressOnlyInternetGateways"; +const _DEQC = "DefaultEnaQueueCount"; +const _DEQCPI = "DefaultEnaQueueCountPerInterface"; +const _DES = "DnsEntrySet"; +const _DET = "DescribeExportTasks"; +const _DETR = "DescribeExportTasksRequest"; +const _DETRe = "DescribeExportTasksResult"; +const _DEn = "DnsEntries"; +const _DF = "DeleteFleets"; +const _DFA = "DefaultForAz"; +const _DFE = "DeleteFleetError"; +const _DFEI = "DeleteFleetErrorItem"; +const _DFES = "DeleteFleetErrorSet"; +const _DFESe = "DescribeFleetsErrorSet"; +const _DFEe = "DescribeFleetError"; +const _DFH = "DescribeFleetHistory"; +const _DFHR = "DescribeFleetHistoryRequest"; +const _DFHRe = "DescribeFleetHistoryResult"; +const _DFI = "DescribeFleetsInstances"; +const _DFIA = "DescribeFpgaImageAttribute"; +const _DFIAR = "DescribeFpgaImageAttributeRequest"; +const _DFIARe = "DescribeFpgaImageAttributeResult"; +const _DFIR = "DeleteFpgaImageRequest"; +const _DFIRe = "DeleteFpgaImageResult"; +const _DFIRes = "DescribeFleetInstancesRequest"; +const _DFIResc = "DescribeFleetInstancesResult"; +const _DFIRescr = "DescribeFpgaImagesRequest"; +const _DFIRescri = "DescribeFpgaImagesResult"; +const _DFIS = "DescribeFleetsInstancesSet"; +const _DFIe = "DeleteFpgaImage"; +const _DFIes = "DescribeFleetInstances"; +const _DFIesc = "DescribeFpgaImages"; +const _DFL = "DeleteFlowLogs"; +const _DFLI = "DescribeFastLaunchImages"; +const _DFLIR = "DescribeFastLaunchImagesRequest"; +const _DFLIRe = "DescribeFastLaunchImagesResult"; +const _DFLISI = "DescribeFastLaunchImagesSuccessItem"; +const _DFLISS = "DescribeFastLaunchImagesSuccessSet"; +const _DFLR = "DeleteFlowLogsRequest"; +const _DFLRe = "DeleteFlowLogsResult"; +const _DFLRes = "DescribeFlowLogsRequest"; +const _DFLResc = "DescribeFlowLogsResult"; +const _DFLRi = "DisableFastLaunchRequest"; +const _DFLRis = "DisableFastLaunchResult"; +const _DFLe = "DescribeFlowLogs"; +const _DFLi = "DisableFastLaunch"; +const _DFR = "DeleteFleetsRequest"; +const _DFRe = "DeleteFleetsResult"; +const _DFRes = "DescribeFleetsRequest"; +const _DFResc = "DescribeFleetsResult"; +const _DFSI = "DeleteFleetSuccessItem"; +const _DFSR = "DescribeFastSnapshotRestores"; +const _DFSREI = "DisableFastSnapshotRestoreErrorItem"; +const _DFSRES = "DisableFastSnapshotRestoreErrorSet"; +const _DFSRR = "DescribeFastSnapshotRestoresRequest"; +const _DFSRRe = "DescribeFastSnapshotRestoresResult"; +const _DFSRRi = "DisableFastSnapshotRestoresRequest"; +const _DFSRRis = "DisableFastSnapshotRestoresResult"; +const _DFSRSE = "DisableFastSnapshotRestoreStateError"; +const _DFSRSEI = "DisableFastSnapshotRestoreStateErrorItem"; +const _DFSRSES = "DisableFastSnapshotRestoreStateErrorSet"; +const _DFSRSI = "DescribeFastSnapshotRestoreSuccessItem"; +const _DFSRSIi = "DisableFastSnapshotRestoreSuccessItem"; +const _DFSRSS = "DescribeFastSnapshotRestoreSuccessSet"; +const _DFSRSSi = "DisableFastSnapshotRestoreSuccessSet"; +const _DFSRi = "DisableFastSnapshotRestores"; +const _DFSS = "DeleteFleetSuccessSet"; +const _DFe = "DescribeFleets"; +const _DH = "DescribeHosts"; +const _DHI = "DedicatedHostIds"; +const _DHIL = "DedicatedHostIdList"; +const _DHIe = "DedicatedHostId"; +const _DHR = "DescribeHostsRequest"; +const _DHRO = "DescribeHostReservationOfferings"; +const _DHROR = "DescribeHostReservationOfferingsRequest"; +const _DHRORe = "DescribeHostReservationOfferingsResult"; +const _DHRR = "DescribeHostReservationsRequest"; +const _DHRRe = "DescribeHostReservationsResult"; +const _DHRe = "DescribeHostsResult"; +const _DHRes = "DescribeHostReservations"; +const _DHS = "DedicatedHostsSupported"; +const _DHT = "DnsHostnameType"; +const _DI = "DeviceIndex"; +const _DIA = "DescribeImageAttribute"; +const _DIAR = "DescribeImageAttributeRequest"; +const _DIARe = "DescribeInstanceAttributeRequest"; +const _DIAe = "DescribeInstanceAttribute"; +const _DIB = "DeprovisionIpamByoasn"; +const _DIBPA = "DisableImageBlockPublicAccess"; +const _DIBPAR = "DisableImageBlockPublicAccessRequest"; +const _DIBPARi = "DisableImageBlockPublicAccessResult"; +const _DIBR = "DeprovisionIpamByoasnRequest"; +const _DIBRe = "DeprovisionIpamByoasnResult"; +const _DIBRes = "DescribeIpamByoasnRequest"; +const _DIBResc = "DescribeIpamByoasnResult"; +const _DIBRi = "DisassociateIpamByoasnRequest"; +const _DIBRis = "DisassociateIpamByoasnResult"; +const _DIBe = "DescribeIpamByoasn"; +const _DIBi = "DisassociateIpamByoasn"; +const _DICB = "DestinationIpv6CidrBlock"; +const _DICE = "DeleteInstanceConnectEndpoint"; +const _DICER = "DeleteInstanceConnectEndpointRequest"; +const _DICERe = "DeleteInstanceConnectEndpointResult"; +const _DICERes = "DescribeInstanceConnectEndpointsRequest"; +const _DICEResc = "DescribeInstanceConnectEndpointsResult"; +const _DICEe = "DescribeInstanceConnectEndpoints"; +const _DICS = "DescribeInstanceCreditSpecifications"; +const _DICSR = "DescribeInstanceCreditSpecificationsRequest"; +const _DICSRe = "DescribeInstanceCreditSpecificationsResult"; +const _DID = "DiskImageDescription"; +const _DIDP = "DisableImageDeregistrationProtection"; +const _DIDPR = "DisableImageDeregistrationProtectionRequest"; +const _DIDPRi = "DisableImageDeregistrationProtectionResult"; +const _DIDR = "DisableImageDeprecationRequest"; +const _DIDRi = "DisableImageDeprecationResult"; +const _DIDi = "DiskImageDetail"; +const _DIDis = "DisableImageDeprecation"; +const _DIENA = "DeregisterInstanceEventNotificationAttributes"; +const _DIENAR = "DeregisterInstanceEventNotificationAttributesRequest"; +const _DIENARe = "DeregisterInstanceEventNotificationAttributesResult"; +const _DIENARes = "DescribeInstanceEventNotificationAttributesRequest"; +const _DIENAResc = "DescribeInstanceEventNotificationAttributesResult"; +const _DIENAe = "DescribeInstanceEventNotificationAttributes"; +const _DIERVT = "DeleteIpamExternalResourceVerificationToken"; +const _DIERVTR = "DeleteIpamExternalResourceVerificationTokenRequest"; +const _DIERVTRe = "DeleteIpamExternalResourceVerificationTokenResult"; +const _DIERVTRes = "DescribeIpamExternalResourceVerificationTokensRequest"; +const _DIERVTResc = "DescribeIpamExternalResourceVerificationTokensResult"; +const _DIERVTe = "DescribeIpamExternalResourceVerificationTokens"; +const _DIEW = "DeleteInstanceEventWindow"; +const _DIEWR = "DeleteInstanceEventWindowRequest"; +const _DIEWRe = "DeleteInstanceEventWindowResult"; +const _DIEWRes = "DescribeInstanceEventWindowsRequest"; +const _DIEWResc = "DescribeInstanceEventWindowsResult"; +const _DIEWRi = "DisassociateInstanceEventWindowRequest"; +const _DIEWRis = "DisassociateInstanceEventWindowResult"; +const _DIEWe = "DescribeInstanceEventWindows"; +const _DIEWi = "DisassociateInstanceEventWindow"; +const _DIF = "DiskImageFormat"; +const _DIFR = "DescribeIdFormatRequest"; +const _DIFRe = "DescribeIdFormatResult"; +const _DIFe = "DescribeIdFormat"; +const _DIG = "DeleteInternetGateway"; +const _DIGR = "DeleteInternetGatewayRequest"; +const _DIGRe = "DescribeInternetGatewaysRequest"; +const _DIGRes = "DescribeInternetGatewaysResult"; +const _DIGRet = "DetachInternetGatewayRequest"; +const _DIGe = "DescribeInternetGateways"; +const _DIGet = "DetachInternetGateway"; +const _DIIF = "DescribeIdentityIdFormat"; +const _DIIFR = "DescribeIdentityIdFormatRequest"; +const _DIIFRe = "DescribeIdentityIdFormatResult"; +const _DIIM = "DescribeInstanceImageMetadata"; +const _DIIMR = "DescribeInstanceImageMetadataRequest"; +const _DIIMRe = "DescribeInstanceImageMetadataResult"; +const _DIIP = "DisassociateIamInstanceProfile"; +const _DIIPA = "DescribeIamInstanceProfileAssociations"; +const _DIIPAR = "DescribeIamInstanceProfileAssociationsRequest"; +const _DIIPARe = "DescribeIamInstanceProfileAssociationsResult"; +const _DIIPR = "DisassociateIamInstanceProfileRequest"; +const _DIIPRi = "DisassociateIamInstanceProfileResult"; +const _DIIT = "DescribeImportImageTasks"; +const _DIITR = "DescribeImportImageTasksRequest"; +const _DIITRe = "DescribeImportImageTasksResult"; +const _DIL = "DiskImageList"; +const _DILi = "DiskInfoList"; +const _DIOAA = "DisableIpamOrganizationAdminAccount"; +const _DIOAAR = "DisableIpamOrganizationAdminAccountRequest"; +const _DIOAARi = "DisableIpamOrganizationAdminAccountResult"; +const _DIP = "DeleteIpamPolicy"; +const _DIPC = "DeprovisionIpamPoolCidr"; +const _DIPCR = "DeprovisionIpamPoolCidrRequest"; +const _DIPCRe = "DeprovisionIpamPoolCidrResult"; +const _DIPLR = "DeleteIpamPrefixListResolver"; +const _DIPLRR = "DeleteIpamPrefixListResolverRequest"; +const _DIPLRRe = "DeleteIpamPrefixListResolverResult"; +const _DIPLRRes = "DescribeIpamPrefixListResolversRequest"; +const _DIPLRResc = "DescribeIpamPrefixListResolversResult"; +const _DIPLRT = "DeleteIpamPrefixListResolverTarget"; +const _DIPLRTR = "DeleteIpamPrefixListResolverTargetRequest"; +const _DIPLRTRe = "DeleteIpamPrefixListResolverTargetResult"; +const _DIPLRTRes = "DescribeIpamPrefixListResolverTargetsRequest"; +const _DIPLRTResc = "DescribeIpamPrefixListResolverTargetsResult"; +const _DIPLRTe = "DescribeIpamPrefixListResolverTargets"; +const _DIPLRe = "DescribeIpamPrefixListResolvers"; +const _DIPR = "DeleteIpamPolicyRequest"; +const _DIPRe = "DeleteIpamPolicyResult"; +const _DIPRel = "DeleteIpamPoolRequest"; +const _DIPRele = "DeleteIpamPoolResult"; +const _DIPRes = "DescribeIpamPoliciesRequest"; +const _DIPResc = "DescribeIpamPoliciesResult"; +const _DIPRescr = "DescribeIpamPoolsRequest"; +const _DIPRescri = "DescribeIpamPoolsResult"; +const _DIPRescrib = "DescribeIpv6PoolsRequest"; +const _DIPRescribe = "DescribeIpv6PoolsResult"; +const _DIPRi = "DisableIpamPolicyRequest"; +const _DIPRis = "DisableIpamPolicyResult"; +const _DIPe = "DeleteIpamPool"; +const _DIPes = "DescribeIpamPolicies"; +const _DIPesc = "DescribeIpamPools"; +const _DIPescr = "DescribeIpv6Pools"; +const _DIPi = "DisableIpamPolicy"; +const _DIR = "DeleteIpamRequest"; +const _DIRD = "DeleteIpamResourceDiscovery"; +const _DIRDA = "DescribeIpamResourceDiscoveryAssociations"; +const _DIRDAR = "DescribeIpamResourceDiscoveryAssociationsRequest"; +const _DIRDARe = "DescribeIpamResourceDiscoveryAssociationsResult"; +const _DIRDR = "DeleteIpamResourceDiscoveryRequest"; +const _DIRDRe = "DeleteIpamResourceDiscoveryResult"; +const _DIRDRes = "DescribeIpamResourceDiscoveriesRequest"; +const _DIRDResc = "DescribeIpamResourceDiscoveriesResult"; +const _DIRDRi = "DisassociateIpamResourceDiscoveryRequest"; +const _DIRDRis = "DisassociateIpamResourceDiscoveryResult"; +const _DIRDe = "DescribeIpamResourceDiscoveries"; +const _DIRDi = "DisassociateIpamResourceDiscovery"; +const _DIRR = "DescribeImageReferencesRequest"; +const _DIRRe = "DescribeImageReferencesResult"; +const _DIRe = "DeleteIpamResult"; +const _DIRer = "DeregisterImageRequest"; +const _DIRere = "DeregisterImageResult"; +const _DIRes = "DescribeImagesRequest"; +const _DIResc = "DescribeImagesResult"; +const _DIRescr = "DescribeInstancesRequest"; +const _DIRescri = "DescribeInstancesResult"; +const _DIRescrib = "DescribeIpamsRequest"; +const _DIRescribe = "DescribeIpamsResult"; +const _DIRescribem = "DescribeImageReferences"; +const _DIRi = "DisableImageRequest"; +const _DIRis = "DisableImageResult"; +const _DIS = "DiskImageSize"; +const _DISHHS = "DescribeInstanceSqlHaHistoryStates"; +const _DISHHSR = "DescribeInstanceSqlHaHistoryStatesRequest"; +const _DISHHSRe = "DescribeInstanceSqlHaHistoryStatesResult"; +const _DISHS = "DescribeInstanceSqlHaStates"; +const _DISHSD = "DisableInstanceSqlHaStandbyDetections"; +const _DISHSDR = "DisableInstanceSqlHaStandbyDetectionsRequest"; +const _DISHSDRi = "DisableInstanceSqlHaStandbyDetectionsResult"; +const _DISHSR = "DescribeInstanceSqlHaStatesRequest"; +const _DISHSRe = "DescribeInstanceSqlHaStatesResult"; +const _DISI = "DestinationIpamScopeId"; +const _DISR = "DeleteIpamScopeRequest"; +const _DISRe = "DeleteIpamScopeResult"; +const _DISRes = "DescribeInstanceStatusRequest"; +const _DISResc = "DescribeInstanceStatusResult"; +const _DISRescr = "DescribeIpamScopesRequest"; +const _DISRescri = "DescribeIpamScopesResult"; +const _DIST = "DescribeImportSnapshotTasks"; +const _DISTR = "DescribeImportSnapshotTasksRequest"; +const _DISTRe = "DescribeImportSnapshotTasksResult"; +const _DISe = "DeleteIpamScope"; +const _DISes = "DescribeInstanceStatus"; +const _DISesc = "DescribeIpamScopes"; +const _DIT = "DescribeInstanceTopology"; +const _DITAR = "DeregisterInstanceTagAttributeRequest"; +const _DITO = "DescribeInstanceTypeOfferings"; +const _DITOR = "DescribeInstanceTypeOfferingsRequest"; +const _DITORe = "DescribeInstanceTypeOfferingsResult"; +const _DITR = "DescribeInstanceTopologyRequest"; +const _DITRe = "DescribeInstanceTopologyResult"; +const _DITRes = "DescribeInstanceTypesRequest"; +const _DITResc = "DescribeInstanceTypesResult"; +const _DITe = "DescribeInstanceTypes"; +const _DIUR = "DeleteImageUsageReport"; +const _DIURE = "DescribeImageUsageReportEntries"; +const _DIURER = "DescribeImageUsageReportEntriesRequest"; +const _DIURERe = "DescribeImageUsageReportEntriesResult"; +const _DIURR = "DeleteImageUsageReportRequest"; +const _DIURRe = "DeleteImageUsageReportResult"; +const _DIURRes = "DescribeImageUsageReportsRequest"; +const _DIURResc = "DescribeImageUsageReportsResult"; +const _DIURe = "DescribeImageUsageReports"; +const _DIVD = "DiskImageVolumeDescription"; +const _DIe = "DestinationIp"; +const _DIel = "DeleteIpam"; +const _DIer = "DeregisterImage"; +const _DIes = "DescribeImages"; +const _DIesc = "DescribeInstances"; +const _DIescr = "DescribeIpams"; +const _DIev = "DeviceId"; +const _DIi = "DirectoryId"; +const _DIis = "DiskImage"; +const _DIisa = "DisableImage"; +const _DIisk = "DiskInfo"; +const _DIiskm = "DiskImages"; +const _DKP = "DeleteKeyPair"; +const _DKPR = "DeleteKeyPairRequest"; +const _DKPRe = "DeleteKeyPairResult"; +const _DKPRes = "DescribeKeyPairsRequest"; +const _DKPResc = "DescribeKeyPairsResult"; +const _DKPe = "DescribeKeyPairs"; +const _DLADI = "DisableLniAtDeviceIndex"; +const _DLEM = "DeliverLogsErrorMessage"; +const _DLG = "DescribeLocalGateways"; +const _DLGR = "DescribeLocalGatewaysRequest"; +const _DLGRR = "DeleteLocalGatewayRouteRequest"; +const _DLGRRe = "DeleteLocalGatewayRouteResult"; +const _DLGRT = "DeleteLocalGatewayRouteTable"; +const _DLGRTR = "DeleteLocalGatewayRouteTableRequest"; +const _DLGRTRe = "DeleteLocalGatewayRouteTableResult"; +const _DLGRTRes = "DescribeLocalGatewayRouteTablesRequest"; +const _DLGRTResc = "DescribeLocalGatewayRouteTablesResult"; +const _DLGRTVA = "DeleteLocalGatewayRouteTableVpcAssociation"; +const _DLGRTVAR = "DeleteLocalGatewayRouteTableVpcAssociationRequest"; +const _DLGRTVARe = "DeleteLocalGatewayRouteTableVpcAssociationResult"; +const _DLGRTVARes = "DescribeLocalGatewayRouteTableVpcAssociationsRequest"; +const _DLGRTVAResc = "DescribeLocalGatewayRouteTableVpcAssociationsResult"; +const _DLGRTVAe = "DescribeLocalGatewayRouteTableVpcAssociations"; +const _DLGRTVIGA = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"; +const _DLGRTVIGAR = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest"; +const _DLGRTVIGARe = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult"; +const _DLGRTVIGARes = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest"; +const _DLGRTVIGAResc = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult"; +const _DLGRTVIGAe = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"; +const _DLGRTe = "DescribeLocalGatewayRouteTables"; +const _DLGRe = "DescribeLocalGatewaysResult"; +const _DLGRel = "DeleteLocalGatewayRoute"; +const _DLGVI = "DeleteLocalGatewayVirtualInterface"; +const _DLGVIG = "DeleteLocalGatewayVirtualInterfaceGroup"; +const _DLGVIGR = "DeleteLocalGatewayVirtualInterfaceGroupRequest"; +const _DLGVIGRe = "DeleteLocalGatewayVirtualInterfaceGroupResult"; +const _DLGVIGRes = "DescribeLocalGatewayVirtualInterfaceGroupsRequest"; +const _DLGVIGResc = "DescribeLocalGatewayVirtualInterfaceGroupsResult"; +const _DLGVIGe = "DescribeLocalGatewayVirtualInterfaceGroups"; +const _DLGVIR = "DeleteLocalGatewayVirtualInterfaceRequest"; +const _DLGVIRe = "DeleteLocalGatewayVirtualInterfaceResult"; +const _DLGVIRes = "DescribeLocalGatewayVirtualInterfacesRequest"; +const _DLGVIResc = "DescribeLocalGatewayVirtualInterfacesResult"; +const _DLGVIe = "DescribeLocalGatewayVirtualInterfaces"; +const _DLPA = "DeliverLogsPermissionArn"; +const _DLS = "DeliverLogsStatus"; +const _DLSR = "DescribeLockedSnapshotsRequest"; +const _DLSRe = "DescribeLockedSnapshotsResult"; +const _DLSe = "DescribeLockedSnapshots"; +const _DLT = "DeleteLaunchTemplate"; +const _DLTR = "DeleteLaunchTemplateRequest"; +const _DLTRe = "DeleteLaunchTemplateResult"; +const _DLTRes = "DescribeLaunchTemplatesRequest"; +const _DLTResc = "DescribeLaunchTemplatesResult"; +const _DLTV = "DeleteLaunchTemplateVersions"; +const _DLTVR = "DeleteLaunchTemplateVersionsRequest"; +const _DLTVREI = "DeleteLaunchTemplateVersionsResponseErrorItem"; +const _DLTVRES = "DeleteLaunchTemplateVersionsResponseErrorSet"; +const _DLTVRSI = "DeleteLaunchTemplateVersionsResponseSuccessItem"; +const _DLTVRSS = "DeleteLaunchTemplateVersionsResponseSuccessSet"; +const _DLTVRe = "DeleteLaunchTemplateVersionsResult"; +const _DLTVRes = "DescribeLaunchTemplateVersionsRequest"; +const _DLTVResc = "DescribeLaunchTemplateVersionsResult"; +const _DLTVe = "DescribeLaunchTemplateVersions"; +const _DLTe = "DescribeLaunchTemplates"; +const _DMA = "DescribeMovingAddresses"; +const _DMAR = "DescribeMovingAddressesRequest"; +const _DMARe = "DescribeMovingAddressesResult"; +const _DMGM = "DeregisteredMulticastGroupMembers"; +const _DMGS = "DeregisteredMulticastGroupSources"; +const _DMH = "DescribeMacHosts"; +const _DMHR = "DescribeMacHostsRequest"; +const _DMHRe = "DescribeMacHostsResult"; +const _DMMT = "DescribeMacModificationTasks"; +const _DMMTR = "DescribeMacModificationTasksRequest"; +const _DMMTRe = "DescribeMacModificationTasksResult"; +const _DMPL = "DeleteManagedPrefixList"; +const _DMPLR = "DeleteManagedPrefixListRequest"; +const _DMPLRe = "DeleteManagedPrefixListResult"; +const _DMPLRes = "DescribeManagedPrefixListsRequest"; +const _DMPLResc = "DescribeManagedPrefixListsResult"; +const _DMPLe = "DescribeManagedPrefixLists"; +const _DN = "DeviceName"; +const _DNA = "DeleteNetworkAcl"; +const _DNAE = "DeleteNetworkAclEntry"; +const _DNAER = "DeleteNetworkAclEntryRequest"; +const _DNAR = "DeleteNetworkAclRequest"; +const _DNARe = "DescribeNetworkAclsRequest"; +const _DNARes = "DescribeNetworkAclsResult"; +const _DNAe = "DescribeNetworkAcls"; +const _DNCI = "DefaultNetworkCardIndex"; +const _DNG = "DeleteNatGateway"; +const _DNGA = "DisassociateNatGatewayAddress"; +const _DNGAR = "DisassociateNatGatewayAddressRequest"; +const _DNGARi = "DisassociateNatGatewayAddressResult"; +const _DNGR = "DeleteNatGatewayRequest"; +const _DNGRe = "DeleteNatGatewayResult"; +const _DNGRes = "DescribeNatGatewaysRequest"; +const _DNGResc = "DescribeNatGatewaysResult"; +const _DNGe = "DescribeNatGateways"; +const _DNI = "DeleteNetworkInterface"; +const _DNIA = "DeleteNetworkInsightsAnalysis"; +const _DNIAR = "DeleteNetworkInsightsAnalysisRequest"; +const _DNIARe = "DeleteNetworkInsightsAnalysisResult"; +const _DNIARes = "DescribeNetworkInsightsAnalysesRequest"; +const _DNIAResc = "DescribeNetworkInsightsAnalysesResult"; +const _DNIARescr = "DescribeNetworkInterfaceAttributeRequest"; +const _DNIARescri = "DescribeNetworkInterfaceAttributeResult"; +const _DNIAS = "DeleteNetworkInsightsAccessScope"; +const _DNIASA = "DeleteNetworkInsightsAccessScopeAnalysis"; +const _DNIASAR = "DeleteNetworkInsightsAccessScopeAnalysisRequest"; +const _DNIASARe = "DeleteNetworkInsightsAccessScopeAnalysisResult"; +const _DNIASARes = "DescribeNetworkInsightsAccessScopeAnalysesRequest"; +const _DNIASAResc = "DescribeNetworkInsightsAccessScopeAnalysesResult"; +const _DNIASAe = "DescribeNetworkInsightsAccessScopeAnalyses"; +const _DNIASR = "DeleteNetworkInsightsAccessScopeRequest"; +const _DNIASRe = "DeleteNetworkInsightsAccessScopeResult"; +const _DNIASRes = "DescribeNetworkInsightsAccessScopesRequest"; +const _DNIASResc = "DescribeNetworkInsightsAccessScopesResult"; +const _DNIASe = "DescribeNetworkInsightsAccessScopes"; +const _DNIAe = "DescribeNetworkInsightsAnalyses"; +const _DNIAes = "DescribeNetworkInterfaceAttribute"; +const _DNII = "DeregisteredNetworkInterfaceIds"; +const _DNIP = "DeleteNetworkInsightsPath"; +const _DNIPR = "DeleteNetworkInsightsPathRequest"; +const _DNIPRe = "DeleteNetworkInsightsPathResult"; +const _DNIPRel = "DeleteNetworkInterfacePermissionRequest"; +const _DNIPRele = "DeleteNetworkInterfacePermissionResult"; +const _DNIPRes = "DescribeNetworkInsightsPathsRequest"; +const _DNIPResc = "DescribeNetworkInsightsPathsResult"; +const _DNIPRescr = "DescribeNetworkInterfacePermissionsRequest"; +const _DNIPRescri = "DescribeNetworkInterfacePermissionsResult"; +const _DNIPe = "DeleteNetworkInterfacePermission"; +const _DNIPes = "DescribeNetworkInsightsPaths"; +const _DNIPesc = "DescribeNetworkInterfacePermissions"; +const _DNIR = "DeleteNetworkInterfaceRequest"; +const _DNIRe = "DescribeNetworkInterfacesRequest"; +const _DNIRes = "DescribeNetworkInterfacesResult"; +const _DNIRet = "DetachNetworkInterfaceRequest"; +const _DNIe = "DescribeNetworkInterfaces"; +const _DNIet = "DetachNetworkInterface"; +const _DNn = "DnsName"; +const _DNo = "DomainName"; +const _DO = "DhcpOptions"; +const _DOA = "DestinationOutpostArn"; +const _DOI = "DhcpOptionsId"; +const _DOISL = "DhcpOptionsIdStringList"; +const _DOIh = "DhcpOptionsIds"; +const _DOL = "DhcpOptionsList"; +const _DOLR = "DescribeOutpostLagsRequest"; +const _DOLRe = "DescribeOutpostLagsResult"; +const _DOLe = "DescribeOutpostLags"; +const _DOR = "DestinationOptionsRequest"; +const _DORe = "DestinationOptionsResponse"; +const _DOS = "DnsOptionsSpecification"; +const _DOST = "DisconnectOnSessionTimeout"; +const _DOT = "DeleteOnTermination"; +const _DOe = "DestinationOptions"; +const _DOev = "DeviceOptions"; +const _DOn = "DnsOptions"; +const _DP = "DeliveryPreference"; +const _DPDTA = "DPDTimeoutAction"; +const _DPDTS = "DPDTimeoutSeconds"; +const _DPG = "DeletePlacementGroup"; +const _DPGR = "DeletePlacementGroupRequest"; +const _DPGRe = "DescribePlacementGroupsRequest"; +const _DPGRes = "DescribePlacementGroupsResult"; +const _DPGe = "DescribePlacementGroups"; +const _DPIF = "DescribePrincipalIdFormat"; +const _DPIFR = "DescribePrincipalIdFormatRequest"; +const _DPIFRe = "DescribePrincipalIdFormatResult"; +const _DPIP = "DeletePublicIpv4Pool"; +const _DPIPC = "DeprovisionPublicIpv4PoolCidr"; +const _DPIPCR = "DeprovisionPublicIpv4PoolCidrRequest"; +const _DPIPCRe = "DeprovisionPublicIpv4PoolCidrResult"; +const _DPIPR = "DeletePublicIpv4PoolRequest"; +const _DPIPRe = "DeletePublicIpv4PoolResult"; +const _DPIPRes = "DescribePublicIpv4PoolsRequest"; +const _DPIPResc = "DescribePublicIpv4PoolsResult"; +const _DPIPe = "DescribePublicIpv4Pools"; +const _DPL = "DestinationPrefixLists"; +const _DPLI = "DestinationPrefixListId"; +const _DPLR = "DescribePrefixListsRequest"; +const _DPLRe = "DescribePrefixListsResult"; +const _DPLe = "DestinationPrefixList"; +const _DPLes = "DescribePrefixLists"; +const _DPR = "DestinationPortRanges"; +const _DPRL = "DeclarativePoliciesReportList"; +const _DPRT = "DefaultPropagationRouteTable"; +const _DPRe = "DestinationPortRange"; +const _DPRec = "DeclarativePoliciesReport"; +const _DPe = "DestinationPort"; +const _DPer = "DeregistrationProtection"; +const _DPes = "DestinationPorts"; +const _DQ = "DataQuery"; +const _DQRI = "DeleteQueuedReservedInstances"; +const _DQRIE = "DeleteQueuedReservedInstancesError"; +const _DQRIIL = "DeleteQueuedReservedInstancesIdList"; +const _DQRIR = "DeleteQueuedReservedInstancesRequest"; +const _DQRIRe = "DeleteQueuedReservedInstancesResult"; +const _DQa = "DataQueries"; +const _DR = "DryRun"; +const _DRDAI = "DefaultResourceDiscoveryAssociationId"; +const _DRDI = "DefaultResourceDiscoveryId"; +const _DRI = "DescribeReservedInstances"; +const _DRIL = "DescribeReservedInstancesListings"; +const _DRILR = "DescribeReservedInstancesListingsRequest"; +const _DRILRe = "DescribeReservedInstancesListingsResult"; +const _DRIM = "DescribeReservedInstancesModifications"; +const _DRIMR = "DescribeReservedInstancesModificationsRequest"; +const _DRIMRe = "DescribeReservedInstancesModificationsResult"; +const _DRIO = "DescribeReservedInstancesOfferings"; +const _DRIOR = "DescribeReservedInstancesOfferingsRequest"; +const _DRIORe = "DescribeReservedInstancesOfferingsResult"; +const _DRIR = "DescribeReservedInstancesRequest"; +const _DRIRe = "DescribeReservedInstancesResult"; +const _DRIT = "DnsRecordIpType"; +const _DRR = "DeleteRouteRequest"; +const _DRRV = "DeleteReplacedRootVolume"; +const _DRRVT = "DescribeReplaceRootVolumeTasks"; +const _DRRVTR = "DescribeReplaceRootVolumeTasksRequest"; +const _DRRVTRe = "DescribeReplaceRootVolumeTasksResult"; +const _DRRe = "DescribeRegionsRequest"; +const _DRRes = "DescribeRegionsResult"; +const _DRS = "DataRetentionSupport"; +const _DRSE = "DeleteRouteServerEndpoint"; +const _DRSER = "DeleteRouteServerEndpointRequest"; +const _DRSERe = "DeleteRouteServerEndpointResult"; +const _DRSERes = "DescribeRouteServerEndpointsRequest"; +const _DRSEResc = "DescribeRouteServerEndpointsResult"; +const _DRSEe = "DescribeRouteServerEndpoints"; +const _DRSP = "DeleteRouteServerPeer"; +const _DRSPR = "DeleteRouteServerPeerRequest"; +const _DRSPRe = "DeleteRouteServerPeerResult"; +const _DRSPRes = "DescribeRouteServerPeersRequest"; +const _DRSPResc = "DescribeRouteServerPeersResult"; +const _DRSPRi = "DisableRouteServerPropagationRequest"; +const _DRSPRis = "DisableRouteServerPropagationResult"; +const _DRSPe = "DescribeRouteServerPeers"; +const _DRSPi = "DisableRouteServerPropagation"; +const _DRSR = "DeleteRouteServerRequest"; +const _DRSRe = "DeleteRouteServerResult"; +const _DRSRes = "DescribeRouteServersRequest"; +const _DRSResc = "DescribeRouteServersResult"; +const _DRSRi = "DisassociateRouteServerRequest"; +const _DRSRis = "DisassociateRouteServerResult"; +const _DRSe = "DeleteRouteServer"; +const _DRSes = "DescribeRouteServers"; +const _DRSi = "DisassociateRouteServer"; +const _DRT = "DeleteRouteTable"; +const _DRTA = "DefaultRouteTableAssociation"; +const _DRTP = "DefaultRouteTablePropagation"; +const _DRTR = "DeleteRouteTableRequest"; +const _DRTRe = "DescribeRouteTablesRequest"; +const _DRTRes = "DescribeRouteTablesResult"; +const _DRTRi = "DisassociateRouteTableRequest"; +const _DRTe = "DescribeRouteTables"; +const _DRTi = "DisassociateRouteTable"; +const _DRa = "DataResponse"; +const _DRat = "DataResponses"; +const _DRe = "DestinationRegion"; +const _DReb = "DebuggingRestrictions"; +const _DRel = "DeleteRoute"; +const _DRes = "DescribeRegions"; +const _DRi = "DiscoveryRegion"; +const _DRy = "DynamicRouting"; +const _DS = "DnsServers"; +const _DSA = "DirectoryServiceAuthentication"; +const _DSAR = "DescribeSnapshotAttributeRequest"; +const _DSARe = "DescribeSnapshotAttributeResult"; +const _DSARi = "DirectoryServiceAuthenticationRequest"; +const _DSAe = "DescribeSnapshotAttribute"; +const _DSBPA = "DisableSnapshotBlockPublicAccess"; +const _DSBPAR = "DisableSnapshotBlockPublicAccessRequest"; +const _DSBPARi = "DisableSnapshotBlockPublicAccessResult"; +const _DSCA = "DisableSerialConsoleAccess"; +const _DSCAR = "DisableSerialConsoleAccessRequest"; +const _DSCARi = "DisableSerialConsoleAccessResult"; +const _DSCB = "DisassociateSubnetCidrBlock"; +const _DSCBR = "DisassociateSubnetCidrBlockRequest"; +const _DSCBRi = "DisassociateSubnetCidrBlockResult"; +const _DSCR = "DeletedSubnetCidrReservation"; +const _DSCRR = "DeleteSubnetCidrReservationRequest"; +const _DSCRRe = "DeleteSubnetCidrReservationResult"; +const _DSCRe = "DeleteSubnetCidrReservation"; +const _DSDS = "DeleteSpotDatafeedSubscription"; +const _DSDSR = "DeleteSpotDatafeedSubscriptionRequest"; +const _DSDSRe = "DescribeSpotDatafeedSubscriptionRequest"; +const _DSDSRes = "DescribeSpotDatafeedSubscriptionResult"; +const _DSDSe = "DescribeSpotDatafeedSubscription"; +const _DSFI = "DescribeSpotFleetInstances"; +const _DSFIR = "DescribeSpotFleetInstancesRequest"; +const _DSFIRe = "DescribeSpotFleetInstancesResponse"; +const _DSFR = "DescribeSpotFleetRequests"; +const _DSFRH = "DescribeSpotFleetRequestHistory"; +const _DSFRHR = "DescribeSpotFleetRequestHistoryRequest"; +const _DSFRHRe = "DescribeSpotFleetRequestHistoryResponse"; +const _DSFRR = "DescribeSpotFleetRequestsRequest"; +const _DSFRRe = "DescribeSpotFleetRequestsResponse"; +const _DSG = "DeleteSecurityGroup"; +const _DSGR = "DeleteSecurityGroupRequest"; +const _DSGRR = "DescribeSecurityGroupReferencesRequest"; +const _DSGRRe = "DescribeSecurityGroupReferencesResult"; +const _DSGRRes = "DescribeSecurityGroupRulesRequest"; +const _DSGRResc = "DescribeSecurityGroupRulesResult"; +const _DSGRe = "DeleteSecurityGroupResult"; +const _DSGRes = "DescribeSecurityGroupsRequest"; +const _DSGResc = "DescribeSecurityGroupsResult"; +const _DSGRescr = "DescribeSecurityGroupReferences"; +const _DSGRescri = "DescribeSecurityGroupRules"; +const _DSGV = "DisassociateSecurityGroupVpc"; +const _DSGVA = "DescribeSecurityGroupVpcAssociations"; +const _DSGVAR = "DescribeSecurityGroupVpcAssociationsRequest"; +const _DSGVARe = "DescribeSecurityGroupVpcAssociationsResult"; +const _DSGVR = "DisassociateSecurityGroupVpcRequest"; +const _DSGVRi = "DisassociateSecurityGroupVpcResult"; +const _DSGe = "DescribeSecurityGroups"; +const _DSI = "DescribeScheduledInstances"; +const _DSIA = "DescribeScheduledInstanceAvailability"; +const _DSIAR = "DescribeScheduledInstanceAvailabilityRequest"; +const _DSIARe = "DescribeScheduledInstanceAvailabilityResult"; +const _DSIR = "DescribeScheduledInstancesRequest"; +const _DSIRR = "DescribeSpotInstanceRequestsRequest"; +const _DSIRRe = "DescribeSpotInstanceRequestsResult"; +const _DSIRe = "DescribeScheduledInstancesResult"; +const _DSIRes = "DescribeSecondaryInterfacesRequest"; +const _DSIResc = "DescribeSecondaryInterfacesResult"; +const _DSIRescr = "DescribeSpotInstanceRequests"; +const _DSIT = "DescribeStoreImageTasks"; +const _DSITR = "DescribeStoreImageTasksRequest"; +const _DSITRe = "DescribeStoreImageTasksResult"; +const _DSIe = "DescribeSecondaryInterfaces"; +const _DSLVI = "DescribeServiceLinkVirtualInterfaces"; +const _DSLVIR = "DescribeServiceLinkVirtualInterfacesRequest"; +const _DSLVIRe = "DescribeServiceLinkVirtualInterfacesResult"; +const _DSN = "DeleteSecondaryNetwork"; +const _DSNR = "DeleteSecondaryNetworkRequest"; +const _DSNRe = "DeleteSecondaryNetworkResult"; +const _DSNRes = "DescribeSecondaryNetworksRequest"; +const _DSNResc = "DescribeSecondaryNetworksResult"; +const _DSNe = "DescribeSecondaryNetworks"; +const _DSOMS = "DnsServersOptionsModifyStructure"; +const _DSPH = "DescribeSpotPriceHistory"; +const _DSPHR = "DescribeSpotPriceHistoryRequest"; +const _DSPHRe = "DescribeSpotPriceHistoryResult"; +const _DSR = "DeleteSnapshotRequest"; +const _DSRC = "DeleteSnapshotReturnCode"; +const _DSRS = "DeleteSnapshotResultSet"; +const _DSRe = "DeleteSubnetRequest"; +const _DSRel = "DeleteSnapshotResults"; +const _DSRes = "DescribeSnapshotsRequest"; +const _DSResc = "DescribeSnapshotsResult"; +const _DSRescr = "DescribeSubnetsRequest"; +const _DSRescri = "DescribeSubnetsResult"; +const _DSS = "DeleteSecondarySubnet"; +const _DSSG = "DescribeStaleSecurityGroups"; +const _DSSGR = "DescribeStaleSecurityGroupsRequest"; +const _DSSGRe = "DescribeStaleSecurityGroupsResult"; +const _DSSR = "DeleteSecondarySubnetRequest"; +const _DSSRe = "DeleteSecondarySubnetResult"; +const _DSSRes = "DescribeSecondarySubnetsRequest"; +const _DSSResc = "DescribeSecondarySubnetsResult"; +const _DSSe = "DescribeSecondarySubnets"; +const _DSTS = "DescribeSnapshotTierStatus"; +const _DSTSR = "DescribeSnapshotTierStatusRequest"; +const _DSTSRe = "DescribeSnapshotTierStatusResult"; +const _DSe = "DeliveryStatus"; +const _DSel = "DeliveryStream"; +const _DSele = "DeleteSnapshot"; +const _DSelet = "DeleteSubnet"; +const _DSes = "DescribeSnapshots"; +const _DSesc = "DescribeSubnets"; +const _DSn = "DnsSupport"; +const _DT = "DeletionTime"; +const _DTA = "DpdTimeoutAction"; +const _DTC = "DeprecationTimeCondition"; +const _DTCR = "DeprecationTimeConditionRequest"; +const _DTCT = "DefaultTargetCapacityType"; +const _DTET = "DefaultTcpEstablishedTimeout"; +const _DTG = "DeleteTransitGateway"; +const _DTGA = "DescribeTransitGatewayAttachments"; +const _DTGAI = "DestinationTransitGatewayAttachmentId"; +const _DTGAR = "DescribeTransitGatewayAttachmentsRequest"; +const _DTGARe = "DescribeTransitGatewayAttachmentsResult"; +const _DTGAT = "DestinationTransitGatewayAttachmentType"; +const _DTGC = "DeleteTransitGatewayConnect"; +const _DTGCP = "DeleteTransitGatewayConnectPeer"; +const _DTGCPR = "DeleteTransitGatewayConnectPeerRequest"; +const _DTGCPRe = "DeleteTransitGatewayConnectPeerResult"; +const _DTGCPRes = "DescribeTransitGatewayConnectPeersRequest"; +const _DTGCPResc = "DescribeTransitGatewayConnectPeersResult"; +const _DTGCPe = "DescribeTransitGatewayConnectPeers"; +const _DTGCR = "DeleteTransitGatewayConnectRequest"; +const _DTGCRe = "DeleteTransitGatewayConnectResult"; +const _DTGCRes = "DescribeTransitGatewayConnectsRequest"; +const _DTGCResc = "DescribeTransitGatewayConnectsResult"; +const _DTGCe = "DescribeTransitGatewayConnects"; +const _DTGMD = "DeleteTransitGatewayMulticastDomain"; +const _DTGMDR = "DeleteTransitGatewayMulticastDomainRequest"; +const _DTGMDRe = "DeleteTransitGatewayMulticastDomainResult"; +const _DTGMDRes = "DescribeTransitGatewayMulticastDomainsRequest"; +const _DTGMDResc = "DescribeTransitGatewayMulticastDomainsResult"; +const _DTGMDRi = "DisassociateTransitGatewayMulticastDomainRequest"; +const _DTGMDRis = "DisassociateTransitGatewayMulticastDomainResult"; +const _DTGMDe = "DescribeTransitGatewayMulticastDomains"; +const _DTGMDi = "DisassociateTransitGatewayMulticastDomain"; +const _DTGMGM = "DeregisterTransitGatewayMulticastGroupMembers"; +const _DTGMGMR = "DeregisterTransitGatewayMulticastGroupMembersRequest"; +const _DTGMGMRe = "DeregisterTransitGatewayMulticastGroupMembersResult"; +const _DTGMGS = "DeregisterTransitGatewayMulticastGroupSources"; +const _DTGMGSR = "DeregisterTransitGatewayMulticastGroupSourcesRequest"; +const _DTGMGSRe = "DeregisterTransitGatewayMulticastGroupSourcesResult"; +const _DTGMP = "DeleteTransitGatewayMeteringPolicy"; +const _DTGMPE = "DeleteTransitGatewayMeteringPolicyEntry"; +const _DTGMPER = "DeleteTransitGatewayMeteringPolicyEntryRequest"; +const _DTGMPERe = "DeleteTransitGatewayMeteringPolicyEntryResult"; +const _DTGMPR = "DeleteTransitGatewayMeteringPolicyRequest"; +const _DTGMPRe = "DeleteTransitGatewayMeteringPolicyResult"; +const _DTGMPRes = "DescribeTransitGatewayMeteringPoliciesRequest"; +const _DTGMPResc = "DescribeTransitGatewayMeteringPoliciesResult"; +const _DTGMPe = "DescribeTransitGatewayMeteringPolicies"; +const _DTGPA = "DeleteTransitGatewayPeeringAttachment"; +const _DTGPAR = "DeleteTransitGatewayPeeringAttachmentRequest"; +const _DTGPARe = "DeleteTransitGatewayPeeringAttachmentResult"; +const _DTGPARes = "DescribeTransitGatewayPeeringAttachmentsRequest"; +const _DTGPAResc = "DescribeTransitGatewayPeeringAttachmentsResult"; +const _DTGPAe = "DescribeTransitGatewayPeeringAttachments"; +const _DTGPLR = "DeleteTransitGatewayPrefixListReference"; +const _DTGPLRR = "DeleteTransitGatewayPrefixListReferenceRequest"; +const _DTGPLRRe = "DeleteTransitGatewayPrefixListReferenceResult"; +const _DTGPT = "DeleteTransitGatewayPolicyTable"; +const _DTGPTR = "DeleteTransitGatewayPolicyTableRequest"; +const _DTGPTRe = "DeleteTransitGatewayPolicyTableResult"; +const _DTGPTRes = "DescribeTransitGatewayPolicyTablesRequest"; +const _DTGPTResc = "DescribeTransitGatewayPolicyTablesResult"; +const _DTGPTRi = "DisassociateTransitGatewayPolicyTableRequest"; +const _DTGPTRis = "DisassociateTransitGatewayPolicyTableResult"; +const _DTGPTe = "DescribeTransitGatewayPolicyTables"; +const _DTGPTi = "DisassociateTransitGatewayPolicyTable"; +const _DTGR = "DeleteTransitGatewayRequest"; +const _DTGRR = "DeleteTransitGatewayRouteRequest"; +const _DTGRRe = "DeleteTransitGatewayRouteResult"; +const _DTGRT = "DeleteTransitGatewayRouteTable"; +const _DTGRTA = "DeleteTransitGatewayRouteTableAnnouncement"; +const _DTGRTAR = "DeleteTransitGatewayRouteTableAnnouncementRequest"; +const _DTGRTARe = "DeleteTransitGatewayRouteTableAnnouncementResult"; +const _DTGRTARes = "DescribeTransitGatewayRouteTableAnnouncementsRequest"; +const _DTGRTAResc = "DescribeTransitGatewayRouteTableAnnouncementsResult"; +const _DTGRTAe = "DescribeTransitGatewayRouteTableAnnouncements"; +const _DTGRTP = "DisableTransitGatewayRouteTablePropagation"; +const _DTGRTPR = "DisableTransitGatewayRouteTablePropagationRequest"; +const _DTGRTPRi = "DisableTransitGatewayRouteTablePropagationResult"; +const _DTGRTR = "DeleteTransitGatewayRouteTableRequest"; +const _DTGRTRe = "DeleteTransitGatewayRouteTableResult"; +const _DTGRTRes = "DescribeTransitGatewayRouteTablesRequest"; +const _DTGRTResc = "DescribeTransitGatewayRouteTablesResult"; +const _DTGRTRi = "DisassociateTransitGatewayRouteTableRequest"; +const _DTGRTRis = "DisassociateTransitGatewayRouteTableResult"; +const _DTGRTe = "DescribeTransitGatewayRouteTables"; +const _DTGRTi = "DisassociateTransitGatewayRouteTable"; +const _DTGRe = "DeleteTransitGatewayResult"; +const _DTGRel = "DeleteTransitGatewayRoute"; +const _DTGRes = "DescribeTransitGatewaysRequest"; +const _DTGResc = "DescribeTransitGatewaysResult"; +const _DTGVA = "DeleteTransitGatewayVpcAttachment"; +const _DTGVAR = "DeleteTransitGatewayVpcAttachmentRequest"; +const _DTGVARe = "DeleteTransitGatewayVpcAttachmentResult"; +const _DTGVARes = "DescribeTransitGatewayVpcAttachmentsRequest"; +const _DTGVAResc = "DescribeTransitGatewayVpcAttachmentsResult"; +const _DTGVAe = "DescribeTransitGatewayVpcAttachments"; +const _DTGe = "DescribeTransitGateways"; +const _DTI = "DisassociateTrunkInterface"; +const _DTIA = "DescribeTrunkInterfaceAssociations"; +const _DTIAR = "DescribeTrunkInterfaceAssociationsRequest"; +const _DTIARe = "DescribeTrunkInterfaceAssociationsResult"; +const _DTIR = "DisassociateTrunkInterfaceRequest"; +const _DTIRi = "DisassociateTrunkInterfaceResult"; +const _DTK = "DeactivateTagKeys"; +const _DTKe = "DeactivateTagKey"; +const _DTMF = "DeleteTrafficMirrorFilter"; +const _DTMFR = "DeleteTrafficMirrorFilterRequest"; +const _DTMFRR = "DeleteTrafficMirrorFilterRuleRequest"; +const _DTMFRRe = "DeleteTrafficMirrorFilterRuleResult"; +const _DTMFRRes = "DescribeTrafficMirrorFilterRulesRequest"; +const _DTMFRResc = "DescribeTrafficMirrorFilterRulesResult"; +const _DTMFRe = "DeleteTrafficMirrorFilterResult"; +const _DTMFRel = "DeleteTrafficMirrorFilterRule"; +const _DTMFRes = "DescribeTrafficMirrorFiltersRequest"; +const _DTMFResc = "DescribeTrafficMirrorFiltersResult"; +const _DTMFRescr = "DescribeTrafficMirrorFilterRules"; +const _DTMFe = "DescribeTrafficMirrorFilters"; +const _DTMS = "DeleteTrafficMirrorSession"; +const _DTMSR = "DeleteTrafficMirrorSessionRequest"; +const _DTMSRe = "DeleteTrafficMirrorSessionResult"; +const _DTMSRes = "DescribeTrafficMirrorSessionsRequest"; +const _DTMSResc = "DescribeTrafficMirrorSessionsResult"; +const _DTMSe = "DescribeTrafficMirrorSessions"; +const _DTMT = "DeleteTrafficMirrorTarget"; +const _DTMTR = "DeleteTrafficMirrorTargetRequest"; +const _DTMTRe = "DeleteTrafficMirrorTargetResult"; +const _DTMTRes = "DescribeTrafficMirrorTargetsRequest"; +const _DTMTResc = "DescribeTrafficMirrorTargetsResult"; +const _DTMTe = "DescribeTrafficMirrorTargets"; +const _DTP = "DeviceTrustProviders"; +const _DTPC = "DefaultThreadsPerCore"; +const _DTPT = "DeviceTrustProviderType"; +const _DTPTL = "DeviceTrustProviderTypeList"; +const _DTR = "DeleteTagsRequest"; +const _DTRe = "DescribeTagsRequest"; +const _DTRes = "DescribeTagsResult"; +const _DTRr = "DTraceRestrictions"; +const _DTS = "DpdTimeoutSeconds"; +const _DTe = "DeprecationTime"; +const _DTel = "DeleteTime"; +const _DTele = "DeletionTimestamp"; +const _DTelet = "DeleteTags"; +const _DTes = "DescribeTags"; +const _DTi = "DisablingTime"; +const _DTis = "DisabledTime"; +const _DUST = "DefaultUdpStreamTimeout"; +const _DUT = "DefaultUdpTimeout"; +const _DV = "DesiredVersion"; +const _DVA = "DescribeVolumeAttribute"; +const _DVAE = "DeleteVerifiedAccessEndpoint"; +const _DVAER = "DeleteVerifiedAccessEndpointRequest"; +const _DVAERe = "DeleteVerifiedAccessEndpointResult"; +const _DVAERes = "DescribeVerifiedAccessEndpointsRequest"; +const _DVAEResc = "DescribeVerifiedAccessEndpointsResult"; +const _DVAEe = "DescribeVerifiedAccessEndpoints"; +const _DVAG = "DeleteVerifiedAccessGroup"; +const _DVAGR = "DeleteVerifiedAccessGroupRequest"; +const _DVAGRe = "DeleteVerifiedAccessGroupResult"; +const _DVAGRes = "DescribeVerifiedAccessGroupsRequest"; +const _DVAGResc = "DescribeVerifiedAccessGroupsResult"; +const _DVAGe = "DescribeVerifiedAccessGroups"; +const _DVAI = "DeleteVerifiedAccessInstance"; +const _DVAILC = "DescribeVerifiedAccessInstanceLoggingConfigurations"; +const _DVAILCR = "DescribeVerifiedAccessInstanceLoggingConfigurationsRequest"; +const _DVAILCRe = "DescribeVerifiedAccessInstanceLoggingConfigurationsResult"; +const _DVAIR = "DeleteVerifiedAccessInstanceRequest"; +const _DVAIRe = "DeleteVerifiedAccessInstanceResult"; +const _DVAIRes = "DescribeVerifiedAccessInstancesRequest"; +const _DVAIResc = "DescribeVerifiedAccessInstancesResult"; +const _DVAIe = "DescribeVerifiedAccessInstances"; +const _DVAR = "DescribeVolumeAttributeRequest"; +const _DVARe = "DescribeVolumeAttributeResult"; +const _DVARes = "DescribeVpcAttributeRequest"; +const _DVAResc = "DescribeVpcAttributeResult"; +const _DVATP = "DeleteVerifiedAccessTrustProvider"; +const _DVATPR = "DeleteVerifiedAccessTrustProviderRequest"; +const _DVATPRe = "DeleteVerifiedAccessTrustProviderResult"; +const _DVATPRes = "DescribeVerifiedAccessTrustProvidersRequest"; +const _DVATPResc = "DescribeVerifiedAccessTrustProvidersResult"; +const _DVATPRet = "DetachVerifiedAccessTrustProviderRequest"; +const _DVATPReta = "DetachVerifiedAccessTrustProviderResult"; +const _DVATPe = "DescribeVerifiedAccessTrustProviders"; +const _DVATPet = "DetachVerifiedAccessTrustProvider"; +const _DVAe = "DescribeVpcAttribute"; +const _DVBPAE = "DeleteVpcBlockPublicAccessExclusion"; +const _DVBPAER = "DeleteVpcBlockPublicAccessExclusionRequest"; +const _DVBPAERe = "DeleteVpcBlockPublicAccessExclusionResult"; +const _DVBPAERes = "DescribeVpcBlockPublicAccessExclusionsRequest"; +const _DVBPAEResc = "DescribeVpcBlockPublicAccessExclusionsResult"; +const _DVBPAEe = "DescribeVpcBlockPublicAccessExclusions"; +const _DVBPAO = "DescribeVpcBlockPublicAccessOptions"; +const _DVBPAOR = "DescribeVpcBlockPublicAccessOptionsRequest"; +const _DVBPAORe = "DescribeVpcBlockPublicAccessOptionsResult"; +const _DVC = "DefaultVCpus"; +const _DVCB = "DisassociateVpcCidrBlock"; +const _DVCBR = "DisassociateVpcCidrBlockRequest"; +const _DVCBRi = "DisassociateVpcCidrBlockResult"; +const _DVCL = "DescribeVpcClassicLink"; +const _DVCLDS = "DescribeVpcClassicLinkDnsSupport"; +const _DVCLDSR = "DescribeVpcClassicLinkDnsSupportRequest"; +const _DVCLDSRe = "DescribeVpcClassicLinkDnsSupportResult"; +const _DVCLDSRi = "DisableVpcClassicLinkDnsSupportRequest"; +const _DVCLDSRis = "DisableVpcClassicLinkDnsSupportResult"; +const _DVCLDSi = "DisableVpcClassicLinkDnsSupport"; +const _DVCLR = "DescribeVpcClassicLinkRequest"; +const _DVCLRe = "DescribeVpcClassicLinkResult"; +const _DVCLRi = "DisableVpcClassicLinkRequest"; +const _DVCLRis = "DisableVpcClassicLinkResult"; +const _DVCLi = "DisableVpcClassicLink"; +const _DVCR = "DeleteVpnConcentratorRequest"; +const _DVCRR = "DeleteVpnConnectionRouteRequest"; +const _DVCRe = "DeleteVpnConcentratorResult"; +const _DVCRel = "DeleteVpnConnectionRequest"; +const _DVCRele = "DeleteVpnConnectionRoute"; +const _DVCRes = "DescribeVpnConcentratorsRequest"; +const _DVCResc = "DescribeVpnConcentratorsResult"; +const _DVCRescr = "DescribeVpnConnectionsRequest"; +const _DVCRescri = "DescribeVpnConnectionsResult"; +const _DVCe = "DeleteVpnConcentrator"; +const _DVCel = "DeleteVpnConnection"; +const _DVCes = "DescribeVpnConcentrators"; +const _DVCesc = "DescribeVpnConnections"; +const _DVD = "DeviceValidationDomain"; +const _DVE = "DeleteVpcEndpoints"; +const _DVEA = "DescribeVpcEndpointAssociations"; +const _DVEAR = "DescribeVpcEndpointAssociationsRequest"; +const _DVEARe = "DescribeVpcEndpointAssociationsResult"; +const _DVEC = "DeleteVpcEncryptionControl"; +const _DVECN = "DeleteVpcEndpointConnectionNotifications"; +const _DVECNR = "DeleteVpcEndpointConnectionNotificationsRequest"; +const _DVECNRe = "DeleteVpcEndpointConnectionNotificationsResult"; +const _DVECNRes = "DescribeVpcEndpointConnectionNotificationsRequest"; +const _DVECNResc = "DescribeVpcEndpointConnectionNotificationsResult"; +const _DVECNe = "DescribeVpcEndpointConnectionNotifications"; +const _DVECR = "DeleteVpcEncryptionControlRequest"; +const _DVECRe = "DeleteVpcEncryptionControlResult"; +const _DVECRes = "DescribeVpcEncryptionControlsRequest"; +const _DVECResc = "DescribeVpcEncryptionControlsResult"; +const _DVECRescr = "DescribeVpcEndpointConnectionsRequest"; +const _DVECRescri = "DescribeVpcEndpointConnectionsResult"; +const _DVECe = "DescribeVpcEncryptionControls"; +const _DVECes = "DescribeVpcEndpointConnections"; +const _DVER = "DeleteVpcEndpointsRequest"; +const _DVERe = "DeleteVpcEndpointsResult"; +const _DVERes = "DescribeVpcEndpointsRequest"; +const _DVEResc = "DescribeVpcEndpointsResult"; +const _DVES = "DescribeVpcEndpointServices"; +const _DVESC = "DeleteVpcEndpointServiceConfigurations"; +const _DVESCR = "DeleteVpcEndpointServiceConfigurationsRequest"; +const _DVESCRe = "DeleteVpcEndpointServiceConfigurationsResult"; +const _DVESCRes = "DescribeVpcEndpointServiceConfigurationsRequest"; +const _DVESCResc = "DescribeVpcEndpointServiceConfigurationsResult"; +const _DVESCe = "DescribeVpcEndpointServiceConfigurations"; +const _DVESP = "DescribeVpcEndpointServicePermissions"; +const _DVESPR = "DescribeVpcEndpointServicePermissionsRequest"; +const _DVESPRe = "DescribeVpcEndpointServicePermissionsResult"; +const _DVESR = "DescribeVpcEndpointServicesRequest"; +const _DVESRe = "DescribeVpcEndpointServicesResult"; +const _DVEe = "DescribeVpcEndpoints"; +const _DVG = "DeleteVpnGateway"; +const _DVGR = "DeleteVpnGatewayRequest"; +const _DVGRe = "DescribeVpnGatewaysRequest"; +const _DVGRes = "DescribeVpnGatewaysResult"; +const _DVGRet = "DetachVpnGatewayRequest"; +const _DVGe = "DescribeVpnGateways"; +const _DVGet = "DetachVpnGateway"; +const _DVM = "DescribeVolumesModifications"; +const _DVMR = "DescribeVolumesModificationsRequest"; +const _DVMRe = "DescribeVolumesModificationsResult"; +const _DVN = "DefaultVersionNumber"; +const _DVPC = "DeleteVpcPeeringConnection"; +const _DVPCR = "DeleteVpcPeeringConnectionRequest"; +const _DVPCRe = "DeleteVpcPeeringConnectionResult"; +const _DVPCRes = "DescribeVpcPeeringConnectionsRequest"; +const _DVPCResc = "DescribeVpcPeeringConnectionsResult"; +const _DVPCe = "DescribeVpcPeeringConnections"; +const _DVR = "DeleteVolumeRequest"; +const _DVRP = "DisableVgwRoutePropagation"; +const _DVRPR = "DisableVgwRoutePropagationRequest"; +const _DVRe = "DeleteVpcRequest"; +const _DVRes = "DescribeVolumesRequest"; +const _DVResc = "DescribeVolumesResult"; +const _DVRescr = "DescribeVpcsRequest"; +const _DVRescri = "DescribeVpcsResult"; +const _DVRet = "DetachVolumeRequest"; +const _DVS = "DescribeVolumeStatus"; +const _DVSR = "DescribeVolumeStatusRequest"; +const _DVSRe = "DescribeVolumeStatusResult"; +const _DVe = "DestinationVpc"; +const _DVef = "DefaultVersion"; +const _DVel = "DeleteVolume"; +const _DVele = "DeleteVpc"; +const _DVes = "DescribeVolumes"; +const _DVesc = "DescribeVpcs"; +const _DVet = "DetachVolume"; +const _Da = "Data"; +const _De = "Description"; +const _Dea = "Deadline"; +const _Des = "Destinations"; +const _Det = "Details"; +const _Dev = "Device"; +const _Di = "Direction"; +const _Dim = "Dimension"; +const _Dis = "Disks"; +const _Do = "Domain"; +const _Du = "Duration"; +const _Dua = "Dualstack"; +const _E = "Egress"; +const _EA = "EniAddress"; +const _EAC = "ExternalAuthorityConfiguration"; +const _EAIL = "EipAssociationIdList"; +const _EAIS = "EnableAllowedImagesSettings"; +const _EAISR = "EnableAllowedImagesSettingsRequest"; +const _EAISRn = "EnableAllowedImagesSettingsResult"; +const _EANPMS = "EnableAwsNetworkPerformanceMetricSubscription"; +const _EANPMSR = "EnableAwsNetworkPerformanceMetricSubscriptionRequest"; +const _EANPMSRn = "EnableAwsNetworkPerformanceMetricSubscriptionResult"; +const _EAT = "EnableAddressTransfer"; +const _EATR = "EnableAddressTransferRequest"; +const _EATRn = "EnableAddressTransferResult"; +const _EAn = "EnableAcceleration"; +const _EAx = "ExclusionsAllowed"; +const _EB = "EgressBytes"; +const _EBD = "EbsBlockDevice"; +const _EBDR = "EbsBlockDeviceResponse"; +const _EBSL = "ExecutableByStringList"; +const _EBV = "ExcludeBootVolume"; +const _EBx = "ExecutableBy"; +const _EC = "ErrorCode"; +const _ECI = "EbsCardIndex"; +const _ECIL = "EbsCardInfoList"; +const _ECIb = "EbsCardInfo"; +const _ECM = "EnableCapacityManager"; +const _ECMR = "EnableCapacityManagerRequest"; +const _ECMRn = "EnableCapacityManagerResult"; +const _ECTP = "ExcessCapacityTerminationPolicy"; +const _ECVCC = "ExportClientVpnClientConfiguration"; +const _ECVCCR = "ExportClientVpnClientConfigurationRequest"; +const _ECVCCRL = "ExportClientVpnClientCertificateRevocationList"; +const _ECVCCRLR = "ExportClientVpnClientCertificateRevocationListRequest"; +const _ECVCCRLRx = "ExportClientVpnClientCertificateRevocationListResult"; +const _ECVCCRx = "ExportClientVpnClientConfigurationResult"; +const _ECb = "EbsCards"; +const _ECn = "EncryptionControl"; +const _ECx = "ExplanationCode"; +const _ED = "EndDate"; +const _EDH = "EnableDnsHostnames"; +const _EDP = "EndpointDomainPrefix"; +const _EDR = "EndDateRange"; +const _EDS = "EnableDnsSupport"; +const _EDT = "EarliestDatapointTimestamp"; +const _EDTn = "EndDateType"; +const _EDVI = "ExcludeDataVolumeIds"; +const _EDVIx = "ExcludeDataVolumeId"; +const _EDf = "EffectiveDate"; +const _EDn = "EnableDns64"; +const _EDnd = "EndpointDomain"; +const _EDv = "EventDescription"; +const _EDx = "ExpirationDate"; +const _EEA = "EndpointEniAddress"; +const _EEBD = "EbsEncryptionByDefault"; +const _EEEBD = "EnableEbsEncryptionByDefault"; +const _EEEBDR = "EnableEbsEncryptionByDefaultRequest"; +const _EEEBDRn = "EnableEbsEncryptionByDefaultResult"; +const _EEI = "EndpointEniId"; +const _EFL = "EnableFastLaunch"; +const _EFLR = "EnableFastLaunchRequest"; +const _EFLRn = "EnableFastLaunchResult"; +const _EFR = "EgressFilterRules"; +const _EFS = "ElasticFileSystem"; +const _EFSE = "ElasticFileSystemExclusion"; +const _EFSR = "EnableFastSnapshotRestores"; +const _EFSREI = "EnableFastSnapshotRestoreErrorItem"; +const _EFSRES = "EnableFastSnapshotRestoreErrorSet"; +const _EFSRR = "EnableFastSnapshotRestoresRequest"; +const _EFSRRn = "EnableFastSnapshotRestoresResult"; +const _EFSRSE = "EnableFastSnapshotRestoreStateError"; +const _EFSRSEI = "EnableFastSnapshotRestoreStateErrorItem"; +const _EFSRSES = "EnableFastSnapshotRestoreStateErrorSet"; +const _EFSRSI = "EnableFastSnapshotRestoreSuccessItem"; +const _EFSRSS = "EnableFastSnapshotRestoreSuccessSet"; +const _EG = "ElasticGpus"; +const _EGA = "ElasticGpuAssociation"; +const _EGAI = "ElasticGpuAssociationId"; +const _EGAL = "ElasticGpuAssociationList"; +const _EGAS = "ElasticGpuAssociationState"; +const _EGAT = "ElasticGpuAssociationTime"; +const _EGAl = "ElasticGpuAssociations"; +const _EGH = "ElasticGpuHealth"; +const _EGI = "ElasticGpuIds"; +const _EGIS = "ElasticGpuIdSet"; +const _EGIl = "ElasticGpuId"; +const _EGS = "ElasticGpuSet"; +const _EGSL = "ElasticGpuSpecificationList"; +const _EGSR = "ElasticGpuSpecificationResponse"; +const _EGSRL = "ElasticGpuSpecificationResponseList"; +const _EGSl = "ElasticGpuState"; +const _EGSla = "ElasticGpuSpecification"; +const _EGSlas = "ElasticGpuSpecifications"; +const _EGT = "ElasticGpuType"; +const _EH = "EndHour"; +const _EI = "ExchangeId"; +const _EIA = "ElasticInferenceAccelerator"; +const _EIAA = "ElasticInferenceAcceleratorAssociation"; +const _EIAAI = "ElasticInferenceAcceleratorAssociationId"; +const _EIAAL = "ElasticInferenceAcceleratorAssociationList"; +const _EIAAS = "ElasticInferenceAcceleratorAssociationState"; +const _EIAAT = "ElasticInferenceAcceleratorAssociationTime"; +const _EIAAl = "ElasticInferenceAcceleratorArn"; +const _EIAAla = "ElasticInferenceAcceleratorAssociations"; +const _EIAT = "EndpointIpAddressType"; +const _EIAl = "ElasticInferenceAccelerators"; +const _EIBD = "EbsInstanceBlockDevice"; +const _EIBDS = "EbsInstanceBlockDeviceSpecification"; +const _EIBPA = "EnableImageBlockPublicAccess"; +const _EIBPAR = "EnableImageBlockPublicAccessRequest"; +const _EIBPARn = "EnableImageBlockPublicAccessResult"; +const _EICE = "Ec2InstanceConnectEndpoint"; +const _EID = "EnableImageDeprecation"; +const _EIDP = "EnableImageDeregistrationProtection"; +const _EIDPR = "EnableImageDeregistrationProtectionRequest"; +const _EIDPRn = "EnableImageDeregistrationProtectionResult"; +const _EIDR = "EnableImageDeprecationRequest"; +const _EIDRn = "EnableImageDeprecationResult"; +const _EIOAA = "EnableIpamOrganizationAdminAccount"; +const _EIOAAR = "EnableIpamOrganizationAdminAccountRequest"; +const _EIOAARn = "EnableIpamOrganizationAdminAccountResult"; +const _EIP = "EnableIpamPolicy"; +const _EIPR = "EnableIpamPolicyRequest"; +const _EIPRn = "EnableIpamPolicyResult"; +const _EIR = "EnableImageRequest"; +const _EIRn = "EnableImageResult"; +const _EIRx = "ExportImageRequest"; +const _EIRxp = "ExportImageResult"; +const _EISHSD = "EnableInstanceSqlHaStandbyDetections"; +const _EISHSDR = "EnableInstanceSqlHaStandbyDetectionsRequest"; +const _EISHSDRn = "EnableInstanceSqlHaStandbyDetectionsResult"; +const _EIT = "ExportImageTasks"; +const _EITI = "ExportImageTaskIds"; +const _EITIL = "ExportImageTaskIdList"; +const _EITIx = "ExportImageTaskId"; +const _EITL = "ExportImageTaskList"; +const _EITS = "EncryptionInTransitSupported"; +const _EITSx = "ExcludedInstanceTypeSet"; +const _EITx = "ExportImageTask"; +const _EITxc = "ExcludedInstanceTypes"; +const _EITxcl = "ExcludedInstanceType"; +const _EIb = "EbsInfo"; +const _EIf = "EfaInfo"; +const _EIn = "EniId"; +const _EIna = "EnableImage"; +const _EIv = "EventInformation"; +const _EIve = "EventId"; +const _EIx = "ExclusionId"; +const _EIxc = "ExclusionIds"; +const _EIxp = "ExportImage"; +const _EKKI = "EncryptionKmsKeyId"; +const _EL = "ExplanationList"; +const _ELADI = "EnableLniAtDeviceIndex"; +const _ELBL = "ElasticLoadBalancerListener"; +const _EM = "ErrorMessage"; +const _ENAUM = "EnableNetworkAddressUsageMetrics"; +const _EO = "EbsOptimized"; +const _EOI = "EbsOptimizedInfo"; +const _EOIG = "EgressOnlyInternetGateway"; +const _EOIGE = "EgressOnlyInternetGatewayExclusion"; +const _EOIGI = "EgressOnlyInternetGatewayId"; +const _EOIGIL = "EgressOnlyInternetGatewayIdList"; +const _EOIGIg = "EgressOnlyInternetGatewayIds"; +const _EOIGL = "EgressOnlyInternetGatewayList"; +const _EOIGg = "EgressOnlyInternetGateways"; +const _EOR = "EnclaveOptionsRequest"; +const _EOS = "EbsOptimizedSupport"; +const _EOn = "EnclaveOptions"; +const _EP = "EgressPackets"; +const _EPG = "EnablePrivateGua"; +const _EPI = "EnablePrimaryIpv6"; +const _EPKV = "EkPubKeyValue"; +const _EPx = "ExcludePaths"; +const _EPxc = "ExcludePath"; +const _EQC = "EnaQueueCount"; +const _ERAOS = "EnableReachabilityAnalyzerOrganizationSharing"; +const _ERAOSR = "EnableReachabilityAnalyzerOrganizationSharingRequest"; +const _ERAOSRn = "EnableReachabilityAnalyzerOrganizationSharingResult"; +const _ERI = "ExternalResourceIdentifier"; +const _ERNDAAAAR = "EnableResourceNameDnsAAAARecord"; +const _ERNDAAAAROL = "EnableResourceNameDnsAAAARecordOnLaunch"; +const _ERNDAR = "EnableResourceNameDnsARecord"; +const _ERNDAROL = "EnableResourceNameDnsARecordOnLaunch"; +const _ERSP = "EnableRouteServerPropagation"; +const _ERSPR = "EnableRouteServerPropagationRequest"; +const _ERSPRn = "EnableRouteServerPropagationResult"; +const _ES = "EphemeralStorage"; +const _ESBPA = "EnableSnapshotBlockPublicAccess"; +const _ESBPAR = "EnableSnapshotBlockPublicAccessRequest"; +const _ESBPARn = "EnableSnapshotBlockPublicAccessResult"; +const _ESCA = "EnableSerialConsoleAccess"; +const _ESCAR = "EnableSerialConsoleAccessRequest"; +const _ESCARn = "EnableSerialConsoleAccessResult"; +const _ESD = "EbsStatusDetails"; +const _ESDL = "EbsStatusDetailsList"; +const _ESE = "EnaSrdEnabled"; +const _ESS = "EnaSrdSpecification"; +const _ESSR = "EnaSrdSpecificationRequest"; +const _ESSb = "EbsStatusSummary"; +const _ESSn = "EnaSrdSupported"; +const _EST = "EventSubType"; +const _ESUE = "EnaSrdUdpEnabled"; +const _ESUS = "EnaSrdUdpSpecification"; +const _ESUSR = "EnaSrdUdpSpecificationRequest"; +const _ESf = "EfaSupported"; +const _ESn = "EncryptionSupport"; +const _ESna = "EnaSupport"; +const _ESnc = "EncryptionState"; +const _ESnd = "EndpointSet"; +const _ESr = "ErrorSet"; +const _ET = "ExpirationTime"; +const _ETGR = "ExportTransitGatewayRoutes"; +const _ETGRR = "ExportTransitGatewayRoutesRequest"; +const _ETGRRx = "ExportTransitGatewayRoutesResult"; +const _ETGRTP = "EnableTransitGatewayRouteTablePropagation"; +const _ETGRTPR = "EnableTransitGatewayRouteTablePropagationRequest"; +const _ETGRTPRn = "EnableTransitGatewayRouteTablePropagationResult"; +const _ETI = "ExportTaskId"; +const _ETISL = "ExportTaskIdStringList"; +const _ETIx = "ExportTaskIds"; +const _ETL = "ExportTaskList"; +const _ETLC = "EnableTunnelLifecycleControl"; +const _ETSL = "ExportTaskS3Location"; +const _ETSLR = "ExportTaskS3LocationRequest"; +const _ETST = "ExportToS3Task"; +const _ETSTS = "ExportToS3TaskSpecification"; +const _ETTCIS = "EstimatedTimeToCompleteInSeconds"; +const _ETa = "EarliestTime"; +const _ETi = "EipTags"; +const _ETn = "EndpointType"; +const _ETna = "EnablingTime"; +const _ETnab = "EnabledTime"; +const _ETnd = "EndTime"; +const _ETv = "EventType"; +const _ETx = "ExportTask"; +const _ETxp = "ExportTasks"; +const _EU = "ExecutableUsers"; +const _EVAICC = "ExportVerifiedAccessInstanceClientConfiguration"; +const _EVAICCR = "ExportVerifiedAccessInstanceClientConfigurationRequest"; +const _EVAICCRx = "ExportVerifiedAccessInstanceClientConfigurationResult"; +const _EVCL = "EnableVpcClassicLink"; +const _EVCLDS = "EnableVpcClassicLinkDnsSupport"; +const _EVCLDSR = "EnableVpcClassicLinkDnsSupportRequest"; +const _EVCLDSRn = "EnableVpcClassicLinkDnsSupportResult"; +const _EVCLR = "EnableVpcClassicLinkRequest"; +const _EVCLRn = "EnableVpcClassicLinkResult"; +const _EVIO = "EnableVolumeIO"; +const _EVIOR = "EnableVolumeIORequest"; +const _EVRP = "EnableVgwRoutePropagation"; +const _EVRPR = "EnableVgwRoutePropagationRequest"; +const _EWD = "EndWeekDay"; +const _Eb = "Ebs"; +const _En = "Enabled"; +const _Enc = "Encrypted"; +const _End = "End"; +const _Endp = "Endpoint"; +const _Enf = "Enforced"; +const _Ent = "Entries"; +const _Entr = "Entry"; +const _Er = "Error"; +const _Err = "Errors"; +const _Ev = "Events"; +const _Eve = "Event"; +const _Ex = "Explanation"; +const _Exp = "Explanations"; +const _F = "Force"; +const _FA = "FederatedAuthentication"; +const _FAD = "FilterAtDestination"; +const _FAR = "FederatedAuthenticationRequest"; +const _FAS = "FilterAtSource"; +const _FAi = "FirstAddress"; +const _FB = "FilterBy"; +const _FBDMR = "FleetBlockDeviceMappingRequest"; +const _FBDMRL = "FleetBlockDeviceMappingRequestList"; +const _FC = "FindingComponents"; +const _FCR = "FleetCapacityReservations"; +const _FCRFCR = "FailedCapacityReservationFleetCancellationResult"; +const _FCRFCRS = "FailedCapacityReservationFleetCancellationResultSet"; +const _FCRS = "FleetCapacityReservationSet"; +const _FCRl = "FleetCapacityReservation"; +const _FCa = "FailureCode"; +const _FCu = "FulfilledCapacity"; +const _FD = "ForceDelete"; +const _FDI = "FpgaDeviceInfo"; +const _FDIL = "FpgaDeviceInfoList"; +const _FDMI = "FpgaDeviceMemoryInfo"; +const _FDN = "FipsDnsName"; +const _FDl = "FleetData"; +const _FE = "FipsEnabled"; +const _FEBDR = "FleetEbsBlockDeviceRequest"; +const _FEQS = "FlexibleEnaQueuesSupport"; +const _FF = "FileFormat"; +const _FFC = "FailedFleetCancellations"; +const _FFi = "FindingsFound"; +const _FI = "FindingId"; +const _FIA = "FpgaImageAttribute"; +const _FIAi = "FilterInArns"; +const _FIAil = "FilterInArn"; +const _FIGI = "FpgaImageGlobalId"; +const _FII = "FpgaImageId"; +const _FIIL = "FpgaImageIdList"; +const _FIIp = "FpgaImageIds"; +const _FIL = "FpgaImageList"; +const _FIPSE = "FIPSEnabled"; +const _FIS = "FpgaImageState"; +const _FIl = "FleetId"; +const _FIle = "FleetIds"; +const _FIp = "FpgaImages"; +const _FIpg = "FpgaImage"; +const _FIpga = "FpgaInfo"; +const _FL = "FlowLogs"; +const _FLI = "FlowLogIds"; +const _FLIIL = "FastLaunchImageIdList"; +const _FLIL = "FlowLogIdList"; +const _FLIa = "FastLaunchImages"; +const _FLIl = "FlowLogId"; +const _FLLTSR = "FastLaunchLaunchTemplateSpecificationRequest"; +const _FLLTSRa = "FastLaunchLaunchTemplateSpecificationResponse"; +const _FLRI = "FlowLogResourceIds"; +const _FLS = "FlowLogStatus"; +const _FLSCR = "FastLaunchSnapshotConfigurationRequest"; +const _FLSCRa = "FastLaunchSnapshotConfigurationResponse"; +const _FLSl = "FlowLogSet"; +const _FLTC = "FleetLaunchTemplateConfig"; +const _FLTCL = "FleetLaunchTemplateConfigList"; +const _FLTCLR = "FleetLaunchTemplateConfigListRequest"; +const _FLTCR = "FleetLaunchTemplateConfigRequest"; +const _FLTO = "FleetLaunchTemplateOverrides"; +const _FLTOL = "FleetLaunchTemplateOverridesList"; +const _FLTOLR = "FleetLaunchTemplateOverridesListRequest"; +const _FLTOR = "FleetLaunchTemplateOverridesRequest"; +const _FLTS = "FleetLaunchTemplateSpecification"; +const _FLTSR = "FleetLaunchTemplateSpecificationRequest"; +const _FLi = "FilterList"; +const _FLl = "FlowLog"; +const _FM = "FailureMessage"; +const _FOA = "FilterOutArns"; +const _FOAi = "FilterOutArn"; +const _FODC = "FulfilledOnDemandCapacity"; +const _FP = "FromPort"; +const _FPC = "ForwardPathComponents"; +const _FPR = "FilterPortRange"; +const _FPi = "FilesystemProtections"; +const _FPix = "FixedPrice"; +const _FQPD = "FailedQueuedPurchaseDeletions"; +const _FQPDS = "FailedQueuedPurchaseDeletionSet"; +const _FQPDa = "FailedQueuedPurchaseDeletion"; +const _FR = "FailureReason"; +const _FRa = "FastRestored"; +const _FS = "FleetState"; +const _FSCR = "FleetSpotCapacityRebalance"; +const _FSCRR = "FleetSpotCapacityRebalanceRequest"; +const _FSMS = "FleetSpotMaintenanceStrategies"; +const _FSMSR = "FleetSpotMaintenanceStrategiesRequest"; +const _FSR = "FastSnapshotRestores"; +const _FSRSE = "FastSnapshotRestoreStateErrors"; +const _FSRi = "FirewallStatelessRule"; +const _FSRir = "FirewallStatefulRule"; +const _FSSIB = "FullSnapshotSizeInBytes"; +const _FSST = "FirstSlotStartTime"; +const _FSSTR = "FirstSlotStartTimeRange"; +const _FSl = "FleetSet"; +const _FTE = "FreeTierEligible"; +const _Fa = "Fault"; +const _Fi = "Filters"; +const _Fil = "Filter"; +const _Fl = "Fleets"; +const _Fo = "Format"; +const _Fp = "Fpgas"; +const _Fr = "From"; +const _Fre = "Frequency"; +const _G = "Groups"; +const _GA = "GroupArn"; +const _GAECIR = "GetAssociatedEnclaveCertificateIamRoles"; +const _GAECIRR = "GetAssociatedEnclaveCertificateIamRolesRequest"; +const _GAECIRRe = "GetAssociatedEnclaveCertificateIamRolesResult"; +const _GAIPC = "GetAssociatedIpv6PoolCidrs"; +const _GAIPCR = "GetAssociatedIpv6PoolCidrsRequest"; +const _GAIPCRe = "GetAssociatedIpv6PoolCidrsResult"; +const _GAIS = "GetAllowedImagesSettings"; +const _GAISR = "GetAllowedImagesSettingsRequest"; +const _GAISRe = "GetAllowedImagesSettingsResult"; +const _GANPD = "GetAwsNetworkPerformanceData"; +const _GANPDR = "GetAwsNetworkPerformanceDataRequest"; +const _GANPDRe = "GetAwsNetworkPerformanceDataResult"; +const _GAS = "GatewayAssociationState"; +const _GAVTS = "GetActiveVpnTunnelStatus"; +const _GAVTSR = "GetActiveVpnTunnelStatusRequest"; +const _GAVTSRe = "GetActiveVpnTunnelStatusResult"; +const _GB = "GroupBy"; +const _GBS = "GroupBySet"; +const _GCMA = "GetCapacityManagerAttributes"; +const _GCMAR = "GetCapacityManagerAttributesRequest"; +const _GCMARe = "GetCapacityManagerAttributesResult"; +const _GCMMD = "GetCapacityManagerMetricData"; +const _GCMMDR = "GetCapacityManagerMetricDataRequest"; +const _GCMMDRe = "GetCapacityManagerMetricDataResult"; +const _GCMMDRet = "GetCapacityManagerMetricDimensionsRequest"; +const _GCMMDReta = "GetCapacityManagerMetricDimensionsResult"; +const _GCMMDe = "GetCapacityManagerMetricDimensions"; +const _GCMMTK = "GetCapacityManagerMonitoredTagKeys"; +const _GCMMTKR = "GetCapacityManagerMonitoredTagKeysRequest"; +const _GCMMTKRe = "GetCapacityManagerMonitoredTagKeysResult"; +const _GCO = "GetConsoleOutput"; +const _GCOR = "GetConsoleOutputRequest"; +const _GCORe = "GetConsoleOutputResult"; +const _GCPU = "GetCoipPoolUsage"; +const _GCPUR = "GetCoipPoolUsageRequest"; +const _GCPURe = "GetCoipPoolUsageResult"; +const _GCRU = "GetCapacityReservationUsage"; +const _GCRUR = "GetCapacityReservationUsageRequest"; +const _GCRURe = "GetCapacityReservationUsageResult"; +const _GCS = "GetConsoleScreenshot"; +const _GCSR = "GetConsoleScreenshotRequest"; +const _GCSRe = "GetConsoleScreenshotResult"; +const _GD = "GroupDescription"; +const _GDCS = "GetDefaultCreditSpecification"; +const _GDCSR = "GetDefaultCreditSpecificationRequest"; +const _GDCSRe = "GetDefaultCreditSpecificationResult"; +const _GDI = "GpuDeviceInfo"; +const _GDIL = "GpuDeviceInfoList"; +const _GDMI = "GpuDeviceMemoryInfo"; +const _GDPRS = "GetDeclarativePoliciesReportSummary"; +const _GDPRSR = "GetDeclarativePoliciesReportSummaryRequest"; +const _GDPRSRe = "GetDeclarativePoliciesReportSummaryResult"; +const _GEDKKI = "GetEbsDefaultKmsKeyId"; +const _GEDKKIR = "GetEbsDefaultKmsKeyIdRequest"; +const _GEDKKIRe = "GetEbsDefaultKmsKeyIdResult"; +const _GEEBD = "GetEbsEncryptionByDefault"; +const _GEEBDR = "GetEbsEncryptionByDefaultRequest"; +const _GEEBDRe = "GetEbsEncryptionByDefaultResult"; +const _GEIP = "GetEnabledIpamPolicy"; +const _GEIPR = "GetEnabledIpamPolicyRequest"; +const _GEIPRe = "GetEnabledIpamPolicyResult"; +const _GFLIT = "GetFlowLogsIntegrationTemplate"; +const _GFLITR = "GetFlowLogsIntegrationTemplateRequest"; +const _GFLITRe = "GetFlowLogsIntegrationTemplateResult"; +const _GGFCR = "GetGroupsForCapacityReservation"; +const _GGFCRR = "GetGroupsForCapacityReservationRequest"; +const _GGFCRRe = "GetGroupsForCapacityReservationResult"; +const _GHRPP = "GetHostReservationPurchasePreview"; +const _GHRPPR = "GetHostReservationPurchasePreviewRequest"; +const _GHRPPRe = "GetHostReservationPurchasePreviewResult"; +const _GI = "GatewayId"; +const _GIA = "GroupIpAddress"; +const _GIAH = "GetIpamAddressHistory"; +const _GIAHR = "GetIpamAddressHistoryRequest"; +const _GIAHRe = "GetIpamAddressHistoryResult"; +const _GIAR = "GetImageAncestryRequest"; +const _GIARe = "GetImageAncestryResult"; +const _GIAe = "GetImageAncestry"; +const _GIBPAS = "GetImageBlockPublicAccessState"; +const _GIBPASR = "GetImageBlockPublicAccessStateRequest"; +const _GIBPASRe = "GetImageBlockPublicAccessStateResult"; +const _GIDA = "GetIpamDiscoveredAccounts"; +const _GIDAR = "GetIpamDiscoveredAccountsRequest"; +const _GIDARe = "GetIpamDiscoveredAccountsResult"; +const _GIDPA = "GetIpamDiscoveredPublicAddresses"; +const _GIDPAR = "GetIpamDiscoveredPublicAddressesRequest"; +const _GIDPARe = "GetIpamDiscoveredPublicAddressesResult"; +const _GIDRC = "GetIpamDiscoveredResourceCidrs"; +const _GIDRCR = "GetIpamDiscoveredResourceCidrsRequest"; +const _GIDRCRe = "GetIpamDiscoveredResourceCidrsResult"; +const _GIL = "GroupIdentifierList"; +const _GIMD = "GetInstanceMetadataDefaults"; +const _GIMDR = "GetInstanceMetadataDefaultsRequest"; +const _GIMDRe = "GetInstanceMetadataDefaultsResult"; +const _GIPA = "GetIpamPoolAllocations"; +const _GIPAR = "GetIpamPoolAllocationsRequest"; +const _GIPARR = "GetIpamPolicyAllocationRulesRequest"; +const _GIPARRe = "GetIpamPolicyAllocationRulesResult"; +const _GIPARe = "GetIpamPoolAllocationsResult"; +const _GIPARet = "GetIpamPolicyAllocationRules"; +const _GIPC = "GetIpamPoolCidrs"; +const _GIPCR = "GetIpamPoolCidrsRequest"; +const _GIPCRe = "GetIpamPoolCidrsResult"; +const _GIPLRR = "GetIpamPrefixListResolverRules"; +const _GIPLRRR = "GetIpamPrefixListResolverRulesRequest"; +const _GIPLRRRe = "GetIpamPrefixListResolverRulesResult"; +const _GIPLRV = "GetIpamPrefixListResolverVersions"; +const _GIPLRVE = "GetIpamPrefixListResolverVersionEntries"; +const _GIPLRVER = "GetIpamPrefixListResolverVersionEntriesRequest"; +const _GIPLRVERe = "GetIpamPrefixListResolverVersionEntriesResult"; +const _GIPLRVR = "GetIpamPrefixListResolverVersionsRequest"; +const _GIPLRVRe = "GetIpamPrefixListResolverVersionsResult"; +const _GIPOT = "GetIpamPolicyOrganizationTargets"; +const _GIPOTR = "GetIpamPolicyOrganizationTargetsRequest"; +const _GIPOTRe = "GetIpamPolicyOrganizationTargetsResult"; +const _GIRC = "GetIpamResourceCidrs"; +const _GIRCR = "GetIpamResourceCidrsRequest"; +const _GIRCRe = "GetIpamResourceCidrsResult"; +const _GIS = "GroupIdentifierSet"; +const _GISL = "GroupIdStringList"; +const _GITEP = "GetInstanceTpmEkPub"; +const _GITEPR = "GetInstanceTpmEkPubRequest"; +const _GITEPRe = "GetInstanceTpmEkPubResult"; +const _GITFIR = "GetInstanceTypesFromInstanceRequirements"; +const _GITFIRR = "GetInstanceTypesFromInstanceRequirementsRequest"; +const _GITFIRRe = "GetInstanceTypesFromInstanceRequirementsResult"; +const _GIUD = "GetInstanceUefiData"; +const _GIUDR = "GetInstanceUefiDataRequest"; +const _GIUDRe = "GetInstanceUefiDataResult"; +const _GIp = "GpuInfo"; +const _GIr = "GroupId"; +const _GIro = "GroupIds"; +const _GIrou = "GroupIdentifier"; +const _GK = "GreKey"; +const _GLBA = "GatewayLoadBalancerArns"; +const _GLBAa = "GatewayLoadBalancerArn"; +const _GLBEI = "GatewayLoadBalancerEndpointId"; +const _GLN = "GroupLongName"; +const _GLTD = "GetLaunchTemplateData"; +const _GLTDR = "GetLaunchTemplateDataRequest"; +const _GLTDRe = "GetLaunchTemplateDataResult"; +const _GM = "GroupMember"; +const _GMPLA = "GetManagedPrefixListAssociations"; +const _GMPLAR = "GetManagedPrefixListAssociationsRequest"; +const _GMPLARe = "GetManagedPrefixListAssociationsResult"; +const _GMPLE = "GetManagedPrefixListEntries"; +const _GMPLER = "GetManagedPrefixListEntriesRequest"; +const _GMPLERe = "GetManagedPrefixListEntriesResult"; +const _GN = "GroupName"; +const _GNIASAF = "GetNetworkInsightsAccessScopeAnalysisFindings"; +const _GNIASAFR = "GetNetworkInsightsAccessScopeAnalysisFindingsRequest"; +const _GNIASAFRe = "GetNetworkInsightsAccessScopeAnalysisFindingsResult"; +const _GNIASC = "GetNetworkInsightsAccessScopeContent"; +const _GNIASCR = "GetNetworkInsightsAccessScopeContentRequest"; +const _GNIASCRe = "GetNetworkInsightsAccessScopeContentResult"; +const _GNSL = "GroupNameStringList"; +const _GNr = "GroupNames"; +const _GOI = "GroupOwnerId"; +const _GPD = "GetPasswordData"; +const _GPDR = "GetPasswordDataRequest"; +const _GPDRe = "GetPasswordDataResult"; +const _GPS = "GpuPartitionSize"; +const _GRIEQ = "GetReservedInstancesExchangeQuote"; +const _GRIEQR = "GetReservedInstancesExchangeQuoteRequest"; +const _GRIEQRe = "GetReservedInstancesExchangeQuoteResult"; +const _GRSA = "GetRouteServerAssociations"; +const _GRSAR = "GetRouteServerAssociationsRequest"; +const _GRSARe = "GetRouteServerAssociationsResult"; +const _GRSP = "GetRouteServerPropagations"; +const _GRSPR = "GetRouteServerPropagationsRequest"; +const _GRSPRe = "GetRouteServerPropagationsResult"; +const _GRSRD = "GetRouteServerRoutingDatabase"; +const _GRSRDR = "GetRouteServerRoutingDatabaseRequest"; +const _GRSRDRe = "GetRouteServerRoutingDatabaseResult"; +const _GS = "GroupSource"; +const _GSBPAS = "GetSnapshotBlockPublicAccessState"; +const _GSBPASR = "GetSnapshotBlockPublicAccessStateRequest"; +const _GSBPASRe = "GetSnapshotBlockPublicAccessStateResult"; +const _GSCAS = "GetSerialConsoleAccessStatus"; +const _GSCASR = "GetSerialConsoleAccessStatusRequest"; +const _GSCASRe = "GetSerialConsoleAccessStatusResult"; +const _GSCR = "GetSubnetCidrReservations"; +const _GSCRR = "GetSubnetCidrReservationsRequest"; +const _GSCRRe = "GetSubnetCidrReservationsResult"; +const _GSGFV = "GetSecurityGroupsForVpc"; +const _GSGFVR = "GetSecurityGroupsForVpcRequest"; +const _GSGFVRe = "GetSecurityGroupsForVpcResult"; +const _GSPS = "GetSpotPlacementScores"; +const _GSPSR = "GetSpotPlacementScoresRequest"; +const _GSPSRe = "GetSpotPlacementScoresResult"; +const _GTGAP = "GetTransitGatewayAttachmentPropagations"; +const _GTGAPR = "GetTransitGatewayAttachmentPropagationsRequest"; +const _GTGAPRe = "GetTransitGatewayAttachmentPropagationsResult"; +const _GTGMDA = "GetTransitGatewayMulticastDomainAssociations"; +const _GTGMDAR = "GetTransitGatewayMulticastDomainAssociationsRequest"; +const _GTGMDARe = "GetTransitGatewayMulticastDomainAssociationsResult"; +const _GTGMPE = "GetTransitGatewayMeteringPolicyEntries"; +const _GTGMPER = "GetTransitGatewayMeteringPolicyEntriesRequest"; +const _GTGMPERe = "GetTransitGatewayMeteringPolicyEntriesResult"; +const _GTGPLR = "GetTransitGatewayPrefixListReferences"; +const _GTGPLRR = "GetTransitGatewayPrefixListReferencesRequest"; +const _GTGPLRRe = "GetTransitGatewayPrefixListReferencesResult"; +const _GTGPTA = "GetTransitGatewayPolicyTableAssociations"; +const _GTGPTAR = "GetTransitGatewayPolicyTableAssociationsRequest"; +const _GTGPTARe = "GetTransitGatewayPolicyTableAssociationsResult"; +const _GTGPTE = "GetTransitGatewayPolicyTableEntries"; +const _GTGPTER = "GetTransitGatewayPolicyTableEntriesRequest"; +const _GTGPTERe = "GetTransitGatewayPolicyTableEntriesResult"; +const _GTGRTA = "GetTransitGatewayRouteTableAssociations"; +const _GTGRTAR = "GetTransitGatewayRouteTableAssociationsRequest"; +const _GTGRTARe = "GetTransitGatewayRouteTableAssociationsResult"; +const _GTGRTP = "GetTransitGatewayRouteTablePropagations"; +const _GTGRTPR = "GetTransitGatewayRouteTablePropagationsRequest"; +const _GTGRTPRe = "GetTransitGatewayRouteTablePropagationsResult"; +const _GVAEP = "GetVerifiedAccessEndpointPolicy"; +const _GVAEPR = "GetVerifiedAccessEndpointPolicyRequest"; +const _GVAEPRe = "GetVerifiedAccessEndpointPolicyResult"; +const _GVAET = "GetVerifiedAccessEndpointTargets"; +const _GVAETR = "GetVerifiedAccessEndpointTargetsRequest"; +const _GVAETRe = "GetVerifiedAccessEndpointTargetsResult"; +const _GVAGP = "GetVerifiedAccessGroupPolicy"; +const _GVAGPR = "GetVerifiedAccessGroupPolicyRequest"; +const _GVAGPRe = "GetVerifiedAccessGroupPolicyResult"; +const _GVCDSC = "GetVpnConnectionDeviceSampleConfiguration"; +const _GVCDSCR = "GetVpnConnectionDeviceSampleConfigurationRequest"; +const _GVCDSCRe = "GetVpnConnectionDeviceSampleConfigurationResult"; +const _GVCDT = "GetVpnConnectionDeviceTypes"; +const _GVCDTR = "GetVpnConnectionDeviceTypesRequest"; +const _GVCDTRe = "GetVpnConnectionDeviceTypesResult"; +const _GVRBEE = "GetVpcResourcesBlockingEncryptionEnforcement"; +const _GVRBEER = "GetVpcResourcesBlockingEncryptionEnforcementRequest"; +const _GVRBEERe = "GetVpcResourcesBlockingEncryptionEnforcementResult"; +const _GVTRS = "GetVpnTunnelReplacementStatus"; +const _GVTRSR = "GetVpnTunnelReplacementStatusRequest"; +const _GVTRSRe = "GetVpnTunnelReplacementStatusResult"; +const _Ge = "Geography"; +const _Gp = "Gpus"; +const _Gr = "Group"; +const _H = "Hosts"; +const _HCP = "HiveCompatiblePartitions"; +const _HE = "HttpEndpoint"; +const _HI = "HostIds"; +const _HIL = "HostInstanceList"; +const _HIS = "HostIdSet"; +const _HIo = "HostId"; +const _HIos = "HostInstance"; +const _HL = "HostList"; +const _HM = "HostMaintenance"; +const _HO = "HibernationOptions"; +const _HOR = "HibernationOptionsRequest"; +const _HOS = "HostOfferingSet"; +const _HOo = "HostOffering"; +const _HP = "HostProperties"; +const _HPI = "HttpProtocolIpv6"; +const _HPRHL = "HttpPutResponseHopLimit"; +const _HPo = "HourlyPrice"; +const _HR = "HostRecovery"; +const _HRE = "HistoryRecordEntry"; +const _HRGA = "HostResourceGroupArn"; +const _HRI = "HostReservationId"; +const _HRIS = "HostReservationIdSet"; +const _HRS = "HostReservationSet"; +const _HRSi = "HistoryRecordSet"; +const _HRi = "HistoryRecords"; +const _HRis = "HistoryRecord"; +const _HRo = "HostReservation"; +const _HS = "HibernationSupported"; +const _HSa = "HaStatus"; +const _HT = "HttpTokens"; +const _HTE = "HttpTokensEnforced"; +const _HTo = "HostnameType"; +const _HZI = "HostedZoneId"; +const _Hi = "Hibernate"; +const _Ho = "Host"; +const _Hy = "Hypervisor"; +const _I = "Id"; +const _IA = "Ipv6Addresses"; +const _IAA = "Ipv6AddressAttribute"; +const _IAC = "Ipv6AddressCount"; +const _IAE = "ImageAncestryEntries"; +const _IAEL = "ImageAncestryEntryList"; +const _IAESS = "InstanceAttachmentEnaSrdSpecification"; +const _IAESUS = "InstanceAttachmentEnaSrdUdpSpecification"; +const _IAEm = "ImageAncestryEntry"; +const _IAHR = "IpamAddressHistoryRecord"; +const _IAHRS = "IpamAddressHistoryRecordSet"; +const _IAI = "IncludeAllInstances"; +const _IAIn = "InferenceAcceleratorInfo"; +const _IAL = "IpAddressList"; +const _IALp = "Ipv6AddressList"; +const _IAPI = "Ipv4AddressesPerInterface"; +const _IAPIp = "Ipv6AddressesPerInterface"; +const _IAPSI = "Ipv4AddressesPerSecondaryInterface"; +const _IART = "IncludeAllResourceTypes"; +const _IAT = "IpAddressType"; +const _IATOI = "IncludeAllTagsOfInstance"; +const _IAm = "ImageAllowed"; +const _IAma = "ImageAttribute"; +const _IAn = "InterfaceAssociation"; +const _IAns = "InstanceAttribute"; +const _IAnt = "InterfaceAssociations"; +const _IAp = "IpAddress"; +const _IApa = "IpamArn"; +const _IApv = "Ipv6Address"; +const _IB = "IngressBytes"; +const _IBDM = "InstanceBlockDeviceMapping"; +const _IBDML = "InstanceBlockDeviceMappingList"; +const _IBDMS = "InstanceBlockDeviceMappingSpecification"; +const _IBDMSL = "InstanceBlockDeviceMappingSpecificationList"; +const _IBPAS = "ImageBlockPublicAccessState"; +const _IC = "InstanceCount"; +const _ICA = "InterruptibleCapacityAllocation"; +const _ICAC = "IpamCidrAuthorizationContext"; +const _ICAS = "Ipv6CidrAssociationSet"; +const _ICAp = "Ipv6CidrAssociations"; +const _ICApv = "Ipv6CidrAssociation"; +const _ICB = "Ipv6CidrBlock"; +const _ICBA = "Ipv6CidrBlockAssociation"; +const _ICBAS = "Ipv6CidrBlockAssociationSet"; +const _ICBAp = "Ipv4CidrBlockAssociations"; +const _ICBNBG = "Ipv6CidrBlockNetworkBorderGroup"; +const _ICBS = "Ipv6CidrBlockState"; +const _ICBSL = "InsideCidrBlocksStringList"; +const _ICBSp = "Ipv6CidrBlockSet"; +const _ICBn = "InsideCidrBlocks"; +const _ICBp = "Ipv4CidrBlock"; +const _ICE = "InstanceConnectEndpoint"; +const _ICEA = "InstanceConnectEndpointArn"; +const _ICEDN = "InstanceConnectEndpointDnsNames"; +const _ICEI = "InstanceConnectEndpointId"; +const _ICEIn = "InstanceConnectEndpointIds"; +const _ICEPDN = "InstanceConnectEndpointPublicDnsNames"; +const _ICES = "InstanceConnectEndpointSet"; +const _ICEn = "InstanceConnectEndpoints"; +const _ICL = "ImageCriterionList"; +const _ICLn = "InstanceCountList"; +const _ICR = "ImageCriterionRequest"; +const _ICRI = "InterruptibleCapacityReservationId"; +const _ICRL = "ImageCriterionRequestList"; +const _ICS = "InstanceCreditSpecifications"; +const _ICSL = "InstanceCreditSpecificationList"; +const _ICSLR = "InstanceCreditSpecificationListRequest"; +const _ICSR = "InstanceCreditSpecificationRequest"; +const _ICSn = "InstanceCreditSpecification"; +const _ICVCCRL = "ImportClientVpnClientCertificateRevocationList"; +const _ICVCCRLR = "ImportClientVpnClientCertificateRevocationListRequest"; +const _ICVCCRLRm = "ImportClientVpnClientCertificateRevocationListResult"; +const _ICm = "ImageCriteria"; +const _ICma = "ImageCriterion"; +const _ICn = "InstanceCapacity"; +const _ICns = "InstanceCounts"; +const _ICp = "Ipv6Cidr"; +const _ID = "IncludeDeprecated"; +const _IDA = "IpamDiscoveredAccounts"; +const _IDAS = "IpamDiscoveredAccountSet"; +const _IDAp = "IpamDiscoveredAccount"; +const _IDC = "ImageDiskContainer"; +const _IDCL = "ImageDiskContainerList"; +const _IDFR = "IpamDiscoveryFailureReason"; +const _IDI = "InferenceDeviceInfo"; +const _IDIL = "InferenceDeviceInfoList"; +const _IDMI = "InferenceDeviceMemoryInfo"; +const _IDPA = "IpamDiscoveredPublicAddresses"; +const _IDPAS = "IpamDiscoveredPublicAddressSet"; +const _IDPAp = "IpamDiscoveredPublicAddress"; +const _IDRC = "IpamDiscoveredResourceCidrs"; +const _IDRCS = "IpamDiscoveredResourceCidrSet"; +const _IDRCp = "IpamDiscoveredResourceCidr"; +const _IDm = "ImageData"; +const _IDn = "IncludeDisabled"; +const _IDs = "IsDefault"; +const _IE = "IsEgress"; +const _IED = "InstanceExportDetails"; +const _IEI = "InstanceEventId"; +const _IERVT = "IpamExternalResourceVerificationToken"; +const _IERVTA = "IpamExternalResourceVerificationTokenArn"; +const _IERVTI = "IpamExternalResourceVerificationTokenId"; +const _IERVTIp = "IpamExternalResourceVerificationTokenIds"; +const _IERVTS = "IpamExternalResourceVerificationTokenSet"; +const _IERVTp = "IpamExternalResourceVerificationTokens"; +const _IEW = "InstanceEventWindow"; +const _IEWAR = "InstanceEventWindowAssociationRequest"; +const _IEWAT = "InstanceEventWindowAssociationTarget"; +const _IEWDR = "InstanceEventWindowDisassociationRequest"; +const _IEWI = "InstanceEventWindowId"; +const _IEWIS = "InstanceEventWindowIdSet"; +const _IEWIn = "InstanceEventWindowIds"; +const _IEWS = "InstanceEventWindowState"; +const _IEWSC = "InstanceEventWindowStateChange"; +const _IEWSn = "InstanceEventWindowSet"; +const _IEWTR = "InstanceEventWindowTimeRange"; +const _IEWTRL = "InstanceEventWindowTimeRangeList"; +const _IEWTRR = "InstanceEventWindowTimeRangeRequest"; +const _IEWTRRS = "InstanceEventWindowTimeRangeRequestSet"; +const _IEWn = "InstanceEventWindows"; +const _IEs = "IsExcludable"; +const _IF = "InstanceFamily"; +const _IFCS = "InstanceFamilyCreditSpecification"; +const _IFL = "IdFormatList"; +const _IFR = "IamFleetRole"; +const _IFRn = "IngressFilterRules"; +const _IFd = "IdFormat"; +const _IG = "InternetGateway"; +const _IGA = "InternetGatewayAttachment"; +const _IGAL = "InternetGatewayAttachmentList"; +const _IGBM = "InternetGatewayBlockMode"; +const _IGE = "InternetGatewayExclusion"; +const _IGEM = "InternetGatewayExclusionMode"; +const _IGI = "InternetGatewayId"; +const _IGIL = "InternetGatewayIdList"; +const _IGIn = "InternetGatewayIds"; +const _IGL = "InternetGatewayList"; +const _IGS = "InstanceGenerationSet"; +const _IGn = "InternetGateways"; +const _IGns = "InstanceGenerations"; +const _IGnst = "InstanceGeneration"; +const _IH = "InstanceHealth"; +const _IHn = "InboundHeader"; +const _II = "InstanceId"; +const _IIA = "InstanceIpv6Address"; +const _IIAL = "InstanceIpv6AddressList"; +const _IIALR = "InstanceIpv6AddressListRequest"; +const _IIAR = "InstanceIpv6AddressRequest"; +const _IIB = "InstanceInterruptionBehavior"; +const _IIL = "ImageIdList"; +const _IILCR = "ImportImageLicenseConfigurationRequest"; +const _IILCRm = "ImportImageLicenseConfigurationResponse"; +const _IILS = "ImportInstanceLaunchSpecification"; +const _IILSLR = "ImportImageLicenseSpecificationListRequest"; +const _IILSLRm = "ImportImageLicenseSpecificationListResponse"; +const _IILn = "InstanceIdList"; +const _IIM = "InstanceImageMetadata"; +const _IIML = "InstanceImageMetadataList"; +const _IIP = "IamInstanceProfile"; +const _IIPA = "IamInstanceProfileAssociation"; +const _IIPAS = "IamInstanceProfileAssociationSet"; +const _IIPAa = "IamInstanceProfileAssociations"; +const _IIPI = "Ipv6IpamPoolId"; +const _IIPIp = "Ipv4IpamPoolId"; +const _IIPL = "InstanceIpv4PrefixList"; +const _IIPLn = "InstanceIpv6PrefixList"; +const _IIPS = "IamInstanceProfileSpecification"; +const _IIPn = "InstanceIpv4Prefix"; +const _IIPns = "InstanceIpv6Prefix"; +const _IIR = "ImportImageRequest"; +const _IIRm = "ImportImageResult"; +const _IIRmp = "ImportInstanceRequest"; +const _IIRmpo = "ImportInstanceResult"; +const _IIS = "InstanceIdSet"; +const _IISB = "InstanceInitiatedShutdownBehavior"; +const _IISL = "ImageIdStringList"; +const _IISLn = "InstanceIdStringList"; +const _IISn = "InstanceIdsSet"; +const _IIT = "ImportImageTasks"; +const _IITD = "ImportInstanceTaskDetails"; +const _IITL = "ImportImageTaskList"; +const _IITm = "ImportImageTask"; +const _IIUSL = "InstanceIdUpdateStringList"; +const _IIVDI = "ImportInstanceVolumeDetailItem"; +const _IIVDS = "ImportInstanceVolumeDetailSet"; +const _IIm = "ImageId"; +const _IIma = "ImageIds"; +const _IImp = "ImportInstance"; +const _IImpo = "ImportImage"; +const _IIn = "InterruptionInfo"; +const _IIns = "InstanceIds"; +const _IIp = "IpamId"; +const _IIpa = "IpamIds"; +const _IKEV = "InternetKeyExchangeVersion"; +const _IKEVL = "IKEVersionsList"; +const _IKEVLV = "IKEVersionsListValue"; +const _IKEVRL = "IKEVersionsRequestList"; +const _IKEVRLV = "IKEVersionsRequestListValue"; +const _IKEVe = "IKEVersions"; +const _IKEVer = "IKEVersion"; +const _IKP = "ImportKeyPair"; +const _IKPR = "ImportKeyPairRequest"; +const _IKPRm = "ImportKeyPairResult"; +const _IL = "ImageLocation"; +const _ILm = "ImageList"; +const _ILn = "InstanceLifecycle"; +const _ILns = "InstanceList"; +const _ILp = "IpList"; +const _IM = "IncludeMarketplace"; +const _IMC = "InstanceMatchCriteria"; +const _IMDR = "InstanceMetadataDefaultsResponse"; +const _IML = "InstanceMonitoringList"; +const _IMO = "InstanceMaintenanceOptions"; +const _IMOR = "InstanceMaintenanceOptionsRequest"; +const _IMORn = "InstanceMarketOptionsRequest"; +const _IMORns = "InstanceMetadataOptionsRequest"; +const _IMORnst = "InstanceMetadataOptionsResponse"; +const _IMOn = "InstanceMetadataOptions"; +const _IMOns = "InstanceMarketOptions"; +const _IMT = "InstanceMetadataTags"; +const _IMU = "ImportManifestUrl"; +const _IMm = "ImageMetadata"; +const _IMn = "InstanceMonitoring"; +const _IMns = "InstanceMonitorings"; +const _IN = "Ipv6Native"; +const _INI = "InstanceNetworkInterface"; +const _INIA = "InstanceNetworkInterfaceAssociation"; +const _INIAn = "InstanceNetworkInterfaceAttachment"; +const _INIL = "InstanceNetworkInterfaceList"; +const _INIS = "InstanceNetworkInterfaceSpecification"; +const _INISL = "InstanceNetworkInterfaceSpecificationList"; +const _INL = "Ipv6NetmaskLength"; +const _INLm = "ImageNameList"; +const _INLp = "Ipv4NetmaskLength"; +const _INPO = "InstanceNetworkPerformanceOptions"; +const _INPOR = "InstanceNetworkPerformanceOptionsRequest"; +const _INRL = "ImageNameRequestList"; +const _INm = "ImageNames"; +const _INma = "ImageName"; +const _IOA = "ImageOwnerAlias"; +const _IOI = "IpOwnerId"; +const _IOIn = "InstanceOwnerId"; +const _IOR = "IpamOperatingRegion"; +const _IORS = "IpamOperatingRegionSet"; +const _IOS = "InstanceOwningService"; +const _IOUE = "IpamOrganizationalUnitExclusion"; +const _IOUES = "IpamOrganizationalUnitExclusionSet"; +const _IP = "InstancePort"; +const _IPA = "IpamPoolAllocation"; +const _IPAAC = "IpamPoolAllocationAllowedCidrs"; +const _IPADC = "IpamPoolAllocationDisallowedCidrs"; +const _IPAI = "IpamPoolAllocationId"; +const _IPAR = "IpamPolicyAllocationRule"; +const _IPARL = "IpamPolicyAllocationRuleList"; +const _IPARLR = "IpamPolicyAllocationRuleListRequest"; +const _IPARR = "IpamPolicyAllocationRuleRequest"; +const _IPAS = "IpamPoolAllocationSet"; +const _IPASG = "IpamPublicAddressSecurityGroup"; +const _IPASGL = "IpamPublicAddressSecurityGroupList"; +const _IPAT = "IpamPublicAddressTag"; +const _IPATL = "IpamPublicAddressTagList"; +const _IPATp = "IpamPublicAddressTags"; +const _IPAp = "IpamPoolAllocations"; +const _IPApa = "IpamPolicyArn"; +const _IPApam = "IpamPoolArn"; +const _IPC = "Ipv6PrefixCount"; +const _IPCFR = "IpamPoolCidrFailureReason"; +const _IPCI = "IpamPoolCidrId"; +const _IPCS = "IpamPoolCidrSet"; +const _IPCp = "Ipv4PrefixCount"; +const _IPCpa = "IpamPoolCidr"; +const _IPCpam = "IpamPoolCidrs"; +const _IPD = "IpamPolicyDocuments"; +const _IPDS = "IpamPolicyDocumentSet"; +const _IPDp = "IpamPolicyDocument"; +const _IPE = "IpamPolicyEnabled"; +const _IPEp = "IpPermissionsEgress"; +const _IPI = "IpamPoolId"; +const _IPIA = "InstancePrivateIpAddress"; +const _IPIAL = "InstancePrivateIpAddressList"; +const _IPIL = "Ipv6PoolIdList"; +const _IPIp = "IpamPolicyId"; +const _IPIpa = "IpamPolicyIds"; +const _IPIpam = "IpamPoolIds"; +const _IPIs = "IsPrimaryIpv6"; +const _IPK = "IncludePublicKey"; +const _IPL = "ImageProviderList"; +const _IPLR = "IpamPrefixListResolver"; +const _IPLRA = "IpamPrefixListResolverArn"; +const _IPLRI = "IpamPrefixListResolverId"; +const _IPLRIp = "IpamPrefixListResolverIds"; +const _IPLRR = "IpamPrefixListResolverRule"; +const _IPLRRC = "IpamPrefixListResolverRuleCondition"; +const _IPLRRCR = "IpamPrefixListResolverRuleConditionRequest"; +const _IPLRRCRS = "IpamPrefixListResolverRuleConditionRequestSet"; +const _IPLRRCS = "IpamPrefixListResolverRuleConditionSet"; +const _IPLRRR = "IpamPrefixListResolverRuleRequest"; +const _IPLRRRS = "IpamPrefixListResolverRuleRequestSet"; +const _IPLRRS = "IpamPrefixListResolverRuleSet"; +const _IPLRS = "IpamPrefixListResolverSet"; +const _IPLRSE = "IpamPrefixListResolverSyncEnabled"; +const _IPLRT = "IpamPrefixListResolverTarget"; +const _IPLRTA = "IpamPrefixListResolverTargetArn"; +const _IPLRTI = "IpamPrefixListResolverTargetId"; +const _IPLRTIp = "IpamPrefixListResolverTargetIds"; +const _IPLRTS = "IpamPrefixListResolverTargetSet"; +const _IPLRTp = "IpamPrefixListResolverTargets"; +const _IPLRV = "IpamPrefixListResolverVersion"; +const _IPLRVE = "IpamPrefixListResolverVersionEntry"; +const _IPLRVES = "IpamPrefixListResolverVersionEntrySet"; +const _IPLRVNS = "IpamPrefixListResolverVersionNumberSet"; +const _IPLRVS = "IpamPrefixListResolverVersionSet"; +const _IPLRVp = "IpamPrefixListResolverVersions"; +const _IPLRp = "IpamPrefixListResolvers"; +const _IPLRpv = "Ipv4PrefixListResponse"; +const _IPLRpvr = "Ipv6PrefixListResponse"; +const _IPLp = "IpPermissionList"; +const _IPLpr = "IpPrefixList"; +const _IPLpv = "Ipv4PrefixesList"; +const _IPLpvr = "Ipv4PrefixList"; +const _IPLpvre = "Ipv6PrefixesList"; +const _IPLpvref = "Ipv6PrefixList"; +const _IPO = "IpamPoolOwner"; +const _IPOT = "IpamPolicyOrganizationTarget"; +const _IPOTS = "IpamPolicyOrganizationTargetSet"; +const _IPR = "IpamPolicyRegion"; +const _IPRL = "ImageProviderRequestList"; +const _IPRs = "IsPermanentRestore"; +const _IPS = "Ipv4PrefixSpecification"; +const _IPSR = "IpamPoolSourceResource"; +const _IPSRR = "IpamPoolSourceResourceRequest"; +const _IPSRp = "Ipv4PrefixSpecificationRequest"; +const _IPSRpv = "Ipv4PrefixSpecificationResponse"; +const _IPSRpvr = "Ipv6PrefixSpecificationRequest"; +const _IPSRpvre = "Ipv6PrefixSpecificationResponse"; +const _IPSp = "Ipv6PrefixSpecification"; +const _IPSpa = "IpamPolicySet"; +const _IPSpam = "IpamPoolSet"; +const _IPSpv = "Ipv6PoolSet"; +const _IPTUC = "InstancePoolsToUseCount"; +const _IPm = "ImageProviders"; +const _IPma = "ImageProvider"; +const _IPn = "InstancePlatform"; +const _IPng = "IngressPackets"; +const _IPnt = "InterfacePermission"; +const _IPnte = "InterfaceProtocol"; +const _IPo = "IoPerformance"; +const _IPp = "Ipv6Prefixes"; +const _IPpa = "IpamPolicy"; +const _IPpam = "IpamPool"; +const _IPpamo = "IpamPolicies"; +const _IPpamoo = "IpamPools"; +const _IPpe = "IpPermissions"; +const _IPper = "IpPermission"; +const _IPpr = "IpProtocol"; +const _IPpre = "IpPrefixes"; +const _IPpv = "Ipv6Prefix"; +const _IPpvo = "Ipv6Pool"; +const _IPpvoo = "Ipv6Pools"; +const _IPpvr = "Ipv4Prefixes"; +const _IPpvre = "Ipv4Prefix"; +const _IPs = "IsPublic"; +const _IPsr = "IsPrimary"; +const _IR = "ImageReferences"; +const _IRBI = "ImageRecycleBinInfo"; +const _IRBIL = "ImageRecycleBinInfoList"; +const _IRC = "IpamResourceCidrs"; +const _IRCS = "IpamResourceCidrSet"; +const _IRCp = "IpamResourceCidr"; +const _IRD = "IpamResourceDiscovery"; +const _IRDA = "IpamResourceDiscoveryAssociation"; +const _IRDAA = "IpamResourceDiscoveryAssociationArn"; +const _IRDAI = "IpamResourceDiscoveryAssociationIds"; +const _IRDAIp = "IpamResourceDiscoveryAssociationId"; +const _IRDAS = "IpamResourceDiscoveryAssociationSet"; +const _IRDAp = "IpamResourceDiscoveryAssociations"; +const _IRDApa = "IpamResourceDiscoveryArn"; +const _IRDI = "IpamResourceDiscoveryId"; +const _IRDIp = "IpamResourceDiscoveryIds"; +const _IRDR = "IpamResourceDiscoveryRegion"; +const _IRDS = "IpamResourceDiscoverySet"; +const _IRDp = "IpamResourceDiscoveries"; +const _IRL = "ImageReferenceList"; +const _IRLp = "IpRangeList"; +const _IRLpv = "Ipv6RangeList"; +const _IRR = "InstanceRequirementsRequest"; +const _IRSDA = "IntegrationResultS3DestinationArn"; +const _IRT = "IngressRouteTable"; +const _IRTL = "IpamResourceTagList"; +const _IRTp = "IpamResourceTag"; +const _IRWM = "InstanceRequirementsWithMetadata"; +const _IRWMR = "InstanceRequirementsWithMetadataRequest"; +const _IRm = "ImageReference"; +const _IRn = "InstanceRequirements"; +const _IRp = "IpamRegion"; +const _IRpa = "IpRanges"; +const _IRpan = "IpRange"; +const _IRpv = "Ipv6Ranges"; +const _IRpva = "Ipv6Range"; +const _IS = "InterconnectStatus"; +const _ISA = "IpamScopeArn"; +const _ISC = "InstanceStateChange"; +const _ISCL = "InstanceStateChangeList"; +const _ISD = "InitializationStatusDetails"; +const _ISDL = "InstanceStatusDetailsList"; +const _ISDn = "InstanceStatusDetails"; +const _ISE = "InstanceStatusEvent"; +const _ISEAC = "IpamScopeExternalAuthorityConfiguration"; +const _ISEL = "InstanceStatusEventList"; +const _ISI = "IpamScopeId"; +const _ISIA = "InstanceSecondaryInterfaceAttachment"; +const _ISIL = "InstanceSecondaryInterfaceList"; +const _ISIPIA = "InstanceSecondaryInterfacePrivateIpAddress"; +const _ISIPIAL = "InstanceSecondaryInterfacePrivateIpAddressList"; +const _ISIPIALR = "InstanceSecondaryInterfacePrivateIpAddressListRequest"; +const _ISIPIAR = "InstanceSecondaryInterfacePrivateIpAddressRequest"; +const _ISIS = "InstanceSecondaryInterfaceSpecification"; +const _ISISLR = "InstanceSecondaryInterfaceSpecificationListRequest"; +const _ISISR = "InstanceSecondaryInterfaceSpecificationRequest"; +const _ISIn = "InstanceSecondaryInterface"; +const _ISIns = "InstanceStorageInfo"; +const _ISIp = "IpamScopeIds"; +const _ISL = "InputStorageLocation"; +const _ISLn = "InstanceStatusList"; +const _ISM = "IngestionStatusMessage"; +const _ISR = "ImportSnapshotRequest"; +const _ISRm = "ImportSnapshotResult"; +const _ISS = "InstanceStatusSummary"; +const _ISSn = "InstanceStorageSupported"; +const _ISSp = "IpamScopeSet"; +const _IST = "ImportSnapshotTasks"; +const _ISTIL = "ImportSnapshotTaskIdList"; +const _ISTL = "ImportSnapshotTaskList"; +const _ISTm = "ImportSnapshotTask"; +const _ISTp = "IpamScopeType"; +const _ISg = "Igmpv2Support"; +const _ISm = "ImpairedSince"; +const _ISmd = "ImdsSupport"; +const _ISmp = "ImportSnapshot"; +const _ISn = "InstanceSpecification"; +const _ISng = "IngestionStatus"; +const _ISns = "InstanceStatuses"; +const _ISnst = "InstanceState"; +const _ISnsta = "InstanceStatus"; +const _ISnstan = "InstanceSet"; +const _ISnt = "IntegrateServices"; +const _ISnte = "IntegrateService"; +const _ISp = "IpamScope"; +const _ISpa = "IpamScopes"; +const _ISpam = "IpamSet"; +const _ISpo = "IpSource"; +const _ISpv = "Ipv6Support"; +const _ISpvu = "Ipv6Supported"; +const _IT = "InstanceType"; +const _ITA = "InstanceTagAttribute"; +const _ITC = "IcmpTypeCode"; +const _ITCn = "IncludeTrustContext"; +const _ITI = "ImportTaskId"; +const _ITIFIR = "InstanceTypeInfoFromInstanceRequirements"; +const _ITIFIRS = "InstanceTypeInfoFromInstanceRequirementsSet"; +const _ITIL = "ImportTaskIdList"; +const _ITILn = "InstanceTypeInfoList"; +const _ITIm = "ImportTaskIds"; +const _ITIn = "InstanceTypeInfo"; +const _ITK = "InstanceTagKeys"; +const _ITKS = "InstanceTagKeySet"; +const _ITKn = "InstanceTagKey"; +const _ITL = "InstanceTypesList"; +const _ITNA = "InstanceTagNotificationAttribute"; +const _ITO = "InstanceTypeOfferings"; +const _ITOL = "InstanceTypeOfferingsList"; +const _ITOn = "InstanceTypeOffering"; +const _ITS = "InstanceTypeSpecifications"; +const _ITSn = "InstanceTypeSpecification"; +const _ITm = "ImageType"; +const _ITn = "InterruptionType"; +const _ITni = "InitializationType"; +const _ITns = "InstanceTenancy"; +const _ITnst = "InstanceTypes"; +const _ITnsta = "InstanceTags"; +const _ITnstan = "InstanceTag"; +const _ITnstanc = "InstanceTopology"; +const _ITnt = "InterfaceType"; +const _IU = "InstanceUsages"; +const _IUR = "ImageUsageReports"; +const _IURE = "ImageUsageReportEntries"; +const _IUREL = "ImageUsageReportEntryList"; +const _IUREm = "ImageUsageReportEntry"; +const _IURL = "ImageUsageReportList"; +const _IURT = "ImageUsageResourceType"; +const _IURTL = "ImageUsageResourceTypeList"; +const _IURTO = "ImageUsageResourceTypeOption"; +const _IURTOL = "ImageUsageResourceTypeOptionList"; +const _IURTOR = "ImageUsageResourceTypeOptionRequest"; +const _IURTORL = "ImageUsageResourceTypeOptionRequestList"; +const _IURTOVL = "ImageUsageResourceTypeOptionValuesList"; +const _IURTR = "ImageUsageResourceTypeRequest"; +const _IURTRL = "ImageUsageResourceTypeRequestList"; +const _IURUISL = "ImageUsageReportUserIdStringList"; +const _IURm = "ImageUsageReport"; +const _IUS = "InstanceUsageSet"; +const _IUn = "InstanceUsage"; +const _IUp = "IpUsage"; +const _IV = "IkeVersion"; +const _IVE = "IsValidExchange"; +const _IVR = "ImportVolumeRequest"; +const _IVRm = "ImportVolumeResult"; +const _IVTD = "ImportVolumeTaskDetails"; +const _IVk = "IkeVersions"; +const _IVm = "ImportVolume"; +const _Ic = "Icmp"; +const _Im = "Images"; +const _Ima = "Image"; +const _In = "Instance"; +const _Ins = "Instances"; +const _Int = "Interruptible"; +const _Inte = "Interval"; +const _Io = "Iops"; +const _Ip = "Ipam"; +const _Ipa = "Ipams"; +const _Ipv = "Ipv4"; +const _Ipv_ = "Ipv6"; +const _Is = "Issuer"; +const _K = "Key"; +const _KDF = "KinesisDataFirehose"; +const _KF = "KeyFormat"; +const _KFe = "KeyFingerprint"; +const _KI = "KernelId"; +const _KKA = "KmsKeyArn"; +const _KKI = "KmsKeyId"; +const _KM = "KeyMaterial"; +const _KN = "KeyName"; +const _KNSL = "KeyNameStringList"; +const _KNe = "KeyNames"; +const _KP = "KeyPairs"; +const _KPI = "KeyPairId"; +const _KPISL = "KeyPairIdStringList"; +const _KPIe = "KeyPairIds"; +const _KPIey = "KeyPairInfo"; +const _KPL = "KeyPairList"; +const _KPe = "KeyPair"; +const _KS = "KextSigning"; +const _KT = "KeyType"; +const _KV = "KeyValue"; +const _Ke = "Kernel"; +const _Key = "Keyword"; +const _L = "Lifecycle"; +const _LA = "LocalAddress"; +const _LADT = "LastAttemptedDiscoveryTime"; +const _LAZ = "LaunchedAvailabilityZone"; +const _LAZI = "LaunchedAvailabilityZoneId"; +const _LAa = "LastAddress"; +const _LB = "LoadBalancers"; +const _LBA = "LocalBgpAsn"; +const _LBAE = "LocalBgpAsnExtended"; +const _LBAo = "LoadBalancerArn"; +const _LBC = "LoadBalancersConfig"; +const _LBLP = "LoadBalancerListenerPort"; +const _LBO = "LoadBalancerOptions"; +const _LBP = "LoadBalancerPort"; +const _LBT = "LoadBalancerTarget"; +const _LBTG = "LoadBalancerTargetGroup"; +const _LBTGo = "LoadBalancerTargetGroups"; +const _LBTP = "LoadBalancerTargetPort"; +const _LC = "LoggingConfigurations"; +const _LCA = "LicenseConfigurationArn"; +const _LCO = "LockCreatedOn"; +const _LCR = "LicenseConfigurationRequest"; +const _LCi = "LicenseConfiguration"; +const _LCo = "LoggingConfiguration"; +const _LD = "LogDestination"; +const _LDS = "LatestDeliveryStatus"; +const _LDSLU = "LatestDeliveryS3LocationUri"; +const _LDSM = "LatestDeliveryStatusMessage"; +const _LDST = "LockDurationStartTime"; +const _LDT = "LatestDeliveryTime"; +const _LDTa = "LatestDatapointTimestamp"; +const _LDTo = "LogDestinationType"; +const _LDo = "LockDuration"; +const _LE = "LogEnabled"; +const _LEO = "LockExpiresOn"; +const _LET = "LastEvaluatedTime"; +const _LEa = "LastError"; +const _LEam = "LambdaExclusion"; +const _LF = "LogFormat"; +const _LFA = "LambdaFunctionArn"; +const _LG = "LocalGateways"; +const _LGA = "LogGroupArn"; +const _LGC = "LogicalGpuCount"; +const _LGI = "LocalGatewayId"; +const _LGIS = "LocalGatewayIdSet"; +const _LGIi = "LinkedGroupId"; +const _LGIo = "LocalGatewayIds"; +const _LGN = "LogGroupName"; +const _LGR = "LocalGatewayRoute"; +const _LGRL = "LocalGatewayRouteList"; +const _LGRT = "LocalGatewayRouteTable"; +const _LGRTA = "LocalGatewayRouteTableArn"; +const _LGRTI = "LocalGatewayRouteTableId"; +const _LGRTIS = "LocalGatewayRouteTableIdSet"; +const _LGRTIo = "LocalGatewayRouteTableIds"; +const _LGRTS = "LocalGatewayRouteTableSet"; +const _LGRTVA = "LocalGatewayRouteTableVpcAssociation"; +const _LGRTVAI = "LocalGatewayRouteTableVpcAssociationId"; +const _LGRTVAIS = "LocalGatewayRouteTableVpcAssociationIdSet"; +const _LGRTVAIo = "LocalGatewayRouteTableVpcAssociationIds"; +const _LGRTVAS = "LocalGatewayRouteTableVpcAssociationSet"; +const _LGRTVAo = "LocalGatewayRouteTableVpcAssociations"; +const _LGRTVIGA = "LocalGatewayRouteTableVirtualInterfaceGroupAssociation"; +const _LGRTVIGAI = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationId"; +const _LGRTVIGAIS = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet"; +const _LGRTVIGAIo = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds"; +const _LGRTVIGAS = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet"; +const _LGRTVIGAo = "LocalGatewayRouteTableVirtualInterfaceGroupAssociations"; +const _LGRTo = "LocalGatewayRouteTables"; +const _LGS = "LocalGatewaySet"; +const _LGVI = "LocalGatewayVirtualInterface"; +const _LGVIA = "LocalGatewayVirtualInterfaceArn"; +const _LGVIG = "LocalGatewayVirtualInterfaceGroup"; +const _LGVIGA = "LocalGatewayVirtualInterfaceGroupArn"; +const _LGVIGI = "LocalGatewayVirtualInterfaceGroupId"; +const _LGVIGIS = "LocalGatewayVirtualInterfaceGroupIdSet"; +const _LGVIGIo = "LocalGatewayVirtualInterfaceGroupIds"; +const _LGVIGS = "LocalGatewayVirtualInterfaceGroupSet"; +const _LGVIGo = "LocalGatewayVirtualInterfaceGroups"; +const _LGVII = "LocalGatewayVirtualInterfaceId"; +const _LGVIIS = "LocalGatewayVirtualInterfaceIdSet"; +const _LGVIIo = "LocalGatewayVirtualInterfaceIds"; +const _LGVIS = "LocalGatewayVirtualInterfaceSet"; +const _LGVIo = "LocalGatewayVirtualInterfaces"; +const _LGa = "LaunchGroup"; +const _LGo = "LocalGateway"; +const _LGog = "LogGroup"; +const _LIIRB = "ListImagesInRecycleBin"; +const _LIIRBR = "ListImagesInRecycleBinRequest"; +const _LIIRBRi = "ListImagesInRecycleBinResult"; +const _LINC = "LocalIpv4NetworkCidr"; +const _LINCo = "LocalIpv6NetworkCidr"; +const _LL = "LicenseList"; +const _LLT = "LastLaunchedTime"; +const _LM = "LockMode"; +const _LMA = "LastMaintenanceApplied"; +const _LO = "LogOptions"; +const _LOF = "LogOutputFormat"; +const _LP = "LoadPermissions"; +const _LPL = "LaunchPermissionList"; +const _LPLR = "LoadPermissionListRequest"; +const _LPLo = "LoadPermissionList"; +const _LPM = "LaunchPermissionModifications"; +const _LPMo = "LoadPermissionModifications"; +const _LPR = "LoadPermissionRequest"; +const _LPa = "LaunchPermissions"; +const _LPau = "LaunchPermission"; +const _LPi = "LimitPrice"; +const _LPo = "LoadPermission"; +const _LS = "LicenseSpecifications"; +const _LSC = "LastStatusChange"; +const _LSDT = "LastSuccessfulDiscoveryTime"; +const _LSI = "LockedSnapshotsInfo"; +const _LSIL = "LockedSnapshotsInfoList"; +const _LSIRB = "ListSnapshotsInRecycleBin"; +const _LSIRBR = "ListSnapshotsInRecycleBinRequest"; +const _LSIRBRi = "ListSnapshotsInRecycleBinResult"; +const _LSL = "LogsStorageLocation"; +const _LSLR = "LicenseSpecificationListRequest"; +const _LSLa = "LaunchSpecsList"; +const _LSR = "LockSnapshotRequest"; +const _LSRo = "LockSnapshotResult"; +const _LST = "LocalStorageTypes"; +const _LSTS = "LocalStorageTypeSet"; +const _LSTo = "LocalStorageType"; +const _LSV = "LastSyncedVersion"; +const _LSa = "LaunchSpecification"; +const _LSau = "LaunchSpecifications"; +const _LSi = "LicenseSpecification"; +const _LSo = "LocalStorage"; +const _LSoc = "LockState"; +const _LSock = "LockSnapshot"; +const _LT = "LaunchTemplate"; +const _LTAO = "LaunchTemplateAndOverrides"; +const _LTAOR = "LaunchTemplateAndOverridesResponse"; +const _LTBDM = "LaunchTemplateBlockDeviceMapping"; +const _LTBDML = "LaunchTemplateBlockDeviceMappingList"; +const _LTBDMR = "LaunchTemplateBlockDeviceMappingRequest"; +const _LTBDMRL = "LaunchTemplateBlockDeviceMappingRequestList"; +const _LTC = "LaunchTemplateConfigs"; +const _LTCL = "LaunchTemplateConfigList"; +const _LTCO = "LaunchTemplateCpuOptions"; +const _LTCOR = "LaunchTemplateCpuOptionsRequest"; +const _LTCRSR = "LaunchTemplateCapacityReservationSpecificationRequest"; +const _LTCRSRa = "LaunchTemplateCapacityReservationSpecificationResponse"; +const _LTCa = "LaunchTemplateConfig"; +const _LTD = "LaunchTemplateData"; +const _LTEBD = "LaunchTemplateEbsBlockDevice"; +const _LTEBDR = "LaunchTemplateEbsBlockDeviceRequest"; +const _LTEIA = "LaunchTemplateElasticInferenceAccelerator"; +const _LTEIAL = "LaunchTemplateElasticInferenceAcceleratorList"; +const _LTEIAR = "LaunchTemplateElasticInferenceAcceleratorResponse"; +const _LTEIARL = "LaunchTemplateElasticInferenceAcceleratorResponseList"; +const _LTEO = "LaunchTemplateEnclaveOptions"; +const _LTEOR = "LaunchTemplateEnclaveOptionsRequest"; +const _LTESS = "LaunchTemplateEnaSrdSpecification"; +const _LTESUS = "LaunchTemplateEnaSrdUdpSpecification"; +const _LTHO = "LaunchTemplateHibernationOptions"; +const _LTHOR = "LaunchTemplateHibernationOptionsRequest"; +const _LTI = "LaunchTemplateId"; +const _LTIIPS = "LaunchTemplateIamInstanceProfileSpecification"; +const _LTIIPSR = "LaunchTemplateIamInstanceProfileSpecificationRequest"; +const _LTIMO = "LaunchTemplateInstanceMaintenanceOptions"; +const _LTIMOR = "LaunchTemplateInstanceMaintenanceOptionsRequest"; +const _LTIMORa = "LaunchTemplateInstanceMarketOptionsRequest"; +const _LTIMORau = "LaunchTemplateInstanceMetadataOptionsRequest"; +const _LTIMOa = "LaunchTemplateInstanceMarketOptions"; +const _LTIMOau = "LaunchTemplateInstanceMetadataOptions"; +const _LTINIS = "LaunchTemplateInstanceNetworkInterfaceSpecification"; +const _LTINISL = "LaunchTemplateInstanceNetworkInterfaceSpecificationList"; +const _LTINISR = "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest"; +const _LTINISRL = "LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList"; +const _LTISIS = "LaunchTemplateInstanceSecondaryInterfaceSpecification"; +const _LTISISL = "LaunchTemplateInstanceSecondaryInterfaceSpecificationList"; +const _LTISISR = "LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest"; +const _LTISISRL = "LaunchTemplateInstanceSecondaryInterfaceSpecificationRequestList"; +const _LTISL = "LaunchTemplateIdStringList"; +const _LTIa = "LaunchTemplateIds"; +const _LTLC = "LaunchTemplateLicenseConfiguration"; +const _LTLCR = "LaunchTemplateLicenseConfigurationRequest"; +const _LTLL = "LaunchTemplateLicenseList"; +const _LTLSLR = "LaunchTemplateLicenseSpecificationListRequest"; +const _LTM = "LaunchTemplatesMonitoring"; +const _LTMR = "LaunchTemplatesMonitoringRequest"; +const _LTN = "LaunchTemplateName"; +const _LTNPO = "LaunchTemplateNetworkPerformanceOptions"; +const _LTNPOR = "LaunchTemplateNetworkPerformanceOptionsRequest"; +const _LTNSL = "LaunchTemplateNameStringList"; +const _LTNa = "LaunchTemplateNames"; +const _LTO = "LaunchTemplateOverrides"; +const _LTOL = "LaunchTemplateOverridesList"; +const _LTOS = "LastTieringOperationStatus"; +const _LTOSD = "LastTieringOperationStatusDetail"; +const _LTP = "LaunchTemplatePlacement"; +const _LTPDNO = "LaunchTemplatePrivateDnsNameOptions"; +const _LTPDNOR = "LaunchTemplatePrivateDnsNameOptionsRequest"; +const _LTPR = "LaunchTemplatePlacementRequest"; +const _LTPa = "LastTieringProgress"; +const _LTS = "LaunchTemplateSpecification"; +const _LTSMO = "LaunchTemplateSpotMarketOptions"; +const _LTSMOR = "LaunchTemplateSpotMarketOptionsRequest"; +const _LTST = "LastTieringStartTime"; +const _LTSa = "LaunchTemplateSet"; +const _LTTS = "LaunchTemplateTagSpecification"; +const _LTTSL = "LaunchTemplateTagSpecificationList"; +const _LTTSR = "LaunchTemplateTagSpecificationRequest"; +const _LTTSRL = "LaunchTemplateTagSpecificationRequestList"; +const _LTV = "LaunchTemplateVersion"; +const _LTVS = "LaunchTemplateVersionSet"; +const _LTVa = "LaunchTemplateVersions"; +const _LTa = "LaunchTemplates"; +const _LTat = "LatestTime"; +const _LTau = "LaunchTime"; +const _LTi = "LicenseType"; +const _LTo = "LocationType"; +const _LToc = "LocalTarget"; +const _LUT = "LastUpdateTime"; +const _LUTa = "LastUpdatedTime"; +const _LUTas = "LastUpdateTimestamp"; +const _LV = "LogVersion"; +const _LVCS = "LastVersionCreationStatus"; +const _LVCSM = "LastVersionCreationStatusMessage"; +const _LVIRB = "ListVolumesInRecycleBin"; +const _LVIRBR = "ListVolumesInRecycleBinRequest"; +const _LVIRBRi = "ListVolumesInRecycleBinResult"; +const _LVN = "LatestVersionNumber"; +const _La = "Latest"; +const _Lam = "Lambda"; +const _Li = "Licenses"; +const _Lo = "Locale"; +const _Loc = "Location"; +const _M = "Min"; +const _MA = "MutualAuthentication"; +const _MAA = "ModifyAddressAttribute"; +const _MAAA = "MaintenanceAutoAppliedAfter"; +const _MAAR = "ModifyAddressAttributeRequest"; +const _MAARo = "ModifyAddressAttributeResult"; +const _MAE = "MultiAttachEnabled"; +const _MAI = "MaxAggregationInterval"; +const _MAIe = "MediaAcceleratorInfo"; +const _MAIi = "MiddleboxAttachmentIds"; +const _MAIid = "MiddleboxAttachmentId"; +const _MAS = "MovingAddressStatuses"; +const _MASS = "MovingAddressStatusSet"; +const _MASo = "MovingAddressStatus"; +const _MATV = "MoveAddressToVpc"; +const _MATVR = "MoveAddressToVpcRequest"; +const _MATVRo = "MoveAddressToVpcResult"; +const _MAZG = "ModifyAvailabilityZoneGroup"; +const _MAZGR = "ModifyAvailabilityZoneGroupRequest"; +const _MAZGRo = "ModifyAvailabilityZoneGroupResult"; +const _MAa = "MacAddress"; +const _MAe = "MeteredAccount"; +const _MB = "ManagedBy"; +const _MBCTI = "MoveByoipCidrToIpam"; +const _MBCTIR = "MoveByoipCidrToIpamRequest"; +const _MBCTIRo = "MoveByoipCidrToIpamResult"; +const _MBIM = "MaximumBandwidthInMbps"; +const _MC = "MacCredentials"; +const _MCOIOL = "MapCustomerOwnedIpOnLaunch"; +const _MCR = "ModifyCapacityReservation"; +const _MCRF = "ModifyCapacityReservationFleet"; +const _MCRFR = "ModifyCapacityReservationFleetRequest"; +const _MCRFRo = "ModifyCapacityReservationFleetResult"; +const _MCRI = "MoveCapacityReservationInstances"; +const _MCRIR = "MoveCapacityReservationInstancesRequest"; +const _MCRIRo = "MoveCapacityReservationInstancesResult"; +const _MCRR = "ModifyCapacityReservationRequest"; +const _MCRRo = "ModifyCapacityReservationResult"; +const _MCVE = "ModifyClientVpnEndpoint"; +const _MCVER = "ModifyClientVpnEndpointRequest"; +const _MCVERo = "ModifyClientVpnEndpointResult"; +const _MCa = "MaxCount"; +const _MCi = "MissingComponent"; +const _MCin = "MinCount"; +const _MD = "MaxDuration"; +const _MDA = "MulticastDomainAssociations"; +const _MDCS = "ModifyDefaultCreditSpecification"; +const _MDCSR = "ModifyDefaultCreditSpecificationRequest"; +const _MDCSRo = "ModifyDefaultCreditSpecificationResult"; +const _MDDS = "MaxDrainDurationSeconds"; +const _MDI = "MediaDeviceInfo"; +const _MDIL = "MediaDeviceInfoList"; +const _MDK = "MetaDataKey"; +const _MDMI = "MediaDeviceMemoryInfo"; +const _MDR = "MetricDataResults"; +const _MDRS = "MetricDataResultSet"; +const _MDRSe = "MetricDimensionResultSet"; +const _MDRe = "MetricDimensionResults"; +const _MDRet = "MetricDataResult"; +const _MDSC = "MaximumDaysSinceCreated"; +const _MDSD = "MaximumDaysSinceDeprecated"; +const _MDV = "MetaDataValue"; +const _MDa = "MaintenanceDetails"; +const _MDe = "MetaData"; +const _MDi = "MinDuration"; +const _ME = "MaxEntries"; +const _MEA = "MaximumEbsAttachments"; +const _MEC = "MaximumEbsCards"; +const _MEDKKI = "ModifyEbsDefaultKmsKeyId"; +const _MEDKKIR = "ModifyEbsDefaultKmsKeyIdRequest"; +const _MEDKKIRo = "ModifyEbsDefaultKmsKeyIdResult"; +const _MEI = "MaximumEfaInterfaces"; +const _MEM = "ManagedExceptionMessage"; +const _MEQC = "MaximumEnaQueueCount"; +const _MEQCPI = "MaximumEnaQueueCountPerInterface"; +const _MF = "ModifyFleet"; +const _MFIA = "ModifyFpgaImageAttribute"; +const _MFIAR = "ModifyFpgaImageAttributeRequest"; +const _MFIARo = "ModifyFpgaImageAttributeResult"; +const _MFR = "ModifyFleetRequest"; +const _MFRo = "ModifyFleetResult"; +const _MFV = "MostFrequentValue"; +const _MG = "MulticastGroups"; +const _MGBPVC = "MemoryGiBPerVCpu"; +const _MGBPVCR = "MemoryGiBPerVCpuRequest"; +const _MH = "MacHosts"; +const _MHL = "MacHostList"; +const _MHR = "ModifyHostsRequest"; +const _MHRo = "ModifyHostsResult"; +const _MHa = "MacHost"; +const _MHo = "ModifyHosts"; +const _MI = "MaximumIops"; +const _MIA = "ModifyImageAttribute"; +const _MIAR = "ModifyImageAttributeRequest"; +const _MIARo = "ModifyInstanceAttributeRequest"; +const _MIAo = "ModifyInstanceAttribute"; +const _MIC = "MaxInstanceCount"; +const _MICE = "ModifyInstanceConnectEndpoint"; +const _MICER = "ModifyInstanceConnectEndpointRequest"; +const _MICERo = "ModifyInstanceConnectEndpointResult"; +const _MICO = "ModifyInstanceCpuOptions"; +const _MICOR = "ModifyInstanceCpuOptionsRequest"; +const _MICORo = "ModifyInstanceCpuOptionsResult"; +const _MICRA = "ModifyInstanceCapacityReservationAttributes"; +const _MICRAR = "ModifyInstanceCapacityReservationAttributesRequest"; +const _MICRARo = "ModifyInstanceCapacityReservationAttributesResult"; +const _MICS = "ModifyInstanceCreditSpecification"; +const _MICSR = "ModifyInstanceCreditSpecificationRequest"; +const _MICSRo = "ModifyInstanceCreditSpecificationResult"; +const _MIEST = "ModifyInstanceEventStartTime"; +const _MIESTR = "ModifyInstanceEventStartTimeRequest"; +const _MIESTRo = "ModifyInstanceEventStartTimeResult"; +const _MIEW = "ModifyInstanceEventWindow"; +const _MIEWR = "ModifyInstanceEventWindowRequest"; +const _MIEWRo = "ModifyInstanceEventWindowResult"; +const _MIF = "ModifyIdFormat"; +const _MIFR = "ModifyIdFormatRequest"; +const _MIIF = "ModifyIdentityIdFormat"; +const _MIIFR = "ModifyIdentityIdFormatRequest"; +const _MIMD = "ModifyInstanceMetadataDefaults"; +const _MIMDR = "ModifyInstanceMetadataDefaultsRequest"; +const _MIMDRo = "ModifyInstanceMetadataDefaultsResult"; +const _MIMO = "ModifyInstanceMaintenanceOptions"; +const _MIMOR = "ModifyInstanceMaintenanceOptionsRequest"; +const _MIMORo = "ModifyInstanceMaintenanceOptionsResult"; +const _MIMORod = "ModifyInstanceMetadataOptionsRequest"; +const _MIMORodi = "ModifyInstanceMetadataOptionsResult"; +const _MIMOo = "ModifyInstanceMetadataOptions"; +const _MINPO = "ModifyInstanceNetworkPerformanceOptions"; +const _MINPR = "ModifyInstanceNetworkPerformanceRequest"; +const _MINPRo = "ModifyInstanceNetworkPerformanceResult"; +const _MIP = "ModifyInstancePlacement"; +const _MIPAR = "ModifyIpamPolicyAllocationRules"; +const _MIPARR = "ModifyIpamPolicyAllocationRulesRequest"; +const _MIPARRo = "ModifyIpamPolicyAllocationRulesResult"; +const _MIPLR = "ModifyIpamPrefixListResolver"; +const _MIPLRR = "ModifyIpamPrefixListResolverRequest"; +const _MIPLRRo = "ModifyIpamPrefixListResolverResult"; +const _MIPLRT = "ModifyIpamPrefixListResolverTarget"; +const _MIPLRTR = "ModifyIpamPrefixListResolverTargetRequest"; +const _MIPLRTRo = "ModifyIpamPrefixListResolverTargetResult"; +const _MIPR = "ModifyInstancePlacementRequest"; +const _MIPRo = "ModifyInstancePlacementResult"; +const _MIPRod = "ModifyIpamPoolRequest"; +const _MIPRodi = "ModifyIpamPoolResult"; +const _MIPo = "ModifyIpamPool"; +const _MIR = "ModifyIpamRequest"; +const _MIRC = "ModifyIpamResourceCidr"; +const _MIRCR = "ModifyIpamResourceCidrRequest"; +const _MIRCRo = "ModifyIpamResourceCidrResult"; +const _MIRD = "ModifyIpamResourceDiscovery"; +const _MIRDR = "ModifyIpamResourceDiscoveryRequest"; +const _MIRDRo = "ModifyIpamResourceDiscoveryResult"; +const _MIRo = "ModifyIpamResult"; +const _MIRon = "MonitorInstancesRequest"; +const _MIRoni = "MonitorInstancesResult"; +const _MIS = "ModifyIpamScope"; +const _MISR = "ModifyIpamScopeRequest"; +const _MISRo = "ModifyIpamScopeResult"; +const _MIe = "MemoryInfo"; +const _MIo = "ModifyIpam"; +const _MIon = "MonitorInstances"; +const _MLGR = "ModifyLocalGatewayRoute"; +const _MLGRR = "ModifyLocalGatewayRouteRequest"; +const _MLGRRo = "ModifyLocalGatewayRouteResult"; +const _MLT = "ModifyLaunchTemplate"; +const _MLTR = "ModifyLaunchTemplateRequest"; +const _MLTRo = "ModifyLaunchTemplateResult"; +const _MMB = "MemoryMiB"; +const _MMBR = "MemoryMiBRequest"; +const _MMPL = "ModifyManagedPrefixList"; +const _MMPLR = "ModifyManagedPrefixListRequest"; +const _MMPLRo = "ModifyManagedPrefixListResult"; +const _MMT = "MacModificationTask"; +const _MMTI = "MacModificationTaskIds"; +const _MMTIL = "MacModificationTaskIdList"; +const _MMTIa = "MacModificationTaskId"; +const _MMTL = "MacModificationTaskList"; +const _MMTa = "MacModificationTasks"; +const _MN = "MetricNames"; +const _MNC = "MaximumNetworkCards"; +const _MNI = "MaximumNetworkInterfaces"; +const _MNIA = "ModifyNetworkInterfaceAttribute"; +const _MNIAR = "ModifyNetworkInterfaceAttributeRequest"; +const _MNe = "MetricName"; +const _MO = "MetadataOptions"; +const _MOSLRG = "MemberOfServiceLinkedResourceGroup"; +const _MOSLSV = "MacOSLatestSupportedVersions"; +const _MOSVSL = "MacOSVersionStringList"; +const _MOa = "MaintenanceOptions"; +const _MP = "MatchPaths"; +const _MPC = "MarketplaceProductCodes"; +const _MPCL = "MarketplaceProductCodeList"; +const _MPCRL = "MarketplaceProductCodeRequestList"; +const _MPCa = "MarketplaceProductCode"; +const _MPDNO = "ModifyPrivateDnsNameOptions"; +const _MPDNOR = "ModifyPrivateDnsNameOptionsRequest"; +const _MPDNORo = "ModifyPrivateDnsNameOptionsResult"; +const _MPIDNO = "ModifyPublicIpDnsNameOptions"; +const _MPIDNOR = "ModifyPublicIpDnsNameOptionsRequest"; +const _MPIDNORo = "ModifyPublicIpDnsNameOptionsResult"; +const _MPIOL = "MapPublicIpOnLaunch"; +const _MPL = "MaxParallelLaunches"; +const _MPLS = "ManagedPrefixListSet"; +const _MPLa = "ManagedPrefixList"; +const _MPR = "MeteringPolicyRule"; +const _MPa = "MatchPath"; +const _MPax = "MaxPrice"; +const _MPe = "MetricPoints"; +const _MPet = "MetricPoint"; +const _MR = "MaxResults"; +const _MRI = "ModifyReservedInstances"; +const _MRIR = "ModifyReservedInstancesRequest"; +const _MRIRo = "ModifyReservedInstancesResult"; +const _MRS = "ModifyRouteServer"; +const _MRSR = "ModifyRouteServerRequest"; +const _MRSRo = "ModifyRouteServerResult"; +const _MRo = "ModificationResults"; +const _MRu = "MultiRegion"; +const _MS = "ManagementState"; +const _MSA = "ModifySnapshotAttribute"; +const _MSAR = "ModifySnapshotAttributeRequest"; +const _MSARo = "ModifySubnetAttributeRequest"; +const _MSAo = "ModifySubnetAttribute"; +const _MSDIH = "MaxSlotDurationInHours"; +const _MSDIHi = "MinSlotDurationInHours"; +const _MSFR = "ModifySpotFleetRequest"; +const _MSFRR = "ModifySpotFleetRequestRequest"; +const _MSFRRo = "ModifySpotFleetRequestResponse"; +const _MSGR = "ModifySecurityGroupRules"; +const _MSGRR = "ModifySecurityGroupRulesRequest"; +const _MSGRRo = "ModifySecurityGroupRulesResult"; +const _MSIPC = "MacSystemIntegrityProtectionConfiguration"; +const _MSIPCR = "MacSystemIntegrityProtectionConfigurationRequest"; +const _MSIPCa = "MacSystemIntegrityProtectionConfig"; +const _MSIPS = "MacSystemIntegrityProtectionStatus"; +const _MSNI = "MaximumSecondaryNetworkInterfaces"; +const _MSPAPOOODP = "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice"; +const _MST = "ModifySnapshotTier"; +const _MSTR = "ModifySnapshotTierRequest"; +const _MSTRo = "ModifySnapshotTierResult"; +const _MSa = "MaintenanceStrategies"; +const _MSe = "MetricSet"; +const _MSo = "MoveStatus"; +const _MSod = "ModificationState"; +const _MSu = "MulticastSupport"; +const _MT = "MarketType"; +const _MTC = "MinTargetCapacity"; +const _MTDID = "MaxTermDurationInDays"; +const _MTDIDi = "MinTermDurationInDays"; +const _MTG = "ModifyTransitGateway"; +const _MTGMP = "ModifyTransitGatewayMeteringPolicy"; +const _MTGMPR = "ModifyTransitGatewayMeteringPolicyRequest"; +const _MTGMPRo = "ModifyTransitGatewayMeteringPolicyResult"; +const _MTGO = "ModifyTransitGatewayOptions"; +const _MTGPLR = "ModifyTransitGatewayPrefixListReference"; +const _MTGPLRR = "ModifyTransitGatewayPrefixListReferenceRequest"; +const _MTGPLRRo = "ModifyTransitGatewayPrefixListReferenceResult"; +const _MTGR = "ModifyTransitGatewayRequest"; +const _MTGRo = "ModifyTransitGatewayResult"; +const _MTGVA = "ModifyTransitGatewayVpcAttachment"; +const _MTGVAR = "ModifyTransitGatewayVpcAttachmentRequest"; +const _MTGVARO = "ModifyTransitGatewayVpcAttachmentRequestOptions"; +const _MTGVARo = "ModifyTransitGatewayVpcAttachmentResult"; +const _MTIMB = "MaximumThroughputInMBps"; +const _MTMFNS = "ModifyTrafficMirrorFilterNetworkServices"; +const _MTMFNSR = "ModifyTrafficMirrorFilterNetworkServicesRequest"; +const _MTMFNSRo = "ModifyTrafficMirrorFilterNetworkServicesResult"; +const _MTMFR = "ModifyTrafficMirrorFilterRule"; +const _MTMFRR = "ModifyTrafficMirrorFilterRuleRequest"; +const _MTMFRRo = "ModifyTrafficMirrorFilterRuleResult"; +const _MTMS = "ModifyTrafficMirrorSession"; +const _MTMSR = "ModifyTrafficMirrorSessionRequest"; +const _MTMSRo = "ModifyTrafficMirrorSessionResult"; +const _MTP = "MaxTotalPrice"; +const _MTe = "MemberType"; +const _MV = "MinVersion"; +const _MVA = "ModifyVolumeAttribute"; +const _MVAE = "ModifyVerifiedAccessEndpoint"; +const _MVAECO = "ModifyVerifiedAccessEndpointCidrOptions"; +const _MVAEEO = "ModifyVerifiedAccessEndpointEniOptions"; +const _MVAELBO = "ModifyVerifiedAccessEndpointLoadBalancerOptions"; +const _MVAEP = "ModifyVerifiedAccessEndpointPolicy"; +const _MVAEPR = "ModifyVerifiedAccessEndpointPolicyRequest"; +const _MVAEPRL = "ModifyVerifiedAccessEndpointPortRangeList"; +const _MVAEPRo = "ModifyVerifiedAccessEndpointPolicyResult"; +const _MVAEPRod = "ModifyVerifiedAccessEndpointPortRange"; +const _MVAER = "ModifyVerifiedAccessEndpointRequest"; +const _MVAERO = "ModifyVerifiedAccessEndpointRdsOptions"; +const _MVAERo = "ModifyVerifiedAccessEndpointResult"; +const _MVAESIL = "ModifyVerifiedAccessEndpointSubnetIdList"; +const _MVAG = "ModifyVerifiedAccessGroup"; +const _MVAGP = "ModifyVerifiedAccessGroupPolicy"; +const _MVAGPR = "ModifyVerifiedAccessGroupPolicyRequest"; +const _MVAGPRo = "ModifyVerifiedAccessGroupPolicyResult"; +const _MVAGR = "ModifyVerifiedAccessGroupRequest"; +const _MVAGRo = "ModifyVerifiedAccessGroupResult"; +const _MVAI = "ModifyVerifiedAccessInstance"; +const _MVAILC = "ModifyVerifiedAccessInstanceLoggingConfiguration"; +const _MVAILCR = "ModifyVerifiedAccessInstanceLoggingConfigurationRequest"; +const _MVAILCRo = "ModifyVerifiedAccessInstanceLoggingConfigurationResult"; +const _MVAIR = "ModifyVerifiedAccessInstanceRequest"; +const _MVAIRo = "ModifyVerifiedAccessInstanceResult"; +const _MVANAOO = "ModifyVerifiedAccessNativeApplicationOidcOptions"; +const _MVAR = "ModifyVolumeAttributeRequest"; +const _MVARo = "ModifyVpcAttributeRequest"; +const _MVATP = "ModifyVerifiedAccessTrustProvider"; +const _MVATPDO = "ModifyVerifiedAccessTrustProviderDeviceOptions"; +const _MVATPOO = "ModifyVerifiedAccessTrustProviderOidcOptions"; +const _MVATPR = "ModifyVerifiedAccessTrustProviderRequest"; +const _MVATPRo = "ModifyVerifiedAccessTrustProviderResult"; +const _MVAo = "ModifyVpcAttribute"; +const _MVBPAE = "ModifyVpcBlockPublicAccessExclusion"; +const _MVBPAER = "ModifyVpcBlockPublicAccessExclusionRequest"; +const _MVBPAERo = "ModifyVpcBlockPublicAccessExclusionResult"; +const _MVBPAO = "ModifyVpcBlockPublicAccessOptions"; +const _MVBPAOR = "ModifyVpcBlockPublicAccessOptionsRequest"; +const _MVBPAORo = "ModifyVpcBlockPublicAccessOptionsResult"; +const _MVC = "ModifyVpnConnection"; +const _MVCO = "ModifyVpnConnectionOptions"; +const _MVCOR = "ModifyVpnConnectionOptionsRequest"; +const _MVCORo = "ModifyVpnConnectionOptionsResult"; +const _MVCR = "ModifyVpnConnectionRequest"; +const _MVCRo = "ModifyVpnConnectionResult"; +const _MVE = "ManagesVpcEndpoints"; +const _MVEC = "ModifyVpcEncryptionControl"; +const _MVECN = "ModifyVpcEndpointConnectionNotification"; +const _MVECNR = "ModifyVpcEndpointConnectionNotificationRequest"; +const _MVECNRo = "ModifyVpcEndpointConnectionNotificationResult"; +const _MVECR = "ModifyVpcEncryptionControlRequest"; +const _MVECRo = "ModifyVpcEncryptionControlResult"; +const _MVER = "ModifyVpcEndpointRequest"; +const _MVERo = "ModifyVpcEndpointResult"; +const _MVESC = "ModifyVpcEndpointServiceConfiguration"; +const _MVESCR = "ModifyVpcEndpointServiceConfigurationRequest"; +const _MVESCRo = "ModifyVpcEndpointServiceConfigurationResult"; +const _MVESP = "ModifyVpcEndpointServicePermissions"; +const _MVESPR = "ModifyVpcEndpointServicePermissionsRequest"; +const _MVESPRR = "ModifyVpcEndpointServicePayerResponsibilityRequest"; +const _MVESPRRo = "ModifyVpcEndpointServicePayerResponsibilityResult"; +const _MVESPRo = "ModifyVpcEndpointServicePermissionsResult"; +const _MVESPRod = "ModifyVpcEndpointServicePayerResponsibility"; +const _MVEo = "ModifyVpcEndpoint"; +const _MVPCO = "ModifyVpcPeeringConnectionOptions"; +const _MVPCOR = "ModifyVpcPeeringConnectionOptionsRequest"; +const _MVPCORo = "ModifyVpcPeeringConnectionOptionsResult"; +const _MVR = "ModifyVolumeRequest"; +const _MVRo = "ModifyVolumeResult"; +const _MVS = "MetricValueSet"; +const _MVT = "ModifyVpcTenancy"; +const _MVTC = "ModifyVpnTunnelCertificate"; +const _MVTCR = "ModifyVpnTunnelCertificateRequest"; +const _MVTCRo = "ModifyVpnTunnelCertificateResult"; +const _MVTO = "ModifyVpnTunnelOptions"; +const _MVTOR = "ModifyVpnTunnelOptionsRequest"; +const _MVTORo = "ModifyVpnTunnelOptionsResult"; +const _MVTOS = "ModifyVpnTunnelOptionsSpecification"; +const _MVTR = "ModifyVpcTenancyRequest"; +const _MVTRo = "ModifyVpcTenancyResult"; +const _MVa = "MaxVersion"; +const _MVe = "MetricValues"; +const _MVet = "MetricValue"; +const _MVo = "ModifyVolume"; +const _Ma = "Max"; +const _Mai = "Main"; +const _Man = "Manufacturer"; +const _Mana = "Managed"; +const _Mar = "Marketplace"; +const _Me = "Message"; +const _Med = "Med"; +const _Mes = "Messages"; +const _Met = "Metric"; +const _Mo = "Mode"; +const _Mon = "Monitoring"; +const _Moni = "Monitored"; +const _N = "Name"; +const _NA = "NetworkAcl"; +const _NAA = "NetworkAclAssociation"; +const _NAAI = "NetworkAclAssociationId"; +const _NAAL = "NetworkAclAssociationList"; +const _NAE = "NetworkAclEntry"; +const _NAEL = "NetworkAclEntryList"; +const _NAI = "NetworkAclId"; +const _NAISL = "NetworkAclIdStringList"; +const _NAIe = "NetworkAclIds"; +const _NAIew = "NewAssociationId"; +const _NAL = "NetworkAclList"; +const _NAOO = "NativeApplicationOidcOptions"; +const _NAe = "NetworkAcls"; +const _NAo = "NotAfter"; +const _NB = "NotBefore"; +const _NBD = "NotBeforeDeadline"; +const _NBG = "NetworkBorderGroup"; +const _NBGR = "NetworkBandwidthGbpsRequest"; +const _NBGe = "NetworkBandwidthGbps"; +const _NC = "NetworkCards"; +const _NCI = "NetworkCardIndex"; +const _NCIL = "NetworkCardInfoList"; +const _NCIe = "NetworkCardInfo"; +const _NCR = "NonCompliantResources"; +const _ND = "NoDevice"; +const _NDC = "NewDhcpConfiguration"; +const _NDCI = "NeuronDeviceCoreInfo"; +const _NDCL = "NewDhcpConfigurationList"; +const _NDI = "NeuronDeviceInfo"; +const _NDIL = "NeuronDeviceInfoList"; +const _NDMI = "NeuronDeviceMemoryInfo"; +const _NDe = "NeuronDevices"; +const _NES = "NitroEnclavesSupport"; +const _NG = "NatGateway"; +const _NGA = "NatGatewayAddresses"; +const _NGAA = "NatGatewayAttachedAppliance"; +const _NGAAL = "NatGatewayAttachedApplianceList"; +const _NGAL = "NatGatewayAddressList"; +const _NGAa = "NatGatewayAddress"; +const _NGE = "NatGatewayExclusion"; +const _NGI = "NatGatewayId"; +const _NGISL = "NatGatewayIdStringList"; +const _NGIa = "NatGatewayIds"; +const _NGL = "NatGatewayList"; +const _NGa = "NatGateways"; +const _NHI = "NextHopIp"; +const _NI = "NetworkId"; +const _NIA = "NetworkInsightsAnalyses"; +const _NIAA = "NetworkInsightsAnalysisArn"; +const _NIAC = "NetworkInterfaceAttachmentChanges"; +const _NIAI = "NetworkInsightsAnalysisId"; +const _NIAIL = "NetworkInsightsAnalysisIdList"; +const _NIAIe = "NetworkInsightsAnalysisIds"; +const _NIAL = "NetworkInsightsAnalysisList"; +const _NIAS = "NetworkInsightsAccessScope"; +const _NIASA = "NetworkInsightsAccessScopeAnalyses"; +const _NIASAA = "NetworkInsightsAccessScopeAnalysisArn"; +const _NIASAI = "NetworkInsightsAccessScopeAnalysisId"; +const _NIASAIL = "NetworkInsightsAccessScopeAnalysisIdList"; +const _NIASAIe = "NetworkInsightsAccessScopeAnalysisIds"; +const _NIASAL = "NetworkInsightsAccessScopeAnalysisList"; +const _NIASAe = "NetworkInsightsAccessScopeArn"; +const _NIASAet = "NetworkInsightsAccessScopeAnalysis"; +const _NIASC = "NetworkInsightsAccessScopeContent"; +const _NIASI = "NetworkInsightsAccessScopeId"; +const _NIASIL = "NetworkInsightsAccessScopeIdList"; +const _NIASIe = "NetworkInsightsAccessScopeIds"; +const _NIASL = "NetworkInsightsAccessScopeList"; +const _NIASe = "NetworkInsightsAccessScopes"; +const _NIASet = "NetworkInterfaceAttachmentStatus"; +const _NIAe = "NetworkInsightsAnalysis"; +const _NIAet = "NetworkInterfaceAssociation"; +const _NIAetw = "NetworkInterfaceAttachment"; +const _NIC = "NetworkInterfaceCount"; +const _NICR = "NetworkInterfaceCountRequest"; +const _NID = "NetworkInterfaceDescription"; +const _NII = "NetworkInterfaceId"; +const _NIIA = "NetworkInterfaceIpv6Address"; +const _NIIAL = "NetworkInterfaceIpv6AddressesList"; +const _NIIL = "NetworkInterfaceIdList"; +const _NIIS = "NetworkInterfaceIdSet"; +const _NIIe = "NetworkInterfaceIds"; +const _NIL = "NetworkInterfaceList"; +const _NIO = "NetworkInterfaceOptions"; +const _NIOI = "NetworkInterfaceOwnerId"; +const _NIP = "NetworkInsightsPath"; +const _NIPA = "NetworkInsightsPathArn"; +const _NIPI = "NetworkInsightsPathId"; +const _NIPIA = "NetworkInterfacePrivateIpAddress"; +const _NIPIAL = "NetworkInterfacePrivateIpAddressList"; +const _NIPIL = "NetworkInsightsPathIdList"; +const _NIPIe = "NetworkInterfacePermissionId"; +const _NIPIet = "NetworkInsightsPathIds"; +const _NIPIetw = "NetworkInterfacePermissionIds"; +const _NIPL = "NetworkInsightsPathList"; +const _NIPLe = "NetworkInterfacePermissionList"; +const _NIPS = "NetworkInterfacePermissionState"; +const _NIPe = "NetworkInsightsPaths"; +const _NIPet = "NetworkInterfacePermissions"; +const _NIPetw = "NetworkInterfacePermission"; +const _NIe = "NetworkInterface"; +const _NIet = "NetworkInterfaces"; +const _NIetw = "NetworkInfo"; +const _NIeu = "NeuronInfo"; +const _NL = "NetmaskLength"; +const _NLBA = "NetworkLoadBalancerArn"; +const _NLBAe = "NetworkLoadBalancerArns"; +const _NN = "NetworkNodes"; +const _NNL = "NetworkNodesList"; +const _NNS = "NetworkNodeSet"; +const _NOA = "NumberOfAccounts"; +const _NOFA = "NumberOfFailedAccounts"; +const _NOMA = "NumberOfMatchedAccounts"; +const _NOUA = "NumberOfUnmatchedAccounts"; +const _NP = "NvramProtections"; +const _NPF = "NetworkPathFound"; +const _NPO = "NetworkPerformanceOptions"; +const _NPe = "NetworkPerformance"; +const _NPet = "NetworkPlatform"; +const _NR = "NoReboot"; +const _NS = "NvmeSupport"; +const _NSST = "NextSlotStartTime"; +const _NSe = "NetworkServices"; +const _NT = "NetworkType"; +const _NTI = "NitroTpmInfo"; +const _NTS = "NitroTpmSupport"; +const _NTSVL = "NitroTpmSupportedVersionsList"; +const _NTe = "NextToken"; +const _NV = "NestedVirtualization"; +const _Na = "Nameservers"; +const _O = "Origin"; +const _OA = "OutpostArn"; +const _OASL = "OrganizationArnStringList"; +const _OAr = "OrganizationsAccess"; +const _OArg = "OrganizationArn"; +const _OArga = "OrganizationArns"; +const _OAw = "OwnerAlias"; +const _OC = "OfferingClass"; +const _OD = "OccurrenceDays"; +const _ODAS = "OnDemandAllocationStrategy"; +const _ODFC = "OnDemandFulfilledCapacity"; +const _ODMPPOLP = "OnDemandMaxPricePercentageOverLowestPrice"; +const _ODMTP = "OnDemandMaxTotalPrice"; +const _ODO = "OnDemandOptions"; +const _ODOR = "OnDemandOptionsRequest"; +const _ODRS = "OccurrenceDayRequestSet"; +const _ODS = "OccurrenceDaySet"; +const _ODTC = "OnDemandTargetCapacity"; +const _ODc = "OccurrenceDay"; +const _ODcc = "OccurenceDay"; +const _OEP = "OrganizationsEntityPath"; +const _OF = "OutputFormat"; +const _OH = "OutboundHeader"; +const _OI = "OwnerId"; +const _OIA = "OutsideIpAddress"; +const _OIAT = "OutsideIpAddressType"; +const _OIS = "OptInStatus"; +const _OIf = "OfferingId"; +const _OIr = "OriginalIops"; +const _OIu = "OutpostId"; +const _OIw = "OwnerIds"; +const _OK = "ObjectKey"; +const _OL = "OutpostLags"; +const _OLI = "OutpostLagId"; +const _OLIS = "OutpostLagIdSet"; +const _OLIu = "OutpostLagIds"; +const _OLS = "OutpostLagSet"; +const _OLu = "OutpostLag"; +const _OMAE = "OriginalMultiAttachEnabled"; +const _ON = "OptionName"; +const _ONA = "OdbNetworkArn"; +const _OO = "OidcOptions"; +const _OR = "OperatingRegions"; +const _ORIWEA = "OutputReservedInstancesWillExpireAt"; +const _ORTE = "OccurrenceRelativeToEnd"; +const _ORp = "OperatingRegion"; +const _ORpe = "OperatorRequest"; +const _ORper = "OperatorResponse"; +const _OS = "OfferingSet"; +const _OSL = "OwnerStringList"; +const _OST = "OldestSampleTime"; +const _OSr = "OriginalSize"; +const _OSv = "OverlapStatus"; +const _OT = "OptimizingTime"; +const _OTI = "OrganizationTargetId"; +const _OTf = "OfferingType"; +const _OTp = "OperationType"; +const _OTr = "OrganizationTargets"; +const _OTri = "OriginalThroughput"; +const _OU = "OccurrenceUnit"; +const _OUA = "OrganizationalUnitArn"; +const _OUASL = "OrganizationalUnitArnStringList"; +const _OUAr = "OrganizationalUnitArns"; +const _OUE = "OrganizationalUnitExclusions"; +const _OUI = "OrganizationalUnitId"; +const _OV = "OptionValues"; +const _OVC = "OpenVpnConfigurations"; +const _OVT = "OriginalVolumeType"; +const _OVp = "OptionValue"; +const _Op = "Operator"; +const _Ope = "Operation"; +const _Opt = "Options"; +const _Ou = "Output"; +const _Ov = "Overrides"; +const _Ow = "Owners"; +const _Own = "Owner"; +const _P = "Principal"; +const _PA = "PoolArn"; +const _PAI = "PeerAccountId"; +const _PAIe = "PeeringAttachmentId"; +const _PAR = "PoolAddressRange"; +const _PARo = "PoolAddressRanges"; +const _PAS = "PeeringAttachmentStatus"; +const _PAe = "PeerAddress"; +const _PAee = "PeerAsn"; +const _PAr = "PrincipalArn"; +const _PAu = "PubliclyAdvertisable"; +const _PB = "ProvisionedBandwidth"; +const _PBA = "PeerBgpAsn"; +const _PBAE = "PeerBgpAsnExtended"; +const _PBC = "ProvisionByoipCidr"; +const _PBCR = "ProvisionByoipCidrRequest"; +const _PBCRr = "ProvisionByoipCidrResult"; +const _PBIG = "PeakBandwidthInGbps"; +const _PC = "PoolCidrs"; +const _PCB = "PoolCidrBlocks"; +const _PCBE = "PurchaseCapacityBlockExtension"; +const _PCBER = "PurchaseCapacityBlockExtensionRequest"; +const _PCBERu = "PurchaseCapacityBlockExtensionResult"; +const _PCBR = "PurchaseCapacityBlockRequest"; +const _PCBRu = "PurchaseCapacityBlockResult"; +const _PCBS = "PoolCidrBlocksSet"; +const _PCBo = "PoolCidrBlock"; +const _PCBu = "PurchaseCapacityBlock"; +const _PCI = "PreserveClientIp"; +const _PCIr = "ProductCodeId"; +const _PCL = "PathComponentList"; +const _PCLr = "ProductCodeList"; +const _PCNI = "PeerCoreNetworkId"; +const _PCO = "PeeringConnectionOptions"; +const _PCOR = "PeeringConnectionOptionsRequest"; +const _PCS = "PostureComplianceStatuses"; +const _PCSL = "ProductCodeStringList"; +const _PCT = "ProductCodeType"; +const _PCa = "PartitionCount"; +const _PCat = "PathComponent"; +const _PCo = "PoolCount"; +const _PCr = "ProductCode"; +const _PCro = "ProductCodes"; +const _PD = "PasswordData"; +const _PDD = "PrivateDnsDetails"; +const _PDDS = "PrivateDnsDetailsSet"; +const _PDE = "PrivateDnsEnabled"; +const _PDEr = "PrivateDnsEntry"; +const _PDHG = "Phase1DHGroup"; +const _PDHGN = "Phase1DHGroupNumbers"; +const _PDHGNL = "Phase1DHGroupNumbersList"; +const _PDHGNLV = "Phase1DHGroupNumbersListValue"; +const _PDHGNLVh = "Phase2DHGroupNumbersListValue"; +const _PDHGNLh = "Phase2DHGroupNumbersList"; +const _PDHGNRL = "Phase1DHGroupNumbersRequestList"; +const _PDHGNRLV = "Phase1DHGroupNumbersRequestListValue"; +const _PDHGNRLVh = "Phase2DHGroupNumbersRequestListValue"; +const _PDHGNRLh = "Phase2DHGroupNumbersRequestList"; +const _PDHGNh = "Phase2DHGroupNumbers"; +const _PDHGNha = "Phase1DHGroupNumber"; +const _PDHGNhas = "Phase2DHGroupNumber"; +const _PDHGh = "Phase2DHGroup"; +const _PDHT = "PrivateDnsHostnameType"; +const _PDHTOL = "PrivateDnsHostnameTypeOnLaunch"; +const _PDL = "PricingDetailsList"; +const _PDN = "PrivateDnsName"; +const _PDNC = "PrivateDnsNameConfiguration"; +const _PDNO = "PrivateDnsNameOptions"; +const _PDNOOL = "PrivateDnsNameOptionsOnLaunch"; +const _PDNOR = "PrivateDnsNameOptionsRequest"; +const _PDNORr = "PrivateDnsNameOptionsResponse"; +const _PDNVS = "PrivateDnsNameVerificationState"; +const _PDNr = "PrivateDnsNames"; +const _PDNu = "PublicDnsNames"; +const _PDNub = "PublicDnsName"; +const _PDOFIRE = "PrivateDnsOnlyForInboundResolverEndpoint"; +const _PDP = "PrivateDnsPreference"; +const _PDRTI = "PropagationDefaultRouteTableId"; +const _PDSD = "PrivateDnsSpecifiedDomains"; +const _PDSDN = "PublicDualStackDnsName"; +const _PDSDS = "PrivateDnsSpecifiedDomainSet"; +const _PDSDr = "PrivateDnsSpecifiedDomain"; +const _PDSI = "PublicDefaultScopeId"; +const _PDSIr = "PrivateDefaultScopeId"; +const _PDa = "PaymentDue"; +const _PDl = "PlatformDetails"; +const _PDo = "PolicyDocument"; +const _PDoo = "PoolDepth"; +const _PDr = "ProductDescription"; +const _PDri = "PricingDetail"; +const _PDric = "PricingDetails"; +const _PDro = "ProductDescriptions"; +const _PE = "PolicyEnabled"; +const _PEA = "Phase1EncryptionAlgorithm"; +const _PEAL = "Phase1EncryptionAlgorithmsList"; +const _PEALV = "Phase1EncryptionAlgorithmsListValue"; +const _PEALVh = "Phase2EncryptionAlgorithmsListValue"; +const _PEALh = "Phase2EncryptionAlgorithmsList"; +const _PEARL = "Phase1EncryptionAlgorithmsRequestList"; +const _PEARLV = "Phase1EncryptionAlgorithmsRequestListValue"; +const _PEARLVh = "Phase2EncryptionAlgorithmsRequestListValue"; +const _PEARLh = "Phase2EncryptionAlgorithmsRequestList"; +const _PEAh = "Phase2EncryptionAlgorithm"; +const _PEAha = "Phase1EncryptionAlgorithms"; +const _PEAhas = "Phase2EncryptionAlgorithms"; +const _PED = "PartitionEndDate"; +const _PEk = "PkceEnabled"; +const _PF = "PacketField"; +const _PFR = "PerformanceFactorReference"; +const _PFRR = "PerformanceFactorReferenceRequest"; +const _PFRS = "PerformanceFactorReferenceSet"; +const _PFRSR = "PerformanceFactorReferenceSetRequest"; +const _PFS = "PreviousFleetState"; +const _PFa = "PathFilter"; +const _PG = "PlacementGroup"; +const _PGA = "PlacementGroupArn"; +const _PGI = "PlacementGroupInfo"; +const _PGISL = "PlacementGroupIdStringList"; +const _PGL = "PlacementGroupList"; +const _PGSL = "PlacementGroupStrategyList"; +const _PGl = "PlacementGroups"; +const _PHP = "PerHourPartition"; +const _PHR = "PurchaseHostReservation"; +const _PHRR = "PurchaseHostReservationRequest"; +const _PHRRu = "PurchaseHostReservationResult"; +const _PHS = "PacketHeaderStatement"; +const _PHSR = "PacketHeaderStatementRequest"; +const _PI = "PublicIp"; +const _PIA = "Phase1IntegrityAlgorithm"; +const _PIAC = "PrivateIpAddressCount"; +const _PIACS = "PrivateIpAddressConfigSet"; +const _PIACr = "PrivateIpAddressConfigs"; +const _PIACri = "PrivateIpAddressConfig"; +const _PIAL = "Phase1IntegrityAlgorithmsList"; +const _PIALV = "Phase1IntegrityAlgorithmsListValue"; +const _PIALVh = "Phase2IntegrityAlgorithmsListValue"; +const _PIALh = "Phase2IntegrityAlgorithmsList"; +const _PIARL = "Phase1IntegrityAlgorithmsRequestList"; +const _PIARLV = "Phase1IntegrityAlgorithmsRequestListValue"; +const _PIARLVh = "Phase2IntegrityAlgorithmsRequestListValue"; +const _PIARLh = "Phase2IntegrityAlgorithmsRequestList"; +const _PIAS = "PrivateIpAddressSpecification"; +const _PIASL = "PrivateIpAddressSpecificationList"; +const _PIASLr = "PrivateIpAddressStringList"; +const _PIAh = "Phase2IntegrityAlgorithm"; +const _PIAha = "Phase1IntegrityAlgorithms"; +const _PIAhas = "Phase2IntegrityAlgorithms"; +const _PIAr = "PrivateIpAddress"; +const _PIAri = "PrivateIpAddresses"; +const _PIAriv = "PrivateIpv4Addresses"; +const _PIAu = "PublicIpAddress"; +const _PIB = "ProvisionIpamByoasn"; +const _PIBR = "ProvisionIpamByoasnRequest"; +const _PIBRr = "ProvisionIpamByoasnResult"; +const _PIDN = "PublicIpv6DnsName"; +const _PIDNO = "PublicIpDnsNameOptions"; +const _PIDNu = "PublicIpv4DnsName"; +const _PIF = "PrincipalIdFormat"; +const _PIFL = "PrincipalIdFormatList"; +const _PIL = "ProtocolIntList"; +const _PIP = "PublicIpv4Pool"; +const _PIPC = "ProvisionIpamPoolCidr"; +const _PIPCR = "ProvisionIpamPoolCidrRequest"; +const _PIPCRr = "ProvisionIpamPoolCidrResult"; +const _PIPI = "PublicIpv4PoolId"; +const _PIPISL = "PublicIpv4PoolIdStringList"; +const _PIPR = "PublicIpv4PoolRange"; +const _PIPRS = "PublicIpv4PoolRangeSet"; +const _PIPS = "PublicIpv4PoolSet"; +const _PIPu = "PublicIpv4Pools"; +const _PIS = "PublicIpSource"; +const _PISL = "PublicIpStringList"; +const _PIc = "PciId"; +const _PIo = "PoolId"; +const _PIoo = "PoolIds"; +const _PIr = "PrimaryIpv6"; +const _PIri = "PrivateIp"; +const _PIro = "ProcessorInfo"; +const _PIu = "PublicIps"; +const _PK = "PublicKey"; +const _PKM = "PublicKeyMaterial"; +const _PL = "PrefixList"; +const _PLA = "PrefixListAssociations"; +const _PLAS = "PrefixListAssociationSet"; +const _PLAr = "PrefixListArn"; +const _PLAre = "PrefixListAssociation"; +const _PLD = "PeerLivenessDetection"; +const _PLE = "PrefixListEntry"; +const _PLES = "PrefixListEntrySet"; +const _PLF = "PartitionLoadFrequency"; +const _PLI = "PrefixListId"; +const _PLIL = "PrefixListIdList"; +const _PLIS = "PrefixListIdSet"; +const _PLIr = "PrefixListIds"; +const _PLN = "PrefixListName"; +const _PLOI = "PrefixListOwnerId"; +const _PLR = "PrefixListRegion"; +const _PLRISL = "PrefixListResourceIdStringList"; +const _PLS = "Phase1LifetimeSeconds"; +const _PLSh = "Phase2LifetimeSeconds"; +const _PLSr = "PrefixListSet"; +const _PLa = "PacketLength"; +const _PLr = "PrefixLists"; +const _PLro = "ProtocolList"; +const _PM = "PendingMaintenance"; +const _PN = "PartitionNumber"; +const _PNC = "PreviewNextCidr"; +const _PO = "PaymentOption"; +const _POI = "PeerOwnerId"; +const _POe = "PeeringOptions"; +const _PP = "ProgressPercentage"; +const _PPIPC = "ProvisionPublicIpv4PoolCidr"; +const _PPIPCR = "ProvisionPublicIpv4PoolCidrRequest"; +const _PPIPCRr = "ProvisionPublicIpv4PoolCidrResult"; +const _PR = "PtrRecord"; +const _PRD = "PersistRoutesDuration"; +const _PRF = "PathRequestFilter"; +const _PRIO = "PurchaseReservedInstancesOffering"; +const _PRIOR = "PurchaseReservedInstancesOfferingRequest"; +const _PRIORu = "PurchaseReservedInstancesOfferingResult"; +const _PRL = "PortRangeList"; +const _PRN = "PolicyRuleNumber"; +const _PRNo = "PolicyReferenceName"; +const _PRS = "PersistRoutesState"; +const _PRSu = "PurchaseRequestSet"; +const _PRU = "PtrRecordUpdate"; +const _PRa = "PayerResponsibility"; +const _PRe = "PersistRoutes"; +const _PRee = "PeerRegion"; +const _PRer = "PermanentRestore"; +const _PRl = "PlacementResponse"; +const _PRo = "PortRange"; +const _PRol = "PolicyRule"; +const _PRor = "PortRanges"; +const _PRu = "PurchaseRequest"; +const _PRur = "PurchaseRequests"; +const _PS = "ProvisioningStatus"; +const _PSD = "PartitionStartDate"; +const _PSET = "PreviousSlotEndTime"; +const _PSFRS = "PreviousSpotFleetRequestState"; +const _PSI = "PurchaseScheduledInstances"; +const _PSIR = "PurchaseScheduledInstancesRequest"; +const _PSIRu = "PurchaseScheduledInstancesResult"; +const _PSIS = "PurchasedScheduledInstanceSet"; +const _PSK = "PreSharedKey"; +const _PSKA = "PreSharedKeyArn"; +const _PSKE = "PublicSigningKeyEndpoint"; +const _PSKS = "PreSharedKeyStorage"; +const _PSKU = "PublicSigningKeyUrl"; +const _PSL = "PriceScheduleList"; +const _PSR = "ProvisioningStatusReason"; +const _PSRa = "PathStatementRequest"; +const _PSS = "PriceScheduleSpecification"; +const _PSSL = "PriceScheduleSpecificationList"; +const _PSa = "PathStatement"; +const _PSe = "PermissionState"; +const _PSee = "PeeringStatus"; +const _PSh = "PhcSupport"; +const _PSr = "PreviousState"; +const _PSre = "PreviousStatus"; +const _PSri = "PriceSchedules"; +const _PSric = "PriceSchedule"; +const _PSro = "ProcessingStatus"; +const _PSu = "PurchaseSet"; +const _PT = "PrincipalType"; +const _PTGI = "PeerTransitGatewayId"; +const _PTI = "PeeringTgwInfo"; +const _PTS = "PoolTagSpecifications"; +const _PTSo = "PoolTagSpecification"; +const _PTr = "ProvisionTime"; +const _PTu = "PurchaseToken"; +const _PTur = "PurchaseTime"; +const _PU = "PresignedUrl"; +const _PUS = "PtrUpdateStatus"; +const _PV = "PropagatingVgw"; +const _PVI = "PeerVpcId"; +const _PVIr = "PrimaryVpcId"; +const _PVL = "PropagatingVgwList"; +const _PVr = "PreviousVersion"; +const _PVro = "PropagatingVgws"; +const _PZI = "ParentZoneId"; +const _PZN = "ParentZoneName"; +const _Pe = "Permission"; +const _Per = "Period"; +const _Pl = "Platform"; +const _Pla = "Placement"; +const _Po = "Port"; +const _Pr = "Protocol"; +const _Pre = "Prefix"; +const _Pri = "Principals"; +const _Pric = "Price"; +const _Prim = "Primary"; +const _Prio = "Priority"; +const _Pro = "Progress"; +const _Prop = "Propagation"; +const _Prot = "Protocols"; +const _Prov = "Provisioned"; +const _Pu = "Public"; +const _Pur = "Purchase"; +const _Q = "Quantity"; +const _R = "Return"; +const _RA = "RuleAction"; +const _RAA = "ResetAddressAttribute"; +const _RAAR = "ResetAddressAttributeRequest"; +const _RAARe = "ResetAddressAttributeResult"; +const _RAE = "RemoteAccessEnabled"; +const _RAG = "RevokeAllGroups"; +const _RAP = "RemoveAllowedPrincipals"; +const _RAR = "ReleaseAddressRequest"; +const _RART = "RemoveAllocationResourceTags"; +const _RARTe = "RemoveAllocationResourceTag"; +const _RATC = "RestoreAddressToClassic"; +const _RATCR = "RestoreAddressToClassicRequest"; +const _RATCRe = "RestoreAddressToClassicResult"; +const _RAe = "ReservationArn"; +const _RAel = "ReleaseAddress"; +const _RAes = "ResolveAlias"; +const _RAeso = "ResourceArn"; +const _RAo = "RoleArn"; +const _RB = "RequestedBy"; +const _RBET = "RecycleBinEnterTime"; +const _RBETe = "RecycleBinExitTime"; +const _RBUI = "RestorableByUserIds"; +const _RBe = "RestorableBy"; +const _RC = "ReturnCode"; +const _RCA = "ResourceConfigurationArn"; +const _RCGA = "ResourceConfigurationGroupArn"; +const _RCL = "ReasonCodesList"; +const _RCLe = "RecurringChargesList"; +const _RCO = "ReservedCapacityOptions"; +const _RCOR = "ReservedCapacityOptionsRequest"; +const _RCRBO = "RejectCapacityReservationBillingOwnership"; +const _RCRBOR = "RejectCapacityReservationBillingOwnershipRequest"; +const _RCRBORe = "RejectCapacityReservationBillingOwnershipResult"; +const _RCS = "ResourceComplianceStatus"; +const _RCT = "ReservationCreateTimestamp"; +const _RCTe = "ReportCreationTime"; +const _RCVI = "RevokeClientVpnIngress"; +const _RCVIR = "RevokeClientVpnIngressRequest"; +const _RCVIRe = "RevokeClientVpnIngressResult"; +const _RCe = "ResourceCidr"; +const _RCea = "ReasonCodes"; +const _RCec = "RecurringCharge"; +const _RCecu = "RecurringCharges"; +const _RD = "RestoreDuration"; +const _RDAC = "ResourceDiscoveryAssociationCount"; +const _RDCA = "RdsDbClusterArn"; +const _RDI = "RamDiskId"; +const _RDIA = "RdsDbInstanceArn"; +const _RDN = "RootDeviceName"; +const _RDPA = "RdsDbProxyArn"; +const _RDS = "ResourceDiscoveryStatus"; +const _RDT = "RootDeviceType"; +const _RDTL = "RootDeviceTypeList"; +const _RE = "RdsEndpoint"; +const _REAC = "RemoveExternalAuthorityConfiguration"; +const _RED = "RemoveEndDate"; +const _REDKKI = "ResetEbsDefaultKmsKeyId"; +const _REDKKIR = "ResetEbsDefaultKmsKeyIdRequest"; +const _REDKKIRe = "ResetEbsDefaultKmsKeyIdResult"; +const _REDT = "ReservationEndDateType"; +const _REIT = "RequireEncryptionInTransit"; +const _RET = "ReservationEndTimestamp"; +const _RETe = "RestoreExpiryTime"; +const _REe = "ResponseError"; +const _REem = "RemoveEntries"; +const _REemo = "RemoveEntry"; +const _REes = "ResourceExclusions"; +const _RF = "RemoveFields"; +const _RFIA = "ResetFpgaImageAttribute"; +const _RFIAR = "ResetFpgaImageAttributeRequest"; +const _RFIARe = "ResetFpgaImageAttributeResult"; +const _RFIS = "ReservationFleetInstanceSpecification"; +const _RFISL = "ReservationFleetInstanceSpecificationList"; +const _RFP = "RekeyFuzzPercentage"; +const _RFPR = "RequestFilterPortRange"; +const _RFe = "RemoveField"; +const _RG = "RegionGeography"; +const _RGA = "RuleGroupArn"; +const _RGI = "ReferencedGroupId"; +const _RGIe = "ReferencedGroupInfo"; +const _RGL = "RegionGeographyList"; +const _RGLBA = "RemoveGatewayLoadBalancerArns"; +const _RGLBAe = "RemoveGatewayLoadBalancerArn"; +const _RGROP = "RuleGroupRuleOptionsPairs"; +const _RGROPL = "RuleGroupRuleOptionsPairList"; +const _RGROPu = "RuleGroupRuleOptionsPair"; +const _RGT = "RuleGroupType"; +const _RGTP = "RuleGroupTypePairs"; +const _RGTPL = "RuleGroupTypePairList"; +const _RGTPu = "RuleGroupTypePair"; +const _RH = "ReleaseHosts"; +const _RHIL = "RequestHostIdList"; +const _RHILe = "ResponseHostIdList"; +const _RHIS = "RequestHostIdSet"; +const _RHISe = "ResponseHostIdSet"; +const _RHR = "ReleaseHostsRequest"; +const _RHRe = "ReleaseHostsResult"; +const _RHS = "RequireHibernateSupport"; +const _RI = "ReportId"; +const _RIA = "ResetImageAttribute"; +const _RIAR = "ResetImageAttributeRequest"; +const _RIARe = "ResetInstanceAttributeRequest"; +const _RIAe = "ResetInstanceAttribute"; +const _RIC = "ReservedInstancesConfiguration"; +const _RICIAIS = "ReplaceImageCriteriaInAllowedImagesSettings"; +const _RICIAISR = "ReplaceImageCriteriaInAllowedImagesSettingsRequest"; +const _RICIAISRe = "ReplaceImageCriteriaInAllowedImagesSettingsResult"; +const _RICL = "ReservedInstancesConfigurationList"; +const _RICSIT = "ReservedInstancesConfigurationSetItemType"; +const _RID = "RouteInstallationDetails"; +const _RIENA = "RegisterInstanceEventNotificationAttributes"; +const _RIENAR = "RegisterInstanceEventNotificationAttributesRequest"; +const _RIENARe = "RegisterInstanceEventNotificationAttributesResult"; +const _RIFRB = "RestoreImageFromRecycleBin"; +const _RIFRBR = "RestoreImageFromRecycleBinRequest"; +const _RIFRBRe = "RestoreImageFromRecycleBinResult"; +const _RII = "ReservedInstanceIds"; +const _RIIPA = "ReplaceIamInstanceProfileAssociation"; +const _RIIPAR = "ReplaceIamInstanceProfileAssociationRequest"; +const _RIIPARe = "ReplaceIamInstanceProfileAssociationResult"; +const _RIIS = "ReservedInstanceIdSet"; +const _RIISL = "ReservedInstancesIdStringList"; +const _RIIe = "ReservedInstanceId"; +const _RIIes = "ReservedInstancesId"; +const _RIIese = "ReservedInstancesIds"; +const _RIIeser = "ReservedIntancesIds"; +const _RIL = "ReservedInstancesListings"; +const _RILI = "ReservedInstancesListingId"; +const _RILL = "ReservedInstancesListingList"; +const _RILP = "ReservedInstanceLimitPrice"; +const _RILe = "ReservedInstancesListing"; +const _RILeg = "RegisteredInstanceList"; +const _RILes = "ReservedInstancesList"; +const _RIM = "ReservedInstancesModifications"; +const _RIMC = "ReservationInstanceMatchCriteria"; +const _RIME = "RunInstancesMonitoringEnabled"; +const _RIMI = "ReservedInstancesModificationIds"; +const _RIMISL = "ReservedInstancesModificationIdStringList"; +const _RIMIe = "ReservedInstancesModificationId"; +const _RIML = "ReservedInstancesModificationList"; +const _RIMR = "ReservedInstancesModificationResult"; +const _RIMRL = "ReservedInstancesModificationResultList"; +const _RIMe = "ReservedInstancesModification"; +const _RINC = "RemoteIpv4NetworkCidr"; +const _RINCe = "RemoteIpv6NetworkCidr"; +const _RIO = "ReservedInstancesOfferings"; +const _RIOI = "ReservedInstancesOfferingIds"; +const _RIOIe = "ReservedInstancesOfferingId"; +const _RIOL = "ReservedInstancesOfferingList"; +const _RIOR = "RemoveIpamOperatingRegion"; +const _RIORS = "RemoveIpamOperatingRegionSet"; +const _RIOUE = "RemoveIpamOrganizationalUnitExclusion"; +const _RIOUES = "RemoveIpamOrganizationalUnitExclusionSet"; +const _RIOe = "ReservedInstancesOffering"; +const _RIPA = "ReleaseIpamPoolAllocation"; +const _RIPAR = "ReleaseIpamPoolAllocationRequest"; +const _RIPARe = "ReleaseIpamPoolAllocationResult"; +const _RIR = "RebootInstancesRequest"; +const _RIRT = "RequestIpamResourceTag"; +const _RIRTL = "RequestIpamResourceTagList"; +const _RIRV = "ReservedInstanceReservationValue"; +const _RIRVS = "ReservedInstanceReservationValueSet"; +const _RIRe = "RegisterImageRequest"; +const _RIReg = "RegisterImageResult"; +const _RIRu = "RunInstancesRequest"; +const _RIS = "RouteInstallationStatus"; +const _RISR = "ReportInstanceStatusRequest"; +const _RISRD = "ReportInstanceStatusRequestDescription"; +const _RISRo = "RouteInstallationStatusReason"; +const _RISe = "ReportInstanceStatus"; +const _RITAR = "RegisterInstanceTagAttributeRequest"; +const _RIUD = "RunInstancesUserData"; +const _RIVR = "ReservedInstanceValueRollup"; +const _RIVS = "ReservedInstanceValueSet"; +const _RIa = "RamdiskId"; +const _RIe = "ReservationId"; +const _RIeb = "RebootInstances"; +const _RIeg = "RegisteredInstance"; +const _RIegi = "RegisterImage"; +const _RIep = "ReportIds"; +const _RIeq = "RequesterId"; +const _RIes = "ResourceIds"; +const _RIese = "ReservedInstances"; +const _RIeso = "ResourceId"; +const _RIu = "RunInstances"; +const _RL = "RegionList"; +const _RLTD = "RequestLaunchTemplateData"; +const _RLTDe = "ResponseLaunchTemplateData"; +const _RLe = "ReservationList"; +const _RLes = "ResourceList"; +const _RLo = "RouteList"; +const _RM = "ReasonMessage"; +const _RMAI = "RemoveMiddleboxAttachmentIds"; +const _RMAIe = "RemoveMiddleboxAttachmentId"; +const _RMGM = "RegisteredMulticastGroupMembers"; +const _RMGS = "RegisteredMulticastGroupSources"; +const _RMPLV = "RestoreManagedPrefixListVersion"; +const _RMPLVR = "RestoreManagedPrefixListVersionRequest"; +const _RMPLVRe = "RestoreManagedPrefixListVersionResult"; +const _RMS = "RebootMigrationSupport"; +const _RMTS = "RekeyMarginTimeSeconds"; +const _RMe = "RebootMigration"; +const _RMeq = "RequesterManaged"; +const _RN = "RegionName"; +const _RNAA = "ReplaceNetworkAclAssociation"; +const _RNAAR = "ReplaceNetworkAclAssociationRequest"; +const _RNAARe = "ReplaceNetworkAclAssociationResult"; +const _RNAE = "ReplaceNetworkAclEntry"; +const _RNAER = "ReplaceNetworkAclEntryRequest"; +const _RNIA = "ResetNetworkInterfaceAttribute"; +const _RNIAR = "ResetNetworkInterfaceAttributeRequest"; +const _RNII = "RegisteredNetworkInterfaceIds"; +const _RNLBA = "RemoveNetworkLoadBalancerArns"; +const _RNLBAe = "RemoveNetworkLoadBalancerArn"; +const _RNS = "RemoveNetworkServices"; +const _RNSL = "RegionNameStringList"; +const _RNSe = "RemoveNetworkService"; +const _RNe = "RegionNames"; +const _RNes = "ResourceName"; +const _RNo = "RoleName"; +const _RNu = "RuleNumber"; +const _RO = "RuleOptions"; +const _ROI = "ResourceOwnerId"; +const _ROL = "RuleOptionList"; +const _ROR = "RemoveOperatingRegions"; +const _RORe = "RemoveOperatingRegion"; +const _ROS = "ResourceOverlapStatus"; +const _ROUE = "RemoveOrganizationalUnitExclusions"; +const _ROUEe = "RemoveOrganizationalUnitExclusion"; +const _ROd = "RdsOptions"; +const _ROe = "ResourceOwner"; +const _ROo = "RouteOrigin"; +const _ROu = "RuleOption"; +const _RP = "ResetPolicy"; +const _RPC = "ReturnPathComponents"; +const _RPCO = "RequesterPeeringConnectionOptions"; +const _RPDN = "RemovePrivateDnsName"; +const _RPLE = "RemovePrefixListEntry"; +const _RPLEe = "RemovePrefixListEntries"; +const _RR = "ResourceRegion"; +const _RRR = "ReplaceRouteRequest"; +const _RRTA = "ReplaceRouteTableAssociation"; +const _RRTAR = "ReplaceRouteTableAssociationRequest"; +const _RRTARe = "ReplaceRouteTableAssociationResult"; +const _RRTI = "RemoveRouteTableIds"; +const _RRTIe = "RemoveRouteTableId"; +const _RRVT = "ReplaceRootVolumeTask"; +const _RRVTI = "ReplaceRootVolumeTaskIds"; +const _RRVTIe = "ReplaceRootVolumeTaskId"; +const _RRVTe = "ReplaceRootVolumeTasks"; +const _RRe = "ReplaceRoute"; +const _RS = "RegionalSummaries"; +const _RSA = "RouteServerAssociation"; +const _RSAL = "RouteServerAssociationsList"; +const _RSAR = "ResetSnapshotAttributeRequest"; +const _RSAe = "ResetSnapshotAttribute"; +const _RSAo = "RouteServerAssociations"; +const _RSBO = "RouteServerBgpOptions"; +const _RSBOR = "RouteServerBgpOptionsRequest"; +const _RSBS = "RouteServerBfdStatus"; +const _RSBSo = "RouteServerBgpStatus"; +const _RSE = "RouteServerEndpoint"; +const _RSEI = "RouteServerEndpointId"; +const _RSEIo = "RouteServerEndpointIds"; +const _RSEL = "RouteServerEndpointsList"; +const _RSEo = "RouteServerEndpoints"; +const _RSF = "RequestSpotFleet"; +const _RSFR = "RequestSpotFleetRequest"; +const _RSFRB = "RestoreSnapshotFromRecycleBin"; +const _RSFRBR = "RestoreSnapshotFromRecycleBinRequest"; +const _RSFRBRe = "RestoreSnapshotFromRecycleBinResult"; +const _RSFRe = "RequestSpotFleetResponse"; +const _RSG = "ReferencedSecurityGroup"; +const _RSGE = "RevokeSecurityGroupEgress"; +const _RSGER = "RevokeSecurityGroupEgressRequest"; +const _RSGERe = "RevokeSecurityGroupEgressResult"; +const _RSGI = "RemoveSecurityGroupIds"; +const _RSGIR = "RevokeSecurityGroupIngressRequest"; +const _RSGIRe = "RevokeSecurityGroupIngressResult"; +const _RSGIe = "RemoveSecurityGroupId"; +const _RSGIev = "RevokeSecurityGroupIngress"; +const _RSGR = "RevokedSecurityGroupRule"; +const _RSGRL = "RevokedSecurityGroupRuleList"; +const _RSGRe = "RevokedSecurityGroupRules"; +const _RSI = "RouteServerId"; +const _RSIAT = "RemoveSupportedIpAddressTypes"; +const _RSIATe = "RemoveSupportedIpAddressType"; +const _RSIR = "RequestSpotInstancesRequest"; +const _RSIRe = "RequestSpotInstancesResult"; +const _RSIRu = "RunScheduledInstancesRequest"; +const _RSIRun = "RunScheduledInstancesResult"; +const _RSIe = "RemoveSubnetIds"; +const _RSIem = "RemoveSubnetId"; +const _RSIeq = "RequestSpotInstances"; +const _RSIo = "RouteServerIds"; +const _RSIu = "RunScheduledInstances"; +const _RSL = "RegionalSummaryList"; +const _RSLS = "RequestSpotLaunchSpecification"; +const _RSLSSGIL = "RequestSpotLaunchSpecificationSecurityGroupIdList"; +const _RSLSSGL = "RequestSpotLaunchSpecificationSecurityGroupList"; +const _RSLo = "RouteServersList"; +const _RSP = "RouteServerPeer"; +const _RSPI = "RouteServerPeerId"; +const _RSPIo = "RouteServerPeerIds"; +const _RSPL = "RouteServerPeersList"; +const _RSPLo = "RouteServerPropagationsList"; +const _RSPo = "RouteServerPeers"; +const _RSPou = "RouteServerPropagation"; +const _RSPout = "RouteServerPropagations"; +const _RSR = "RemoveSupportedRegions"; +const _RSRID = "RouteServerRouteInstallationDetail"; +const _RSRIDo = "RouteServerRouteInstallationDetails"; +const _RSRL = "RouteServerRouteList"; +const _RSRe = "RemoveSupportedRegion"; +const _RSRes = "ResourceStatementRequest"; +const _RSRo = "RouteServerRoute"; +const _RST = "ReservationStartTimestamp"; +const _RSTR = "RestoreSnapshotTierRequest"; +const _RSTRe = "RestoreSnapshotTierResult"; +const _RSTe = "RestoreStartTime"; +const _RSTes = "RestoreSnapshotTier"; +const _RSe = "ReservationState"; +const _RSeg = "RegionalSummary"; +const _RSep = "ReplacementStrategy"; +const _RSes = "ResourceStatement"; +const _RSo = "RouteServer"; +const _RSou = "RouteServers"; +const _RSout = "RouteStatus"; +const _RT = "ReservationType"; +const _RTA = "RouteTableAssociation"; +const _RTAI = "RouteTableAssociationId"; +const _RTAL = "RouteTableAssociationList"; +const _RTAS = "RouteTableAssociationState"; +const _RTGCB = "RemoveTransitGatewayCidrBlocks"; +const _RTGMDA = "RejectTransitGatewayMulticastDomainAssociations"; +const _RTGMDAR = "RejectTransitGatewayMulticastDomainAssociationsRequest"; +const _RTGMDARe = "RejectTransitGatewayMulticastDomainAssociationsResult"; +const _RTGMGM = "RegisterTransitGatewayMulticastGroupMembers"; +const _RTGMGMR = "RegisterTransitGatewayMulticastGroupMembersRequest"; +const _RTGMGMRe = "RegisterTransitGatewayMulticastGroupMembersResult"; +const _RTGMGS = "RegisterTransitGatewayMulticastGroupSources"; +const _RTGMGSR = "RegisterTransitGatewayMulticastGroupSourcesRequest"; +const _RTGMGSRe = "RegisterTransitGatewayMulticastGroupSourcesResult"; +const _RTGPA = "RejectTransitGatewayPeeringAttachment"; +const _RTGPAR = "RejectTransitGatewayPeeringAttachmentRequest"; +const _RTGPARe = "RejectTransitGatewayPeeringAttachmentResult"; +const _RTGR = "ReplaceTransitGatewayRoute"; +const _RTGRR = "ReplaceTransitGatewayRouteRequest"; +const _RTGRRe = "ReplaceTransitGatewayRouteResult"; +const _RTGVA = "RejectTransitGatewayVpcAttachment"; +const _RTGVAR = "RejectTransitGatewayVpcAttachmentRequest"; +const _RTGVARe = "RejectTransitGatewayVpcAttachmentResult"; +const _RTI = "RouteTableId"; +const _RTISL = "RouteTableIdStringList"; +const _RTIe = "RequesterTgwInfo"; +const _RTIo = "RouteTableIds"; +const _RTL = "ReservationTypeList"; +const _RTLR = "ReservationTypeListRequest"; +const _RTLo = "RouteTableList"; +const _RTO = "ResourceTypeOptions"; +const _RTOL = "ResourceTypeOptionList"; +const _RTOe = "ResourceTypeOption"; +const _RTR = "RouteTableRoute"; +const _RTRL = "ResourceTypeRequestList"; +const _RTRe = "ResourceTypeRequest"; +const _RTV = "RemainingTotalValue"; +const _RTe = "ResourceType"; +const _RTel = "ReleaseTime"; +const _RTeq = "RequestTime"; +const _RTes = "ResourceTypes"; +const _RTese = "ReservationTypes"; +const _RTeso = "ResourceTag"; +const _RTesou = "ResourceTags"; +const _RTo = "RouteTable"; +const _RTou = "RouteTables"; +const _RTu = "RuleType"; +const _RUFO = "ReservationUnusedFinancialOwner"; +const _RUI = "ReplaceUnhealthyInstances"; +const _RUV = "RemainingUpfrontValue"; +const _RV = "ReturnValue"; +const _RVEC = "RejectVpcEndpointConnections"; +const _RVECR = "RejectVpcEndpointConnectionsRequest"; +const _RVECRe = "RejectVpcEndpointConnectionsResult"; +const _RVFRB = "RestoreVolumeFromRecycleBin"; +const _RVFRBR = "RestoreVolumeFromRecycleBinRequest"; +const _RVFRBRe = "RestoreVolumeFromRecycleBinResult"; +const _RVI = "ReferencingVpcId"; +const _RVIe = "RequesterVpcInfo"; +const _RVPC = "RejectVpcPeeringConnection"; +const _RVPCR = "RejectVpcPeeringConnectionRequest"; +const _RVPCRe = "RejectVpcPeeringConnectionResult"; +const _RVT = "ReplaceVpnTunnel"; +const _RVTR = "ReplaceVpnTunnelRequest"; +const _RVTRe = "ReplaceVpnTunnelResult"; +const _RVe = "ReservationValue"; +const _RWS = "ReplayWindowSize"; +const _Ra = "Ramdisk"; +const _Re = "References"; +const _Rea = "Reason"; +const _Rec = "Recurrence"; +const _Ref = "Reference"; +const _Reg = "Regions"; +const _Regi = "Region"; +const _Rem = "Remove"; +const _Rep = "Reports"; +const _Req = "Requested"; +const _Res = "Resources"; +const _Rese = "Reservations"; +const _Reser = "Reservation"; +const _Reso = "Resource"; +const _Resu = "Result"; +const _Ro = "Route"; +const _Rol = "Role"; +const _Rou = "Routes"; +const _Ru = "Rules"; +const _Rul = "Rule"; +const _S = "Source"; +const _SA = "SourceAddresses"; +const _SAI = "SecondaryAllocationIds"; +const _SAIe = "SecondaryAllocationId"; +const _SAL = "SubnetAssociationList"; +const _SAMLPA = "SAMLProviderArn"; +const _SAPFL = "SupportedAdditionalProcessorFeatureList"; +const _SAZ = "SingleAvailabilityZone"; +const _SAo = "SourceArn"; +const _SAou = "SourceAddress"; +const _SAt = "StartupAction"; +const _SAu = "SuggestedAccounts"; +const _SAub = "SubnetArn"; +const _SAubn = "SubnetAssociation"; +const _SAup = "SupportedArchitectures"; +const _SB = "S3Bucket"; +const _SBM = "SupportedBootModes"; +const _SBN = "S3BucketName"; +const _SBP = "S3BucketPrefix"; +const _SC = "SubnetConfigurations"; +const _SCA = "ServerCertificateArn"; +const _SCAE = "SerialConsoleAccessEnabled"; +const _SCB = "SourceCidrBlock"; +const _SCBS = "SubnetCidrBlockState"; +const _SCCDM = "SnapshotCopyCompletionDurationMinutes"; +const _SCL = "SubnetConfigurationsList"; +const _SCR = "SourceCapacityReservation"; +const _SCRI = "SourceCapacityReservationId"; +const _SCRIu = "SubnetCidrReservationId"; +const _SCRL = "SubnetCidrReservationList"; +const _SCRp = "SpotCapacityRebalance"; +const _SCRu = "SubnetCidrReservation"; +const _SCS = "ServiceConfigurationSet"; +const _SCSIG = "SustainedClockSpeedInGhz"; +const _SCc = "ScopeCount"; +const _SCe = "ServiceConfiguration"; +const _SCer = "ServiceConfigurations"; +const _SCn = "SnapshotConfiguration"; +const _SCt = "StaticCidr"; +const _SCu = "SubnetConfiguration"; +const _SD = "StartDate"; +const _SDC = "SourceDestCheck"; +const _SDCn = "SnapshotDiskContainer"; +const _SDI = "SendDiagnosticInterrupt"; +const _SDIH = "SlotDurationInHours"; +const _SDIR = "SendDiagnosticInterruptRequest"; +const _SDL = "SnapshotDetailList"; +const _SDLTV = "SuccessfullyDeletedLaunchTemplateVersions"; +const _SDPR = "StartDeclarativePoliciesReport"; +const _SDPRR = "StartDeclarativePoliciesReportRequest"; +const _SDPRRt = "StartDeclarativePoliciesReportResult"; +const _SDR = "StartDateRange"; +const _SDS = "SpotDatafeedSubscription"; +const _SDSe = "ServiceDetailSet"; +const _SDTRR = "SlotDateTimeRangeRequest"; +const _SDV = "SetDefaultVersion"; +const _SDe = "ServiceDetails"; +const _SDer = "ServiceDetail"; +const _SDn = "SnapshotDetails"; +const _SDna = "SnapshotDetail"; +const _SDp = "SpreadDomain"; +const _SDu = "SubDomain"; +const _SEL = "S3ExportLocation"; +const _SET = "SampledEndTime"; +const _SF = "SupportedFeatures"; +const _SFC = "SuccessfulFleetCancellations"; +const _SFD = "SuccessfulFleetDeletions"; +const _SFII = "SourceFpgaImageId"; +const _SFLS = "SpotFleetLaunchSpecification"; +const _SFM = "SpotFleetMonitoring"; +const _SFR = "SuccessfulFleetRequests"; +const _SFRC = "SpotFleetRequestConfigs"; +const _SFRCD = "SpotFleetRequestConfigData"; +const _SFRCS = "SpotFleetRequestConfigSet"; +const _SFRCp = "SpotFleetRequestConfig"; +const _SFRI = "SpotFleetRequestId"; +const _SFRIL = "SpotFleetRequestIdList"; +const _SFRIp = "SpotFleetRequestIds"; +const _SFRS = "SpotFleetRequestState"; +const _SFTS = "SpotFleetTagSpecification"; +const _SFTSL = "SpotFleetTagSpecificationList"; +const _SG = "SubGeography"; +const _SGA = "SecurityGroupArn"; +const _SGFV = "SecurityGroupForVpcs"; +const _SGFVL = "SecurityGroupForVpcList"; +const _SGFVe = "SecurityGroupForVpc"; +const _SGI = "SecurityGroupId"; +const _SGIL = "SecurityGroupIdList"; +const _SGIS = "SecurityGroupIdSet"; +const _SGISL = "SecurityGroupIdStringList"; +const _SGISLR = "SecurityGroupIdStringListRequest"; +const _SGIe = "SecurityGroupIds"; +const _SGIec = "SecurityGroupIdentifier"; +const _SGL = "SecurityGroupList"; +const _SGR = "SecurityGroupRules"; +const _SGRA = "SecurityGroupRuleArn"; +const _SGRD = "SecurityGroupRuleDescription"; +const _SGRDL = "SecurityGroupRuleDescriptionList"; +const _SGRDe = "SecurityGroupRuleDescriptions"; +const _SGRI = "SecurityGroupRuleIds"; +const _SGRIL = "SecurityGroupRuleIdList"; +const _SGRIe = "SecurityGroupRuleId"; +const _SGRL = "SecurityGroupRuleList"; +const _SGRR = "SecurityGroupRuleRequest"; +const _SGRS = "SecurityGroupReferencingSupport"; +const _SGRSe = "SecurityGroupReferenceSet"; +const _SGRU = "SecurityGroupRuleUpdate"; +const _SGRUL = "SecurityGroupRuleUpdateList"; +const _SGRe = "SecurityGroupRule"; +const _SGRec = "SecurityGroupReference"; +const _SGRecu = "SecurityGroupReferences"; +const _SGSL = "SecurityGroupStringList"; +const _SGVA = "SecurityGroupVpcAssociations"; +const _SGVAL = "SecurityGroupVpcAssociationList"; +const _SGVAe = "SecurityGroupVpcAssociation"; +const _SGe = "SecurityGroups"; +const _SGec = "SecurityGroup"; +const _SH = "StartHour"; +const _SI = "SubnetIds"; +const _SIA = "ScheduledInstanceAvailability"; +const _SIAS = "ScheduledInstanceAvailabilitySet"; +const _SIAT = "SupportedIpAddressTypes"; +const _SIATu = "SupportedIpAddressType"; +const _SIAe = "SecondaryInterfaceArn"; +const _SIAec = "SecondaryInterfaceAttachment"; +const _SIBDM = "ScheduledInstancesBlockDeviceMapping"; +const _SIBDMS = "ScheduledInstancesBlockDeviceMappingSet"; +const _SICBA = "SubnetIpv6CidrBlockAssociation"; +const _SICBAS = "SubnetIpv6CidrBlockAssociationSet"; +const _SICR = "SubnetIpv4CidrReservations"; +const _SICRu = "SubnetIpv6CidrReservations"; +const _SICS = "SuccessfulInstanceCreditSpecifications"; +const _SICSI = "SuccessfulInstanceCreditSpecificationItem"; +const _SICSS = "SuccessfulInstanceCreditSpecificationSet"; +const _SIE = "ScheduledInstancesEbs"; +const _SIGB = "SizeInGB"; +const _SII = "SourceImageId"; +const _SIIA = "ScheduledInstancesIpv6Address"; +const _SIIAL = "ScheduledInstancesIpv6AddressList"; +const _SIIALe = "SecondaryInterfaceIpv4AddressList"; +const _SIIAe = "SecondaryInterfaceIpv4Address"; +const _SIIIP = "ScheduledInstancesIamInstanceProfile"; +const _SIIL = "SecondaryInterfaceIdList"; +const _SIIRS = "ScheduledInstanceIdRequestSet"; +const _SIIc = "ScheduledInstanceIds"; +const _SIIch = "ScheduledInstanceId"; +const _SIIe = "SecondaryInterfaceIds"; +const _SIIec = "SecondaryInterfaceId"; +const _SIIo = "SourceInstanceId"; +const _SIL = "SecondaryInterfaceList"; +const _SILS = "ScheduledInstancesLaunchSpecification"; +const _SILu = "SubnetIdList"; +const _SIM = "ScheduledInstancesMonitoring"; +const _SIMB = "SizeInMiB"; +const _SINI = "ScheduledInstancesNetworkInterface"; +const _SINIS = "ScheduledInstancesNetworkInterfaceSet"; +const _SIP = "ScheduledInstancesPlacement"; +const _SIPE = "StaleIpPermissionsEgress"; +const _SIPI = "SourceIpamPoolId"; +const _SIPIAC = "ScheduledInstancesPrivateIpAddressConfig"; +const _SIPIAS = "SecondaryInterfacePrivateIpAddressSpecification"; +const _SIPIASL = "SecondaryInterfacePrivateIpAddressSpecificationList"; +const _SIPIASLR = "SecondaryInterfacePrivateIpAddressSpecificationListRequest"; +const _SIPIASR = "SecondaryInterfacePrivateIpAddressSpecificationRequest"; +const _SIPL = "SubnetIpPrefixesList"; +const _SIPS = "StaleIpPermissionSet"; +const _SIPt = "StaleIpPermission"; +const _SIPta = "StaleIpPermissions"; +const _SIPu = "SubnetIpPrefixes"; +const _SIR = "SpotInstanceRequests"; +const _SIRI = "SpotInstanceRequestId"; +const _SIRIL = "SpotInstanceRequestIdList"; +const _SIRIp = "SpotInstanceRequestIds"; +const _SIRL = "SpotInstanceRequestList"; +const _SIRR = "ScheduledInstanceRecurrenceRequest"; +const _SIRc = "ScheduledInstanceRecurrence"; +const _SIRo = "SourceImageRegion"; +const _SIRp = "SpotInstanceRequest"; +const _SIRt = "StartInstancesRequest"; +const _SIRta = "StartInstancesResult"; +const _SIRto = "StopInstancesRequest"; +const _SIRtop = "StopInstancesResult"; +const _SIS = "ScheduledInstanceSet"; +const _SISF = "SpotInstanceStateFault"; +const _SISGIS = "ScheduledInstancesSecurityGroupIdSet"; +const _SISL = "SnapshotIdStringList"; +const _SISLu = "SubnetIdStringList"; +const _SISp = "SpotInstanceStatus"; +const _SIT = "SpotInstanceType"; +const _SITR = "StoreImageTaskResults"; +const _SITRS = "StoreImageTaskResultSet"; +const _SITRt = "StoreImageTaskResult"; +const _SITe = "SecondaryInterfaceType"; +const _SITi = "SingleInstanceType"; +const _SIc = "ScheduledInstance"; +const _SIe = "ServiceId"; +const _SIec = "SecondaryInterfaces"; +const _SIeco = "SecondaryInterface"; +const _SIer = "ServiceIds"; +const _SIn = "SnapshotId"; +const _SIna = "SnapshotIds"; +const _SInap = "SnapshotInfo"; +const _SIo = "SourceIp"; +const _SIt = "StartingInstances"; +const _SIta = "StartInstances"; +const _SIto = "StoppingInstances"; +const _SItop = "StopInstances"; +const _SIu = "SubnetId"; +const _SIub = "SubsystemId"; +const _SK = "S3Key"; +const _SKo = "S3objectKey"; +const _SL = "SnapshotLocation"; +const _SLGR = "SearchLocalGatewayRoutes"; +const _SLGRR = "SearchLocalGatewayRoutesRequest"; +const _SLGRRe = "SearchLocalGatewayRoutesResult"; +const _SLVI = "ServiceLinkVirtualInterfaces"; +const _SLVIA = "ServiceLinkVirtualInterfaceArn"; +const _SLVII = "ServiceLinkVirtualInterfaceIds"; +const _SLVIIS = "ServiceLinkVirtualInterfaceIdSet"; +const _SLVIIe = "ServiceLinkVirtualInterfaceId"; +const _SLVIS = "ServiceLinkVirtualInterfaceSet"; +const _SLVIe = "ServiceLinkVirtualInterface"; +const _SLn = "SnapshotList"; +const _SLo = "S3Location"; +const _SLp = "SpreadLevel"; +const _SLt = "StorageLocation"; +const _SLtr = "StringList"; +const _SLu = "SubnetList"; +const _SLub = "SubscriptionList"; +const _SM = "ServiceManaged"; +const _SMC = "SensitiveMacCredentials"; +const _SMO = "SpotMarketOptions"; +const _SMPPOLP = "SpotMaxPricePercentageOverLowestPrice"; +const _SMS = "SpotMaintenanceStrategies"; +const _SMTP = "SpotMaxTotalPrice"; +const _SMt = "StatusMessage"; +const _SMta = "StateMessage"; +const _SN = "ServiceName"; +const _SNA = "ServiceNetworkArn"; +const _SNAe = "SecondaryNetworkArn"; +const _SNE = "SnsNotificationsEnabled"; +const _SNI = "SecondaryNetworkId"; +const _SNIA = "StartNetworkInsightsAnalysis"; +const _SNIAR = "StartNetworkInsightsAnalysisRequest"; +const _SNIARt = "StartNetworkInsightsAnalysisResult"; +const _SNIASA = "StartNetworkInsightsAccessScopeAnalysis"; +const _SNIASAR = "StartNetworkInsightsAccessScopeAnalysisRequest"; +const _SNIASARt = "StartNetworkInsightsAccessScopeAnalysisResult"; +const _SNICBA = "SecondaryNetworkIpv4CidrBlockAssociation"; +const _SNICBAL = "SecondaryNetworkIpv4CidrBlockAssociationList"; +const _SNIL = "SecondaryNetworkIdList"; +const _SNIe = "SecondaryNetworkIds"; +const _SNL = "SecondaryNetworkList"; +const _SNN = "ServiceNetworkName"; +const _SNS = "SriovNetSupport"; +const _SNSe = "SecondaryNetworkSupported"; +const _SNT = "SecondaryNetworkType"; +const _SNe = "SecondaryNetwork"; +const _SNec = "SecondaryNetworks"; +const _SNeq = "SequenceNumber"; +const _SNer = "ServiceNames"; +const _SNes = "SessionNumber"; +const _SO = "SpotOptions"; +const _SOR = "SpotOptionsRequest"; +const _SOS = "SkipOsShutdown"; +const _SOT = "S3ObjectTags"; +const _SOTL = "S3ObjectTagList"; +const _SOTb = "S3ObjectTag"; +const _SP = "S3Prefix"; +const _SPA = "SamlProviderArn"; +const _SPH = "SpotPriceHistory"; +const _SPHL = "SpotPriceHistoryList"; +const _SPI = "ServicePermissionId"; +const _SPIA = "SecondaryPrivateIpAddresses"; +const _SPIAC = "SecondaryPrivateIpAddressCount"; +const _SPIAe = "SecondaryPrivateIpAddress"; +const _SPL = "SourcePrefixLists"; +const _SPLo = "SourcePrefixList"; +const _SPR = "SourcePortRanges"; +const _SPRo = "SourcePortRange"; +const _SPS = "SpotPlacementScores"; +const _SPSp = "SpotPlacementScore"; +const _SPo = "SourcePorts"; +const _SPou = "SourcePort"; +const _SPp = "SpotPrice"; +const _SPpo = "SpotPlacement"; +const _SQPD = "SuccessfulQueuedPurchaseDeletions"; +const _SQPDS = "SuccessfulQueuedPurchaseDeletionSet"; +const _SQPDu = "SuccessfulQueuedPurchaseDeletion"; +const _SR = "ServiceRegion"; +const _SRBI = "SnapshotRecycleBinInfo"; +const _SRBIL = "SnapshotRecycleBinInfoList"; +const _SRD = "SupportedRegionDetail"; +const _SRDT = "SupportedRootDeviceTypes"; +const _SRO = "StaticRoutesOnly"; +const _SRS = "SupportedRegionSet"; +const _SRT = "SubnetRouteTable"; +const _SRe = "ServiceRegions"; +const _SRer = "ServiceResource"; +const _SRo = "SourceRegion"; +const _SRou = "SourceResource"; +const _SRt = "StateReason"; +const _SRu = "SupportedRegions"; +const _SRup = "SupportedRegion"; +const _SS = "SecondarySubnet"; +const _SSA = "SecondarySubnetArn"; +const _SSC = "SqlServerCredentials"; +const _SSG = "StaleSecurityGroup"; +const _SSGN = "SourceSecurityGroupName"; +const _SSGOI = "SourceSecurityGroupOwnerId"; +const _SSGS = "StaleSecurityGroupSet"; +const _SSI = "SourceSnapshotId"; +const _SSICBA = "SecondarySubnetIpv4CidrBlockAssociation"; +const _SSICBAL = "SecondarySubnetIpv4CidrBlockAssociationList"; +const _SSIL = "SecondarySubnetIdList"; +const _SSIe = "SecondarySubnetId"; +const _SSIec = "SecondarySubnetIds"; +const _SSIo = "SourceSnapshotIds"; +const _SSL = "SecondarySubnetList"; +const _SSLU = "SqlServerLicenseUsage"; +const _SSP = "SelfServicePortal"; +const _SSPU = "SelfServicePortalUrl"; +const _SSS = "StaticSourcesSupport"; +const _SSSAMLPA = "SelfServiceSAMLProviderArn"; +const _SSSPA = "SelfServiceSamlProviderArn"; +const _SST = "SampledStartTime"; +const _SSTR = "SlotStartTimeRange"; +const _SSTRR = "SlotStartTimeRangeRequest"; +const _SSUPS = "S3StorageUploadPolicySignature"; +const _SSe = "SecondarySubnets"; +const _SSer = "ServiceState"; +const _SSn = "SnapshotSet"; +const _SSs = "SseSpecification"; +const _SSt = "S3Storage"; +const _SSu = "SupportedStrategies"; +const _SSy = "SystemStatus"; +const _ST = "StartTime"; +const _STA = "SnsTopicArn"; +const _STC = "SpotTargetCapacity"; +const _STD = "SnapshotTaskDetail"; +const _STDS = "ServiceTypeDetailSet"; +const _STDe = "ServiceTypeDetail"; +const _STFR = "StoreTaskFailureReason"; +const _STGAI = "SourceTransitGatewayAttachmentId"; +const _STGAT = "SourceTransitGatewayAttachmentType"; +const _STGMG = "SearchTransitGatewayMulticastGroups"; +const _STGMGR = "SearchTransitGatewayMulticastGroupsRequest"; +const _STGMGRe = "SearchTransitGatewayMulticastGroupsResult"; +const _STGR = "SearchTransitGatewayRoutes"; +const _STGRR = "SearchTransitGatewayRoutesRequest"; +const _STGRRe = "SearchTransitGatewayRoutesResult"; +const _STH = "SessionTimeoutHours"; +const _STR = "StateTransitionReason"; +const _STRk = "SkipTunnelReplacement"; +const _STS = "SnapshotTierStatuses"; +const _STSn = "SnapshotTierStatus"; +const _STSt = "StoreTaskState"; +const _STT = "StateTransitionTime"; +const _STa = "SampleType"; +const _STam = "SampleTime"; +const _STe = "ServiceType"; +const _STo = "SourceType"; +const _STp = "SplitTunnel"; +const _STs = "SseType"; +const _STt = "StorageTier"; +const _SU = "SensitiveUrl"; +const _SUC = "SupportedUsageClasses"; +const _SUD = "SensitiveUserData"; +const _SV = "SourceVersion"; +const _SVESPDV = "StartVpcEndpointServicePrivateDnsVerification"; +const _SVESPDVR = "StartVpcEndpointServicePrivateDnsVerificationRequest"; +const _SVESPDVRt = "StartVpcEndpointServicePrivateDnsVerificationResult"; +const _SVI = "SourceVolumeId"; +const _SVIu = "SubsystemVendorId"; +const _SVT = "SupportedVirtualizationTypes"; +const _SVh = "ShellVersion"; +const _SVo = "SourceVpc"; +const _SVu = "SupportedVersions"; +const _SWD = "StartWeekDay"; +const _S_ = "S3"; +const _Sc = "Schedule"; +const _Sco = "Scope"; +const _Scop = "Scopes"; +const _Scor = "Score"; +const _Se = "Service"; +const _Set = "Settings"; +const _Si = "Signature"; +const _Siz = "Size"; +const _Sn = "Snapshots"; +const _Sna = "Snapshot"; +const _So = "Sources"; +const _Soc = "Sockets"; +const _Sof = "Software"; +const _St = "State"; +const _Sta = "Status"; +const _Star = "Start"; +const _Stat = "Statistic"; +const _Statu = "Statuses"; +const _Sto = "Storage"; +const _Str = "Strategy"; +const _Su = "Subnet"; +const _Sub = "Subscriptions"; +const _Subn = "Subnets"; +const _Subs = "Subscription"; +const _Suc = "Successful"; +const _Succ = "Success"; +const _T = "Tags"; +const _TAAC = "TotalAvailableAddressCount"; +const _TAC = "TotalAvailableCapacity"; +const _TACo = "TotalAddressCount"; +const _TAI = "TransferAccountId"; +const _TB = "TunnelBandwidth"; +const _TC = "TargetConfigurations"; +const _TCR = "TargetConfigurationRequest"; +const _TCRS = "TargetConfigurationRequestSet"; +const _TCS = "TargetCapacitySpecification"; +const _TCSR = "TargetCapacitySpecificationRequest"; +const _TCSS = "TerminateConnectionStatusSet"; +const _TCSe = "TerminateConnectionStatus"; +const _TCUT = "TargetCapacityUnitType"; +const _TCVC = "TerminateClientVpnConnections"; +const _TCVCR = "TerminateClientVpnConnectionsRequest"; +const _TCVCRe = "TerminateClientVpnConnectionsResult"; +const _TCVR = "TargetConfigurationValueRollup"; +const _TCVS = "TargetConfigurationValueSet"; +const _TCa = "TargetConfiguration"; +const _TCar = "TargetCapacity"; +const _TCo = "TotalCapacity"; +const _TD = "TrafficDirection"; +const _TDL = "TagDescriptionList"; +const _TDa = "TagDescription"; +const _TDe = "TerminationDelay"; +const _TE = "TargetEnvironment"; +const _TED = "TermEndDate"; +const _TET = "TcpEstablishedTimeout"; +const _TEo = "TokenEndpoint"; +const _TFC = "TotalFulfilledCapacity"; +const _TFMIMB = "TotalFpgaMemoryInMiB"; +const _TG = "TransitGateway"; +const _TGA = "TransitGatewayAddress"; +const _TGAA = "TransitGatewayAttachmentAssociation"; +const _TGABC = "TransitGatewayAttachmentBgpConfiguration"; +const _TGABCL = "TransitGatewayAttachmentBgpConfigurationList"; +const _TGAI = "TransitGatewayAttachmentId"; +const _TGAIr = "TransitGatewayAttachmentIds"; +const _TGAL = "TransitGatewayAttachmentList"; +const _TGAP = "TransitGatewayAttachmentPropagations"; +const _TGAPL = "TransitGatewayAttachmentPropagationList"; +const _TGAPr = "TransitGatewayAttachmentPropagation"; +const _TGAr = "TransitGatewayAttachments"; +const _TGAra = "TransitGatewayAttachment"; +const _TGAran = "TransitGatewayArn"; +const _TGArans = "TransitGatewayAssociation"; +const _TGAransi = "TransitGatewayAsn"; +const _TGC = "TransitGatewayConnect"; +const _TGCB = "TransitGatewayCidrBlocks"; +const _TGCBSL = "TransitGatewayCidrBlockStringList"; +const _TGCL = "TransitGatewayConnectList"; +const _TGCO = "TransitGatewayConnectOptions"; +const _TGCP = "TransitGatewayConnectPeer"; +const _TGCPC = "TransitGatewayConnectPeerConfiguration"; +const _TGCPI = "TransitGatewayConnectPeerId"; +const _TGCPISL = "TransitGatewayConnectPeerIdStringList"; +const _TGCPIr = "TransitGatewayConnectPeerIds"; +const _TGCPL = "TransitGatewayConnectPeerList"; +const _TGCPr = "TransitGatewayConnectPeers"; +const _TGCRBO = "TransitGatewayConnectRequestBgpOptions"; +const _TGCa = "TargetGroupsConfig"; +const _TGCr = "TransitGatewayConnects"; +const _TGI = "TransitGatewayId"; +const _TGISL = "TransitGatewayIdStringList"; +const _TGIr = "TransitGatewayIds"; +const _TGL = "TransitGatewayList"; +const _TGMD = "TransitGatewayMulticastDomain"; +const _TGMDA = "TransitGatewayMulticastDomainArn"; +const _TGMDAL = "TransitGatewayMulticastDomainAssociationList"; +const _TGMDAr = "TransitGatewayMulticastDomainAssociation"; +const _TGMDAra = "TransitGatewayMulticastDomainAssociations"; +const _TGMDGM = "TransitGatewayMulticastDeregisteredGroupMembers"; +const _TGMDGS = "TransitGatewayMulticastDeregisteredGroupSources"; +const _TGMDI = "TransitGatewayMulticastDomainId"; +const _TGMDISL = "TransitGatewayMulticastDomainIdStringList"; +const _TGMDIr = "TransitGatewayMulticastDomainIds"; +const _TGMDL = "TransitGatewayMulticastDomainList"; +const _TGMDO = "TransitGatewayMulticastDomainOptions"; +const _TGMDr = "TransitGatewayMulticastDomains"; +const _TGMG = "TransitGatewayMulticastGroup"; +const _TGMGL = "TransitGatewayMulticastGroupList"; +const _TGMIMB = "TotalGpuMemoryInMiB"; +const _TGMP = "TransitGatewayMeteringPolicy"; +const _TGMPE = "TransitGatewayMeteringPolicyEntry"; +const _TGMPEL = "TransitGatewayMeteringPolicyEntryList"; +const _TGMPEr = "TransitGatewayMeteringPolicyEntries"; +const _TGMPI = "TransitGatewayMeteringPolicyId"; +const _TGMPISL = "TransitGatewayMeteringPolicyIdStringList"; +const _TGMPIr = "TransitGatewayMeteringPolicyIds"; +const _TGMPL = "TransitGatewayMeteringPolicyList"; +const _TGMPR = "TransitGatewayMeteringPolicyRule"; +const _TGMPr = "TransitGatewayMeteringPolicies"; +const _TGMRGM = "TransitGatewayMulticastRegisteredGroupMembers"; +const _TGMRGS = "TransitGatewayMulticastRegisteredGroupSources"; +const _TGNIIL = "TransitGatewayNetworkInterfaceIdList"; +const _TGO = "TransitGatewayOptions"; +const _TGOI = "TransitGatewayOwnerId"; +const _TGP = "TransitGatewayPropagation"; +const _TGPA = "TransitGatewayPeeringAttachment"; +const _TGPAL = "TransitGatewayPeeringAttachmentList"; +const _TGPAO = "TransitGatewayPeeringAttachmentOptions"; +const _TGPAr = "TransitGatewayPeeringAttachments"; +const _TGPLA = "TransitGatewayPrefixListAttachment"; +const _TGPLR = "TransitGatewayPrefixListReference"; +const _TGPLRS = "TransitGatewayPrefixListReferenceSet"; +const _TGPLRr = "TransitGatewayPrefixListReferences"; +const _TGPR = "TransitGatewayPolicyRule"; +const _TGPRMD = "TransitGatewayPolicyRuleMetaData"; +const _TGPT = "TransitGatewayPolicyTable"; +const _TGPTA = "TransitGatewayPolicyTableAssociation"; +const _TGPTAL = "TransitGatewayPolicyTableAssociationList"; +const _TGPTE = "TransitGatewayPolicyTableEntries"; +const _TGPTEL = "TransitGatewayPolicyTableEntryList"; +const _TGPTEr = "TransitGatewayPolicyTableEntry"; +const _TGPTI = "TransitGatewayPolicyTableId"; +const _TGPTISL = "TransitGatewayPolicyTableIdStringList"; +const _TGPTIr = "TransitGatewayPolicyTableIds"; +const _TGPTL = "TransitGatewayPolicyTableList"; +const _TGPTr = "TransitGatewayPolicyTables"; +const _TGR = "TransitGatewayRoute"; +const _TGRA = "TransitGatewayRouteAttachment"; +const _TGRAL = "TransitGatewayRouteAttachmentList"; +const _TGRL = "TransitGatewayRouteList"; +const _TGRO = "TransitGatewayRequestOptions"; +const _TGRT = "TransitGatewayRouteTable"; +const _TGRTA = "TransitGatewayRouteTableAnnouncement"; +const _TGRTAI = "TransitGatewayRouteTableAnnouncementId"; +const _TGRTAISL = "TransitGatewayRouteTableAnnouncementIdStringList"; +const _TGRTAIr = "TransitGatewayRouteTableAnnouncementIds"; +const _TGRTAL = "TransitGatewayRouteTableAnnouncementList"; +const _TGRTALr = "TransitGatewayRouteTableAssociationList"; +const _TGRTAr = "TransitGatewayRouteTableAnnouncements"; +const _TGRTAra = "TransitGatewayRouteTableAssociation"; +const _TGRTI = "TransitGatewayRouteTableId"; +const _TGRTISL = "TransitGatewayRouteTableIdStringList"; +const _TGRTIr = "TransitGatewayRouteTableIds"; +const _TGRTL = "TransitGatewayRouteTableList"; +const _TGRTP = "TransitGatewayRouteTablePropagations"; +const _TGRTPL = "TransitGatewayRouteTablePropagationList"; +const _TGRTPr = "TransitGatewayRouteTablePropagation"; +const _TGRTR = "TransitGatewayRouteTableRoute"; +const _TGRTr = "TransitGatewayRouteTables"; +const _TGSIL = "TransitGatewaySubnetIdList"; +const _TGVA = "TransitGatewayVpcAttachment"; +const _TGVAL = "TransitGatewayVpcAttachmentList"; +const _TGVAO = "TransitGatewayVpcAttachmentOptions"; +const _TGVAr = "TransitGatewayVpcAttachments"; +const _TGa = "TargetGroup"; +const _TGar = "TargetGroups"; +const _TGr = "TransitGateways"; +const _THP = "TotalHourlyPrice"; +const _TI = "TerminateInstances"; +const _TIA = "TrunkInterfaceAssociation"; +const _TIAIL = "TrunkInterfaceAssociationIdList"; +const _TIAL = "TrunkInterfaceAssociationList"; +const _TIAT = "TrafficIpAddressType"; +const _TIC = "TotalInstanceCount"; +const _TICa = "TargetInstanceCount"; +const _TICu = "TunnelInsideCidr"; +const _TII = "TrunkInterfaceId"; +const _TIIC = "TunnelInsideIpv6Cidr"; +const _TIIV = "TunnelInsideIpVersion"; +const _TIMIMB = "TotalInferenceMemoryInMiB"; +const _TIR = "TerminateInstancesRequest"; +const _TIRe = "TerminateInstancesResult"; +const _TIWE = "TerminateInstancesWithExpiration"; +const _TIa = "TargetId"; +const _TIar = "TargetIops"; +const _TIe = "TenantId"; +const _TIer = "TerminatingInstances"; +const _TK = "TagKey"; +const _TL = "TagList"; +const _TLSGB = "TotalLocalStorageGB"; +const _TLSGBR = "TotalLocalStorageGBRequest"; +const _TLV = "TrackLatestVersion"; +const _TMAE = "TargetMultiAttachEnabled"; +const _TMF = "TrafficMirrorFilter"; +const _TMFI = "TrafficMirrorFilterId"; +const _TMFIL = "TrafficMirrorFilterIdList"; +const _TMFIr = "TrafficMirrorFilterIds"; +const _TMFR = "TrafficMirrorFilterRule"; +const _TMFRI = "TrafficMirrorFilterRuleId"; +const _TMFRIL = "TrafficMirrorFilterRuleIdList"; +const _TMFRIr = "TrafficMirrorFilterRuleIds"; +const _TMFRL = "TrafficMirrorFilterRuleList"; +const _TMFRS = "TrafficMirrorFilterRuleSet"; +const _TMFRr = "TrafficMirrorFilterRules"; +const _TMFS = "TrafficMirrorFilterSet"; +const _TMFr = "TrafficMirrorFilters"; +const _TMMIMB = "TotalMediaMemoryInMiB"; +const _TMNSL = "TrafficMirrorNetworkServiceList"; +const _TMPR = "TrafficMirrorPortRange"; +const _TMPRR = "TrafficMirrorPortRangeRequest"; +const _TMS = "TrafficMirrorSession"; +const _TMSI = "TrafficMirrorSessionId"; +const _TMSIL = "TrafficMirrorSessionIdList"; +const _TMSIr = "TrafficMirrorSessionIds"; +const _TMSS = "TrafficMirrorSessionSet"; +const _TMSr = "TrafficMirrorSessions"; +const _TMT = "TrafficMirrorTarget"; +const _TMTI = "TrafficMirrorTargetId"; +const _TMTIL = "TrafficMirrorTargetIdList"; +const _TMTIr = "TrafficMirrorTargetIds"; +const _TMTS = "TrafficMirrorTargetSet"; +const _TMTr = "TrafficMirrorTargets"; +const _TN = "TokenName"; +const _TNC = "TargetNetworkCidr"; +const _TNDMIMB = "TotalNeuronDeviceMemoryInMiB"; +const _TNI = "TargetNetworkId"; +const _TNS = "TargetNetworkSet"; +const _TNa = "TargetNetwork"; +const _TO = "TunnelOptions"; +const _TOAT = "TransferOfferAcceptedTimestamp"; +const _TOET = "TransferOfferExpirationTimestamp"; +const _TOL = "TunnelOptionsList"; +const _TOu = "TunnelOption"; +const _TP = "ToPort"; +const _TPC = "ThreadsPerCore"; +const _TPCL = "ThreadsPerCoreList"; +const _TPT = "TrustProviderType"; +const _TPr = "TransportProtocol"; +const _TR = "ThroughResources"; +const _TRC = "TargetResourceCount"; +const _TRD = "TemporaryRestoreDays"; +const _TRS = "ThroughResourcesStatement"; +const _TRSL = "ThroughResourcesStatementList"; +const _TRSR = "ThroughResourcesStatementRequest"; +const _TRSRL = "ThroughResourcesStatementRequestList"; +const _TRTI = "TargetRouteTableId"; +const _TRV = "TargetReservationValue"; +const _TRVS = "TargetReservationValueSet"; +const _TRh = "ThroughResource"; +const _TRi = "TimeRanges"; +const _TRim = "TimeRange"; +const _TS = "TagSpecifications"; +const _TSD = "TermStartDate"; +const _TSIGB = "TotalSizeInGB"; +const _TSIH = "TotalScheduledInstanceHours"; +const _TSL = "TagSpecificationList"; +const _TST = "TieringStartTime"; +const _TSTa = "TaskStartTime"; +const _TSa = "TagSpecification"; +const _TSag = "TagSet"; +const _TSar = "TargetSubnet"; +const _TSarg = "TargetSize"; +const _TSas = "TaskState"; +const _TSp = "TpmSupport"; +const _TT = "TrafficType"; +const _TTC = "TotalTargetCapacity"; +const _TTGAI = "TransportTransitGatewayAttachmentId"; +const _TTa = "TaskType"; +const _TTar = "TargetThroughput"; +const _TTr = "TransferType"; +const _TUC = "TotalUnavailableCapacity"; +const _TUP = "TotalUpfrontPrice"; +const _TV = "TargetVersion"; +const _TVC = "TotalVCpus"; +const _TVSI = "TargetVpcSubnetId"; +const _TVT = "TargetVolumeType"; +const _TVo = "TokenValue"; +const _Ta = "Tag"; +const _Te = "Tenancy"; +const _Ter = "Term"; +const _Th = "Throughput"; +const _Ti = "Timestamp"; +const _Tie = "Tier"; +const _To = "To"; +const _Ty = "Type"; +const _U = "Unsuccessful"; +const _UA = "UpdatedAt"; +const _UB = "UserBucket"; +const _UBD = "UserBucketDetails"; +const _UC = "UltraserverCount"; +const _UCMMTK = "UpdateCapacityManagerMonitoredTagKeys"; +const _UCMMTKR = "UpdateCapacityManagerMonitoredTagKeysRequest"; +const _UCMMTKRp = "UpdateCapacityManagerMonitoredTagKeysResult"; +const _UCMOA = "UpdateCapacityManagerOrganizationsAccess"; +const _UCMOAR = "UpdateCapacityManagerOrganizationsAccessRequest"; +const _UCMOARp = "UpdateCapacityManagerOrganizationsAccessResult"; +const _UCTL = "UsageClassTypeList"; +const _UCs = "UsageCount"; +const _UD = "UefiData"; +const _UDLTV = "UnsuccessfullyDeletedLaunchTemplateVersions"; +const _UDp = "UpdatedDate"; +const _UDpd = "UpdateDate"; +const _UDs = "UserData"; +const _UE = "UploadEnd"; +const _UEA = "UpdateEffectiveAt"; +const _UF = "UpfrontFee"; +const _UFD = "UnsuccessfulFleetDeletions"; +const _UFR = "UnsuccessfulFleetRequests"; +const _UG = "UserGroups"; +const _UGSL = "UserGroupStringList"; +const _UGs = "UserGroup"; +const _UI = "UserId"; +const _UIA = "UnassignedIpv6Addresses"; +const _UIAR = "UnassignIpv6AddressesRequest"; +const _UIARn = "UnassignIpv6AddressesResult"; +const _UIAn = "UnassignIpv6Addresses"; +const _UIC = "UsedInstanceCount"; +const _UICRA = "UpdateInterruptibleCapacityReservationAllocation"; +const _UICRAR = "UpdateInterruptibleCapacityReservationAllocationRequest"; +const _UICRARp = "UpdateInterruptibleCapacityReservationAllocationResult"; +const _UICS = "UnsuccessfulInstanceCreditSpecifications"; +const _UICSI = "UnsuccessfulInstanceCreditSpecificationItem"; +const _UICSIE = "UnsuccessfulInstanceCreditSpecificationItemError"; +const _UICSS = "UnsuccessfulInstanceCreditSpecificationSet"; +const _UIE = "UserInfoEndpoint"; +const _UIEn = "UnsuccessfulItemError"; +const _UIGP = "UserIdGroupPairs"; +const _UIGPL = "UserIdGroupPairList"; +const _UIGPS = "UserIdGroupPairSet"; +const _UIGPs = "UserIdGroupPair"; +const _UIL = "UnsuccessfulItemList"; +const _UILs = "UserIdList"; +const _UIP = "UnknownIpPermissions"; +const _UIPn = "UnassignedIpv6Prefixes"; +const _UIR = "UnmonitorInstancesRequest"; +const _UIRn = "UnmonitorInstancesResult"; +const _UIS = "UnsuccessfulItemSet"; +const _UISL = "UserIdStringList"; +const _UIn = "UnsuccessfulItem"; +const _UInm = "UnmonitorInstances"; +const _UIs = "UserIds"; +const _ULI = "UseLongIds"; +const _ULIA = "UseLongIdsAggregated"; +const _UO = "UsageOperation"; +const _UOUT = "UsageOperationUpdateTime"; +const _UP = "UpfrontPrice"; +const _UPIA = "UnassignPrivateIpAddresses"; +const _UPIAR = "UnassignPrivateIpAddressesRequest"; +const _UPNGA = "UnassignPrivateNatGatewayAddress"; +const _UPNGAR = "UnassignPrivateNatGatewayAddressRequest"; +const _UPNGARn = "UnassignPrivateNatGatewayAddressResult"; +const _UPS = "UploadPolicySignature"; +const _UPp = "UploadPolicy"; +const _UPs = "UsagePrice"; +const _URBOI = "UnusedReservationBillingOwnerId"; +const _US = "UsageStrategy"; +const _USGRDE = "UpdateSecurityGroupRuleDescriptionsEgress"; +const _USGRDER = "UpdateSecurityGroupRuleDescriptionsEgressRequest"; +const _USGRDERp = "UpdateSecurityGroupRuleDescriptionsEgressResult"; +const _USGRDI = "UpdateSecurityGroupRuleDescriptionsIngress"; +const _USGRDIR = "UpdateSecurityGroupRuleDescriptionsIngressRequest"; +const _USGRDIRp = "UpdateSecurityGroupRuleDescriptionsIngressResult"; +const _USR = "UnlockSnapshotRequest"; +const _USRn = "UnlockSnapshotResult"; +const _UST = "UdpStreamTimeout"; +const _USn = "UnlockSnapshot"; +const _USp = "UploadSize"; +const _USpl = "UploadStart"; +const _UT = "UpdateTime"; +const _UTP = "UserTrustProvider"; +const _UTPT = "UserTrustProviderType"; +const _UTd = "UdpTimeout"; +const _UTl = "UltraserverType"; +const _Ur = "Url"; +const _Us = "Username"; +const _V = "Value"; +const _VA = "VpcAttachment"; +const _VAE = "VerifiedAccessEndpoint"; +const _VAECO = "VerifiedAccessEndpointCidrOptions"; +const _VAEEO = "VerifiedAccessEndpointEniOptions"; +const _VAEI = "VerifiedAccessEndpointId"; +const _VAEIL = "VerifiedAccessEndpointIdList"; +const _VAEIe = "VerifiedAccessEndpointIds"; +const _VAEL = "VerifiedAccessEndpointList"; +const _VAELBO = "VerifiedAccessEndpointLoadBalancerOptions"; +const _VAEPR = "VerifiedAccessEndpointPortRange"; +const _VAEPRL = "VerifiedAccessEndpointPortRangeList"; +const _VAERO = "VerifiedAccessEndpointRdsOptions"; +const _VAES = "VerifiedAccessEndpointStatus"; +const _VAESIL = "VerifiedAccessEndpointSubnetIdList"; +const _VAET = "VerifiedAccessEndpointTargets"; +const _VAETD = "VerifiedAccessEndpointTargetDns"; +const _VAETIA = "VerifiedAccessEndpointTargetIpAddress"; +const _VAETL = "VerifiedAccessEndpointTargetList"; +const _VAETe = "VerifiedAccessEndpointTarget"; +const _VAEe = "VerifiedAccessEndpoints"; +const _VAG = "VerifiedAccessGroup"; +const _VAGA = "VerifiedAccessGroupArn"; +const _VAGI = "VerifiedAccessGroupId"; +const _VAGIL = "VerifiedAccessGroupIdList"; +const _VAGIe = "VerifiedAccessGroupIds"; +const _VAGL = "VerifiedAccessGroupList"; +const _VAGe = "VerifiedAccessGroups"; +const _VAI = "VerifiedAccessInstance"; +const _VAICSD = "VerifiedAccessInstanceCustomSubDomain"; +const _VAII = "VerifiedAccessInstanceId"; +const _VAIIL = "VerifiedAccessInstanceIdList"; +const _VAIIe = "VerifiedAccessInstanceIds"; +const _VAIL = "VerifiedAccessInstanceList"; +const _VAILC = "VerifiedAccessInstanceLoggingConfiguration"; +const _VAILCL = "VerifiedAccessInstanceLoggingConfigurationList"; +const _VAIOVCC = "VerifiedAccessInstanceOpenVpnClientConfiguration"; +const _VAIOVCCL = "VerifiedAccessInstanceOpenVpnClientConfigurationList"; +const _VAIOVCCR = "VerifiedAccessInstanceOpenVpnClientConfigurationRoute"; +const _VAIOVCCRL = "VerifiedAccessInstanceOpenVpnClientConfigurationRouteList"; +const _VAIUTPCC = "VerifiedAccessInstanceUserTrustProviderClientConfiguration"; +const _VAIe = "VerifiedAccessInstances"; +const _VAL = "VerifiedAccessLogs"; +const _VALCWLD = "VerifiedAccessLogCloudWatchLogsDestination"; +const _VALCWLDO = "VerifiedAccessLogCloudWatchLogsDestinationOptions"; +const _VALDS = "VerifiedAccessLogDeliveryStatus"; +const _VALKDFD = "VerifiedAccessLogKinesisDataFirehoseDestination"; +const _VALKDFDO = "VerifiedAccessLogKinesisDataFirehoseDestinationOptions"; +const _VALO = "VerifiedAccessLogOptions"; +const _VALSD = "VerifiedAccessLogS3Destination"; +const _VALSDO = "VerifiedAccessLogS3DestinationOptions"; +const _VALo = "VolumeAttachmentList"; +const _VALp = "VpcAttachmentList"; +const _VASSR = "VerifiedAccessSseSpecificationRequest"; +const _VASSRe = "VerifiedAccessSseSpecificationResponse"; +const _VATP = "VerifiedAccessTrustProvider"; +const _VATPC = "VerifiedAccessTrustProviderCondensed"; +const _VATPCL = "VerifiedAccessTrustProviderCondensedList"; +const _VATPI = "VerifiedAccessTrustProviderId"; +const _VATPIL = "VerifiedAccessTrustProviderIdList"; +const _VATPIe = "VerifiedAccessTrustProviderIds"; +const _VATPL = "VerifiedAccessTrustProviderList"; +const _VATPe = "VerifiedAccessTrustProviders"; +const _VAo = "VolumeAttachment"; +const _VAp = "VpcAttachments"; +const _VBPAE = "VpcBlockPublicAccessExclusion"; +const _VBPAEIL = "VpcBlockPublicAccessExclusionIdList"; +const _VBPAEL = "VpcBlockPublicAccessExclusionList"; +const _VBPAEp = "VpcBlockPublicAccessExclusions"; +const _VBPAO = "VpcBlockPublicAccessOptions"; +const _VC = "VpnConcentrator"; +const _VCBA = "VpcCidrBlockAssociation"; +const _VCBAS = "VpcCidrBlockAssociationSet"; +const _VCBS = "VpcCidrBlockState"; +const _VCC = "VCpuCount"; +const _VCCR = "VCpuCountRange"; +const _VCCRR = "VCpuCountRangeRequest"; +const _VCDSC = "VpnConnectionDeviceSampleConfiguration"; +const _VCDT = "VpnConnectionDeviceTypes"; +const _VCDTI = "VpnConnectionDeviceTypeId"; +const _VCDTL = "VpnConnectionDeviceTypeList"; +const _VCDTp = "VpnConnectionDeviceType"; +const _VCI = "VpnConcentratorId"; +const _VCISL = "VpnConcentratorIdStringList"; +const _VCISLp = "VpnConnectionIdStringList"; +const _VCIp = "VpnConnectionId"; +const _VCIpn = "VpnConcentratorIds"; +const _VCIpno = "VpnConnectionIds"; +const _VCIpu = "VCpuInfo"; +const _VCL = "VpcClassicLink"; +const _VCLIL = "VpcClassicLinkIdList"; +const _VCLL = "VpcClassicLinkList"; +const _VCLp = "VpnConcentratorList"; +const _VCLpn = "VpnConnectionList"; +const _VCO = "VpnConnectionOptions"; +const _VCOS = "VpnConnectionOptionsSpecification"; +const _VCa = "ValidCores"; +const _VCp = "VpnConnection"; +const _VCpn = "VpnConcentrators"; +const _VCpno = "VpnConnections"; +const _VD = "VersionDescription"; +const _VDo = "VolumeDetail"; +const _VE = "VpcEndpoint"; +const _VEA = "VpcEndpointAssociations"; +const _VEAS = "VpcEndpointAssociationSet"; +const _VEAp = "VpcEndpointAssociation"; +const _VEC = "VpcEncryptionControl"; +const _VECC = "VpcEncryptionControlConfiguration"; +const _VECE = "VpcEncryptionControlExclusion"; +const _VECEp = "VpcEncryptionControlExclusions"; +const _VECI = "VpcEncryptionControlId"; +const _VECIL = "VpcEncryptionControlIdList"; +const _VECIp = "VpcEncryptionControlIds"; +const _VECIpc = "VpcEndpointConnectionId"; +const _VECL = "VpcEncryptionControlList"; +const _VECS = "VpcEndpointConnectionSet"; +const _VECp = "VpcEncryptionControls"; +const _VECpc = "VpcEndpointConnections"; +const _VECpcn = "VpcEndpointConnection"; +const _VEI = "VpcEndpointIds"; +const _VEIL = "VpcEndpointIdList"; +const _VEIp = "VpcEndpointId"; +const _VENCR = "VpcEncryptionNonCompliantResource"; +const _VENCRL = "VpcEncryptionNonCompliantResourceList"; +const _VEO = "VpcEndpointOwner"; +const _VEPS = "VpcEndpointPolicySupported"; +const _VER = "VpcEndpointRegion"; +const _VERTIL = "VpcEndpointRouteTableIdList"; +const _VES = "VpcEndpointService"; +const _VESGIL = "VpcEndpointSecurityGroupIdList"; +const _VESIL = "VpcEndpointServiceIdList"; +const _VESILp = "VpcEndpointSubnetIdList"; +const _VESp = "VpnEcmpSupport"; +const _VESpc = "VpcEndpointState"; +const _VESpcn = "VpcEndpointSet"; +const _VET = "VpcEndpointType"; +const _VEa = "ValidationError"; +const _VEp = "VpcEndpoints"; +const _VF = "ValidFrom"; +const _VFR = "ValidationFailureReason"; +const _VG = "VpnGateway"; +const _VGI = "VpnGatewayId"; +const _VGISL = "VpnGatewayIdStringList"; +const _VGIp = "VpnGatewayIds"; +const _VGL = "VpnGatewayList"; +const _VGp = "VpnGateways"; +const _VI = "VpcId"; +const _VICBA = "VpcIpv6CidrBlockAssociation"; +const _VICBAS = "VpcIpv6CidrBlockAssociationSet"; +const _VIR = "VolumeInitializationRate"; +const _VISL = "VolumeIdStringList"; +const _VISLp = "VpcIdStringList"; +const _VIe = "VendorId"; +const _VIl = "VlanId"; +const _VIo = "VolumeId"; +const _VIol = "VolumeIds"; +const _VIp = "VpcIds"; +const _VL = "VpcLattice"; +const _VLE = "VpcLatticeExclusion"; +const _VLo = "VolumeList"; +const _VLp = "VpcList"; +const _VM = "VolumesModifications"; +const _VML = "VolumeModificationList"; +const _VMe = "VerificationMethod"; +const _VMo = "VolumeModification"; +const _VN = "VirtualName"; +const _VNI = "VirtualNetworkId"; +const _VNe = "VersionNumber"; +const _VOI = "VolumeOwnerId"; +const _VOIp = "VpcOwnerId"; +const _VP = "VpnProtocol"; +const _VPC = "VpcPeeringConnection"; +const _VPCI = "VpcPeeringConnectionId"; +const _VPCIL = "VpcPeeringConnectionIdList"; +const _VPCIp = "VpcPeeringConnectionIds"; +const _VPCL = "VpcPeeringConnectionList"; +const _VPCOD = "VpcPeeringConnectionOptionsDescription"; +const _VPCSR = "VpcPeeringConnectionStateReason"; +const _VPCVI = "VpcPeeringConnectionVpcInfo"; +const _VPCp = "VpcPeeringConnections"; +const _VPE = "VpcPeeringExclusion"; +const _VPG = "VirtualPrivateGateway"; +const _VPGE = "VirtualPrivateGatewayExclusion"; +const _VPp = "VpnPort"; +const _VPpc = "VpcPeering"; +const _VRBI = "VolumeRecycleBinInfo"; +const _VRBIL = "VolumeRecycleBinInfoList"; +const _VS = "VolumeStatuses"; +const _VSA = "VolumeStatusAction"; +const _VSAL = "VolumeStatusActionsList"; +const _VSAS = "VolumeStatusAttachmentStatus"; +const _VSASL = "VolumeStatusAttachmentStatusList"; +const _VSD = "VolumeStatusDetails"; +const _VSDL = "VolumeStatusDetailsList"; +const _VSE = "VolumeStatusEvent"; +const _VSEL = "VolumeStatusEventsList"; +const _VSI = "VolumeStatusInfo"; +const _VSIo = "VolumeStatusItem"; +const _VSL = "ValueStringList"; +const _VSLe = "VersionStringList"; +const _VSLo = "VolumeStatusList"; +const _VSR = "VpnStaticRoute"; +const _VSRL = "VpnStaticRouteList"; +const _VSo = "VolumeSize"; +const _VSol = "VolumeStatus"; +const _VT = "VolumeType"; +const _VTL = "VgwTelemetryList"; +const _VTLO = "VpnTunnelLogOptions"; +const _VTLOS = "VpnTunnelLogOptionsSpecification"; +const _VTLi = "VirtualizationTypeList"; +const _VTOIA = "VpnTunnelOutsideIpAddress"; +const _VTOS = "VpnTunnelOptionsSpecification"; +const _VTOSL = "VpnTunnelOptionsSpecificationsList"; +const _VTPC = "ValidThreadsPerCore"; +const _VTS = "VirtualizationTypeSet"; +const _VTg = "VgwTelemetry"; +const _VTi = "VirtualizationTypes"; +const _VTir = "VirtualizationType"; +const _VU = "ValidUntil"; +const _VW = "ValidationWarning"; +const _Va = "Values"; +const _Ve = "Versions"; +const _Ven = "Vendor"; +const _Ver = "Version"; +const _Vl = "Vlan"; +const _Vo = "Volumes"; +const _Vol = "Volume"; +const _Vp = "Vpc"; +const _Vpc = "Vpcs"; +const _W = "Warning"; +const _WBC = "WithdrawByoipCidr"; +const _WBCR = "WithdrawByoipCidrRequest"; +const _WBCRi = "WithdrawByoipCidrResult"; +const _WC = "WithCooldown"; +const _WCe = "WeightedCapacity"; +const _WL = "WorkloadsList"; +const _WM = "WarningMessage"; +const _WU = "WakeUp"; +const _We = "Weight"; +const _Wo = "Workloads"; +const _ZI = "ZoneId"; +const _ZISL = "ZoneIdStringList"; +const _ZIo = "ZoneIds"; +const _ZN = "ZoneName"; +const _ZNSL = "ZoneNameStringList"; +const _ZNo = "ZoneNames"; +const _ZT = "ZoneType"; +const _a = "associations"; +const _aA = "asnAssociation"; +const _aAC = "availableAddressCount"; +const _aAI = "awsAccountId"; +const _aAId = "addressAllocationId"; +const _aAS = "asnAssociationSet"; +const _aASA = "autoAcceptSharedAssociations"; +const _aASAu = "autoAcceptSharedAttachments"; +const _aASc = "accountAttributeSet"; +const _aASd = "additionalAccountSet"; +const _aASt = "attachedApplianceSet"; +const _aAc = "accessAll"; +const _aAp = "applianceArn"; +const _aBHP = "actualBlockHourlyPrice"; +const _aC = "availableCapacity"; +const _aCIA = "associateCarrierIpAddress"; +const _aCT = "archivalCompleteTime"; +const _aCc = "acceleratorCount"; +const _aCd = "addressCount"; +const _aD = "activeDirectory"; +const _aDNL = "allocationDefaultNetmaskLength"; +const _aDRFRV = "allowDnsResolutionFromRemoteVpc"; +const _aDRTI = "associationDefaultRouteTableId"; +const _aDS = "additionalDetailSet"; +const _aDT = "additionalDetailType"; +const _aDn = "announcementDirection"; +const _aDp = "applicationDomain"; +const _aE = "authorizationEndpoint"; +const _aEC = "analyzedEniCount"; +const _aEFLCLTRV = "allowEgressFromLocalClassicLinkToRemoteVpc"; +const _aEFLVTRCL = "allowEgressFromLocalVpcToRemoteClassicLink"; +const _aEIO = "autoEnableIO"; +const _aES = "attachedEbsStatus"; +const _aF = "addressFamily"; +const _aFNI = "additionalFlexibleNetworkInterfaces"; +const _aFS = "analysisFindingSet"; +const _aI = "allocationId"; +const _aIA = "assignedIpv6Addresses"; +const _aIAC = "availableIpAddressCount"; +const _aIAOC = "assignIpv6AddressOnCreation"; +const _aIC = "availableInstanceCapacity"; +const _aICv = "availableInstanceCount"; +const _aIPS = "assignedIpv6PrefixSet"; +const _aIPSs = "assignedIpv4PrefixSet"; +const _aIS = "activeInstanceSet"; +const _aISS = "allowedImagesSettingsState"; +const _aISc = "accountIdSet"; +const _aITS = "allowedInstanceTypeSet"; +const _aIc = "accountId"; +const _aId = "additionalInfo"; +const _aIm = "amiId"; +const _aIp = "appleInternal"; +const _aIs = "associationId"; +const _aIss = "assetId"; +const _aIt = "attachmentId"; +const _aIu = "autoImport"; +const _aL = "accountLevel"; +const _aLI = "amiLaunchIndex"; +const _aLT = "attachmentLimitType"; +const _aLc = "accessLogs"; +const _aM = "availabilityMode"; +const _aMIT = "allowsMultipleInstanceTypes"; +const _aML = "allocationMetadataList"; +const _aMNL = "allocationMinNetmaskLength"; +const _aMNLl = "allocationMaxNetmaskLength"; +const _aMS = "acceleratorManufacturerSet"; +const _aMSp = "applianceModeSupport"; +const _aN = "attributeName"; +const _aNS = "acceleratorNameSet"; +const _aNc = "accountName"; +const _aO = "authenticationOptions"; +const _aOI = "addressOwnerId"; +const _aP = "autoPlacement"; +const _aPCO = "accepterPeeringConnectionOptions"; +const _aPHS = "alternatePathHintSet"; +const _aPIA = "associatePublicIpAddress"; +const _aPIAS = "assignedPrivateIpAddressesSet"; +const _aPICB = "amazonProvidedIpv6CidrBlock"; +const _aPS = "addedPrincipalSet"; +const _aPSs = "asPathSet"; +const _aPZ = "autoProvisionZones"; +const _aPl = "allowedPrincipals"; +const _aR = "allowReassignment"; +const _aRA = "associatedRoleArn"; +const _aRAd = "additionalRoutesAvailable"; +const _aRAs = "associatedResourceAccessibility"; +const _aRAss = "associatedResourceArn"; +const _aRC = "acceptedRouteCount"; +const _aRP = "areRoutesPersisted"; +const _aRS = "associatedRoleSet"; +const _aRSl = "allocationRuleSet"; +const _aRSu = "autoRecoverySupported"; +const _aRTS = "allocationResourceTagSet"; +const _aRc = "aclRule"; +const _aRcc = "acceptanceRequired"; +const _aRd = "addressRegion"; +const _aRl = "allowReassociation"; +const _aRs = "associatedResource"; +const _aRu = "authorizationRule"; +const _aRut = "autoRecovery"; +const _aRw = "awsRegion"; +const _aS = "associationState"; +const _aSA = "amazonSideAsn"; +const _aSI = "autoScalingIps"; +const _aSS = "amdSevSnp"; +const _aSSs = "associatedSubnetSet"; +const _aSSt = "attributeSummarySet"; +const _aSc = "activityStatus"; +const _aSct = "actionsSet"; +const _aSd = "addressSet"; +const _aSdd = "addressesSet"; +const _aSl = "allocationStrategy"; +const _aSn = "analysisStatus"; +const _aSs = "associationStatus"; +const _aSss = "associationSet"; +const _aSt = "attachmentSet"; +const _aStt = "attachmentState"; +const _aStta = "attachmentStatuses"; +const _aSw = "awsService"; +const _aT = "addressTransfer"; +const _aTGAI = "accepterTransitGatewayAttachmentId"; +const _aTI = "accepterTgwInfo"; +const _aTMMB = "acceleratorTotalMemoryMiB"; +const _aTN = "associatedTargetNetwork"; +const _aTS = "addressTransferStatus"; +const _aTSc = "acceleratorTypeSet"; +const _aTSd = "addressTransferSet"; +const _aTd = "advertisementType"; +const _aTdd = "addressType"; +const _aTddr = "addressingType"; +const _aTl = "allocationType"; +const _aTll = "allocationTime"; +const _aTs = "associationTarget"; +const _aTt = "attachTime"; +const _aTtt = "attachedTo"; +const _aTtta = "attachmentType"; +const _aV = "attributeValue"; +const _aVC = "availableVCpus"; +const _aVI = "accepterVpcInfo"; +const _aVS = "attributeValueSet"; +const _aVTS = "activeVpnTunnelStatus"; +const _aZ = "availabilityZone"; +const _aZG = "availabilityZoneGroup"; +const _aZI = "availabilityZoneId"; +const _aZIS = "availabilityZoneIdSet"; +const _aZIv = "availabilityZoneInfo"; +const _aZS = "availabilityZoneSet"; +const _ac = "acl"; +const _acc = "accelerators"; +const _act = "active"; +const _ad = "address"; +const _af = "affinity"; +const _am = "amount"; +const _ar = "arn"; +const _arc = "architecture"; +const _as = "asn"; +const _ass = "association"; +const _at = "attachment"; +const _att = "attribute"; +const _atta = "attachments"; +const _b = "bucket"; +const _bA = "bgpAsn"; +const _bAE = "bgpAsnExtended"; +const _bBIG = "baselineBandwidthInGbps"; +const _bBIM = "baselineBandwidthInMbps"; +const _bC = "byoipCidr"; +const _bCS = "byoipCidrSet"; +const _bCg = "bgpConfigurations"; +const _bCy = "bytesConverted"; +const _bDM = "blockDeviceMapping"; +const _bDMS = "blockDeviceMappingSet"; +const _bDMl = "blockDurationMinutes"; +const _bEBM = "baselineEbsBandwidthMbps"; +const _bEDNS = "baseEndpointDnsNameSet"; +const _bI = "bundleId"; +const _bII = "branchInterfaceId"; +const _bIT = "bundleInstanceTask"; +const _bITS = "bundleInstanceTasksSet"; +const _bIa = "baselineIops"; +const _bLE = "bgpLogEnabled"; +const _bLGA = "bgpLogGroupArn"; +const _bLOF = "bgpLogOutputFormat"; +const _bM = "bootMode"; +const _bMa = "bareMetal"; +const _bN = "bucketName"; +const _bO = "bgpOptions"; +const _bOu = "bucketOwner"; +const _bP = "burstablePerformance"; +const _bPAS = "blockPublicAccessStates"; +const _bPF = "baselinePerformanceFactors"; +const _bPS = "burstablePerformanceSupported"; +const _bS = "byoasnSet"; +const _bSa = "baseSystem"; +const _bSf = "bfdStatus"; +const _bSg = "bgpStatus"; +const _bT = "bannerText"; +const _bTIMB = "baselineThroughputInMBps"; +const _bW = "bandwidthWeighting"; +const _bWa = "bandwidthWeightings"; +const _bl = "blackhole"; +const _by = "byoasn"; +const _byt = "bytes"; +const _c = "component"; +const _cA = "componentArn"; +const _cAS = "capacityAllocationSet"; +const _cAUS = "coipAddressUsageSet"; +const _cAe = "certificateArn"; +const _cAo = "componentAccount"; +const _cAr = "createdAt"; +const _cB = "cidrBlock"; +const _cBA = "cidrBlockAssociation"; +const _cBAS = "cidrBlockAssociationSet"; +const _cBDH = "capacityBlockDurationHours"; +const _cBDM = "capacityBlockDurationMinutes"; +const _cBEDH = "capacityBlockExtensionDurationHours"; +const _cBEED = "capacityBlockExtensionEndDate"; +const _cBEOI = "capacityBlockExtensionOfferingId"; +const _cBEOS = "capacityBlockExtensionOfferingSet"; +const _cBEPD = "capacityBlockExtensionPurchaseDate"; +const _cBES = "capacityBlockExtensionStatus"; +const _cBESD = "capacityBlockExtensionStartDate"; +const _cBESa = "capacityBlockExtensionSet"; +const _cBI = "capacityBlockId"; +const _cBOI = "capacityBlockOfferingId"; +const _cBOS = "capacityBlockOfferingSet"; +const _cBS = "capacityBlockSet"; +const _cBSS = "capacityBlockStatusSet"; +const _cBSi = "cidrBlockState"; +const _cBSid = "cidrBlockSet"; +const _cBr = "createdBy"; +const _cC = "currencyCode"; +const _cCB = "clientCidrBlock"; +const _cCO = "clientConnectOptions"; +const _cCRFE = "cancelCapacityReservationFleetError"; +const _cCl = "clientConfiguration"; +const _cCo = "coreCount"; +const _cCoi = "coipCidr"; +const _cCp = "cpuCredits"; +const _cD = "createDate"; +const _cDC = "creationDateCondition"; +const _cDM = "completionDurationMinutes"; +const _cDr = "creationDate"; +const _cDre = "createdDate"; +const _cE = "connectionEvents"; +const _cECSD = "cidrEndpointsCustomSubDomain"; +const _cED = "commitmentEndDate"; +const _cET = "connectionEstablishedTime"; +const _cETo = "connectionEndTime"; +const _cEr = "cronExpression"; +const _cF = "containerFormat"; +const _cFS = "currentFleetState"; +const _cG = "carrierGateway"; +const _cGC = "customerGatewayConfiguration"; +const _cGI = "carrierGatewayId"; +const _cGIu = "customerGatewayId"; +const _cGS = "carrierGatewaySet"; +const _cGSu = "customerGatewaySet"; +const _cGu = "customerGateway"; +const _cGur = "currentGeneration"; +const _cI = "carrierIp"; +const _cIA = "clientIpv6Address"; +const _cIBM = "currentInstanceBootMode"; +const _cIC = "committedInstanceCount"; +const _cIi = "cidrIp"; +const _cIid = "cidrIpv6"; +const _cIidr = "cidrIpv4"; +const _cIl = "clientIp"; +const _cIli = "clientId"; +const _cIo = "componentId"; +const _cIom = "commitmentInfo"; +const _cIon = "connectionId"; +const _cIop = "coIp"; +const _cIor = "coreInfo"; +const _cLB = "classicLoadBalancers"; +const _cLBC = "classicLoadBalancersConfig"; +const _cLBL = "classicLoadBalancerListener"; +const _cLBO = "clientLoginBannerOptions"; +const _cLDS = "classicLinkDnsSupported"; +const _cLE = "classicLinkEnabled"; +const _cLO = "connectionLogOptions"; +const _cMDEI = "capacityManagerDataExportId"; +const _cMDES = "capacityManagerDataExportSet"; +const _cMKE = "customerManagedKeyEnabled"; +const _cMP = "capacityManagerProvided"; +const _cMS = "capacityManagerStatus"; +const _cMSp = "cpuManufacturerSet"; +const _cMTKS = "capacityManagerTagKeySet"; +const _cN = "commonName"; +const _cNA = "coreNetworkArn"; +const _cNAA = "coreNetworkAttachmentArn"; +const _cNAo = "connectionNotificationArn"; +const _cNI = "connectionNotificationId"; +const _cNIo = "coreNetworkId"; +const _cNS = "connectionNotificationState"; +const _cNSo = "connectionNotificationSet"; +const _cNT = "connectionNotificationType"; +const _cNo = "connectionNotification"; +const _cO = "cpuOptions"; +const _cOI = "customerOwnedIp"; +const _cOIP = "customerOwnedIpv4Pool"; +const _cOP = "coolOffPeriod"; +const _cOPEO = "coolOffPeriodExpiresOn"; +const _cOi = "cidrOptions"; +const _cP = "coipPool"; +const _cPC = "connectPeerConfiguration"; +const _cPI = "coipPoolId"; +const _cPS = "coipPoolSet"; +const _cR = "capacityReservation"; +const _cRA = "capacityReservationArn"; +const _cRBRS = "capacityReservationBillingRequestSet"; +const _cRCC = "clientRootCertificateChain"; +const _cREO = "clientRouteEnforcementOptions"; +const _cRFA = "capacityReservationFleetArn"; +const _cRFI = "capacityReservationFleetId"; +const _cRFS = "capacityReservationFleetSet"; +const _cRGS = "capacityReservationGroupSet"; +const _cRI = "capacityReservationId"; +const _cRIS = "capacityReservationIdSet"; +const _cRIa = "capacityReservationInfo"; +const _cRL = "certificateRevocationList"; +const _cRO = "capacityReservationOptions"; +const _cRP = "capacityReservationPreference"; +const _cRRGA = "capacityReservationResourceGroupArn"; +const _cRS = "capacityReservationSet"; +const _cRSS = "capacityReservationStatusSet"; +const _cRSa = "capacityReservationSpecification"; +const _cRT = "capacityReservationTarget"; +const _cRa = "capacityRebalance"; +const _cRo = "componentRegion"; +const _cS = "cidrSet"; +const _cSBN = "certificateS3BucketName"; +const _cSFRS = "currentSpotFleetRequestState"; +const _cSOK = "certificateS3ObjectKey"; +const _cSl = "clientSecret"; +const _cSo = "conditionSet"; +const _cSom = "complianceStatus"; +const _cSon = "configurationState"; +const _cSonn = "connectionStatuses"; +const _cSr = "creditSpecification"; +const _cSu = "currentState"; +const _cSur = "currentStatus"; +const _cT = "clientToken"; +const _cTC = "connectionTrackingConfiguration"; +const _cTI = "conversionTaskId"; +const _cTS = "connectionTrackingSpecification"; +const _cTo = "conversionTasks"; +const _cTom = "completeTime"; +const _cTomp = "completionTime"; +const _cTon = "conversionTask"; +const _cTonn = "connectivityType"; +const _cTr = "createTime"; +const _cTre = "creationTime"; +const _cTrea = "creationTimestamp"; +const _cVE = "clientVpnEndpoint"; +const _cVEI = "clientVpnEndpointId"; +const _cVP = "createVolumePermission"; +const _cVTN = "clientVpnTargetNetworks"; +const _cWL = "cloudWatchLogs"; +const _cWLO = "cloudWatchLogOptions"; +const _ca = "category"; +const _ch = "checksum"; +const _ci = "cidr"; +const _co = "code"; +const _con = "connections"; +const _conf = "configured"; +const _confi = "config"; +const _cont = "context"; +const _cor = "cores"; +const _cou = "count"; +const _cp = "cpu"; +const _d = "destination"; +const _dA = "destinationArn"; +const _dAIT = "denyAllIgwTraffic"; +const _dART = "defaultAssociationRouteTable"; +const _dAS = "destinationAddressSet"; +const _dASe = "deprovisionedAddressSet"; +const _dASi = "disableApiStop"; +const _dAT = "disableApiTermination"; +const _dAe = "destinationAddress"; +const _dC = "destinationCidr"; +const _dCA = "domainCertificateArn"; +const _dCAR = "deliverCrossAccountRole"; +const _dCB = "destinationCidrBlock"; +const _dCR = "destinationCapacityReservation"; +const _dCS = "dhcpConfigurationSet"; +const _dCe = "defaultCores"; +const _dCh = "dhcpConfiguration"; +const _dE = "dnsEntry"; +const _dEC = "dataExportCount"; +const _dEKI = "dataEncryptionKeyId"; +const _dEQCPI = "defaultEnaQueueCountPerInterface"; +const _dES = "dnsEntrySet"; +const _dFA = "defaultForAz"; +const _dHIS = "dedicatedHostIdSet"; +const _dHS = "dedicatedHostsSupported"; +const _dHT = "dnsHostnameType"; +const _dI = "deviceIndex"; +const _dICB = "destinationIpv6CidrBlock"; +const _dIF = "diskImageFormat"; +const _dIS = "diskImageSize"; +const _dIe = "destinationIp"; +const _dIi = "directoryId"; +const _dIis = "diskImage"; +const _dLEM = "deliverLogsErrorMessage"; +const _dLPA = "deliverLogsPermissionArn"; +const _dLS = "deliverLogsStatus"; +const _dMGM = "deregisteredMulticastGroupMembers"; +const _dMGS = "deregisteredMulticastGroupSources"; +const _dN = "deviceName"; +const _dNCI = "defaultNetworkCardIndex"; +const _dNII = "deregisteredNetworkInterfaceIds"; +const _dNn = "dnsName"; +const _dO = "dhcpOptions"; +const _dOI = "dhcpOptionsId"; +const _dOS = "dhcpOptionsSet"; +const _dOST = "disconnectOnSessionTimeout"; +const _dOT = "deleteOnTermination"; +const _dOe = "destinationOptions"; +const _dOev = "deviceOptions"; +const _dOn = "dnsOptions"; +const _dP = "deliveryPreference"; +const _dPLI = "destinationPrefixListId"; +const _dPLS = "destinationPrefixListSet"; +const _dPR = "destinationPortRange"; +const _dPRS = "destinationPortRangeSet"; +const _dPRT = "defaultPropagationRouteTable"; +const _dPS = "destinationPortSet"; +const _dPe = "deregistrationProtection"; +const _dPes = "destinationPort"; +const _dR = "dryRun"; +const _dRDAI = "defaultResourceDiscoveryAssociationId"; +const _dRDI = "defaultResourceDiscoveryId"; +const _dRIT = "dnsRecordIpType"; +const _dRRV = "deleteReplacedRootVolume"; +const _dRS = "dataRetentionSupport"; +const _dRSa = "dataResponseSet"; +const _dRTA = "defaultRouteTableAssociation"; +const _dRTP = "defaultRouteTablePropagation"; +const _dRe = "destinationRegion"; +const _dReb = "debuggingRestrictions"; +const _dRi = "discoveryRegion"; +const _dRy = "dynamicRouting"; +const _dS = "dnsServer"; +const _dSCR = "deletedSubnetCidrReservation"; +const _dSRS = "deleteSnapshotResultSet"; +const _dSe = "destinationSet"; +const _dSel = "deliveryStatus"; +const _dSeli = "deliveryStream"; +const _dSn = "dnsSupport"; +const _dT = "deletionTime"; +const _dTA = "dpdTimeoutAction"; +const _dTC = "deprecationTimeCondition"; +const _dTCT = "defaultTargetCapacityType"; +const _dTET = "defaultTcpEstablishedTimeout"; +const _dTGAI = "destinationTransitGatewayAttachmentId"; +const _dTGAT = "destinationTransitGatewayAttachmentType"; +const _dTPC = "defaultThreadsPerCore"; +const _dTPS = "deviceTrustProviderSet"; +const _dTPT = "deviceTrustProviderType"; +const _dTR = "dTraceRestrictions"; +const _dTS = "dpdTimeoutSeconds"; +const _dTe = "deprecationTime"; +const _dTel = "deleteTime"; +const _dTele = "deletionTimestamp"; +const _dTi = "disablingTime"; +const _dTis = "disabledTime"; +const _dUST = "defaultUdpStreamTimeout"; +const _dUT = "defaultUdpTimeout"; +const _dV = "destinationVpc"; +const _dVC = "defaultVCpus"; +const _dVD = "deviceValidationDomain"; +const _dVN = "defaultVersionNumber"; +const _dVe = "desiredVersion"; +const _dVef = "defaultVersion"; +const _da = "data"; +const _de = "description"; +const _dea = "deadline"; +const _def = "default"; +const _det = "details"; +const _dev = "device"; +const _di = "direction"; +const _dim = "dimension"; +const _dis = "disks"; +const _do = "domain"; +const _du = "duration"; +const _dua = "dualstack"; +const _e = "egress"; +const _eA = "eniAddress"; +const _eAC = "externalAuthorityConfiguration"; +const _eAn = "enableAcceleration"; +const _eAx = "exclusionsAllowed"; +const _eB = "egressBytes"; +const _eC = "errorCode"; +const _eCI = "ebsCardIndex"; +const _eCS = "ebsCardSet"; +const _eCTP = "excessCapacityTerminationPolicy"; +const _eCn = "encryptionControl"; +const _eCx = "explanationCode"; +const _eD = "endDate"; +const _eDH = "enableDnsHostnames"; +const _eDS = "enableDnsSupport"; +const _eDT = "earliestDatapointTimestamp"; +const _eDTn = "endDateType"; +const _eDf = "effectiveDate"; +const _eDn = "enableDns64"; +const _eDnd = "endpointDomain"; +const _eDv = "eventDescription"; +const _eEA = "endpointEniAddress"; +const _eEBD = "ebsEncryptionByDefault"; +const _eEI = "endpointEniId"; +const _eFRS = "egressFilterRuleSet"; +const _eFS = "elasticFileSystem"; +const _eGAI = "elasticGpuAssociationId"; +const _eGAS = "elasticGpuAssociationState"; +const _eGASl = "elasticGpuAssociationSet"; +const _eGAT = "elasticGpuAssociationTime"; +const _eGH = "elasticGpuHealth"; +const _eGI = "elasticGpuId"; +const _eGS = "elasticGpuSet"; +const _eGSS = "elasticGpuSpecificationSet"; +const _eGSl = "elasticGpuState"; +const _eGT = "elasticGpuType"; +const _eH = "endHour"; +const _eI = "exchangeId"; +const _eIAA = "elasticInferenceAcceleratorArn"; +const _eIAAI = "elasticInferenceAcceleratorAssociationId"; +const _eIAAS = "elasticInferenceAcceleratorAssociationState"; +const _eIAASl = "elasticInferenceAcceleratorAssociationSet"; +const _eIAAT = "elasticInferenceAcceleratorAssociationTime"; +const _eIAS = "elasticInferenceAcceleratorSet"; +const _eIAT = "endpointIpAddressType"; +const _eITI = "exportImageTaskId"; +const _eITS = "exportImageTaskSet"; +const _eITSn = "encryptionInTransitSupported"; +const _eITSx = "excludedInstanceTypeSet"; +const _eIb = "ebsInfo"; +const _eIf = "efaInfo"; +const _eIn = "eniId"; +const _eIv = "eventInformation"; +const _eIve = "eventId"; +const _eIx = "exclusionId"; +const _eKKI = "encryptionKmsKeyId"; +const _eLADI = "enableLniAtDeviceIndex"; +const _eLBL = "elasticLoadBalancerListener"; +const _eM = "errorMessage"; +const _eNAUM = "enableNetworkAddressUsageMetrics"; +const _eO = "ebsOptimized"; +const _eOI = "ebsOptimizedInfo"; +const _eOIG = "egressOnlyInternetGateway"; +const _eOIGI = "egressOnlyInternetGatewayId"; +const _eOIGS = "egressOnlyInternetGatewaySet"; +const _eOS = "ebsOptimizedSupport"; +const _eOn = "enclaveOptions"; +const _eP = "egressPackets"; +const _ePG = "enablePrivateGua"; +const _ePS = "excludePathSet"; +const _eQC = "enaQueueCount"; +const _eQN = "ec2QueryName"; +const _eRI = "externalResourceIdentifier"; +const _eRNDAAAAR = "enableResourceNameDnsAAAARecord"; +const _eRNDAR = "enableResourceNameDnsARecord"; +const _eS = "ephemeralStorage"; +const _eSE = "enaSrdEnabled"; +const _eSS = "enaSrdSpecification"; +const _eSSn = "enaSrdSupported"; +const _eST = "eventSubType"; +const _eSUE = "enaSrdUdpEnabled"; +const _eSUS = "enaSrdUdpSpecification"; +const _eSf = "efaSupported"; +const _eSn = "encryptionSupport"; +const _eSna = "enaSupport"; +const _eSnc = "encryptionState"; +const _eSnt = "entrySet"; +const _eSr = "errorSet"; +const _eSv = "eventsSet"; +const _eSx = "explanationSet"; +const _eT = "expirationTime"; +const _eTI = "exportTaskId"; +const _eTLC = "enableTunnelLifecycleControl"; +const _eTS = "exportToS3"; +const _eTSi = "eipTagSet"; +const _eTSx = "exportTaskSet"; +const _eTTCIS = "estimatedTimeToCompleteInSeconds"; +const _eTn = "endTime"; +const _eTna = "enablingTime"; +const _eTnab = "enabledTime"; +const _eTnd = "endpointType"; +const _eTv = "eventType"; +const _eTx = "exportTask"; +const _eWD = "endWeekDay"; +const _eb = "ebs"; +const _en = "enabled"; +const _enc = "encrypted"; +const _end = "end"; +const _enf = "enforced"; +const _er = "error"; +const _ev = "event"; +const _f = "filter"; +const _fA = "federatedAuthentication"; +const _fAD = "filterAtDestination"; +const _fAS = "filterAtSource"; +const _fAi = "firstAddress"; +const _fC = "fulfilledCapacity"; +const _fCRS = "fleetCapacityReservationSet"; +const _fCS = "findingComponentSet"; +const _fCa = "failureCode"; +const _fDN = "fipsDnsName"; +const _fE = "fipsEnabled"; +const _fEQS = "flexibleEnaQueuesSupport"; +const _fF = "fileFormat"; +const _fFCS = "failedFleetCancellationSet"; +const _fFi = "findingsFound"; +const _fI = "findingId"; +const _fIA = "fpgaImageAttribute"; +const _fIAS = "filterInArnSet"; +const _fIGI = "fpgaImageGlobalId"; +const _fII = "fpgaImageId"; +const _fIS = "fleetInstanceSet"; +const _fISp = "fpgaImageSet"; +const _fIl = "fleetId"; +const _fIp = "fpgaInfo"; +const _fLI = "flowLogId"; +const _fLIS = "flowLogIdSet"; +const _fLISa = "fastLaunchImageSet"; +const _fLS = "flowLogSet"; +const _fLSl = "flowLogStatus"; +const _fM = "failureMessage"; +const _fOAS = "filterOutArnSet"; +const _fODC = "fulfilledOnDemandCapacity"; +const _fP = "fromPort"; +const _fPCS = "forwardPathComponentSet"; +const _fPi = "filesystemProtections"; +const _fPix = "fixedPrice"; +const _fQPDS = "failedQueuedPurchaseDeletionSet"; +const _fR = "failureReason"; +const _fRa = "fastRestored"; +const _fS = "fleetSet"; +const _fSR = "firewallStatelessRule"; +const _fSRS = "fastSnapshotRestoreSet"; +const _fSRSES = "fastSnapshotRestoreStateErrorSet"; +const _fSRi = "firewallStatefulRule"; +const _fSSIB = "fullSnapshotSizeInBytes"; +const _fSST = "firstSlotStartTime"; +const _fSl = "fleetState"; +const _fTE = "freeTierEligible"; +const _fa = "fault"; +const _fo = "force"; +const _for = "format"; +const _fp = "fpgas"; +const _fr = "from"; +const _fre = "frequency"; +const _g = "group"; +const _gA = "groupArn"; +const _gAS = "gatewayAssociationState"; +const _gD = "groupDescription"; +const _gI = "gatewayId"; +const _gIA = "groupIpAddress"; +const _gIp = "gpuInfo"; +const _gIr = "groupId"; +const _gK = "greKey"; +const _gLBAS = "gatewayLoadBalancerArnSet"; +const _gLBEI = "gatewayLoadBalancerEndpointId"; +const _gLN = "groupLongName"; +const _gM = "groupMember"; +const _gN = "groupName"; +const _gOI = "groupOwnerId"; +const _gPS = "gpuPartitionSize"; +const _gS = "geographySet"; +const _gSr = "groupSet"; +const _gSro = "groupSource"; +const _gp = "gpus"; +const _gr = "groups"; +const _h = "hypervisor"; +const _hCP = "hiveCompatiblePartitions"; +const _hE = "httpEndpoint"; +const _hI = "hostId"; +const _hIS = "hostIdSet"; +const _hM = "hostMaintenance"; +const _hO = "hibernationOptions"; +const _hP = "hostProperties"; +const _hPI = "httpProtocolIpv6"; +const _hPRHL = "httpPutResponseHopLimit"; +const _hPo = "hourlyPrice"; +const _hR = "hostRecovery"; +const _hRGA = "hostResourceGroupArn"; +const _hRI = "hostReservationId"; +const _hRS = "historyRecordSet"; +const _hRSo = "hostReservationSet"; +const _hS = "hostSet"; +const _hSa = "haStatus"; +const _hSi = "hibernationSupported"; +const _hT = "httpTokens"; +const _hTE = "httpTokensEnforced"; +const _hTo = "hostnameType"; +const _hZI = "hostedZoneId"; +const _i = "id"; +const _iA = "ipv6Addresses"; +const _iAA = "ipv6AddressAttribute"; +const _iAC = "ipv6AddressCount"; +const _iAES = "imageAncestryEntrySet"; +const _iAI = "includeAllInstances"; +const _iAIn = "inferenceAcceleratorInfo"; +const _iAPI = "ipv4AddressesPerInterface"; +const _iAPIp = "ipv6AddressesPerInterface"; +const _iAPSI = "ipv4AddressesPerSecondaryInterface"; +const _iAS = "interfaceAssociationSet"; +const _iASp = "ipv6AddressesSet"; +const _iAT = "ipAddressType"; +const _iATOI = "includeAllTagsOfInstance"; +const _iAm = "imageAllowed"; +const _iAn = "interfaceAssociation"; +const _iAp = "ipAddress"; +const _iApa = "ipamArn"; +const _iApv = "ipv6Address"; +const _iB = "ingressBytes"; +const _iBPAS = "imageBlockPublicAccessState"; +const _iC = "instanceCount"; +const _iCA = "interruptibleCapacityAllocation"; +const _iCAS = "ipv6CidrAssociationSet"; +const _iCB = "ipv6CidrBlock"; +const _iCBA = "ipv6CidrBlockAssociation"; +const _iCBAS = "ipv4CidrBlockAssociationSet"; +const _iCBASp = "ipv6CidrBlockAssociationSet"; +const _iCBS = "ipv6CidrBlockState"; +const _iCBSp = "ipv6CidrBlockSet"; +const _iCBn = "insideCidrBlocks"; +const _iCE = "instanceConnectEndpoint"; +const _iCEA = "instanceConnectEndpointArn"; +const _iCEI = "instanceConnectEndpointId"; +const _iCES = "instanceConnectEndpointSet"; +const _iCRI = "interruptibleCapacityReservationId"; +const _iCS = "imageCriterionSet"; +const _iCSS = "instanceCreditSpecificationSet"; +const _iCn = "instanceCounts"; +const _iCp = "ipv6Cidr"; +const _iD = "imageData"; +const _iDAS = "ipamDiscoveredAccountSet"; +const _iDPAS = "ipamDiscoveredPublicAddressSet"; +const _iDRCS = "ipamDiscoveredResourceCidrSet"; +const _iDs = "isDefault"; +const _iE = "instanceExport"; +const _iEI = "instanceEventId"; +const _iERVT = "ipamExternalResourceVerificationToken"; +const _iERVTA = "ipamExternalResourceVerificationTokenArn"; +const _iERVTI = "ipamExternalResourceVerificationTokenId"; +const _iERVTS = "ipamExternalResourceVerificationTokenSet"; +const _iEW = "instanceEventWindow"; +const _iEWI = "instanceEventWindowId"; +const _iEWS = "instanceEventWindowState"; +const _iEWSn = "instanceEventWindowSet"; +const _iEs = "isEgress"; +const _iEsx = "isExcludable"; +const _iF = "instanceFamily"; +const _iFCS = "instanceFamilyCreditSpecification"; +const _iFR = "iamFleetRole"; +const _iFRS = "ingressFilterRuleSet"; +const _iG = "internetGateway"; +const _iGBM = "internetGatewayBlockMode"; +const _iGEM = "internetGatewayExclusionMode"; +const _iGI = "internetGatewayId"; +const _iGS = "internetGatewaySet"; +const _iGSn = "instanceGenerationSet"; +const _iH = "instanceHealth"; +const _iHn = "inboundHeader"; +const _iI = "instanceId"; +const _iIB = "instanceInterruptionBehavior"; +const _iIMS = "instanceImageMetadataSet"; +const _iIP = "iamInstanceProfile"; +const _iIPA = "iamInstanceProfileAssociation"; +const _iIPAS = "iamInstanceProfileAssociationSet"; +const _iIS = "instanceIdSet"; +const _iISB = "instanceInitiatedShutdownBehavior"; +const _iITS = "importImageTaskSet"; +const _iIm = "importInstance"; +const _iIma = "imageId"; +const _iIn = "interruptionInfo"; +const _iIns = "instanceIds"; +const _iIp = "ipamId"; +const _iL = "imageLocation"; +const _iLn = "instanceLifecycle"; +const _iM = "imageMetadata"; +const _iMC = "instanceMatchCriteria"; +const _iMO = "instanceMetadataOptions"; +const _iMOn = "instanceMarketOptions"; +const _iMT = "instanceMetadataTags"; +const _iMU = "importManifestUrl"; +const _iN = "ipv6Native"; +const _iNS = "imageNameSet"; +const _iOA = "imageOwnerAlias"; +const _iOI = "imageOwnerId"; +const _iOIn = "instanceOwnerId"; +const _iOIp = "ipOwnerId"; +const _iOS = "instanceOwningService"; +const _iP = "instancePort"; +const _iPA = "ipamPoolAllocation"; +const _iPAI = "ipamPoolAllocationId"; +const _iPAS = "ipamPoolAllocationSet"; +const _iPAp = "ipamPolicyArn"; +const _iPApa = "ipamPoolArn"; +const _iPC = "ipamPoolCidr"; +const _iPCI = "ipamPoolCidrId"; +const _iPCS = "ipamPoolCidrSet"; +const _iPCp = "ipv4PrefixCount"; +const _iPCpv = "ipv6PrefixCount"; +const _iPD = "ipamPolicyDocument"; +const _iPDS = "ipamPolicyDocumentSet"; +const _iPE = "ipamPolicyEnabled"; +const _iPEp = "ipPermissionsEgress"; +const _iPI = "ipamPolicyId"; +const _iPIp = "ipamPoolId"; +const _iPIs = "isPrimaryIpv6"; +const _iPLR = "ipamPrefixListResolver"; +const _iPLRA = "ipamPrefixListResolverArn"; +const _iPLRI = "ipamPrefixListResolverId"; +const _iPLRS = "ipamPrefixListResolverSet"; +const _iPLRSE = "ipamPrefixListResolverSyncEnabled"; +const _iPLRT = "ipamPrefixListResolverTarget"; +const _iPLRTA = "ipamPrefixListResolverTargetArn"; +const _iPLRTI = "ipamPrefixListResolverTargetId"; +const _iPLRTS = "ipamPrefixListResolverTargetSet"; +const _iPLRVS = "ipamPrefixListResolverVersionSet"; +const _iPR = "ipamPolicyRegion"; +const _iPRs = "isPermanentRestore"; +const _iPS = "ipamPolicySet"; +const _iPSm = "imageProviderSet"; +const _iPSp = "ipamPoolSet"; +const _iPSpr = "ipPrefixSet"; +const _iPSpv = "ipv6PoolSet"; +const _iPSpvr = "ipv4PrefixSet"; +const _iPSpvre = "ipv6PrefixSet"; +const _iPTUC = "instancePoolsToUseCount"; +const _iPn = "instancePlatform"; +const _iPng = "ingressPackets"; +const _iPnt = "interfacePermission"; +const _iPnte = "interfaceProtocol"; +const _iPo = "ioPerformance"; +const _iPp = "ipProtocol"; +const _iPpa = "ipamPolicy"; +const _iPpam = "ipamPool"; +const _iPpe = "ipPermissions"; +const _iPpv = "ipv4Prefix"; +const _iPpvo = "ipv6Pool"; +const _iPpvr = "ipv6Prefix"; +const _iPs = "isPublic"; +const _iPsr = "isPrimary"; +const _iR = "instanceRequirements"; +const _iRC = "ipamResourceCidr"; +const _iRCS = "ipamResourceCidrSet"; +const _iRD = "ipamResourceDiscovery"; +const _iRDA = "ipamResourceDiscoveryAssociation"; +const _iRDAA = "ipamResourceDiscoveryAssociationArn"; +const _iRDAI = "ipamResourceDiscoveryAssociationId"; +const _iRDAS = "ipamResourceDiscoveryAssociationSet"; +const _iRDAp = "ipamResourceDiscoveryArn"; +const _iRDI = "ipamResourceDiscoveryId"; +const _iRDR = "ipamResourceDiscoveryRegion"; +const _iRDS = "ipamResourceDiscoverySet"; +const _iRS = "imageReferenceSet"; +const _iRT = "ingressRouteTable"; +const _iRp = "ipamRegion"; +const _iRpa = "ipRanges"; +const _iRpv = "ipv6Ranges"; +const _iS = "interconnectStatus"; +const _iSA = "ipamScopeArn"; +const _iSD = "initializationStatusDetails"; +const _iSI = "instanceStorageInfo"; +const _iSIp = "ipamScopeId"; +const _iSM = "ingestionStatusMessage"; +const _iSS = "instanceStatusSet"; +const _iSSn = "instanceStorageSupported"; +const _iSSp = "ipamScopeSet"; +const _iST = "ipamScopeType"; +const _iSTS = "importSnapshotTaskSet"; +const _iSg = "igmpv2Support"; +const _iSm = "imagesSet"; +const _iSma = "imageState"; +const _iSmag = "imageSet"; +const _iSmd = "imdsSupport"; +const _iSmp = "impairedSince"; +const _iSn = "instancesSet"; +const _iSng = "ingestionStatus"; +const _iSns = "instanceSet"; +const _iSnst = "instanceState"; +const _iSnsta = "instanceStatus"; +const _iSp = "ipamScope"; +const _iSpa = "ipamSet"; +const _iSpo = "ipSource"; +const _iSpv = "ipv6Supported"; +const _iSpvu = "ipv6Support"; +const _iT = "instanceType"; +const _iTA = "instanceTagAttribute"; +const _iTC = "icmpTypeCode"; +const _iTCn = "includeTrustContext"; +const _iTI = "importTaskId"; +const _iTKS = "instanceTagKeySet"; +const _iTOS = "instanceTypeOfferingSet"; +const _iTS = "instanceTypeSet"; +const _iTSS = "instanceTypeSpecificationSet"; +const _iTd = "idempotencyToken"; +const _iTm = "imageType"; +const _iTn = "interruptionType"; +const _iTni = "initializationType"; +const _iTns = "instanceTenancy"; +const _iTnst = "instanceTypes"; +const _iTnt = "interfaceType"; +const _iU = "ipUsage"; +const _iURES = "imageUsageReportEntrySet"; +const _iURS = "imageUsageReportSet"; +const _iUS = "instanceUsageSet"; +const _iV = "ikeVersion"; +const _iVE = "isValidExchange"; +const _iVS = "ikeVersionSet"; +const _iVm = "importVolume"; +const _im = "image"; +const _in = "instance"; +const _ins = "instances"; +const _int = "interruptible"; +const _inte = "interval"; +const _io = "iops"; +const _ip = "ipam"; +const _ipv = "ipv4"; +const _is = "issuer"; +const _it = "item"; +const _k = "key"; +const _kDF = "kinesisDataFirehose"; +const _kF = "keyFormat"; +const _kFe = "keyFingerprint"; +const _kI = "kernelId"; +const _kKA = "kmsKeyArn"; +const _kKI = "kmsKeyId"; +const _kM = "keyMaterial"; +const _kN = "keyName"; +const _kPI = "keyPairId"; +const _kS = "keySet"; +const _kSe = "kextSigning"; +const _kT = "keyType"; +const _kV = "keyValue"; +const _ke = "kernel"; +const _key = "keyword"; +const _l = "lifecycle"; +const _lA = "localAddress"; +const _lADT = "lastAttemptedDiscoveryTime"; +const _lAZ = "launchedAvailabilityZone"; +const _lAZI = "launchedAvailabilityZoneId"; +const _lAa = "lastAddress"; +const _lBA = "loadBalancerArn"; +const _lBAE = "localBgpAsnExtended"; +const _lBAo = "localBgpAsn"; +const _lBC = "loadBalancersConfig"; +const _lBLP = "loadBalancerListenerPort"; +const _lBO = "loadBalancerOptions"; +const _lBP = "loadBalancerPort"; +const _lBS = "loadBalancerSet"; +const _lBT = "loadBalancerTarget"; +const _lBTG = "loadBalancerTargetGroup"; +const _lBTGS = "loadBalancerTargetGroupSet"; +const _lBTP = "loadBalancerTargetPort"; +const _lC = "loggingConfiguration"; +const _lCA = "licenseConfigurationArn"; +const _lCO = "lockCreatedOn"; +const _lCS = "loggingConfigurationSet"; +const _lD = "logDestination"; +const _lDS = "latestDeliveryStatus"; +const _lDSLU = "latestDeliveryS3LocationUri"; +const _lDSM = "latestDeliveryStatusMessage"; +const _lDST = "lockDurationStartTime"; +const _lDT = "latestDeliveryTime"; +const _lDTa = "latestDatapointTimestamp"; +const _lDTo = "logDestinationType"; +const _lDo = "lockDuration"; +const _lE = "logEnabled"; +const _lEO = "lockExpiresOn"; +const _lET = "lastEvaluatedTime"; +const _lEa = "lastError"; +const _lF = "logFormat"; +const _lFA = "lambdaFunctionArn"; +const _lG = "launchGroup"; +const _lGA = "logGroupArn"; +const _lGC = "logicalGpuCount"; +const _lGI = "localGatewayId"; +const _lGIi = "linkedGroupId"; +const _lGN = "logGroupName"; +const _lGRT = "localGatewayRouteTable"; +const _lGRTA = "localGatewayRouteTableArn"; +const _lGRTI = "localGatewayRouteTableId"; +const _lGRTS = "localGatewayRouteTableSet"; +const _lGRTVA = "localGatewayRouteTableVpcAssociation"; +const _lGRTVAI = "localGatewayRouteTableVpcAssociationId"; +const _lGRTVAS = "localGatewayRouteTableVpcAssociationSet"; +const _lGRTVIGA = "localGatewayRouteTableVirtualInterfaceGroupAssociation"; +const _lGRTVIGAI = "localGatewayRouteTableVirtualInterfaceGroupAssociationId"; +const _lGRTVIGAS = "localGatewayRouteTableVirtualInterfaceGroupAssociationSet"; +const _lGS = "localGatewaySet"; +const _lGVI = "localGatewayVirtualInterface"; +const _lGVIA = "localGatewayVirtualInterfaceArn"; +const _lGVIG = "localGatewayVirtualInterfaceGroup"; +const _lGVIGA = "localGatewayVirtualInterfaceGroupArn"; +const _lGVIGI = "localGatewayVirtualInterfaceGroupId"; +const _lGVIGS = "localGatewayVirtualInterfaceGroupSet"; +const _lGVII = "localGatewayVirtualInterfaceId"; +const _lGVIIS = "localGatewayVirtualInterfaceIdSet"; +const _lGVIS = "localGatewayVirtualInterfaceSet"; +const _lGo = "logGroup"; +const _lINC = "localIpv4NetworkCidr"; +const _lINCo = "localIpv6NetworkCidr"; +const _lLT = "lastLaunchedTime"; +const _lMA = "lastMaintenanceApplied"; +const _lO = "logOptions"; +const _lOF = "logOutputFormat"; +const _lP = "loadPermissions"; +const _lPa = "launchPermission"; +const _lPi = "limitPrice"; +const _lS = "licenseSpecifications"; +const _lSC = "lastStatusChange"; +const _lSDT = "lastSuccessfulDiscoveryTime"; +const _lSTS = "localStorageTypeSet"; +const _lSV = "lastSyncedVersion"; +const _lSa = "launchSpecification"; +const _lSau = "launchSpecifications"; +const _lSi = "licenseSet"; +const _lSo = "localStorage"; +const _lSoc = "lockState"; +const _lT = "launchTemplate"; +const _lTAO = "launchTemplateAndOverrides"; +const _lTC = "launchTemplateConfigs"; +const _lTD = "launchTemplateData"; +const _lTI = "launchTemplateId"; +const _lTN = "launchTemplateName"; +const _lTOS = "lastTieringOperationStatus"; +const _lTOSD = "lastTieringOperationStatusDetail"; +const _lTP = "lastTieringProgress"; +const _lTS = "launchTemplateSpecification"; +const _lTST = "lastTieringStartTime"; +const _lTV = "launchTemplateVersion"; +const _lTVS = "launchTemplateVersionSet"; +const _lTa = "launchTemplates"; +const _lTau = "launchTime"; +const _lTi = "licenseType"; +const _lTo = "locationType"; +const _lUT = "lastUpdateTime"; +const _lUTa = "lastUpdatedTime"; +const _lUTas = "lastUpdateTimestamp"; +const _lV = "logVersion"; +const _lVCS = "lastVersionCreationStatus"; +const _lVCSM = "lastVersionCreationStatusMessage"; +const _lVN = "latestVersionNumber"; +const _la = "lambda"; +const _lo = "location"; +const _loc = "locale"; +const _m = "min"; +const _mA = "mutualAuthentication"; +const _mAAA = "maintenanceAutoAppliedAfter"; +const _mAE = "multiAttachEnabled"; +const _mAI = "maxAggregationInterval"; +const _mAIS = "middleboxAttachmentIdSet"; +const _mAIe = "mediaAcceleratorInfo"; +const _mASS = "movingAddressStatusSet"; +const _mAa = "macAddress"; +const _mAe = "meteredAccount"; +const _mB = "managedBy"; +const _mBIM = "maximumBandwidthInMbps"; +const _mC = "missingComponent"; +const _mCOIOL = "mapCustomerOwnedIpOnLaunch"; +const _mD = "maintenanceDetails"; +const _mDA = "multicastDomainAssociations"; +const _mDK = "metaDataKey"; +const _mDRS = "metricDataResultSet"; +const _mDRSe = "metricDimensionResultSet"; +const _mDSC = "maximumDaysSinceCreated"; +const _mDSD = "maximumDaysSinceDeprecated"; +const _mDV = "metaDataValue"; +const _mDe = "metaData"; +const _mE = "maxEntries"; +const _mEA = "maximumEbsAttachments"; +const _mEC = "maximumEbsCards"; +const _mEI = "maximumEfaInterfaces"; +const _mEM = "managedExceptionMessage"; +const _mEQC = "maximumEnaQueueCount"; +const _mEQCPI = "maximumEnaQueueCountPerInterface"; +const _mFV = "mostFrequentValue"; +const _mG = "multicastGroups"; +const _mGBPVC = "memoryGiBPerVCpu"; +const _mHS = "macHostSet"; +const _mI = "maximumIops"; +const _mIe = "memoryInfo"; +const _mMB = "memoryMiB"; +const _mMT = "macModificationTask"; +const _mMTI = "macModificationTaskId"; +const _mMTS = "macModificationTaskSet"; +const _mNC = "maximumNetworkCards"; +const _mNI = "maximumNetworkInterfaces"; +const _mO = "metadataOptions"; +const _mOSLRG = "memberOfServiceLinkedResourceGroup"; +const _mOSLSVS = "macOSLatestSupportedVersionSet"; +const _mOa = "maintenanceOptions"; +const _mP = "maxPrice"; +const _mPCS = "marketplaceProductCodeSet"; +const _mPIOL = "mapPublicIpOnLaunch"; +const _mPL = "maxParallelLaunches"; +const _mPR = "meteringPolicyRule"; +const _mPS = "metricPointSet"; +const _mPSa = "matchPathSet"; +const _mR = "maxResults"; +const _mRS = "modificationResultSet"; +const _mS = "messageSet"; +const _mSIPC = "macSystemIntegrityProtectionConfig"; +const _mSNI = "maximumSecondaryNetworkInterfaces"; +const _mSPAPOOODP = "maxSpotPriceAsPercentageOfOptimalOnDemandPrice"; +const _mSa = "managementState"; +const _mSai = "maintenanceStrategies"; +const _mSo = "moveStatus"; +const _mSod = "modificationState"; +const _mSu = "multicastSupport"; +const _mT = "marketType"; +const _mTC = "minTargetCapacity"; +const _mTDID = "maxTermDurationInDays"; +const _mTDIDi = "minTermDurationInDays"; +const _mTIMB = "maximumThroughputInMBps"; +const _mTP = "maxTotalPrice"; +const _mTe = "memberType"; +const _mVE = "managesVpcEndpoints"; +const _mVS = "metricValueSet"; +const _ma = "max"; +const _mai = "main"; +const _man = "manufacturer"; +const _mana = "managed"; +const _mar = "marketplace"; +const _me = "message"; +const _med = "med"; +const _met = "metric"; +const _mo = "monitoring"; +const _mod = "mode"; +const _n = "name"; +const _nA = "networkAcl"; +const _nAAI = "networkAclAssociationId"; +const _nAI = "networkAclId"; +const _nAIe = "newAssociationId"; +const _nAOO = "nativeApplicationOidcOptions"; +const _nAS = "networkAclSet"; +const _nAo = "notAfter"; +const _nB = "notBefore"; +const _nBD = "notBeforeDeadline"; +const _nBG = "networkBorderGroup"; +const _nBGe = "networkBandwidthGbps"; +const _nC = "networkCards"; +const _nCI = "networkCardIndex"; +const _nCRS = "nonCompliantResourceSet"; +const _nD = "noDevice"; +const _nDe = "neuronDevices"; +const _nES = "nitroEnclavesSupport"; +const _nG = "natGateway"; +const _nGAS = "natGatewayAddressSet"; +const _nGI = "natGatewayId"; +const _nGS = "natGatewaySet"; +const _nHI = "nextHopIp"; +const _nI = "networkId"; +const _nIA = "networkInsightsAnalysis"; +const _nIAA = "networkInsightsAnalysisArn"; +const _nIAI = "networkInsightsAnalysisId"; +const _nIAS = "networkInsightsAccessScope"; +const _nIASA = "networkInsightsAccessScopeArn"; +const _nIASAA = "networkInsightsAccessScopeAnalysisArn"; +const _nIASAI = "networkInsightsAccessScopeAnalysisId"; +const _nIASAS = "networkInsightsAccessScopeAnalysisSet"; +const _nIASAe = "networkInsightsAccessScopeAnalysis"; +const _nIASC = "networkInsightsAccessScopeContent"; +const _nIASI = "networkInsightsAccessScopeId"; +const _nIASS = "networkInsightsAccessScopeSet"; +const _nIASe = "networkInsightsAnalysisSet"; +const _nIASet = "networkInterfaceAttachmentStatus"; +const _nIC = "networkInterfaceCount"; +const _nID = "networkInterfaceDescription"; +const _nII = "networkInterfaceId"; +const _nIIS = "networkInterfaceIdSet"; +const _nIO = "networkInterfaceOptions"; +const _nIOI = "networkInterfaceOwnerId"; +const _nIP = "networkInsightsPath"; +const _nIPA = "networkInsightsPathArn"; +const _nIPI = "networkInsightsPathId"; +const _nIPIe = "networkInterfacePermissionId"; +const _nIPS = "networkInsightsPathSet"; +const _nIPe = "networkInterfacePermissions"; +const _nIS = "networkInterfaceSet"; +const _nIe = "networkInterface"; +const _nIet = "networkInfo"; +const _nIeu = "neuronInfo"; +const _nL = "netmaskLength"; +const _nLBA = "networkLoadBalancerArn"; +const _nLBAS = "networkLoadBalancerArnSet"; +const _nNS = "networkNodeSet"; +const _nOA = "numberOfAccounts"; +const _nOFA = "numberOfFailedAccounts"; +const _nOMA = "numberOfMatchedAccounts"; +const _nOUA = "numberOfUnmatchedAccounts"; +const _nP = "nvramProtections"; +const _nPF = "networkPathFound"; +const _nPO = "networkPerformanceOptions"; +const _nPe = "networkPerformance"; +const _nPet = "networkPlatform"; +const _nR = "noReboot"; +const _nS = "nvmeSupport"; +const _nSS = "networkServiceSet"; +const _nSST = "nextSlotStartTime"; +const _nSa = "nameserverSet"; +const _nT = "networkType"; +const _nTI = "nitroTpmInfo"; +const _nTS = "nitroTpmSupport"; +const _nTe = "nextToken"; +const _nV = "nestedVirtualization"; +const _o = "origin"; +const _oA = "outpostArn"; +const _oAr = "organizationsAccess"; +const _oArg = "organizationArn"; +const _oAw = "ownerAlias"; +const _oC = "offeringClass"; +const _oDAS = "onDemandAllocationStrategy"; +const _oDFC = "onDemandFulfilledCapacity"; +const _oDMPPOLP = "onDemandMaxPricePercentageOverLowestPrice"; +const _oDMTP = "onDemandMaxTotalPrice"; +const _oDO = "onDemandOptions"; +const _oDS = "occurrenceDaySet"; +const _oDTC = "onDemandTargetCapacity"; +const _oEP = "organizationsEntityPath"; +const _oF = "outputFormat"; +const _oH = "outboundHeader"; +const _oI = "ownerId"; +const _oIA = "outsideIpAddress"; +const _oIAT = "outsideIpAddressType"; +const _oIS = "optInStatus"; +const _oIf = "offeringId"; +const _oIr = "originalIops"; +const _oIu = "outpostId"; +const _oK = "objectKey"; +const _oLI = "outpostLagId"; +const _oLS = "outpostLagSet"; +const _oMAE = "originalMultiAttachEnabled"; +const _oN = "optionName"; +const _oNA = "odbNetworkArn"; +const _oO = "oidcOptions"; +const _oRIWEA = "outputReservedInstancesWillExpireAt"; +const _oRS = "operatingRegionSet"; +const _oRTE = "occurrenceRelativeToEnd"; +const _oS = "offeringSet"; +const _oST = "oldestSampleTime"; +const _oSr = "originalSize"; +const _oSv = "overlapStatus"; +const _oT = "optimizingTime"; +const _oTI = "organizationTargetId"; +const _oTS = "organizationTargetSet"; +const _oTf = "offeringType"; +const _oTr = "originalThroughput"; +const _oU = "occurrenceUnit"; +const _oUA = "organizationalUnitArn"; +const _oUES = "organizationalUnitExclusionSet"; +const _oUI = "organizationalUnitId"; +const _oVCS = "openVpnConfigurationSet"; +const _oVS = "optionValueSet"; +const _oVT = "originalVolumeType"; +const _op = "options"; +const _ope = "operator"; +const _oper = "operation"; +const _ou = "output"; +const _ov = "overrides"; +const _ow = "owner"; +const _p = "principal"; +const _pA = "poolArn"; +const _pAI = "peeringAttachmentId"; +const _pAR = "poolAddressRange"; +const _pARS = "poolAddressRangeSet"; +const _pAe = "peerAddress"; +const _pAee = "peerAsn"; +const _pAr = "principalArn"; +const _pAu = "publiclyAdvertisable"; +const _pB = "provisionedBandwidth"; +const _pBA = "peerBgpAsn"; +const _pBAE = "peerBgpAsnExtended"; +const _pBIG = "peakBandwidthInGbps"; +const _pC = "productCodes"; +const _pCB = "poolCidrBlock"; +const _pCBS = "poolCidrBlockSet"; +const _pCI = "preserveClientIp"; +const _pCNI = "peerCoreNetworkId"; +const _pCS = "poolCidrSet"; +const _pCSS = "postureComplianceStatusSet"; +const _pCa = "partitionCount"; +const _pCo = "poolCount"; +const _pCr = "productCode"; +const _pD = "passwordData"; +const _pDE = "privateDnsEnabled"; +const _pDEr = "privateDnsEntry"; +const _pDHG = "phase1DHGroup"; +const _pDHGNS = "phase1DHGroupNumberSet"; +const _pDHGNSh = "phase2DHGroupNumberSet"; +const _pDHGh = "phase2DHGroup"; +const _pDN = "publicDnsNames"; +const _pDNC = "privateDnsNameConfiguration"; +const _pDNO = "privateDnsNameOptions"; +const _pDNOOL = "privateDnsNameOptionsOnLaunch"; +const _pDNS = "privateDnsNameSet"; +const _pDNVS = "privateDnsNameVerificationState"; +const _pDNr = "privateDnsName"; +const _pDNu = "publicDnsName"; +const _pDOFIRE = "privateDnsOnlyForInboundResolverEndpoint"; +const _pDP = "privateDnsPreference"; +const _pDRTI = "propagationDefaultRouteTableId"; +const _pDS = "pricingDetailsSet"; +const _pDSDN = "publicDualStackDnsName"; +const _pDSDS = "privateDnsSpecifiedDomainSet"; +const _pDSI = "publicDefaultScopeId"; +const _pDSIr = "privateDefaultScopeId"; +const _pDa = "paymentDue"; +const _pDl = "platformDetails"; +const _pDo = "policyDocument"; +const _pDoo = "poolDepth"; +const _pDr = "productDescription"; +const _pE = "policyEnabled"; +const _pEA = "phase1EncryptionAlgorithm"; +const _pEAS = "phase1EncryptionAlgorithmSet"; +const _pEASh = "phase2EncryptionAlgorithmSet"; +const _pEAh = "phase2EncryptionAlgorithm"; +const _pEk = "pkceEnabled"; +const _pF = "packetField"; +const _pFS = "previousFleetState"; +const _pG = "placementGroup"; +const _pGA = "placementGroupArn"; +const _pGI = "placementGroupInfo"; +const _pGS = "placementGroupSet"; +const _pHP = "perHourPartition"; +const _pHS = "packetHeaderStatement"; +const _pI = "publicIp"; +const _pIA = "phase1IntegrityAlgorithm"; +const _pIAC = "privateIpAddressCount"; +const _pIAS = "privateIpAddressesSet"; +const _pIASh = "phase1IntegrityAlgorithmSet"; +const _pIASha = "phase2IntegrityAlgorithmSet"; +const _pIASr = "privateIpAddressSet"; +const _pIASri = "privateIpv4AddressSet"; +const _pIAh = "phase2IntegrityAlgorithm"; +const _pIAr = "privateIpAddress"; +const _pIAri = "privateIpAddresses"; +const _pIDN = "publicIpv6DnsName"; +const _pIDNO = "publicIpDnsNameOptions"; +const _pIDNu = "publicIpv4DnsName"; +const _pIP = "publicIpv4Pool"; +const _pIPI = "publicIpv4PoolId"; +const _pIPS = "publicIpv4PoolSet"; +const _pIS = "publicIpSource"; +const _pIc = "pciId"; +const _pIo = "poolId"; +const _pIr = "processorInfo"; +const _pIri = "primaryIpv6"; +const _pIriv = "privateIp"; +const _pK = "publicKey"; +const _pKM = "publicKeyMaterial"; +const _pL = "prefixList"; +const _pLA = "prefixListArn"; +const _pLAS = "prefixListAssociationSet"; +const _pLD = "peerLivenessDetection"; +const _pLI = "prefixListId"; +const _pLIr = "prefixListIds"; +const _pLN = "prefixListName"; +const _pLOI = "prefixListOwnerId"; +const _pLR = "prefixListRegion"; +const _pLS = "prefixListSet"; +const _pLSh = "phase1LifetimeSeconds"; +const _pLSha = "phase2LifetimeSeconds"; +const _pLa = "packetLength"; +const _pM = "pendingMaintenance"; +const _pN = "partitionNumber"; +const _pO = "paymentOption"; +const _pOI = "peerOwnerId"; +const _pOe = "peeringOptions"; +const _pP = "progressPercentage"; +const _pR = "ptrRecord"; +const _pRD = "persistRoutesDuration"; +const _pRN = "policyRuleNumber"; +const _pRNo = "policyReferenceName"; +const _pRS = "portRangeSet"; +const _pRSe = "persistRoutesState"; +const _pRU = "ptrRecordUpdate"; +const _pRa = "payerResponsibility"; +const _pRo = "portRange"; +const _pRol = "policyRule"; +const _pS = "provisioningStatus"; +const _pSET = "previousSlotEndTime"; +const _pSFRS = "previousSpotFleetRequestState"; +const _pSK = "preSharedKey"; +const _pSKA = "preSharedKeyArn"; +const _pSKE = "publicSigningKeyEndpoint"; +const _pSKU = "publicSigningKeyUrl"; +const _pSR = "provisioningStatusReason"; +const _pSe = "permissionState"; +const _pSee = "peeringStatus"; +const _pSh = "phcSupport"; +const _pSr = "previousState"; +const _pSre = "previousStatus"; +const _pSri = "priceSchedules"; +const _pSrin = "principalSet"; +const _pSro = "protocolSet"; +const _pSroc = "processingStatus"; +const _pT = "principalType"; +const _pTGI = "peerTransitGatewayId"; +const _pTr = "provisionTime"; +const _pTu = "purchaseToken"; +const _pU = "presignedUrl"; +const _pVI = "peerVpcId"; +const _pVIr = "primaryVpcId"; +const _pVS = "propagatingVgwSet"; +const _pZI = "parentZoneId"; +const _pZN = "parentZoneName"; +const _pe = "period"; +const _per = "permission"; +const _pl = "platform"; +const _pla = "placement"; +const _po = "port"; +const _pr = "protocol"; +const _pre = "prefix"; +const _pri = "priority"; +const _pric = "price"; +const _prim = "primary"; +const _pro = "progress"; +const _prop = "propagation"; +const _prov = "provisioned"; +const _pu = "public"; +const _pur = "purchase"; +const _q = "quantity"; +const _r = "return"; +const _rA = "ruleAction"; +const _rAE = "remoteAccessEnabled"; +const _rAe = "reservationArn"; +const _rAes = "resourceArn"; +const _rB = "requestedBy"; +const _rBET = "recycleBinEnterTime"; +const _rBETe = "recycleBinExitTime"; +const _rC = "returnCode"; +const _rCA = "resourceConfigurationArn"; +const _rCGA = "resourceConfigurationGroupArn"; +const _rCO = "reservedCapacityOptions"; +const _rCS = "resourceComplianceStatus"; +const _rCT = "reservationCreateTimestamp"; +const _rCTe = "reportCreationTime"; +const _rCe = "resourceCidr"; +const _rCea = "reasonCode"; +const _rCec = "recurringCharges"; +const _rD = "restoreDuration"; +const _rDAC = "resourceDiscoveryAssociationCount"; +const _rDCA = "rdsDbClusterArn"; +const _rDI = "ramDiskId"; +const _rDIA = "rdsDbInstanceArn"; +const _rDN = "rootDeviceName"; +const _rDPA = "rdsDbProxyArn"; +const _rDS = "resourceDiscoveryStatus"; +const _rDT = "rootDeviceType"; +const _rE = "responseError"; +const _rEDT = "reservationEndDateType"; +const _rEIT = "requireEncryptionInTransit"; +const _rET = "reservationEndTimestamp"; +const _rETe = "restoreExpiryTime"; +const _rEd = "rdsEndpoint"; +const _rEe = "regionEndpoint"; +const _rEes = "resourceExclusions"; +const _rFP = "rekeyFuzzPercentage"; +const _rGA = "ruleGroupArn"; +const _rGI = "referencedGroupId"; +const _rGIe = "referencedGroupInfo"; +const _rGROPS = "ruleGroupRuleOptionsPairSet"; +const _rGT = "ruleGroupType"; +const _rGTPS = "ruleGroupTypePairSet"; +const _rHS = "requireHibernateSupport"; +const _rI = "reservationId"; +const _rIDS = "routeInstallationDetailSet"; +const _rII = "reservedInstancesId"; +const _rIIe = "reservedInstanceId"; +const _rILI = "reservedInstancesListingId"; +const _rILS = "reservedInstancesListingsSet"; +const _rIMC = "reservationInstanceMatchCriteria"; +const _rIMI = "reservedInstancesModificationId"; +const _rIMS = "reservedInstancesModificationsSet"; +const _rINC = "remoteIpv4NetworkCidr"; +const _rINCe = "remoteIpv6NetworkCidr"; +const _rIOI = "reservedInstancesOfferingId"; +const _rIOS = "reservedInstancesOfferingsSet"; +const _rIS = "reservedInstancesSet"; +const _rISR = "routeInstallationStatusReason"; +const _rISo = "routeInstallationStatus"; +const _rIVR = "reservedInstanceValueRollup"; +const _rIVS = "reservedInstanceValueSet"; +const _rIa = "ramdiskId"; +const _rIe = "reportId"; +const _rIeg = "regionInfo"; +const _rIeq = "requesterId"; +const _rIes = "resourceId"; +const _rM = "reasonMessage"; +const _rMGM = "registeredMulticastGroupMembers"; +const _rMGS = "registeredMulticastGroupSources"; +const _rMS = "rebootMigrationSupport"; +const _rMTS = "rekeyMarginTimeSeconds"; +const _rMe = "rebootMigration"; +const _rMeq = "requesterManaged"; +const _rN = "ruleNumber"; +const _rNII = "registeredNetworkInterfaceIds"; +const _rNe = "regionName"; +const _rNes = "resourceName"; +const _rNo = "roleName"; +const _rO = "resourceOwner"; +const _rOI = "resourceOwnerId"; +const _rOS = "ruleOptionSet"; +const _rOSe = "resourceOverlapStatus"; +const _rOd = "rdsOptions"; +const _rOo = "routeOrigin"; +const _rPCO = "requesterPeeringConnectionOptions"; +const _rPCS = "returnPathComponentSet"; +const _rR = "resourceRegion"; +const _rRVT = "replaceRootVolumeTask"; +const _rRVTI = "replaceRootVolumeTaskId"; +const _rRVTS = "replaceRootVolumeTaskSet"; +const _rS = "reservationState"; +const _rSA = "routeServerAssociation"; +const _rSAS = "routeServerAssociationSet"; +const _rSE = "routeServerEndpoint"; +const _rSEI = "routeServerEndpointId"; +const _rSES = "routeServerEndpointSet"; +const _rSGRS = "revokedSecurityGroupRuleSet"; +const _rSI = "routeServerId"; +const _rSP = "routeServerPeer"; +const _rSPI = "routeServerPeerId"; +const _rSPS = "routeServerPeerSet"; +const _rSPSo = "routeServerPropagationSet"; +const _rSPo = "routeServerPropagation"; +const _rSS = "regionalSummarySet"; +const _rSSo = "routeServerSet"; +const _rST = "reservationStartTimestamp"; +const _rSTe = "restoreStartTime"; +const _rSe = "referenceSet"; +const _rSep = "reportSet"; +const _rSepl = "replacementStrategy"; +const _rSes = "reservationSet"; +const _rSeso = "resourceStatement"; +const _rSesou = "resourceSet"; +const _rSo = "routeServer"; +const _rSou = "routeSet"; +const _rSout = "routeStatus"; +const _rSu = "ruleSet"; +const _rT = "reservationType"; +const _rTAI = "routeTableAssociationId"; +const _rTI = "routeTableId"; +const _rTIS = "routeTableIdSet"; +const _rTIe = "requesterTgwInfo"; +const _rTOS = "resourceTypeOptionSet"; +const _rTR = "routeTableRoute"; +const _rTS = "routeTableSet"; +const _rTSe = "resourceTypeSet"; +const _rTSes = "resourceTagSet"; +const _rTSese = "reservationTypeSet"; +const _rTV = "remainingTotalValue"; +const _rTe = "resourceType"; +const _rTel = "releaseTime"; +const _rTeq = "requestTime"; +const _rTes = "resourceTag"; +const _rTo = "routeTable"; +const _rTu = "ruleType"; +const _rUFO = "reservationUnusedFinancialOwner"; +const _rUI = "replaceUnhealthyInstances"; +const _rUV = "remainingUpfrontValue"; +const _rV = "returnValue"; +const _rVI = "referencingVpcId"; +const _rVIe = "requesterVpcInfo"; +const _rVe = "reservationValue"; +const _rWS = "replayWindowSize"; +const _ra = "ramdisk"; +const _re = "resource"; +const _rea = "reason"; +const _rec = "recurrence"; +const _reg = "region"; +const _req = "requested"; +const _res = "result"; +const _ro = "route"; +const _rou = "routes"; +const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ec2"; +const _sA = "sourceArn"; +const _sAS = "sourceAddressSet"; +const _sASu = "suggestedAccountSet"; +const _sAZ = "singleAvailabilityZone"; +const _sAo = "sourceAddress"; +const _sAt = "startupAction"; +const _sAu = "supportedArchitectures"; +const _sAub = "subnetArn"; +const _sB = "s3Bucket"; +const _sBM = "supportedBootModes"; +const _sBN = "s3BucketName"; +const _sBP = "s3BucketPrefix"; +const _sC = "serviceConfiguration"; +const _sCA = "serverCertificateArn"; +const _sCAE = "serialConsoleAccessEnabled"; +const _sCB = "sourceCidrBlock"; +const _sCR = "sourceCapacityReservation"; +const _sCRI = "sourceCapacityReservationId"; +const _sCRIu = "subnetCidrReservationId"; +const _sCRu = "subnetCidrReservation"; +const _sCS = "serviceConfigurationSet"; +const _sCSIG = "sustainedClockSpeedInGhz"; +const _sCc = "scopeCount"; +const _sCn = "snapshotConfiguration"; +const _sCt = "staticCidr"; +const _sD = "startDate"; +const _sDC = "sourceDestCheck"; +const _sDIH = "slotDurationInHours"; +const _sDLTVS = "successfullyDeletedLaunchTemplateVersionSet"; +const _sDS = "spotDatafeedSubscription"; +const _sDSe = "serviceDetailSet"; +const _sDSn = "snapshotDetailSet"; +const _sDp = "spreadDomain"; +const _sDu = "subDomain"; +const _sEL = "s3ExportLocation"; +const _sET = "sampledEndTime"; +const _sF = "supportedFeatures"; +const _sFCS = "successfulFleetCancellationSet"; +const _sFDS = "successfulFleetDeletionSet"; +const _sFRC = "spotFleetRequestConfig"; +const _sFRCS = "spotFleetRequestConfigSet"; +const _sFRI = "spotFleetRequestId"; +const _sFRS = "successfulFleetRequestSet"; +const _sFRSp = "spotFleetRequestState"; +const _sG = "securityGroup"; +const _sGA = "securityGroupArn"; +const _sGFVS = "securityGroupForVpcSet"; +const _sGI = "securityGroupId"; +const _sGIS = "securityGroupIdSet"; +const _sGIe = "securityGroupIds"; +const _sGIec = "securityGroupInfo"; +const _sGR = "securityGroupRule"; +const _sGRA = "securityGroupRuleArn"; +const _sGRI = "securityGroupRuleId"; +const _sGRS = "securityGroupRuleSet"; +const _sGRSe = "securityGroupReferenceSet"; +const _sGRSec = "securityGroupReferencingSupport"; +const _sGS = "subGeographySet"; +const _sGSe = "securityGroupSet"; +const _sGVAS = "securityGroupVpcAssociationSet"; +const _sGe = "securityGroups"; +const _sH = "startHour"; +const _sI = "serviceId"; +const _sIA = "secondaryInterfaceArn"; +const _sIAS = "scheduledInstanceAvailabilitySet"; +const _sIATS = "supportedIpAddressTypeSet"; +const _sICRS = "subnetIpv4CidrReservationSet"; +const _sICRSu = "subnetIpv6CidrReservationSet"; +const _sICSS = "successfulInstanceCreditSpecificationSet"; +const _sIGB = "sizeInGB"; +const _sII = "sourceInstanceId"; +const _sIIc = "scheduledInstanceId"; +const _sIIe = "secondaryInterfaceId"; +const _sIIo = "sourceImageId"; +const _sIMB = "sizeInMiB"; +const _sIP = "staleIpPermissions"; +const _sIPE = "staleIpPermissionsEgress"; +const _sIPI = "sourceIpamPoolId"; +const _sIR = "sourceImageRegion"; +const _sIRI = "spotInstanceRequestId"; +const _sIRS = "spotInstanceRequestSet"; +const _sIS = "scheduledInstanceSet"; +const _sISe = "secondaryInterfaceSet"; +const _sISu = "subnetIdSet"; +const _sIT = "spotInstanceType"; +const _sITRS = "storeImageTaskResultSet"; +const _sITe = "secondaryInterfaceType"; +const _sITi = "singleInstanceType"; +const _sIn = "snapshotId"; +const _sIo = "sourceIp"; +const _sIu = "subnetId"; +const _sIub = "subnetIds"; +const _sK = "s3Key"; +const _sKo = "s3objectKey"; +const _sL = "s3Location"; +const _sLVIA = "serviceLinkVirtualInterfaceArn"; +const _sLVII = "serviceLinkVirtualInterfaceId"; +const _sLVIIS = "serviceLinkVirtualInterfaceIdSet"; +const _sLVIS = "serviceLinkVirtualInterfaceSet"; +const _sLp = "spreadLevel"; +const _sM = "serviceManaged"; +const _sMPPOLP = "spotMaxPricePercentageOverLowestPrice"; +const _sMS = "spotMaintenanceStrategies"; +const _sMTP = "spotMaxTotalPrice"; +const _sMt = "statusMessage"; +const _sMta = "stateMessage"; +const _sN = "serviceName"; +const _sNA = "secondaryNetworkArn"; +const _sNAe = "serviceNetworkArn"; +const _sNE = "snsNotificationsEnabled"; +const _sNI = "secondaryNetworkId"; +const _sNN = "serviceNetworkName"; +const _sNS = "secondaryNetworkSet"; +const _sNSe = "serviceNameSet"; +const _sNSec = "secondaryNetworkSupported"; +const _sNSr = "sriovNetSupport"; +const _sNT = "secondaryNetworkType"; +const _sNe = "secondaryNetwork"; +const _sNeq = "sequenceNumber"; +const _sNes = "sessionNumber"; +const _sO = "spotOptions"; +const _sP = "s3Prefix"; +const _sPA = "samlProviderArn"; +const _sPHS = "spotPriceHistorySet"; +const _sPI = "servicePermissionId"; +const _sPIAC = "secondaryPrivateIpAddressCount"; +const _sPLS = "sourcePrefixListSet"; +const _sPR = "sourcePortRange"; +const _sPRS = "sourcePortRangeSet"; +const _sPS = "sourcePortSet"; +const _sPSS = "spotPlacementScoreSet"; +const _sPp = "spotPrice"; +const _sQPDS = "successfulQueuedPurchaseDeletionSet"; +const _sR = "serviceRegion"; +const _sRDT = "supportedRootDeviceTypes"; +const _sRO = "staticRoutesOnly"; +const _sRS = "supportedRegionSet"; +const _sRT = "subnetRouteTable"; +const _sRe = "serviceResource"; +const _sRo = "sourceResource"; +const _sRt = "stateReason"; +const _sS = "secondarySubnet"; +const _sSA = "secondarySubnetArn"; +const _sSC = "sqlServerCredentials"; +const _sSGN = "sourceSecurityGroupName"; +const _sSGOI = "sourceSecurityGroupOwnerId"; +const _sSGS = "staleSecurityGroupSet"; +const _sSI = "secondarySubnetId"; +const _sSLU = "sqlServerLicenseUsage"; +const _sSPU = "selfServicePortalUrl"; +const _sSS = "secondarySubnetSet"; +const _sSSPA = "selfServiceSamlProviderArn"; +const _sSSt = "staticSourcesSupport"; +const _sST = "sampledStartTime"; +const _sSe = "settingSet"; +const _sSer = "serviceState"; +const _sSn = "snapshotSet"; +const _sSo = "sourceSet"; +const _sSs = "sseSpecification"; +const _sSt = "statusSet"; +const _sSu = "subscriptionSet"; +const _sSub = "subnetSet"; +const _sSup = "supportedStrategies"; +const _sSy = "systemStatus"; +const _sT = "startTime"; +const _sTA = "snsTopicArn"; +const _sTC = "spotTargetCapacity"; +const _sTD = "snapshotTaskDetail"; +const _sTFR = "storeTaskFailureReason"; +const _sTGAI = "sourceTransitGatewayAttachmentId"; +const _sTGAT = "sourceTransitGatewayAttachmentType"; +const _sTH = "sessionTimeoutHours"; +const _sTR = "stateTransitionReason"; +const _sTS = "storeTaskState"; +const _sTSS = "snapshotTierStatusSet"; +const _sTT = "stateTransitionTime"; +const _sTa = "sampleTime"; +const _sTe = "serviceType"; +const _sTo = "sourceType"; +const _sTp = "splitTunnel"; +const _sTs = "sseType"; +const _sTt = "storageTier"; +const _sUC = "supportedUsageClasses"; +const _sV = "sourceVpc"; +const _sVI = "sourceVolumeId"; +const _sVT = "supportedVirtualizationTypes"; +const _sVh = "shellVersion"; +const _sVu = "supportedVersions"; +const _sWD = "startWeekDay"; +const _s_ = "s3"; +const _sc = "schedule"; +const _sco = "scope"; +const _scop = "scopes"; +const _scor = "score"; +const _se = "service"; +const _si = "size"; +const _so = "source"; +const _soc = "sockets"; +const _sof = "software"; +const _st = "state"; +const _sta = "status"; +const _star = "start"; +const _stat = "statistic"; +const _sto = "storage"; +const _str = "strategy"; +const _su = "subnet"; +const _sub = "subnets"; +const _suc = "successful"; +const _succ = "success"; +const _t = "tenancy"; +const _tAAC = "totalAvailableAddressCount"; +const _tAC = "totalAvailableCapacity"; +const _tACo = "totalAddressCount"; +const _tAI = "transferAccountId"; +const _tB = "tunnelBandwidth"; +const _tC = "totalCapacity"; +const _tCS = "targetCapacitySpecification"; +const _tCUT = "targetCapacityUnitType"; +const _tCVR = "targetConfigurationValueRollup"; +const _tCVS = "targetConfigurationValueSet"; +const _tCa = "targetCapacity"; +const _tCar = "targetConfiguration"; +const _tD = "terminationDelay"; +const _tDr = "trafficDirection"; +const _tE = "targetEnvironment"; +const _tED = "termEndDate"; +const _tET = "tcpEstablishedTimeout"; +const _tEo = "tokenEndpoint"; +const _tFC = "totalFulfilledCapacity"; +const _tFMIMB = "totalFpgaMemoryInMiB"; +const _tG = "transitGateway"; +const _tGA = "transitGatewayAttachments"; +const _tGAI = "transitGatewayAttachmentId"; +const _tGAP = "transitGatewayAttachmentPropagations"; +const _tGAr = "transitGatewayAttachment"; +const _tGAra = "transitGatewayArn"; +const _tGAran = "transitGatewayAsn"; +const _tGArans = "transitGatewayAddress"; +const _tGC = "transitGatewayConnect"; +const _tGCB = "transitGatewayCidrBlocks"; +const _tGCP = "transitGatewayConnectPeer"; +const _tGCPI = "transitGatewayConnectPeerId"; +const _tGCPS = "transitGatewayConnectPeerSet"; +const _tGCS = "transitGatewayConnectSet"; +const _tGCa = "targetGroupsConfig"; +const _tGI = "transitGatewayId"; +const _tGMD = "transitGatewayMulticastDomain"; +const _tGMDA = "transitGatewayMulticastDomainArn"; +const _tGMDI = "transitGatewayMulticastDomainId"; +const _tGMDr = "transitGatewayMulticastDomains"; +const _tGMIMB = "totalGpuMemoryInMiB"; +const _tGMP = "transitGatewayMeteringPolicy"; +const _tGMPE = "transitGatewayMeteringPolicyEntry"; +const _tGMPEr = "transitGatewayMeteringPolicyEntries"; +const _tGMPI = "transitGatewayMeteringPolicyId"; +const _tGMPr = "transitGatewayMeteringPolicies"; +const _tGOI = "transitGatewayOwnerId"; +const _tGPA = "transitGatewayPeeringAttachment"; +const _tGPAr = "transitGatewayPeeringAttachments"; +const _tGPLR = "transitGatewayPrefixListReference"; +const _tGPLRS = "transitGatewayPrefixListReferenceSet"; +const _tGPT = "transitGatewayPolicyTable"; +const _tGPTE = "transitGatewayPolicyTableEntries"; +const _tGPTI = "transitGatewayPolicyTableId"; +const _tGPTr = "transitGatewayPolicyTables"; +const _tGRT = "transitGatewayRouteTable"; +const _tGRTA = "transitGatewayRouteTableAnnouncement"; +const _tGRTAI = "transitGatewayRouteTableAnnouncementId"; +const _tGRTAr = "transitGatewayRouteTableAnnouncements"; +const _tGRTI = "transitGatewayRouteTableId"; +const _tGRTP = "transitGatewayRouteTablePropagations"; +const _tGRTR = "transitGatewayRouteTableRoute"; +const _tGRTr = "transitGatewayRouteTables"; +const _tGS = "transitGatewaySet"; +const _tGVA = "transitGatewayVpcAttachment"; +const _tGVAr = "transitGatewayVpcAttachments"; +const _tGa = "targetGroups"; +const _tHP = "totalHourlyPrice"; +const _tI = "terminateInstances"; +const _tIAT = "trafficIpAddressType"; +const _tIC = "totalInstanceCount"; +const _tICa = "targetInstanceCount"; +const _tICu = "tunnelInsideCidr"; +const _tII = "trunkInterfaceId"; +const _tIIC = "tunnelInsideIpv6Cidr"; +const _tIIV = "tunnelInsideIpVersion"; +const _tIMIMB = "totalInferenceMemoryInMiB"; +const _tIWE = "terminateInstancesWithExpiration"; +const _tIa = "targetId"; +const _tIar = "targetIops"; +const _tIe = "tenantId"; +const _tK = "tagKey"; +const _tLSGB = "totalLocalStorageGB"; +const _tLV = "trackLatestVersion"; +const _tMAE = "targetMultiAttachEnabled"; +const _tMF = "trafficMirrorFilter"; +const _tMFI = "trafficMirrorFilterId"; +const _tMFR = "trafficMirrorFilterRule"; +const _tMFRI = "trafficMirrorFilterRuleId"; +const _tMFRS = "trafficMirrorFilterRuleSet"; +const _tMFS = "trafficMirrorFilterSet"; +const _tMMIMB = "totalMediaMemoryInMiB"; +const _tMS = "trafficMirrorSession"; +const _tMSI = "trafficMirrorSessionId"; +const _tMSS = "trafficMirrorSessionSet"; +const _tMT = "trafficMirrorTarget"; +const _tMTI = "trafficMirrorTargetId"; +const _tMTS = "trafficMirrorTargetSet"; +const _tN = "tokenName"; +const _tNDMIMB = "totalNeuronDeviceMemoryInMiB"; +const _tNI = "targetNetworkId"; +const _tOAT = "transferOfferAcceptedTimestamp"; +const _tOET = "transferOfferExpirationTimestamp"; +const _tOS = "tunnelOptionSet"; +const _tP = "toPort"; +const _tPC = "threadsPerCore"; +const _tPT = "trustProviderType"; +const _tPr = "transportProtocol"; +const _tRC = "targetResourceCount"; +const _tRS = "throughResourceSet"; +const _tRSi = "timeRangeSet"; +const _tRTI = "targetRouteTableId"; +const _tS = "tagSet"; +const _tSD = "termStartDate"; +const _tSIGB = "totalSizeInGB"; +const _tSIH = "totalScheduledInstanceHours"; +const _tSS = "tagSpecificationSet"; +const _tST = "tieringStartTime"; +const _tSTa = "taskStartTime"; +const _tSa = "targetSubnet"; +const _tSar = "targetSize"; +const _tSas = "taskState"; +const _tSp = "tpmSupport"; +const _tT = "trafficType"; +const _tTC = "totalTargetCapacity"; +const _tTGAI = "transportTransitGatewayAttachmentId"; +const _tTa = "taskType"; +const _tTar = "targetThroughput"; +const _tTr = "transferType"; +const _tUC = "totalUnavailableCapacity"; +const _tUP = "totalUpfrontPrice"; +const _tV = "tokenValue"; +const _tVC = "totalVCpus"; +const _tVT = "targetVolumeType"; +const _ta = "tag"; +const _tag = "tags"; +const _te = "term"; +const _th = "throughput"; +const _ti = "timestamp"; +const _tie = "tier"; +const _to = "to"; +const _ty = "type"; +const _u = "unsuccessful"; +const _uA = "updatedAt"; +const _uB = "userBucket"; +const _uC = "ultraserverCount"; +const _uCs = "usageCount"; +const _uD = "uefiData"; +const _uDLTVS = "unsuccessfullyDeletedLaunchTemplateVersionSet"; +const _uDp = "updatedDate"; +const _uDpd = "updateDate"; +const _uDs = "userData"; +const _uEA = "updateEffectiveAt"; +const _uF = "upfrontFee"; +const _uFDS = "unsuccessfulFleetDeletionSet"; +const _uFRS = "unsuccessfulFleetRequestSet"; +const _uI = "userId"; +const _uIA = "unassignedIpv6Addresses"; +const _uIC = "usedInstanceCount"; +const _uICSS = "unsuccessfulInstanceCreditSpecificationSet"; +const _uIE = "userInfoEndpoint"; +const _uIPS = "unknownIpPermissionSet"; +const _uIPSn = "unassignedIpv6PrefixSet"; +const _uLI = "useLongIds"; +const _uLIA = "useLongIdsAggregated"; +const _uO = "usageOperation"; +const _uOUT = "usageOperationUpdateTime"; +const _uP = "upfrontPrice"; +const _uPS = "uploadPolicySignature"; +const _uPp = "uploadPolicy"; +const _uPs = "usagePrice"; +const _uRBOI = "unusedReservationBillingOwnerId"; +const _uS = "usageStrategy"; +const _uST = "udpStreamTimeout"; +const _uT = "updateTime"; +const _uTP = "userTrustProvider"; +const _uTPT = "userTrustProviderType"; +const _uTd = "udpTimeout"; +const _uTl = "ultraserverType"; +const _ur = "url"; +const _us = "username"; +const _v = "value"; +const _vAE = "verifiedAccessEndpoint"; +const _vAEI = "verifiedAccessEndpointId"; +const _vAES = "verifiedAccessEndpointSet"; +const _vAETD = "verifiedAccessEndpointTargetDns"; +const _vAETIA = "verifiedAccessEndpointTargetIpAddress"; +const _vAETS = "verifiedAccessEndpointTargetSet"; +const _vAG = "verifiedAccessGroup"; +const _vAGA = "verifiedAccessGroupArn"; +const _vAGI = "verifiedAccessGroupId"; +const _vAGS = "verifiedAccessGroupSet"; +const _vAI = "verifiedAccessInstance"; +const _vAII = "verifiedAccessInstanceId"; +const _vAIS = "verifiedAccessInstanceSet"; +const _vATP = "verifiedAccessTrustProvider"; +const _vATPI = "verifiedAccessTrustProviderId"; +const _vATPS = "verifiedAccessTrustProviderSet"; +const _vBPAE = "vpcBlockPublicAccessExclusion"; +const _vBPAES = "vpcBlockPublicAccessExclusionSet"; +const _vBPAO = "vpcBlockPublicAccessOptions"; +const _vC = "vpnConcentrator"; +const _vCC = "vCpuCount"; +const _vCDSC = "vpnConnectionDeviceSampleConfiguration"; +const _vCDTI = "vpnConnectionDeviceTypeId"; +const _vCDTS = "vpnConnectionDeviceTypeSet"; +const _vCI = "vpnConnectionId"; +const _vCIp = "vCpuInfo"; +const _vCIpn = "vpnConcentratorId"; +const _vCS = "vpnConcentratorSet"; +const _vCSp = "vpnConnectionSet"; +const _vCa = "validCores"; +const _vCp = "vpnConnection"; +const _vD = "versionDescription"; +const _vE = "vpcEndpoint"; +const _vEAS = "vpcEndpointAssociationSet"; +const _vEC = "vpcEncryptionControl"; +const _vECI = "vpcEncryptionControlId"; +const _vECIp = "vpcEndpointConnectionId"; +const _vECS = "vpcEncryptionControlSet"; +const _vECSp = "vpcEndpointConnectionSet"; +const _vEI = "vpcEndpointId"; +const _vEO = "vpcEndpointOwner"; +const _vEPS = "vpcEndpointPolicySupported"; +const _vER = "vpcEndpointRegion"; +const _vES = "vpcEndpointService"; +const _vESp = "vpcEndpointSet"; +const _vESpc = "vpcEndpointState"; +const _vESpn = "vpnEcmpSupport"; +const _vET = "vpcEndpointType"; +const _vF = "validFrom"; +const _vFR = "validationFailureReason"; +const _vG = "vpnGateway"; +const _vGI = "vpnGatewayId"; +const _vGS = "vpnGatewaySet"; +const _vI = "vpcId"; +const _vIR = "volumeInitializationRate"; +const _vIl = "vlanId"; +const _vIo = "volumeId"; +const _vL = "vpcLattice"; +const _vM = "volumeModification"; +const _vMS = "volumeModificationSet"; +const _vN = "virtualName"; +const _vNI = "virtualNetworkId"; +const _vNe = "versionNumber"; +const _vOI = "volumeOwnerId"; +const _vOIp = "vpcOwnerId"; +const _vP = "vpnProtocol"; +const _vPC = "vpcPeeringConnection"; +const _vPCI = "vpcPeeringConnectionId"; +const _vPCS = "vpcPeeringConnectionSet"; +const _vPG = "virtualPrivateGateway"; +const _vPp = "vpnPort"; +const _vPpc = "vpcPeering"; +const _vS = "volumeSet"; +const _vSS = "volumeStatusSet"; +const _vSa = "valueSet"; +const _vSo = "volumeSize"; +const _vSol = "volumeStatus"; +const _vSp = "vpcSet"; +const _vT = "volumeType"; +const _vTOIA = "vpnTunnelOutsideIpAddress"; +const _vTPC = "validThreadsPerCore"; +const _vTg = "vgwTelemetry"; +const _vTi = "virtualizationType"; +const _vU = "validUntil"; +const _ve = "version"; +const _ven = "vendor"; +const _vl = "vlan"; +const _vo = "volumes"; +const _vol = "volume"; +const _vp = "vpc"; +const _vpc = "vpcs"; +const _w = "warning"; +const _wC = "weightedCapacity"; +const _wM = "warningMessage"; +const _wS = "workloadSet"; +const _we = "weight"; +const _xN = "xmlName"; +const _zI = "zoneId"; +const _zN = "zoneName"; +const _zS = "zoneState"; +const _zT = "zoneType"; +const n0 = "com.amazonaws.ec2"; +const schema_1 = __nccwpck_require__(9826); +const EC2ServiceException_1 = __nccwpck_require__(2813); +const _s_registry = schema_1.TypeRegistry.for(_s); +exports.EC2ServiceException$ = [-3, _s, "EC2ServiceException", 0, [], []]; +_s_registry.registerError(exports.EC2ServiceException$, EC2ServiceException_1.EC2ServiceException); +exports.errorTypeRegistries = [ + _s_registry, +]; +var ClientSecretType = [0, n0, _CST, 8, 0]; +var CopySnapshotRequestPSU = [0, n0, _CSRPSU, 8, 0]; +var customerGatewayConfiguration = [0, n0, _cGC, 8, 0]; +var EkPubKeyValue = [0, n0, _EPKV, 8, 0]; +var ImportManifestUrl = [0, n0, _IMU, 8, 0]; +var PasswordData = [0, n0, _PD, 8, 0]; +var preSharedKey = [0, n0, _pSK, 8, 0]; +var ReportInstanceStatusRequestDescription = [0, n0, _RISRD, 8, 0]; +var RunInstancesUserData = [0, n0, _RIUD, 8, 0]; +var S3StorageUploadPolicySignature = [0, n0, _SSUPS, 8, 0]; +var SensitiveMacCredentials = [0, n0, _SMC, 8, 0]; +var SensitiveUrl = [0, n0, _SU, 8, 0]; +var SensitiveUserData = [0, n0, _SUD, 8, 0]; +var VpnConnectionDeviceSampleConfiguration = [0, n0, _VCDSC, 8, 0]; +exports.AcceleratorCount$ = [3, n0, _AC, + 0, + [_M, _Ma], + [[1, { [_eQN]: `Min`, + [_xN]: _m }], [1, { [_eQN]: `Max`, + [_xN]: _ma }]] +]; +exports.AcceleratorCountRequest$ = [3, n0, _ACR, + 0, + [_M, _Ma], + [1, 1] +]; +exports.AcceleratorTotalMemoryMiB$ = [3, n0, _ATMMB, + 0, + [_M, _Ma], + [[1, { [_eQN]: `Min`, + [_xN]: _m }], [1, { [_eQN]: `Max`, + [_xN]: _ma }]] +]; +exports.AcceleratorTotalMemoryMiBRequest$ = [3, n0, _ATMMBR, + 0, + [_M, _Ma], + [1, 1] +]; +exports.AcceptAddressTransferRequest$ = [3, n0, _AATR, + 0, + [_A, _TS, _DR], + [0, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 1 +]; +exports.AcceptAddressTransferResult$ = [3, n0, _AATRc, + 0, + [_AT], + [[() => exports.AddressTransfer$, { [_eQN]: `AddressTransfer`, + [_xN]: _aT }]] +]; +exports.AcceptCapacityReservationBillingOwnershipRequest$ = [3, n0, _ACRBOR, + 0, + [_CRI, _DR], + [0, 2], 1 +]; +exports.AcceptCapacityReservationBillingOwnershipResult$ = [3, n0, _ACRBORc, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.AcceptReservedInstancesExchangeQuoteRequest$ = [3, n0, _ARIEQR, + 0, + [_RII, _DR, _TC], + [[() => ReservedInstanceIdSet, { [_xN]: _RIIe }], 2, [() => TargetConfigurationRequestSet, { [_xN]: _TCa }]], 1 +]; +exports.AcceptReservedInstancesExchangeQuoteResult$ = [3, n0, _ARIEQRc, + 0, + [_EI], + [[0, { [_eQN]: `ExchangeId`, + [_xN]: _eI }]] +]; +exports.AcceptTransitGatewayMulticastDomainAssociationsRequest$ = [3, n0, _ATGMDAR, + 0, + [_TGMDI, _TGAI, _SI, _DR], + [0, 0, [() => ValueStringList, 0], 2] +]; +exports.AcceptTransitGatewayMulticastDomainAssociationsResult$ = [3, n0, _ATGMDARc, + 0, + [_As], + [[() => exports.TransitGatewayMulticastDomainAssociations$, { [_eQN]: `Associations`, + [_xN]: _a }]] +]; +exports.AcceptTransitGatewayPeeringAttachmentRequest$ = [3, n0, _ATGPAR, + 0, + [_TGAI, _DR], + [0, 2], 1 +]; +exports.AcceptTransitGatewayPeeringAttachmentResult$ = [3, n0, _ATGPARc, + 0, + [_TGPA], + [[() => exports.TransitGatewayPeeringAttachment$, { [_eQN]: `TransitGatewayPeeringAttachment`, + [_xN]: _tGPA }]] +]; +exports.AcceptTransitGatewayVpcAttachmentRequest$ = [3, n0, _ATGVAR, + 0, + [_TGAI, _DR], + [0, 2], 1 +]; +exports.AcceptTransitGatewayVpcAttachmentResult$ = [3, n0, _ATGVARc, + 0, + [_TGVA], + [[() => exports.TransitGatewayVpcAttachment$, { [_eQN]: `TransitGatewayVpcAttachment`, + [_xN]: _tGVA }]] +]; +exports.AcceptVpcEndpointConnectionsRequest$ = [3, n0, _AVECR, + 0, + [_SIe, _VEI, _DR], + [0, [() => VpcEndpointIdList, { [_xN]: _VEIp }], 2], 2 +]; +exports.AcceptVpcEndpointConnectionsResult$ = [3, n0, _AVECRc, + 0, + [_U], + [[() => UnsuccessfulItemSet, { [_eQN]: `Unsuccessful`, + [_xN]: _u }]] +]; +exports.AcceptVpcPeeringConnectionRequest$ = [3, n0, _AVPCR, + 0, + [_VPCI, _DR], + [[0, { [_eQN]: `VpcPeeringConnectionId`, + [_xN]: _vPCI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.AcceptVpcPeeringConnectionResult$ = [3, n0, _AVPCRc, + 0, + [_VPC], + [[() => exports.VpcPeeringConnection$, { [_eQN]: `VpcPeeringConnection`, + [_xN]: _vPC }]] +]; +exports.AccessScopeAnalysisFinding$ = [3, n0, _ASAF, + 0, + [_NIASAI, _NIASI, _FI, _FC], + [[0, { [_eQN]: `NetworkInsightsAccessScopeAnalysisId`, + [_xN]: _nIASAI }], [0, { [_eQN]: `NetworkInsightsAccessScopeId`, + [_xN]: _nIASI }], [0, { [_eQN]: `FindingId`, + [_xN]: _fI }], [() => PathComponentList, { [_eQN]: `FindingComponentSet`, + [_xN]: _fCS }]] +]; +exports.AccessScopePath$ = [3, n0, _ASP, + 0, + [_S, _D, _TR], + [[() => exports.PathStatement$, { [_eQN]: `Source`, + [_xN]: _so }], [() => exports.PathStatement$, { [_eQN]: `Destination`, + [_xN]: _d }], [() => ThroughResourcesStatementList, { [_eQN]: `ThroughResourceSet`, + [_xN]: _tRS }]] +]; +exports.AccessScopePathRequest$ = [3, n0, _ASPR, + 0, + [_S, _D, _TR], + [[() => exports.PathStatementRequest$, 0], [() => exports.PathStatementRequest$, 0], [() => ThroughResourcesStatementRequestList, { [_xN]: _TRh }]] +]; +exports.AccountAttribute$ = [3, n0, _AA, + 0, + [_AN, _AV], + [[0, { [_eQN]: `AttributeName`, + [_xN]: _aN }], [() => AccountAttributeValueList, { [_eQN]: `AttributeValueSet`, + [_xN]: _aVS }]] +]; +exports.AccountAttributeValue$ = [3, n0, _AAV, + 0, + [_AVt], + [[0, { [_eQN]: `AttributeValue`, + [_xN]: _aV }]] +]; +exports.ActiveInstance$ = [3, n0, _AI, + 0, + [_II, _IT, _SIRI, _IH], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `SpotInstanceRequestId`, + [_xN]: _sIRI }], [0, { [_eQN]: `InstanceHealth`, + [_xN]: _iH }]] +]; +exports.ActiveVpnTunnelStatus$ = [3, n0, _AVTS, + 0, + [_PEA, _PEAh, _PIA, _PIAh, _PDHG, _PDHGh, _IV, _PS, _PSR], + [[0, { [_eQN]: `Phase1EncryptionAlgorithm`, + [_xN]: _pEA }], [0, { [_eQN]: `Phase2EncryptionAlgorithm`, + [_xN]: _pEAh }], [0, { [_eQN]: `Phase1IntegrityAlgorithm`, + [_xN]: _pIA }], [0, { [_eQN]: `Phase2IntegrityAlgorithm`, + [_xN]: _pIAh }], [1, { [_eQN]: `Phase1DHGroup`, + [_xN]: _pDHG }], [1, { [_eQN]: `Phase2DHGroup`, + [_xN]: _pDHGh }], [0, { [_eQN]: `IkeVersion`, + [_xN]: _iV }], [0, { [_eQN]: `ProvisioningStatus`, + [_xN]: _pS }], [0, { [_eQN]: `ProvisioningStatusReason`, + [_xN]: _pSR }]] +]; +exports.AddedPrincipal$ = [3, n0, _AP, + 0, + [_PT, _P, _SPI, _SIe], + [[0, { [_eQN]: `PrincipalType`, + [_xN]: _pT }], [0, { [_eQN]: `Principal`, + [_xN]: _p }], [0, { [_eQN]: `ServicePermissionId`, + [_xN]: _sPI }], [0, { [_eQN]: `ServiceId`, + [_xN]: _sI }]] +]; +exports.AddIpamOperatingRegion$ = [3, n0, _AIOR, + 0, + [_RN], + [0] +]; +exports.AddIpamOrganizationalUnitExclusion$ = [3, n0, _AIOUE, + 0, + [_OEP], + [0] +]; +exports.AdditionalDetail$ = [3, n0, _AD, + 0, + [_ADT, _C, _VES, _RO, _RGTP, _RGROP, _SN, _LB], + [[0, { [_eQN]: `AdditionalDetailType`, + [_xN]: _aDT }], [() => exports.AnalysisComponent$, { [_eQN]: `Component`, + [_xN]: _c }], [() => exports.AnalysisComponent$, { [_eQN]: `VpcEndpointService`, + [_xN]: _vES }], [() => RuleOptionList, { [_eQN]: `RuleOptionSet`, + [_xN]: _rOS }], [() => RuleGroupTypePairList, { [_eQN]: `RuleGroupTypePairSet`, + [_xN]: _rGTPS }], [() => RuleGroupRuleOptionsPairList, { [_eQN]: `RuleGroupRuleOptionsPairSet`, + [_xN]: _rGROPS }], [0, { [_eQN]: `ServiceName`, + [_xN]: _sN }], [() => AnalysisComponentList, { [_eQN]: `LoadBalancerSet`, + [_xN]: _lBS }]] +]; +exports.AddPrefixListEntry$ = [3, n0, _APLE, + 0, + [_Ci, _De], + [0, 0], 1 +]; +exports.Address$ = [3, n0, _A, + 0, + [_AIl, _AIs, _Do, _NII, _NIOI, _PIAr, _T, _PIP, _NBG, _COI, _COIP, _CI, _SIu, _SM, _II, _PI], + [[0, { [_eQN]: `AllocationId`, + [_xN]: _aI }], [0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `Domain`, + [_xN]: _do }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `NetworkInterfaceOwnerId`, + [_xN]: _nIOI }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `PublicIpv4Pool`, + [_xN]: _pIP }], [0, { [_eQN]: `NetworkBorderGroup`, + [_xN]: _nBG }], [0, { [_eQN]: `CustomerOwnedIp`, + [_xN]: _cOI }], [0, { [_eQN]: `CustomerOwnedIpv4Pool`, + [_xN]: _cOIP }], [0, { [_eQN]: `CarrierIp`, + [_xN]: _cI }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `ServiceManaged`, + [_xN]: _sM }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `PublicIp`, + [_xN]: _pI }]] +]; +exports.AddressAttribute$ = [3, n0, _AAd, + 0, + [_PI, _AIl, _PR, _PRU], + [[0, { [_eQN]: `PublicIp`, + [_xN]: _pI }], [0, { [_eQN]: `AllocationId`, + [_xN]: _aI }], [0, { [_eQN]: `PtrRecord`, + [_xN]: _pR }], [() => exports.PtrUpdateStatus$, { [_eQN]: `PtrRecordUpdate`, + [_xN]: _pRU }]] +]; +exports.AddressTransfer$ = [3, n0, _AT, + 0, + [_PI, _AIl, _TAI, _TOET, _TOAT, _ATS], + [[0, { [_eQN]: `PublicIp`, + [_xN]: _pI }], [0, { [_eQN]: `AllocationId`, + [_xN]: _aI }], [0, { [_eQN]: `TransferAccountId`, + [_xN]: _tAI }], [4, { [_eQN]: `TransferOfferExpirationTimestamp`, + [_xN]: _tOET }], [4, { [_eQN]: `TransferOfferAcceptedTimestamp`, + [_xN]: _tOAT }], [0, { [_eQN]: `AddressTransferStatus`, + [_xN]: _aTS }]] +]; +exports.AdvertiseByoipCidrRequest$ = [3, n0, _ABCR, + 0, + [_Ci, _Asn, _DR, _NBG], + [0, 0, 2, 0], 1 +]; +exports.AdvertiseByoipCidrResult$ = [3, n0, _ABCRd, + 0, + [_BC], + [[() => exports.ByoipCidr$, { [_eQN]: `ByoipCidr`, + [_xN]: _bC }]] +]; +exports.AllocateAddressRequest$ = [3, n0, _AAR, + 0, + [_Do, _A, _PIP, _NBG, _COIP, _TS, _IPI, _DR], + [0, 0, 0, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.AllocateAddressResult$ = [3, n0, _AARl, + 0, + [_AIl, _PIP, _NBG, _Do, _COI, _COIP, _CI, _PI], + [[0, { [_eQN]: `AllocationId`, + [_xN]: _aI }], [0, { [_eQN]: `PublicIpv4Pool`, + [_xN]: _pIP }], [0, { [_eQN]: `NetworkBorderGroup`, + [_xN]: _nBG }], [0, { [_eQN]: `Domain`, + [_xN]: _do }], [0, { [_eQN]: `CustomerOwnedIp`, + [_xN]: _cOI }], [0, { [_eQN]: `CustomerOwnedIpv4Pool`, + [_xN]: _cOIP }], [0, { [_eQN]: `CarrierIp`, + [_xN]: _cI }], [0, { [_eQN]: `PublicIp`, + [_xN]: _pI }]] +]; +exports.AllocateHostsRequest$ = [3, n0, _AHR, + 0, + [_IF, _TS, _HR, _OA, _HM, _AIss, _AZI, _APu, _CT, _IT, _Q, _AZ], + [0, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 0, 0, [64 | 0, { [_xN]: _AIsse }], 0, [0, { [_eQN]: `AutoPlacement`, + [_xN]: _aP }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [1, { [_eQN]: `Quantity`, + [_xN]: _q }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }]] +]; +exports.AllocateHostsResult$ = [3, n0, _AHRl, + 0, + [_HI], + [[() => ResponseHostIdList, { [_eQN]: `HostIdSet`, + [_xN]: _hIS }]] +]; +exports.AllocateIpamPoolCidrRequest$ = [3, n0, _AIPCR, + 0, + [_IPI, _DR, _Ci, _NL, _CT, _De, _PNC, _ACl, _DC], + [0, 2, 0, 1, [0, 4], 0, 2, [() => IpamPoolAllocationAllowedCidrs, { [_xN]: _ACll }], [() => IpamPoolAllocationDisallowedCidrs, { [_xN]: _DCi }]], 1 +]; +exports.AllocateIpamPoolCidrResult$ = [3, n0, _AIPCRl, + 0, + [_IPA], + [[() => exports.IpamPoolAllocation$, { [_eQN]: `IpamPoolAllocation`, + [_xN]: _iPA }]] +]; +exports.AllowedPrincipal$ = [3, n0, _APl, + 0, + [_PT, _P, _SPI, _T, _SIe], + [[0, { [_eQN]: `PrincipalType`, + [_xN]: _pT }], [0, { [_eQN]: `Principal`, + [_xN]: _p }], [0, { [_eQN]: `ServicePermissionId`, + [_xN]: _sPI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `ServiceId`, + [_xN]: _sI }]] +]; +exports.AlternatePathHint$ = [3, n0, _APH, + 0, + [_CIo, _CA], + [[0, { [_eQN]: `ComponentId`, + [_xN]: _cIo }], [0, { [_eQN]: `ComponentArn`, + [_xN]: _cA }]] +]; +exports.AnalysisAclRule$ = [3, n0, _AARn, + 0, + [_Ci, _E, _PRo, _Pr, _RA, _RNu], + [[0, { [_eQN]: `Cidr`, + [_xN]: _ci }], [2, { [_eQN]: `Egress`, + [_xN]: _e }], [() => exports.PortRange$, { [_eQN]: `PortRange`, + [_xN]: _pRo }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [0, { [_eQN]: `RuleAction`, + [_xN]: _rA }], [1, { [_eQN]: `RuleNumber`, + [_xN]: _rN }]] +]; +exports.AnalysisComponent$ = [3, n0, _ACn, + 0, + [_I, _Ar, _N], + [[0, { [_eQN]: `Id`, + [_xN]: _i }], [0, { [_eQN]: `Arn`, + [_xN]: _ar }], [0, { [_eQN]: `Name`, + [_xN]: _n }]] +]; +exports.AnalysisLoadBalancerListener$ = [3, n0, _ALBL, + 0, + [_LBP, _IP], + [[1, { [_eQN]: `LoadBalancerPort`, + [_xN]: _lBP }], [1, { [_eQN]: `InstancePort`, + [_xN]: _iP }]] +]; +exports.AnalysisLoadBalancerTarget$ = [3, n0, _ALBT, + 0, + [_A, _AZ, _AZI, _In, _Po], + [[0, { [_eQN]: `Address`, + [_xN]: _ad }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [() => exports.AnalysisComponent$, { [_eQN]: `Instance`, + [_xN]: _in }], [1, { [_eQN]: `Port`, + [_xN]: _po }]] +]; +exports.AnalysisPacketHeader$ = [3, n0, _APHn, + 0, + [_DA, _DPR, _Pr, _SA, _SPR], + [[() => IpAddressList, { [_eQN]: `DestinationAddressSet`, + [_xN]: _dAS }], [() => PortRangeList, { [_eQN]: `DestinationPortRangeSet`, + [_xN]: _dPRS }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [() => IpAddressList, { [_eQN]: `SourceAddressSet`, + [_xN]: _sAS }], [() => PortRangeList, { [_eQN]: `SourcePortRangeSet`, + [_xN]: _sPRS }]] +]; +exports.AnalysisRouteTableRoute$ = [3, n0, _ARTR, + 0, + [_DCe, _DPLI, _EOIGI, _GI, _II, _NGI, _NII, _O, _TGI, _VPCI, _St, _CGI, _CNA, _LGI], + [[0, { [_eQN]: `DestinationCidr`, + [_xN]: _dC }], [0, { [_eQN]: `DestinationPrefixListId`, + [_xN]: _dPLI }], [0, { [_eQN]: `EgressOnlyInternetGatewayId`, + [_xN]: _eOIGI }], [0, { [_eQN]: `GatewayId`, + [_xN]: _gI }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `NatGatewayId`, + [_xN]: _nGI }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `Origin`, + [_xN]: _o }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `VpcPeeringConnectionId`, + [_xN]: _vPCI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `CarrierGatewayId`, + [_xN]: _cGI }], [0, { [_eQN]: `CoreNetworkArn`, + [_xN]: _cNA }], [0, { [_eQN]: `LocalGatewayId`, + [_xN]: _lGI }]] +]; +exports.AnalysisSecurityGroupRule$ = [3, n0, _ASGR, + 0, + [_Ci, _Di, _SGI, _PRo, _PLI, _Pr], + [[0, { [_eQN]: `Cidr`, + [_xN]: _ci }], [0, { [_eQN]: `Direction`, + [_xN]: _di }], [0, { [_eQN]: `SecurityGroupId`, + [_xN]: _sGI }], [() => exports.PortRange$, { [_eQN]: `PortRange`, + [_xN]: _pRo }], [0, { [_eQN]: `PrefixListId`, + [_xN]: _pLI }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }]] +]; +exports.ApplySecurityGroupsToClientVpnTargetNetworkRequest$ = [3, n0, _ASGTCVTNR, + 0, + [_CVEI, _VI, _SGIe, _DR], + [0, 0, [() => ClientVpnSecurityGroupIdSet, { [_xN]: _SGI }], 2], 3 +]; +exports.ApplySecurityGroupsToClientVpnTargetNetworkResult$ = [3, n0, _ASGTCVTNRp, + 0, + [_SGIe], + [[() => ClientVpnSecurityGroupIdSet, { [_eQN]: `SecurityGroupIds`, + [_xN]: _sGIe }]] +]; +exports.AsnAssociation$ = [3, n0, _AAs, + 0, + [_Asn, _Ci, _SMt, _St], + [[0, { [_eQN]: `Asn`, + [_xN]: _as }], [0, { [_eQN]: `Cidr`, + [_xN]: _ci }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.AsnAuthorizationContext$ = [3, n0, _AAC, + 0, + [_Me, _Si], + [0, 0], 2 +]; +exports.AssignedPrivateIpAddress$ = [3, n0, _APIA, + 0, + [_PIAr], + [[0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }]] +]; +exports.AssignIpv6AddressesRequest$ = [3, n0, _AIAR, + 0, + [_NII, _IPC, _IPp, _IA, _IAC], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], 1, [() => IpPrefixList, { [_xN]: _IPpv }], [() => Ipv6AddressList, { [_eQN]: `Ipv6Addresses`, + [_xN]: _iA }], [1, { [_eQN]: `Ipv6AddressCount`, + [_xN]: _iAC }]], 1 +]; +exports.AssignIpv6AddressesResult$ = [3, n0, _AIARs, + 0, + [_AIA, _AIP, _NII], + [[() => Ipv6AddressList, { [_eQN]: `AssignedIpv6Addresses`, + [_xN]: _aIA }], [() => IpPrefixList, { [_eQN]: `AssignedIpv6PrefixSet`, + [_xN]: _aIPS }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }]] +]; +exports.AssignPrivateIpAddressesRequest$ = [3, n0, _APIAR, + 0, + [_NII, _IPpvr, _IPCp, _PIAri, _SPIAC, _AR], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [() => IpPrefixList, { [_xN]: _IPpvre }], 1, [() => PrivateIpAddressStringList, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }], [1, { [_eQN]: `SecondaryPrivateIpAddressCount`, + [_xN]: _sPIAC }], [2, { [_eQN]: `AllowReassignment`, + [_xN]: _aR }]], 1 +]; +exports.AssignPrivateIpAddressesResult$ = [3, n0, _APIARs, + 0, + [_NII, _APIAs, _AIPs], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [() => AssignedPrivateIpAddressList, { [_eQN]: `AssignedPrivateIpAddressesSet`, + [_xN]: _aPIAS }], [() => Ipv4PrefixesList, { [_eQN]: `AssignedIpv4PrefixSet`, + [_xN]: _aIPSs }]] +]; +exports.AssignPrivateNatGatewayAddressRequest$ = [3, n0, _APNGAR, + 0, + [_NGI, _PIAri, _PIAC, _DR], + [0, [() => IpList, { [_xN]: _PIAr }], 1, 2], 1 +]; +exports.AssignPrivateNatGatewayAddressResult$ = [3, n0, _APNGARs, + 0, + [_NGI, _NGA], + [[0, { [_eQN]: `NatGatewayId`, + [_xN]: _nGI }], [() => NatGatewayAddressList, { [_eQN]: `NatGatewayAddressSet`, + [_xN]: _nGAS }]] +]; +exports.AssociateAddressRequest$ = [3, n0, _AARs, + 0, + [_AIl, _II, _PI, _DR, _NII, _PIAr, _ARl], + [0, 0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }], [2, { [_eQN]: `AllowReassociation`, + [_xN]: _aRl }]] +]; +exports.AssociateAddressResult$ = [3, n0, _AARss, + 0, + [_AIs], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }]] +]; +exports.AssociateCapacityReservationBillingOwnerRequest$ = [3, n0, _ACRBORs, + 0, + [_CRI, _URBOI, _DR], + [0, 0, 2], 2 +]; +exports.AssociateCapacityReservationBillingOwnerResult$ = [3, n0, _ACRBORss, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.AssociateClientVpnTargetNetworkRequest$ = [3, n0, _ACVTNR, + 0, + [_CVEI, _SIu, _CT, _DR], + [0, 0, [0, 4], 2], 2 +]; +exports.AssociateClientVpnTargetNetworkResult$ = [3, n0, _ACVTNRs, + 0, + [_AIs, _Sta], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [() => exports.AssociationStatus$, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.AssociateDhcpOptionsRequest$ = [3, n0, _ADOR, + 0, + [_DOI, _VI, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.AssociatedRole$ = [3, n0, _ARs, + 0, + [_ARA, _CSBN, _CSOK, _EKKI], + [[0, { [_eQN]: `AssociatedRoleArn`, + [_xN]: _aRA }], [0, { [_eQN]: `CertificateS3BucketName`, + [_xN]: _cSBN }], [0, { [_eQN]: `CertificateS3ObjectKey`, + [_xN]: _cSOK }], [0, { [_eQN]: `EncryptionKmsKeyId`, + [_xN]: _eKKI }]] +]; +exports.AssociatedTargetNetwork$ = [3, n0, _ATN, + 0, + [_NI, _NT], + [[0, { [_eQN]: `NetworkId`, + [_xN]: _nI }], [0, { [_eQN]: `NetworkType`, + [_xN]: _nT }]] +]; +exports.AssociateEnclaveCertificateIamRoleRequest$ = [3, n0, _AECIRR, + 0, + [_CAe, _RAo, _DR], + [0, 0, 2], 2 +]; +exports.AssociateEnclaveCertificateIamRoleResult$ = [3, n0, _AECIRRs, + 0, + [_CSBN, _CSOK, _EKKI], + [[0, { [_eQN]: `CertificateS3BucketName`, + [_xN]: _cSBN }], [0, { [_eQN]: `CertificateS3ObjectKey`, + [_xN]: _cSOK }], [0, { [_eQN]: `EncryptionKmsKeyId`, + [_xN]: _eKKI }]] +]; +exports.AssociateIamInstanceProfileRequest$ = [3, n0, _AIIPR, + 0, + [_IIP, _II], + [[() => exports.IamInstanceProfileSpecification$, 0], 0], 2 +]; +exports.AssociateIamInstanceProfileResult$ = [3, n0, _AIIPRs, + 0, + [_IIPA], + [[() => exports.IamInstanceProfileAssociation$, { [_eQN]: `IamInstanceProfileAssociation`, + [_xN]: _iIPA }]] +]; +exports.AssociateInstanceEventWindowRequest$ = [3, n0, _AIEWR, + 0, + [_IEWI, _ATs, _DR], + [0, [() => exports.InstanceEventWindowAssociationRequest$, 0], 2], 2 +]; +exports.AssociateInstanceEventWindowResult$ = [3, n0, _AIEWRs, + 0, + [_IEW], + [[() => exports.InstanceEventWindow$, { [_eQN]: `InstanceEventWindow`, + [_xN]: _iEW }]] +]; +exports.AssociateIpamByoasnRequest$ = [3, n0, _AIBR, + 0, + [_Asn, _Ci, _DR], + [0, 0, 2], 2 +]; +exports.AssociateIpamByoasnResult$ = [3, n0, _AIBRs, + 0, + [_AAs], + [[() => exports.AsnAssociation$, { [_eQN]: `AsnAssociation`, + [_xN]: _aA }]] +]; +exports.AssociateIpamResourceDiscoveryRequest$ = [3, n0, _AIRDR, + 0, + [_IIp, _IRDI, _DR, _TS, _CT], + [0, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4]], 2 +]; +exports.AssociateIpamResourceDiscoveryResult$ = [3, n0, _AIRDRs, + 0, + [_IRDA], + [[() => exports.IpamResourceDiscoveryAssociation$, { [_eQN]: `IpamResourceDiscoveryAssociation`, + [_xN]: _iRDA }]] +]; +exports.AssociateNatGatewayAddressRequest$ = [3, n0, _ANGAR, + 0, + [_NGI, _AIll, _PIAri, _DR, _AZ, _AZI], + [0, [() => AllocationIdList, { [_xN]: _AIl }], [() => IpList, { [_xN]: _PIAr }], 2, 0, 0], 2 +]; +exports.AssociateNatGatewayAddressResult$ = [3, n0, _ANGARs, + 0, + [_NGI, _NGA], + [[0, { [_eQN]: `NatGatewayId`, + [_xN]: _nGI }], [() => NatGatewayAddressList, { [_eQN]: `NatGatewayAddressSet`, + [_xN]: _nGAS }]] +]; +exports.AssociateRouteServerRequest$ = [3, n0, _ARSR, + 0, + [_RSI, _VI, _DR], + [0, 0, 2], 2 +]; +exports.AssociateRouteServerResult$ = [3, n0, _ARSRs, + 0, + [_RSA], + [[() => exports.RouteServerAssociation$, { [_eQN]: `RouteServerAssociation`, + [_xN]: _rSA }]] +]; +exports.AssociateRouteTableRequest$ = [3, n0, _ARTRs, + 0, + [_RTI, _GI, _PIP, _DR, _SIu], + [[0, { [_eQN]: `RouteTableId`, + [_xN]: _rTI }], 0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }]], 1 +]; +exports.AssociateRouteTableResult$ = [3, n0, _ARTRss, + 0, + [_AIs, _AS], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [() => exports.RouteTableAssociationState$, { [_eQN]: `AssociationState`, + [_xN]: _aS }]] +]; +exports.AssociateSecurityGroupVpcRequest$ = [3, n0, _ASGVR, + 0, + [_GIr, _VI, _DR], + [0, 0, 2], 2 +]; +exports.AssociateSecurityGroupVpcResult$ = [3, n0, _ASGVRs, + 0, + [_St], + [[0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.AssociateSubnetCidrBlockRequest$ = [3, n0, _ASCBR, + 0, + [_SIu, _IIPI, _INL, _ICB], + [[0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], 0, 1, [0, { [_eQN]: `Ipv6CidrBlock`, + [_xN]: _iCB }]], 1 +]; +exports.AssociateSubnetCidrBlockResult$ = [3, n0, _ASCBRs, + 0, + [_ICBA, _SIu], + [[() => exports.SubnetIpv6CidrBlockAssociation$, { [_eQN]: `Ipv6CidrBlockAssociation`, + [_xN]: _iCBA }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }]] +]; +exports.AssociateTransitGatewayMulticastDomainRequest$ = [3, n0, _ATGMDR, + 0, + [_TGMDI, _TGAI, _SI, _DR], + [0, 0, [() => TransitGatewaySubnetIdList, 0], 2], 3 +]; +exports.AssociateTransitGatewayMulticastDomainResult$ = [3, n0, _ATGMDRs, + 0, + [_As], + [[() => exports.TransitGatewayMulticastDomainAssociations$, { [_eQN]: `Associations`, + [_xN]: _a }]] +]; +exports.AssociateTransitGatewayPolicyTableRequest$ = [3, n0, _ATGPTR, + 0, + [_TGPTI, _TGAI, _DR], + [0, 0, 2], 2 +]; +exports.AssociateTransitGatewayPolicyTableResult$ = [3, n0, _ATGPTRs, + 0, + [_Ass], + [[() => exports.TransitGatewayPolicyTableAssociation$, { [_eQN]: `Association`, + [_xN]: _ass }]] +]; +exports.AssociateTransitGatewayRouteTableRequest$ = [3, n0, _ATGRTR, + 0, + [_TGRTI, _TGAI, _DR], + [0, 0, 2], 2 +]; +exports.AssociateTransitGatewayRouteTableResult$ = [3, n0, _ATGRTRs, + 0, + [_Ass], + [[() => exports.TransitGatewayAssociation$, { [_eQN]: `Association`, + [_xN]: _ass }]] +]; +exports.AssociateTrunkInterfaceRequest$ = [3, n0, _ATIR, + 0, + [_BII, _TII, _VIl, _GK, _CT, _DR], + [0, 0, 1, 1, [0, 4], 2], 2 +]; +exports.AssociateTrunkInterfaceResult$ = [3, n0, _ATIRs, + 0, + [_IAn, _CT], + [[() => exports.TrunkInterfaceAssociation$, { [_eQN]: `InterfaceAssociation`, + [_xN]: _iAn }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.AssociateVpcCidrBlockRequest$ = [3, n0, _AVCBR, + 0, + [_VI, _CB, _ICBNBG, _IPpvo, _ICB, _IIPIp, _INLp, _IIPI, _INL, _APICB], + [[0, { [_eQN]: `VpcId`, + [_xN]: _vI }], 0, 0, 0, 0, 0, 1, 0, 1, [2, { [_eQN]: `AmazonProvidedIpv6CidrBlock`, + [_xN]: _aPICB }]], 1 +]; +exports.AssociateVpcCidrBlockResult$ = [3, n0, _AVCBRs, + 0, + [_ICBA, _CBA, _VI], + [[() => exports.VpcIpv6CidrBlockAssociation$, { [_eQN]: `Ipv6CidrBlockAssociation`, + [_xN]: _iCBA }], [() => exports.VpcCidrBlockAssociation$, { [_eQN]: `CidrBlockAssociation`, + [_xN]: _cBA }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }]] +]; +exports.AssociationStatus$ = [3, n0, _ASs, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.AthenaIntegration$ = [3, n0, _AIt, + 0, + [_IRSDA, _PLF, _PSD, _PED], + [0, 0, 4, 4], 2 +]; +exports.AttachClassicLinkVpcRequest$ = [3, n0, _ACLVR, + 0, + [_II, _VI, _G, _DR], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [() => GroupIdStringList, { [_xN]: _SGI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 3 +]; +exports.AttachClassicLinkVpcResult$ = [3, n0, _ACLVRt, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.AttachInternetGatewayRequest$ = [3, n0, _AIGR, + 0, + [_IGI, _VI, _DR], + [[0, { [_eQN]: `InternetGatewayId`, + [_xN]: _iGI }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.AttachmentEnaSrdSpecification$ = [3, n0, _AESS, + 0, + [_ESE, _ESUS], + [[2, { [_eQN]: `EnaSrdEnabled`, + [_xN]: _eSE }], [() => exports.AttachmentEnaSrdUdpSpecification$, { [_eQN]: `EnaSrdUdpSpecification`, + [_xN]: _eSUS }]] +]; +exports.AttachmentEnaSrdUdpSpecification$ = [3, n0, _AESUS, + 0, + [_ESUE], + [[2, { [_eQN]: `EnaSrdUdpEnabled`, + [_xN]: _eSUE }]] +]; +exports.AttachNetworkInterfaceRequest$ = [3, n0, _ANIR, + 0, + [_NII, _II, _DI, _NCI, _ESS, _EQC, _DR], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [1, { [_eQN]: `DeviceIndex`, + [_xN]: _dI }], 1, () => exports.EnaSrdSpecification$, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 3 +]; +exports.AttachNetworkInterfaceResult$ = [3, n0, _ANIRt, + 0, + [_AItt, _NCI], + [[0, { [_eQN]: `AttachmentId`, + [_xN]: _aIt }], [1, { [_eQN]: `NetworkCardIndex`, + [_xN]: _nCI }]] +]; +exports.AttachVerifiedAccessTrustProviderRequest$ = [3, n0, _AVATPR, + 0, + [_VAII, _VATPI, _CT, _DR], + [0, 0, [0, 4], 2], 2 +]; +exports.AttachVerifiedAccessTrustProviderResult$ = [3, n0, _AVATPRt, + 0, + [_VATP, _VAI], + [[() => exports.VerifiedAccessTrustProvider$, { [_eQN]: `VerifiedAccessTrustProvider`, + [_xN]: _vATP }], [() => exports.VerifiedAccessInstance$, { [_eQN]: `VerifiedAccessInstance`, + [_xN]: _vAI }]] +]; +exports.AttachVolumeRequest$ = [3, n0, _AVR, + 0, + [_Dev, _II, _VIo, _ECI, _DR], + [0, 0, 0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 3 +]; +exports.AttachVpnGatewayRequest$ = [3, n0, _AVGR, + 0, + [_VI, _VGI, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.AttachVpnGatewayResult$ = [3, n0, _AVGRt, + 0, + [_VA], + [[() => exports.VpcAttachment$, { [_eQN]: `Attachment`, + [_xN]: _at }]] +]; +exports.AttributeBooleanValue$ = [3, n0, _ABV, + 0, + [_V], + [[2, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.AttributeSummary$ = [3, n0, _ASt, + 0, + [_AN, _MFV, _NOMA, _NOUA, _RS], + [[0, { [_eQN]: `AttributeName`, + [_xN]: _aN }], [0, { [_eQN]: `MostFrequentValue`, + [_xN]: _mFV }], [1, { [_eQN]: `NumberOfMatchedAccounts`, + [_xN]: _nOMA }], [1, { [_eQN]: `NumberOfUnmatchedAccounts`, + [_xN]: _nOUA }], [() => RegionalSummaryList, { [_eQN]: `RegionalSummarySet`, + [_xN]: _rSS }]] +]; +exports.AttributeValue$ = [3, n0, _AVt, + 0, + [_V], + [[0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.AuthorizationRule$ = [3, n0, _ARu, + 0, + [_CVEI, _De, _GIr, _AAc, _DCe, _Sta], + [[0, { [_eQN]: `ClientVpnEndpointId`, + [_xN]: _cVEI }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [2, { [_eQN]: `AccessAll`, + [_xN]: _aAc }], [0, { [_eQN]: `DestinationCidr`, + [_xN]: _dC }], [() => exports.ClientVpnAuthorizationRuleStatus$, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.AuthorizeClientVpnIngressRequest$ = [3, n0, _ACVIR, + 0, + [_CVEI, _TNC, _AGI, _AAG, _De, _CT, _DR], + [0, 0, 0, 2, 0, [0, 4], 2], 2 +]; +exports.AuthorizeClientVpnIngressResult$ = [3, n0, _ACVIRu, + 0, + [_Sta], + [[() => exports.ClientVpnAuthorizationRuleStatus$, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.AuthorizeSecurityGroupEgressRequest$ = [3, n0, _ASGER, + 0, + [_GIr, _TS, _DR, _SSGN, _SSGOI, _IPpr, _FP, _TP, _CIi, _IPpe], + [[0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [() => TagSpecificationList, { [_xN]: _TSa }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `SourceSecurityGroupName`, + [_xN]: _sSGN }], [0, { [_eQN]: `SourceSecurityGroupOwnerId`, + [_xN]: _sSGOI }], [0, { [_eQN]: `IpProtocol`, + [_xN]: _iPp }], [1, { [_eQN]: `FromPort`, + [_xN]: _fP }], [1, { [_eQN]: `ToPort`, + [_xN]: _tP }], [0, { [_eQN]: `CidrIp`, + [_xN]: _cIi }], [() => IpPermissionList, { [_eQN]: `IpPermissions`, + [_xN]: _iPpe }]], 1 +]; +exports.AuthorizeSecurityGroupEgressResult$ = [3, n0, _ASGERu, + 0, + [_R, _SGR], + [[2, { [_eQN]: `Return`, + [_xN]: _r }], [() => SecurityGroupRuleList, { [_eQN]: `SecurityGroupRuleSet`, + [_xN]: _sGRS }]] +]; +exports.AuthorizeSecurityGroupIngressRequest$ = [3, n0, _ASGIR, + 0, + [_CIi, _FP, _GIr, _GN, _IPpe, _IPpr, _SSGN, _SSGOI, _TP, _TS, _DR], + [0, 1, 0, 0, [() => IpPermissionList, 0], 0, 0, 0, 1, [() => TagSpecificationList, { [_xN]: _TSa }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.AuthorizeSecurityGroupIngressResult$ = [3, n0, _ASGIRu, + 0, + [_R, _SGR], + [[2, { [_eQN]: `Return`, + [_xN]: _r }], [() => SecurityGroupRuleList, { [_eQN]: `SecurityGroupRuleSet`, + [_xN]: _sGRS }]] +]; +exports.AvailabilityZone$ = [3, n0, _AZ, + 0, + [_OIS, _Mes, _RN, _ZN, _ZI, _GN, _NBG, _ZT, _PZN, _PZI, _GLN, _Ge, _SG, _St], + [[0, { [_eQN]: `OptInStatus`, + [_xN]: _oIS }], [() => AvailabilityZoneMessageList, { [_eQN]: `MessageSet`, + [_xN]: _mS }], [0, { [_eQN]: `RegionName`, + [_xN]: _rNe }], [0, { [_eQN]: `ZoneName`, + [_xN]: _zN }], [0, { [_eQN]: `ZoneId`, + [_xN]: _zI }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [0, { [_eQN]: `NetworkBorderGroup`, + [_xN]: _nBG }], [0, { [_eQN]: `ZoneType`, + [_xN]: _zT }], [0, { [_eQN]: `ParentZoneName`, + [_xN]: _pZN }], [0, { [_eQN]: `ParentZoneId`, + [_xN]: _pZI }], [0, { [_eQN]: `GroupLongName`, + [_xN]: _gLN }], [() => AvailabilityZoneGeographyList, { [_eQN]: `GeographySet`, + [_xN]: _gS }], [() => AvailabilityZoneSubGeographyList, { [_eQN]: `SubGeographySet`, + [_xN]: _sGS }], [0, { [_eQN]: `ZoneState`, + [_xN]: _zS }]] +]; +exports.AvailabilityZoneAddress$ = [3, n0, _AZA, + 0, + [_AZ, _AZI, _AIll], + [0, 0, [() => AllocationIdList, { [_xN]: _AIl }]] +]; +exports.AvailabilityZoneGeography$ = [3, n0, _AZG, + 0, + [_N], + [[0, { [_eQN]: `Name`, + [_xN]: _n }]] +]; +exports.AvailabilityZoneMessage$ = [3, n0, _AZM, + 0, + [_Me], + [[0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.AvailabilityZoneSubGeography$ = [3, n0, _AZSG, + 0, + [_N], + [[0, { [_eQN]: `Name`, + [_xN]: _n }]] +]; +exports.AvailableCapacity$ = [3, n0, _ACv, + 0, + [_AIC, _AVC], + [[() => AvailableInstanceCapacityList, { [_eQN]: `AvailableInstanceCapacity`, + [_xN]: _aIC }], [1, { [_eQN]: `AvailableVCpus`, + [_xN]: _aVC }]] +]; +exports.BaselineEbsBandwidthMbps$ = [3, n0, _BEBM, + 0, + [_M, _Ma], + [[1, { [_eQN]: `Min`, + [_xN]: _m }], [1, { [_eQN]: `Max`, + [_xN]: _ma }]] +]; +exports.BaselineEbsBandwidthMbpsRequest$ = [3, n0, _BEBMR, + 0, + [_M, _Ma], + [1, 1] +]; +exports.BaselinePerformanceFactors$ = [3, n0, _BPF, + 0, + [_Cp], + [[() => exports.CpuPerformanceFactor$, { [_eQN]: `Cpu`, + [_xN]: _cp }]] +]; +exports.BaselinePerformanceFactorsRequest$ = [3, n0, _BPFR, + 0, + [_Cp], + [[() => exports.CpuPerformanceFactorRequest$, 0]] +]; +exports.BlobAttributeValue$ = [3, n0, _BAV, + 0, + [_V], + [[21, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.BlockDeviceMapping$ = [3, n0, _BDM, + 0, + [_Eb, _ND, _DN, _VN], + [[() => exports.EbsBlockDevice$, { [_eQN]: `Ebs`, + [_xN]: _eb }], [0, { [_eQN]: `NoDevice`, + [_xN]: _nD }], [0, { [_eQN]: `DeviceName`, + [_xN]: _dN }], [0, { [_eQN]: `VirtualName`, + [_xN]: _vN }]] +]; +exports.BlockDeviceMappingResponse$ = [3, n0, _BDMR, + 0, + [_DN, _VN, _Eb, _ND], + [[0, { [_eQN]: `DeviceName`, + [_xN]: _dN }], [0, { [_eQN]: `VirtualName`, + [_xN]: _vN }], [() => exports.EbsBlockDeviceResponse$, { [_eQN]: `Ebs`, + [_xN]: _eb }], [0, { [_eQN]: `NoDevice`, + [_xN]: _nD }]] +]; +exports.BlockPublicAccessStates$ = [3, n0, _BPAS, + 0, + [_IGBM], + [[0, { [_eQN]: `InternetGatewayBlockMode`, + [_xN]: _iGBM }]] +]; +exports.BundleInstanceRequest$ = [3, n0, _BIR, + 0, + [_II, _Sto, _DR], + [0, [() => exports.Storage$, 0], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.BundleInstanceResult$ = [3, n0, _BIRu, + 0, + [_BT], + [[() => exports.BundleTask$, { [_eQN]: `BundleInstanceTask`, + [_xN]: _bIT }]] +]; +exports.BundleTask$ = [3, n0, _BT, + 0, + [_II, _BI, _St, _ST, _UT, _Sto, _Pro, _BTE], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `BundleId`, + [_xN]: _bI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }], [4, { [_eQN]: `UpdateTime`, + [_xN]: _uT }], [() => exports.Storage$, { [_eQN]: `Storage`, + [_xN]: _sto }], [0, { [_eQN]: `Progress`, + [_xN]: _pro }], [() => exports.BundleTaskError$, { [_eQN]: `Error`, + [_xN]: _er }]] +]; +exports.BundleTaskError$ = [3, n0, _BTE, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.Byoasn$ = [3, n0, _B, + 0, + [_Asn, _IIp, _SMt, _St], + [[0, { [_eQN]: `Asn`, + [_xN]: _as }], [0, { [_eQN]: `IpamId`, + [_xN]: _iIp }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.ByoipCidr$ = [3, n0, _BC, + 0, + [_Ci, _De, _AAsn, _SMt, _St, _NBG, _ATd], + [[0, { [_eQN]: `Cidr`, + [_xN]: _ci }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => AsnAssociationSet, { [_eQN]: `AsnAssociationSet`, + [_xN]: _aAS }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `NetworkBorderGroup`, + [_xN]: _nBG }], [0, { [_eQN]: `AdvertisementType`, + [_xN]: _aTd }]] +]; +exports.CancelBundleTaskRequest$ = [3, n0, _CBTR, + 0, + [_BI, _DR], + [0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.CancelBundleTaskResult$ = [3, n0, _CBTRa, + 0, + [_BT], + [[() => exports.BundleTask$, { [_eQN]: `BundleInstanceTask`, + [_xN]: _bIT }]] +]; +exports.CancelCapacityReservationFleetError$ = [3, n0, _CCRFE, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.CancelCapacityReservationFleetsRequest$ = [3, n0, _CCRFR, + 0, + [_CRFI, _DR], + [[() => CapacityReservationFleetIdSet, { [_xN]: _CRFIa }], 2], 1 +]; +exports.CancelCapacityReservationFleetsResult$ = [3, n0, _CCRFRa, + 0, + [_SFC, _FFC], + [[() => CapacityReservationFleetCancellationStateSet, { [_eQN]: `SuccessfulFleetCancellationSet`, + [_xN]: _sFCS }], [() => FailedCapacityReservationFleetCancellationResultSet, { [_eQN]: `FailedFleetCancellationSet`, + [_xN]: _fFCS }]] +]; +exports.CancelCapacityReservationRequest$ = [3, n0, _CCRR, + 0, + [_CRI, _DR], + [0, 2], 1 +]; +exports.CancelCapacityReservationResult$ = [3, n0, _CCRRa, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.CancelConversionRequest$ = [3, n0, _CCR, + 0, + [_CTI, _DR, _RM], + [[0, { [_eQN]: `ConversionTaskId`, + [_xN]: _cTI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `ReasonMessage`, + [_xN]: _rM }]], 1 +]; +exports.CancelDeclarativePoliciesReportRequest$ = [3, n0, _CDPRR, + 0, + [_RI, _DR], + [0, 2], 1 +]; +exports.CancelDeclarativePoliciesReportResult$ = [3, n0, _CDPRRa, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.CancelExportTaskRequest$ = [3, n0, _CETR, + 0, + [_ETI], + [[0, { [_eQN]: `ExportTaskId`, + [_xN]: _eTI }]], 1 +]; +exports.CancelImageLaunchPermissionRequest$ = [3, n0, _CILPR, + 0, + [_IIm, _DR], + [0, 2], 1 +]; +exports.CancelImageLaunchPermissionResult$ = [3, n0, _CILPRa, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.CancelImportTaskRequest$ = [3, n0, _CITR, + 0, + [_CR, _DR, _ITI], + [0, 2, 0] +]; +exports.CancelImportTaskResult$ = [3, n0, _CITRa, + 0, + [_ITI, _PSr, _St], + [[0, { [_eQN]: `ImportTaskId`, + [_xN]: _iTI }], [0, { [_eQN]: `PreviousState`, + [_xN]: _pSr }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.CancelledSpotInstanceRequest$ = [3, n0, _CSIR, + 0, + [_SIRI, _St], + [[0, { [_eQN]: `SpotInstanceRequestId`, + [_xN]: _sIRI }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.CancelReservedInstancesListingRequest$ = [3, n0, _CRILR, + 0, + [_RILI], + [[0, { [_eQN]: `ReservedInstancesListingId`, + [_xN]: _rILI }]], 1 +]; +exports.CancelReservedInstancesListingResult$ = [3, n0, _CRILRa, + 0, + [_RIL], + [[() => ReservedInstancesListingList, { [_eQN]: `ReservedInstancesListingsSet`, + [_xN]: _rILS }]] +]; +exports.CancelSpotFleetRequestsError$ = [3, n0, _CSFRE, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.CancelSpotFleetRequestsErrorItem$ = [3, n0, _CSFREI, + 0, + [_Er, _SFRI], + [[() => exports.CancelSpotFleetRequestsError$, { [_eQN]: `Error`, + [_xN]: _er }], [0, { [_eQN]: `SpotFleetRequestId`, + [_xN]: _sFRI }]] +]; +exports.CancelSpotFleetRequestsRequest$ = [3, n0, _CSFRR, + 0, + [_SFRIp, _TI, _DR], + [[() => SpotFleetRequestIdList, { [_eQN]: `SpotFleetRequestId`, + [_xN]: _sFRI }], [2, { [_eQN]: `TerminateInstances`, + [_xN]: _tI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.CancelSpotFleetRequestsResponse$ = [3, n0, _CSFRRa, + 0, + [_SFR, _UFR], + [[() => CancelSpotFleetRequestsSuccessSet, { [_eQN]: `SuccessfulFleetRequestSet`, + [_xN]: _sFRS }], [() => CancelSpotFleetRequestsErrorSet, { [_eQN]: `UnsuccessfulFleetRequestSet`, + [_xN]: _uFRS }]] +]; +exports.CancelSpotFleetRequestsSuccessItem$ = [3, n0, _CSFRSI, + 0, + [_CSFRS, _PSFRS, _SFRI], + [[0, { [_eQN]: `CurrentSpotFleetRequestState`, + [_xN]: _cSFRS }], [0, { [_eQN]: `PreviousSpotFleetRequestState`, + [_xN]: _pSFRS }], [0, { [_eQN]: `SpotFleetRequestId`, + [_xN]: _sFRI }]] +]; +exports.CancelSpotInstanceRequestsRequest$ = [3, n0, _CSIRR, + 0, + [_SIRIp, _DR], + [[() => SpotInstanceRequestIdList, { [_xN]: _SIRI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.CancelSpotInstanceRequestsResult$ = [3, n0, _CSIRRa, + 0, + [_CSIRa], + [[() => CancelledSpotInstanceRequestList, { [_eQN]: `SpotInstanceRequestSet`, + [_xN]: _sIRS }]] +]; +exports.CapacityAllocation$ = [3, n0, _CAa, + 0, + [_ATl, _Cou, _AM], + [[0, { [_eQN]: `AllocationType`, + [_xN]: _aTl }], [1, { [_eQN]: `Count`, + [_xN]: _cou }], [() => CapacityAllocationMetadataList, { [_eQN]: `AllocationMetadataList`, + [_xN]: _aML }]] +]; +exports.CapacityAllocationMetadataEntry$ = [3, n0, _CAME, + 0, + [_K, _V], + [[0, { [_eQN]: `Key`, + [_xN]: _k }], [0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.CapacityBlock$ = [3, n0, _CBa, + 0, + [_CBI, _UTl, _AZ, _AZI, _CRIa, _SD, _ED, _CD, _St, _T], + [[0, { [_eQN]: `CapacityBlockId`, + [_xN]: _cBI }], [0, { [_eQN]: `UltraserverType`, + [_xN]: _uTl }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [() => CapacityReservationIdSet, { [_eQN]: `CapacityReservationIdSet`, + [_xN]: _cRIS }], [4, { [_eQN]: `StartDate`, + [_xN]: _sD }], [4, { [_eQN]: `EndDate`, + [_xN]: _eD }], [4, { [_eQN]: `CreateDate`, + [_xN]: _cD }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.CapacityBlockExtension$ = [3, n0, _CBE, + 0, + [_CRI, _IT, _IC, _AZ, _AZI, _CBEOI, _CBEDH, _CBES, _CBEPD, _CBESD, _CBEED, _UF, _CC, _ZT], + [[0, { [_eQN]: `CapacityReservationId`, + [_xN]: _cRI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `CapacityBlockExtensionOfferingId`, + [_xN]: _cBEOI }], [1, { [_eQN]: `CapacityBlockExtensionDurationHours`, + [_xN]: _cBEDH }], [0, { [_eQN]: `CapacityBlockExtensionStatus`, + [_xN]: _cBES }], [4, { [_eQN]: `CapacityBlockExtensionPurchaseDate`, + [_xN]: _cBEPD }], [4, { [_eQN]: `CapacityBlockExtensionStartDate`, + [_xN]: _cBESD }], [4, { [_eQN]: `CapacityBlockExtensionEndDate`, + [_xN]: _cBEED }], [0, { [_eQN]: `UpfrontFee`, + [_xN]: _uF }], [0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [0, { [_eQN]: `ZoneType`, + [_xN]: _zT }]] +]; +exports.CapacityBlockExtensionOffering$ = [3, n0, _CBEO, + 0, + [_CBEOI, _IT, _IC, _AZ, _AZI, _SD, _CBESD, _CBEED, _CBEDH, _UF, _CC, _Te, _ZT], + [[0, { [_eQN]: `CapacityBlockExtensionOfferingId`, + [_xN]: _cBEOI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [4, { [_eQN]: `StartDate`, + [_xN]: _sD }], [4, { [_eQN]: `CapacityBlockExtensionStartDate`, + [_xN]: _cBESD }], [4, { [_eQN]: `CapacityBlockExtensionEndDate`, + [_xN]: _cBEED }], [1, { [_eQN]: `CapacityBlockExtensionDurationHours`, + [_xN]: _cBEDH }], [0, { [_eQN]: `UpfrontFee`, + [_xN]: _uF }], [0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [0, { [_eQN]: `Tenancy`, + [_xN]: _t }], [0, { [_eQN]: `ZoneType`, + [_xN]: _zT }]] +]; +exports.CapacityBlockOffering$ = [3, n0, _CBO, + 0, + [_CBOI, _IT, _AZ, _IC, _SD, _ED, _CBDH, _UF, _CC, _Te, _UTl, _UC, _CBDM, _ZT], + [[0, { [_eQN]: `CapacityBlockOfferingId`, + [_xN]: _cBOI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [4, { [_eQN]: `StartDate`, + [_xN]: _sD }], [4, { [_eQN]: `EndDate`, + [_xN]: _eD }], [1, { [_eQN]: `CapacityBlockDurationHours`, + [_xN]: _cBDH }], [0, { [_eQN]: `UpfrontFee`, + [_xN]: _uF }], [0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [0, { [_eQN]: `Tenancy`, + [_xN]: _t }], [0, { [_eQN]: `UltraserverType`, + [_xN]: _uTl }], [1, { [_eQN]: `UltraserverCount`, + [_xN]: _uC }], [1, { [_eQN]: `CapacityBlockDurationMinutes`, + [_xN]: _cBDM }], [0, { [_eQN]: `ZoneType`, + [_xN]: _zT }]] +]; +exports.CapacityBlockStatus$ = [3, n0, _CBS, + 0, + [_CBI, _IS, _TCo, _TAC, _TUC, _CRS], + [[0, { [_eQN]: `CapacityBlockId`, + [_xN]: _cBI }], [0, { [_eQN]: `InterconnectStatus`, + [_xN]: _iS }], [1, { [_eQN]: `TotalCapacity`, + [_xN]: _tC }], [1, { [_eQN]: `TotalAvailableCapacity`, + [_xN]: _tAC }], [1, { [_eQN]: `TotalUnavailableCapacity`, + [_xN]: _tUC }], [() => CapacityReservationStatusSet, { [_eQN]: `CapacityReservationStatusSet`, + [_xN]: _cRSS }]] +]; +exports.CapacityManagerCondition$ = [3, n0, _CMC, + 0, + [_DCim], + [[() => exports.DimensionCondition$, 0]] +]; +exports.CapacityManagerDataExportResponse$ = [3, n0, _CMDER, + 0, + [_CMDEI, _SBN, _SBP, _Sc, _OF, _CTr, _LDS, _LDSM, _LDSLU, _LDT, _T], + [[0, { [_eQN]: `CapacityManagerDataExportId`, + [_xN]: _cMDEI }], [0, { [_eQN]: `S3BucketName`, + [_xN]: _sBN }], [0, { [_eQN]: `S3BucketPrefix`, + [_xN]: _sBP }], [0, { [_eQN]: `Schedule`, + [_xN]: _sc }], [0, { [_eQN]: `OutputFormat`, + [_xN]: _oF }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [0, { [_eQN]: `LatestDeliveryStatus`, + [_xN]: _lDS }], [0, { [_eQN]: `LatestDeliveryStatusMessage`, + [_xN]: _lDSM }], [0, { [_eQN]: `LatestDeliveryS3LocationUri`, + [_xN]: _lDSLU }], [4, { [_eQN]: `LatestDeliveryTime`, + [_xN]: _lDT }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.CapacityManagerDimension$ = [3, n0, _CMD, + 0, + [_RR, _AZI, _AIc, _ANc, _IF, _IT, _IPn, _RAe, _RIe, _RT, _RCT, _RST, _RET, _REDT, _Te, _RSe, _RIMC, _RUFO, _T], + [[0, { [_eQN]: `ResourceRegion`, + [_xN]: _rR }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `AccountId`, + [_xN]: _aIc }], [0, { [_eQN]: `AccountName`, + [_xN]: _aNc }], [0, { [_eQN]: `InstanceFamily`, + [_xN]: _iF }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `InstancePlatform`, + [_xN]: _iPn }], [0, { [_eQN]: `ReservationArn`, + [_xN]: _rAe }], [0, { [_eQN]: `ReservationId`, + [_xN]: _rI }], [0, { [_eQN]: `ReservationType`, + [_xN]: _rT }], [4, { [_eQN]: `ReservationCreateTimestamp`, + [_xN]: _rCT }], [4, { [_eQN]: `ReservationStartTimestamp`, + [_xN]: _rST }], [4, { [_eQN]: `ReservationEndTimestamp`, + [_xN]: _rET }], [0, { [_eQN]: `ReservationEndDateType`, + [_xN]: _rEDT }], [0, { [_eQN]: `Tenancy`, + [_xN]: _t }], [0, { [_eQN]: `ReservationState`, + [_xN]: _rS }], [0, { [_eQN]: `ReservationInstanceMatchCriteria`, + [_xN]: _rIMC }], [0, { [_eQN]: `ReservationUnusedFinancialOwner`, + [_xN]: _rUFO }], [() => CapacityManagerTagDimensionSet, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.CapacityManagerMonitoredTagKey$ = [3, n0, _CMMTK, + 0, + [_TK, _Sta, _SMt, _CMP, _EDT], + [[0, { [_eQN]: `TagKey`, + [_xN]: _tK }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [2, { [_eQN]: `CapacityManagerProvided`, + [_xN]: _cMP }], [4, { [_eQN]: `EarliestDatapointTimestamp`, + [_xN]: _eDT }]] +]; +exports.CapacityManagerTagDimension$ = [3, n0, _CMTD, + 0, + [_K, _V], + [[0, { [_eQN]: `Key`, + [_xN]: _k }], [0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.CapacityReservation$ = [3, n0, _CRa, + 0, + [_CRI, _OI, _CRA, _AZI, _IT, _IPn, _AZ, _Te, _TIC, _AICv, _EO, _ES, _St, _SD, _ED, _EDTn, _IMC, _CD, _T, _OA, _CRFIa, _PGA, _CAap, _RT, _URBOI, _CIom, _DP, _CBI, _Int, _ICA, _IIn], + [[0, { [_eQN]: `CapacityReservationId`, + [_xN]: _cRI }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `CapacityReservationArn`, + [_xN]: _cRA }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `InstancePlatform`, + [_xN]: _iPn }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `Tenancy`, + [_xN]: _t }], [1, { [_eQN]: `TotalInstanceCount`, + [_xN]: _tIC }], [1, { [_eQN]: `AvailableInstanceCount`, + [_xN]: _aICv }], [2, { [_eQN]: `EbsOptimized`, + [_xN]: _eO }], [2, { [_eQN]: `EphemeralStorage`, + [_xN]: _eS }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `StartDate`, + [_xN]: _sD }], [4, { [_eQN]: `EndDate`, + [_xN]: _eD }], [0, { [_eQN]: `EndDateType`, + [_xN]: _eDTn }], [0, { [_eQN]: `InstanceMatchCriteria`, + [_xN]: _iMC }], [4, { [_eQN]: `CreateDate`, + [_xN]: _cD }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `CapacityReservationFleetId`, + [_xN]: _cRFI }], [0, { [_eQN]: `PlacementGroupArn`, + [_xN]: _pGA }], [() => CapacityAllocations, { [_eQN]: `CapacityAllocationSet`, + [_xN]: _cAS }], [0, { [_eQN]: `ReservationType`, + [_xN]: _rT }], [0, { [_eQN]: `UnusedReservationBillingOwnerId`, + [_xN]: _uRBOI }], [() => exports.CapacityReservationCommitmentInfo$, { [_eQN]: `CommitmentInfo`, + [_xN]: _cIom }], [0, { [_eQN]: `DeliveryPreference`, + [_xN]: _dP }], [0, { [_eQN]: `CapacityBlockId`, + [_xN]: _cBI }], [2, { [_eQN]: `Interruptible`, + [_xN]: _int }], [() => exports.InterruptibleCapacityAllocation$, { [_eQN]: `InterruptibleCapacityAllocation`, + [_xN]: _iCA }], [() => exports.InterruptionInfo$, { [_eQN]: `InterruptionInfo`, + [_xN]: _iIn }]] +]; +exports.CapacityReservationBillingRequest$ = [3, n0, _CRBR, + 0, + [_CRI, _RB, _URBOI, _LUT, _Sta, _SMt, _CRIap], + [[0, { [_eQN]: `CapacityReservationId`, + [_xN]: _cRI }], [0, { [_eQN]: `RequestedBy`, + [_xN]: _rB }], [0, { [_eQN]: `UnusedReservationBillingOwnerId`, + [_xN]: _uRBOI }], [4, { [_eQN]: `LastUpdateTime`, + [_xN]: _lUT }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [() => exports.CapacityReservationInfo$, { [_eQN]: `CapacityReservationInfo`, + [_xN]: _cRIa }]] +]; +exports.CapacityReservationCommitmentInfo$ = [3, n0, _CRCI, + 0, + [_CIC, _CED], + [[1, { [_eQN]: `CommittedInstanceCount`, + [_xN]: _cIC }], [4, { [_eQN]: `CommitmentEndDate`, + [_xN]: _cED }]] +]; +exports.CapacityReservationFleet$ = [3, n0, _CRF, + 0, + [_CRFIa, _CRFA, _St, _TTC, _TFC, _Te, _ED, _CTr, _IMC, _ASl, _ITS, _T], + [[0, { [_eQN]: `CapacityReservationFleetId`, + [_xN]: _cRFI }], [0, { [_eQN]: `CapacityReservationFleetArn`, + [_xN]: _cRFA }], [0, { [_eQN]: `State`, + [_xN]: _st }], [1, { [_eQN]: `TotalTargetCapacity`, + [_xN]: _tTC }], [1, { [_eQN]: `TotalFulfilledCapacity`, + [_xN]: _tFC }], [0, { [_eQN]: `Tenancy`, + [_xN]: _t }], [4, { [_eQN]: `EndDate`, + [_xN]: _eD }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [0, { [_eQN]: `InstanceMatchCriteria`, + [_xN]: _iMC }], [0, { [_eQN]: `AllocationStrategy`, + [_xN]: _aSl }], [() => FleetCapacityReservationSet, { [_eQN]: `InstanceTypeSpecificationSet`, + [_xN]: _iTSS }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.CapacityReservationFleetCancellationState$ = [3, n0, _CRFCS, + 0, + [_CFS, _PFS, _CRFIa], + [[0, { [_eQN]: `CurrentFleetState`, + [_xN]: _cFS }], [0, { [_eQN]: `PreviousFleetState`, + [_xN]: _pFS }], [0, { [_eQN]: `CapacityReservationFleetId`, + [_xN]: _cRFI }]] +]; +exports.CapacityReservationGroup$ = [3, n0, _CRG, + 0, + [_GA, _OI], + [[0, { [_eQN]: `GroupArn`, + [_xN]: _gA }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }]] +]; +exports.CapacityReservationInfo$ = [3, n0, _CRIap, + 0, + [_IT, _AZ, _Te, _AZI], + [[0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `Tenancy`, + [_xN]: _t }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }]] +]; +exports.CapacityReservationOptions$ = [3, n0, _CRO, + 0, + [_US], + [[0, { [_eQN]: `UsageStrategy`, + [_xN]: _uS }]] +]; +exports.CapacityReservationOptionsRequest$ = [3, n0, _CROR, + 0, + [_US], + [0] +]; +exports.CapacityReservationSpecification$ = [3, n0, _CRSa, + 0, + [_CRP, _CRT], + [0, () => exports.CapacityReservationTarget$] +]; +exports.CapacityReservationSpecificationResponse$ = [3, n0, _CRSR, + 0, + [_CRP, _CRT], + [[0, { [_eQN]: `CapacityReservationPreference`, + [_xN]: _cRP }], [() => exports.CapacityReservationTargetResponse$, { [_eQN]: `CapacityReservationTarget`, + [_xN]: _cRT }]] +]; +exports.CapacityReservationStatus$ = [3, n0, _CRSap, + 0, + [_CRI, _TCo, _TAC, _TUC], + [[0, { [_eQN]: `CapacityReservationId`, + [_xN]: _cRI }], [1, { [_eQN]: `TotalCapacity`, + [_xN]: _tC }], [1, { [_eQN]: `TotalAvailableCapacity`, + [_xN]: _tAC }], [1, { [_eQN]: `TotalUnavailableCapacity`, + [_xN]: _tUC }]] +]; +exports.CapacityReservationTarget$ = [3, n0, _CRT, + 0, + [_CRI, _CRRGA], + [0, 0] +]; +exports.CapacityReservationTargetResponse$ = [3, n0, _CRTR, + 0, + [_CRI, _CRRGA], + [[0, { [_eQN]: `CapacityReservationId`, + [_xN]: _cRI }], [0, { [_eQN]: `CapacityReservationResourceGroupArn`, + [_xN]: _cRRGA }]] +]; +exports.CapacityReservationTopology$ = [3, n0, _CRTa, + 0, + [_CRI, _CBI, _St, _IT, _GN, _NN, _AZI, _AZ], + [[0, { [_eQN]: `CapacityReservationId`, + [_xN]: _cRI }], [0, { [_eQN]: `CapacityBlockId`, + [_xN]: _cBI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [() => NetworkNodeSet, { [_eQN]: `NetworkNodeSet`, + [_xN]: _nNS }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }]] +]; +exports.CarrierGateway$ = [3, n0, _CG, + 0, + [_CGI, _VI, _St, _OI, _T], + [[0, { [_eQN]: `CarrierGatewayId`, + [_xN]: _cGI }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.CertificateAuthentication$ = [3, n0, _CAer, + 0, + [_CRCC], + [[0, { [_eQN]: `ClientRootCertificateChain`, + [_xN]: _cRCC }]] +]; +exports.CertificateAuthenticationRequest$ = [3, n0, _CAR, + 0, + [_CRCCA], + [0] +]; +exports.CidrAuthorizationContext$ = [3, n0, _CAC, + 0, + [_Me, _Si], + [0, 0], 2 +]; +exports.CidrBlock$ = [3, n0, _CB, + 0, + [_CB], + [[0, { [_eQN]: `CidrBlock`, + [_xN]: _cB }]] +]; +exports.ClassicLinkDnsSupport$ = [3, n0, _CLDS, + 0, + [_CLDSl, _VI], + [[2, { [_eQN]: `ClassicLinkDnsSupported`, + [_xN]: _cLDS }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }]] +]; +exports.ClassicLinkInstance$ = [3, n0, _CLI, + 0, + [_G, _II, _T, _VI], + [[() => GroupIdentifierList, { [_eQN]: `GroupSet`, + [_xN]: _gSr }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }]] +]; +exports.ClassicLoadBalancer$ = [3, n0, _CLB, + 0, + [_N], + [[0, { [_eQN]: `Name`, + [_xN]: _n }]] +]; +exports.ClassicLoadBalancersConfig$ = [3, n0, _CLBC, + 0, + [_CLBl], + [[() => ClassicLoadBalancers, { [_eQN]: `ClassicLoadBalancers`, + [_xN]: _cLB }]] +]; +exports.ClientCertificateRevocationListStatus$ = [3, n0, _CCRLS, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.ClientConnectOptions$ = [3, n0, _CCO, + 0, + [_En, _LFA], + [2, 0] +]; +exports.ClientConnectResponseOptions$ = [3, n0, _CCRO, + 0, + [_En, _LFA, _Sta], + [[2, { [_eQN]: `Enabled`, + [_xN]: _en }], [0, { [_eQN]: `LambdaFunctionArn`, + [_xN]: _lFA }], [() => exports.ClientVpnEndpointAttributeStatus$, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.ClientData$ = [3, n0, _CDl, + 0, + [_Com, _UE, _USp, _USpl], + [0, 4, 1, 4] +]; +exports.ClientLoginBannerOptions$ = [3, n0, _CLBO, + 0, + [_En, _BTa], + [2, 0] +]; +exports.ClientLoginBannerResponseOptions$ = [3, n0, _CLBRO, + 0, + [_En, _BTa], + [[2, { [_eQN]: `Enabled`, + [_xN]: _en }], [0, { [_eQN]: `BannerText`, + [_xN]: _bT }]] +]; +exports.ClientRouteEnforcementOptions$ = [3, n0, _CREO, + 0, + [_Enf], + [2] +]; +exports.ClientRouteEnforcementResponseOptions$ = [3, n0, _CRERO, + 0, + [_Enf], + [[2, { [_eQN]: `Enforced`, + [_xN]: _enf }]] +]; +exports.ClientVpnAuthentication$ = [3, n0, _CVA, + 0, + [_Ty, _ADc, _MA, _FA], + [[0, { [_eQN]: `Type`, + [_xN]: _ty }], [() => exports.DirectoryServiceAuthentication$, { [_eQN]: `ActiveDirectory`, + [_xN]: _aD }], [() => exports.CertificateAuthentication$, { [_eQN]: `MutualAuthentication`, + [_xN]: _mA }], [() => exports.FederatedAuthentication$, { [_eQN]: `FederatedAuthentication`, + [_xN]: _fA }]] +]; +exports.ClientVpnAuthenticationRequest$ = [3, n0, _CVAR, + 0, + [_Ty, _ADc, _MA, _FA], + [0, () => exports.DirectoryServiceAuthenticationRequest$, () => exports.CertificateAuthenticationRequest$, () => exports.FederatedAuthenticationRequest$] +]; +exports.ClientVpnAuthorizationRuleStatus$ = [3, n0, _CVARS, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.ClientVpnConnection$ = [3, n0, _CVC, + 0, + [_CVEI, _Ti, _CIon, _Us, _CET, _IB, _EB, _IPng, _EP, _CIl, _CIA, _CN, _Sta, _CETo, _PCS], + [[0, { [_eQN]: `ClientVpnEndpointId`, + [_xN]: _cVEI }], [0, { [_eQN]: `Timestamp`, + [_xN]: _ti }], [0, { [_eQN]: `ConnectionId`, + [_xN]: _cIon }], [0, { [_eQN]: `Username`, + [_xN]: _us }], [0, { [_eQN]: `ConnectionEstablishedTime`, + [_xN]: _cET }], [0, { [_eQN]: `IngressBytes`, + [_xN]: _iB }], [0, { [_eQN]: `EgressBytes`, + [_xN]: _eB }], [0, { [_eQN]: `IngressPackets`, + [_xN]: _iPng }], [0, { [_eQN]: `EgressPackets`, + [_xN]: _eP }], [0, { [_eQN]: `ClientIp`, + [_xN]: _cIl }], [0, { [_eQN]: `ClientIpv6Address`, + [_xN]: _cIA }], [0, { [_eQN]: `CommonName`, + [_xN]: _cN }], [() => exports.ClientVpnConnectionStatus$, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `ConnectionEndTime`, + [_xN]: _cETo }], [() => ValueStringList, { [_eQN]: `PostureComplianceStatusSet`, + [_xN]: _pCSS }]] +]; +exports.ClientVpnConnectionStatus$ = [3, n0, _CVCS, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.ClientVpnEndpoint$ = [3, n0, _CVE, + 0, + [_CVEI, _De, _Sta, _CTre, _DT, _DNn, _CCB, _DS, _STp, _VP, _TPr, _VPp, _ATNs, _SCA, _AO, _CLO, _T, _SGIe, _VI, _SSPU, _CCO, _STH, _CLBO, _CREO, _DOST, _EIAT, _TIAT], + [[0, { [_eQN]: `ClientVpnEndpointId`, + [_xN]: _cVEI }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => exports.ClientVpnEndpointStatus$, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [0, { [_eQN]: `DeletionTime`, + [_xN]: _dT }], [0, { [_eQN]: `DnsName`, + [_xN]: _dNn }], [0, { [_eQN]: `ClientCidrBlock`, + [_xN]: _cCB }], [() => ValueStringList, { [_eQN]: `DnsServer`, + [_xN]: _dS }], [2, { [_eQN]: `SplitTunnel`, + [_xN]: _sTp }], [0, { [_eQN]: `VpnProtocol`, + [_xN]: _vP }], [0, { [_eQN]: `TransportProtocol`, + [_xN]: _tPr }], [1, { [_eQN]: `VpnPort`, + [_xN]: _vPp }], [() => AssociatedTargetNetworkSet, { [_eQN]: `AssociatedTargetNetwork`, + [_xN]: _aTN }], [0, { [_eQN]: `ServerCertificateArn`, + [_xN]: _sCA }], [() => ClientVpnAuthenticationList, { [_eQN]: `AuthenticationOptions`, + [_xN]: _aO }], [() => exports.ConnectionLogResponseOptions$, { [_eQN]: `ConnectionLogOptions`, + [_xN]: _cLO }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => ClientVpnSecurityGroupIdSet, { [_eQN]: `SecurityGroupIdSet`, + [_xN]: _sGIS }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `SelfServicePortalUrl`, + [_xN]: _sSPU }], [() => exports.ClientConnectResponseOptions$, { [_eQN]: `ClientConnectOptions`, + [_xN]: _cCO }], [1, { [_eQN]: `SessionTimeoutHours`, + [_xN]: _sTH }], [() => exports.ClientLoginBannerResponseOptions$, { [_eQN]: `ClientLoginBannerOptions`, + [_xN]: _cLBO }], [() => exports.ClientRouteEnforcementResponseOptions$, { [_eQN]: `ClientRouteEnforcementOptions`, + [_xN]: _cREO }], [2, { [_eQN]: `DisconnectOnSessionTimeout`, + [_xN]: _dOST }], [0, { [_eQN]: `EndpointIpAddressType`, + [_xN]: _eIAT }], [0, { [_eQN]: `TrafficIpAddressType`, + [_xN]: _tIAT }]] +]; +exports.ClientVpnEndpointAttributeStatus$ = [3, n0, _CVEAS, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.ClientVpnEndpointStatus$ = [3, n0, _CVES, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.ClientVpnRoute$ = [3, n0, _CVR, + 0, + [_CVEI, _DCe, _TSar, _Ty, _O, _Sta, _De], + [[0, { [_eQN]: `ClientVpnEndpointId`, + [_xN]: _cVEI }], [0, { [_eQN]: `DestinationCidr`, + [_xN]: _dC }], [0, { [_eQN]: `TargetSubnet`, + [_xN]: _tSa }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `Origin`, + [_xN]: _o }], [() => exports.ClientVpnRouteStatus$, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `Description`, + [_xN]: _de }]] +]; +exports.ClientVpnRouteStatus$ = [3, n0, _CVRS, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.CloudWatchLogOptions$ = [3, n0, _CWLO, + 0, + [_LE, _LGA, _LOF, _BLE, _BLGA, _BLOF], + [[2, { [_eQN]: `LogEnabled`, + [_xN]: _lE }], [0, { [_eQN]: `LogGroupArn`, + [_xN]: _lGA }], [0, { [_eQN]: `LogOutputFormat`, + [_xN]: _lOF }], [2, { [_eQN]: `BgpLogEnabled`, + [_xN]: _bLE }], [0, { [_eQN]: `BgpLogGroupArn`, + [_xN]: _bLGA }], [0, { [_eQN]: `BgpLogOutputFormat`, + [_xN]: _bLOF }]] +]; +exports.CloudWatchLogOptionsSpecification$ = [3, n0, _CWLOS, + 0, + [_LE, _LGA, _LOF, _BLE, _BLGA, _BLOF], + [2, 0, 0, 2, 0, 0] +]; +exports.CoipAddressUsage$ = [3, n0, _CAU, + 0, + [_AIl, _AAI, _ASw, _CIop], + [[0, { [_eQN]: `AllocationId`, + [_xN]: _aI }], [0, { [_eQN]: `AwsAccountId`, + [_xN]: _aAI }], [0, { [_eQN]: `AwsService`, + [_xN]: _aSw }], [0, { [_eQN]: `CoIp`, + [_xN]: _cIop }]] +]; +exports.CoipCidr$ = [3, n0, _CCo, + 0, + [_Ci, _CPI, _LGRTI], + [[0, { [_eQN]: `Cidr`, + [_xN]: _ci }], [0, { [_eQN]: `CoipPoolId`, + [_xN]: _cPI }], [0, { [_eQN]: `LocalGatewayRouteTableId`, + [_xN]: _lGRTI }]] +]; +exports.CoipPool$ = [3, n0, _CP, + 0, + [_PIo, _PC, _LGRTI, _T, _PA], + [[0, { [_eQN]: `PoolId`, + [_xN]: _pIo }], [() => ValueStringList, { [_eQN]: `PoolCidrSet`, + [_xN]: _pCS }], [0, { [_eQN]: `LocalGatewayRouteTableId`, + [_xN]: _lGRTI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `PoolArn`, + [_xN]: _pA }]] +]; +exports.ConfirmProductInstanceRequest$ = [3, n0, _CPIR, + 0, + [_II, _PCr, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.ConfirmProductInstanceResult$ = [3, n0, _CPIRo, + 0, + [_R, _OI], + [[2, { [_eQN]: `Return`, + [_xN]: _r }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }]] +]; +exports.ConnectionLogOptions$ = [3, n0, _CLO, + 0, + [_En, _CLG, _CLS], + [2, 0, 0] +]; +exports.ConnectionLogResponseOptions$ = [3, n0, _CLRO, + 0, + [_En, _CLG, _CLS], + [2, 0, 0] +]; +exports.ConnectionNotification$ = [3, n0, _CNo, + 0, + [_CNI, _SIe, _VEIp, _CNT, _CNAo, _CE, _CNS, _SR], + [[0, { [_eQN]: `ConnectionNotificationId`, + [_xN]: _cNI }], [0, { [_eQN]: `ServiceId`, + [_xN]: _sI }], [0, { [_eQN]: `VpcEndpointId`, + [_xN]: _vEI }], [0, { [_eQN]: `ConnectionNotificationType`, + [_xN]: _cNT }], [0, { [_eQN]: `ConnectionNotificationArn`, + [_xN]: _cNAo }], [() => ValueStringList, { [_eQN]: `ConnectionEvents`, + [_xN]: _cE }], [0, { [_eQN]: `ConnectionNotificationState`, + [_xN]: _cNS }], [0, { [_eQN]: `ServiceRegion`, + [_xN]: _sR }]] +]; +exports.ConnectionTrackingConfiguration$ = [3, n0, _CTC, + 0, + [_TET, _UST, _UTd], + [[1, { [_eQN]: `TcpEstablishedTimeout`, + [_xN]: _tET }], [1, { [_eQN]: `UdpStreamTimeout`, + [_xN]: _uST }], [1, { [_eQN]: `UdpTimeout`, + [_xN]: _uTd }]] +]; +exports.ConnectionTrackingSpecification$ = [3, n0, _CTS, + 0, + [_TET, _UTd, _UST], + [[1, { [_eQN]: `TcpEstablishedTimeout`, + [_xN]: _tET }], [1, { [_eQN]: `UdpTimeout`, + [_xN]: _uTd }], [1, { [_eQN]: `UdpStreamTimeout`, + [_xN]: _uST }]] +]; +exports.ConnectionTrackingSpecificationRequest$ = [3, n0, _CTSR, + 0, + [_TET, _UST, _UTd], + [1, 1, 1] +]; +exports.ConnectionTrackingSpecificationResponse$ = [3, n0, _CTSRo, + 0, + [_TET, _UST, _UTd], + [[1, { [_eQN]: `TcpEstablishedTimeout`, + [_xN]: _tET }], [1, { [_eQN]: `UdpStreamTimeout`, + [_xN]: _uST }], [1, { [_eQN]: `UdpTimeout`, + [_xN]: _uTd }]] +]; +exports.ConversionTask$ = [3, n0, _CTo, + 0, + [_CTI, _ET, _IImp, _IVm, _St, _SMt, _T], + [[0, { [_eQN]: `ConversionTaskId`, + [_xN]: _cTI }], [0, { [_eQN]: `ExpirationTime`, + [_xN]: _eT }], [() => exports.ImportInstanceTaskDetails$, { [_eQN]: `ImportInstance`, + [_xN]: _iIm }], [() => exports.ImportVolumeTaskDetails$, { [_eQN]: `ImportVolume`, + [_xN]: _iVm }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.CopyFpgaImageRequest$ = [3, n0, _CFIR, + 0, + [_SFII, _SRo, _DR, _De, _N, _CT], + [0, 0, 2, 0, 0, 0], 2 +]; +exports.CopyFpgaImageResult$ = [3, n0, _CFIRo, + 0, + [_FII], + [[0, { [_eQN]: `FpgaImageId`, + [_xN]: _fII }]] +]; +exports.CopyImageRequest$ = [3, n0, _CIR, + 0, + [_N, _SII, _SRo, _CT, _De, _Enc, _KKI, _DOA, _CIT, _TS, _SCCDM, _DAZ, _DAZI, _DR], + [0, 0, 0, [0, 4], 0, [2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], [0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }], 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], 1, 0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 3 +]; +exports.CopyImageResult$ = [3, n0, _CIRo, + 0, + [_IIm], + [[0, { [_eQN]: `ImageId`, + [_xN]: _iIma }]] +]; +exports.CopySnapshotRequest$ = [3, n0, _CSR, + 0, + [_SRo, _SSI, _De, _DOA, _DRe, _Enc, _KKI, _PU, _TS, _CDM, _DAZ, _DR], + [0, 0, 0, 0, [0, { [_eQN]: `DestinationRegion`, + [_xN]: _dRe }], [2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], [0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }], [() => CopySnapshotRequestPSU, { [_eQN]: `PresignedUrl`, + [_xN]: _pU }], [() => TagSpecificationList, { [_xN]: _TSa }], 1, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.CopySnapshotResult$ = [3, n0, _CSRo, + 0, + [_T, _SIn], + [[() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }]] +]; +exports.CopyVolumesRequest$ = [3, n0, _CVRo, + 0, + [_SVI, _Io, _Siz, _VT, _DR, _TS, _MAE, _Th, _CT], + [0, 1, 1, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 1, [0, 4]], 1 +]; +exports.CopyVolumesResult$ = [3, n0, _CVRop, + 0, + [_Vo], + [[() => VolumeList, { [_eQN]: `VolumeSet`, + [_xN]: _vS }]] +]; +exports.CpuOptions$ = [3, n0, _CO, + 0, + [_CCor, _TPC, _ASS, _NV], + [[1, { [_eQN]: `CoreCount`, + [_xN]: _cCo }], [1, { [_eQN]: `ThreadsPerCore`, + [_xN]: _tPC }], [0, { [_eQN]: `AmdSevSnp`, + [_xN]: _aSS }], [0, { [_eQN]: `NestedVirtualization`, + [_xN]: _nV }]] +]; +exports.CpuOptionsRequest$ = [3, n0, _COR, + 0, + [_CCor, _TPC, _ASS, _NV], + [1, 1, 0, 0] +]; +exports.CpuPerformanceFactor$ = [3, n0, _CPF, + 0, + [_Re], + [[() => PerformanceFactorReferenceSet, { [_eQN]: `ReferenceSet`, + [_xN]: _rSe }]] +]; +exports.CpuPerformanceFactorRequest$ = [3, n0, _CPFR, + 0, + [_Re], + [[() => PerformanceFactorReferenceSetRequest, { [_xN]: _Ref }]] +]; +exports.CreateCapacityManagerDataExportRequest$ = [3, n0, _CCMDER, + 0, + [_SBN, _Sc, _OF, _SBP, _CT, _DR, _TS], + [0, 0, 0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 3 +]; +exports.CreateCapacityManagerDataExportResult$ = [3, n0, _CCMDERr, + 0, + [_CMDEI], + [[0, { [_eQN]: `CapacityManagerDataExportId`, + [_xN]: _cMDEI }]] +]; +exports.CreateCapacityReservationBySplittingRequest$ = [3, n0, _CCRBSR, + 0, + [_SCRI, _IC, _DR, _CT, _TS], + [0, 1, 2, [0, 4], [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.CreateCapacityReservationBySplittingResult$ = [3, n0, _CCRBSRr, + 0, + [_SCR, _DCR, _IC], + [[() => exports.CapacityReservation$, { [_eQN]: `SourceCapacityReservation`, + [_xN]: _sCR }], [() => exports.CapacityReservation$, { [_eQN]: `DestinationCapacityReservation`, + [_xN]: _dCR }], [1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }]] +]; +exports.CreateCapacityReservationFleetRequest$ = [3, n0, _CCRFRr, + 0, + [_ITS, _TTC, _ASl, _CT, _Te, _ED, _IMC, _TS, _DR], + [[() => ReservationFleetInstanceSpecificationList, { [_xN]: _ITSn }], 1, 0, [0, 4], 0, 4, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 2 +]; +exports.CreateCapacityReservationFleetResult$ = [3, n0, _CCRFRre, + 0, + [_CRFIa, _St, _TTC, _TFC, _IMC, _ASl, _CTr, _ED, _Te, _FCR, _T], + [[0, { [_eQN]: `CapacityReservationFleetId`, + [_xN]: _cRFI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [1, { [_eQN]: `TotalTargetCapacity`, + [_xN]: _tTC }], [1, { [_eQN]: `TotalFulfilledCapacity`, + [_xN]: _tFC }], [0, { [_eQN]: `InstanceMatchCriteria`, + [_xN]: _iMC }], [0, { [_eQN]: `AllocationStrategy`, + [_xN]: _aSl }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [4, { [_eQN]: `EndDate`, + [_xN]: _eD }], [0, { [_eQN]: `Tenancy`, + [_xN]: _t }], [() => FleetCapacityReservationSet, { [_eQN]: `FleetCapacityReservationSet`, + [_xN]: _fCRS }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.CreateCapacityReservationRequest$ = [3, n0, _CCRRr, + 0, + [_IT, _IPn, _IC, _CT, _AZ, _AZI, _Te, _EO, _ES, _ED, _EDTn, _IMC, _TS, _DR, _OA, _PGA, _SD, _CDo, _DP], + [0, 0, 1, 0, 0, 0, 0, 2, 2, 4, 0, 0, [() => TagSpecificationList, 0], 2, 0, 0, 4, 1, 0], 3 +]; +exports.CreateCapacityReservationResult$ = [3, n0, _CCRRre, + 0, + [_CRa], + [[() => exports.CapacityReservation$, { [_eQN]: `CapacityReservation`, + [_xN]: _cR }]] +]; +exports.CreateCarrierGatewayRequest$ = [3, n0, _CCGR, + 0, + [_VI, _TS, _DR, _CT], + [0, [() => TagSpecificationList, { [_xN]: _TSa }], 2, [0, 4]], 1 +]; +exports.CreateCarrierGatewayResult$ = [3, n0, _CCGRr, + 0, + [_CG], + [[() => exports.CarrierGateway$, { [_eQN]: `CarrierGateway`, + [_xN]: _cG }]] +]; +exports.CreateClientVpnEndpointRequest$ = [3, n0, _CCVER, + 0, + [_SCA, _AO, _CLO, _CCB, _DS, _TPr, _VPp, _De, _STp, _DR, _CT, _TS, _SGIe, _VI, _SSP, _CCO, _STH, _CLBO, _CREO, _DOST, _EIAT, _TIAT], + [0, [() => ClientVpnAuthenticationRequestList, { [_xN]: _Au }], () => exports.ConnectionLogOptions$, 0, [() => ValueStringList, 0], 0, 1, 0, 2, 2, [0, 4], [() => TagSpecificationList, { [_xN]: _TSa }], [() => ClientVpnSecurityGroupIdSet, { [_xN]: _SGI }], 0, 0, () => exports.ClientConnectOptions$, 1, () => exports.ClientLoginBannerOptions$, () => exports.ClientRouteEnforcementOptions$, 2, 0, 0], 3 +]; +exports.CreateClientVpnEndpointResult$ = [3, n0, _CCVERr, + 0, + [_CVEI, _Sta, _DNn], + [[0, { [_eQN]: `ClientVpnEndpointId`, + [_xN]: _cVEI }], [() => exports.ClientVpnEndpointStatus$, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `DnsName`, + [_xN]: _dNn }]] +]; +exports.CreateClientVpnRouteRequest$ = [3, n0, _CCVRR, + 0, + [_CVEI, _DCB, _TVSI, _De, _CT, _DR], + [0, 0, 0, 0, [0, 4], 2], 3 +]; +exports.CreateClientVpnRouteResult$ = [3, n0, _CCVRRr, + 0, + [_Sta], + [[() => exports.ClientVpnRouteStatus$, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.CreateCoipCidrRequest$ = [3, n0, _CCCR, + 0, + [_Ci, _CPI, _DR], + [0, 0, 2], 2 +]; +exports.CreateCoipCidrResult$ = [3, n0, _CCCRr, + 0, + [_CCo], + [[() => exports.CoipCidr$, { [_eQN]: `CoipCidr`, + [_xN]: _cCoi }]] +]; +exports.CreateCoipPoolRequest$ = [3, n0, _CCPR, + 0, + [_LGRTI, _TS, _DR], + [0, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 1 +]; +exports.CreateCoipPoolResult$ = [3, n0, _CCPRr, + 0, + [_CP], + [[() => exports.CoipPool$, { [_eQN]: `CoipPool`, + [_xN]: _cP }]] +]; +exports.CreateCustomerGatewayRequest$ = [3, n0, _CCGRre, + 0, + [_Ty, _BA, _PI, _CAe, _TS, _DN, _IAp, _BAE, _DR], + [0, 1, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.CreateCustomerGatewayResult$ = [3, n0, _CCGRrea, + 0, + [_CGu], + [[() => exports.CustomerGateway$, { [_eQN]: `CustomerGateway`, + [_xN]: _cGu }]] +]; +exports.CreateDefaultSubnetRequest$ = [3, n0, _CDSR, + 0, + [_AZ, _DR, _IN, _AZI], + [0, 2, 2, 0] +]; +exports.CreateDefaultSubnetResult$ = [3, n0, _CDSRr, + 0, + [_Su], + [[() => exports.Subnet$, { [_eQN]: `Subnet`, + [_xN]: _su }]] +]; +exports.CreateDefaultVpcRequest$ = [3, n0, _CDVR, + 0, + [_DR], + [2] +]; +exports.CreateDefaultVpcResult$ = [3, n0, _CDVRr, + 0, + [_Vp], + [[() => exports.Vpc$, { [_eQN]: `Vpc`, + [_xN]: _vp }]] +]; +exports.CreateDelegateMacVolumeOwnershipTaskRequest$ = [3, n0, _CDMVOTR, + 0, + [_II, _MC, _CT, _DR, _TS], + [0, [() => SensitiveMacCredentials, 0], [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.CreateDelegateMacVolumeOwnershipTaskResult$ = [3, n0, _CDMVOTRr, + 0, + [_MMT], + [[() => exports.MacModificationTask$, { [_eQN]: `MacModificationTask`, + [_xN]: _mMT }]] +]; +exports.CreateDhcpOptionsRequest$ = [3, n0, _CDOR, + 0, + [_DCh, _TS, _DR], + [[() => NewDhcpConfigurationList, { [_eQN]: `DhcpConfiguration`, + [_xN]: _dCh }], [() => TagSpecificationList, { [_xN]: _TSa }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.CreateDhcpOptionsResult$ = [3, n0, _CDORr, + 0, + [_DO], + [[() => exports.DhcpOptions$, { [_eQN]: `DhcpOptions`, + [_xN]: _dO }]] +]; +exports.CreateEgressOnlyInternetGatewayRequest$ = [3, n0, _CEOIGR, + 0, + [_VI, _CT, _DR, _TS], + [0, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 1 +]; +exports.CreateEgressOnlyInternetGatewayResult$ = [3, n0, _CEOIGRr, + 0, + [_CT, _EOIG], + [[0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [() => exports.EgressOnlyInternetGateway$, { [_eQN]: `EgressOnlyInternetGateway`, + [_xN]: _eOIG }]] +]; +exports.CreateFleetError$ = [3, n0, _CFE, + 0, + [_LTAO, _L, _EC, _EM], + [[() => exports.LaunchTemplateAndOverridesResponse$, { [_eQN]: `LaunchTemplateAndOverrides`, + [_xN]: _lTAO }], [0, { [_eQN]: `Lifecycle`, + [_xN]: _l }], [0, { [_eQN]: `ErrorCode`, + [_xN]: _eC }], [0, { [_eQN]: `ErrorMessage`, + [_xN]: _eM }]] +]; +exports.CreateFleetInstance$ = [3, n0, _CFI, + 0, + [_LTAO, _L, _IIns, _IT, _Pl], + [[() => exports.LaunchTemplateAndOverridesResponse$, { [_eQN]: `LaunchTemplateAndOverrides`, + [_xN]: _lTAO }], [0, { [_eQN]: `Lifecycle`, + [_xN]: _l }], [() => InstanceIdsSet, { [_eQN]: `InstanceIds`, + [_xN]: _iIns }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `Platform`, + [_xN]: _pl }]] +]; +exports.CreateFleetRequest$ = [3, n0, _CFR, + 0, + [_LTC, _TCS, _DR, _CT, _SO, _ODO, _RCO, _ECTP, _TIWE, _Ty, _VF, _VU, _RUI, _TS, _Con], + [[() => FleetLaunchTemplateConfigListRequest, 0], () => exports.TargetCapacitySpecificationRequest$, 2, [0, 4], () => exports.SpotOptionsRequest$, () => exports.OnDemandOptionsRequest$, [() => exports.ReservedCapacityOptionsRequest$, 0], 0, 2, 0, 4, 4, 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0], 2 +]; +exports.CreateFleetResult$ = [3, n0, _CFRr, + 0, + [_FIl, _Err, _Ins], + [[0, { [_eQN]: `FleetId`, + [_xN]: _fIl }], [() => CreateFleetErrorsSet, { [_eQN]: `ErrorSet`, + [_xN]: _eSr }], [() => CreateFleetInstancesSet, { [_eQN]: `FleetInstanceSet`, + [_xN]: _fIS }]] +]; +exports.CreateFlowLogsRequest$ = [3, n0, _CFLR, + 0, + [_RIes, _RTe, _DR, _CT, _DLPA, _DCAR, _LGN, _TT, _LDTo, _LD, _LF, _TS, _MAI, _DOe], + [[() => FlowLogResourceIds, { [_xN]: _RIeso }], 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 1, () => exports.DestinationOptionsRequest$], 2 +]; +exports.CreateFlowLogsResult$ = [3, n0, _CFLRr, + 0, + [_CT, _FLI, _U], + [[0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [() => ValueStringList, { [_eQN]: `FlowLogIdSet`, + [_xN]: _fLIS }], [() => UnsuccessfulItemSet, { [_eQN]: `Unsuccessful`, + [_xN]: _u }]] +]; +exports.CreateFpgaImageRequest$ = [3, n0, _CFIRr, + 0, + [_ISL, _DR, _LSL, _De, _N, _CT, _TS], + [() => exports.StorageLocation$, 2, () => exports.StorageLocation$, 0, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }]], 1 +]; +exports.CreateFpgaImageResult$ = [3, n0, _CFIRre, + 0, + [_FII, _FIGI], + [[0, { [_eQN]: `FpgaImageId`, + [_xN]: _fII }], [0, { [_eQN]: `FpgaImageGlobalId`, + [_xN]: _fIGI }]] +]; +exports.CreateImageRequest$ = [3, n0, _CIRr, + 0, + [_II, _N, _TS, _SL, _DR, _De, _NR, _BDMl], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [() => TagSpecificationList, { [_xN]: _TSa }], 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [2, { [_eQN]: `NoReboot`, + [_xN]: _nR }], [() => BlockDeviceMappingRequestList, { [_eQN]: `BlockDeviceMapping`, + [_xN]: _bDM }]], 2 +]; +exports.CreateImageResult$ = [3, n0, _CIRre, + 0, + [_IIm], + [[0, { [_eQN]: `ImageId`, + [_xN]: _iIma }]] +]; +exports.CreateImageUsageReportRequest$ = [3, n0, _CIURR, + 0, + [_IIm, _RTes, _DR, _AIcc, _CT, _TS], + [0, [() => ImageUsageResourceTypeRequestList, { [_xN]: _RTe }], 2, [() => ImageUsageReportUserIdStringList, { [_xN]: _AIc }], [0, 4], [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.CreateImageUsageReportResult$ = [3, n0, _CIURRr, + 0, + [_RI], + [[0, { [_eQN]: `ReportId`, + [_xN]: _rIe }]] +]; +exports.CreateInstanceConnectEndpointRequest$ = [3, n0, _CICER, + 0, + [_SIu, _DR, _SGIe, _PCI, _CT, _TS, _IAT], + [0, 2, [() => SecurityGroupIdStringListRequest, { [_xN]: _SGI }], 2, [0, 4], [() => TagSpecificationList, { [_xN]: _TSa }], 0], 1 +]; +exports.CreateInstanceConnectEndpointResult$ = [3, n0, _CICERr, + 0, + [_ICE, _CT], + [[() => exports.Ec2InstanceConnectEndpoint$, { [_eQN]: `InstanceConnectEndpoint`, + [_xN]: _iCE }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateInstanceEventWindowRequest$ = [3, n0, _CIEWR, + 0, + [_DR, _N, _TRi, _CEr, _TS], + [2, 0, [() => InstanceEventWindowTimeRangeRequestSet, { [_xN]: _TRim }], 0, [() => TagSpecificationList, { [_xN]: _TSa }]] +]; +exports.CreateInstanceEventWindowResult$ = [3, n0, _CIEWRr, + 0, + [_IEW], + [[() => exports.InstanceEventWindow$, { [_eQN]: `InstanceEventWindow`, + [_xN]: _iEW }]] +]; +exports.CreateInstanceExportTaskRequest$ = [3, n0, _CIETR, + 0, + [_II, _TE, _ETST, _TS, _De], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `TargetEnvironment`, + [_xN]: _tE }], [() => exports.ExportToS3TaskSpecification$, { [_eQN]: `ExportToS3`, + [_xN]: _eTS }], [() => TagSpecificationList, { [_xN]: _TSa }], [0, { [_eQN]: `Description`, + [_xN]: _de }]], 3 +]; +exports.CreateInstanceExportTaskResult$ = [3, n0, _CIETRr, + 0, + [_ETx], + [[() => exports.ExportTask$, { [_eQN]: `ExportTask`, + [_xN]: _eTx }]] +]; +exports.CreateInternetGatewayRequest$ = [3, n0, _CIGR, + 0, + [_TS, _DR], + [[() => TagSpecificationList, { [_xN]: _TSa }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.CreateInternetGatewayResult$ = [3, n0, _CIGRr, + 0, + [_IG], + [[() => exports.InternetGateway$, { [_eQN]: `InternetGateway`, + [_xN]: _iG }]] +]; +exports.CreateInterruptibleCapacityReservationAllocationRequest$ = [3, n0, _CICRAR, + 0, + [_CRI, _IC, _CT, _DR, _TS], + [0, 1, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.CreateInterruptibleCapacityReservationAllocationResult$ = [3, n0, _CICRARr, + 0, + [_SCRI, _TICa, _Sta, _ITn], + [[0, { [_eQN]: `SourceCapacityReservationId`, + [_xN]: _sCRI }], [1, { [_eQN]: `TargetInstanceCount`, + [_xN]: _tICa }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `InterruptionType`, + [_xN]: _iTn }]] +]; +exports.CreateIpamExternalResourceVerificationTokenRequest$ = [3, n0, _CIERVTR, + 0, + [_IIp, _DR, _TS, _CT], + [0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4]], 1 +]; +exports.CreateIpamExternalResourceVerificationTokenResult$ = [3, n0, _CIERVTRr, + 0, + [_IERVT], + [[() => exports.IpamExternalResourceVerificationToken$, { [_eQN]: `IpamExternalResourceVerificationToken`, + [_xN]: _iERVT }]] +]; +exports.CreateIpamPolicyRequest$ = [3, n0, _CIPR, + 0, + [_IIp, _DR, _TS, _CT], + [0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4]], 1 +]; +exports.CreateIpamPolicyResult$ = [3, n0, _CIPRr, + 0, + [_IPpa], + [[() => exports.IpamPolicy$, { [_eQN]: `IpamPolicy`, + [_xN]: _iPpa }]] +]; +exports.CreateIpamPoolRequest$ = [3, n0, _CIPRre, + 0, + [_ISI, _AF, _DR, _Lo, _SIPI, _De, _AIu, _PAu, _AMNL, _AMNLl, _ADNL, _ART, _TS, _CT, _ASw, _PIS, _SRou], + [0, 0, 2, 0, 0, 0, 2, 2, 1, 1, 1, [() => RequestIpamResourceTagList, { [_xN]: _ARTl }], [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4], 0, 0, () => exports.IpamPoolSourceResourceRequest$], 2 +]; +exports.CreateIpamPoolResult$ = [3, n0, _CIPRrea, + 0, + [_IPpam], + [[() => exports.IpamPool$, { [_eQN]: `IpamPool`, + [_xN]: _iPpam }]] +]; +exports.CreateIpamPrefixListResolverRequest$ = [3, n0, _CIPLRR, + 0, + [_IIp, _AF, _DR, _De, _Ru, _TS, _CT], + [0, 0, 2, 0, [() => IpamPrefixListResolverRuleRequestSet, { [_xN]: _Rul }], [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4]], 2 +]; +exports.CreateIpamPrefixListResolverResult$ = [3, n0, _CIPLRRr, + 0, + [_IPLR], + [[() => exports.IpamPrefixListResolver$, { [_eQN]: `IpamPrefixListResolver`, + [_xN]: _iPLR }]] +]; +exports.CreateIpamPrefixListResolverTargetRequest$ = [3, n0, _CIPLRTR, + 0, + [_IPLRI, _PLI, _PLR, _TLV, _DR, _DV, _TS, _CT], + [0, 0, 0, 2, 2, 1, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4]], 4 +]; +exports.CreateIpamPrefixListResolverTargetResult$ = [3, n0, _CIPLRTRr, + 0, + [_IPLRT], + [[() => exports.IpamPrefixListResolverTarget$, { [_eQN]: `IpamPrefixListResolverTarget`, + [_xN]: _iPLRT }]] +]; +exports.CreateIpamRequest$ = [3, n0, _CIRrea, + 0, + [_DR, _De, _OR, _TS, _CT, _Tie, _EPG, _MAe], + [2, 0, [() => AddIpamOperatingRegionSet, { [_xN]: _ORp }], [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4], 0, 2, 0] +]; +exports.CreateIpamResourceDiscoveryRequest$ = [3, n0, _CIRDR, + 0, + [_DR, _De, _OR, _TS, _CT], + [2, 0, [() => AddIpamOperatingRegionSet, { [_xN]: _ORp }], [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4]] +]; +exports.CreateIpamResourceDiscoveryResult$ = [3, n0, _CIRDRr, + 0, + [_IRD], + [[() => exports.IpamResourceDiscovery$, { [_eQN]: `IpamResourceDiscovery`, + [_xN]: _iRD }]] +]; +exports.CreateIpamResult$ = [3, n0, _CIRreat, + 0, + [_Ip], + [[() => exports.Ipam$, { [_eQN]: `Ipam`, + [_xN]: _ip }]] +]; +exports.CreateIpamScopeRequest$ = [3, n0, _CISR, + 0, + [_IIp, _DR, _De, _TS, _CT, _EAC], + [0, 2, 0, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4], () => exports.ExternalAuthorityConfiguration$], 1 +]; +exports.CreateIpamScopeResult$ = [3, n0, _CISRr, + 0, + [_ISp], + [[() => exports.IpamScope$, { [_eQN]: `IpamScope`, + [_xN]: _iSp }]] +]; +exports.CreateKeyPairRequest$ = [3, n0, _CKPR, + 0, + [_KN, _KT, _TS, _KF, _DR], + [0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.CreateLaunchTemplateRequest$ = [3, n0, _CLTR, + 0, + [_LTN, _LTD, _DR, _CT, _VD, _Op, _TS], + [0, [() => exports.RequestLaunchTemplateData$, 0], 2, [0, 4], 0, () => exports.OperatorRequest$, [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.CreateLaunchTemplateResult$ = [3, n0, _CLTRr, + 0, + [_LT, _W], + [[() => exports.LaunchTemplate$, { [_eQN]: `LaunchTemplate`, + [_xN]: _lT }], [() => exports.ValidationWarning$, { [_eQN]: `Warning`, + [_xN]: _w }]] +]; +exports.CreateLaunchTemplateVersionRequest$ = [3, n0, _CLTVR, + 0, + [_LTD, _DR, _CT, _LTI, _LTN, _SV, _VD, _RAes], + [[() => exports.RequestLaunchTemplateData$, 0], 2, [0, 4], 0, 0, 0, 0, 2], 1 +]; +exports.CreateLaunchTemplateVersionResult$ = [3, n0, _CLTVRr, + 0, + [_LTV, _W], + [[() => exports.LaunchTemplateVersion$, { [_eQN]: `LaunchTemplateVersion`, + [_xN]: _lTV }], [() => exports.ValidationWarning$, { [_eQN]: `Warning`, + [_xN]: _w }]] +]; +exports.CreateLocalGatewayRouteRequest$ = [3, n0, _CLGRR, + 0, + [_LGRTI, _DCB, _LGVIGI, _DR, _NII, _DPLI], + [0, 0, 0, 2, 0, 0], 1 +]; +exports.CreateLocalGatewayRouteResult$ = [3, n0, _CLGRRr, + 0, + [_Ro], + [[() => exports.LocalGatewayRoute$, { [_eQN]: `Route`, + [_xN]: _ro }]] +]; +exports.CreateLocalGatewayRouteTableRequest$ = [3, n0, _CLGRTR, + 0, + [_LGI, _Mo, _TS, _DR], + [0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 1 +]; +exports.CreateLocalGatewayRouteTableResult$ = [3, n0, _CLGRTRr, + 0, + [_LGRT], + [[() => exports.LocalGatewayRouteTable$, { [_eQN]: `LocalGatewayRouteTable`, + [_xN]: _lGRT }]] +]; +exports.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest$ = [3, n0, _CLGRTVIGAR, + 0, + [_LGRTI, _LGVIGI, _TS, _DR], + [0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 2 +]; +exports.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult$ = [3, n0, _CLGRTVIGARr, + 0, + [_LGRTVIGA], + [[() => exports.LocalGatewayRouteTableVirtualInterfaceGroupAssociation$, { [_eQN]: `LocalGatewayRouteTableVirtualInterfaceGroupAssociation`, + [_xN]: _lGRTVIGA }]] +]; +exports.CreateLocalGatewayRouteTableVpcAssociationRequest$ = [3, n0, _CLGRTVAR, + 0, + [_LGRTI, _VI, _TS, _DR], + [0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 2 +]; +exports.CreateLocalGatewayRouteTableVpcAssociationResult$ = [3, n0, _CLGRTVARr, + 0, + [_LGRTVA], + [[() => exports.LocalGatewayRouteTableVpcAssociation$, { [_eQN]: `LocalGatewayRouteTableVpcAssociation`, + [_xN]: _lGRTVA }]] +]; +exports.CreateLocalGatewayVirtualInterfaceGroupRequest$ = [3, n0, _CLGVIGR, + 0, + [_LGI, _LBA, _LBAE, _TS, _DR], + [0, 1, 1, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 1 +]; +exports.CreateLocalGatewayVirtualInterfaceGroupResult$ = [3, n0, _CLGVIGRr, + 0, + [_LGVIG], + [[() => exports.LocalGatewayVirtualInterfaceGroup$, { [_eQN]: `LocalGatewayVirtualInterfaceGroup`, + [_xN]: _lGVIG }]] +]; +exports.CreateLocalGatewayVirtualInterfaceRequest$ = [3, n0, _CLGVIR, + 0, + [_LGVIGI, _OLI, _Vl, _LA, _PAe, _PBA, _TS, _DR, _PBAE], + [0, 0, 1, 0, 0, 1, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 1], 5 +]; +exports.CreateLocalGatewayVirtualInterfaceResult$ = [3, n0, _CLGVIRr, + 0, + [_LGVI], + [[() => exports.LocalGatewayVirtualInterface$, { [_eQN]: `LocalGatewayVirtualInterface`, + [_xN]: _lGVI }]] +]; +exports.CreateMacSystemIntegrityProtectionModificationTaskRequest$ = [3, n0, _CMSIPMTR, + 0, + [_II, _MSIPS, _CT, _DR, _MC, _MSIPC, _TS], + [0, 0, [0, 4], 2, [() => SensitiveMacCredentials, 0], () => exports.MacSystemIntegrityProtectionConfigurationRequest$, [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.CreateMacSystemIntegrityProtectionModificationTaskResult$ = [3, n0, _CMSIPMTRr, + 0, + [_MMT], + [[() => exports.MacModificationTask$, { [_eQN]: `MacModificationTask`, + [_xN]: _mMT }]] +]; +exports.CreateManagedPrefixListRequest$ = [3, n0, _CMPLR, + 0, + [_PLN, _ME, _AF, _DR, _Ent, _TS, _CT], + [0, 1, 0, 2, [() => AddPrefixListEntries, { [_xN]: _Entr }], [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4]], 3 +]; +exports.CreateManagedPrefixListResult$ = [3, n0, _CMPLRr, + 0, + [_PL], + [[() => exports.ManagedPrefixList$, { [_eQN]: `PrefixList`, + [_xN]: _pL }]] +]; +exports.CreateNatGatewayRequest$ = [3, n0, _CNGR, + 0, + [_AMv, _AIl, _CT, _DR, _SIu, _VI, _AZAv, _TS, _CTon, _PIAr, _SAI, _SPIA, _SPIAC], + [0, 0, [0, 4], 2, 0, 0, [() => AvailabilityZoneAddresses, { [_xN]: _AZA }], [() => TagSpecificationList, { [_xN]: _TSa }], 0, 0, [() => AllocationIdList, { [_xN]: _SAIe }], [() => IpList, { [_xN]: _SPIAe }], 1] +]; +exports.CreateNatGatewayResult$ = [3, n0, _CNGRr, + 0, + [_CT, _NG], + [[0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [() => exports.NatGateway$, { [_eQN]: `NatGateway`, + [_xN]: _nG }]] +]; +exports.CreateNetworkAclEntryRequest$ = [3, n0, _CNAER, + 0, + [_NAI, _RNu, _Pr, _RA, _E, _DR, _CB, _ICB, _ITC, _PRo], + [[0, { [_eQN]: `NetworkAclId`, + [_xN]: _nAI }], [1, { [_eQN]: `RuleNumber`, + [_xN]: _rN }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [0, { [_eQN]: `RuleAction`, + [_xN]: _rA }], [2, { [_eQN]: `Egress`, + [_xN]: _e }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `CidrBlock`, + [_xN]: _cB }], [0, { [_eQN]: `Ipv6CidrBlock`, + [_xN]: _iCB }], [() => exports.IcmpTypeCode$, { [_xN]: _Ic }], [() => exports.PortRange$, { [_eQN]: `PortRange`, + [_xN]: _pRo }]], 5 +]; +exports.CreateNetworkAclRequest$ = [3, n0, _CNAR, + 0, + [_VI, _TS, _CT, _DR], + [[0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.CreateNetworkAclResult$ = [3, n0, _CNARr, + 0, + [_NA, _CT], + [[() => exports.NetworkAcl$, { [_eQN]: `NetworkAcl`, + [_xN]: _nA }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateNetworkInsightsAccessScopeRequest$ = [3, n0, _CNIASR, + 0, + [_MP, _EPx, _CT, _TS, _DR], + [[() => AccessScopePathListRequest, { [_xN]: _MPa }], [() => AccessScopePathListRequest, { [_xN]: _EPxc }], [0, 4], [() => TagSpecificationList, { [_xN]: _TSa }], 2] +]; +exports.CreateNetworkInsightsAccessScopeResult$ = [3, n0, _CNIASRr, + 0, + [_NIAS, _NIASC], + [[() => exports.NetworkInsightsAccessScope$, { [_eQN]: `NetworkInsightsAccessScope`, + [_xN]: _nIAS }], [() => exports.NetworkInsightsAccessScopeContent$, { [_eQN]: `NetworkInsightsAccessScopeContent`, + [_xN]: _nIASC }]] +]; +exports.CreateNetworkInsightsPathRequest$ = [3, n0, _CNIPR, + 0, + [_S, _Pr, _SIo, _DIe, _D, _DPe, _TS, _DR, _CT, _FAS, _FAD], + [0, 0, 0, 0, 0, 1, [() => TagSpecificationList, { [_xN]: _TSa }], 2, [0, 4], () => exports.PathRequestFilter$, () => exports.PathRequestFilter$], 2 +]; +exports.CreateNetworkInsightsPathResult$ = [3, n0, _CNIPRr, + 0, + [_NIP], + [[() => exports.NetworkInsightsPath$, { [_eQN]: `NetworkInsightsPath`, + [_xN]: _nIP }]] +]; +exports.CreateNetworkInterfacePermissionRequest$ = [3, n0, _CNIPRre, + 0, + [_NII, _Pe, _AAI, _ASw, _DR], + [0, 0, 0, 0, 2], 2 +]; +exports.CreateNetworkInterfacePermissionResult$ = [3, n0, _CNIPRrea, + 0, + [_IPnt], + [[() => exports.NetworkInterfacePermission$, { [_eQN]: `InterfacePermission`, + [_xN]: _iPnt }]] +]; +exports.CreateNetworkInterfaceRequest$ = [3, n0, _CNIR, + 0, + [_SIu, _IPpvr, _IPCp, _IPp, _IPC, _ITnt, _TS, _CT, _EPI, _CTS, _Op, _De, _PIAr, _G, _PIAri, _SPIAC, _IA, _IAC, _DR], + [[0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [() => Ipv4PrefixList, { [_xN]: _IPpvre }], 1, [() => Ipv6PrefixList, { [_xN]: _IPpv }], 1, 0, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4], 2, () => exports.ConnectionTrackingSpecificationRequest$, () => exports.OperatorRequest$, [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }], [() => SecurityGroupIdStringList, { [_xN]: _SGI }], [() => PrivateIpAddressSpecificationList, { [_eQN]: `PrivateIpAddresses`, + [_xN]: _pIAri }], [1, { [_eQN]: `SecondaryPrivateIpAddressCount`, + [_xN]: _sPIAC }], [() => InstanceIpv6AddressList, { [_eQN]: `Ipv6Addresses`, + [_xN]: _iA }], [1, { [_eQN]: `Ipv6AddressCount`, + [_xN]: _iAC }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.CreateNetworkInterfaceResult$ = [3, n0, _CNIRr, + 0, + [_NIe, _CT], + [[() => exports.NetworkInterface$, { [_eQN]: `NetworkInterface`, + [_xN]: _nIe }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreatePlacementGroupRequest$ = [3, n0, _CPGR, + 0, + [_PCa, _TS, _SLp, _LGIi, _Op, _DR, _GN, _Str], + [1, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 0, () => exports.OperatorRequest$, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [0, { [_eQN]: `Strategy`, + [_xN]: _str }]] +]; +exports.CreatePlacementGroupResult$ = [3, n0, _CPGRr, + 0, + [_PG], + [[() => exports.PlacementGroup$, { [_eQN]: `PlacementGroup`, + [_xN]: _pG }]] +]; +exports.CreatePublicIpv4PoolRequest$ = [3, n0, _CPIPR, + 0, + [_DR, _TS, _NBG], + [2, [() => TagSpecificationList, { [_xN]: _TSa }], 0] +]; +exports.CreatePublicIpv4PoolResult$ = [3, n0, _CPIPRr, + 0, + [_PIo], + [[0, { [_eQN]: `PoolId`, + [_xN]: _pIo }]] +]; +exports.CreateReplaceRootVolumeTaskRequest$ = [3, n0, _CRRVTR, + 0, + [_II, _SIn, _CT, _DR, _TS, _IIm, _DRRV, _VIR], + [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 2, 1], 1 +]; +exports.CreateReplaceRootVolumeTaskResult$ = [3, n0, _CRRVTRr, + 0, + [_RRVT], + [[() => exports.ReplaceRootVolumeTask$, { [_eQN]: `ReplaceRootVolumeTask`, + [_xN]: _rRVT }]] +]; +exports.CreateReservedInstancesListingRequest$ = [3, n0, _CRILRr, + 0, + [_RIIes, _IC, _PSri, _CT], + [[0, { [_eQN]: `ReservedInstancesId`, + [_xN]: _rII }], [1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [() => PriceScheduleSpecificationList, { [_eQN]: `PriceSchedules`, + [_xN]: _pSri }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]], 4 +]; +exports.CreateReservedInstancesListingResult$ = [3, n0, _CRILRre, + 0, + [_RIL], + [[() => ReservedInstancesListingList, { [_eQN]: `ReservedInstancesListingsSet`, + [_xN]: _rILS }]] +]; +exports.CreateRestoreImageTaskRequest$ = [3, n0, _CRITR, + 0, + [_Bu, _OK, _N, _TS, _DR], + [0, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 2 +]; +exports.CreateRestoreImageTaskResult$ = [3, n0, _CRITRr, + 0, + [_IIm], + [[0, { [_eQN]: `ImageId`, + [_xN]: _iIma }]] +]; +exports.CreateRouteRequest$ = [3, n0, _CRR, + 0, + [_RTI, _DPLI, _VEIp, _TGI, _LGI, _CGI, _CNA, _ONA, _DR, _DCB, _GI, _DICB, _EOIGI, _II, _NII, _VPCI, _NGI], + [[0, { [_eQN]: `RouteTableId`, + [_xN]: _rTI }], 0, 0, 0, 0, 0, 0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `DestinationCidrBlock`, + [_xN]: _dCB }], [0, { [_eQN]: `GatewayId`, + [_xN]: _gI }], [0, { [_eQN]: `DestinationIpv6CidrBlock`, + [_xN]: _dICB }], [0, { [_eQN]: `EgressOnlyInternetGatewayId`, + [_xN]: _eOIGI }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `VpcPeeringConnectionId`, + [_xN]: _vPCI }], [0, { [_eQN]: `NatGatewayId`, + [_xN]: _nGI }]], 1 +]; +exports.CreateRouteResult$ = [3, n0, _CRRr, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.CreateRouteServerEndpointRequest$ = [3, n0, _CRSER, + 0, + [_RSI, _SIu, _CT, _DR, _TS], + [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.CreateRouteServerEndpointResult$ = [3, n0, _CRSERr, + 0, + [_RSE], + [[() => exports.RouteServerEndpoint$, { [_eQN]: `RouteServerEndpoint`, + [_xN]: _rSE }]] +]; +exports.CreateRouteServerPeerRequest$ = [3, n0, _CRSPR, + 0, + [_RSEI, _PAe, _BO, _DR, _TS], + [0, 0, () => exports.RouteServerBgpOptionsRequest$, 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 3 +]; +exports.CreateRouteServerPeerResult$ = [3, n0, _CRSPRr, + 0, + [_RSP], + [[() => exports.RouteServerPeer$, { [_eQN]: `RouteServerPeer`, + [_xN]: _rSP }]] +]; +exports.CreateRouteServerRequest$ = [3, n0, _CRSRr, + 0, + [_ASA, _CT, _DR, _PRe, _PRD, _SNE, _TS], + [1, [0, 4], 2, 0, 1, 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 1 +]; +exports.CreateRouteServerResult$ = [3, n0, _CRSRre, + 0, + [_RSo], + [[() => exports.RouteServer$, { [_eQN]: `RouteServer`, + [_xN]: _rSo }]] +]; +exports.CreateRouteTableRequest$ = [3, n0, _CRTRr, + 0, + [_VI, _TS, _CT, _DR], + [[0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.CreateRouteTableResult$ = [3, n0, _CRTRre, + 0, + [_RTo, _CT], + [[() => exports.RouteTable$, { [_eQN]: `RouteTable`, + [_xN]: _rTo }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateSecondaryNetworkRequest$ = [3, n0, _CSNR, + 0, + [_ICBp, _NT, _CT, _DR, _TS], + [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.CreateSecondaryNetworkResult$ = [3, n0, _CSNRr, + 0, + [_SNe, _CT], + [[() => exports.SecondaryNetwork$, { [_eQN]: `SecondaryNetwork`, + [_xN]: _sNe }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateSecondarySubnetRequest$ = [3, n0, _CSSR, + 0, + [_ICBp, _SNI, _CT, _AZ, _AZI, _DR, _TS], + [0, 0, [0, 4], 0, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.CreateSecondarySubnetResult$ = [3, n0, _CSSRr, + 0, + [_SS, _CT], + [[() => exports.SecondarySubnet$, { [_eQN]: `SecondarySubnet`, + [_xN]: _sS }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateSecurityGroupRequest$ = [3, n0, _CSGR, + 0, + [_De, _GN, _VI, _TS, _DR], + [[0, { [_xN]: _GD }], 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.CreateSecurityGroupResult$ = [3, n0, _CSGRr, + 0, + [_GIr, _T, _SGA], + [[0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `SecurityGroupArn`, + [_xN]: _sGA }]] +]; +exports.CreateSnapshotRequest$ = [3, n0, _CSRr, + 0, + [_VIo, _De, _OA, _TS, _Loc, _DR], + [0, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.CreateSnapshotsRequest$ = [3, n0, _CSRre, + 0, + [_ISn, _De, _OA, _TS, _DR, _CTFS, _Loc], + [[() => exports.InstanceSpecification$, 0], 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 0, 0], 1 +]; +exports.CreateSnapshotsResult$ = [3, n0, _CSRrea, + 0, + [_Sn], + [[() => SnapshotSet, { [_eQN]: `SnapshotSet`, + [_xN]: _sSn }]] +]; +exports.CreateSpotDatafeedSubscriptionRequest$ = [3, n0, _CSDSR, + 0, + [_Bu, _DR, _Pre], + [[0, { [_eQN]: `Bucket`, + [_xN]: _b }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `Prefix`, + [_xN]: _pre }]], 1 +]; +exports.CreateSpotDatafeedSubscriptionResult$ = [3, n0, _CSDSRr, + 0, + [_SDS], + [[() => exports.SpotDatafeedSubscription$, { [_eQN]: `SpotDatafeedSubscription`, + [_xN]: _sDS }]] +]; +exports.CreateStoreImageTaskRequest$ = [3, n0, _CSITR, + 0, + [_IIm, _Bu, _SOT, _DR], + [0, 0, [() => S3ObjectTagList, { [_xN]: _SOTb }], 2], 2 +]; +exports.CreateStoreImageTaskResult$ = [3, n0, _CSITRr, + 0, + [_OK], + [[0, { [_eQN]: `ObjectKey`, + [_xN]: _oK }]] +]; +exports.CreateSubnetCidrReservationRequest$ = [3, n0, _CSCRR, + 0, + [_SIu, _Ci, _RT, _De, _DR, _TS], + [0, 0, 0, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 3 +]; +exports.CreateSubnetCidrReservationResult$ = [3, n0, _CSCRRr, + 0, + [_SCRu], + [[() => exports.SubnetCidrReservation$, { [_eQN]: `SubnetCidrReservation`, + [_xN]: _sCRu }]] +]; +exports.CreateSubnetRequest$ = [3, n0, _CSRreat, + 0, + [_VI, _TS, _AZ, _AZI, _CB, _ICB, _OA, _IN, _IIPIp, _INLp, _IIPI, _INL, _DR], + [0, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 0, 0, 0, 0, 2, 0, 1, 0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.CreateSubnetResult$ = [3, n0, _CSRreate, + 0, + [_Su], + [[() => exports.Subnet$, { [_eQN]: `Subnet`, + [_xN]: _su }]] +]; +exports.CreateTagsRequest$ = [3, n0, _CTR, + 0, + [_Res, _T, _DR], + [[64 | 0, { [_xN]: _RIeso }], [() => TagList, { [_xN]: _Ta }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.CreateTrafficMirrorFilterRequest$ = [3, n0, _CTMFR, + 0, + [_De, _TS, _DR, _CT], + [0, [() => TagSpecificationList, { [_xN]: _TSa }], 2, [0, 4]] +]; +exports.CreateTrafficMirrorFilterResult$ = [3, n0, _CTMFRr, + 0, + [_TMF, _CT], + [[() => exports.TrafficMirrorFilter$, { [_eQN]: `TrafficMirrorFilter`, + [_xN]: _tMF }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateTrafficMirrorFilterRuleRequest$ = [3, n0, _CTMFRR, + 0, + [_TMFI, _TD, _RNu, _RA, _DCB, _SCB, _DPRe, _SPRo, _Pr, _De, _DR, _CT, _TS], + [0, 0, 1, 0, 0, 0, () => exports.TrafficMirrorPortRangeRequest$, () => exports.TrafficMirrorPortRangeRequest$, 1, 0, 2, [0, 4], [() => TagSpecificationList, { [_xN]: _TSa }]], 6 +]; +exports.CreateTrafficMirrorFilterRuleResult$ = [3, n0, _CTMFRRr, + 0, + [_TMFR, _CT], + [[() => exports.TrafficMirrorFilterRule$, { [_eQN]: `TrafficMirrorFilterRule`, + [_xN]: _tMFR }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateTrafficMirrorSessionRequest$ = [3, n0, _CTMSR, + 0, + [_NII, _TMTI, _TMFI, _SNes, _PLa, _VNI, _De, _TS, _DR, _CT], + [0, 0, 0, 1, 1, 1, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 2, [0, 4]], 4 +]; +exports.CreateTrafficMirrorSessionResult$ = [3, n0, _CTMSRr, + 0, + [_TMS, _CT], + [[() => exports.TrafficMirrorSession$, { [_eQN]: `TrafficMirrorSession`, + [_xN]: _tMS }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateTrafficMirrorTargetRequest$ = [3, n0, _CTMTR, + 0, + [_NII, _NLBA, _De, _TS, _DR, _CT, _GLBEI], + [0, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 2, [0, 4], 0] +]; +exports.CreateTrafficMirrorTargetResult$ = [3, n0, _CTMTRr, + 0, + [_TMT, _CT], + [[() => exports.TrafficMirrorTarget$, { [_eQN]: `TrafficMirrorTarget`, + [_xN]: _tMT }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateTransitGatewayConnectPeerRequest$ = [3, n0, _CTGCPR, + 0, + [_TGAI, _PAe, _ICBn, _TGA, _BO, _TS, _DR], + [0, 0, [() => InsideCidrBlocksStringList, 0], 0, () => exports.TransitGatewayConnectRequestBgpOptions$, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 3 +]; +exports.CreateTransitGatewayConnectPeerResult$ = [3, n0, _CTGCPRr, + 0, + [_TGCP], + [[() => exports.TransitGatewayConnectPeer$, { [_eQN]: `TransitGatewayConnectPeer`, + [_xN]: _tGCP }]] +]; +exports.CreateTransitGatewayConnectRequest$ = [3, n0, _CTGCR, + 0, + [_TTGAI, _Opt, _TS, _DR], + [0, () => exports.CreateTransitGatewayConnectRequestOptions$, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 2 +]; +exports.CreateTransitGatewayConnectRequestOptions$ = [3, n0, _CTGCRO, + 0, + [_Pr], + [0], 1 +]; +exports.CreateTransitGatewayConnectResult$ = [3, n0, _CTGCRr, + 0, + [_TGC], + [[() => exports.TransitGatewayConnect$, { [_eQN]: `TransitGatewayConnect`, + [_xN]: _tGC }]] +]; +exports.CreateTransitGatewayMeteringPolicyEntryRequest$ = [3, n0, _CTGMPER, + 0, + [_TGMPI, _PRN, _MAe, _STGAI, _STGAT, _SCB, _SPRo, _DTGAI, _DTGAT, _DCB, _DPRe, _Pr, _DR], + [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], 3 +]; +exports.CreateTransitGatewayMeteringPolicyEntryResult$ = [3, n0, _CTGMPERr, + 0, + [_TGMPE], + [[() => exports.TransitGatewayMeteringPolicyEntry$, { [_eQN]: `TransitGatewayMeteringPolicyEntry`, + [_xN]: _tGMPE }]] +]; +exports.CreateTransitGatewayMeteringPolicyRequest$ = [3, n0, _CTGMPR, + 0, + [_TGI, _MAIi, _TS, _DR], + [0, [64 | 0, { [_xN]: _MAIid }], [() => TagSpecificationList, 0], 2], 1 +]; +exports.CreateTransitGatewayMeteringPolicyResult$ = [3, n0, _CTGMPRr, + 0, + [_TGMP], + [[() => exports.TransitGatewayMeteringPolicy$, { [_eQN]: `TransitGatewayMeteringPolicy`, + [_xN]: _tGMP }]] +]; +exports.CreateTransitGatewayMulticastDomainRequest$ = [3, n0, _CTGMDR, + 0, + [_TGI, _Opt, _TS, _DR], + [0, () => exports.CreateTransitGatewayMulticastDomainRequestOptions$, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 1 +]; +exports.CreateTransitGatewayMulticastDomainRequestOptions$ = [3, n0, _CTGMDRO, + 0, + [_ISg, _SSS, _AASA], + [0, 0, 0] +]; +exports.CreateTransitGatewayMulticastDomainResult$ = [3, n0, _CTGMDRr, + 0, + [_TGMD], + [[() => exports.TransitGatewayMulticastDomain$, { [_eQN]: `TransitGatewayMulticastDomain`, + [_xN]: _tGMD }]] +]; +exports.CreateTransitGatewayPeeringAttachmentRequest$ = [3, n0, _CTGPAR, + 0, + [_TGI, _PTGI, _PAI, _PRee, _Opt, _TS, _DR], + [0, 0, 0, 0, () => exports.CreateTransitGatewayPeeringAttachmentRequestOptions$, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 4 +]; +exports.CreateTransitGatewayPeeringAttachmentRequestOptions$ = [3, n0, _CTGPARO, + 0, + [_DRy], + [0] +]; +exports.CreateTransitGatewayPeeringAttachmentResult$ = [3, n0, _CTGPARr, + 0, + [_TGPA], + [[() => exports.TransitGatewayPeeringAttachment$, { [_eQN]: `TransitGatewayPeeringAttachment`, + [_xN]: _tGPA }]] +]; +exports.CreateTransitGatewayPolicyTableRequest$ = [3, n0, _CTGPTR, + 0, + [_TGI, _TS, _DR], + [0, [() => TagSpecificationList, 0], 2], 1 +]; +exports.CreateTransitGatewayPolicyTableResult$ = [3, n0, _CTGPTRr, + 0, + [_TGPT], + [[() => exports.TransitGatewayPolicyTable$, { [_eQN]: `TransitGatewayPolicyTable`, + [_xN]: _tGPT }]] +]; +exports.CreateTransitGatewayPrefixListReferenceRequest$ = [3, n0, _CTGPLRR, + 0, + [_TGRTI, _PLI, _TGAI, _Bl, _DR], + [0, 0, 0, 2, 2], 2 +]; +exports.CreateTransitGatewayPrefixListReferenceResult$ = [3, n0, _CTGPLRRr, + 0, + [_TGPLR], + [[() => exports.TransitGatewayPrefixListReference$, { [_eQN]: `TransitGatewayPrefixListReference`, + [_xN]: _tGPLR }]] +]; +exports.CreateTransitGatewayRequest$ = [3, n0, _CTGR, + 0, + [_De, _Opt, _TS, _DR], + [0, [() => exports.TransitGatewayRequestOptions$, 0], [() => TagSpecificationList, { [_xN]: _TSa }], 2] +]; +exports.CreateTransitGatewayResult$ = [3, n0, _CTGRr, + 0, + [_TG], + [[() => exports.TransitGateway$, { [_eQN]: `TransitGateway`, + [_xN]: _tG }]] +]; +exports.CreateTransitGatewayRouteRequest$ = [3, n0, _CTGRR, + 0, + [_DCB, _TGRTI, _TGAI, _Bl, _DR], + [0, 0, 0, 2, 2], 2 +]; +exports.CreateTransitGatewayRouteResult$ = [3, n0, _CTGRRr, + 0, + [_Ro], + [[() => exports.TransitGatewayRoute$, { [_eQN]: `Route`, + [_xN]: _ro }]] +]; +exports.CreateTransitGatewayRouteTableAnnouncementRequest$ = [3, n0, _CTGRTAR, + 0, + [_TGRTI, _PAIe, _TS, _DR], + [0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 2 +]; +exports.CreateTransitGatewayRouteTableAnnouncementResult$ = [3, n0, _CTGRTARr, + 0, + [_TGRTA], + [[() => exports.TransitGatewayRouteTableAnnouncement$, { [_eQN]: `TransitGatewayRouteTableAnnouncement`, + [_xN]: _tGRTA }]] +]; +exports.CreateTransitGatewayRouteTableRequest$ = [3, n0, _CTGRTR, + 0, + [_TGI, _TS, _DR], + [0, [() => TagSpecificationList, 0], 2], 1 +]; +exports.CreateTransitGatewayRouteTableResult$ = [3, n0, _CTGRTRr, + 0, + [_TGRT], + [[() => exports.TransitGatewayRouteTable$, { [_eQN]: `TransitGatewayRouteTable`, + [_xN]: _tGRT }]] +]; +exports.CreateTransitGatewayVpcAttachmentRequest$ = [3, n0, _CTGVAR, + 0, + [_TGI, _VI, _SI, _Opt, _TS, _DR], + [0, 0, [() => TransitGatewaySubnetIdList, 0], () => exports.CreateTransitGatewayVpcAttachmentRequestOptions$, [() => TagSpecificationList, 0], 2], 3 +]; +exports.CreateTransitGatewayVpcAttachmentRequestOptions$ = [3, n0, _CTGVARO, + 0, + [_DSn, _SGRS, _ISpv, _AMS], + [0, 0, 0, 0] +]; +exports.CreateTransitGatewayVpcAttachmentResult$ = [3, n0, _CTGVARr, + 0, + [_TGVA], + [[() => exports.TransitGatewayVpcAttachment$, { [_eQN]: `TransitGatewayVpcAttachment`, + [_xN]: _tGVA }]] +]; +exports.CreateVerifiedAccessEndpointCidrOptions$ = [3, n0, _CVAECO, + 0, + [_Pr, _SI, _Ci, _PRor], + [0, [() => CreateVerifiedAccessEndpointSubnetIdList, { [_xN]: _SIu }], 0, [() => CreateVerifiedAccessEndpointPortRangeList, { [_xN]: _PRo }]] +]; +exports.CreateVerifiedAccessEndpointEniOptions$ = [3, n0, _CVAEEO, + 0, + [_NII, _Pr, _Po, _PRor], + [0, 0, 1, [() => CreateVerifiedAccessEndpointPortRangeList, { [_xN]: _PRo }]] +]; +exports.CreateVerifiedAccessEndpointLoadBalancerOptions$ = [3, n0, _CVAELBO, + 0, + [_Pr, _Po, _LBAo, _SI, _PRor], + [0, 1, 0, [() => CreateVerifiedAccessEndpointSubnetIdList, { [_xN]: _SIu }], [() => CreateVerifiedAccessEndpointPortRangeList, { [_xN]: _PRo }]] +]; +exports.CreateVerifiedAccessEndpointPortRange$ = [3, n0, _CVAEPR, + 0, + [_FP, _TP], + [1, 1] +]; +exports.CreateVerifiedAccessEndpointRdsOptions$ = [3, n0, _CVAERO, + 0, + [_Pr, _Po, _RDIA, _RDCA, _RDPA, _RE, _SI], + [0, 1, 0, 0, 0, 0, [() => CreateVerifiedAccessEndpointSubnetIdList, { [_xN]: _SIu }]] +]; +exports.CreateVerifiedAccessEndpointRequest$ = [3, n0, _CVAER, + 0, + [_VAGI, _ETn, _ATt, _DCA, _ADp, _EDP, _SGIe, _LBO, _NIO, _De, _PDo, _TS, _CT, _DR, _SSs, _ROd, _COi], + [0, 0, 0, 0, 0, 0, [() => SecurityGroupIdList, { [_xN]: _SGI }], [() => exports.CreateVerifiedAccessEndpointLoadBalancerOptions$, 0], [() => exports.CreateVerifiedAccessEndpointEniOptions$, 0], 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4], 2, () => exports.VerifiedAccessSseSpecificationRequest$, [() => exports.CreateVerifiedAccessEndpointRdsOptions$, 0], [() => exports.CreateVerifiedAccessEndpointCidrOptions$, 0]], 3 +]; +exports.CreateVerifiedAccessEndpointResult$ = [3, n0, _CVAERr, + 0, + [_VAE], + [[() => exports.VerifiedAccessEndpoint$, { [_eQN]: `VerifiedAccessEndpoint`, + [_xN]: _vAE }]] +]; +exports.CreateVerifiedAccessGroupRequest$ = [3, n0, _CVAGR, + 0, + [_VAII, _De, _PDo, _TS, _CT, _DR, _SSs], + [0, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4], 2, () => exports.VerifiedAccessSseSpecificationRequest$], 1 +]; +exports.CreateVerifiedAccessGroupResult$ = [3, n0, _CVAGRr, + 0, + [_VAG], + [[() => exports.VerifiedAccessGroup$, { [_eQN]: `VerifiedAccessGroup`, + [_xN]: _vAG }]] +]; +exports.CreateVerifiedAccessInstanceRequest$ = [3, n0, _CVAIR, + 0, + [_De, _TS, _CT, _DR, _FIPSE, _CECSD], + [0, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4], 2, 2, 0] +]; +exports.CreateVerifiedAccessInstanceResult$ = [3, n0, _CVAIRr, + 0, + [_VAI], + [[() => exports.VerifiedAccessInstance$, { [_eQN]: `VerifiedAccessInstance`, + [_xN]: _vAI }]] +]; +exports.CreateVerifiedAccessNativeApplicationOidcOptions$ = [3, n0, _CVANAOO, + 0, + [_PSKE, _Is, _AE, _TEo, _UIE, _CIli, _CS, _Sco], + [0, 0, 0, 0, 0, 0, [() => ClientSecretType, 0], 0] +]; +exports.CreateVerifiedAccessTrustProviderDeviceOptions$ = [3, n0, _CVATPDO, + 0, + [_TIe, _PSKU], + [0, 0] +]; +exports.CreateVerifiedAccessTrustProviderOidcOptions$ = [3, n0, _CVATPOO, + 0, + [_Is, _AE, _TEo, _UIE, _CIli, _CS, _Sco], + [0, 0, 0, 0, 0, [() => ClientSecretType, 0], 0] +]; +exports.CreateVerifiedAccessTrustProviderRequest$ = [3, n0, _CVATPR, + 0, + [_TPT, _PRNo, _UTPT, _DTPT, _OO, _DOev, _De, _TS, _CT, _DR, _SSs, _NAOO], + [0, 0, 0, 0, [() => exports.CreateVerifiedAccessTrustProviderOidcOptions$, 0], () => exports.CreateVerifiedAccessTrustProviderDeviceOptions$, 0, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4], 2, () => exports.VerifiedAccessSseSpecificationRequest$, [() => exports.CreateVerifiedAccessNativeApplicationOidcOptions$, 0]], 2 +]; +exports.CreateVerifiedAccessTrustProviderResult$ = [3, n0, _CVATPRr, + 0, + [_VATP], + [[() => exports.VerifiedAccessTrustProvider$, { [_eQN]: `VerifiedAccessTrustProvider`, + [_xN]: _vATP }]] +]; +exports.CreateVolumePermission$ = [3, n0, _CVP, + 0, + [_UI, _Gr], + [[0, { [_eQN]: `UserId`, + [_xN]: _uI }], [0, { [_eQN]: `Group`, + [_xN]: _g }]] +]; +exports.CreateVolumePermissionModifications$ = [3, n0, _CVPM, + 0, + [_Ad, _Rem], + [[() => CreateVolumePermissionList, 0], [() => CreateVolumePermissionList, 0]] +]; +exports.CreateVolumeRequest$ = [3, n0, _CVRr, + 0, + [_AZ, _AZI, _Enc, _Io, _KKI, _OA, _Siz, _SIn, _VT, _TS, _MAE, _Th, _CT, _VIR, _Op, _DR], + [0, 0, [2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], 1, 0, 0, 1, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 2, 1, [0, 4], 1, () => exports.OperatorRequest$, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.CreateVpcBlockPublicAccessExclusionRequest$ = [3, n0, _CVBPAER, + 0, + [_IGEM, _DR, _SIu, _VI, _TS], + [0, 2, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }]], 1 +]; +exports.CreateVpcBlockPublicAccessExclusionResult$ = [3, n0, _CVBPAERr, + 0, + [_VBPAE], + [[() => exports.VpcBlockPublicAccessExclusion$, { [_eQN]: `VpcBlockPublicAccessExclusion`, + [_xN]: _vBPAE }]] +]; +exports.CreateVpcEncryptionControlRequest$ = [3, n0, _CVECR, + 0, + [_VI, _DR, _TS], + [0, 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 1 +]; +exports.CreateVpcEncryptionControlResult$ = [3, n0, _CVECRr, + 0, + [_VEC], + [[() => exports.VpcEncryptionControl$, { [_eQN]: `VpcEncryptionControl`, + [_xN]: _vEC }]] +]; +exports.CreateVpcEndpointConnectionNotificationRequest$ = [3, n0, _CVECNR, + 0, + [_CNAo, _CE, _DR, _SIe, _VEIp, _CT], + [0, [() => ValueStringList, 0], 2, 0, 0, 0], 2 +]; +exports.CreateVpcEndpointConnectionNotificationResult$ = [3, n0, _CVECNRr, + 0, + [_CNo, _CT], + [[() => exports.ConnectionNotification$, { [_eQN]: `ConnectionNotification`, + [_xN]: _cNo }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateVpcEndpointRequest$ = [3, n0, _CVER, + 0, + [_VI, _DR, _VET, _SN, _PDo, _RTIo, _SI, _SGIe, _IAT, _DOn, _CT, _PDE, _TS, _SC, _SNA, _RCA, _SR], + [0, 2, 0, 0, 0, [() => VpcEndpointRouteTableIdList, { [_xN]: _RTI }], [() => VpcEndpointSubnetIdList, { [_xN]: _SIu }], [() => VpcEndpointSecurityGroupIdList, { [_xN]: _SGI }], 0, [() => exports.DnsOptionsSpecification$, 0], 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], [() => SubnetConfigurationsList, { [_xN]: _SCu }], 0, 0, 0], 1 +]; +exports.CreateVpcEndpointResult$ = [3, n0, _CVERr, + 0, + [_VE, _CT], + [[() => exports.VpcEndpoint$, { [_eQN]: `VpcEndpoint`, + [_xN]: _vE }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateVpcEndpointServiceConfigurationRequest$ = [3, n0, _CVESCR, + 0, + [_DR, _ARc, _PDN, _NLBAe, _GLBA, _SIAT, _SRu, _CT, _TS], + [2, 2, 0, [() => ValueStringList, { [_xN]: _NLBA }], [() => ValueStringList, { [_xN]: _GLBAa }], [() => ValueStringList, { [_xN]: _SIATu }], [() => ValueStringList, { [_xN]: _SRup }], 0, [() => TagSpecificationList, { [_xN]: _TSa }]] +]; +exports.CreateVpcEndpointServiceConfigurationResult$ = [3, n0, _CVESCRr, + 0, + [_SCe, _CT], + [[() => exports.ServiceConfiguration$, { [_eQN]: `ServiceConfiguration`, + [_xN]: _sC }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.CreateVpcPeeringConnectionRequest$ = [3, n0, _CVPCR, + 0, + [_VI, _PRee, _TS, _DR, _PVI, _POI], + [[0, { [_eQN]: `VpcId`, + [_xN]: _vI }], 0, [() => TagSpecificationList, { [_xN]: _TSa }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `PeerVpcId`, + [_xN]: _pVI }], [0, { [_eQN]: `PeerOwnerId`, + [_xN]: _pOI }]], 1 +]; +exports.CreateVpcPeeringConnectionResult$ = [3, n0, _CVPCRr, + 0, + [_VPC], + [[() => exports.VpcPeeringConnection$, { [_eQN]: `VpcPeeringConnection`, + [_xN]: _vPC }]] +]; +exports.CreateVpcRequest$ = [3, n0, _CVRre, + 0, + [_CB, _IPpvo, _ICB, _IIPIp, _INLp, _IIPI, _INL, _ICBNBG, _VEC, _TS, _DR, _ITns, _APICB], + [0, 0, 0, 0, 1, 0, 1, 0, () => exports.VpcEncryptionControlConfiguration$, [() => TagSpecificationList, { [_xN]: _TSa }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `InstanceTenancy`, + [_xN]: _iTns }], [2, { [_eQN]: `AmazonProvidedIpv6CidrBlock`, + [_xN]: _aPICB }]] +]; +exports.CreateVpcResult$ = [3, n0, _CVRrea, + 0, + [_Vp], + [[() => exports.Vpc$, { [_eQN]: `Vpc`, + [_xN]: _vp }]] +]; +exports.CreateVpnConcentratorRequest$ = [3, n0, _CVCR, + 0, + [_Ty, _TGI, _TS, _DR], + [0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 2], 1 +]; +exports.CreateVpnConcentratorResult$ = [3, n0, _CVCRr, + 0, + [_VC], + [[() => exports.VpnConcentrator$, { [_eQN]: `VpnConcentrator`, + [_xN]: _vC }]] +]; +exports.CreateVpnConnectionRequest$ = [3, n0, _CVCRre, + 0, + [_CGIu, _Ty, _VGI, _TGI, _VCI, _TS, _PSKS, _DR, _Opt], + [0, 0, 0, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => exports.VpnConnectionOptionsSpecification$, { [_eQN]: `Options`, + [_xN]: _op }]], 2 +]; +exports.CreateVpnConnectionResult$ = [3, n0, _CVCRrea, + 0, + [_VCp], + [[() => exports.VpnConnection$, { [_eQN]: `VpnConnection`, + [_xN]: _vCp }]] +]; +exports.CreateVpnConnectionRouteRequest$ = [3, n0, _CVCRR, + 0, + [_DCB, _VCIp], + [0, 0], 2 +]; +exports.CreateVpnGatewayRequest$ = [3, n0, _CVGR, + 0, + [_Ty, _AZ, _TS, _ASA, _DR], + [0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.CreateVpnGatewayResult$ = [3, n0, _CVGRr, + 0, + [_VG], + [[() => exports.VpnGateway$, { [_eQN]: `VpnGateway`, + [_xN]: _vG }]] +]; +exports.CreationDateCondition$ = [3, n0, _CDC, + 0, + [_MDSC], + [[1, { [_eQN]: `MaximumDaysSinceCreated`, + [_xN]: _mDSC }]] +]; +exports.CreationDateConditionRequest$ = [3, n0, _CDCR, + 0, + [_MDSC], + [1] +]; +exports.CreditSpecification$ = [3, n0, _CSr, + 0, + [_CCp], + [[0, { [_eQN]: `CpuCredits`, + [_xN]: _cCp }]] +]; +exports.CreditSpecificationRequest$ = [3, n0, _CSRred, + 0, + [_CCp], + [0], 1 +]; +exports.CustomerGateway$ = [3, n0, _CGu, + 0, + [_CAe, _DN, _T, _BAE, _CGIu, _St, _Ty, _IAp, _BA], + [[0, { [_eQN]: `CertificateArn`, + [_xN]: _cAe }], [0, { [_eQN]: `DeviceName`, + [_xN]: _dN }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `BgpAsnExtended`, + [_xN]: _bAE }], [0, { [_eQN]: `CustomerGatewayId`, + [_xN]: _cGIu }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `IpAddress`, + [_xN]: _iAp }], [0, { [_eQN]: `BgpAsn`, + [_xN]: _bA }]] +]; +exports.DataQuery$ = [3, n0, _DQ, + 0, + [_I, _S, _D, _Met, _Stat, _Per], + [0, 0, 0, 0, 0, 0] +]; +exports.DataResponse$ = [3, n0, _DRa, + 0, + [_I, _S, _D, _Met, _Stat, _Per, _MPe], + [[0, { [_eQN]: `Id`, + [_xN]: _i }], [0, { [_eQN]: `Source`, + [_xN]: _so }], [0, { [_eQN]: `Destination`, + [_xN]: _d }], [0, { [_eQN]: `Metric`, + [_xN]: _met }], [0, { [_eQN]: `Statistic`, + [_xN]: _stat }], [0, { [_eQN]: `Period`, + [_xN]: _pe }], [() => MetricPoints, { [_eQN]: `MetricPointSet`, + [_xN]: _mPS }]] +]; +exports.DeclarativePoliciesReport$ = [3, n0, _DPRec, + 0, + [_RI, _SB, _SP, _TIa, _ST, _ETnd, _Sta, _T], + [[0, { [_eQN]: `ReportId`, + [_xN]: _rIe }], [0, { [_eQN]: `S3Bucket`, + [_xN]: _sB }], [0, { [_eQN]: `S3Prefix`, + [_xN]: _sP }], [0, { [_eQN]: `TargetId`, + [_xN]: _tIa }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }], [4, { [_eQN]: `EndTime`, + [_xN]: _eTn }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.DefaultConnectionTrackingConfiguration$ = [3, n0, _DCTC, + 0, + [_DTET, _DUT, _DUST], + [[1, { [_eQN]: `DefaultTcpEstablishedTimeout`, + [_xN]: _dTET }], [1, { [_eQN]: `DefaultUdpTimeout`, + [_xN]: _dUT }], [1, { [_eQN]: `DefaultUdpStreamTimeout`, + [_xN]: _dUST }]] +]; +exports.DeleteCapacityManagerDataExportRequest$ = [3, n0, _DCMDER, + 0, + [_CMDEI, _DR], + [0, 2], 1 +]; +exports.DeleteCapacityManagerDataExportResult$ = [3, n0, _DCMDERe, + 0, + [_CMDEI], + [[0, { [_eQN]: `CapacityManagerDataExportId`, + [_xN]: _cMDEI }]] +]; +exports.DeleteCarrierGatewayRequest$ = [3, n0, _DCGR, + 0, + [_CGI, _DR], + [0, 2], 1 +]; +exports.DeleteCarrierGatewayResult$ = [3, n0, _DCGRe, + 0, + [_CG], + [[() => exports.CarrierGateway$, { [_eQN]: `CarrierGateway`, + [_xN]: _cG }]] +]; +exports.DeleteClientVpnEndpointRequest$ = [3, n0, _DCVER, + 0, + [_CVEI, _DR], + [0, 2], 1 +]; +exports.DeleteClientVpnEndpointResult$ = [3, n0, _DCVERe, + 0, + [_Sta], + [[() => exports.ClientVpnEndpointStatus$, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.DeleteClientVpnRouteRequest$ = [3, n0, _DCVRR, + 0, + [_CVEI, _DCB, _TVSI, _DR], + [0, 0, 0, 2], 2 +]; +exports.DeleteClientVpnRouteResult$ = [3, n0, _DCVRRe, + 0, + [_Sta], + [[() => exports.ClientVpnRouteStatus$, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.DeleteCoipCidrRequest$ = [3, n0, _DCCR, + 0, + [_Ci, _CPI, _DR], + [0, 0, 2], 2 +]; +exports.DeleteCoipCidrResult$ = [3, n0, _DCCRe, + 0, + [_CCo], + [[() => exports.CoipCidr$, { [_eQN]: `CoipCidr`, + [_xN]: _cCoi }]] +]; +exports.DeleteCoipPoolRequest$ = [3, n0, _DCPR, + 0, + [_CPI, _DR], + [0, 2], 1 +]; +exports.DeleteCoipPoolResult$ = [3, n0, _DCPRe, + 0, + [_CP], + [[() => exports.CoipPool$, { [_eQN]: `CoipPool`, + [_xN]: _cP }]] +]; +exports.DeleteCustomerGatewayRequest$ = [3, n0, _DCGRel, + 0, + [_CGIu, _DR], + [0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeleteDhcpOptionsRequest$ = [3, n0, _DDOR, + 0, + [_DOI, _DR], + [0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeleteEgressOnlyInternetGatewayRequest$ = [3, n0, _DEOIGR, + 0, + [_EOIGI, _DR], + [0, 2], 1 +]; +exports.DeleteEgressOnlyInternetGatewayResult$ = [3, n0, _DEOIGRe, + 0, + [_RC], + [[2, { [_eQN]: `ReturnCode`, + [_xN]: _rC }]] +]; +exports.DeleteFleetError$ = [3, n0, _DFE, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.DeleteFleetErrorItem$ = [3, n0, _DFEI, + 0, + [_Er, _FIl], + [[() => exports.DeleteFleetError$, { [_eQN]: `Error`, + [_xN]: _er }], [0, { [_eQN]: `FleetId`, + [_xN]: _fIl }]] +]; +exports.DeleteFleetsRequest$ = [3, n0, _DFR, + 0, + [_FIle, _TI, _DR], + [[64 | 0, { [_xN]: _FIl }], 2, 2], 2 +]; +exports.DeleteFleetsResult$ = [3, n0, _DFRe, + 0, + [_SFD, _UFD], + [[() => DeleteFleetSuccessSet, { [_eQN]: `SuccessfulFleetDeletionSet`, + [_xN]: _sFDS }], [() => DeleteFleetErrorSet, { [_eQN]: `UnsuccessfulFleetDeletionSet`, + [_xN]: _uFDS }]] +]; +exports.DeleteFleetSuccessItem$ = [3, n0, _DFSI, + 0, + [_CFS, _PFS, _FIl], + [[0, { [_eQN]: `CurrentFleetState`, + [_xN]: _cFS }], [0, { [_eQN]: `PreviousFleetState`, + [_xN]: _pFS }], [0, { [_eQN]: `FleetId`, + [_xN]: _fIl }]] +]; +exports.DeleteFlowLogsRequest$ = [3, n0, _DFLR, + 0, + [_FLI, _DR], + [[() => FlowLogIdList, { [_xN]: _FLIl }], 2], 1 +]; +exports.DeleteFlowLogsResult$ = [3, n0, _DFLRe, + 0, + [_U], + [[() => UnsuccessfulItemSet, { [_eQN]: `Unsuccessful`, + [_xN]: _u }]] +]; +exports.DeleteFpgaImageRequest$ = [3, n0, _DFIR, + 0, + [_FII, _DR], + [0, 2], 1 +]; +exports.DeleteFpgaImageResult$ = [3, n0, _DFIRe, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DeleteImageUsageReportRequest$ = [3, n0, _DIURR, + 0, + [_RI, _DR], + [0, 2], 1 +]; +exports.DeleteImageUsageReportResult$ = [3, n0, _DIURRe, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DeleteInstanceConnectEndpointRequest$ = [3, n0, _DICER, + 0, + [_ICEI, _DR], + [0, 2], 1 +]; +exports.DeleteInstanceConnectEndpointResult$ = [3, n0, _DICERe, + 0, + [_ICE], + [[() => exports.Ec2InstanceConnectEndpoint$, { [_eQN]: `InstanceConnectEndpoint`, + [_xN]: _iCE }]] +]; +exports.DeleteInstanceEventWindowRequest$ = [3, n0, _DIEWR, + 0, + [_IEWI, _DR, _FD], + [[0, { [_xN]: _IEWI }], 2, 2], 1 +]; +exports.DeleteInstanceEventWindowResult$ = [3, n0, _DIEWRe, + 0, + [_IEWS], + [[() => exports.InstanceEventWindowStateChange$, { [_eQN]: `InstanceEventWindowState`, + [_xN]: _iEWS }]] +]; +exports.DeleteInternetGatewayRequest$ = [3, n0, _DIGR, + 0, + [_IGI, _DR], + [[0, { [_eQN]: `InternetGatewayId`, + [_xN]: _iGI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeleteIpamExternalResourceVerificationTokenRequest$ = [3, n0, _DIERVTR, + 0, + [_IERVTI, _DR], + [0, 2], 1 +]; +exports.DeleteIpamExternalResourceVerificationTokenResult$ = [3, n0, _DIERVTRe, + 0, + [_IERVT], + [[() => exports.IpamExternalResourceVerificationToken$, { [_eQN]: `IpamExternalResourceVerificationToken`, + [_xN]: _iERVT }]] +]; +exports.DeleteIpamPolicyRequest$ = [3, n0, _DIPR, + 0, + [_IPIp, _DR], + [0, 2], 1 +]; +exports.DeleteIpamPolicyResult$ = [3, n0, _DIPRe, + 0, + [_IPpa], + [[() => exports.IpamPolicy$, { [_eQN]: `IpamPolicy`, + [_xN]: _iPpa }]] +]; +exports.DeleteIpamPoolRequest$ = [3, n0, _DIPRel, + 0, + [_IPI, _DR, _Ca], + [0, 2, 2], 1 +]; +exports.DeleteIpamPoolResult$ = [3, n0, _DIPRele, + 0, + [_IPpam], + [[() => exports.IpamPool$, { [_eQN]: `IpamPool`, + [_xN]: _iPpam }]] +]; +exports.DeleteIpamPrefixListResolverRequest$ = [3, n0, _DIPLRR, + 0, + [_IPLRI, _DR], + [0, 2], 1 +]; +exports.DeleteIpamPrefixListResolverResult$ = [3, n0, _DIPLRRe, + 0, + [_IPLR], + [[() => exports.IpamPrefixListResolver$, { [_eQN]: `IpamPrefixListResolver`, + [_xN]: _iPLR }]] +]; +exports.DeleteIpamPrefixListResolverTargetRequest$ = [3, n0, _DIPLRTR, + 0, + [_IPLRTI, _DR], + [0, 2], 1 +]; +exports.DeleteIpamPrefixListResolverTargetResult$ = [3, n0, _DIPLRTRe, + 0, + [_IPLRT], + [[() => exports.IpamPrefixListResolverTarget$, { [_eQN]: `IpamPrefixListResolverTarget`, + [_xN]: _iPLRT }]] +]; +exports.DeleteIpamRequest$ = [3, n0, _DIR, + 0, + [_IIp, _DR, _Ca], + [0, 2, 2], 1 +]; +exports.DeleteIpamResourceDiscoveryRequest$ = [3, n0, _DIRDR, + 0, + [_IRDI, _DR], + [0, 2], 1 +]; +exports.DeleteIpamResourceDiscoveryResult$ = [3, n0, _DIRDRe, + 0, + [_IRD], + [[() => exports.IpamResourceDiscovery$, { [_eQN]: `IpamResourceDiscovery`, + [_xN]: _iRD }]] +]; +exports.DeleteIpamResult$ = [3, n0, _DIRe, + 0, + [_Ip], + [[() => exports.Ipam$, { [_eQN]: `Ipam`, + [_xN]: _ip }]] +]; +exports.DeleteIpamScopeRequest$ = [3, n0, _DISR, + 0, + [_ISI, _DR], + [0, 2], 1 +]; +exports.DeleteIpamScopeResult$ = [3, n0, _DISRe, + 0, + [_ISp], + [[() => exports.IpamScope$, { [_eQN]: `IpamScope`, + [_xN]: _iSp }]] +]; +exports.DeleteKeyPairRequest$ = [3, n0, _DKPR, + 0, + [_KN, _KPI, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.DeleteKeyPairResult$ = [3, n0, _DKPRe, + 0, + [_R, _KPI], + [[2, { [_eQN]: `Return`, + [_xN]: _r }], [0, { [_eQN]: `KeyPairId`, + [_xN]: _kPI }]] +]; +exports.DeleteLaunchTemplateRequest$ = [3, n0, _DLTR, + 0, + [_DR, _LTI, _LTN], + [2, 0, 0] +]; +exports.DeleteLaunchTemplateResult$ = [3, n0, _DLTRe, + 0, + [_LT], + [[() => exports.LaunchTemplate$, { [_eQN]: `LaunchTemplate`, + [_xN]: _lT }]] +]; +exports.DeleteLaunchTemplateVersionsRequest$ = [3, n0, _DLTVR, + 0, + [_Ve, _DR, _LTI, _LTN], + [[() => VersionStringList, { [_xN]: _LTV }], 2, 0, 0], 1 +]; +exports.DeleteLaunchTemplateVersionsResponseErrorItem$ = [3, n0, _DLTVREI, + 0, + [_LTI, _LTN, _VNe, _REe], + [[0, { [_eQN]: `LaunchTemplateId`, + [_xN]: _lTI }], [0, { [_eQN]: `LaunchTemplateName`, + [_xN]: _lTN }], [1, { [_eQN]: `VersionNumber`, + [_xN]: _vNe }], [() => exports.ResponseError$, { [_eQN]: `ResponseError`, + [_xN]: _rE }]] +]; +exports.DeleteLaunchTemplateVersionsResponseSuccessItem$ = [3, n0, _DLTVRSI, + 0, + [_LTI, _LTN, _VNe], + [[0, { [_eQN]: `LaunchTemplateId`, + [_xN]: _lTI }], [0, { [_eQN]: `LaunchTemplateName`, + [_xN]: _lTN }], [1, { [_eQN]: `VersionNumber`, + [_xN]: _vNe }]] +]; +exports.DeleteLaunchTemplateVersionsResult$ = [3, n0, _DLTVRe, + 0, + [_SDLTV, _UDLTV], + [[() => DeleteLaunchTemplateVersionsResponseSuccessSet, { [_eQN]: `SuccessfullyDeletedLaunchTemplateVersionSet`, + [_xN]: _sDLTVS }], [() => DeleteLaunchTemplateVersionsResponseErrorSet, { [_eQN]: `UnsuccessfullyDeletedLaunchTemplateVersionSet`, + [_xN]: _uDLTVS }]] +]; +exports.DeleteLocalGatewayRouteRequest$ = [3, n0, _DLGRR, + 0, + [_LGRTI, _DCB, _DR, _DPLI], + [0, 0, 2, 0], 1 +]; +exports.DeleteLocalGatewayRouteResult$ = [3, n0, _DLGRRe, + 0, + [_Ro], + [[() => exports.LocalGatewayRoute$, { [_eQN]: `Route`, + [_xN]: _ro }]] +]; +exports.DeleteLocalGatewayRouteTableRequest$ = [3, n0, _DLGRTR, + 0, + [_LGRTI, _DR], + [0, 2], 1 +]; +exports.DeleteLocalGatewayRouteTableResult$ = [3, n0, _DLGRTRe, + 0, + [_LGRT], + [[() => exports.LocalGatewayRouteTable$, { [_eQN]: `LocalGatewayRouteTable`, + [_xN]: _lGRT }]] +]; +exports.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest$ = [3, n0, _DLGRTVIGAR, + 0, + [_LGRTVIGAI, _DR], + [0, 2], 1 +]; +exports.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult$ = [3, n0, _DLGRTVIGARe, + 0, + [_LGRTVIGA], + [[() => exports.LocalGatewayRouteTableVirtualInterfaceGroupAssociation$, { [_eQN]: `LocalGatewayRouteTableVirtualInterfaceGroupAssociation`, + [_xN]: _lGRTVIGA }]] +]; +exports.DeleteLocalGatewayRouteTableVpcAssociationRequest$ = [3, n0, _DLGRTVAR, + 0, + [_LGRTVAI, _DR], + [0, 2], 1 +]; +exports.DeleteLocalGatewayRouteTableVpcAssociationResult$ = [3, n0, _DLGRTVARe, + 0, + [_LGRTVA], + [[() => exports.LocalGatewayRouteTableVpcAssociation$, { [_eQN]: `LocalGatewayRouteTableVpcAssociation`, + [_xN]: _lGRTVA }]] +]; +exports.DeleteLocalGatewayVirtualInterfaceGroupRequest$ = [3, n0, _DLGVIGR, + 0, + [_LGVIGI, _DR], + [0, 2], 1 +]; +exports.DeleteLocalGatewayVirtualInterfaceGroupResult$ = [3, n0, _DLGVIGRe, + 0, + [_LGVIG], + [[() => exports.LocalGatewayVirtualInterfaceGroup$, { [_eQN]: `LocalGatewayVirtualInterfaceGroup`, + [_xN]: _lGVIG }]] +]; +exports.DeleteLocalGatewayVirtualInterfaceRequest$ = [3, n0, _DLGVIR, + 0, + [_LGVII, _DR], + [0, 2], 1 +]; +exports.DeleteLocalGatewayVirtualInterfaceResult$ = [3, n0, _DLGVIRe, + 0, + [_LGVI], + [[() => exports.LocalGatewayVirtualInterface$, { [_eQN]: `LocalGatewayVirtualInterface`, + [_xN]: _lGVI }]] +]; +exports.DeleteManagedPrefixListRequest$ = [3, n0, _DMPLR, + 0, + [_PLI, _DR], + [0, 2], 1 +]; +exports.DeleteManagedPrefixListResult$ = [3, n0, _DMPLRe, + 0, + [_PL], + [[() => exports.ManagedPrefixList$, { [_eQN]: `PrefixList`, + [_xN]: _pL }]] +]; +exports.DeleteNatGatewayRequest$ = [3, n0, _DNGR, + 0, + [_NGI, _DR], + [[0, { [_xN]: _NGI }], 2], 1 +]; +exports.DeleteNatGatewayResult$ = [3, n0, _DNGRe, + 0, + [_NGI], + [[0, { [_eQN]: `NatGatewayId`, + [_xN]: _nGI }]] +]; +exports.DeleteNetworkAclEntryRequest$ = [3, n0, _DNAER, + 0, + [_NAI, _RNu, _E, _DR], + [[0, { [_eQN]: `NetworkAclId`, + [_xN]: _nAI }], [1, { [_eQN]: `RuleNumber`, + [_xN]: _rN }], [2, { [_eQN]: `Egress`, + [_xN]: _e }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 3 +]; +exports.DeleteNetworkAclRequest$ = [3, n0, _DNAR, + 0, + [_NAI, _DR], + [[0, { [_eQN]: `NetworkAclId`, + [_xN]: _nAI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeleteNetworkInsightsAccessScopeAnalysisRequest$ = [3, n0, _DNIASAR, + 0, + [_NIASAI, _DR], + [0, 2], 1 +]; +exports.DeleteNetworkInsightsAccessScopeAnalysisResult$ = [3, n0, _DNIASARe, + 0, + [_NIASAI], + [[0, { [_eQN]: `NetworkInsightsAccessScopeAnalysisId`, + [_xN]: _nIASAI }]] +]; +exports.DeleteNetworkInsightsAccessScopeRequest$ = [3, n0, _DNIASR, + 0, + [_NIASI, _DR], + [0, 2], 1 +]; +exports.DeleteNetworkInsightsAccessScopeResult$ = [3, n0, _DNIASRe, + 0, + [_NIASI], + [[0, { [_eQN]: `NetworkInsightsAccessScopeId`, + [_xN]: _nIASI }]] +]; +exports.DeleteNetworkInsightsAnalysisRequest$ = [3, n0, _DNIAR, + 0, + [_NIAI, _DR], + [0, 2], 1 +]; +exports.DeleteNetworkInsightsAnalysisResult$ = [3, n0, _DNIARe, + 0, + [_NIAI], + [[0, { [_eQN]: `NetworkInsightsAnalysisId`, + [_xN]: _nIAI }]] +]; +exports.DeleteNetworkInsightsPathRequest$ = [3, n0, _DNIPR, + 0, + [_NIPI, _DR], + [0, 2], 1 +]; +exports.DeleteNetworkInsightsPathResult$ = [3, n0, _DNIPRe, + 0, + [_NIPI], + [[0, { [_eQN]: `NetworkInsightsPathId`, + [_xN]: _nIPI }]] +]; +exports.DeleteNetworkInterfacePermissionRequest$ = [3, n0, _DNIPRel, + 0, + [_NIPIe, _F, _DR], + [0, 2, 2], 1 +]; +exports.DeleteNetworkInterfacePermissionResult$ = [3, n0, _DNIPRele, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DeleteNetworkInterfaceRequest$ = [3, n0, _DNIR, + 0, + [_NII, _DR], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeletePlacementGroupRequest$ = [3, n0, _DPGR, + 0, + [_GN, _DR], + [[0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeletePublicIpv4PoolRequest$ = [3, n0, _DPIPR, + 0, + [_PIo, _DR, _NBG], + [0, 2, 0], 1 +]; +exports.DeletePublicIpv4PoolResult$ = [3, n0, _DPIPRe, + 0, + [_RV], + [[2, { [_eQN]: `ReturnValue`, + [_xN]: _rV }]] +]; +exports.DeleteQueuedReservedInstancesError$ = [3, n0, _DQRIE, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.DeleteQueuedReservedInstancesRequest$ = [3, n0, _DQRIR, + 0, + [_RIIese, _DR], + [[() => DeleteQueuedReservedInstancesIdList, { [_xN]: _RIIes }], 2], 1 +]; +exports.DeleteQueuedReservedInstancesResult$ = [3, n0, _DQRIRe, + 0, + [_SQPD, _FQPD], + [[() => SuccessfulQueuedPurchaseDeletionSet, { [_eQN]: `SuccessfulQueuedPurchaseDeletionSet`, + [_xN]: _sQPDS }], [() => FailedQueuedPurchaseDeletionSet, { [_eQN]: `FailedQueuedPurchaseDeletionSet`, + [_xN]: _fQPDS }]] +]; +exports.DeleteRouteRequest$ = [3, n0, _DRR, + 0, + [_RTI, _DPLI, _DR, _DCB, _DICB], + [[0, { [_eQN]: `RouteTableId`, + [_xN]: _rTI }], 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `DestinationCidrBlock`, + [_xN]: _dCB }], [0, { [_eQN]: `DestinationIpv6CidrBlock`, + [_xN]: _dICB }]], 1 +]; +exports.DeleteRouteServerEndpointRequest$ = [3, n0, _DRSER, + 0, + [_RSEI, _DR], + [0, 2], 1 +]; +exports.DeleteRouteServerEndpointResult$ = [3, n0, _DRSERe, + 0, + [_RSE], + [[() => exports.RouteServerEndpoint$, { [_eQN]: `RouteServerEndpoint`, + [_xN]: _rSE }]] +]; +exports.DeleteRouteServerPeerRequest$ = [3, n0, _DRSPR, + 0, + [_RSPI, _DR], + [0, 2], 1 +]; +exports.DeleteRouteServerPeerResult$ = [3, n0, _DRSPRe, + 0, + [_RSP], + [[() => exports.RouteServerPeer$, { [_eQN]: `RouteServerPeer`, + [_xN]: _rSP }]] +]; +exports.DeleteRouteServerRequest$ = [3, n0, _DRSR, + 0, + [_RSI, _DR], + [0, 2], 1 +]; +exports.DeleteRouteServerResult$ = [3, n0, _DRSRe, + 0, + [_RSo], + [[() => exports.RouteServer$, { [_eQN]: `RouteServer`, + [_xN]: _rSo }]] +]; +exports.DeleteRouteTableRequest$ = [3, n0, _DRTR, + 0, + [_RTI, _DR], + [[0, { [_eQN]: `RouteTableId`, + [_xN]: _rTI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeleteSecondaryNetworkRequest$ = [3, n0, _DSNR, + 0, + [_SNI, _CT, _DR], + [0, [0, 4], 2], 1 +]; +exports.DeleteSecondaryNetworkResult$ = [3, n0, _DSNRe, + 0, + [_SNe, _CT], + [[() => exports.SecondaryNetwork$, { [_eQN]: `SecondaryNetwork`, + [_xN]: _sNe }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.DeleteSecondarySubnetRequest$ = [3, n0, _DSSR, + 0, + [_SSIe, _CT, _DR], + [0, [0, 4], 2], 1 +]; +exports.DeleteSecondarySubnetResult$ = [3, n0, _DSSRe, + 0, + [_SS, _CT], + [[() => exports.SecondarySubnet$, { [_eQN]: `SecondarySubnet`, + [_xN]: _sS }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.DeleteSecurityGroupRequest$ = [3, n0, _DSGR, + 0, + [_GIr, _GN, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.DeleteSecurityGroupResult$ = [3, n0, _DSGRe, + 0, + [_R, _GIr], + [[2, { [_eQN]: `Return`, + [_xN]: _r }], [0, { [_eQN]: `GroupId`, + [_xN]: _gIr }]] +]; +exports.DeleteSnapshotRequest$ = [3, n0, _DSR, + 0, + [_SIn, _DR], + [0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeleteSnapshotReturnCode$ = [3, n0, _DSRC, + 0, + [_SIn, _RC], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `ReturnCode`, + [_xN]: _rC }]] +]; +exports.DeleteSpotDatafeedSubscriptionRequest$ = [3, n0, _DSDSR, + 0, + [_DR], + [[2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.DeleteSubnetCidrReservationRequest$ = [3, n0, _DSCRR, + 0, + [_SCRIu, _DR], + [0, 2], 1 +]; +exports.DeleteSubnetCidrReservationResult$ = [3, n0, _DSCRRe, + 0, + [_DSCR], + [[() => exports.SubnetCidrReservation$, { [_eQN]: `DeletedSubnetCidrReservation`, + [_xN]: _dSCR }]] +]; +exports.DeleteSubnetRequest$ = [3, n0, _DSRe, + 0, + [_SIu, _DR], + [0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeleteTagsRequest$ = [3, n0, _DTR, + 0, + [_Res, _DR, _T], + [[64 | 0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => TagList, { [_eQN]: `Tag`, + [_xN]: _ta }]], 1 +]; +exports.DeleteTrafficMirrorFilterRequest$ = [3, n0, _DTMFR, + 0, + [_TMFI, _DR], + [0, 2], 1 +]; +exports.DeleteTrafficMirrorFilterResult$ = [3, n0, _DTMFRe, + 0, + [_TMFI], + [[0, { [_eQN]: `TrafficMirrorFilterId`, + [_xN]: _tMFI }]] +]; +exports.DeleteTrafficMirrorFilterRuleRequest$ = [3, n0, _DTMFRR, + 0, + [_TMFRI, _DR], + [0, 2], 1 +]; +exports.DeleteTrafficMirrorFilterRuleResult$ = [3, n0, _DTMFRRe, + 0, + [_TMFRI], + [[0, { [_eQN]: `TrafficMirrorFilterRuleId`, + [_xN]: _tMFRI }]] +]; +exports.DeleteTrafficMirrorSessionRequest$ = [3, n0, _DTMSR, + 0, + [_TMSI, _DR], + [0, 2], 1 +]; +exports.DeleteTrafficMirrorSessionResult$ = [3, n0, _DTMSRe, + 0, + [_TMSI], + [[0, { [_eQN]: `TrafficMirrorSessionId`, + [_xN]: _tMSI }]] +]; +exports.DeleteTrafficMirrorTargetRequest$ = [3, n0, _DTMTR, + 0, + [_TMTI, _DR], + [0, 2], 1 +]; +exports.DeleteTrafficMirrorTargetResult$ = [3, n0, _DTMTRe, + 0, + [_TMTI], + [[0, { [_eQN]: `TrafficMirrorTargetId`, + [_xN]: _tMTI }]] +]; +exports.DeleteTransitGatewayConnectPeerRequest$ = [3, n0, _DTGCPR, + 0, + [_TGCPI, _DR], + [0, 2], 1 +]; +exports.DeleteTransitGatewayConnectPeerResult$ = [3, n0, _DTGCPRe, + 0, + [_TGCP], + [[() => exports.TransitGatewayConnectPeer$, { [_eQN]: `TransitGatewayConnectPeer`, + [_xN]: _tGCP }]] +]; +exports.DeleteTransitGatewayConnectRequest$ = [3, n0, _DTGCR, + 0, + [_TGAI, _DR], + [0, 2], 1 +]; +exports.DeleteTransitGatewayConnectResult$ = [3, n0, _DTGCRe, + 0, + [_TGC], + [[() => exports.TransitGatewayConnect$, { [_eQN]: `TransitGatewayConnect`, + [_xN]: _tGC }]] +]; +exports.DeleteTransitGatewayMeteringPolicyEntryRequest$ = [3, n0, _DTGMPER, + 0, + [_TGMPI, _PRN, _DR], + [0, 1, 2], 2 +]; +exports.DeleteTransitGatewayMeteringPolicyEntryResult$ = [3, n0, _DTGMPERe, + 0, + [_TGMPE], + [[() => exports.TransitGatewayMeteringPolicyEntry$, { [_eQN]: `TransitGatewayMeteringPolicyEntry`, + [_xN]: _tGMPE }]] +]; +exports.DeleteTransitGatewayMeteringPolicyRequest$ = [3, n0, _DTGMPR, + 0, + [_TGMPI, _DR], + [0, 2], 1 +]; +exports.DeleteTransitGatewayMeteringPolicyResult$ = [3, n0, _DTGMPRe, + 0, + [_TGMP], + [[() => exports.TransitGatewayMeteringPolicy$, { [_eQN]: `TransitGatewayMeteringPolicy`, + [_xN]: _tGMP }]] +]; +exports.DeleteTransitGatewayMulticastDomainRequest$ = [3, n0, _DTGMDR, + 0, + [_TGMDI, _DR], + [0, 2], 1 +]; +exports.DeleteTransitGatewayMulticastDomainResult$ = [3, n0, _DTGMDRe, + 0, + [_TGMD], + [[() => exports.TransitGatewayMulticastDomain$, { [_eQN]: `TransitGatewayMulticastDomain`, + [_xN]: _tGMD }]] +]; +exports.DeleteTransitGatewayPeeringAttachmentRequest$ = [3, n0, _DTGPAR, + 0, + [_TGAI, _DR], + [0, 2], 1 +]; +exports.DeleteTransitGatewayPeeringAttachmentResult$ = [3, n0, _DTGPARe, + 0, + [_TGPA], + [[() => exports.TransitGatewayPeeringAttachment$, { [_eQN]: `TransitGatewayPeeringAttachment`, + [_xN]: _tGPA }]] +]; +exports.DeleteTransitGatewayPolicyTableRequest$ = [3, n0, _DTGPTR, + 0, + [_TGPTI, _DR], + [0, 2], 1 +]; +exports.DeleteTransitGatewayPolicyTableResult$ = [3, n0, _DTGPTRe, + 0, + [_TGPT], + [[() => exports.TransitGatewayPolicyTable$, { [_eQN]: `TransitGatewayPolicyTable`, + [_xN]: _tGPT }]] +]; +exports.DeleteTransitGatewayPrefixListReferenceRequest$ = [3, n0, _DTGPLRR, + 0, + [_TGRTI, _PLI, _DR], + [0, 0, 2], 2 +]; +exports.DeleteTransitGatewayPrefixListReferenceResult$ = [3, n0, _DTGPLRRe, + 0, + [_TGPLR], + [[() => exports.TransitGatewayPrefixListReference$, { [_eQN]: `TransitGatewayPrefixListReference`, + [_xN]: _tGPLR }]] +]; +exports.DeleteTransitGatewayRequest$ = [3, n0, _DTGR, + 0, + [_TGI, _DR], + [0, 2], 1 +]; +exports.DeleteTransitGatewayResult$ = [3, n0, _DTGRe, + 0, + [_TG], + [[() => exports.TransitGateway$, { [_eQN]: `TransitGateway`, + [_xN]: _tG }]] +]; +exports.DeleteTransitGatewayRouteRequest$ = [3, n0, _DTGRR, + 0, + [_TGRTI, _DCB, _DR], + [0, 0, 2], 2 +]; +exports.DeleteTransitGatewayRouteResult$ = [3, n0, _DTGRRe, + 0, + [_Ro], + [[() => exports.TransitGatewayRoute$, { [_eQN]: `Route`, + [_xN]: _ro }]] +]; +exports.DeleteTransitGatewayRouteTableAnnouncementRequest$ = [3, n0, _DTGRTAR, + 0, + [_TGRTAI, _DR], + [0, 2], 1 +]; +exports.DeleteTransitGatewayRouteTableAnnouncementResult$ = [3, n0, _DTGRTARe, + 0, + [_TGRTA], + [[() => exports.TransitGatewayRouteTableAnnouncement$, { [_eQN]: `TransitGatewayRouteTableAnnouncement`, + [_xN]: _tGRTA }]] +]; +exports.DeleteTransitGatewayRouteTableRequest$ = [3, n0, _DTGRTR, + 0, + [_TGRTI, _DR], + [0, 2], 1 +]; +exports.DeleteTransitGatewayRouteTableResult$ = [3, n0, _DTGRTRe, + 0, + [_TGRT], + [[() => exports.TransitGatewayRouteTable$, { [_eQN]: `TransitGatewayRouteTable`, + [_xN]: _tGRT }]] +]; +exports.DeleteTransitGatewayVpcAttachmentRequest$ = [3, n0, _DTGVAR, + 0, + [_TGAI, _DR], + [0, 2], 1 +]; +exports.DeleteTransitGatewayVpcAttachmentResult$ = [3, n0, _DTGVARe, + 0, + [_TGVA], + [[() => exports.TransitGatewayVpcAttachment$, { [_eQN]: `TransitGatewayVpcAttachment`, + [_xN]: _tGVA }]] +]; +exports.DeleteVerifiedAccessEndpointRequest$ = [3, n0, _DVAER, + 0, + [_VAEI, _CT, _DR], + [0, [0, 4], 2], 1 +]; +exports.DeleteVerifiedAccessEndpointResult$ = [3, n0, _DVAERe, + 0, + [_VAE], + [[() => exports.VerifiedAccessEndpoint$, { [_eQN]: `VerifiedAccessEndpoint`, + [_xN]: _vAE }]] +]; +exports.DeleteVerifiedAccessGroupRequest$ = [3, n0, _DVAGR, + 0, + [_VAGI, _CT, _DR], + [0, [0, 4], 2], 1 +]; +exports.DeleteVerifiedAccessGroupResult$ = [3, n0, _DVAGRe, + 0, + [_VAG], + [[() => exports.VerifiedAccessGroup$, { [_eQN]: `VerifiedAccessGroup`, + [_xN]: _vAG }]] +]; +exports.DeleteVerifiedAccessInstanceRequest$ = [3, n0, _DVAIR, + 0, + [_VAII, _DR, _CT], + [0, 2, [0, 4]], 1 +]; +exports.DeleteVerifiedAccessInstanceResult$ = [3, n0, _DVAIRe, + 0, + [_VAI], + [[() => exports.VerifiedAccessInstance$, { [_eQN]: `VerifiedAccessInstance`, + [_xN]: _vAI }]] +]; +exports.DeleteVerifiedAccessTrustProviderRequest$ = [3, n0, _DVATPR, + 0, + [_VATPI, _DR, _CT], + [0, 2, [0, 4]], 1 +]; +exports.DeleteVerifiedAccessTrustProviderResult$ = [3, n0, _DVATPRe, + 0, + [_VATP], + [[() => exports.VerifiedAccessTrustProvider$, { [_eQN]: `VerifiedAccessTrustProvider`, + [_xN]: _vATP }]] +]; +exports.DeleteVolumeRequest$ = [3, n0, _DVR, + 0, + [_VIo, _DR], + [0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeleteVpcBlockPublicAccessExclusionRequest$ = [3, n0, _DVBPAER, + 0, + [_EIx, _DR], + [0, 2], 1 +]; +exports.DeleteVpcBlockPublicAccessExclusionResult$ = [3, n0, _DVBPAERe, + 0, + [_VBPAE], + [[() => exports.VpcBlockPublicAccessExclusion$, { [_eQN]: `VpcBlockPublicAccessExclusion`, + [_xN]: _vBPAE }]] +]; +exports.DeleteVpcEncryptionControlRequest$ = [3, n0, _DVECR, + 0, + [_VECI, _DR], + [0, 2], 1 +]; +exports.DeleteVpcEncryptionControlResult$ = [3, n0, _DVECRe, + 0, + [_VEC], + [[() => exports.VpcEncryptionControl$, { [_eQN]: `VpcEncryptionControl`, + [_xN]: _vEC }]] +]; +exports.DeleteVpcEndpointConnectionNotificationsRequest$ = [3, n0, _DVECNR, + 0, + [_CNIo, _DR], + [[() => ConnectionNotificationIdsList, { [_xN]: _CNI }], 2], 1 +]; +exports.DeleteVpcEndpointConnectionNotificationsResult$ = [3, n0, _DVECNRe, + 0, + [_U], + [[() => UnsuccessfulItemSet, { [_eQN]: `Unsuccessful`, + [_xN]: _u }]] +]; +exports.DeleteVpcEndpointServiceConfigurationsRequest$ = [3, n0, _DVESCR, + 0, + [_SIer, _DR], + [[() => VpcEndpointServiceIdList, { [_xN]: _SIe }], 2], 1 +]; +exports.DeleteVpcEndpointServiceConfigurationsResult$ = [3, n0, _DVESCRe, + 0, + [_U], + [[() => UnsuccessfulItemSet, { [_eQN]: `Unsuccessful`, + [_xN]: _u }]] +]; +exports.DeleteVpcEndpointsRequest$ = [3, n0, _DVER, + 0, + [_VEI, _DR], + [[() => VpcEndpointIdList, { [_xN]: _VEIp }], 2], 1 +]; +exports.DeleteVpcEndpointsResult$ = [3, n0, _DVERe, + 0, + [_U], + [[() => UnsuccessfulItemSet, { [_eQN]: `Unsuccessful`, + [_xN]: _u }]] +]; +exports.DeleteVpcPeeringConnectionRequest$ = [3, n0, _DVPCR, + 0, + [_VPCI, _DR], + [[0, { [_eQN]: `VpcPeeringConnectionId`, + [_xN]: _vPCI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeleteVpcPeeringConnectionResult$ = [3, n0, _DVPCRe, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DeleteVpcRequest$ = [3, n0, _DVRe, + 0, + [_VI, _DR], + [0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeleteVpnConcentratorRequest$ = [3, n0, _DVCR, + 0, + [_VCI, _DR], + [0, 2], 1 +]; +exports.DeleteVpnConcentratorResult$ = [3, n0, _DVCRe, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DeleteVpnConnectionRequest$ = [3, n0, _DVCRel, + 0, + [_VCIp, _DR], + [0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeleteVpnConnectionRouteRequest$ = [3, n0, _DVCRR, + 0, + [_DCB, _VCIp], + [0, 0], 2 +]; +exports.DeleteVpnGatewayRequest$ = [3, n0, _DVGR, + 0, + [_VGI, _DR], + [0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeprecationTimeCondition$ = [3, n0, _DTC, + 0, + [_MDSD], + [[1, { [_eQN]: `MaximumDaysSinceDeprecated`, + [_xN]: _mDSD }]] +]; +exports.DeprecationTimeConditionRequest$ = [3, n0, _DTCR, + 0, + [_MDSD], + [1] +]; +exports.DeprovisionByoipCidrRequest$ = [3, n0, _DBCR, + 0, + [_Ci, _DR], + [0, 2], 1 +]; +exports.DeprovisionByoipCidrResult$ = [3, n0, _DBCRe, + 0, + [_BC], + [[() => exports.ByoipCidr$, { [_eQN]: `ByoipCidr`, + [_xN]: _bC }]] +]; +exports.DeprovisionIpamByoasnRequest$ = [3, n0, _DIBR, + 0, + [_IIp, _Asn, _DR], + [0, 0, 2], 2 +]; +exports.DeprovisionIpamByoasnResult$ = [3, n0, _DIBRe, + 0, + [_B], + [[() => exports.Byoasn$, { [_eQN]: `Byoasn`, + [_xN]: _by }]] +]; +exports.DeprovisionIpamPoolCidrRequest$ = [3, n0, _DIPCR, + 0, + [_IPI, _DR, _Ci], + [0, 2, 0], 1 +]; +exports.DeprovisionIpamPoolCidrResult$ = [3, n0, _DIPCRe, + 0, + [_IPCpa], + [[() => exports.IpamPoolCidr$, { [_eQN]: `IpamPoolCidr`, + [_xN]: _iPC }]] +]; +exports.DeprovisionPublicIpv4PoolCidrRequest$ = [3, n0, _DPIPCR, + 0, + [_PIo, _Ci, _DR], + [0, 0, 2], 2 +]; +exports.DeprovisionPublicIpv4PoolCidrResult$ = [3, n0, _DPIPCRe, + 0, + [_PIo, _DAe], + [[0, { [_eQN]: `PoolId`, + [_xN]: _pIo }], [() => DeprovisionedAddressSet, { [_eQN]: `DeprovisionedAddressSet`, + [_xN]: _dASe }]] +]; +exports.DeregisterImageRequest$ = [3, n0, _DIRer, + 0, + [_IIm, _DAS, _DR], + [0, 2, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DeregisterImageResult$ = [3, n0, _DIRere, + 0, + [_R, _DSRel], + [[2, { [_eQN]: `Return`, + [_xN]: _r }], [() => DeleteSnapshotResultSet, { [_eQN]: `DeleteSnapshotResultSet`, + [_xN]: _dSRS }]] +]; +exports.DeregisterInstanceEventNotificationAttributesRequest$ = [3, n0, _DIENAR, + 0, + [_ITA, _DR], + [[() => exports.DeregisterInstanceTagAttributeRequest$, 0], 2], 1 +]; +exports.DeregisterInstanceEventNotificationAttributesResult$ = [3, n0, _DIENARe, + 0, + [_ITA], + [[() => exports.InstanceTagNotificationAttribute$, { [_eQN]: `InstanceTagAttribute`, + [_xN]: _iTA }]] +]; +exports.DeregisterInstanceTagAttributeRequest$ = [3, n0, _DITAR, + 0, + [_IATOI, _ITK], + [2, [() => InstanceTagKeySet, { [_xN]: _ITKn }]] +]; +exports.DeregisterTransitGatewayMulticastGroupMembersRequest$ = [3, n0, _DTGMGMR, + 0, + [_TGMDI, _GIA, _NIIe, _DR], + [0, 0, [() => TransitGatewayNetworkInterfaceIdList, 0], 2] +]; +exports.DeregisterTransitGatewayMulticastGroupMembersResult$ = [3, n0, _DTGMGMRe, + 0, + [_DMGM], + [[() => exports.TransitGatewayMulticastDeregisteredGroupMembers$, { [_eQN]: `DeregisteredMulticastGroupMembers`, + [_xN]: _dMGM }]] +]; +exports.DeregisterTransitGatewayMulticastGroupSourcesRequest$ = [3, n0, _DTGMGSR, + 0, + [_TGMDI, _GIA, _NIIe, _DR], + [0, 0, [() => TransitGatewayNetworkInterfaceIdList, 0], 2] +]; +exports.DeregisterTransitGatewayMulticastGroupSourcesResult$ = [3, n0, _DTGMGSRe, + 0, + [_DMGS], + [[() => exports.TransitGatewayMulticastDeregisteredGroupSources$, { [_eQN]: `DeregisteredMulticastGroupSources`, + [_xN]: _dMGS }]] +]; +exports.DescribeAccountAttributesRequest$ = [3, n0, _DAAR, + 0, + [_DR, _ANt], + [[2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => AccountAttributeNameStringList, { [_eQN]: `AttributeName`, + [_xN]: _aN }]] +]; +exports.DescribeAccountAttributesResult$ = [3, n0, _DAARe, + 0, + [_AAcc], + [[() => AccountAttributeList, { [_eQN]: `AccountAttributeSet`, + [_xN]: _aASc }]] +]; +exports.DescribeAddressesAttributeRequest$ = [3, n0, _DAARes, + 0, + [_AIll, _At, _NTe, _MR, _DR], + [[() => AllocationIds, { [_xN]: _AIl }], 0, 0, 1, 2] +]; +exports.DescribeAddressesAttributeResult$ = [3, n0, _DAAResc, + 0, + [_Add, _NTe], + [[() => AddressSet, { [_eQN]: `AddressSet`, + [_xN]: _aSd }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeAddressesRequest$ = [3, n0, _DAR, + 0, + [_PIu, _DR, _Fi, _AIll], + [[() => PublicIpStringList, { [_xN]: _PI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }], [() => AllocationIdList, { [_xN]: _AIl }]] +]; +exports.DescribeAddressesResult$ = [3, n0, _DARe, + 0, + [_Add], + [[() => AddressList, { [_eQN]: `AddressesSet`, + [_xN]: _aSdd }]] +]; +exports.DescribeAddressTransfersRequest$ = [3, n0, _DATR, + 0, + [_AIll, _NTe, _MR, _DR], + [[() => AllocationIdList, { [_xN]: _AIl }], 0, 1, 2] +]; +exports.DescribeAddressTransfersResult$ = [3, n0, _DATRe, + 0, + [_ATdd, _NTe], + [[() => AddressTransferList, { [_eQN]: `AddressTransferSet`, + [_xN]: _aTSd }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeAggregateIdFormatRequest$ = [3, n0, _DAIFR, + 0, + [_DR], + [2] +]; +exports.DescribeAggregateIdFormatResult$ = [3, n0, _DAIFRe, + 0, + [_ULIA, _Statu], + [[2, { [_eQN]: `UseLongIdsAggregated`, + [_xN]: _uLIA }], [() => IdFormatList, { [_eQN]: `StatusSet`, + [_xN]: _sSt }]] +]; +exports.DescribeAvailabilityZonesRequest$ = [3, n0, _DAZR, + 0, + [_ZNo, _ZIo, _AAZ, _DR, _Fi], + [[() => ZoneNameStringList, { [_xN]: _ZN }], [() => ZoneIdStringList, { [_xN]: _ZI }], 2, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeAvailabilityZonesResult$ = [3, n0, _DAZRe, + 0, + [_AZv], + [[() => AvailabilityZoneList, { [_eQN]: `AvailabilityZoneInfo`, + [_xN]: _aZIv }]] +]; +exports.DescribeAwsNetworkPerformanceMetricSubscriptionsRequest$ = [3, n0, _DANPMSR, + 0, + [_MR, _NTe, _Fi, _DR], + [1, 0, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeAwsNetworkPerformanceMetricSubscriptionsResult$ = [3, n0, _DANPMSRe, + 0, + [_NTe, _Sub], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => SubscriptionList, { [_eQN]: `SubscriptionSet`, + [_xN]: _sSu }]] +]; +exports.DescribeBundleTasksRequest$ = [3, n0, _DBTR, + 0, + [_BIu, _DR, _Fi], + [[() => BundleIdStringList, { [_xN]: _BI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeBundleTasksResult$ = [3, n0, _DBTRe, + 0, + [_BTu], + [[() => BundleTaskList, { [_eQN]: `BundleInstanceTasksSet`, + [_xN]: _bITS }]] +]; +exports.DescribeByoipCidrsRequest$ = [3, n0, _DBCRes, + 0, + [_MR, _DR, _NTe], + [1, 2, 0], 1 +]; +exports.DescribeByoipCidrsResult$ = [3, n0, _DBCResc, + 0, + [_BCy, _NTe], + [[() => ByoipCidrSet, { [_eQN]: `ByoipCidrSet`, + [_xN]: _bCS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeCapacityBlockExtensionHistoryRequest$ = [3, n0, _DCBEHR, + 0, + [_CRIa, _NTe, _MR, _Fi, _DR], + [[() => CapacityReservationIdSet, { [_xN]: _CRI }], 0, 1, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeCapacityBlockExtensionHistoryResult$ = [3, n0, _DCBEHRe, + 0, + [_CBEa, _NTe], + [[() => CapacityBlockExtensionSet, { [_eQN]: `CapacityBlockExtensionSet`, + [_xN]: _cBESa }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeCapacityBlockExtensionOfferingsRequest$ = [3, n0, _DCBEOR, + 0, + [_CBEDH, _CRI, _DR, _NTe, _MR], + [1, 0, 2, 0, 1], 2 +]; +exports.DescribeCapacityBlockExtensionOfferingsResult$ = [3, n0, _DCBEORe, + 0, + [_CBEOa, _NTe], + [[() => CapacityBlockExtensionOfferingSet, { [_eQN]: `CapacityBlockExtensionOfferingSet`, + [_xN]: _cBEOS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeCapacityBlockOfferingsRequest$ = [3, n0, _DCBOR, + 0, + [_CDH, _DR, _IT, _IC, _SDR, _EDR, _NTe, _MR, _UTl, _UC, _AAZ], + [1, 2, 0, 1, 4, 4, 0, 1, 0, 1, 2], 1 +]; +exports.DescribeCapacityBlockOfferingsResult$ = [3, n0, _DCBORe, + 0, + [_CBOa, _NTe], + [[() => CapacityBlockOfferingSet, { [_eQN]: `CapacityBlockOfferingSet`, + [_xN]: _cBOS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeCapacityBlocksRequest$ = [3, n0, _DCBR, + 0, + [_CBIa, _NTe, _MR, _Fi, _DR], + [[() => CapacityBlockIds, { [_xN]: _CBI }], 0, 1, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeCapacityBlocksResult$ = [3, n0, _DCBRe, + 0, + [_CBap, _NTe], + [[() => CapacityBlockSet, { [_eQN]: `CapacityBlockSet`, + [_xN]: _cBS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeCapacityBlockStatusRequest$ = [3, n0, _DCBSR, + 0, + [_CBIa, _NTe, _MR, _Fi, _DR], + [[() => CapacityBlockIds, { [_xN]: _CBI }], 0, 1, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeCapacityBlockStatusResult$ = [3, n0, _DCBSRe, + 0, + [_CBSa, _NTe], + [[() => CapacityBlockStatusSet, { [_eQN]: `CapacityBlockStatusSet`, + [_xN]: _cBSS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeCapacityManagerDataExportsRequest$ = [3, n0, _DCMDERes, + 0, + [_CMDEIa, _MR, _NTe, _DR, _Fi], + [[() => CapacityManagerDataExportIdSet, { [_xN]: _CMDEI }], 1, 0, 2, [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeCapacityManagerDataExportsResult$ = [3, n0, _DCMDEResc, + 0, + [_CMDE, _NTe], + [[() => CapacityManagerDataExportResponseSet, { [_eQN]: `CapacityManagerDataExportSet`, + [_xN]: _cMDES }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeCapacityReservationBillingRequestsRequest$ = [3, n0, _DCRBRR, + 0, + [_Rol, _CRIa, _NTe, _MR, _Fi, _DR], + [0, [() => CapacityReservationIdSet, { [_xN]: _CRI }], 0, 1, [() => FilterList, { [_xN]: _Fil }], 2], 1 +]; +exports.DescribeCapacityReservationBillingRequestsResult$ = [3, n0, _DCRBRRe, + 0, + [_NTe, _CRBRa], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => CapacityReservationBillingRequestSet, { [_eQN]: `CapacityReservationBillingRequestSet`, + [_xN]: _cRBRS }]] +]; +exports.DescribeCapacityReservationFleetsRequest$ = [3, n0, _DCRFR, + 0, + [_CRFI, _NTe, _MR, _Fi, _DR], + [[() => CapacityReservationFleetIdSet, { [_xN]: _CRFIa }], 0, 1, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeCapacityReservationFleetsResult$ = [3, n0, _DCRFRe, + 0, + [_CRFa, _NTe], + [[() => CapacityReservationFleetSet, { [_eQN]: `CapacityReservationFleetSet`, + [_xN]: _cRFS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeCapacityReservationsRequest$ = [3, n0, _DCRR, + 0, + [_CRIa, _NTe, _MR, _Fi, _DR], + [[() => CapacityReservationIdSet, { [_xN]: _CRI }], 0, 1, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeCapacityReservationsResult$ = [3, n0, _DCRRe, + 0, + [_NTe, _CRap], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => CapacityReservationSet, { [_eQN]: `CapacityReservationSet`, + [_xN]: _cRS }]] +]; +exports.DescribeCapacityReservationTopologyRequest$ = [3, n0, _DCRTR, + 0, + [_DR, _NTe, _MR, _CRIa, _Fi], + [2, 0, 1, [() => CapacityReservationIdSet, { [_xN]: _CRI }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeCapacityReservationTopologyResult$ = [3, n0, _DCRTRe, + 0, + [_NTe, _CRap], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => CapacityReservationTopologySet, { [_eQN]: `CapacityReservationSet`, + [_xN]: _cRS }]] +]; +exports.DescribeCarrierGatewaysRequest$ = [3, n0, _DCGRes, + 0, + [_CGIa, _Fi, _MR, _NTe, _DR], + [[64 | 0, { [_xN]: _CGI }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeCarrierGatewaysResult$ = [3, n0, _DCGResc, + 0, + [_CGa, _NTe], + [[() => CarrierGatewaySet, { [_eQN]: `CarrierGatewaySet`, + [_xN]: _cGS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeClassicLinkInstancesRequest$ = [3, n0, _DCLIR, + 0, + [_DR, _IIns, _Fi, _NTe, _MR], + [[2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => InstanceIdStringList, { [_xN]: _II }], [() => FilterList, { [_xN]: _Fil }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }]] +]; +exports.DescribeClassicLinkInstancesResult$ = [3, n0, _DCLIRe, + 0, + [_Ins, _NTe], + [[() => ClassicLinkInstanceList, { [_eQN]: `InstancesSet`, + [_xN]: _iSn }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeClientVpnAuthorizationRulesRequest$ = [3, n0, _DCVARR, + 0, + [_CVEI, _DR, _NTe, _Fi, _MR], + [0, 2, 0, [() => FilterList, { [_xN]: _Fil }], 1], 1 +]; +exports.DescribeClientVpnAuthorizationRulesResult$ = [3, n0, _DCVARRe, + 0, + [_ARut, _NTe], + [[() => AuthorizationRuleSet, { [_eQN]: `AuthorizationRule`, + [_xN]: _aRu }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeClientVpnConnectionsRequest$ = [3, n0, _DCVCR, + 0, + [_CVEI, _Fi, _NTe, _MR, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 0, 1, 2], 1 +]; +exports.DescribeClientVpnConnectionsResult$ = [3, n0, _DCVCRe, + 0, + [_Conn, _NTe], + [[() => ClientVpnConnectionSet, { [_eQN]: `Connections`, + [_xN]: _con }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeClientVpnEndpointsRequest$ = [3, n0, _DCVERes, + 0, + [_CVEIl, _MR, _NTe, _Fi, _DR], + [[() => ClientVpnEndpointIdList, { [_xN]: _CVEI }], 1, 0, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeClientVpnEndpointsResult$ = [3, n0, _DCVEResc, + 0, + [_CVEl, _NTe], + [[() => EndpointSet, { [_eQN]: `ClientVpnEndpoint`, + [_xN]: _cVE }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeClientVpnRoutesRequest$ = [3, n0, _DCVRRes, + 0, + [_CVEI, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.DescribeClientVpnRoutesResult$ = [3, n0, _DCVRResc, + 0, + [_Rou, _NTe], + [[() => ClientVpnRouteSet, { [_eQN]: `Routes`, + [_xN]: _rou }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeClientVpnTargetNetworksRequest$ = [3, n0, _DCVTNR, + 0, + [_CVEI, _AIsso, _MR, _NTe, _Fi, _DR], + [0, [() => ValueStringList, 0], 1, 0, [() => FilterList, { [_xN]: _Fil }], 2], 1 +]; +exports.DescribeClientVpnTargetNetworksResult$ = [3, n0, _DCVTNRe, + 0, + [_CVTN, _NTe], + [[() => TargetNetworkSet, { [_eQN]: `ClientVpnTargetNetworks`, + [_xN]: _cVTN }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeCoipPoolsRequest$ = [3, n0, _DCPRes, + 0, + [_PIoo, _Fi, _MR, _NTe, _DR], + [[() => CoipPoolIdSet, { [_xN]: _PIo }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeCoipPoolsResult$ = [3, n0, _DCPResc, + 0, + [_CPo, _NTe], + [[() => CoipPoolSet, { [_eQN]: `CoipPoolSet`, + [_xN]: _cPS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeConversionTasksRequest$ = [3, n0, _DCTR, + 0, + [_DR, _CTIo], + [[2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => ConversionIdStringList, { [_eQN]: `ConversionTaskId`, + [_xN]: _cTI }]] +]; +exports.DescribeConversionTasksResult$ = [3, n0, _DCTRe, + 0, + [_CTonv], + [[() => DescribeConversionTaskList, { [_eQN]: `ConversionTasks`, + [_xN]: _cTo }]] +]; +exports.DescribeCustomerGatewaysRequest$ = [3, n0, _DCGRescr, + 0, + [_CGIus, _Fi, _DR], + [[() => CustomerGatewayIdStringList, { [_xN]: _CGIu }], [() => FilterList, { [_xN]: _Fil }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.DescribeCustomerGatewaysResult$ = [3, n0, _DCGRescri, + 0, + [_CGus], + [[() => CustomerGatewayList, { [_eQN]: `CustomerGatewaySet`, + [_xN]: _cGSu }]] +]; +exports.DescribeDeclarativePoliciesReportsRequest$ = [3, n0, _DDPRR, + 0, + [_DR, _NTe, _MR, _RIep], + [2, 0, 1, [() => ValueStringList, { [_xN]: _RI }]] +]; +exports.DescribeDeclarativePoliciesReportsResult$ = [3, n0, _DDPRRe, + 0, + [_NTe, _Rep], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => DeclarativePoliciesReportList, { [_eQN]: `ReportSet`, + [_xN]: _rSep }]] +]; +exports.DescribeDhcpOptionsRequest$ = [3, n0, _DDORe, + 0, + [_DOIh, _NTe, _MR, _DR, _Fi], + [[() => DhcpOptionsIdStringList, { [_xN]: _DOI }], 0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeDhcpOptionsResult$ = [3, n0, _DDORes, + 0, + [_NTe, _DO], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => DhcpOptionsList, { [_eQN]: `DhcpOptionsSet`, + [_xN]: _dOS }]] +]; +exports.DescribeEgressOnlyInternetGatewaysRequest$ = [3, n0, _DEOIGRes, + 0, + [_DR, _EOIGIg, _MR, _NTe, _Fi], + [2, [() => EgressOnlyInternetGatewayIdList, { [_xN]: _EOIGI }], 1, 0, [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeEgressOnlyInternetGatewaysResult$ = [3, n0, _DEOIGResc, + 0, + [_EOIGg, _NTe], + [[() => EgressOnlyInternetGatewayList, { [_eQN]: `EgressOnlyInternetGatewaySet`, + [_xN]: _eOIGS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeElasticGpusRequest$ = [3, n0, _DEGR, + 0, + [_EGI, _DR, _Fi, _MR, _NTe], + [[() => ElasticGpuIdSet, { [_xN]: _EGIl }], 2, [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeElasticGpusResult$ = [3, n0, _DEGRe, + 0, + [_EGS, _MR, _NTe], + [[() => ElasticGpuSet, { [_eQN]: `ElasticGpuSet`, + [_xN]: _eGS }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeExportImageTasksRequest$ = [3, n0, _DEITR, + 0, + [_DR, _Fi, _EITI, _MR, _NTe], + [2, [() => FilterList, { [_xN]: _Fil }], [() => ExportImageTaskIdList, { [_xN]: _EITIx }], 1, 0] +]; +exports.DescribeExportImageTasksResult$ = [3, n0, _DEITRe, + 0, + [_EIT, _NTe], + [[() => ExportImageTaskList, { [_eQN]: `ExportImageTaskSet`, + [_xN]: _eITS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeExportTasksRequest$ = [3, n0, _DETR, + 0, + [_Fi, _ETIx], + [[() => FilterList, { [_xN]: _Fil }], [() => ExportTaskIdStringList, { [_eQN]: `ExportTaskId`, + [_xN]: _eTI }]] +]; +exports.DescribeExportTasksResult$ = [3, n0, _DETRe, + 0, + [_ETxp], + [[() => ExportTaskList, { [_eQN]: `ExportTaskSet`, + [_xN]: _eTSx }]] +]; +exports.DescribeFastLaunchImagesRequest$ = [3, n0, _DFLIR, + 0, + [_IIma, _Fi, _MR, _NTe, _DR], + [[() => FastLaunchImageIdList, { [_xN]: _IIm }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeFastLaunchImagesResult$ = [3, n0, _DFLIRe, + 0, + [_FLIa, _NTe], + [[() => DescribeFastLaunchImagesSuccessSet, { [_eQN]: `FastLaunchImageSet`, + [_xN]: _fLISa }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeFastLaunchImagesSuccessItem$ = [3, n0, _DFLISI, + 0, + [_IIm, _RTe, _SCn, _LT, _MPL, _OI, _St, _STR, _STT], + [[0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [() => exports.FastLaunchSnapshotConfigurationResponse$, { [_eQN]: `SnapshotConfiguration`, + [_xN]: _sCn }], [() => exports.FastLaunchLaunchTemplateSpecificationResponse$, { [_eQN]: `LaunchTemplate`, + [_xN]: _lT }], [1, { [_eQN]: `MaxParallelLaunches`, + [_xN]: _mPL }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateTransitionReason`, + [_xN]: _sTR }], [4, { [_eQN]: `StateTransitionTime`, + [_xN]: _sTT }]] +]; +exports.DescribeFastSnapshotRestoresRequest$ = [3, n0, _DFSRR, + 0, + [_Fi, _MR, _NTe, _DR], + [[() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeFastSnapshotRestoresResult$ = [3, n0, _DFSRRe, + 0, + [_FSR, _NTe], + [[() => DescribeFastSnapshotRestoreSuccessSet, { [_eQN]: `FastSnapshotRestoreSet`, + [_xN]: _fSRS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeFastSnapshotRestoreSuccessItem$ = [3, n0, _DFSRSI, + 0, + [_SIn, _AZ, _AZI, _St, _STR, _OI, _OAw, _ETna, _OT, _ETnab, _DTi, _DTis], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateTransitionReason`, + [_xN]: _sTR }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `OwnerAlias`, + [_xN]: _oAw }], [4, { [_eQN]: `EnablingTime`, + [_xN]: _eTna }], [4, { [_eQN]: `OptimizingTime`, + [_xN]: _oT }], [4, { [_eQN]: `EnabledTime`, + [_xN]: _eTnab }], [4, { [_eQN]: `DisablingTime`, + [_xN]: _dTi }], [4, { [_eQN]: `DisabledTime`, + [_xN]: _dTis }]] +]; +exports.DescribeFleetError$ = [3, n0, _DFEe, + 0, + [_LTAO, _L, _EC, _EM], + [[() => exports.LaunchTemplateAndOverridesResponse$, { [_eQN]: `LaunchTemplateAndOverrides`, + [_xN]: _lTAO }], [0, { [_eQN]: `Lifecycle`, + [_xN]: _l }], [0, { [_eQN]: `ErrorCode`, + [_xN]: _eC }], [0, { [_eQN]: `ErrorMessage`, + [_xN]: _eM }]] +]; +exports.DescribeFleetHistoryRequest$ = [3, n0, _DFHR, + 0, + [_FIl, _ST, _DR, _ETv, _MR, _NTe], + [0, 4, 2, 0, 1, 0], 2 +]; +exports.DescribeFleetHistoryResult$ = [3, n0, _DFHRe, + 0, + [_HRi, _LET, _NTe, _FIl, _ST], + [[() => HistoryRecordSet, { [_eQN]: `HistoryRecordSet`, + [_xN]: _hRS }], [4, { [_eQN]: `LastEvaluatedTime`, + [_xN]: _lET }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [0, { [_eQN]: `FleetId`, + [_xN]: _fIl }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }]] +]; +exports.DescribeFleetInstancesRequest$ = [3, n0, _DFIRes, + 0, + [_FIl, _DR, _MR, _NTe, _Fi], + [0, 2, 1, 0, [() => FilterList, { [_xN]: _Fil }]], 1 +]; +exports.DescribeFleetInstancesResult$ = [3, n0, _DFIResc, + 0, + [_AIct, _NTe, _FIl], + [[() => ActiveInstanceSet, { [_eQN]: `ActiveInstanceSet`, + [_xN]: _aIS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [0, { [_eQN]: `FleetId`, + [_xN]: _fIl }]] +]; +exports.DescribeFleetsInstances$ = [3, n0, _DFI, + 0, + [_LTAO, _L, _IIns, _IT, _Pl], + [[() => exports.LaunchTemplateAndOverridesResponse$, { [_eQN]: `LaunchTemplateAndOverrides`, + [_xN]: _lTAO }], [0, { [_eQN]: `Lifecycle`, + [_xN]: _l }], [() => InstanceIdsSet, { [_eQN]: `InstanceIds`, + [_xN]: _iIns }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `Platform`, + [_xN]: _pl }]] +]; +exports.DescribeFleetsRequest$ = [3, n0, _DFRes, + 0, + [_DR, _MR, _NTe, _FIle, _Fi], + [2, 1, 0, [64 | 0, { [_xN]: _FIl }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeFleetsResult$ = [3, n0, _DFResc, + 0, + [_NTe, _Fl], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => FleetSet, { [_eQN]: `FleetSet`, + [_xN]: _fS }]] +]; +exports.DescribeFlowLogsRequest$ = [3, n0, _DFLRes, + 0, + [_DR, _Fil, _FLI, _MR, _NTe], + [2, [() => FilterList, 0], [() => FlowLogIdList, { [_xN]: _FLIl }], 1, 0] +]; +exports.DescribeFlowLogsResult$ = [3, n0, _DFLResc, + 0, + [_FL, _NTe], + [[() => FlowLogSet, { [_eQN]: `FlowLogSet`, + [_xN]: _fLS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeFpgaImageAttributeRequest$ = [3, n0, _DFIAR, + 0, + [_FII, _At, _DR], + [0, 0, 2], 2 +]; +exports.DescribeFpgaImageAttributeResult$ = [3, n0, _DFIARe, + 0, + [_FIA], + [[() => exports.FpgaImageAttribute$, { [_eQN]: `FpgaImageAttribute`, + [_xN]: _fIA }]] +]; +exports.DescribeFpgaImagesRequest$ = [3, n0, _DFIRescr, + 0, + [_DR, _FIIp, _Ow, _Fi, _NTe, _MR], + [2, [() => FpgaImageIdList, { [_xN]: _FII }], [() => OwnerStringList, { [_xN]: _Own }], [() => FilterList, { [_xN]: _Fil }], 0, 1] +]; +exports.DescribeFpgaImagesResult$ = [3, n0, _DFIRescri, + 0, + [_FIp, _NTe], + [[() => FpgaImageList, { [_eQN]: `FpgaImageSet`, + [_xN]: _fISp }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeHostReservationOfferingsRequest$ = [3, n0, _DHROR, + 0, + [_Fil, _MD, _MR, _MDi, _NTe, _OIf], + [[() => FilterList, 0], 1, 1, 1, 0, 0] +]; +exports.DescribeHostReservationOfferingsResult$ = [3, n0, _DHRORe, + 0, + [_NTe, _OS], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => HostOfferingSet, { [_eQN]: `OfferingSet`, + [_xN]: _oS }]] +]; +exports.DescribeHostReservationsRequest$ = [3, n0, _DHRR, + 0, + [_Fil, _HRIS, _MR, _NTe], + [[() => FilterList, 0], [() => HostReservationIdSet, 0], 1, 0] +]; +exports.DescribeHostReservationsResult$ = [3, n0, _DHRRe, + 0, + [_HRS, _NTe], + [[() => HostReservationSet, { [_eQN]: `HostReservationSet`, + [_xN]: _hRSo }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeHostsRequest$ = [3, n0, _DHR, + 0, + [_HI, _NTe, _MR, _Fil], + [[() => RequestHostIdList, { [_eQN]: `HostId`, + [_xN]: _hI }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }], [() => FilterList, { [_eQN]: `Filter`, + [_xN]: _f }]] +]; +exports.DescribeHostsResult$ = [3, n0, _DHRe, + 0, + [_H, _NTe], + [[() => HostList, { [_eQN]: `HostSet`, + [_xN]: _hS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeIamInstanceProfileAssociationsRequest$ = [3, n0, _DIIPAR, + 0, + [_AIsso, _Fi, _MR, _NTe], + [[() => AssociationIdList, { [_xN]: _AIs }], [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeIamInstanceProfileAssociationsResult$ = [3, n0, _DIIPARe, + 0, + [_IIPAa, _NTe], + [[() => IamInstanceProfileAssociationSet, { [_eQN]: `IamInstanceProfileAssociationSet`, + [_xN]: _iIPAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeIdentityIdFormatRequest$ = [3, n0, _DIIFR, + 0, + [_PAr, _Reso], + [[0, { [_eQN]: `PrincipalArn`, + [_xN]: _pAr }], [0, { [_eQN]: `Resource`, + [_xN]: _re }]], 1 +]; +exports.DescribeIdentityIdFormatResult$ = [3, n0, _DIIFRe, + 0, + [_Statu], + [[() => IdFormatList, { [_eQN]: `StatusSet`, + [_xN]: _sSt }]] +]; +exports.DescribeIdFormatRequest$ = [3, n0, _DIFR, + 0, + [_Reso], + [0] +]; +exports.DescribeIdFormatResult$ = [3, n0, _DIFRe, + 0, + [_Statu], + [[() => IdFormatList, { [_eQN]: `StatusSet`, + [_xN]: _sSt }]] +]; +exports.DescribeImageAttributeRequest$ = [3, n0, _DIAR, + 0, + [_At, _IIm, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.DescribeImageReferencesRequest$ = [3, n0, _DIRR, + 0, + [_IIma, _IART, _RTes, _NTe, _DR, _MR], + [[64 | 0, { [_xN]: _IIm }], 2, [() => ResourceTypeRequestList, { [_xN]: _RTe }], 0, 2, 1], 1 +]; +exports.DescribeImageReferencesResult$ = [3, n0, _DIRRe, + 0, + [_NTe, _IR], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => ImageReferenceList, { [_eQN]: `ImageReferenceSet`, + [_xN]: _iRS }]] +]; +exports.DescribeImagesRequest$ = [3, n0, _DIRes, + 0, + [_EU, _IIma, _Ow, _ID, _IDn, _MR, _NTe, _DR, _Fi], + [[() => ExecutableByStringList, { [_xN]: _EBx }], [() => ImageIdStringList, { [_xN]: _IIm }], [() => OwnerStringList, { [_xN]: _Own }], 2, 2, 1, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeImagesResult$ = [3, n0, _DIResc, + 0, + [_NTe, _Im], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => ImageList, { [_eQN]: `ImagesSet`, + [_xN]: _iSm }]] +]; +exports.DescribeImageUsageReportEntriesRequest$ = [3, n0, _DIURER, + 0, + [_IIma, _RIep, _NTe, _Fi, _DR, _MR], + [[64 | 0, { [_xN]: _IIm }], [64 | 0, { [_xN]: _RI }], 0, [() => FilterList, { [_xN]: _Fil }], 2, 1] +]; +exports.DescribeImageUsageReportEntriesResult$ = [3, n0, _DIURERe, + 0, + [_NTe, _IURE], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => ImageUsageReportEntryList, { [_eQN]: `ImageUsageReportEntrySet`, + [_xN]: _iURES }]] +]; +exports.DescribeImageUsageReportsRequest$ = [3, n0, _DIURRes, + 0, + [_IIma, _RIep, _NTe, _Fi, _DR, _MR], + [[64 | 0, { [_xN]: _IIm }], [64 | 0, { [_xN]: _RI }], 0, [() => FilterList, { [_xN]: _Fil }], 2, 1] +]; +exports.DescribeImageUsageReportsResult$ = [3, n0, _DIURResc, + 0, + [_NTe, _IUR], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => ImageUsageReportList, { [_eQN]: `ImageUsageReportSet`, + [_xN]: _iURS }]] +]; +exports.DescribeImportImageTasksRequest$ = [3, n0, _DIITR, + 0, + [_DR, _Fi, _ITIm, _MR, _NTe], + [2, [() => FilterList, { [_xN]: _Fi }], [() => ImportTaskIdList, { [_xN]: _ITI }], 1, 0] +]; +exports.DescribeImportImageTasksResult$ = [3, n0, _DIITRe, + 0, + [_IIT, _NTe], + [[() => ImportImageTaskList, { [_eQN]: `ImportImageTaskSet`, + [_xN]: _iITS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeImportSnapshotTasksRequest$ = [3, n0, _DISTR, + 0, + [_DR, _Fi, _ITIm, _MR, _NTe], + [2, [() => FilterList, { [_xN]: _Fi }], [() => ImportSnapshotTaskIdList, { [_xN]: _ITI }], 1, 0] +]; +exports.DescribeImportSnapshotTasksResult$ = [3, n0, _DISTRe, + 0, + [_IST, _NTe], + [[() => ImportSnapshotTaskList, { [_eQN]: `ImportSnapshotTaskSet`, + [_xN]: _iSTS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeInstanceAttributeRequest$ = [3, n0, _DIARe, + 0, + [_II, _At, _DR], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `Attribute`, + [_xN]: _att }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.DescribeInstanceConnectEndpointsRequest$ = [3, n0, _DICERes, + 0, + [_DR, _MR, _NTe, _Fi, _ICEIn], + [2, 1, 0, [() => FilterList, { [_xN]: _Fil }], [() => ValueStringList, { [_xN]: _ICEI }]] +]; +exports.DescribeInstanceConnectEndpointsResult$ = [3, n0, _DICEResc, + 0, + [_ICEn, _NTe], + [[() => InstanceConnectEndpointSet, { [_eQN]: `InstanceConnectEndpointSet`, + [_xN]: _iCES }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeInstanceCreditSpecificationsRequest$ = [3, n0, _DICSR, + 0, + [_DR, _Fi, _IIns, _MR, _NTe], + [2, [() => FilterList, { [_xN]: _Fil }], [() => InstanceIdStringList, { [_xN]: _II }], 1, 0] +]; +exports.DescribeInstanceCreditSpecificationsResult$ = [3, n0, _DICSRe, + 0, + [_ICS, _NTe], + [[() => InstanceCreditSpecificationList, { [_eQN]: `InstanceCreditSpecificationSet`, + [_xN]: _iCSS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeInstanceEventNotificationAttributesRequest$ = [3, n0, _DIENARes, + 0, + [_DR], + [2] +]; +exports.DescribeInstanceEventNotificationAttributesResult$ = [3, n0, _DIENAResc, + 0, + [_ITA], + [[() => exports.InstanceTagNotificationAttribute$, { [_eQN]: `InstanceTagAttribute`, + [_xN]: _iTA }]] +]; +exports.DescribeInstanceEventWindowsRequest$ = [3, n0, _DIEWRes, + 0, + [_DR, _IEWIn, _Fi, _MR, _NTe], + [2, [() => InstanceEventWindowIdSet, { [_xN]: _IEWI }], [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeInstanceEventWindowsResult$ = [3, n0, _DIEWResc, + 0, + [_IEWn, _NTe], + [[() => InstanceEventWindowSet, { [_eQN]: `InstanceEventWindowSet`, + [_xN]: _iEWSn }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeInstanceImageMetadataRequest$ = [3, n0, _DIIMR, + 0, + [_Fi, _IIns, _MR, _NTe, _DR], + [[() => FilterList, { [_xN]: _Fil }], [() => InstanceIdStringList, { [_xN]: _II }], 1, 0, 2] +]; +exports.DescribeInstanceImageMetadataResult$ = [3, n0, _DIIMRe, + 0, + [_IIM, _NTe], + [[() => InstanceImageMetadataList, { [_eQN]: `InstanceImageMetadataSet`, + [_xN]: _iIMS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeInstanceSqlHaHistoryStatesRequest$ = [3, n0, _DISHHSR, + 0, + [_IIns, _ST, _ETnd, _NTe, _MR, _Fi, _DR], + [[() => InstanceIdStringList, { [_xN]: _II }], 4, 4, 0, 1, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeInstanceSqlHaHistoryStatesResult$ = [3, n0, _DISHHSRe, + 0, + [_Ins, _NTe], + [[() => RegisteredInstanceList, { [_eQN]: `InstanceSet`, + [_xN]: _iSns }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeInstanceSqlHaStatesRequest$ = [3, n0, _DISHSR, + 0, + [_IIns, _NTe, _MR, _Fi, _DR], + [[() => InstanceIdStringList, { [_xN]: _II }], 0, 1, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeInstanceSqlHaStatesResult$ = [3, n0, _DISHSRe, + 0, + [_Ins, _NTe], + [[() => RegisteredInstanceList, { [_eQN]: `InstanceSet`, + [_xN]: _iSns }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeInstancesRequest$ = [3, n0, _DIRescr, + 0, + [_IIns, _DR, _Fi, _NTe, _MR], + [[() => InstanceIdStringList, { [_xN]: _II }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }]] +]; +exports.DescribeInstancesResult$ = [3, n0, _DIRescri, + 0, + [_NTe, _Rese], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => ReservationList, { [_eQN]: `ReservationSet`, + [_xN]: _rSes }]] +]; +exports.DescribeInstanceStatusRequest$ = [3, n0, _DISRes, + 0, + [_IIns, _MR, _NTe, _DR, _Fi, _IAI], + [[() => InstanceIdStringList, { [_xN]: _II }], 1, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }], [2, { [_eQN]: `IncludeAllInstances`, + [_xN]: _iAI }]] +]; +exports.DescribeInstanceStatusResult$ = [3, n0, _DISResc, + 0, + [_ISns, _NTe], + [[() => InstanceStatusList, { [_eQN]: `InstanceStatusSet`, + [_xN]: _iSS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeInstanceTopologyRequest$ = [3, n0, _DITR, + 0, + [_DR, _NTe, _MR, _IIns, _GNr, _Fi], + [2, 0, 1, [64 | 0, { [_xN]: _II }], [64 | 0, { [_xN]: _GN }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeInstanceTopologyResult$ = [3, n0, _DITRe, + 0, + [_Ins, _NTe], + [[() => InstanceSet, { [_eQN]: `InstanceSet`, + [_xN]: _iSns }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeInstanceTypeOfferingsRequest$ = [3, n0, _DITOR, + 0, + [_DR, _LTo, _Fi, _MR, _NTe], + [2, 0, [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeInstanceTypeOfferingsResult$ = [3, n0, _DITORe, + 0, + [_ITO, _NTe], + [[() => InstanceTypeOfferingsList, { [_eQN]: `InstanceTypeOfferingSet`, + [_xN]: _iTOS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeInstanceTypesRequest$ = [3, n0, _DITRes, + 0, + [_DR, _ITnst, _Fi, _MR, _NTe], + [2, [64 | 0, { [_xN]: _IT }], [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeInstanceTypesResult$ = [3, n0, _DITResc, + 0, + [_ITnst, _NTe], + [[() => InstanceTypeInfoList, { [_eQN]: `InstanceTypeSet`, + [_xN]: _iTS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeInternetGatewaysRequest$ = [3, n0, _DIGRe, + 0, + [_NTe, _MR, _DR, _IGIn, _Fi], + [0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => InternetGatewayIdList, { [_eQN]: `InternetGatewayId`, + [_xN]: _iGI }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeInternetGatewaysResult$ = [3, n0, _DIGRes, + 0, + [_IGn, _NTe], + [[() => InternetGatewayList, { [_eQN]: `InternetGatewaySet`, + [_xN]: _iGS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeIpamByoasnRequest$ = [3, n0, _DIBRes, + 0, + [_DR, _MR, _NTe], + [2, 1, 0] +]; +exports.DescribeIpamByoasnResult$ = [3, n0, _DIBResc, + 0, + [_By, _NTe], + [[() => ByoasnSet, { [_eQN]: `ByoasnSet`, + [_xN]: _bS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeIpamExternalResourceVerificationTokensRequest$ = [3, n0, _DIERVTRes, + 0, + [_DR, _Fi, _NTe, _MR, _IERVTIp], + [2, [() => FilterList, { [_xN]: _Fil }], 0, 1, [() => ValueStringList, { [_xN]: _IERVTI }]] +]; +exports.DescribeIpamExternalResourceVerificationTokensResult$ = [3, n0, _DIERVTResc, + 0, + [_NTe, _IERVTp], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => IpamExternalResourceVerificationTokenSet, { [_eQN]: `IpamExternalResourceVerificationTokenSet`, + [_xN]: _iERVTS }]] +]; +exports.DescribeIpamPoliciesRequest$ = [3, n0, _DIPRes, + 0, + [_DR, _Fi, _MR, _NTe, _IPIpa], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => ValueStringList, { [_xN]: _IPIp }]] +]; +exports.DescribeIpamPoliciesResult$ = [3, n0, _DIPResc, + 0, + [_NTe, _IPpamo], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => IpamPolicySet, { [_eQN]: `IpamPolicySet`, + [_xN]: _iPS }]] +]; +exports.DescribeIpamPoolsRequest$ = [3, n0, _DIPRescr, + 0, + [_DR, _Fi, _MR, _NTe, _IPIpam], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => ValueStringList, { [_xN]: _IPI }]] +]; +exports.DescribeIpamPoolsResult$ = [3, n0, _DIPRescri, + 0, + [_NTe, _IPpamoo], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => IpamPoolSet, { [_eQN]: `IpamPoolSet`, + [_xN]: _iPSp }]] +]; +exports.DescribeIpamPrefixListResolversRequest$ = [3, n0, _DIPLRRes, + 0, + [_DR, _Fi, _MR, _NTe, _IPLRIp], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => ValueStringList, { [_xN]: _IPLRI }]] +]; +exports.DescribeIpamPrefixListResolversResult$ = [3, n0, _DIPLRResc, + 0, + [_NTe, _IPLRp], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => IpamPrefixListResolverSet, { [_eQN]: `IpamPrefixListResolverSet`, + [_xN]: _iPLRS }]] +]; +exports.DescribeIpamPrefixListResolverTargetsRequest$ = [3, n0, _DIPLRTRes, + 0, + [_DR, _Fi, _MR, _NTe, _IPLRTIp, _IPLRI], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => ValueStringList, { [_xN]: _IPLRTI }], 0] +]; +exports.DescribeIpamPrefixListResolverTargetsResult$ = [3, n0, _DIPLRTResc, + 0, + [_NTe, _IPLRTp], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => IpamPrefixListResolverTargetSet, { [_eQN]: `IpamPrefixListResolverTargetSet`, + [_xN]: _iPLRTS }]] +]; +exports.DescribeIpamResourceDiscoveriesRequest$ = [3, n0, _DIRDRes, + 0, + [_DR, _IRDIp, _NTe, _MR, _Fi], + [2, [() => ValueStringList, { [_xN]: _IRDI }], 0, 1, [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeIpamResourceDiscoveriesResult$ = [3, n0, _DIRDResc, + 0, + [_IRDp, _NTe], + [[() => IpamResourceDiscoverySet, { [_eQN]: `IpamResourceDiscoverySet`, + [_xN]: _iRDS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeIpamResourceDiscoveryAssociationsRequest$ = [3, n0, _DIRDAR, + 0, + [_DR, _IRDAI, _NTe, _MR, _Fi], + [2, [() => ValueStringList, { [_xN]: _IRDAIp }], 0, 1, [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeIpamResourceDiscoveryAssociationsResult$ = [3, n0, _DIRDARe, + 0, + [_IRDAp, _NTe], + [[() => IpamResourceDiscoveryAssociationSet, { [_eQN]: `IpamResourceDiscoveryAssociationSet`, + [_xN]: _iRDAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeIpamScopesRequest$ = [3, n0, _DISRescr, + 0, + [_DR, _Fi, _MR, _NTe, _ISIp], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => ValueStringList, { [_xN]: _ISI }]] +]; +exports.DescribeIpamScopesResult$ = [3, n0, _DISRescri, + 0, + [_NTe, _ISpa], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => IpamScopeSet, { [_eQN]: `IpamScopeSet`, + [_xN]: _iSSp }]] +]; +exports.DescribeIpamsRequest$ = [3, n0, _DIRescrib, + 0, + [_DR, _Fi, _MR, _NTe, _IIpa], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => ValueStringList, { [_xN]: _IIp }]] +]; +exports.DescribeIpamsResult$ = [3, n0, _DIRescribe, + 0, + [_NTe, _Ipa], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => IpamSet, { [_eQN]: `IpamSet`, + [_xN]: _iSpa }]] +]; +exports.DescribeIpv6PoolsRequest$ = [3, n0, _DIPRescrib, + 0, + [_PIoo, _NTe, _MR, _DR, _Fi], + [[() => Ipv6PoolIdList, { [_xN]: _PIo }], 0, 1, 2, [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeIpv6PoolsResult$ = [3, n0, _DIPRescribe, + 0, + [_IPpvoo, _NTe], + [[() => Ipv6PoolSet, { [_eQN]: `Ipv6PoolSet`, + [_xN]: _iPSpv }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeKeyPairsRequest$ = [3, n0, _DKPRes, + 0, + [_KNe, _KPIe, _IPK, _DR, _Fi], + [[() => KeyNameStringList, { [_xN]: _KN }], [() => KeyPairIdStringList, { [_xN]: _KPI }], 2, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeKeyPairsResult$ = [3, n0, _DKPResc, + 0, + [_KP], + [[() => KeyPairList, { [_eQN]: `KeySet`, + [_xN]: _kS }]] +]; +exports.DescribeLaunchTemplatesRequest$ = [3, n0, _DLTRes, + 0, + [_DR, _LTIa, _LTNa, _Fi, _NTe, _MR], + [2, [() => LaunchTemplateIdStringList, { [_xN]: _LTI }], [() => LaunchTemplateNameStringList, { [_xN]: _LTN }], [() => FilterList, { [_xN]: _Fil }], 0, 1] +]; +exports.DescribeLaunchTemplatesResult$ = [3, n0, _DLTResc, + 0, + [_LTa, _NTe], + [[() => LaunchTemplateSet, { [_eQN]: `LaunchTemplates`, + [_xN]: _lTa }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeLaunchTemplateVersionsRequest$ = [3, n0, _DLTVRes, + 0, + [_DR, _LTI, _LTN, _Ve, _MV, _MVa, _NTe, _MR, _Fi, _RAes], + [2, 0, 0, [() => VersionStringList, { [_xN]: _LTV }], 0, 0, 0, 1, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeLaunchTemplateVersionsResult$ = [3, n0, _DLTVResc, + 0, + [_LTVa, _NTe], + [[() => LaunchTemplateVersionSet, { [_eQN]: `LaunchTemplateVersionSet`, + [_xN]: _lTVS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeLocalGatewayRouteTablesRequest$ = [3, n0, _DLGRTRes, + 0, + [_LGRTIo, _Fi, _MR, _NTe, _DR], + [[() => LocalGatewayRouteTableIdSet, { [_xN]: _LGRTI }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeLocalGatewayRouteTablesResult$ = [3, n0, _DLGRTResc, + 0, + [_LGRTo, _NTe], + [[() => LocalGatewayRouteTableSet, { [_eQN]: `LocalGatewayRouteTableSet`, + [_xN]: _lGRTS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest$ = [3, n0, _DLGRTVIGARes, + 0, + [_LGRTVIGAIo, _Fi, _MR, _NTe, _DR], + [[() => LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet, { [_xN]: _LGRTVIGAI }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult$ = [3, n0, _DLGRTVIGAResc, + 0, + [_LGRTVIGAo, _NTe], + [[() => LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet, { [_eQN]: `LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet`, + [_xN]: _lGRTVIGAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeLocalGatewayRouteTableVpcAssociationsRequest$ = [3, n0, _DLGRTVARes, + 0, + [_LGRTVAIo, _Fi, _MR, _NTe, _DR], + [[() => LocalGatewayRouteTableVpcAssociationIdSet, { [_xN]: _LGRTVAI }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeLocalGatewayRouteTableVpcAssociationsResult$ = [3, n0, _DLGRTVAResc, + 0, + [_LGRTVAo, _NTe], + [[() => LocalGatewayRouteTableVpcAssociationSet, { [_eQN]: `LocalGatewayRouteTableVpcAssociationSet`, + [_xN]: _lGRTVAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeLocalGatewaysRequest$ = [3, n0, _DLGR, + 0, + [_LGIo, _Fi, _MR, _NTe, _DR], + [[() => LocalGatewayIdSet, { [_xN]: _LGI }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeLocalGatewaysResult$ = [3, n0, _DLGRe, + 0, + [_LG, _NTe], + [[() => LocalGatewaySet, { [_eQN]: `LocalGatewaySet`, + [_xN]: _lGS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeLocalGatewayVirtualInterfaceGroupsRequest$ = [3, n0, _DLGVIGRes, + 0, + [_LGVIGIo, _Fi, _MR, _NTe, _DR], + [[() => LocalGatewayVirtualInterfaceGroupIdSet, { [_xN]: _LGVIGI }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeLocalGatewayVirtualInterfaceGroupsResult$ = [3, n0, _DLGVIGResc, + 0, + [_LGVIGo, _NTe], + [[() => LocalGatewayVirtualInterfaceGroupSet, { [_eQN]: `LocalGatewayVirtualInterfaceGroupSet`, + [_xN]: _lGVIGS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeLocalGatewayVirtualInterfacesRequest$ = [3, n0, _DLGVIRes, + 0, + [_LGVIIo, _Fi, _MR, _NTe, _DR], + [[() => LocalGatewayVirtualInterfaceIdSet, { [_xN]: _LGVII }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeLocalGatewayVirtualInterfacesResult$ = [3, n0, _DLGVIResc, + 0, + [_LGVIo, _NTe], + [[() => LocalGatewayVirtualInterfaceSet, { [_eQN]: `LocalGatewayVirtualInterfaceSet`, + [_xN]: _lGVIS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeLockedSnapshotsRequest$ = [3, n0, _DLSR, + 0, + [_Fi, _MR, _NTe, _SIna, _DR], + [[() => FilterList, { [_xN]: _Fil }], 1, 0, [() => SnapshotIdStringList, { [_xN]: _SIn }], 2] +]; +exports.DescribeLockedSnapshotsResult$ = [3, n0, _DLSRe, + 0, + [_Sn, _NTe], + [[() => LockedSnapshotsInfoList, { [_eQN]: `SnapshotSet`, + [_xN]: _sSn }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeMacHostsRequest$ = [3, n0, _DMHR, + 0, + [_Fi, _HI, _MR, _NTe], + [[() => FilterList, { [_xN]: _Fil }], [() => RequestHostIdList, { [_xN]: _HIo }], 1, 0] +]; +exports.DescribeMacHostsResult$ = [3, n0, _DMHRe, + 0, + [_MH, _NTe], + [[() => MacHostList, { [_eQN]: `MacHostSet`, + [_xN]: _mHS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeMacModificationTasksRequest$ = [3, n0, _DMMTR, + 0, + [_DR, _Fi, _MMTI, _MR, _NTe], + [2, [() => FilterList, { [_xN]: _Fil }], [() => MacModificationTaskIdList, { [_xN]: _MMTIa }], 1, 0] +]; +exports.DescribeMacModificationTasksResult$ = [3, n0, _DMMTRe, + 0, + [_MMTa, _NTe], + [[() => MacModificationTaskList, { [_eQN]: `MacModificationTaskSet`, + [_xN]: _mMTS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeManagedPrefixListsRequest$ = [3, n0, _DMPLRes, + 0, + [_DR, _Fi, _MR, _NTe, _PLIr], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => ValueStringList, { [_xN]: _PLI }]] +]; +exports.DescribeManagedPrefixListsResult$ = [3, n0, _DMPLResc, + 0, + [_NTe, _PLr], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => ManagedPrefixListSet, { [_eQN]: `PrefixListSet`, + [_xN]: _pLS }]] +]; +exports.DescribeMovingAddressesRequest$ = [3, n0, _DMAR, + 0, + [_DR, _PIu, _NTe, _Fi, _MR], + [[2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => ValueStringList, { [_eQN]: `PublicIp`, + [_xN]: _pI }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => FilterList, { [_eQN]: `Filter`, + [_xN]: _f }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }]] +]; +exports.DescribeMovingAddressesResult$ = [3, n0, _DMARe, + 0, + [_MAS, _NTe], + [[() => MovingAddressStatusSet, { [_eQN]: `MovingAddressStatusSet`, + [_xN]: _mASS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeNatGatewaysRequest$ = [3, n0, _DNGRes, + 0, + [_DR, _Fil, _MR, _NGIa, _NTe], + [2, [() => FilterList, 0], 1, [() => NatGatewayIdStringList, { [_xN]: _NGI }], 0] +]; +exports.DescribeNatGatewaysResult$ = [3, n0, _DNGResc, + 0, + [_NGa, _NTe], + [[() => NatGatewayList, { [_eQN]: `NatGatewaySet`, + [_xN]: _nGS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeNetworkAclsRequest$ = [3, n0, _DNARe, + 0, + [_NTe, _MR, _DR, _NAIe, _Fi], + [0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => NetworkAclIdStringList, { [_xN]: _NAI }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeNetworkAclsResult$ = [3, n0, _DNARes, + 0, + [_NAe, _NTe], + [[() => NetworkAclList, { [_eQN]: `NetworkAclSet`, + [_xN]: _nAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeNetworkInsightsAccessScopeAnalysesRequest$ = [3, n0, _DNIASARes, + 0, + [_NIASAIe, _NIASI, _ASTB, _ASTE, _Fi, _MR, _DR, _NTe], + [[() => NetworkInsightsAccessScopeAnalysisIdList, { [_xN]: _NIASAI }], 0, 4, 4, [() => FilterList, { [_xN]: _Fil }], 1, 2, 0] +]; +exports.DescribeNetworkInsightsAccessScopeAnalysesResult$ = [3, n0, _DNIASAResc, + 0, + [_NIASA, _NTe], + [[() => NetworkInsightsAccessScopeAnalysisList, { [_eQN]: `NetworkInsightsAccessScopeAnalysisSet`, + [_xN]: _nIASAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeNetworkInsightsAccessScopesRequest$ = [3, n0, _DNIASRes, + 0, + [_NIASIe, _Fi, _MR, _DR, _NTe], + [[() => NetworkInsightsAccessScopeIdList, { [_xN]: _NIASI }], [() => FilterList, { [_xN]: _Fil }], 1, 2, 0] +]; +exports.DescribeNetworkInsightsAccessScopesResult$ = [3, n0, _DNIASResc, + 0, + [_NIASe, _NTe], + [[() => NetworkInsightsAccessScopeList, { [_eQN]: `NetworkInsightsAccessScopeSet`, + [_xN]: _nIASS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeNetworkInsightsAnalysesRequest$ = [3, n0, _DNIARes, + 0, + [_NIAIe, _NIPI, _AST, _AET, _Fi, _MR, _DR, _NTe], + [[() => NetworkInsightsAnalysisIdList, { [_xN]: _NIAI }], 0, 4, 4, [() => FilterList, { [_xN]: _Fil }], 1, 2, 0] +]; +exports.DescribeNetworkInsightsAnalysesResult$ = [3, n0, _DNIAResc, + 0, + [_NIA, _NTe], + [[() => NetworkInsightsAnalysisList, { [_eQN]: `NetworkInsightsAnalysisSet`, + [_xN]: _nIASe }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeNetworkInsightsPathsRequest$ = [3, n0, _DNIPRes, + 0, + [_NIPIet, _Fi, _MR, _DR, _NTe], + [[() => NetworkInsightsPathIdList, { [_xN]: _NIPI }], [() => FilterList, { [_xN]: _Fil }], 1, 2, 0] +]; +exports.DescribeNetworkInsightsPathsResult$ = [3, n0, _DNIPResc, + 0, + [_NIPe, _NTe], + [[() => NetworkInsightsPathList, { [_eQN]: `NetworkInsightsPathSet`, + [_xN]: _nIPS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeNetworkInterfaceAttributeRequest$ = [3, n0, _DNIARescr, + 0, + [_NII, _DR, _At], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `Attribute`, + [_xN]: _att }]], 1 +]; +exports.DescribeNetworkInterfaceAttributeResult$ = [3, n0, _DNIARescri, + 0, + [_Att, _De, _G, _NII, _SDC, _APIAss], + [[() => exports.NetworkInterfaceAttachment$, { [_eQN]: `Attachment`, + [_xN]: _at }], [() => exports.AttributeValue$, { [_eQN]: `Description`, + [_xN]: _de }], [() => GroupIdentifierList, { [_eQN]: `GroupSet`, + [_xN]: _gSr }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [() => exports.AttributeBooleanValue$, { [_eQN]: `SourceDestCheck`, + [_xN]: _sDC }], [2, { [_eQN]: `AssociatePublicIpAddress`, + [_xN]: _aPIA }]] +]; +exports.DescribeNetworkInterfacePermissionsRequest$ = [3, n0, _DNIPRescr, + 0, + [_NIPIetw, _Fi, _NTe, _MR], + [[64 | 0, { [_xN]: _NIPIe }], [() => FilterList, { [_xN]: _Fil }], 0, 1] +]; +exports.DescribeNetworkInterfacePermissionsResult$ = [3, n0, _DNIPRescri, + 0, + [_NIPet, _NTe], + [[() => NetworkInterfacePermissionList, { [_eQN]: `NetworkInterfacePermissions`, + [_xN]: _nIPe }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeNetworkInterfacesRequest$ = [3, n0, _DNIRe, + 0, + [_NTe, _MR, _DR, _NIIe, _Fi], + [0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => NetworkInterfaceIdList, { [_xN]: _NII }], [() => FilterList, { [_eQN]: `Filter`, + [_xN]: _f }]] +]; +exports.DescribeNetworkInterfacesResult$ = [3, n0, _DNIRes, + 0, + [_NIet, _NTe], + [[() => NetworkInterfaceList, { [_eQN]: `NetworkInterfaceSet`, + [_xN]: _nIS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeOutpostLagsRequest$ = [3, n0, _DOLR, + 0, + [_OLIu, _Fi, _MR, _NTe, _DR], + [[() => OutpostLagIdSet, { [_xN]: _OLI }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeOutpostLagsResult$ = [3, n0, _DOLRe, + 0, + [_OL, _NTe], + [[() => OutpostLagSet, { [_eQN]: `OutpostLagSet`, + [_xN]: _oLS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribePlacementGroupsRequest$ = [3, n0, _DPGRe, + 0, + [_GIro, _DR, _GNr, _Fi], + [[() => PlacementGroupIdStringList, { [_xN]: _GIr }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [64 | 0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribePlacementGroupsResult$ = [3, n0, _DPGRes, + 0, + [_PGl], + [[() => PlacementGroupList, { [_eQN]: `PlacementGroupSet`, + [_xN]: _pGS }]] +]; +exports.DescribePrefixListsRequest$ = [3, n0, _DPLR, + 0, + [_DR, _Fi, _MR, _NTe, _PLIr], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => PrefixListResourceIdStringList, { [_xN]: _PLI }]] +]; +exports.DescribePrefixListsResult$ = [3, n0, _DPLRe, + 0, + [_NTe, _PLr], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => PrefixListSet, { [_eQN]: `PrefixListSet`, + [_xN]: _pLS }]] +]; +exports.DescribePrincipalIdFormatRequest$ = [3, n0, _DPIFR, + 0, + [_DR, _Res, _MR, _NTe], + [2, [() => ResourceList, { [_xN]: _Reso }], 1, 0] +]; +exports.DescribePrincipalIdFormatResult$ = [3, n0, _DPIFRe, + 0, + [_Pri, _NTe], + [[() => PrincipalIdFormatList, { [_eQN]: `PrincipalSet`, + [_xN]: _pSrin }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribePublicIpv4PoolsRequest$ = [3, n0, _DPIPRes, + 0, + [_PIoo, _NTe, _MR, _Fi], + [[() => PublicIpv4PoolIdStringList, { [_xN]: _PIo }], 0, 1, [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribePublicIpv4PoolsResult$ = [3, n0, _DPIPResc, + 0, + [_PIPu, _NTe], + [[() => PublicIpv4PoolSet, { [_eQN]: `PublicIpv4PoolSet`, + [_xN]: _pIPS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeRegionsRequest$ = [3, n0, _DRRe, + 0, + [_RNe, _ARll, _DR, _Fi], + [[() => RegionNameStringList, { [_xN]: _RN }], 2, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeRegionsResult$ = [3, n0, _DRRes, + 0, + [_Reg], + [[() => RegionList, { [_eQN]: `RegionInfo`, + [_xN]: _rIeg }]] +]; +exports.DescribeReplaceRootVolumeTasksRequest$ = [3, n0, _DRRVTR, + 0, + [_RRVTI, _Fi, _MR, _NTe, _DR], + [[() => ReplaceRootVolumeTaskIds, { [_xN]: _RRVTIe }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeReplaceRootVolumeTasksResult$ = [3, n0, _DRRVTRe, + 0, + [_RRVTe, _NTe], + [[() => ReplaceRootVolumeTasks, { [_eQN]: `ReplaceRootVolumeTaskSet`, + [_xN]: _rRVTS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeReservedInstancesListingsRequest$ = [3, n0, _DRILR, + 0, + [_RIIes, _RILI, _Fi], + [[0, { [_eQN]: `ReservedInstancesId`, + [_xN]: _rII }], [0, { [_eQN]: `ReservedInstancesListingId`, + [_xN]: _rILI }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeReservedInstancesListingsResult$ = [3, n0, _DRILRe, + 0, + [_RIL], + [[() => ReservedInstancesListingList, { [_eQN]: `ReservedInstancesListingsSet`, + [_xN]: _rILS }]] +]; +exports.DescribeReservedInstancesModificationsRequest$ = [3, n0, _DRIMR, + 0, + [_RIMI, _NTe, _Fi], + [[() => ReservedInstancesModificationIdStringList, { [_xN]: _RIMIe }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeReservedInstancesModificationsResult$ = [3, n0, _DRIMRe, + 0, + [_NTe, _RIM], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => ReservedInstancesModificationList, { [_eQN]: `ReservedInstancesModificationsSet`, + [_xN]: _rIMS }]] +]; +exports.DescribeReservedInstancesOfferingsRequest$ = [3, n0, _DRIOR, + 0, + [_AZ, _IM, _IT, _MD, _MIC, _MDi, _OC, _PDr, _RIOI, _AZI, _DR, _Fi, _ITns, _OTf, _NTe, _MR], + [0, 2, 0, 1, 1, 1, 0, 0, [64 | 0, { [_xN]: _RIOIe }], 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }], [0, { [_eQN]: `InstanceTenancy`, + [_xN]: _iTns }], [0, { [_eQN]: `OfferingType`, + [_xN]: _oTf }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }]] +]; +exports.DescribeReservedInstancesOfferingsResult$ = [3, n0, _DRIORe, + 0, + [_NTe, _RIO], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => ReservedInstancesOfferingList, { [_eQN]: `ReservedInstancesOfferingsSet`, + [_xN]: _rIOS }]] +]; +exports.DescribeReservedInstancesRequest$ = [3, n0, _DRIR, + 0, + [_OC, _RIIese, _DR, _Fi, _OTf], + [0, [() => ReservedInstancesIdStringList, { [_xN]: _RIIes }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }], [0, { [_eQN]: `OfferingType`, + [_xN]: _oTf }]] +]; +exports.DescribeReservedInstancesResult$ = [3, n0, _DRIRe, + 0, + [_RIese], + [[() => ReservedInstancesList, { [_eQN]: `ReservedInstancesSet`, + [_xN]: _rIS }]] +]; +exports.DescribeRouteServerEndpointsRequest$ = [3, n0, _DRSERes, + 0, + [_RSEIo, _NTe, _MR, _Fi, _DR], + [[64 | 0, { [_xN]: _RSEI }], 0, 1, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeRouteServerEndpointsResult$ = [3, n0, _DRSEResc, + 0, + [_RSEo, _NTe], + [[() => RouteServerEndpointsList, { [_eQN]: `RouteServerEndpointSet`, + [_xN]: _rSES }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeRouteServerPeersRequest$ = [3, n0, _DRSPRes, + 0, + [_RSPIo, _NTe, _MR, _Fi, _DR], + [[64 | 0, { [_xN]: _RSPI }], 0, 1, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeRouteServerPeersResult$ = [3, n0, _DRSPResc, + 0, + [_RSPo, _NTe], + [[() => RouteServerPeersList, { [_eQN]: `RouteServerPeerSet`, + [_xN]: _rSPS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeRouteServersRequest$ = [3, n0, _DRSRes, + 0, + [_RSIo, _NTe, _MR, _Fi, _DR], + [[64 | 0, { [_xN]: _RSI }], 0, 1, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeRouteServersResult$ = [3, n0, _DRSResc, + 0, + [_RSou, _NTe], + [[() => RouteServersList, { [_eQN]: `RouteServerSet`, + [_xN]: _rSSo }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeRouteTablesRequest$ = [3, n0, _DRTRe, + 0, + [_NTe, _MR, _DR, _RTIo, _Fi], + [0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => RouteTableIdStringList, { [_xN]: _RTI }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeRouteTablesResult$ = [3, n0, _DRTRes, + 0, + [_RTou, _NTe], + [[() => RouteTableList, { [_eQN]: `RouteTableSet`, + [_xN]: _rTS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeScheduledInstanceAvailabilityRequest$ = [3, n0, _DSIAR, + 0, + [_FSSTR, _Rec, _DR, _Fi, _MR, _MSDIH, _MSDIHi, _NTe], + [() => exports.SlotDateTimeRangeRequest$, [() => exports.ScheduledInstanceRecurrenceRequest$, 0], 2, [() => FilterList, { [_xN]: _Fil }], 1, 1, 1, 0], 2 +]; +exports.DescribeScheduledInstanceAvailabilityResult$ = [3, n0, _DSIARe, + 0, + [_NTe, _SIAS], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => ScheduledInstanceAvailabilitySet, { [_eQN]: `ScheduledInstanceAvailabilitySet`, + [_xN]: _sIAS }]] +]; +exports.DescribeScheduledInstancesRequest$ = [3, n0, _DSIR, + 0, + [_DR, _Fi, _MR, _NTe, _SIIc, _SSTR], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => ScheduledInstanceIdRequestSet, { [_xN]: _SIIch }], () => exports.SlotStartTimeRangeRequest$] +]; +exports.DescribeScheduledInstancesResult$ = [3, n0, _DSIRe, + 0, + [_NTe, _SIS], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => ScheduledInstanceSet, { [_eQN]: `ScheduledInstanceSet`, + [_xN]: _sIS }]] +]; +exports.DescribeSecondaryInterfacesRequest$ = [3, n0, _DSIRes, + 0, + [_DR, _Fi, _MR, _NTe, _SIIe], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => SecondaryInterfaceIdList, { [_xN]: _SIIec }]] +]; +exports.DescribeSecondaryInterfacesResult$ = [3, n0, _DSIResc, + 0, + [_SIec, _NTe], + [[() => SecondaryInterfaceList, { [_eQN]: `SecondaryInterfaceSet`, + [_xN]: _sISe }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeSecondaryNetworksRequest$ = [3, n0, _DSNRes, + 0, + [_DR, _Fi, _MR, _NTe, _SNIe], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => SecondaryNetworkIdList, { [_xN]: _SNI }]] +]; +exports.DescribeSecondaryNetworksResult$ = [3, n0, _DSNResc, + 0, + [_SNec, _NTe], + [[() => SecondaryNetworkList, { [_eQN]: `SecondaryNetworkSet`, + [_xN]: _sNS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeSecondarySubnetsRequest$ = [3, n0, _DSSRes, + 0, + [_DR, _Fi, _MR, _NTe, _SSIec], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => SecondarySubnetIdList, { [_xN]: _SSIe }]] +]; +exports.DescribeSecondarySubnetsResult$ = [3, n0, _DSSResc, + 0, + [_SSe, _NTe], + [[() => SecondarySubnetList, { [_eQN]: `SecondarySubnetSet`, + [_xN]: _sSS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeSecurityGroupReferencesRequest$ = [3, n0, _DSGRR, + 0, + [_GIr, _DR], + [[() => GroupIds, 0], 2], 1 +]; +exports.DescribeSecurityGroupReferencesResult$ = [3, n0, _DSGRRe, + 0, + [_SGRSe], + [[() => SecurityGroupReferences, { [_eQN]: `SecurityGroupReferenceSet`, + [_xN]: _sGRSe }]] +]; +exports.DescribeSecurityGroupRulesRequest$ = [3, n0, _DSGRRes, + 0, + [_Fi, _SGRI, _DR, _NTe, _MR], + [[() => FilterList, { [_xN]: _Fil }], [() => SecurityGroupRuleIdList, { [_xN]: _SGRIe }], 2, 0, 1] +]; +exports.DescribeSecurityGroupRulesResult$ = [3, n0, _DSGRResc, + 0, + [_SGR, _NTe], + [[() => SecurityGroupRuleList, { [_eQN]: `SecurityGroupRuleSet`, + [_xN]: _sGRS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeSecurityGroupsRequest$ = [3, n0, _DSGRes, + 0, + [_GIro, _GNr, _NTe, _MR, _DR, _Fi], + [[() => GroupIdStringList, { [_xN]: _GIr }], [() => GroupNameStringList, { [_xN]: _GN }], 0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeSecurityGroupsResult$ = [3, n0, _DSGResc, + 0, + [_NTe, _SGe], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => SecurityGroupList, { [_eQN]: `SecurityGroupInfo`, + [_xN]: _sGIec }]] +]; +exports.DescribeSecurityGroupVpcAssociationsRequest$ = [3, n0, _DSGVAR, + 0, + [_Fi, _NTe, _MR, _DR], + [[() => FilterList, { [_xN]: _Fil }], 0, 1, 2] +]; +exports.DescribeSecurityGroupVpcAssociationsResult$ = [3, n0, _DSGVARe, + 0, + [_SGVA, _NTe], + [[() => SecurityGroupVpcAssociationList, { [_eQN]: `SecurityGroupVpcAssociationSet`, + [_xN]: _sGVAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeServiceLinkVirtualInterfacesRequest$ = [3, n0, _DSLVIR, + 0, + [_SLVII, _Fi, _MR, _NTe, _DR], + [[() => ServiceLinkVirtualInterfaceIdSet, { [_xN]: _SLVIIe }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeServiceLinkVirtualInterfacesResult$ = [3, n0, _DSLVIRe, + 0, + [_SLVI, _NTe], + [[() => ServiceLinkVirtualInterfaceSet, { [_eQN]: `ServiceLinkVirtualInterfaceSet`, + [_xN]: _sLVIS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeSnapshotAttributeRequest$ = [3, n0, _DSAR, + 0, + [_At, _SIn, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.DescribeSnapshotAttributeResult$ = [3, n0, _DSARe, + 0, + [_PCro, _SIn, _CVPr], + [[() => ProductCodeList, { [_eQN]: `ProductCodes`, + [_xN]: _pC }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [() => CreateVolumePermissionList, { [_eQN]: `CreateVolumePermission`, + [_xN]: _cVP }]] +]; +exports.DescribeSnapshotsRequest$ = [3, n0, _DSRes, + 0, + [_MR, _NTe, _OIw, _RBUI, _SIna, _DR, _Fi], + [1, 0, [() => OwnerStringList, { [_xN]: _Own }], [64 | 0, { [_xN]: _RBe }], [() => SnapshotIdStringList, { [_xN]: _SIn }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeSnapshotsResult$ = [3, n0, _DSResc, + 0, + [_NTe, _Sn], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => SnapshotList, { [_eQN]: `SnapshotSet`, + [_xN]: _sSn }]] +]; +exports.DescribeSnapshotTierStatusRequest$ = [3, n0, _DSTSR, + 0, + [_Fi, _DR, _NTe, _MR], + [[() => FilterList, { [_xN]: _Fil }], 2, 0, 1] +]; +exports.DescribeSnapshotTierStatusResult$ = [3, n0, _DSTSRe, + 0, + [_STS, _NTe], + [[() => snapshotTierStatusSet, { [_eQN]: `SnapshotTierStatusSet`, + [_xN]: _sTSS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeSpotDatafeedSubscriptionRequest$ = [3, n0, _DSDSRe, + 0, + [_DR], + [[2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.DescribeSpotDatafeedSubscriptionResult$ = [3, n0, _DSDSRes, + 0, + [_SDS], + [[() => exports.SpotDatafeedSubscription$, { [_eQN]: `SpotDatafeedSubscription`, + [_xN]: _sDS }]] +]; +exports.DescribeSpotFleetInstancesRequest$ = [3, n0, _DSFIR, + 0, + [_SFRI, _DR, _NTe, _MR], + [[0, { [_eQN]: `SpotFleetRequestId`, + [_xN]: _sFRI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }]], 1 +]; +exports.DescribeSpotFleetInstancesResponse$ = [3, n0, _DSFIRe, + 0, + [_AIct, _NTe, _SFRI], + [[() => ActiveInstanceSet, { [_eQN]: `ActiveInstanceSet`, + [_xN]: _aIS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [0, { [_eQN]: `SpotFleetRequestId`, + [_xN]: _sFRI }]] +]; +exports.DescribeSpotFleetRequestHistoryRequest$ = [3, n0, _DSFRHR, + 0, + [_SFRI, _ST, _DR, _ETv, _NTe, _MR], + [[0, { [_eQN]: `SpotFleetRequestId`, + [_xN]: _sFRI }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `EventType`, + [_xN]: _eTv }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }]], 2 +]; +exports.DescribeSpotFleetRequestHistoryResponse$ = [3, n0, _DSFRHRe, + 0, + [_HRi, _LET, _NTe, _SFRI, _ST], + [[() => HistoryRecords, { [_eQN]: `HistoryRecordSet`, + [_xN]: _hRS }], [4, { [_eQN]: `LastEvaluatedTime`, + [_xN]: _lET }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [0, { [_eQN]: `SpotFleetRequestId`, + [_xN]: _sFRI }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }]] +]; +exports.DescribeSpotFleetRequestsRequest$ = [3, n0, _DSFRR, + 0, + [_DR, _SFRIp, _NTe, _MR], + [[2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => SpotFleetRequestIdList, { [_eQN]: `SpotFleetRequestId`, + [_xN]: _sFRI }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }]] +]; +exports.DescribeSpotFleetRequestsResponse$ = [3, n0, _DSFRRe, + 0, + [_NTe, _SFRC], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => SpotFleetRequestConfigSet, { [_eQN]: `SpotFleetRequestConfigSet`, + [_xN]: _sFRCS }]] +]; +exports.DescribeSpotInstanceRequestsRequest$ = [3, n0, _DSIRR, + 0, + [_NTe, _MR, _DR, _SIRIp, _Fi], + [0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => SpotInstanceRequestIdList, { [_xN]: _SIRI }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeSpotInstanceRequestsResult$ = [3, n0, _DSIRRe, + 0, + [_SIR, _NTe], + [[() => SpotInstanceRequestList, { [_eQN]: `SpotInstanceRequestSet`, + [_xN]: _sIRS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeSpotPriceHistoryRequest$ = [3, n0, _DSPHR, + 0, + [_AZI, _DR, _ST, _ETnd, _ITnst, _PDro, _Fi, _AZ, _MR, _NTe], + [0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }], [4, { [_eQN]: `EndTime`, + [_xN]: _eTn }], [64 | 0, { [_xN]: _IT }], [64 | 0, { [_xN]: _PDr }], [() => FilterList, { [_xN]: _Fil }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeSpotPriceHistoryResult$ = [3, n0, _DSPHRe, + 0, + [_NTe, _SPH], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => SpotPriceHistoryList, { [_eQN]: `SpotPriceHistorySet`, + [_xN]: _sPHS }]] +]; +exports.DescribeStaleSecurityGroupsRequest$ = [3, n0, _DSSGR, + 0, + [_VI, _DR, _MR, _NTe], + [0, 2, 1, 0], 1 +]; +exports.DescribeStaleSecurityGroupsResult$ = [3, n0, _DSSGRe, + 0, + [_NTe, _SSGS], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => StaleSecurityGroupSet, { [_eQN]: `StaleSecurityGroupSet`, + [_xN]: _sSGS }]] +]; +exports.DescribeStoreImageTasksRequest$ = [3, n0, _DSITR, + 0, + [_IIma, _DR, _Fi, _NTe, _MR], + [[() => ImageIdList, { [_xN]: _IIm }], 2, [() => FilterList, { [_xN]: _Fil }], 0, 1] +]; +exports.DescribeStoreImageTasksResult$ = [3, n0, _DSITRe, + 0, + [_SITR, _NTe], + [[() => StoreImageTaskResultSet, { [_eQN]: `StoreImageTaskResultSet`, + [_xN]: _sITRS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeSubnetsRequest$ = [3, n0, _DSRescr, + 0, + [_Fi, _SI, _NTe, _MR, _DR], + [[() => FilterList, { [_xN]: _Fil }], [() => SubnetIdStringList, { [_xN]: _SIu }], 0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.DescribeSubnetsResult$ = [3, n0, _DSRescri, + 0, + [_NTe, _Subn], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => SubnetList, { [_eQN]: `SubnetSet`, + [_xN]: _sSub }]] +]; +exports.DescribeTagsRequest$ = [3, n0, _DTRe, + 0, + [_DR, _Fi, _MR, _NTe], + [[2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTagsResult$ = [3, n0, _DTRes, + 0, + [_NTe, _T], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => TagDescriptionList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.DescribeTrafficMirrorFilterRulesRequest$ = [3, n0, _DTMFRRes, + 0, + [_TMFRIr, _TMFI, _DR, _Fi, _MR, _NTe], + [[() => TrafficMirrorFilterRuleIdList, { [_xN]: _TMFRI }], 0, 2, [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeTrafficMirrorFilterRulesResult$ = [3, n0, _DTMFRResc, + 0, + [_TMFRr, _NTe], + [[() => TrafficMirrorFilterRuleSet, { [_eQN]: `TrafficMirrorFilterRuleSet`, + [_xN]: _tMFRS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTrafficMirrorFiltersRequest$ = [3, n0, _DTMFRes, + 0, + [_TMFIr, _DR, _Fi, _MR, _NTe], + [[() => TrafficMirrorFilterIdList, { [_xN]: _TMFI }], 2, [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeTrafficMirrorFiltersResult$ = [3, n0, _DTMFResc, + 0, + [_TMFr, _NTe], + [[() => TrafficMirrorFilterSet, { [_eQN]: `TrafficMirrorFilterSet`, + [_xN]: _tMFS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTrafficMirrorSessionsRequest$ = [3, n0, _DTMSRes, + 0, + [_TMSIr, _DR, _Fi, _MR, _NTe], + [[() => TrafficMirrorSessionIdList, { [_xN]: _TMSI }], 2, [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeTrafficMirrorSessionsResult$ = [3, n0, _DTMSResc, + 0, + [_TMSr, _NTe], + [[() => TrafficMirrorSessionSet, { [_eQN]: `TrafficMirrorSessionSet`, + [_xN]: _tMSS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTrafficMirrorTargetsRequest$ = [3, n0, _DTMTRes, + 0, + [_TMTIr, _DR, _Fi, _MR, _NTe], + [[() => TrafficMirrorTargetIdList, { [_xN]: _TMTI }], 2, [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeTrafficMirrorTargetsResult$ = [3, n0, _DTMTResc, + 0, + [_TMTr, _NTe], + [[() => TrafficMirrorTargetSet, { [_eQN]: `TrafficMirrorTargetSet`, + [_xN]: _tMTS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTransitGatewayAttachmentsRequest$ = [3, n0, _DTGAR, + 0, + [_TGAIr, _Fi, _MR, _NTe, _DR], + [64 | 0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeTransitGatewayAttachmentsResult$ = [3, n0, _DTGARe, + 0, + [_TGAr, _NTe], + [[() => TransitGatewayAttachmentList, { [_eQN]: `TransitGatewayAttachments`, + [_xN]: _tGA }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTransitGatewayConnectPeersRequest$ = [3, n0, _DTGCPRes, + 0, + [_TGCPIr, _Fi, _MR, _NTe, _DR], + [[() => TransitGatewayConnectPeerIdStringList, 0], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeTransitGatewayConnectPeersResult$ = [3, n0, _DTGCPResc, + 0, + [_TGCPr, _NTe], + [[() => TransitGatewayConnectPeerList, { [_eQN]: `TransitGatewayConnectPeerSet`, + [_xN]: _tGCPS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTransitGatewayConnectsRequest$ = [3, n0, _DTGCRes, + 0, + [_TGAIr, _Fi, _MR, _NTe, _DR], + [64 | 0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeTransitGatewayConnectsResult$ = [3, n0, _DTGCResc, + 0, + [_TGCr, _NTe], + [[() => TransitGatewayConnectList, { [_eQN]: `TransitGatewayConnectSet`, + [_xN]: _tGCS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTransitGatewayMeteringPoliciesRequest$ = [3, n0, _DTGMPRes, + 0, + [_TGMPIr, _Fi, _MR, _NTe, _DR], + [[() => TransitGatewayMeteringPolicyIdStringList, 0], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeTransitGatewayMeteringPoliciesResult$ = [3, n0, _DTGMPResc, + 0, + [_TGMPr, _NTe], + [[() => TransitGatewayMeteringPolicyList, { [_eQN]: `TransitGatewayMeteringPolicies`, + [_xN]: _tGMPr }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTransitGatewayMulticastDomainsRequest$ = [3, n0, _DTGMDRes, + 0, + [_TGMDIr, _Fi, _MR, _NTe, _DR], + [[() => TransitGatewayMulticastDomainIdStringList, 0], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeTransitGatewayMulticastDomainsResult$ = [3, n0, _DTGMDResc, + 0, + [_TGMDr, _NTe], + [[() => TransitGatewayMulticastDomainList, { [_eQN]: `TransitGatewayMulticastDomains`, + [_xN]: _tGMDr }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTransitGatewayPeeringAttachmentsRequest$ = [3, n0, _DTGPARes, + 0, + [_TGAIr, _Fi, _MR, _NTe, _DR], + [64 | 0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeTransitGatewayPeeringAttachmentsResult$ = [3, n0, _DTGPAResc, + 0, + [_TGPAr, _NTe], + [[() => TransitGatewayPeeringAttachmentList, { [_eQN]: `TransitGatewayPeeringAttachments`, + [_xN]: _tGPAr }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTransitGatewayPolicyTablesRequest$ = [3, n0, _DTGPTRes, + 0, + [_TGPTIr, _Fi, _MR, _NTe, _DR], + [[() => TransitGatewayPolicyTableIdStringList, 0], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeTransitGatewayPolicyTablesResult$ = [3, n0, _DTGPTResc, + 0, + [_TGPTr, _NTe], + [[() => TransitGatewayPolicyTableList, { [_eQN]: `TransitGatewayPolicyTables`, + [_xN]: _tGPTr }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTransitGatewayRouteTableAnnouncementsRequest$ = [3, n0, _DTGRTARes, + 0, + [_TGRTAIr, _Fi, _MR, _NTe, _DR], + [[() => TransitGatewayRouteTableAnnouncementIdStringList, 0], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeTransitGatewayRouteTableAnnouncementsResult$ = [3, n0, _DTGRTAResc, + 0, + [_TGRTAr, _NTe], + [[() => TransitGatewayRouteTableAnnouncementList, { [_eQN]: `TransitGatewayRouteTableAnnouncements`, + [_xN]: _tGRTAr }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTransitGatewayRouteTablesRequest$ = [3, n0, _DTGRTRes, + 0, + [_TGRTIr, _Fi, _MR, _NTe, _DR], + [[() => TransitGatewayRouteTableIdStringList, 0], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeTransitGatewayRouteTablesResult$ = [3, n0, _DTGRTResc, + 0, + [_TGRTr, _NTe], + [[() => TransitGatewayRouteTableList, { [_eQN]: `TransitGatewayRouteTables`, + [_xN]: _tGRTr }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTransitGatewaysRequest$ = [3, n0, _DTGRes, + 0, + [_TGIr, _Fi, _MR, _NTe, _DR], + [[() => TransitGatewayIdStringList, 0], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeTransitGatewaysResult$ = [3, n0, _DTGResc, + 0, + [_TGr, _NTe], + [[() => TransitGatewayList, { [_eQN]: `TransitGatewaySet`, + [_xN]: _tGS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTransitGatewayVpcAttachmentsRequest$ = [3, n0, _DTGVARes, + 0, + [_TGAIr, _Fi, _MR, _NTe, _DR], + [64 | 0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeTransitGatewayVpcAttachmentsResult$ = [3, n0, _DTGVAResc, + 0, + [_TGVAr, _NTe], + [[() => TransitGatewayVpcAttachmentList, { [_eQN]: `TransitGatewayVpcAttachments`, + [_xN]: _tGVAr }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeTrunkInterfaceAssociationsRequest$ = [3, n0, _DTIAR, + 0, + [_AIsso, _DR, _Fi, _NTe, _MR], + [[() => TrunkInterfaceAssociationIdList, { [_xN]: _AIs }], 2, [() => FilterList, { [_xN]: _Fil }], 0, 1] +]; +exports.DescribeTrunkInterfaceAssociationsResult$ = [3, n0, _DTIARe, + 0, + [_IAnt, _NTe], + [[() => TrunkInterfaceAssociationList, { [_eQN]: `InterfaceAssociationSet`, + [_xN]: _iAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVerifiedAccessEndpointsRequest$ = [3, n0, _DVAERes, + 0, + [_VAEIe, _VAII, _VAGI, _MR, _NTe, _Fi, _DR], + [[() => VerifiedAccessEndpointIdList, { [_xN]: _VAEI }], 0, 0, 1, 0, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeVerifiedAccessEndpointsResult$ = [3, n0, _DVAEResc, + 0, + [_VAEe, _NTe], + [[() => VerifiedAccessEndpointList, { [_eQN]: `VerifiedAccessEndpointSet`, + [_xN]: _vAES }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVerifiedAccessGroupsRequest$ = [3, n0, _DVAGRes, + 0, + [_VAGIe, _VAII, _MR, _NTe, _Fi, _DR], + [[() => VerifiedAccessGroupIdList, { [_xN]: _VAGI }], 0, 1, 0, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeVerifiedAccessGroupsResult$ = [3, n0, _DVAGResc, + 0, + [_VAGe, _NTe], + [[() => VerifiedAccessGroupList, { [_eQN]: `VerifiedAccessGroupSet`, + [_xN]: _vAGS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVerifiedAccessInstanceLoggingConfigurationsRequest$ = [3, n0, _DVAILCR, + 0, + [_VAIIe, _MR, _NTe, _Fi, _DR], + [[() => VerifiedAccessInstanceIdList, { [_xN]: _VAII }], 1, 0, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeVerifiedAccessInstanceLoggingConfigurationsResult$ = [3, n0, _DVAILCRe, + 0, + [_LC, _NTe], + [[() => VerifiedAccessInstanceLoggingConfigurationList, { [_eQN]: `LoggingConfigurationSet`, + [_xN]: _lCS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVerifiedAccessInstancesRequest$ = [3, n0, _DVAIRes, + 0, + [_VAIIe, _MR, _NTe, _Fi, _DR], + [[() => VerifiedAccessInstanceIdList, { [_xN]: _VAII }], 1, 0, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeVerifiedAccessInstancesResult$ = [3, n0, _DVAIResc, + 0, + [_VAIe, _NTe], + [[() => VerifiedAccessInstanceList, { [_eQN]: `VerifiedAccessInstanceSet`, + [_xN]: _vAIS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVerifiedAccessTrustProvidersRequest$ = [3, n0, _DVATPRes, + 0, + [_VATPIe, _MR, _NTe, _Fi, _DR], + [[() => VerifiedAccessTrustProviderIdList, { [_xN]: _VATPI }], 1, 0, [() => FilterList, { [_xN]: _Fil }], 2] +]; +exports.DescribeVerifiedAccessTrustProvidersResult$ = [3, n0, _DVATPResc, + 0, + [_VATPe, _NTe], + [[() => VerifiedAccessTrustProviderList, { [_eQN]: `VerifiedAccessTrustProviderSet`, + [_xN]: _vATPS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVolumeAttributeRequest$ = [3, n0, _DVAR, + 0, + [_At, _VIo, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.DescribeVolumeAttributeResult$ = [3, n0, _DVARe, + 0, + [_AEIO, _PCro, _VIo], + [[() => exports.AttributeBooleanValue$, { [_eQN]: `AutoEnableIO`, + [_xN]: _aEIO }], [() => ProductCodeList, { [_eQN]: `ProductCodes`, + [_xN]: _pC }], [0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }]] +]; +exports.DescribeVolumesModificationsRequest$ = [3, n0, _DVMR, + 0, + [_DR, _VIol, _Fi, _NTe, _MR], + [2, [() => VolumeIdStringList, { [_xN]: _VIo }], [() => FilterList, { [_xN]: _Fil }], 0, 1] +]; +exports.DescribeVolumesModificationsResult$ = [3, n0, _DVMRe, + 0, + [_NTe, _VM], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => VolumeModificationList, { [_eQN]: `VolumeModificationSet`, + [_xN]: _vMS }]] +]; +exports.DescribeVolumesRequest$ = [3, n0, _DVRes, + 0, + [_VIol, _DR, _Fi, _NTe, _MR], + [[() => VolumeIdStringList, { [_xN]: _VIo }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }]] +]; +exports.DescribeVolumesResult$ = [3, n0, _DVResc, + 0, + [_NTe, _Vo], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => VolumeList, { [_eQN]: `VolumeSet`, + [_xN]: _vS }]] +]; +exports.DescribeVolumeStatusRequest$ = [3, n0, _DVSR, + 0, + [_MR, _NTe, _VIol, _DR, _Fi], + [1, 0, [() => VolumeIdStringList, { [_xN]: _VIo }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeVolumeStatusResult$ = [3, n0, _DVSRe, + 0, + [_NTe, _VS], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => VolumeStatusList, { [_eQN]: `VolumeStatusSet`, + [_xN]: _vSS }]] +]; +exports.DescribeVpcAttributeRequest$ = [3, n0, _DVARes, + 0, + [_At, _VI, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.DescribeVpcAttributeResult$ = [3, n0, _DVAResc, + 0, + [_EDH, _EDS, _ENAUM, _VI], + [[() => exports.AttributeBooleanValue$, { [_eQN]: `EnableDnsHostnames`, + [_xN]: _eDH }], [() => exports.AttributeBooleanValue$, { [_eQN]: `EnableDnsSupport`, + [_xN]: _eDS }], [() => exports.AttributeBooleanValue$, { [_eQN]: `EnableNetworkAddressUsageMetrics`, + [_xN]: _eNAUM }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }]] +]; +exports.DescribeVpcBlockPublicAccessExclusionsRequest$ = [3, n0, _DVBPAERes, + 0, + [_DR, _Fi, _EIxc, _NTe, _MR], + [2, [() => FilterList, { [_xN]: _Fil }], [() => VpcBlockPublicAccessExclusionIdList, { [_xN]: _EIx }], 0, 1] +]; +exports.DescribeVpcBlockPublicAccessExclusionsResult$ = [3, n0, _DVBPAEResc, + 0, + [_VBPAEp, _NTe], + [[() => VpcBlockPublicAccessExclusionList, { [_eQN]: `VpcBlockPublicAccessExclusionSet`, + [_xN]: _vBPAES }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpcBlockPublicAccessOptionsRequest$ = [3, n0, _DVBPAOR, + 0, + [_DR], + [2] +]; +exports.DescribeVpcBlockPublicAccessOptionsResult$ = [3, n0, _DVBPAORe, + 0, + [_VBPAO], + [[() => exports.VpcBlockPublicAccessOptions$, { [_eQN]: `VpcBlockPublicAccessOptions`, + [_xN]: _vBPAO }]] +]; +exports.DescribeVpcClassicLinkDnsSupportRequest$ = [3, n0, _DVCLDSR, + 0, + [_VIp, _MR, _NTe], + [[() => VpcClassicLinkIdList, { [_xN]: _VIp }], [1, { [_eQN]: `MaxResults`, + [_xN]: _mR }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpcClassicLinkDnsSupportResult$ = [3, n0, _DVCLDSRe, + 0, + [_NTe, _Vpc], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => ClassicLinkDnsSupportList, { [_eQN]: `Vpcs`, + [_xN]: _vpc }]] +]; +exports.DescribeVpcClassicLinkRequest$ = [3, n0, _DVCLR, + 0, + [_DR, _VIp, _Fi], + [[2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => VpcClassicLinkIdList, { [_xN]: _VI }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeVpcClassicLinkResult$ = [3, n0, _DVCLRe, + 0, + [_Vpc], + [[() => VpcClassicLinkList, { [_eQN]: `VpcSet`, + [_xN]: _vSp }]] +]; +exports.DescribeVpcEncryptionControlsRequest$ = [3, n0, _DVECRes, + 0, + [_DR, _Fi, _VECIp, _VIp, _NTe, _MR], + [2, [() => FilterList, { [_xN]: _Fil }], [() => VpcEncryptionControlIdList, { [_xN]: _VECI }], [() => VpcIdStringList, { [_xN]: _VI }], 0, 1] +]; +exports.DescribeVpcEncryptionControlsResult$ = [3, n0, _DVECResc, + 0, + [_VECp, _NTe], + [[() => VpcEncryptionControlList, { [_eQN]: `VpcEncryptionControlSet`, + [_xN]: _vECS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpcEndpointAssociationsRequest$ = [3, n0, _DVEAR, + 0, + [_DR, _VEI, _Fi, _MR, _NTe], + [2, [() => VpcEndpointIdList, { [_xN]: _VEIp }], [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeVpcEndpointAssociationsResult$ = [3, n0, _DVEARe, + 0, + [_VEA, _NTe], + [[() => VpcEndpointAssociationSet, { [_eQN]: `VpcEndpointAssociationSet`, + [_xN]: _vEAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpcEndpointConnectionNotificationsRequest$ = [3, n0, _DVECNRes, + 0, + [_DR, _CNI, _Fi, _MR, _NTe], + [2, 0, [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeVpcEndpointConnectionNotificationsResult$ = [3, n0, _DVECNResc, + 0, + [_CNSo, _NTe], + [[() => ConnectionNotificationSet, { [_eQN]: `ConnectionNotificationSet`, + [_xN]: _cNSo }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpcEndpointConnectionsRequest$ = [3, n0, _DVECRescr, + 0, + [_DR, _Fi, _MR, _NTe], + [2, [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeVpcEndpointConnectionsResult$ = [3, n0, _DVECRescri, + 0, + [_VECpc, _NTe], + [[() => VpcEndpointConnectionSet, { [_eQN]: `VpcEndpointConnectionSet`, + [_xN]: _vECSp }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpcEndpointServiceConfigurationsRequest$ = [3, n0, _DVESCRes, + 0, + [_DR, _SIer, _Fi, _MR, _NTe], + [2, [() => VpcEndpointServiceIdList, { [_xN]: _SIe }], [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeVpcEndpointServiceConfigurationsResult$ = [3, n0, _DVESCResc, + 0, + [_SCer, _NTe], + [[() => ServiceConfigurationSet, { [_eQN]: `ServiceConfigurationSet`, + [_xN]: _sCS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpcEndpointServicePermissionsRequest$ = [3, n0, _DVESPR, + 0, + [_SIe, _DR, _Fi, _MR, _NTe], + [0, 2, [() => FilterList, { [_xN]: _Fil }], 1, 0], 1 +]; +exports.DescribeVpcEndpointServicePermissionsResult$ = [3, n0, _DVESPRe, + 0, + [_APll, _NTe], + [[() => AllowedPrincipalSet, { [_eQN]: `AllowedPrincipals`, + [_xN]: _aPl }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpcEndpointServicesRequest$ = [3, n0, _DVESR, + 0, + [_DR, _SNer, _Fi, _MR, _NTe, _SRe], + [2, [() => ValueStringList, { [_xN]: _SN }], [() => FilterList, { [_xN]: _Fil }], 1, 0, [() => ValueStringList, { [_xN]: _SR }]] +]; +exports.DescribeVpcEndpointServicesResult$ = [3, n0, _DVESRe, + 0, + [_SNer, _SDe, _NTe], + [[() => ValueStringList, { [_eQN]: `ServiceNameSet`, + [_xN]: _sNSe }], [() => ServiceDetailSet, { [_eQN]: `ServiceDetailSet`, + [_xN]: _sDSe }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpcEndpointsRequest$ = [3, n0, _DVERes, + 0, + [_DR, _VEI, _Fi, _MR, _NTe], + [2, [() => VpcEndpointIdList, { [_xN]: _VEIp }], [() => FilterList, { [_xN]: _Fil }], 1, 0] +]; +exports.DescribeVpcEndpointsResult$ = [3, n0, _DVEResc, + 0, + [_VEp, _NTe], + [[() => VpcEndpointSet, { [_eQN]: `VpcEndpointSet`, + [_xN]: _vESp }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpcPeeringConnectionsRequest$ = [3, n0, _DVPCRes, + 0, + [_NTe, _MR, _DR, _VPCIp, _Fi], + [0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => VpcPeeringConnectionIdList, { [_xN]: _VPCI }], [() => FilterList, { [_xN]: _Fil }]] +]; +exports.DescribeVpcPeeringConnectionsResult$ = [3, n0, _DVPCResc, + 0, + [_VPCp, _NTe], + [[() => VpcPeeringConnectionList, { [_eQN]: `VpcPeeringConnectionSet`, + [_xN]: _vPCS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpcsRequest$ = [3, n0, _DVRescr, + 0, + [_Fi, _VIp, _NTe, _MR, _DR], + [[() => FilterList, { [_xN]: _Fil }], [() => VpcIdStringList, { [_xN]: _VI }], 0, 1, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.DescribeVpcsResult$ = [3, n0, _DVRescri, + 0, + [_NTe, _Vpc], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => VpcList, { [_eQN]: `VpcSet`, + [_xN]: _vSp }]] +]; +exports.DescribeVpnConcentratorsRequest$ = [3, n0, _DVCRes, + 0, + [_VCIpn, _Fi, _MR, _NTe, _DR], + [[() => VpnConcentratorIdStringList, { [_xN]: _VCI }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2] +]; +exports.DescribeVpnConcentratorsResult$ = [3, n0, _DVCResc, + 0, + [_VCpn, _NTe], + [[() => VpnConcentratorList, { [_eQN]: `VpnConcentratorSet`, + [_xN]: _vCS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.DescribeVpnConnectionsRequest$ = [3, n0, _DVCRescr, + 0, + [_Fi, _VCIpno, _DR], + [[() => FilterList, { [_xN]: _Fil }], [() => VpnConnectionIdStringList, { [_xN]: _VCIp }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.DescribeVpnConnectionsResult$ = [3, n0, _DVCRescri, + 0, + [_VCpno], + [[() => VpnConnectionList, { [_eQN]: `VpnConnectionSet`, + [_xN]: _vCSp }]] +]; +exports.DescribeVpnGatewaysRequest$ = [3, n0, _DVGRe, + 0, + [_Fi, _VGIp, _DR], + [[() => FilterList, { [_xN]: _Fil }], [() => VpnGatewayIdStringList, { [_xN]: _VGI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.DescribeVpnGatewaysResult$ = [3, n0, _DVGRes, + 0, + [_VGp], + [[() => VpnGatewayList, { [_eQN]: `VpnGatewaySet`, + [_xN]: _vGS }]] +]; +exports.DestinationOptionsRequest$ = [3, n0, _DOR, + 0, + [_FF, _HCP, _PHP], + [0, 2, 2] +]; +exports.DestinationOptionsResponse$ = [3, n0, _DORe, + 0, + [_FF, _HCP, _PHP], + [[0, { [_eQN]: `FileFormat`, + [_xN]: _fF }], [2, { [_eQN]: `HiveCompatiblePartitions`, + [_xN]: _hCP }], [2, { [_eQN]: `PerHourPartition`, + [_xN]: _pHP }]] +]; +exports.DetachClassicLinkVpcRequest$ = [3, n0, _DCLVR, + 0, + [_II, _VI, _DR], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.DetachClassicLinkVpcResult$ = [3, n0, _DCLVRe, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DetachInternetGatewayRequest$ = [3, n0, _DIGRet, + 0, + [_IGI, _VI, _DR], + [[0, { [_eQN]: `InternetGatewayId`, + [_xN]: _iGI }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.DetachNetworkInterfaceRequest$ = [3, n0, _DNIRet, + 0, + [_AItt, _DR, _F], + [[0, { [_eQN]: `AttachmentId`, + [_xN]: _aIt }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [2, { [_eQN]: `Force`, + [_xN]: _fo }]], 1 +]; +exports.DetachVerifiedAccessTrustProviderRequest$ = [3, n0, _DVATPRet, + 0, + [_VAII, _VATPI, _CT, _DR], + [0, 0, [0, 4], 2], 2 +]; +exports.DetachVerifiedAccessTrustProviderResult$ = [3, n0, _DVATPReta, + 0, + [_VATP, _VAI], + [[() => exports.VerifiedAccessTrustProvider$, { [_eQN]: `VerifiedAccessTrustProvider`, + [_xN]: _vATP }], [() => exports.VerifiedAccessInstance$, { [_eQN]: `VerifiedAccessInstance`, + [_xN]: _vAI }]] +]; +exports.DetachVolumeRequest$ = [3, n0, _DVRet, + 0, + [_VIo, _Dev, _F, _II, _DR], + [0, 0, 2, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DetachVpnGatewayRequest$ = [3, n0, _DVGRet, + 0, + [_VI, _VGI, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.DeviceOptions$ = [3, n0, _DOev, + 0, + [_TIe, _PSKU], + [[0, { [_eQN]: `TenantId`, + [_xN]: _tIe }], [0, { [_eQN]: `PublicSigningKeyUrl`, + [_xN]: _pSKU }]] +]; +exports.DhcpConfiguration$ = [3, n0, _DChc, + 0, + [_K, _Va], + [[0, { [_eQN]: `Key`, + [_xN]: _k }], [() => DhcpConfigurationValueList, { [_eQN]: `ValueSet`, + [_xN]: _vSa }]] +]; +exports.DhcpOptions$ = [3, n0, _DO, + 0, + [_OI, _T, _DOI, _DCh], + [[0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `DhcpOptionsId`, + [_xN]: _dOI }], [() => DhcpConfigurationList, { [_eQN]: `DhcpConfigurationSet`, + [_xN]: _dCS }]] +]; +exports.DimensionCondition$ = [3, n0, _DCim, + 0, + [_Dim, _Comp, _Va], + [0, 0, [() => ConditionValueList, { [_xN]: _V }]] +]; +exports.DirectoryServiceAuthentication$ = [3, n0, _DSA, + 0, + [_DIi], + [[0, { [_eQN]: `DirectoryId`, + [_xN]: _dIi }]] +]; +exports.DirectoryServiceAuthenticationRequest$ = [3, n0, _DSARi, + 0, + [_DIi], + [0] +]; +exports.DisableAddressTransferRequest$ = [3, n0, _DATRi, + 0, + [_AIl, _DR], + [0, 2], 1 +]; +exports.DisableAddressTransferResult$ = [3, n0, _DATRis, + 0, + [_AT], + [[() => exports.AddressTransfer$, { [_eQN]: `AddressTransfer`, + [_xN]: _aT }]] +]; +exports.DisableAllowedImagesSettingsRequest$ = [3, n0, _DAISR, + 0, + [_DR], + [2] +]; +exports.DisableAllowedImagesSettingsResult$ = [3, n0, _DAISRi, + 0, + [_AISS], + [[0, { [_eQN]: `AllowedImagesSettingsState`, + [_xN]: _aISS }]] +]; +exports.DisableAwsNetworkPerformanceMetricSubscriptionRequest$ = [3, n0, _DANPMSRi, + 0, + [_S, _D, _Met, _Stat, _DR], + [0, 0, 0, 0, 2] +]; +exports.DisableAwsNetworkPerformanceMetricSubscriptionResult$ = [3, n0, _DANPMSRis, + 0, + [_Ou], + [[2, { [_eQN]: `Output`, + [_xN]: _ou }]] +]; +exports.DisableCapacityManagerRequest$ = [3, n0, _DCMR, + 0, + [_DR, _CT], + [2, [0, 4]] +]; +exports.DisableCapacityManagerResult$ = [3, n0, _DCMRi, + 0, + [_CMS, _OAr], + [[0, { [_eQN]: `CapacityManagerStatus`, + [_xN]: _cMS }], [2, { [_eQN]: `OrganizationsAccess`, + [_xN]: _oAr }]] +]; +exports.DisableEbsEncryptionByDefaultRequest$ = [3, n0, _DEEBDR, + 0, + [_DR], + [2] +]; +exports.DisableEbsEncryptionByDefaultResult$ = [3, n0, _DEEBDRi, + 0, + [_EEBD], + [[2, { [_eQN]: `EbsEncryptionByDefault`, + [_xN]: _eEBD }]] +]; +exports.DisableFastLaunchRequest$ = [3, n0, _DFLRi, + 0, + [_IIm, _F, _DR], + [0, 2, 2], 1 +]; +exports.DisableFastLaunchResult$ = [3, n0, _DFLRis, + 0, + [_IIm, _RTe, _SCn, _LT, _MPL, _OI, _St, _STR, _STT], + [[0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [() => exports.FastLaunchSnapshotConfigurationResponse$, { [_eQN]: `SnapshotConfiguration`, + [_xN]: _sCn }], [() => exports.FastLaunchLaunchTemplateSpecificationResponse$, { [_eQN]: `LaunchTemplate`, + [_xN]: _lT }], [1, { [_eQN]: `MaxParallelLaunches`, + [_xN]: _mPL }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateTransitionReason`, + [_xN]: _sTR }], [4, { [_eQN]: `StateTransitionTime`, + [_xN]: _sTT }]] +]; +exports.DisableFastSnapshotRestoreErrorItem$ = [3, n0, _DFSREI, + 0, + [_SIn, _FSRSE], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [() => DisableFastSnapshotRestoreStateErrorSet, { [_eQN]: `FastSnapshotRestoreStateErrorSet`, + [_xN]: _fSRSES }]] +]; +exports.DisableFastSnapshotRestoresRequest$ = [3, n0, _DFSRRi, + 0, + [_SSIo, _AZv, _AZIv, _DR], + [[() => SnapshotIdStringList, { [_xN]: _SSI }], [() => AvailabilityZoneStringList, { [_xN]: _AZ }], [() => AvailabilityZoneIdStringList, { [_xN]: _AZI }], 2], 1 +]; +exports.DisableFastSnapshotRestoresResult$ = [3, n0, _DFSRRis, + 0, + [_Suc, _U], + [[() => DisableFastSnapshotRestoreSuccessSet, { [_eQN]: `Successful`, + [_xN]: _suc }], [() => DisableFastSnapshotRestoreErrorSet, { [_eQN]: `Unsuccessful`, + [_xN]: _u }]] +]; +exports.DisableFastSnapshotRestoreStateError$ = [3, n0, _DFSRSE, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.DisableFastSnapshotRestoreStateErrorItem$ = [3, n0, _DFSRSEI, + 0, + [_AZ, _AZI, _Er], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [() => exports.DisableFastSnapshotRestoreStateError$, { [_eQN]: `Error`, + [_xN]: _er }]] +]; +exports.DisableFastSnapshotRestoreSuccessItem$ = [3, n0, _DFSRSIi, + 0, + [_SIn, _AZ, _AZI, _St, _STR, _OI, _OAw, _ETna, _OT, _ETnab, _DTi, _DTis], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateTransitionReason`, + [_xN]: _sTR }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `OwnerAlias`, + [_xN]: _oAw }], [4, { [_eQN]: `EnablingTime`, + [_xN]: _eTna }], [4, { [_eQN]: `OptimizingTime`, + [_xN]: _oT }], [4, { [_eQN]: `EnabledTime`, + [_xN]: _eTnab }], [4, { [_eQN]: `DisablingTime`, + [_xN]: _dTi }], [4, { [_eQN]: `DisabledTime`, + [_xN]: _dTis }]] +]; +exports.DisableImageBlockPublicAccessRequest$ = [3, n0, _DIBPAR, + 0, + [_DR], + [2] +]; +exports.DisableImageBlockPublicAccessResult$ = [3, n0, _DIBPARi, + 0, + [_IBPAS], + [[0, { [_eQN]: `ImageBlockPublicAccessState`, + [_xN]: _iBPAS }]] +]; +exports.DisableImageDeprecationRequest$ = [3, n0, _DIDR, + 0, + [_IIm, _DR], + [0, 2], 1 +]; +exports.DisableImageDeprecationResult$ = [3, n0, _DIDRi, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DisableImageDeregistrationProtectionRequest$ = [3, n0, _DIDPR, + 0, + [_IIm, _DR], + [0, 2], 1 +]; +exports.DisableImageDeregistrationProtectionResult$ = [3, n0, _DIDPRi, + 0, + [_R], + [[0, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DisableImageRequest$ = [3, n0, _DIRi, + 0, + [_IIm, _DR], + [0, 2], 1 +]; +exports.DisableImageResult$ = [3, n0, _DIRis, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DisableInstanceSqlHaStandbyDetectionsRequest$ = [3, n0, _DISHSDR, + 0, + [_IIns, _DR], + [[() => InstanceIdUpdateStringList, { [_xN]: _II }], 2], 1 +]; +exports.DisableInstanceSqlHaStandbyDetectionsResult$ = [3, n0, _DISHSDRi, + 0, + [_Ins], + [[() => RegisteredInstanceList, { [_eQN]: `InstanceSet`, + [_xN]: _iSns }]] +]; +exports.DisableIpamOrganizationAdminAccountRequest$ = [3, n0, _DIOAAR, + 0, + [_DAAI, _DR], + [0, 2], 1 +]; +exports.DisableIpamOrganizationAdminAccountResult$ = [3, n0, _DIOAARi, + 0, + [_Succ], + [[2, { [_eQN]: `Success`, + [_xN]: _succ }]] +]; +exports.DisableIpamPolicyRequest$ = [3, n0, _DIPRi, + 0, + [_IPIp, _DR, _OTI], + [0, 2, 0], 1 +]; +exports.DisableIpamPolicyResult$ = [3, n0, _DIPRis, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DisableRouteServerPropagationRequest$ = [3, n0, _DRSPRi, + 0, + [_RSI, _RTI, _DR], + [0, 0, 2], 2 +]; +exports.DisableRouteServerPropagationResult$ = [3, n0, _DRSPRis, + 0, + [_RSPou], + [[() => exports.RouteServerPropagation$, { [_eQN]: `RouteServerPropagation`, + [_xN]: _rSPo }]] +]; +exports.DisableSerialConsoleAccessRequest$ = [3, n0, _DSCAR, + 0, + [_DR], + [2] +]; +exports.DisableSerialConsoleAccessResult$ = [3, n0, _DSCARi, + 0, + [_SCAE], + [[2, { [_eQN]: `SerialConsoleAccessEnabled`, + [_xN]: _sCAE }]] +]; +exports.DisableSnapshotBlockPublicAccessRequest$ = [3, n0, _DSBPAR, + 0, + [_DR], + [2] +]; +exports.DisableSnapshotBlockPublicAccessResult$ = [3, n0, _DSBPARi, + 0, + [_St], + [[0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.DisableTransitGatewayRouteTablePropagationRequest$ = [3, n0, _DTGRTPR, + 0, + [_TGRTI, _TGAI, _DR, _TGRTAI], + [0, 0, 2, 0], 1 +]; +exports.DisableTransitGatewayRouteTablePropagationResult$ = [3, n0, _DTGRTPRi, + 0, + [_Prop], + [[() => exports.TransitGatewayPropagation$, { [_eQN]: `Propagation`, + [_xN]: _prop }]] +]; +exports.DisableVgwRoutePropagationRequest$ = [3, n0, _DVRPR, + 0, + [_GI, _RTI, _DR], + [0, 0, 2], 2 +]; +exports.DisableVpcClassicLinkDnsSupportRequest$ = [3, n0, _DVCLDSRi, + 0, + [_VI], + [[0, { [_xN]: _VI }]] +]; +exports.DisableVpcClassicLinkDnsSupportResult$ = [3, n0, _DVCLDSRis, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DisableVpcClassicLinkRequest$ = [3, n0, _DVCLRi, + 0, + [_VI, _DR], + [[0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DisableVpcClassicLinkResult$ = [3, n0, _DVCLRis, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DisassociateAddressRequest$ = [3, n0, _DARi, + 0, + [_AIs, _PI, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.DisassociateCapacityReservationBillingOwnerRequest$ = [3, n0, _DCRBOR, + 0, + [_CRI, _URBOI, _DR], + [0, 0, 2], 2 +]; +exports.DisassociateCapacityReservationBillingOwnerResult$ = [3, n0, _DCRBORi, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DisassociateClientVpnTargetNetworkRequest$ = [3, n0, _DCVTNRi, + 0, + [_CVEI, _AIs, _DR], + [0, 0, 2], 2 +]; +exports.DisassociateClientVpnTargetNetworkResult$ = [3, n0, _DCVTNRis, + 0, + [_AIs, _Sta], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [() => exports.AssociationStatus$, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.DisassociateEnclaveCertificateIamRoleRequest$ = [3, n0, _DECIRR, + 0, + [_CAe, _RAo, _DR], + [0, 0, 2], 2 +]; +exports.DisassociateEnclaveCertificateIamRoleResult$ = [3, n0, _DECIRRi, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.DisassociateIamInstanceProfileRequest$ = [3, n0, _DIIPR, + 0, + [_AIs], + [0], 1 +]; +exports.DisassociateIamInstanceProfileResult$ = [3, n0, _DIIPRi, + 0, + [_IIPA], + [[() => exports.IamInstanceProfileAssociation$, { [_eQN]: `IamInstanceProfileAssociation`, + [_xN]: _iIPA }]] +]; +exports.DisassociateInstanceEventWindowRequest$ = [3, n0, _DIEWRi, + 0, + [_IEWI, _ATs, _DR], + [0, [() => exports.InstanceEventWindowDisassociationRequest$, 0], 2], 2 +]; +exports.DisassociateInstanceEventWindowResult$ = [3, n0, _DIEWRis, + 0, + [_IEW], + [[() => exports.InstanceEventWindow$, { [_eQN]: `InstanceEventWindow`, + [_xN]: _iEW }]] +]; +exports.DisassociateIpamByoasnRequest$ = [3, n0, _DIBRi, + 0, + [_Asn, _Ci, _DR], + [0, 0, 2], 2 +]; +exports.DisassociateIpamByoasnResult$ = [3, n0, _DIBRis, + 0, + [_AAs], + [[() => exports.AsnAssociation$, { [_eQN]: `AsnAssociation`, + [_xN]: _aA }]] +]; +exports.DisassociateIpamResourceDiscoveryRequest$ = [3, n0, _DIRDRi, + 0, + [_IRDAIp, _DR], + [0, 2], 1 +]; +exports.DisassociateIpamResourceDiscoveryResult$ = [3, n0, _DIRDRis, + 0, + [_IRDA], + [[() => exports.IpamResourceDiscoveryAssociation$, { [_eQN]: `IpamResourceDiscoveryAssociation`, + [_xN]: _iRDA }]] +]; +exports.DisassociateNatGatewayAddressRequest$ = [3, n0, _DNGAR, + 0, + [_NGI, _AIsso, _MDDS, _DR], + [0, [() => EipAssociationIdList, { [_xN]: _AIs }], 1, 2], 2 +]; +exports.DisassociateNatGatewayAddressResult$ = [3, n0, _DNGARi, + 0, + [_NGI, _NGA], + [[0, { [_eQN]: `NatGatewayId`, + [_xN]: _nGI }], [() => NatGatewayAddressList, { [_eQN]: `NatGatewayAddressSet`, + [_xN]: _nGAS }]] +]; +exports.DisassociateRouteServerRequest$ = [3, n0, _DRSRi, + 0, + [_RSI, _VI, _DR], + [0, 0, 2], 2 +]; +exports.DisassociateRouteServerResult$ = [3, n0, _DRSRis, + 0, + [_RSA], + [[() => exports.RouteServerAssociation$, { [_eQN]: `RouteServerAssociation`, + [_xN]: _rSA }]] +]; +exports.DisassociateRouteTableRequest$ = [3, n0, _DRTRi, + 0, + [_AIs, _DR], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.DisassociateSecurityGroupVpcRequest$ = [3, n0, _DSGVR, + 0, + [_GIr, _VI, _DR], + [0, 0, 2], 2 +]; +exports.DisassociateSecurityGroupVpcResult$ = [3, n0, _DSGVRi, + 0, + [_St], + [[0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.DisassociateSubnetCidrBlockRequest$ = [3, n0, _DSCBR, + 0, + [_AIs], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }]], 1 +]; +exports.DisassociateSubnetCidrBlockResult$ = [3, n0, _DSCBRi, + 0, + [_ICBA, _SIu], + [[() => exports.SubnetIpv6CidrBlockAssociation$, { [_eQN]: `Ipv6CidrBlockAssociation`, + [_xN]: _iCBA }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }]] +]; +exports.DisassociateTransitGatewayMulticastDomainRequest$ = [3, n0, _DTGMDRi, + 0, + [_TGMDI, _TGAI, _SI, _DR], + [0, 0, [() => TransitGatewaySubnetIdList, 0], 2], 3 +]; +exports.DisassociateTransitGatewayMulticastDomainResult$ = [3, n0, _DTGMDRis, + 0, + [_As], + [[() => exports.TransitGatewayMulticastDomainAssociations$, { [_eQN]: `Associations`, + [_xN]: _a }]] +]; +exports.DisassociateTransitGatewayPolicyTableRequest$ = [3, n0, _DTGPTRi, + 0, + [_TGPTI, _TGAI, _DR], + [0, 0, 2], 2 +]; +exports.DisassociateTransitGatewayPolicyTableResult$ = [3, n0, _DTGPTRis, + 0, + [_Ass], + [[() => exports.TransitGatewayPolicyTableAssociation$, { [_eQN]: `Association`, + [_xN]: _ass }]] +]; +exports.DisassociateTransitGatewayRouteTableRequest$ = [3, n0, _DTGRTRi, + 0, + [_TGRTI, _TGAI, _DR], + [0, 0, 2], 2 +]; +exports.DisassociateTransitGatewayRouteTableResult$ = [3, n0, _DTGRTRis, + 0, + [_Ass], + [[() => exports.TransitGatewayAssociation$, { [_eQN]: `Association`, + [_xN]: _ass }]] +]; +exports.DisassociateTrunkInterfaceRequest$ = [3, n0, _DTIR, + 0, + [_AIs, _CT, _DR], + [0, [0, 4], 2], 1 +]; +exports.DisassociateTrunkInterfaceResult$ = [3, n0, _DTIRi, + 0, + [_R, _CT], + [[2, { [_eQN]: `Return`, + [_xN]: _r }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]] +]; +exports.DisassociateVpcCidrBlockRequest$ = [3, n0, _DVCBR, + 0, + [_AIs], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }]], 1 +]; +exports.DisassociateVpcCidrBlockResult$ = [3, n0, _DVCBRi, + 0, + [_ICBA, _CBA, _VI], + [[() => exports.VpcIpv6CidrBlockAssociation$, { [_eQN]: `Ipv6CidrBlockAssociation`, + [_xN]: _iCBA }], [() => exports.VpcCidrBlockAssociation$, { [_eQN]: `CidrBlockAssociation`, + [_xN]: _cBA }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }]] +]; +exports.DiskImage$ = [3, n0, _DIis, + 0, + [_De, _Ima, _Vol], + [0, [() => exports.DiskImageDetail$, 0], [() => exports.VolumeDetail$, 0]] +]; +exports.DiskImageDescription$ = [3, n0, _DID, + 0, + [_Ch, _Fo, _IMU, _Siz], + [[0, { [_eQN]: `Checksum`, + [_xN]: _ch }], [0, { [_eQN]: `Format`, + [_xN]: _for }], [() => ImportManifestUrl, { [_eQN]: `ImportManifestUrl`, + [_xN]: _iMU }], [1, { [_eQN]: `Size`, + [_xN]: _si }]] +]; +exports.DiskImageDetail$ = [3, n0, _DIDi, + 0, + [_Fo, _Byt, _IMU], + [[0, { [_eQN]: `Format`, + [_xN]: _for }], [1, { [_eQN]: `Bytes`, + [_xN]: _byt }], [() => ImportManifestUrl, { [_eQN]: `ImportManifestUrl`, + [_xN]: _iMU }]], 3 +]; +exports.DiskImageVolumeDescription$ = [3, n0, _DIVD, + 0, + [_I, _Siz], + [[0, { [_eQN]: `Id`, + [_xN]: _i }], [1, { [_eQN]: `Size`, + [_xN]: _si }]] +]; +exports.DiskInfo$ = [3, n0, _DIisk, + 0, + [_SIGB, _Cou, _Ty], + [[1, { [_eQN]: `SizeInGB`, + [_xN]: _sIGB }], [1, { [_eQN]: `Count`, + [_xN]: _cou }], [0, { [_eQN]: `Type`, + [_xN]: _ty }]] +]; +exports.DnsEntry$ = [3, n0, _DE, + 0, + [_DNn, _HZI], + [[0, { [_eQN]: `DnsName`, + [_xN]: _dNn }], [0, { [_eQN]: `HostedZoneId`, + [_xN]: _hZI }]] +]; +exports.DnsOptions$ = [3, n0, _DOn, + 0, + [_DRIT, _PDOFIRE, _PDP, _PDSD], + [[0, { [_eQN]: `DnsRecordIpType`, + [_xN]: _dRIT }], [2, { [_eQN]: `PrivateDnsOnlyForInboundResolverEndpoint`, + [_xN]: _pDOFIRE }], [0, { [_eQN]: `PrivateDnsPreference`, + [_xN]: _pDP }], [() => PrivateDnsSpecifiedDomainSet, { [_eQN]: `PrivateDnsSpecifiedDomainSet`, + [_xN]: _pDSDS }]] +]; +exports.DnsOptionsSpecification$ = [3, n0, _DOS, + 0, + [_DRIT, _PDOFIRE, _PDP, _PDSD], + [0, 2, 0, [() => PrivateDnsSpecifiedDomainSet, { [_xN]: _PDSDr }]] +]; +exports.DnsServersOptionsModifyStructure$ = [3, n0, _DSOMS, + 0, + [_CDS, _En], + [[() => ValueStringList, 0], 2] +]; +exports.EbsBlockDevice$ = [3, n0, _EBD, + 0, + [_DOT, _Io, _SIn, _VSo, _VT, _KKI, _Th, _OA, _AZ, _Enc, _VIR, _AZI, _ECI], + [[2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [1, { [_eQN]: `Iops`, + [_xN]: _io }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [1, { [_eQN]: `VolumeSize`, + [_xN]: _vSo }], [0, { [_eQN]: `VolumeType`, + [_xN]: _vT }], [0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }], [1, { [_eQN]: `Throughput`, + [_xN]: _th }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], 1, 0, 1] +]; +exports.EbsBlockDeviceResponse$ = [3, n0, _EBDR, + 0, + [_Enc, _DOT, _Io, _Th, _KKI, _SIn, _VSo, _VT], + [[2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], [2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [1, { [_eQN]: `Iops`, + [_xN]: _io }], [1, { [_eQN]: `Throughput`, + [_xN]: _th }], [0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [1, { [_eQN]: `VolumeSize`, + [_xN]: _vSo }], [0, { [_eQN]: `VolumeType`, + [_xN]: _vT }]] +]; +exports.EbsCardInfo$ = [3, n0, _ECIb, + 0, + [_ECI, _BBIM, _BTIMB, _BIa, _MBIM, _MTIMB, _MI], + [[1, { [_eQN]: `EbsCardIndex`, + [_xN]: _eCI }], [1, { [_eQN]: `BaselineBandwidthInMbps`, + [_xN]: _bBIM }], [1, { [_eQN]: `BaselineThroughputInMBps`, + [_xN]: _bTIMB }], [1, { [_eQN]: `BaselineIops`, + [_xN]: _bIa }], [1, { [_eQN]: `MaximumBandwidthInMbps`, + [_xN]: _mBIM }], [1, { [_eQN]: `MaximumThroughputInMBps`, + [_xN]: _mTIMB }], [1, { [_eQN]: `MaximumIops`, + [_xN]: _mI }]] +]; +exports.EbsInfo$ = [3, n0, _EIb, + 0, + [_EOS, _ESn, _EOI, _NS, _MEA, _ALT, _MEC, _ECb], + [[0, { [_eQN]: `EbsOptimizedSupport`, + [_xN]: _eOS }], [0, { [_eQN]: `EncryptionSupport`, + [_xN]: _eSn }], [() => exports.EbsOptimizedInfo$, { [_eQN]: `EbsOptimizedInfo`, + [_xN]: _eOI }], [0, { [_eQN]: `NvmeSupport`, + [_xN]: _nS }], [1, { [_eQN]: `MaximumEbsAttachments`, + [_xN]: _mEA }], [0, { [_eQN]: `AttachmentLimitType`, + [_xN]: _aLT }], [1, { [_eQN]: `MaximumEbsCards`, + [_xN]: _mEC }], [() => EbsCardInfoList, { [_eQN]: `EbsCardSet`, + [_xN]: _eCS }]] +]; +exports.EbsInstanceBlockDevice$ = [3, n0, _EIBD, + 0, + [_ATtt, _DOT, _Sta, _VIo, _ARss, _VOI, _Op, _ECI], + [[4, { [_eQN]: `AttachTime`, + [_xN]: _aTt }], [2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [0, { [_eQN]: `AssociatedResource`, + [_xN]: _aRs }], [0, { [_eQN]: `VolumeOwnerId`, + [_xN]: _vOI }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }], [1, { [_eQN]: `EbsCardIndex`, + [_xN]: _eCI }]] +]; +exports.EbsInstanceBlockDeviceSpecification$ = [3, n0, _EIBDS, + 0, + [_VIo, _DOT], + [[0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }]] +]; +exports.EbsOptimizedInfo$ = [3, n0, _EOI, + 0, + [_BBIM, _BTIMB, _BIa, _MBIM, _MTIMB, _MI], + [[1, { [_eQN]: `BaselineBandwidthInMbps`, + [_xN]: _bBIM }], [1, { [_eQN]: `BaselineThroughputInMBps`, + [_xN]: _bTIMB }], [1, { [_eQN]: `BaselineIops`, + [_xN]: _bIa }], [1, { [_eQN]: `MaximumBandwidthInMbps`, + [_xN]: _mBIM }], [1, { [_eQN]: `MaximumThroughputInMBps`, + [_xN]: _mTIMB }], [1, { [_eQN]: `MaximumIops`, + [_xN]: _mI }]] +]; +exports.EbsStatusDetails$ = [3, n0, _ESD, + 0, + [_ISm, _N, _Sta], + [[4, { [_eQN]: `ImpairedSince`, + [_xN]: _iSmp }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.EbsStatusSummary$ = [3, n0, _ESSb, + 0, + [_Det, _Sta], + [[() => EbsStatusDetailsList, { [_eQN]: `Details`, + [_xN]: _det }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.Ec2InstanceConnectEndpoint$ = [3, n0, _EICE, + 0, + [_OI, _ICEI, _ICEA, _St, _SMta, _DNn, _FDN, _NIIe, _VI, _AZ, _CAr, _SIu, _PCI, _SGIe, _T, _IAT, _PDNu, _AZI], + [[0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `InstanceConnectEndpointId`, + [_xN]: _iCEI }], [0, { [_eQN]: `InstanceConnectEndpointArn`, + [_xN]: _iCEA }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateMessage`, + [_xN]: _sMta }], [0, { [_eQN]: `DnsName`, + [_xN]: _dNn }], [0, { [_eQN]: `FipsDnsName`, + [_xN]: _fDN }], [() => NetworkInterfaceIdSet, { [_eQN]: `NetworkInterfaceIdSet`, + [_xN]: _nIIS }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [4, { [_eQN]: `CreatedAt`, + [_xN]: _cAr }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [2, { [_eQN]: `PreserveClientIp`, + [_xN]: _pCI }], [() => SecurityGroupIdSet, { [_eQN]: `SecurityGroupIdSet`, + [_xN]: _sGIS }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `IpAddressType`, + [_xN]: _iAT }], [() => exports.InstanceConnectEndpointPublicDnsNames$, { [_eQN]: `PublicDnsNames`, + [_xN]: _pDN }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }]] +]; +exports.EfaInfo$ = [3, n0, _EIf, + 0, + [_MEI], + [[1, { [_eQN]: `MaximumEfaInterfaces`, + [_xN]: _mEI }]] +]; +exports.EgressOnlyInternetGateway$ = [3, n0, _EOIG, + 0, + [_Atta, _EOIGI, _T], + [[() => InternetGatewayAttachmentList, { [_eQN]: `AttachmentSet`, + [_xN]: _aSt }], [0, { [_eQN]: `EgressOnlyInternetGatewayId`, + [_xN]: _eOIGI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.ElasticGpuAssociation$ = [3, n0, _EGA, + 0, + [_EGIl, _EGAI, _EGAS, _EGAT], + [[0, { [_eQN]: `ElasticGpuId`, + [_xN]: _eGI }], [0, { [_eQN]: `ElasticGpuAssociationId`, + [_xN]: _eGAI }], [0, { [_eQN]: `ElasticGpuAssociationState`, + [_xN]: _eGAS }], [0, { [_eQN]: `ElasticGpuAssociationTime`, + [_xN]: _eGAT }]] +]; +exports.ElasticGpuHealth$ = [3, n0, _EGH, + 0, + [_Sta], + [[0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.ElasticGpus$ = [3, n0, _EG, + 0, + [_EGIl, _AZ, _EGT, _EGH, _EGSl, _II, _T], + [[0, { [_eQN]: `ElasticGpuId`, + [_xN]: _eGI }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `ElasticGpuType`, + [_xN]: _eGT }], [() => exports.ElasticGpuHealth$, { [_eQN]: `ElasticGpuHealth`, + [_xN]: _eGH }], [0, { [_eQN]: `ElasticGpuState`, + [_xN]: _eGSl }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.ElasticGpuSpecification$ = [3, n0, _EGSla, + 0, + [_Ty], + [0], 1 +]; +exports.ElasticGpuSpecificationResponse$ = [3, n0, _EGSR, + 0, + [_Ty], + [[0, { [_eQN]: `Type`, + [_xN]: _ty }]] +]; +exports.ElasticInferenceAccelerator$ = [3, n0, _EIA, + 0, + [_Ty, _Cou], + [0, 1], 1 +]; +exports.ElasticInferenceAcceleratorAssociation$ = [3, n0, _EIAA, + 0, + [_EIAAl, _EIAAI, _EIAAS, _EIAAT], + [[0, { [_eQN]: `ElasticInferenceAcceleratorArn`, + [_xN]: _eIAA }], [0, { [_eQN]: `ElasticInferenceAcceleratorAssociationId`, + [_xN]: _eIAAI }], [0, { [_eQN]: `ElasticInferenceAcceleratorAssociationState`, + [_xN]: _eIAAS }], [4, { [_eQN]: `ElasticInferenceAcceleratorAssociationTime`, + [_xN]: _eIAAT }]] +]; +exports.EnableAddressTransferRequest$ = [3, n0, _EATR, + 0, + [_AIl, _TAI, _DR], + [0, 0, 2], 2 +]; +exports.EnableAddressTransferResult$ = [3, n0, _EATRn, + 0, + [_AT], + [[() => exports.AddressTransfer$, { [_eQN]: `AddressTransfer`, + [_xN]: _aT }]] +]; +exports.EnableAllowedImagesSettingsRequest$ = [3, n0, _EAISR, + 0, + [_AISS, _DR], + [0, 2], 1 +]; +exports.EnableAllowedImagesSettingsResult$ = [3, n0, _EAISRn, + 0, + [_AISS], + [[0, { [_eQN]: `AllowedImagesSettingsState`, + [_xN]: _aISS }]] +]; +exports.EnableAwsNetworkPerformanceMetricSubscriptionRequest$ = [3, n0, _EANPMSR, + 0, + [_S, _D, _Met, _Stat, _DR], + [0, 0, 0, 0, 2] +]; +exports.EnableAwsNetworkPerformanceMetricSubscriptionResult$ = [3, n0, _EANPMSRn, + 0, + [_Ou], + [[2, { [_eQN]: `Output`, + [_xN]: _ou }]] +]; +exports.EnableCapacityManagerRequest$ = [3, n0, _ECMR, + 0, + [_OAr, _DR, _CT], + [2, 2, [0, 4]] +]; +exports.EnableCapacityManagerResult$ = [3, n0, _ECMRn, + 0, + [_CMS, _OAr], + [[0, { [_eQN]: `CapacityManagerStatus`, + [_xN]: _cMS }], [2, { [_eQN]: `OrganizationsAccess`, + [_xN]: _oAr }]] +]; +exports.EnableEbsEncryptionByDefaultRequest$ = [3, n0, _EEEBDR, + 0, + [_DR], + [2] +]; +exports.EnableEbsEncryptionByDefaultResult$ = [3, n0, _EEEBDRn, + 0, + [_EEBD], + [[2, { [_eQN]: `EbsEncryptionByDefault`, + [_xN]: _eEBD }]] +]; +exports.EnableFastLaunchRequest$ = [3, n0, _EFLR, + 0, + [_IIm, _RTe, _SCn, _LT, _MPL, _DR], + [0, 0, () => exports.FastLaunchSnapshotConfigurationRequest$, () => exports.FastLaunchLaunchTemplateSpecificationRequest$, 1, 2], 1 +]; +exports.EnableFastLaunchResult$ = [3, n0, _EFLRn, + 0, + [_IIm, _RTe, _SCn, _LT, _MPL, _OI, _St, _STR, _STT], + [[0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [() => exports.FastLaunchSnapshotConfigurationResponse$, { [_eQN]: `SnapshotConfiguration`, + [_xN]: _sCn }], [() => exports.FastLaunchLaunchTemplateSpecificationResponse$, { [_eQN]: `LaunchTemplate`, + [_xN]: _lT }], [1, { [_eQN]: `MaxParallelLaunches`, + [_xN]: _mPL }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateTransitionReason`, + [_xN]: _sTR }], [4, { [_eQN]: `StateTransitionTime`, + [_xN]: _sTT }]] +]; +exports.EnableFastSnapshotRestoreErrorItem$ = [3, n0, _EFSREI, + 0, + [_SIn, _FSRSE], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [() => EnableFastSnapshotRestoreStateErrorSet, { [_eQN]: `FastSnapshotRestoreStateErrorSet`, + [_xN]: _fSRSES }]] +]; +exports.EnableFastSnapshotRestoresRequest$ = [3, n0, _EFSRR, + 0, + [_SSIo, _AZv, _AZIv, _DR], + [[() => SnapshotIdStringList, { [_xN]: _SSI }], [() => AvailabilityZoneStringList, { [_xN]: _AZ }], [() => AvailabilityZoneIdStringList, { [_xN]: _AZI }], 2], 1 +]; +exports.EnableFastSnapshotRestoresResult$ = [3, n0, _EFSRRn, + 0, + [_Suc, _U], + [[() => EnableFastSnapshotRestoreSuccessSet, { [_eQN]: `Successful`, + [_xN]: _suc }], [() => EnableFastSnapshotRestoreErrorSet, { [_eQN]: `Unsuccessful`, + [_xN]: _u }]] +]; +exports.EnableFastSnapshotRestoreStateError$ = [3, n0, _EFSRSE, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.EnableFastSnapshotRestoreStateErrorItem$ = [3, n0, _EFSRSEI, + 0, + [_AZ, _AZI, _Er], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [() => exports.EnableFastSnapshotRestoreStateError$, { [_eQN]: `Error`, + [_xN]: _er }]] +]; +exports.EnableFastSnapshotRestoreSuccessItem$ = [3, n0, _EFSRSI, + 0, + [_SIn, _AZ, _AZI, _St, _STR, _OI, _OAw, _ETna, _OT, _ETnab, _DTi, _DTis], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateTransitionReason`, + [_xN]: _sTR }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `OwnerAlias`, + [_xN]: _oAw }], [4, { [_eQN]: `EnablingTime`, + [_xN]: _eTna }], [4, { [_eQN]: `OptimizingTime`, + [_xN]: _oT }], [4, { [_eQN]: `EnabledTime`, + [_xN]: _eTnab }], [4, { [_eQN]: `DisablingTime`, + [_xN]: _dTi }], [4, { [_eQN]: `DisabledTime`, + [_xN]: _dTis }]] +]; +exports.EnableImageBlockPublicAccessRequest$ = [3, n0, _EIBPAR, + 0, + [_IBPAS, _DR], + [0, 2], 1 +]; +exports.EnableImageBlockPublicAccessResult$ = [3, n0, _EIBPARn, + 0, + [_IBPAS], + [[0, { [_eQN]: `ImageBlockPublicAccessState`, + [_xN]: _iBPAS }]] +]; +exports.EnableImageDeprecationRequest$ = [3, n0, _EIDR, + 0, + [_IIm, _DAep, _DR], + [0, 4, 2], 2 +]; +exports.EnableImageDeprecationResult$ = [3, n0, _EIDRn, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.EnableImageDeregistrationProtectionRequest$ = [3, n0, _EIDPR, + 0, + [_IIm, _WC, _DR], + [0, 2, 2], 1 +]; +exports.EnableImageDeregistrationProtectionResult$ = [3, n0, _EIDPRn, + 0, + [_R], + [[0, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.EnableImageRequest$ = [3, n0, _EIR, + 0, + [_IIm, _DR], + [0, 2], 1 +]; +exports.EnableImageResult$ = [3, n0, _EIRn, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.EnableInstanceSqlHaStandbyDetectionsRequest$ = [3, n0, _EISHSDR, + 0, + [_IIns, _SSC, _DR], + [[() => InstanceIdUpdateStringList, { [_xN]: _II }], 0, 2], 1 +]; +exports.EnableInstanceSqlHaStandbyDetectionsResult$ = [3, n0, _EISHSDRn, + 0, + [_Ins], + [[() => RegisteredInstanceList, { [_eQN]: `InstanceSet`, + [_xN]: _iSns }]] +]; +exports.EnableIpamOrganizationAdminAccountRequest$ = [3, n0, _EIOAAR, + 0, + [_DAAI, _DR], + [0, 2], 1 +]; +exports.EnableIpamOrganizationAdminAccountResult$ = [3, n0, _EIOAARn, + 0, + [_Succ], + [[2, { [_eQN]: `Success`, + [_xN]: _succ }]] +]; +exports.EnableIpamPolicyRequest$ = [3, n0, _EIPR, + 0, + [_IPIp, _DR, _OTI], + [0, 2, 0], 1 +]; +exports.EnableIpamPolicyResult$ = [3, n0, _EIPRn, + 0, + [_IPIp], + [[0, { [_eQN]: `IpamPolicyId`, + [_xN]: _iPI }]] +]; +exports.EnableReachabilityAnalyzerOrganizationSharingRequest$ = [3, n0, _ERAOSR, + 0, + [_DR], + [2] +]; +exports.EnableReachabilityAnalyzerOrganizationSharingResult$ = [3, n0, _ERAOSRn, + 0, + [_RV], + [[2, { [_eQN]: `ReturnValue`, + [_xN]: _rV }]] +]; +exports.EnableRouteServerPropagationRequest$ = [3, n0, _ERSPR, + 0, + [_RSI, _RTI, _DR], + [0, 0, 2], 2 +]; +exports.EnableRouteServerPropagationResult$ = [3, n0, _ERSPRn, + 0, + [_RSPou], + [[() => exports.RouteServerPropagation$, { [_eQN]: `RouteServerPropagation`, + [_xN]: _rSPo }]] +]; +exports.EnableSerialConsoleAccessRequest$ = [3, n0, _ESCAR, + 0, + [_DR], + [2] +]; +exports.EnableSerialConsoleAccessResult$ = [3, n0, _ESCARn, + 0, + [_SCAE], + [[2, { [_eQN]: `SerialConsoleAccessEnabled`, + [_xN]: _sCAE }]] +]; +exports.EnableSnapshotBlockPublicAccessRequest$ = [3, n0, _ESBPAR, + 0, + [_St, _DR], + [0, 2], 1 +]; +exports.EnableSnapshotBlockPublicAccessResult$ = [3, n0, _ESBPARn, + 0, + [_St], + [[0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.EnableTransitGatewayRouteTablePropagationRequest$ = [3, n0, _ETGRTPR, + 0, + [_TGRTI, _TGAI, _DR, _TGRTAI], + [0, 0, 2, 0], 1 +]; +exports.EnableTransitGatewayRouteTablePropagationResult$ = [3, n0, _ETGRTPRn, + 0, + [_Prop], + [[() => exports.TransitGatewayPropagation$, { [_eQN]: `Propagation`, + [_xN]: _prop }]] +]; +exports.EnableVgwRoutePropagationRequest$ = [3, n0, _EVRPR, + 0, + [_GI, _RTI, _DR], + [0, 0, 2], 2 +]; +exports.EnableVolumeIORequest$ = [3, n0, _EVIOR, + 0, + [_VIo, _DR], + [[0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.EnableVpcClassicLinkDnsSupportRequest$ = [3, n0, _EVCLDSR, + 0, + [_VI], + [[0, { [_xN]: _VI }]] +]; +exports.EnableVpcClassicLinkDnsSupportResult$ = [3, n0, _EVCLDSRn, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.EnableVpcClassicLinkRequest$ = [3, n0, _EVCLR, + 0, + [_VI, _DR], + [[0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.EnableVpcClassicLinkResult$ = [3, n0, _EVCLRn, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.EnaSrdSpecification$ = [3, n0, _ESS, + 0, + [_ESE, _ESUS], + [2, () => exports.EnaSrdUdpSpecification$] +]; +exports.EnaSrdSpecificationRequest$ = [3, n0, _ESSR, + 0, + [_ESE, _ESUS], + [2, () => exports.EnaSrdUdpSpecificationRequest$] +]; +exports.EnaSrdUdpSpecification$ = [3, n0, _ESUS, + 0, + [_ESUE], + [2] +]; +exports.EnaSrdUdpSpecificationRequest$ = [3, n0, _ESUSR, + 0, + [_ESUE], + [2] +]; +exports.EnclaveOptions$ = [3, n0, _EOn, + 0, + [_En], + [[2, { [_eQN]: `Enabled`, + [_xN]: _en }]] +]; +exports.EnclaveOptionsRequest$ = [3, n0, _EOR, + 0, + [_En], + [2] +]; +exports.EncryptionSupport$ = [3, n0, _ESn, + 0, + [_ESnc, _SMta], + [[0, { [_eQN]: `EncryptionState`, + [_xN]: _eSnc }], [0, { [_eQN]: `StateMessage`, + [_xN]: _sMta }]] +]; +exports.EventInformation$ = [3, n0, _EIv, + 0, + [_EDv, _EST, _II], + [[0, { [_eQN]: `EventDescription`, + [_xN]: _eDv }], [0, { [_eQN]: `EventSubType`, + [_xN]: _eST }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }]] +]; +exports.Explanation$ = [3, n0, _Ex, + 0, + [_Ac, _ARcl, _A, _Add, _ATtta, _AZv, _AZIv, _Cid, _C, _CGu, _D, _DVe, _Di, _ECx, _IRT, _IG, _LBAo, _CLBL, _LBLP, _LBT, _LBTG, _LBTGo, _LBTP, _ELBL, _MCi, _NG, _NIe, _PF, _VPC, _Po, _PRor, _PL, _Prot, _RTR, _RTo, _SGec, _SGRe, _SGe, _SVo, _St, _Su, _SRT, _Vp, _VE, _VCp, _VG, _TG, _TGRT, _TGRTR, _TGAra, _CAo, _CRo, _FSRi, _FSRir], + [[() => exports.AnalysisComponent$, { [_eQN]: `Acl`, + [_xN]: _ac }], [() => exports.AnalysisAclRule$, { [_eQN]: `AclRule`, + [_xN]: _aRc }], [0, { [_eQN]: `Address`, + [_xN]: _ad }], [() => IpAddressList, { [_eQN]: `AddressSet`, + [_xN]: _aSd }], [() => exports.AnalysisComponent$, { [_eQN]: `AttachedTo`, + [_xN]: _aTtt }], [() => ValueStringList, { [_eQN]: `AvailabilityZoneSet`, + [_xN]: _aZS }], [() => ValueStringList, { [_eQN]: `AvailabilityZoneIdSet`, + [_xN]: _aZIS }], [() => ValueStringList, { [_eQN]: `CidrSet`, + [_xN]: _cS }], [() => exports.AnalysisComponent$, { [_eQN]: `Component`, + [_xN]: _c }], [() => exports.AnalysisComponent$, { [_eQN]: `CustomerGateway`, + [_xN]: _cGu }], [() => exports.AnalysisComponent$, { [_eQN]: `Destination`, + [_xN]: _d }], [() => exports.AnalysisComponent$, { [_eQN]: `DestinationVpc`, + [_xN]: _dV }], [0, { [_eQN]: `Direction`, + [_xN]: _di }], [0, { [_eQN]: `ExplanationCode`, + [_xN]: _eCx }], [() => exports.AnalysisComponent$, { [_eQN]: `IngressRouteTable`, + [_xN]: _iRT }], [() => exports.AnalysisComponent$, { [_eQN]: `InternetGateway`, + [_xN]: _iG }], [0, { [_eQN]: `LoadBalancerArn`, + [_xN]: _lBA }], [() => exports.AnalysisLoadBalancerListener$, { [_eQN]: `ClassicLoadBalancerListener`, + [_xN]: _cLBL }], [1, { [_eQN]: `LoadBalancerListenerPort`, + [_xN]: _lBLP }], [() => exports.AnalysisLoadBalancerTarget$, { [_eQN]: `LoadBalancerTarget`, + [_xN]: _lBT }], [() => exports.AnalysisComponent$, { [_eQN]: `LoadBalancerTargetGroup`, + [_xN]: _lBTG }], [() => AnalysisComponentList, { [_eQN]: `LoadBalancerTargetGroupSet`, + [_xN]: _lBTGS }], [1, { [_eQN]: `LoadBalancerTargetPort`, + [_xN]: _lBTP }], [() => exports.AnalysisComponent$, { [_eQN]: `ElasticLoadBalancerListener`, + [_xN]: _eLBL }], [0, { [_eQN]: `MissingComponent`, + [_xN]: _mC }], [() => exports.AnalysisComponent$, { [_eQN]: `NatGateway`, + [_xN]: _nG }], [() => exports.AnalysisComponent$, { [_eQN]: `NetworkInterface`, + [_xN]: _nIe }], [0, { [_eQN]: `PacketField`, + [_xN]: _pF }], [() => exports.AnalysisComponent$, { [_eQN]: `VpcPeeringConnection`, + [_xN]: _vPC }], [1, { [_eQN]: `Port`, + [_xN]: _po }], [() => PortRangeList, { [_eQN]: `PortRangeSet`, + [_xN]: _pRS }], [() => exports.AnalysisComponent$, { [_eQN]: `PrefixList`, + [_xN]: _pL }], [() => StringList, { [_eQN]: `ProtocolSet`, + [_xN]: _pSro }], [() => exports.AnalysisRouteTableRoute$, { [_eQN]: `RouteTableRoute`, + [_xN]: _rTR }], [() => exports.AnalysisComponent$, { [_eQN]: `RouteTable`, + [_xN]: _rTo }], [() => exports.AnalysisComponent$, { [_eQN]: `SecurityGroup`, + [_xN]: _sG }], [() => exports.AnalysisSecurityGroupRule$, { [_eQN]: `SecurityGroupRule`, + [_xN]: _sGR }], [() => AnalysisComponentList, { [_eQN]: `SecurityGroupSet`, + [_xN]: _sGSe }], [() => exports.AnalysisComponent$, { [_eQN]: `SourceVpc`, + [_xN]: _sV }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => exports.AnalysisComponent$, { [_eQN]: `Subnet`, + [_xN]: _su }], [() => exports.AnalysisComponent$, { [_eQN]: `SubnetRouteTable`, + [_xN]: _sRT }], [() => exports.AnalysisComponent$, { [_eQN]: `Vpc`, + [_xN]: _vp }], [() => exports.AnalysisComponent$, { [_eQN]: `VpcEndpoint`, + [_xN]: _vE }], [() => exports.AnalysisComponent$, { [_eQN]: `VpnConnection`, + [_xN]: _vCp }], [() => exports.AnalysisComponent$, { [_eQN]: `VpnGateway`, + [_xN]: _vG }], [() => exports.AnalysisComponent$, { [_eQN]: `TransitGateway`, + [_xN]: _tG }], [() => exports.AnalysisComponent$, { [_eQN]: `TransitGatewayRouteTable`, + [_xN]: _tGRT }], [() => exports.TransitGatewayRouteTableRoute$, { [_eQN]: `TransitGatewayRouteTableRoute`, + [_xN]: _tGRTR }], [() => exports.AnalysisComponent$, { [_eQN]: `TransitGatewayAttachment`, + [_xN]: _tGAr }], [0, { [_eQN]: `ComponentAccount`, + [_xN]: _cAo }], [0, { [_eQN]: `ComponentRegion`, + [_xN]: _cRo }], [() => exports.FirewallStatelessRule$, { [_eQN]: `FirewallStatelessRule`, + [_xN]: _fSR }], [() => exports.FirewallStatefulRule$, { [_eQN]: `FirewallStatefulRule`, + [_xN]: _fSRi }]] +]; +exports.ExportClientVpnClientCertificateRevocationListRequest$ = [3, n0, _ECVCCRLR, + 0, + [_CVEI, _DR], + [0, 2], 1 +]; +exports.ExportClientVpnClientCertificateRevocationListResult$ = [3, n0, _ECVCCRLRx, + 0, + [_CRL, _Sta], + [[0, { [_eQN]: `CertificateRevocationList`, + [_xN]: _cRL }], [() => exports.ClientCertificateRevocationListStatus$, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.ExportClientVpnClientConfigurationRequest$ = [3, n0, _ECVCCR, + 0, + [_CVEI, _DR], + [0, 2], 1 +]; +exports.ExportClientVpnClientConfigurationResult$ = [3, n0, _ECVCCRx, + 0, + [_CCl], + [[0, { [_eQN]: `ClientConfiguration`, + [_xN]: _cCl }]] +]; +exports.ExportImageRequest$ = [3, n0, _EIRx, + 0, + [_DIF, _IIm, _SEL, _CT, _De, _DR, _RNo, _TS], + [0, 0, () => exports.ExportTaskS3LocationRequest$, [0, 4], 0, 2, 0, [() => TagSpecificationList, { [_xN]: _TSa }]], 3 +]; +exports.ExportImageResult$ = [3, n0, _EIRxp, + 0, + [_De, _DIF, _EITIx, _IIm, _RNo, _Pro, _SEL, _Sta, _SMt, _T], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `DiskImageFormat`, + [_xN]: _dIF }], [0, { [_eQN]: `ExportImageTaskId`, + [_xN]: _eITI }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `RoleName`, + [_xN]: _rNo }], [0, { [_eQN]: `Progress`, + [_xN]: _pro }], [() => exports.ExportTaskS3Location$, { [_eQN]: `S3ExportLocation`, + [_xN]: _sEL }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.ExportImageTask$ = [3, n0, _EITx, + 0, + [_De, _EITIx, _IIm, _Pro, _SEL, _Sta, _SMt, _T], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `ExportImageTaskId`, + [_xN]: _eITI }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `Progress`, + [_xN]: _pro }], [() => exports.ExportTaskS3Location$, { [_eQN]: `S3ExportLocation`, + [_xN]: _sEL }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.ExportTask$ = [3, n0, _ETx, + 0, + [_De, _ETI, _ETST, _IED, _St, _SMt, _T], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `ExportTaskId`, + [_xN]: _eTI }], [() => exports.ExportToS3Task$, { [_eQN]: `ExportToS3`, + [_xN]: _eTS }], [() => exports.InstanceExportDetails$, { [_eQN]: `InstanceExport`, + [_xN]: _iE }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.ExportTaskS3Location$ = [3, n0, _ETSL, + 0, + [_SB, _SP], + [[0, { [_eQN]: `S3Bucket`, + [_xN]: _sB }], [0, { [_eQN]: `S3Prefix`, + [_xN]: _sP }]] +]; +exports.ExportTaskS3LocationRequest$ = [3, n0, _ETSLR, + 0, + [_SB, _SP], + [0, 0], 1 +]; +exports.ExportToS3Task$ = [3, n0, _ETST, + 0, + [_CF, _DIF, _SB, _SK], + [[0, { [_eQN]: `ContainerFormat`, + [_xN]: _cF }], [0, { [_eQN]: `DiskImageFormat`, + [_xN]: _dIF }], [0, { [_eQN]: `S3Bucket`, + [_xN]: _sB }], [0, { [_eQN]: `S3Key`, + [_xN]: _sK }]] +]; +exports.ExportToS3TaskSpecification$ = [3, n0, _ETSTS, + 0, + [_DIF, _CF, _SB, _SP], + [[0, { [_eQN]: `DiskImageFormat`, + [_xN]: _dIF }], [0, { [_eQN]: `ContainerFormat`, + [_xN]: _cF }], [0, { [_eQN]: `S3Bucket`, + [_xN]: _sB }], [0, { [_eQN]: `S3Prefix`, + [_xN]: _sP }]] +]; +exports.ExportTransitGatewayRoutesRequest$ = [3, n0, _ETGRR, + 0, + [_TGRTI, _SB, _Fi, _DR], + [0, 0, [() => FilterList, { [_xN]: _Fil }], 2], 2 +]; +exports.ExportTransitGatewayRoutesResult$ = [3, n0, _ETGRRx, + 0, + [_SLo], + [[0, { [_eQN]: `S3Location`, + [_xN]: _sL }]] +]; +exports.ExportVerifiedAccessInstanceClientConfigurationRequest$ = [3, n0, _EVAICCR, + 0, + [_VAII, _DR], + [0, 2], 1 +]; +exports.ExportVerifiedAccessInstanceClientConfigurationResult$ = [3, n0, _EVAICCRx, + 0, + [_Ver, _VAII, _Regi, _DTP, _UTP, _OVC], + [[0, { [_eQN]: `Version`, + [_xN]: _ve }], [0, { [_eQN]: `VerifiedAccessInstanceId`, + [_xN]: _vAII }], [0, { [_eQN]: `Region`, + [_xN]: _reg }], [() => DeviceTrustProviderTypeList, { [_eQN]: `DeviceTrustProviderSet`, + [_xN]: _dTPS }], [() => exports.VerifiedAccessInstanceUserTrustProviderClientConfiguration$, { [_eQN]: `UserTrustProvider`, + [_xN]: _uTP }], [() => VerifiedAccessInstanceOpenVpnClientConfigurationList, { [_eQN]: `OpenVpnConfigurationSet`, + [_xN]: _oVCS }]] +]; +exports.ExternalAuthorityConfiguration$ = [3, n0, _EAC, + 0, + [_Ty, _ERI], + [0, 0] +]; +exports.FailedCapacityReservationFleetCancellationResult$ = [3, n0, _FCRFCR, + 0, + [_CRFIa, _CCRFE], + [[0, { [_eQN]: `CapacityReservationFleetId`, + [_xN]: _cRFI }], [() => exports.CancelCapacityReservationFleetError$, { [_eQN]: `CancelCapacityReservationFleetError`, + [_xN]: _cCRFE }]] +]; +exports.FailedQueuedPurchaseDeletion$ = [3, n0, _FQPDa, + 0, + [_Er, _RIIes], + [[() => exports.DeleteQueuedReservedInstancesError$, { [_eQN]: `Error`, + [_xN]: _er }], [0, { [_eQN]: `ReservedInstancesId`, + [_xN]: _rII }]] +]; +exports.FastLaunchLaunchTemplateSpecificationRequest$ = [3, n0, _FLLTSR, + 0, + [_Ver, _LTI, _LTN], + [0, 0, 0], 1 +]; +exports.FastLaunchLaunchTemplateSpecificationResponse$ = [3, n0, _FLLTSRa, + 0, + [_LTI, _LTN, _Ver], + [[0, { [_eQN]: `LaunchTemplateId`, + [_xN]: _lTI }], [0, { [_eQN]: `LaunchTemplateName`, + [_xN]: _lTN }], [0, { [_eQN]: `Version`, + [_xN]: _ve }]] +]; +exports.FastLaunchSnapshotConfigurationRequest$ = [3, n0, _FLSCR, + 0, + [_TRC], + [1] +]; +exports.FastLaunchSnapshotConfigurationResponse$ = [3, n0, _FLSCRa, + 0, + [_TRC], + [[1, { [_eQN]: `TargetResourceCount`, + [_xN]: _tRC }]] +]; +exports.FederatedAuthentication$ = [3, n0, _FA, + 0, + [_SPA, _SSSPA], + [[0, { [_eQN]: `SamlProviderArn`, + [_xN]: _sPA }], [0, { [_eQN]: `SelfServiceSamlProviderArn`, + [_xN]: _sSSPA }]] +]; +exports.FederatedAuthenticationRequest$ = [3, n0, _FAR, + 0, + [_SAMLPA, _SSSAMLPA], + [0, 0] +]; +exports.Filter$ = [3, n0, _Fil, + 0, + [_N, _Va], + [0, [() => ValueStringList, { [_xN]: _V }]] +]; +exports.FilterPortRange$ = [3, n0, _FPR, + 0, + [_FP, _TP], + [[1, { [_eQN]: `FromPort`, + [_xN]: _fP }], [1, { [_eQN]: `ToPort`, + [_xN]: _tP }]] +]; +exports.FirewallStatefulRule$ = [3, n0, _FSRir, + 0, + [_RGA, _So, _Des, _SPo, _DPes, _Pr, _RA, _Di], + [[0, { [_eQN]: `RuleGroupArn`, + [_xN]: _rGA }], [() => ValueStringList, { [_eQN]: `SourceSet`, + [_xN]: _sSo }], [() => ValueStringList, { [_eQN]: `DestinationSet`, + [_xN]: _dSe }], [() => PortRangeList, { [_eQN]: `SourcePortSet`, + [_xN]: _sPS }], [() => PortRangeList, { [_eQN]: `DestinationPortSet`, + [_xN]: _dPS }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [0, { [_eQN]: `RuleAction`, + [_xN]: _rA }], [0, { [_eQN]: `Direction`, + [_xN]: _di }]] +]; +exports.FirewallStatelessRule$ = [3, n0, _FSRi, + 0, + [_RGA, _So, _Des, _SPo, _DPes, _Prot, _RA, _Prio], + [[0, { [_eQN]: `RuleGroupArn`, + [_xN]: _rGA }], [() => ValueStringList, { [_eQN]: `SourceSet`, + [_xN]: _sSo }], [() => ValueStringList, { [_eQN]: `DestinationSet`, + [_xN]: _dSe }], [() => PortRangeList, { [_eQN]: `SourcePortSet`, + [_xN]: _sPS }], [() => PortRangeList, { [_eQN]: `DestinationPortSet`, + [_xN]: _dPS }], [() => ProtocolIntList, { [_eQN]: `ProtocolSet`, + [_xN]: _pSro }], [0, { [_eQN]: `RuleAction`, + [_xN]: _rA }], [1, { [_eQN]: `Priority`, + [_xN]: _pri }]] +]; +exports.FleetBlockDeviceMappingRequest$ = [3, n0, _FBDMR, + 0, + [_DN, _VN, _Eb, _ND], + [0, 0, () => exports.FleetEbsBlockDeviceRequest$, 0] +]; +exports.FleetCapacityReservation$ = [3, n0, _FCRl, + 0, + [_CRI, _AZI, _IT, _IPn, _AZ, _TIC, _FCu, _EO, _CD, _We, _Prio], + [[0, { [_eQN]: `CapacityReservationId`, + [_xN]: _cRI }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `InstancePlatform`, + [_xN]: _iPn }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [1, { [_eQN]: `TotalInstanceCount`, + [_xN]: _tIC }], [1, { [_eQN]: `FulfilledCapacity`, + [_xN]: _fC }], [2, { [_eQN]: `EbsOptimized`, + [_xN]: _eO }], [4, { [_eQN]: `CreateDate`, + [_xN]: _cD }], [1, { [_eQN]: `Weight`, + [_xN]: _we }], [1, { [_eQN]: `Priority`, + [_xN]: _pri }]] +]; +exports.FleetData$ = [3, n0, _FDl, + 0, + [_ASc, _CTr, _FIl, _FS, _CT, _ECTP, _FCu, _FODC, _LTC, _TCS, _TIWE, _Ty, _VF, _VU, _RUI, _SO, _ODO, _RCO, _T, _Err, _Ins, _Con], + [[0, { [_eQN]: `ActivityStatus`, + [_xN]: _aSc }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [0, { [_eQN]: `FleetId`, + [_xN]: _fIl }], [0, { [_eQN]: `FleetState`, + [_xN]: _fSl }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [0, { [_eQN]: `ExcessCapacityTerminationPolicy`, + [_xN]: _eCTP }], [1, { [_eQN]: `FulfilledCapacity`, + [_xN]: _fC }], [1, { [_eQN]: `FulfilledOnDemandCapacity`, + [_xN]: _fODC }], [() => FleetLaunchTemplateConfigList, { [_eQN]: `LaunchTemplateConfigs`, + [_xN]: _lTC }], [() => exports.TargetCapacitySpecification$, { [_eQN]: `TargetCapacitySpecification`, + [_xN]: _tCS }], [2, { [_eQN]: `TerminateInstancesWithExpiration`, + [_xN]: _tIWE }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [4, { [_eQN]: `ValidFrom`, + [_xN]: _vF }], [4, { [_eQN]: `ValidUntil`, + [_xN]: _vU }], [2, { [_eQN]: `ReplaceUnhealthyInstances`, + [_xN]: _rUI }], [() => exports.SpotOptions$, { [_eQN]: `SpotOptions`, + [_xN]: _sO }], [() => exports.OnDemandOptions$, { [_eQN]: `OnDemandOptions`, + [_xN]: _oDO }], [() => exports.ReservedCapacityOptions$, { [_eQN]: `ReservedCapacityOptions`, + [_xN]: _rCO }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => DescribeFleetsErrorSet, { [_eQN]: `ErrorSet`, + [_xN]: _eSr }], [() => DescribeFleetsInstancesSet, { [_eQN]: `FleetInstanceSet`, + [_xN]: _fIS }], [0, { [_eQN]: `Context`, + [_xN]: _cont }]] +]; +exports.FleetEbsBlockDeviceRequest$ = [3, n0, _FEBDR, + 0, + [_Enc, _DOT, _Io, _Th, _KKI, _SIn, _VSo, _VT], + [2, 2, 1, 1, 0, 0, 1, 0] +]; +exports.FleetLaunchTemplateConfig$ = [3, n0, _FLTC, + 0, + [_LTS, _Ov], + [[() => exports.FleetLaunchTemplateSpecification$, { [_eQN]: `LaunchTemplateSpecification`, + [_xN]: _lTS }], [() => FleetLaunchTemplateOverridesList, { [_eQN]: `Overrides`, + [_xN]: _ov }]] +]; +exports.FleetLaunchTemplateConfigRequest$ = [3, n0, _FLTCR, + 0, + [_LTS, _Ov], + [() => exports.FleetLaunchTemplateSpecificationRequest$, [() => FleetLaunchTemplateOverridesListRequest, 0]] +]; +exports.FleetLaunchTemplateOverrides$ = [3, n0, _FLTO, + 0, + [_IT, _MPax, _SIu, _AZ, _WCe, _Prio, _Pla, _IRn, _IIm, _BDMl, _AZI], + [[0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `MaxPrice`, + [_xN]: _mP }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [1, { [_eQN]: `WeightedCapacity`, + [_xN]: _wC }], [1, { [_eQN]: `Priority`, + [_xN]: _pri }], [() => exports.PlacementResponse$, { [_eQN]: `Placement`, + [_xN]: _pla }], [() => exports.InstanceRequirements$, { [_eQN]: `InstanceRequirements`, + [_xN]: _iR }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [() => BlockDeviceMappingResponseList, { [_eQN]: `BlockDeviceMappingSet`, + [_xN]: _bDMS }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }]] +]; +exports.FleetLaunchTemplateOverridesRequest$ = [3, n0, _FLTOR, + 0, + [_IT, _MPax, _SIu, _AZ, _WCe, _Prio, _Pla, _BDMl, _IRn, _IIm, _AZI], + [0, 0, 0, 0, 1, 1, [() => exports.Placement$, 0], [() => FleetBlockDeviceMappingRequestList, { [_xN]: _BDM }], [() => exports.InstanceRequirementsRequest$, 0], 0, 0] +]; +exports.FleetLaunchTemplateSpecification$ = [3, n0, _FLTS, + 0, + [_LTI, _LTN, _Ver], + [[0, { [_eQN]: `LaunchTemplateId`, + [_xN]: _lTI }], [0, { [_eQN]: `LaunchTemplateName`, + [_xN]: _lTN }], [0, { [_eQN]: `Version`, + [_xN]: _ve }]] +]; +exports.FleetLaunchTemplateSpecificationRequest$ = [3, n0, _FLTSR, + 0, + [_LTI, _LTN, _Ver], + [0, 0, 0] +]; +exports.FleetSpotCapacityRebalance$ = [3, n0, _FSCR, + 0, + [_RSep, _TDe], + [[0, { [_eQN]: `ReplacementStrategy`, + [_xN]: _rSepl }], [1, { [_eQN]: `TerminationDelay`, + [_xN]: _tD }]] +]; +exports.FleetSpotCapacityRebalanceRequest$ = [3, n0, _FSCRR, + 0, + [_RSep, _TDe], + [0, 1] +]; +exports.FleetSpotMaintenanceStrategies$ = [3, n0, _FSMS, + 0, + [_CRapa], + [[() => exports.FleetSpotCapacityRebalance$, { [_eQN]: `CapacityRebalance`, + [_xN]: _cRa }]] +]; +exports.FleetSpotMaintenanceStrategiesRequest$ = [3, n0, _FSMSR, + 0, + [_CRapa], + [() => exports.FleetSpotCapacityRebalanceRequest$] +]; +exports.FlowLog$ = [3, n0, _FLl, + 0, + [_CTre, _DLEM, _DLPA, _DCAR, _DLS, _FLIl, _FLS, _LGN, _RIeso, _TT, _LDTo, _LD, _LF, _T, _MAI, _DOe], + [[4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [0, { [_eQN]: `DeliverLogsErrorMessage`, + [_xN]: _dLEM }], [0, { [_eQN]: `DeliverLogsPermissionArn`, + [_xN]: _dLPA }], [0, { [_eQN]: `DeliverCrossAccountRole`, + [_xN]: _dCAR }], [0, { [_eQN]: `DeliverLogsStatus`, + [_xN]: _dLS }], [0, { [_eQN]: `FlowLogId`, + [_xN]: _fLI }], [0, { [_eQN]: `FlowLogStatus`, + [_xN]: _fLSl }], [0, { [_eQN]: `LogGroupName`, + [_xN]: _lGN }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `TrafficType`, + [_xN]: _tT }], [0, { [_eQN]: `LogDestinationType`, + [_xN]: _lDTo }], [0, { [_eQN]: `LogDestination`, + [_xN]: _lD }], [0, { [_eQN]: `LogFormat`, + [_xN]: _lF }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [1, { [_eQN]: `MaxAggregationInterval`, + [_xN]: _mAI }], [() => exports.DestinationOptionsResponse$, { [_eQN]: `DestinationOptions`, + [_xN]: _dOe }]] +]; +exports.FpgaDeviceInfo$ = [3, n0, _FDI, + 0, + [_N, _Man, _Cou, _MIe], + [[0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `Manufacturer`, + [_xN]: _man }], [1, { [_eQN]: `Count`, + [_xN]: _cou }], [() => exports.FpgaDeviceMemoryInfo$, { [_eQN]: `MemoryInfo`, + [_xN]: _mIe }]] +]; +exports.FpgaDeviceMemoryInfo$ = [3, n0, _FDMI, + 0, + [_SIMB], + [[1, { [_eQN]: `SizeInMiB`, + [_xN]: _sIMB }]] +]; +exports.FpgaImage$ = [3, n0, _FIpg, + 0, + [_FII, _FIGI, _N, _De, _SVh, _PIc, _St, _CTr, _UT, _OI, _OAw, _PCro, _T, _Pu, _DRS, _ITnst], + [[0, { [_eQN]: `FpgaImageId`, + [_xN]: _fII }], [0, { [_eQN]: `FpgaImageGlobalId`, + [_xN]: _fIGI }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `ShellVersion`, + [_xN]: _sVh }], [() => exports.PciId$, { [_eQN]: `PciId`, + [_xN]: _pIc }], [() => exports.FpgaImageState$, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [4, { [_eQN]: `UpdateTime`, + [_xN]: _uT }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `OwnerAlias`, + [_xN]: _oAw }], [() => ProductCodeList, { [_eQN]: `ProductCodes`, + [_xN]: _pC }], [() => TagList, { [_eQN]: `Tags`, + [_xN]: _tag }], [2, { [_eQN]: `Public`, + [_xN]: _pu }], [2, { [_eQN]: `DataRetentionSupport`, + [_xN]: _dRS }], [() => InstanceTypesList, { [_eQN]: `InstanceTypes`, + [_xN]: _iTnst }]] +]; +exports.FpgaImageAttribute$ = [3, n0, _FIA, + 0, + [_FII, _N, _De, _LP, _PCro], + [[0, { [_eQN]: `FpgaImageId`, + [_xN]: _fII }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => LoadPermissionList, { [_eQN]: `LoadPermissions`, + [_xN]: _lP }], [() => ProductCodeList, { [_eQN]: `ProductCodes`, + [_xN]: _pC }]] +]; +exports.FpgaImageState$ = [3, n0, _FIS, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.FpgaInfo$ = [3, n0, _FIpga, + 0, + [_Fp, _TFMIMB], + [[() => FpgaDeviceInfoList, { [_eQN]: `Fpgas`, + [_xN]: _fp }], [1, { [_eQN]: `TotalFpgaMemoryInMiB`, + [_xN]: _tFMIMB }]] +]; +exports.GetActiveVpnTunnelStatusRequest$ = [3, n0, _GAVTSR, + 0, + [_VCIp, _VTOIA, _DR], + [0, 0, 2], 2 +]; +exports.GetActiveVpnTunnelStatusResult$ = [3, n0, _GAVTSRe, + 0, + [_AVTS], + [[() => exports.ActiveVpnTunnelStatus$, { [_eQN]: `ActiveVpnTunnelStatus`, + [_xN]: _aVTS }]] +]; +exports.GetAllowedImagesSettingsRequest$ = [3, n0, _GAISR, + 0, + [_DR], + [2] +]; +exports.GetAllowedImagesSettingsResult$ = [3, n0, _GAISRe, + 0, + [_St, _ICm, _MB], + [[0, { [_eQN]: `State`, + [_xN]: _st }], [() => ImageCriterionList, { [_eQN]: `ImageCriterionSet`, + [_xN]: _iCS }], [0, { [_eQN]: `ManagedBy`, + [_xN]: _mB }]] +]; +exports.GetAssociatedEnclaveCertificateIamRolesRequest$ = [3, n0, _GAECIRR, + 0, + [_CAe, _DR], + [0, 2], 1 +]; +exports.GetAssociatedEnclaveCertificateIamRolesResult$ = [3, n0, _GAECIRRe, + 0, + [_ARsso], + [[() => AssociatedRolesList, { [_eQN]: `AssociatedRoleSet`, + [_xN]: _aRS }]] +]; +exports.GetAssociatedIpv6PoolCidrsRequest$ = [3, n0, _GAIPCR, + 0, + [_PIo, _NTe, _MR, _DR], + [0, 0, 1, 2], 1 +]; +exports.GetAssociatedIpv6PoolCidrsResult$ = [3, n0, _GAIPCRe, + 0, + [_ICAp, _NTe], + [[() => Ipv6CidrAssociationSet, { [_eQN]: `Ipv6CidrAssociationSet`, + [_xN]: _iCAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetAwsNetworkPerformanceDataRequest$ = [3, n0, _GANPDR, + 0, + [_DQa, _ST, _ETnd, _MR, _NTe, _DR], + [[() => DataQueries, { [_xN]: _DQ }], 4, 4, 1, 0, 2] +]; +exports.GetAwsNetworkPerformanceDataResult$ = [3, n0, _GANPDRe, + 0, + [_DRat, _NTe], + [[() => DataResponses, { [_eQN]: `DataResponseSet`, + [_xN]: _dRSa }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetCapacityManagerAttributesRequest$ = [3, n0, _GCMAR, + 0, + [_DR], + [2] +]; +exports.GetCapacityManagerAttributesResult$ = [3, n0, _GCMARe, + 0, + [_CMS, _OAr, _DEC, _ISng, _ISM, _EDT, _LDTa], + [[0, { [_eQN]: `CapacityManagerStatus`, + [_xN]: _cMS }], [2, { [_eQN]: `OrganizationsAccess`, + [_xN]: _oAr }], [1, { [_eQN]: `DataExportCount`, + [_xN]: _dEC }], [0, { [_eQN]: `IngestionStatus`, + [_xN]: _iSng }], [0, { [_eQN]: `IngestionStatusMessage`, + [_xN]: _iSM }], [4, { [_eQN]: `EarliestDatapointTimestamp`, + [_xN]: _eDT }], [4, { [_eQN]: `LatestDatapointTimestamp`, + [_xN]: _lDTa }]] +]; +exports.GetCapacityManagerMetricDataRequest$ = [3, n0, _GCMMDR, + 0, + [_MN, _ST, _ETnd, _Per, _GB, _FB, _MR, _NTe, _DR], + [[() => MetricSet, { [_xN]: _MNe }], 4, 4, 1, [() => GroupBySet, { [_xN]: _GB }], [() => CapacityManagerConditionSet, 0], 1, 0, 2], 4 +]; +exports.GetCapacityManagerMetricDataResult$ = [3, n0, _GCMMDRe, + 0, + [_MDR, _NTe], + [[() => MetricDataResultSet, { [_eQN]: `MetricDataResultSet`, + [_xN]: _mDRS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetCapacityManagerMetricDimensionsRequest$ = [3, n0, _GCMMDRet, + 0, + [_GB, _ST, _ETnd, _MN, _FB, _MR, _NTe, _DR], + [[() => GroupBySet, { [_xN]: _GB }], 4, 4, [() => MetricSet, { [_xN]: _MNe }], [() => CapacityManagerConditionSet, 0], 1, 0, 2], 4 +]; +exports.GetCapacityManagerMetricDimensionsResult$ = [3, n0, _GCMMDReta, + 0, + [_MDRe, _NTe], + [[() => MetricDimensionResultSet, { [_eQN]: `MetricDimensionResultSet`, + [_xN]: _mDRSe }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetCapacityManagerMonitoredTagKeysRequest$ = [3, n0, _GCMMTKR, + 0, + [_MR, _NTe, _DR], + [1, 0, 2] +]; +exports.GetCapacityManagerMonitoredTagKeysResult$ = [3, n0, _GCMMTKRe, + 0, + [_CMTK, _NTe], + [[() => CapacityManagerMonitoredTagKeyList, { [_eQN]: `CapacityManagerTagKeySet`, + [_xN]: _cMTKS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetCapacityReservationUsageRequest$ = [3, n0, _GCRUR, + 0, + [_CRI, _NTe, _MR, _DR], + [0, 0, 1, 2], 1 +]; +exports.GetCapacityReservationUsageResult$ = [3, n0, _GCRURe, + 0, + [_NTe, _CRI, _IT, _TIC, _AICv, _St, _IU, _Int, _ICA, _IIn], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [0, { [_eQN]: `CapacityReservationId`, + [_xN]: _cRI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [1, { [_eQN]: `TotalInstanceCount`, + [_xN]: _tIC }], [1, { [_eQN]: `AvailableInstanceCount`, + [_xN]: _aICv }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => InstanceUsageSet, { [_eQN]: `InstanceUsageSet`, + [_xN]: _iUS }], [2, { [_eQN]: `Interruptible`, + [_xN]: _int }], [() => exports.InterruptibleCapacityAllocation$, { [_eQN]: `InterruptibleCapacityAllocation`, + [_xN]: _iCA }], [() => exports.InterruptionInfo$, { [_eQN]: `InterruptionInfo`, + [_xN]: _iIn }]] +]; +exports.GetCoipPoolUsageRequest$ = [3, n0, _GCPUR, + 0, + [_PIo, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.GetCoipPoolUsageResult$ = [3, n0, _GCPURe, + 0, + [_CPI, _CAUo, _LGRTI, _NTe], + [[0, { [_eQN]: `CoipPoolId`, + [_xN]: _cPI }], [() => CoipAddressUsageSet, { [_eQN]: `CoipAddressUsageSet`, + [_xN]: _cAUS }], [0, { [_eQN]: `LocalGatewayRouteTableId`, + [_xN]: _lGRTI }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetConsoleOutputRequest$ = [3, n0, _GCOR, + 0, + [_II, _La, _DR], + [0, 2, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.GetConsoleOutputResult$ = [3, n0, _GCORe, + 0, + [_II, _Ti, _Ou], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [4, { [_eQN]: `Timestamp`, + [_xN]: _ti }], [0, { [_eQN]: `Output`, + [_xN]: _ou }]] +]; +exports.GetConsoleScreenshotRequest$ = [3, n0, _GCSR, + 0, + [_II, _DR, _WU], + [0, 2, 2], 1 +]; +exports.GetConsoleScreenshotResult$ = [3, n0, _GCSRe, + 0, + [_IDm, _II], + [[0, { [_eQN]: `ImageData`, + [_xN]: _iD }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }]] +]; +exports.GetDeclarativePoliciesReportSummaryRequest$ = [3, n0, _GDPRSR, + 0, + [_RI, _DR], + [0, 2], 1 +]; +exports.GetDeclarativePoliciesReportSummaryResult$ = [3, n0, _GDPRSRe, + 0, + [_RI, _SB, _SP, _TIa, _ST, _ETnd, _NOA, _NOFA, _AStt], + [[0, { [_eQN]: `ReportId`, + [_xN]: _rIe }], [0, { [_eQN]: `S3Bucket`, + [_xN]: _sB }], [0, { [_eQN]: `S3Prefix`, + [_xN]: _sP }], [0, { [_eQN]: `TargetId`, + [_xN]: _tIa }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }], [4, { [_eQN]: `EndTime`, + [_xN]: _eTn }], [1, { [_eQN]: `NumberOfAccounts`, + [_xN]: _nOA }], [1, { [_eQN]: `NumberOfFailedAccounts`, + [_xN]: _nOFA }], [() => AttributeSummaryList, { [_eQN]: `AttributeSummarySet`, + [_xN]: _aSSt }]] +]; +exports.GetDefaultCreditSpecificationRequest$ = [3, n0, _GDCSR, + 0, + [_IF, _DR], + [0, 2], 1 +]; +exports.GetDefaultCreditSpecificationResult$ = [3, n0, _GDCSRe, + 0, + [_IFCS], + [[() => exports.InstanceFamilyCreditSpecification$, { [_eQN]: `InstanceFamilyCreditSpecification`, + [_xN]: _iFCS }]] +]; +exports.GetEbsDefaultKmsKeyIdRequest$ = [3, n0, _GEDKKIR, + 0, + [_DR], + [2] +]; +exports.GetEbsDefaultKmsKeyIdResult$ = [3, n0, _GEDKKIRe, + 0, + [_KKI], + [[0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }]] +]; +exports.GetEbsEncryptionByDefaultRequest$ = [3, n0, _GEEBDR, + 0, + [_DR], + [2] +]; +exports.GetEbsEncryptionByDefaultResult$ = [3, n0, _GEEBDRe, + 0, + [_EEBD, _STs], + [[2, { [_eQN]: `EbsEncryptionByDefault`, + [_xN]: _eEBD }], [0, { [_eQN]: `SseType`, + [_xN]: _sTs }]] +]; +exports.GetEnabledIpamPolicyRequest$ = [3, n0, _GEIPR, + 0, + [_DR], + [2] +]; +exports.GetEnabledIpamPolicyResult$ = [3, n0, _GEIPRe, + 0, + [_IPE, _IPIp, _MB], + [[2, { [_eQN]: `IpamPolicyEnabled`, + [_xN]: _iPE }], [0, { [_eQN]: `IpamPolicyId`, + [_xN]: _iPI }], [0, { [_eQN]: `ManagedBy`, + [_xN]: _mB }]] +]; +exports.GetFlowLogsIntegrationTemplateRequest$ = [3, n0, _GFLITR, + 0, + [_FLIl, _CDSDA, _ISnt, _DR], + [0, 0, [() => exports.IntegrateServices$, { [_xN]: _ISnte }], 2], 3 +]; +exports.GetFlowLogsIntegrationTemplateResult$ = [3, n0, _GFLITRe, + 0, + [_Resu], + [[0, { [_eQN]: `Result`, + [_xN]: _res }]] +]; +exports.GetGroupsForCapacityReservationRequest$ = [3, n0, _GGFCRR, + 0, + [_CRI, _NTe, _MR, _DR], + [0, 0, 1, 2], 1 +]; +exports.GetGroupsForCapacityReservationResult$ = [3, n0, _GGFCRRe, + 0, + [_NTe, _CRGa], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => CapacityReservationGroupSet, { [_eQN]: `CapacityReservationGroupSet`, + [_xN]: _cRGS }]] +]; +exports.GetHostReservationPurchasePreviewRequest$ = [3, n0, _GHRPPR, + 0, + [_HIS, _OIf], + [[() => RequestHostIdSet, 0], 0], 2 +]; +exports.GetHostReservationPurchasePreviewResult$ = [3, n0, _GHRPPRe, + 0, + [_CC, _Pur, _THP, _TUP], + [[0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [() => PurchaseSet, { [_eQN]: `Purchase`, + [_xN]: _pur }], [0, { [_eQN]: `TotalHourlyPrice`, + [_xN]: _tHP }], [0, { [_eQN]: `TotalUpfrontPrice`, + [_xN]: _tUP }]] +]; +exports.GetImageAncestryRequest$ = [3, n0, _GIAR, + 0, + [_IIm, _DR], + [0, 2], 1 +]; +exports.GetImageAncestryResult$ = [3, n0, _GIARe, + 0, + [_IAE], + [[() => ImageAncestryEntryList, { [_eQN]: `ImageAncestryEntrySet`, + [_xN]: _iAES }]] +]; +exports.GetImageBlockPublicAccessStateRequest$ = [3, n0, _GIBPASR, + 0, + [_DR], + [2] +]; +exports.GetImageBlockPublicAccessStateResult$ = [3, n0, _GIBPASRe, + 0, + [_IBPAS, _MB], + [[0, { [_eQN]: `ImageBlockPublicAccessState`, + [_xN]: _iBPAS }], [0, { [_eQN]: `ManagedBy`, + [_xN]: _mB }]] +]; +exports.GetInstanceMetadataDefaultsRequest$ = [3, n0, _GIMDR, + 0, + [_DR], + [2] +]; +exports.GetInstanceMetadataDefaultsResult$ = [3, n0, _GIMDRe, + 0, + [_AL], + [[() => exports.InstanceMetadataDefaultsResponse$, { [_eQN]: `AccountLevel`, + [_xN]: _aL }]] +]; +exports.GetInstanceTpmEkPubRequest$ = [3, n0, _GITEPR, + 0, + [_II, _KT, _KF, _DR], + [[0, { [_xN]: _II }], 0, 0, 2], 3 +]; +exports.GetInstanceTpmEkPubResult$ = [3, n0, _GITEPRe, + 0, + [_II, _KT, _KF, _KV], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `KeyType`, + [_xN]: _kT }], [0, { [_eQN]: `KeyFormat`, + [_xN]: _kF }], [() => EkPubKeyValue, { [_eQN]: `KeyValue`, + [_xN]: _kV }]] +]; +exports.GetInstanceTypesFromInstanceRequirementsRequest$ = [3, n0, _GITFIRR, + 0, + [_ATr, _VTi, _IRn, _DR, _MR, _NTe, _Con], + [[() => ArchitectureTypeSet, { [_xN]: _ATrc }], [() => VirtualizationTypeSet, { [_xN]: _VTir }], [() => exports.InstanceRequirementsRequest$, 0], 2, 1, 0, 0], 3 +]; +exports.GetInstanceTypesFromInstanceRequirementsResult$ = [3, n0, _GITFIRRe, + 0, + [_ITnst, _NTe], + [[() => InstanceTypeInfoFromInstanceRequirementsSet, { [_eQN]: `InstanceTypeSet`, + [_xN]: _iTS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetInstanceUefiDataRequest$ = [3, n0, _GIUDR, + 0, + [_II, _DR], + [[0, { [_xN]: _II }], 2], 1 +]; +exports.GetInstanceUefiDataResult$ = [3, n0, _GIUDRe, + 0, + [_II, _UD], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `UefiData`, + [_xN]: _uD }]] +]; +exports.GetIpamAddressHistoryRequest$ = [3, n0, _GIAHR, + 0, + [_Ci, _ISI, _DR, _VI, _ST, _ETnd, _MR, _NTe], + [0, 0, 2, 0, 4, 4, 1, 0], 2 +]; +exports.GetIpamAddressHistoryResult$ = [3, n0, _GIAHRe, + 0, + [_HRi, _NTe], + [[() => IpamAddressHistoryRecordSet, { [_eQN]: `HistoryRecordSet`, + [_xN]: _hRS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetIpamDiscoveredAccountsRequest$ = [3, n0, _GIDAR, + 0, + [_IRDI, _DRi, _DR, _Fi, _NTe, _MR], + [0, 0, 2, [() => FilterList, { [_xN]: _Fil }], 0, 1], 2 +]; +exports.GetIpamDiscoveredAccountsResult$ = [3, n0, _GIDARe, + 0, + [_IDA, _NTe], + [[() => IpamDiscoveredAccountSet, { [_eQN]: `IpamDiscoveredAccountSet`, + [_xN]: _iDAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetIpamDiscoveredPublicAddressesRequest$ = [3, n0, _GIDPAR, + 0, + [_IRDI, _ARd, _DR, _Fi, _NTe, _MR], + [0, 0, 2, [() => FilterList, { [_xN]: _Fil }], 0, 1], 2 +]; +exports.GetIpamDiscoveredPublicAddressesResult$ = [3, n0, _GIDPARe, + 0, + [_IDPA, _OST, _NTe], + [[() => IpamDiscoveredPublicAddressSet, { [_eQN]: `IpamDiscoveredPublicAddressSet`, + [_xN]: _iDPAS }], [4, { [_eQN]: `OldestSampleTime`, + [_xN]: _oST }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetIpamDiscoveredResourceCidrsRequest$ = [3, n0, _GIDRCR, + 0, + [_IRDI, _RR, _DR, _Fi, _NTe, _MR], + [0, 0, 2, [() => FilterList, { [_xN]: _Fil }], 0, 1], 2 +]; +exports.GetIpamDiscoveredResourceCidrsResult$ = [3, n0, _GIDRCRe, + 0, + [_IDRC, _NTe], + [[() => IpamDiscoveredResourceCidrSet, { [_eQN]: `IpamDiscoveredResourceCidrSet`, + [_xN]: _iDRCS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetIpamPolicyAllocationRulesRequest$ = [3, n0, _GIPARR, + 0, + [_IPIp, _DR, _Fi, _Lo, _RTe, _MR, _NTe], + [0, 2, [() => FilterList, { [_xN]: _Fil }], 0, 0, 1, 0], 1 +]; +exports.GetIpamPolicyAllocationRulesResult$ = [3, n0, _GIPARRe, + 0, + [_IPD, _NTe], + [[() => IpamPolicyDocumentSet, { [_eQN]: `IpamPolicyDocumentSet`, + [_xN]: _iPDS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetIpamPolicyOrganizationTargetsRequest$ = [3, n0, _GIPOTR, + 0, + [_IPIp, _DR, _MR, _NTe, _Fi], + [0, 2, 1, 0, [() => FilterList, { [_xN]: _Fil }]], 1 +]; +exports.GetIpamPolicyOrganizationTargetsResult$ = [3, n0, _GIPOTRe, + 0, + [_OTr, _NTe], + [[() => IpamPolicyOrganizationTargetSet, { [_eQN]: `OrganizationTargetSet`, + [_xN]: _oTS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetIpamPoolAllocationsRequest$ = [3, n0, _GIPAR, + 0, + [_IPI, _DR, _IPAI, _Fi, _MR, _NTe], + [0, 2, 0, [() => FilterList, { [_xN]: _Fil }], 1, 0], 1 +]; +exports.GetIpamPoolAllocationsResult$ = [3, n0, _GIPARe, + 0, + [_IPAp, _NTe], + [[() => IpamPoolAllocationSet, { [_eQN]: `IpamPoolAllocationSet`, + [_xN]: _iPAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetIpamPoolCidrsRequest$ = [3, n0, _GIPCR, + 0, + [_IPI, _DR, _Fi, _MR, _NTe], + [0, 2, [() => FilterList, { [_xN]: _Fil }], 1, 0], 1 +]; +exports.GetIpamPoolCidrsResult$ = [3, n0, _GIPCRe, + 0, + [_IPCpam, _NTe], + [[() => IpamPoolCidrSet, { [_eQN]: `IpamPoolCidrSet`, + [_xN]: _iPCS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetIpamPrefixListResolverRulesRequest$ = [3, n0, _GIPLRRR, + 0, + [_IPLRI, _DR, _Fi, _MR, _NTe], + [0, 2, [() => FilterList, { [_xN]: _Fil }], 1, 0], 1 +]; +exports.GetIpamPrefixListResolverRulesResult$ = [3, n0, _GIPLRRRe, + 0, + [_Ru, _NTe], + [[() => IpamPrefixListResolverRuleSet, { [_eQN]: `RuleSet`, + [_xN]: _rSu }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetIpamPrefixListResolverVersionEntriesRequest$ = [3, n0, _GIPLRVER, + 0, + [_IPLRI, _IPLRV, _DR, _MR, _NTe], + [0, 1, 2, 1, 0], 2 +]; +exports.GetIpamPrefixListResolverVersionEntriesResult$ = [3, n0, _GIPLRVERe, + 0, + [_Ent, _NTe], + [[() => IpamPrefixListResolverVersionEntrySet, { [_eQN]: `EntrySet`, + [_xN]: _eSnt }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetIpamPrefixListResolverVersionsRequest$ = [3, n0, _GIPLRVR, + 0, + [_IPLRI, _DR, _IPLRVp, _MR, _Fi, _NTe], + [0, 2, [() => IpamPrefixListResolverVersionNumberSet, { [_xN]: _IPLRV }], 1, [() => FilterList, { [_xN]: _Fil }], 0], 1 +]; +exports.GetIpamPrefixListResolverVersionsResult$ = [3, n0, _GIPLRVRe, + 0, + [_IPLRVp, _NTe], + [[() => IpamPrefixListResolverVersionSet, { [_eQN]: `IpamPrefixListResolverVersionSet`, + [_xN]: _iPLRVS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetIpamResourceCidrsRequest$ = [3, n0, _GIRCR, + 0, + [_ISI, _DR, _Fi, _MR, _NTe, _IPI, _RIeso, _RTe, _RTeso, _ROe], + [0, 2, [() => FilterList, { [_xN]: _Fil }], 1, 0, 0, 0, 0, () => exports.RequestIpamResourceTag$, 0], 1 +]; +exports.GetIpamResourceCidrsResult$ = [3, n0, _GIRCRe, + 0, + [_NTe, _IRC], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => IpamResourceCidrSet, { [_eQN]: `IpamResourceCidrSet`, + [_xN]: _iRCS }]] +]; +exports.GetLaunchTemplateDataRequest$ = [3, n0, _GLTDR, + 0, + [_II, _DR], + [0, 2], 1 +]; +exports.GetLaunchTemplateDataResult$ = [3, n0, _GLTDRe, + 0, + [_LTD], + [[() => exports.ResponseLaunchTemplateData$, { [_eQN]: `LaunchTemplateData`, + [_xN]: _lTD }]] +]; +exports.GetManagedPrefixListAssociationsRequest$ = [3, n0, _GMPLAR, + 0, + [_PLI, _DR, _MR, _NTe], + [0, 2, 1, 0], 1 +]; +exports.GetManagedPrefixListAssociationsResult$ = [3, n0, _GMPLARe, + 0, + [_PLA, _NTe], + [[() => PrefixListAssociationSet, { [_eQN]: `PrefixListAssociationSet`, + [_xN]: _pLAS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetManagedPrefixListEntriesRequest$ = [3, n0, _GMPLER, + 0, + [_PLI, _DR, _TV, _MR, _NTe], + [0, 2, 1, 1, 0], 1 +]; +exports.GetManagedPrefixListEntriesResult$ = [3, n0, _GMPLERe, + 0, + [_Ent, _NTe], + [[() => PrefixListEntrySet, { [_eQN]: `EntrySet`, + [_xN]: _eSnt }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetNetworkInsightsAccessScopeAnalysisFindingsRequest$ = [3, n0, _GNIASAFR, + 0, + [_NIASAI, _MR, _NTe, _DR], + [0, 1, 0, 2], 1 +]; +exports.GetNetworkInsightsAccessScopeAnalysisFindingsResult$ = [3, n0, _GNIASAFRe, + 0, + [_NIASAI, _ASn, _AFn, _NTe], + [[0, { [_eQN]: `NetworkInsightsAccessScopeAnalysisId`, + [_xN]: _nIASAI }], [0, { [_eQN]: `AnalysisStatus`, + [_xN]: _aSn }], [() => AccessScopeAnalysisFindingList, { [_eQN]: `AnalysisFindingSet`, + [_xN]: _aFS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetNetworkInsightsAccessScopeContentRequest$ = [3, n0, _GNIASCR, + 0, + [_NIASI, _DR], + [0, 2], 1 +]; +exports.GetNetworkInsightsAccessScopeContentResult$ = [3, n0, _GNIASCRe, + 0, + [_NIASC], + [[() => exports.NetworkInsightsAccessScopeContent$, { [_eQN]: `NetworkInsightsAccessScopeContent`, + [_xN]: _nIASC }]] +]; +exports.GetPasswordDataRequest$ = [3, n0, _GPDR, + 0, + [_II, _DR], + [0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.GetPasswordDataResult$ = [3, n0, _GPDRe, + 0, + [_II, _Ti, _PD], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [4, { [_eQN]: `Timestamp`, + [_xN]: _ti }], [() => PasswordData, { [_eQN]: `PasswordData`, + [_xN]: _pD }]] +]; +exports.GetReservedInstancesExchangeQuoteRequest$ = [3, n0, _GRIEQR, + 0, + [_RII, _DR, _TC], + [[() => ReservedInstanceIdSet, { [_xN]: _RIIe }], 2, [() => TargetConfigurationRequestSet, { [_xN]: _TCa }]], 1 +]; +exports.GetReservedInstancesExchangeQuoteResult$ = [3, n0, _GRIEQRe, + 0, + [_CC, _IVE, _ORIWEA, _PDa, _RIVR, _RIVS, _TCVR, _TCVS, _VFR], + [[0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [2, { [_eQN]: `IsValidExchange`, + [_xN]: _iVE }], [4, { [_eQN]: `OutputReservedInstancesWillExpireAt`, + [_xN]: _oRIWEA }], [0, { [_eQN]: `PaymentDue`, + [_xN]: _pDa }], [() => exports.ReservationValue$, { [_eQN]: `ReservedInstanceValueRollup`, + [_xN]: _rIVR }], [() => ReservedInstanceReservationValueSet, { [_eQN]: `ReservedInstanceValueSet`, + [_xN]: _rIVS }], [() => exports.ReservationValue$, { [_eQN]: `TargetConfigurationValueRollup`, + [_xN]: _tCVR }], [() => TargetReservationValueSet, { [_eQN]: `TargetConfigurationValueSet`, + [_xN]: _tCVS }], [0, { [_eQN]: `ValidationFailureReason`, + [_xN]: _vFR }]] +]; +exports.GetRouteServerAssociationsRequest$ = [3, n0, _GRSAR, + 0, + [_RSI, _DR], + [0, 2], 1 +]; +exports.GetRouteServerAssociationsResult$ = [3, n0, _GRSARe, + 0, + [_RSAo], + [[() => RouteServerAssociationsList, { [_eQN]: `RouteServerAssociationSet`, + [_xN]: _rSAS }]] +]; +exports.GetRouteServerPropagationsRequest$ = [3, n0, _GRSPR, + 0, + [_RSI, _RTI, _DR], + [0, 0, 2], 1 +]; +exports.GetRouteServerPropagationsResult$ = [3, n0, _GRSPRe, + 0, + [_RSPout], + [[() => RouteServerPropagationsList, { [_eQN]: `RouteServerPropagationSet`, + [_xN]: _rSPSo }]] +]; +exports.GetRouteServerRoutingDatabaseRequest$ = [3, n0, _GRSRDR, + 0, + [_RSI, _NTe, _MR, _DR, _Fi], + [0, 0, 1, 2, [() => FilterList, { [_xN]: _Fil }]], 1 +]; +exports.GetRouteServerRoutingDatabaseResult$ = [3, n0, _GRSRDRe, + 0, + [_ARP, _Rou, _NTe], + [[2, { [_eQN]: `AreRoutesPersisted`, + [_xN]: _aRP }], [() => RouteServerRouteList, { [_eQN]: `RouteSet`, + [_xN]: _rSou }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetSecurityGroupsForVpcRequest$ = [3, n0, _GSGFVR, + 0, + [_VI, _NTe, _MR, _Fi, _DR], + [0, 0, 1, [() => FilterList, { [_xN]: _Fil }], 2], 1 +]; +exports.GetSecurityGroupsForVpcResult$ = [3, n0, _GSGFVRe, + 0, + [_NTe, _SGFV], + [[0, { [_eQN]: `NextToken`, + [_xN]: _nTe }], [() => SecurityGroupForVpcList, { [_eQN]: `SecurityGroupForVpcSet`, + [_xN]: _sGFVS }]] +]; +exports.GetSerialConsoleAccessStatusRequest$ = [3, n0, _GSCASR, + 0, + [_DR], + [2] +]; +exports.GetSerialConsoleAccessStatusResult$ = [3, n0, _GSCASRe, + 0, + [_SCAE, _MB], + [[2, { [_eQN]: `SerialConsoleAccessEnabled`, + [_xN]: _sCAE }], [0, { [_eQN]: `ManagedBy`, + [_xN]: _mB }]] +]; +exports.GetSnapshotBlockPublicAccessStateRequest$ = [3, n0, _GSBPASR, + 0, + [_DR], + [2] +]; +exports.GetSnapshotBlockPublicAccessStateResult$ = [3, n0, _GSBPASRe, + 0, + [_St, _MB], + [[0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `ManagedBy`, + [_xN]: _mB }]] +]; +exports.GetSpotPlacementScoresRequest$ = [3, n0, _GSPSR, + 0, + [_TCar, _ITnst, _TCUT, _SAZ, _RNe, _IRWM, _DR, _MR, _NTe], + [1, [64 | 0, { [_xN]: _IT }], 0, 2, [64 | 0, { [_xN]: _RN }], [() => exports.InstanceRequirementsWithMetadataRequest$, 0], 2, 1, 0], 1 +]; +exports.GetSpotPlacementScoresResult$ = [3, n0, _GSPSRe, + 0, + [_SPS, _NTe], + [[() => SpotPlacementScores, { [_eQN]: `SpotPlacementScoreSet`, + [_xN]: _sPSS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetSubnetCidrReservationsRequest$ = [3, n0, _GSCRR, + 0, + [_SIu, _Fi, _DR, _NTe, _MR], + [0, [() => FilterList, { [_xN]: _Fil }], 2, 0, 1], 1 +]; +exports.GetSubnetCidrReservationsResult$ = [3, n0, _GSCRRe, + 0, + [_SICR, _SICRu, _NTe], + [[() => SubnetCidrReservationList, { [_eQN]: `SubnetIpv4CidrReservationSet`, + [_xN]: _sICRS }], [() => SubnetCidrReservationList, { [_eQN]: `SubnetIpv6CidrReservationSet`, + [_xN]: _sICRSu }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetTransitGatewayAttachmentPropagationsRequest$ = [3, n0, _GTGAPR, + 0, + [_TGAI, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.GetTransitGatewayAttachmentPropagationsResult$ = [3, n0, _GTGAPRe, + 0, + [_TGAP, _NTe], + [[() => TransitGatewayAttachmentPropagationList, { [_eQN]: `TransitGatewayAttachmentPropagations`, + [_xN]: _tGAP }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetTransitGatewayMeteringPolicyEntriesRequest$ = [3, n0, _GTGMPER, + 0, + [_TGMPI, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.GetTransitGatewayMeteringPolicyEntriesResult$ = [3, n0, _GTGMPERe, + 0, + [_TGMPEr, _NTe], + [[() => TransitGatewayMeteringPolicyEntryList, { [_eQN]: `TransitGatewayMeteringPolicyEntries`, + [_xN]: _tGMPEr }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetTransitGatewayMulticastDomainAssociationsRequest$ = [3, n0, _GTGMDAR, + 0, + [_TGMDI, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.GetTransitGatewayMulticastDomainAssociationsResult$ = [3, n0, _GTGMDARe, + 0, + [_MDA, _NTe], + [[() => TransitGatewayMulticastDomainAssociationList, { [_eQN]: `MulticastDomainAssociations`, + [_xN]: _mDA }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetTransitGatewayPolicyTableAssociationsRequest$ = [3, n0, _GTGPTAR, + 0, + [_TGPTI, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.GetTransitGatewayPolicyTableAssociationsResult$ = [3, n0, _GTGPTARe, + 0, + [_As, _NTe], + [[() => TransitGatewayPolicyTableAssociationList, { [_eQN]: `Associations`, + [_xN]: _a }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetTransitGatewayPolicyTableEntriesRequest$ = [3, n0, _GTGPTER, + 0, + [_TGPTI, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.GetTransitGatewayPolicyTableEntriesResult$ = [3, n0, _GTGPTERe, + 0, + [_TGPTE], + [[() => TransitGatewayPolicyTableEntryList, { [_eQN]: `TransitGatewayPolicyTableEntries`, + [_xN]: _tGPTE }]] +]; +exports.GetTransitGatewayPrefixListReferencesRequest$ = [3, n0, _GTGPLRR, + 0, + [_TGRTI, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.GetTransitGatewayPrefixListReferencesResult$ = [3, n0, _GTGPLRRe, + 0, + [_TGPLRr, _NTe], + [[() => TransitGatewayPrefixListReferenceSet, { [_eQN]: `TransitGatewayPrefixListReferenceSet`, + [_xN]: _tGPLRS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetTransitGatewayRouteTableAssociationsRequest$ = [3, n0, _GTGRTAR, + 0, + [_TGRTI, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.GetTransitGatewayRouteTableAssociationsResult$ = [3, n0, _GTGRTARe, + 0, + [_As, _NTe], + [[() => TransitGatewayRouteTableAssociationList, { [_eQN]: `Associations`, + [_xN]: _a }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetTransitGatewayRouteTablePropagationsRequest$ = [3, n0, _GTGRTPR, + 0, + [_TGRTI, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.GetTransitGatewayRouteTablePropagationsResult$ = [3, n0, _GTGRTPRe, + 0, + [_TGRTP, _NTe], + [[() => TransitGatewayRouteTablePropagationList, { [_eQN]: `TransitGatewayRouteTablePropagations`, + [_xN]: _tGRTP }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetVerifiedAccessEndpointPolicyRequest$ = [3, n0, _GVAEPR, + 0, + [_VAEI, _DR], + [0, 2], 1 +]; +exports.GetVerifiedAccessEndpointPolicyResult$ = [3, n0, _GVAEPRe, + 0, + [_PE, _PDo], + [[2, { [_eQN]: `PolicyEnabled`, + [_xN]: _pE }], [0, { [_eQN]: `PolicyDocument`, + [_xN]: _pDo }]] +]; +exports.GetVerifiedAccessEndpointTargetsRequest$ = [3, n0, _GVAETR, + 0, + [_VAEI, _MR, _NTe, _DR], + [[0, { [_xN]: _VAEI }], 1, 0, 2], 1 +]; +exports.GetVerifiedAccessEndpointTargetsResult$ = [3, n0, _GVAETRe, + 0, + [_VAET, _NTe], + [[() => VerifiedAccessEndpointTargetList, { [_eQN]: `VerifiedAccessEndpointTargetSet`, + [_xN]: _vAETS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetVerifiedAccessGroupPolicyRequest$ = [3, n0, _GVAGPR, + 0, + [_VAGI, _DR], + [0, 2], 1 +]; +exports.GetVerifiedAccessGroupPolicyResult$ = [3, n0, _GVAGPRe, + 0, + [_PE, _PDo], + [[2, { [_eQN]: `PolicyEnabled`, + [_xN]: _pE }], [0, { [_eQN]: `PolicyDocument`, + [_xN]: _pDo }]] +]; +exports.GetVpcResourcesBlockingEncryptionEnforcementRequest$ = [3, n0, _GVRBEER, + 0, + [_VI, _MR, _NTe, _DR], + [0, 1, 0, 2], 1 +]; +exports.GetVpcResourcesBlockingEncryptionEnforcementResult$ = [3, n0, _GVRBEERe, + 0, + [_NCR, _NTe], + [[() => VpcEncryptionNonCompliantResourceList, { [_eQN]: `NonCompliantResourceSet`, + [_xN]: _nCRS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetVpnConnectionDeviceSampleConfigurationRequest$ = [3, n0, _GVCDSCR, + 0, + [_VCIp, _VCDTI, _IKEV, _STa, _DR], + [0, 0, 0, 0, 2], 2 +]; +exports.GetVpnConnectionDeviceSampleConfigurationResult$ = [3, n0, _GVCDSCRe, + 0, + [_VCDSC], + [[() => VpnConnectionDeviceSampleConfiguration, { [_eQN]: `VpnConnectionDeviceSampleConfiguration`, + [_xN]: _vCDSC }]] +]; +exports.GetVpnConnectionDeviceTypesRequest$ = [3, n0, _GVCDTR, + 0, + [_MR, _NTe, _DR], + [1, 0, 2] +]; +exports.GetVpnConnectionDeviceTypesResult$ = [3, n0, _GVCDTRe, + 0, + [_VCDT, _NTe], + [[() => VpnConnectionDeviceTypeList, { [_eQN]: `VpnConnectionDeviceTypeSet`, + [_xN]: _vCDTS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.GetVpnTunnelReplacementStatusRequest$ = [3, n0, _GVTRSR, + 0, + [_VCIp, _VTOIA, _DR], + [0, 0, 2], 2 +]; +exports.GetVpnTunnelReplacementStatusResult$ = [3, n0, _GVTRSRe, + 0, + [_VCIp, _TGI, _CGIu, _VGI, _VTOIA, _MDa], + [[0, { [_eQN]: `VpnConnectionId`, + [_xN]: _vCI }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `CustomerGatewayId`, + [_xN]: _cGIu }], [0, { [_eQN]: `VpnGatewayId`, + [_xN]: _vGI }], [0, { [_eQN]: `VpnTunnelOutsideIpAddress`, + [_xN]: _vTOIA }], [() => exports.MaintenanceDetails$, { [_eQN]: `MaintenanceDetails`, + [_xN]: _mD }]] +]; +exports.GpuDeviceInfo$ = [3, n0, _GDI, + 0, + [_N, _Man, _Cou, _LGC, _GPS, _Wo, _MIe], + [[0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `Manufacturer`, + [_xN]: _man }], [1, { [_eQN]: `Count`, + [_xN]: _cou }], [1, { [_eQN]: `LogicalGpuCount`, + [_xN]: _lGC }], [1, { [_eQN]: `GpuPartitionSize`, + [_xN]: _gPS }], [() => WorkloadsList, { [_eQN]: `WorkloadSet`, + [_xN]: _wS }], [() => exports.GpuDeviceMemoryInfo$, { [_eQN]: `MemoryInfo`, + [_xN]: _mIe }]] +]; +exports.GpuDeviceMemoryInfo$ = [3, n0, _GDMI, + 0, + [_SIMB], + [[1, { [_eQN]: `SizeInMiB`, + [_xN]: _sIMB }]] +]; +exports.GpuInfo$ = [3, n0, _GIp, + 0, + [_Gp, _TGMIMB], + [[() => GpuDeviceInfoList, { [_eQN]: `Gpus`, + [_xN]: _gp }], [1, { [_eQN]: `TotalGpuMemoryInMiB`, + [_xN]: _tGMIMB }]] +]; +exports.GroupIdentifier$ = [3, n0, _GIrou, + 0, + [_GIr, _GN], + [[0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }]] +]; +exports.HibernationOptions$ = [3, n0, _HO, + 0, + [_Conf], + [[2, { [_eQN]: `Configured`, + [_xN]: _conf }]] +]; +exports.HibernationOptionsRequest$ = [3, n0, _HOR, + 0, + [_Conf], + [2] +]; +exports.HistoryRecord$ = [3, n0, _HRis, + 0, + [_EIv, _ETv, _Ti], + [[() => exports.EventInformation$, { [_eQN]: `EventInformation`, + [_xN]: _eIv }], [0, { [_eQN]: `EventType`, + [_xN]: _eTv }], [4, { [_eQN]: `Timestamp`, + [_xN]: _ti }]] +]; +exports.HistoryRecordEntry$ = [3, n0, _HRE, + 0, + [_EIv, _ETv, _Ti], + [[() => exports.EventInformation$, { [_eQN]: `EventInformation`, + [_xN]: _eIv }], [0, { [_eQN]: `EventType`, + [_xN]: _eTv }], [4, { [_eQN]: `Timestamp`, + [_xN]: _ti }]] +]; +exports.Host$ = [3, n0, _Ho, + 0, + [_APu, _AZ, _ACv, _CT, _HIo, _HP, _HRI, _Ins, _St, _ATll, _RTel, _T, _HR, _AMIT, _OI, _AZI, _MOSLRG, _OA, _HM, _AIsse], + [[0, { [_eQN]: `AutoPlacement`, + [_xN]: _aP }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [() => exports.AvailableCapacity$, { [_eQN]: `AvailableCapacity`, + [_xN]: _aC }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [0, { [_eQN]: `HostId`, + [_xN]: _hI }], [() => exports.HostProperties$, { [_eQN]: `HostProperties`, + [_xN]: _hP }], [0, { [_eQN]: `HostReservationId`, + [_xN]: _hRI }], [() => HostInstanceList, { [_eQN]: `Instances`, + [_xN]: _ins }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `AllocationTime`, + [_xN]: _aTll }], [4, { [_eQN]: `ReleaseTime`, + [_xN]: _rTel }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `HostRecovery`, + [_xN]: _hR }], [0, { [_eQN]: `AllowsMultipleInstanceTypes`, + [_xN]: _aMIT }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [2, { [_eQN]: `MemberOfServiceLinkedResourceGroup`, + [_xN]: _mOSLRG }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `HostMaintenance`, + [_xN]: _hM }], [0, { [_eQN]: `AssetId`, + [_xN]: _aIss }]] +]; +exports.HostInstance$ = [3, n0, _HIos, + 0, + [_II, _IT, _OI], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }]] +]; +exports.HostOffering$ = [3, n0, _HOo, + 0, + [_CC, _Du, _HPo, _IF, _OIf, _PO, _UP], + [[0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [1, { [_eQN]: `Duration`, + [_xN]: _du }], [0, { [_eQN]: `HourlyPrice`, + [_xN]: _hPo }], [0, { [_eQN]: `InstanceFamily`, + [_xN]: _iF }], [0, { [_eQN]: `OfferingId`, + [_xN]: _oIf }], [0, { [_eQN]: `PaymentOption`, + [_xN]: _pO }], [0, { [_eQN]: `UpfrontPrice`, + [_xN]: _uP }]] +]; +exports.HostProperties$ = [3, n0, _HP, + 0, + [_Cor, _IT, _IF, _Soc, _TVC], + [[1, { [_eQN]: `Cores`, + [_xN]: _cor }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `InstanceFamily`, + [_xN]: _iF }], [1, { [_eQN]: `Sockets`, + [_xN]: _soc }], [1, { [_eQN]: `TotalVCpus`, + [_xN]: _tVC }]] +]; +exports.HostReservation$ = [3, n0, _HRo, + 0, + [_Cou, _CC, _Du, _End, _HIS, _HRI, _HPo, _IF, _OIf, _PO, _Star, _St, _UP, _T], + [[1, { [_eQN]: `Count`, + [_xN]: _cou }], [0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [1, { [_eQN]: `Duration`, + [_xN]: _du }], [4, { [_eQN]: `End`, + [_xN]: _end }], [() => ResponseHostIdSet, { [_eQN]: `HostIdSet`, + [_xN]: _hIS }], [0, { [_eQN]: `HostReservationId`, + [_xN]: _hRI }], [0, { [_eQN]: `HourlyPrice`, + [_xN]: _hPo }], [0, { [_eQN]: `InstanceFamily`, + [_xN]: _iF }], [0, { [_eQN]: `OfferingId`, + [_xN]: _oIf }], [0, { [_eQN]: `PaymentOption`, + [_xN]: _pO }], [4, { [_eQN]: `Start`, + [_xN]: _star }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `UpfrontPrice`, + [_xN]: _uP }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.IamInstanceProfile$ = [3, n0, _IIP, + 0, + [_Ar, _I], + [[0, { [_eQN]: `Arn`, + [_xN]: _ar }], [0, { [_eQN]: `Id`, + [_xN]: _i }]] +]; +exports.IamInstanceProfileAssociation$ = [3, n0, _IIPA, + 0, + [_AIs, _II, _IIP, _St, _Ti], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [() => exports.IamInstanceProfile$, { [_eQN]: `IamInstanceProfile`, + [_xN]: _iIP }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `Timestamp`, + [_xN]: _ti }]] +]; +exports.IamInstanceProfileSpecification$ = [3, n0, _IIPS, + 0, + [_Ar, _N], + [[0, { [_eQN]: `Arn`, + [_xN]: _ar }], [0, { [_eQN]: `Name`, + [_xN]: _n }]] +]; +exports.IcmpTypeCode$ = [3, n0, _ITC, + 0, + [_Co, _Ty], + [[1, { [_eQN]: `Code`, + [_xN]: _co }], [1, { [_eQN]: `Type`, + [_xN]: _ty }]] +]; +exports.IdFormat$ = [3, n0, _IFd, + 0, + [_Dea, _Reso, _ULI], + [[4, { [_eQN]: `Deadline`, + [_xN]: _dea }], [0, { [_eQN]: `Resource`, + [_xN]: _re }], [2, { [_eQN]: `UseLongIds`, + [_xN]: _uLI }]] +]; +exports.IKEVersionsListValue$ = [3, n0, _IKEVLV, + 0, + [_V], + [[0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.IKEVersionsRequestListValue$ = [3, n0, _IKEVRLV, + 0, + [_V], + [0] +]; +exports.Image$ = [3, n0, _Ima, + 0, + [_PDl, _UO, _BDMl, _De, _ESna, _Hy, _IOA, _N, _RDN, _RDT, _SNS, _SRt, _T, _VTir, _BM, _TSp, _DTe, _ISmd, _SIIo, _DPer, _LLT, _IAm, _SII, _SIRo, _FTE, _IIm, _IL, _St, _OI, _CDr, _Pu, _PCro, _Arc, _ITm, _KI, _RIa, _Pl], + [[0, { [_eQN]: `PlatformDetails`, + [_xN]: _pDl }], [0, { [_eQN]: `UsageOperation`, + [_xN]: _uO }], [() => BlockDeviceMappingList, { [_eQN]: `BlockDeviceMapping`, + [_xN]: _bDM }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [2, { [_eQN]: `EnaSupport`, + [_xN]: _eSna }], [0, { [_eQN]: `Hypervisor`, + [_xN]: _h }], [0, { [_eQN]: `ImageOwnerAlias`, + [_xN]: _iOA }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `RootDeviceName`, + [_xN]: _rDN }], [0, { [_eQN]: `RootDeviceType`, + [_xN]: _rDT }], [0, { [_eQN]: `SriovNetSupport`, + [_xN]: _sNSr }], [() => exports.StateReason$, { [_eQN]: `StateReason`, + [_xN]: _sRt }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VirtualizationType`, + [_xN]: _vTi }], [0, { [_eQN]: `BootMode`, + [_xN]: _bM }], [0, { [_eQN]: `TpmSupport`, + [_xN]: _tSp }], [0, { [_eQN]: `DeprecationTime`, + [_xN]: _dTe }], [0, { [_eQN]: `ImdsSupport`, + [_xN]: _iSmd }], [0, { [_eQN]: `SourceInstanceId`, + [_xN]: _sII }], [0, { [_eQN]: `DeregistrationProtection`, + [_xN]: _dPe }], [0, { [_eQN]: `LastLaunchedTime`, + [_xN]: _lLT }], [2, { [_eQN]: `ImageAllowed`, + [_xN]: _iAm }], [0, { [_eQN]: `SourceImageId`, + [_xN]: _sIIo }], [0, { [_eQN]: `SourceImageRegion`, + [_xN]: _sIR }], [2, { [_eQN]: `FreeTierEligible`, + [_xN]: _fTE }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `ImageLocation`, + [_xN]: _iL }], [0, { [_eQN]: `ImageState`, + [_xN]: _iSma }], [0, { [_eQN]: `ImageOwnerId`, + [_xN]: _iOI }], [0, { [_eQN]: `CreationDate`, + [_xN]: _cDr }], [2, { [_eQN]: `IsPublic`, + [_xN]: _iPs }], [() => ProductCodeList, { [_eQN]: `ProductCodes`, + [_xN]: _pC }], [0, { [_eQN]: `Architecture`, + [_xN]: _arc }], [0, { [_eQN]: `ImageType`, + [_xN]: _iTm }], [0, { [_eQN]: `KernelId`, + [_xN]: _kI }], [0, { [_eQN]: `RamdiskId`, + [_xN]: _rIa }], [0, { [_eQN]: `Platform`, + [_xN]: _pl }]] +]; +exports.ImageAncestryEntry$ = [3, n0, _IAEm, + 0, + [_CDr, _IIm, _IOA, _SII, _SIRo], + [[4, { [_eQN]: `CreationDate`, + [_xN]: _cDr }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `ImageOwnerAlias`, + [_xN]: _iOA }], [0, { [_eQN]: `SourceImageId`, + [_xN]: _sIIo }], [0, { [_eQN]: `SourceImageRegion`, + [_xN]: _sIR }]] +]; +exports.ImageAttribute$ = [3, n0, _IAma, + 0, + [_De, _KI, _RIa, _SNS, _BM, _TSp, _UD, _LLT, _ISmd, _DPer, _IIm, _LPa, _PCro, _BDMl], + [[() => exports.AttributeValue$, { [_eQN]: `Description`, + [_xN]: _de }], [() => exports.AttributeValue$, { [_eQN]: `Kernel`, + [_xN]: _ke }], [() => exports.AttributeValue$, { [_eQN]: `Ramdisk`, + [_xN]: _ra }], [() => exports.AttributeValue$, { [_eQN]: `SriovNetSupport`, + [_xN]: _sNSr }], [() => exports.AttributeValue$, { [_eQN]: `BootMode`, + [_xN]: _bM }], [() => exports.AttributeValue$, { [_eQN]: `TpmSupport`, + [_xN]: _tSp }], [() => exports.AttributeValue$, { [_eQN]: `UefiData`, + [_xN]: _uD }], [() => exports.AttributeValue$, { [_eQN]: `LastLaunchedTime`, + [_xN]: _lLT }], [() => exports.AttributeValue$, { [_eQN]: `ImdsSupport`, + [_xN]: _iSmd }], [() => exports.AttributeValue$, { [_eQN]: `DeregistrationProtection`, + [_xN]: _dPe }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [() => LaunchPermissionList, { [_eQN]: `LaunchPermission`, + [_xN]: _lPa }], [() => ProductCodeList, { [_eQN]: `ProductCodes`, + [_xN]: _pC }], [() => BlockDeviceMappingList, { [_eQN]: `BlockDeviceMapping`, + [_xN]: _bDM }]] +]; +exports.ImageCriterion$ = [3, n0, _ICma, + 0, + [_IPm, _MPC, _INm, _DTC, _CDC], + [[() => ImageProviderList, { [_eQN]: `ImageProviderSet`, + [_xN]: _iPSm }], [() => MarketplaceProductCodeList, { [_eQN]: `MarketplaceProductCodeSet`, + [_xN]: _mPCS }], [() => ImageNameList, { [_eQN]: `ImageNameSet`, + [_xN]: _iNS }], [() => exports.DeprecationTimeCondition$, { [_eQN]: `DeprecationTimeCondition`, + [_xN]: _dTC }], [() => exports.CreationDateCondition$, { [_eQN]: `CreationDateCondition`, + [_xN]: _cDC }]] +]; +exports.ImageCriterionRequest$ = [3, n0, _ICR, + 0, + [_IPm, _MPC, _INm, _DTC, _CDC], + [[() => ImageProviderRequestList, { [_xN]: _IPma }], [() => MarketplaceProductCodeRequestList, { [_xN]: _MPCa }], [() => ImageNameRequestList, { [_xN]: _INma }], () => exports.DeprecationTimeConditionRequest$, () => exports.CreationDateConditionRequest$] +]; +exports.ImageDiskContainer$ = [3, n0, _IDC, + 0, + [_De, _DN, _Fo, _SIn, _Ur, _UB], + [0, 0, 0, 0, [() => SensitiveUrl, 0], () => exports.UserBucket$] +]; +exports.ImageMetadata$ = [3, n0, _IMm, + 0, + [_IIm, _N, _OI, _St, _IOA, _CDr, _DTe, _IAm, _IPs], + [[0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `ImageOwnerId`, + [_xN]: _iOI }], [0, { [_eQN]: `ImageState`, + [_xN]: _iSma }], [0, { [_eQN]: `ImageOwnerAlias`, + [_xN]: _iOA }], [0, { [_eQN]: `CreationDate`, + [_xN]: _cDr }], [0, { [_eQN]: `DeprecationTime`, + [_xN]: _dTe }], [2, { [_eQN]: `ImageAllowed`, + [_xN]: _iAm }], [2, { [_eQN]: `IsPublic`, + [_xN]: _iPs }]] +]; +exports.ImageRecycleBinInfo$ = [3, n0, _IRBI, + 0, + [_IIm, _N, _De, _RBET, _RBETe], + [[0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [4, { [_eQN]: `RecycleBinEnterTime`, + [_xN]: _rBET }], [4, { [_eQN]: `RecycleBinExitTime`, + [_xN]: _rBETe }]] +]; +exports.ImageReference$ = [3, n0, _IRm, + 0, + [_IIm, _RTe, _Ar], + [[0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `Arn`, + [_xN]: _ar }]] +]; +exports.ImageUsageReport$ = [3, n0, _IURm, + 0, + [_IIm, _RI, _RTes, _AIcc, _St, _SRt, _CTre, _ET, _T], + [[0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `ReportId`, + [_xN]: _rIe }], [() => ImageUsageResourceTypeList, { [_eQN]: `ResourceTypeSet`, + [_xN]: _rTSe }], [() => UserIdList, { [_eQN]: `AccountIdSet`, + [_xN]: _aISc }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateReason`, + [_xN]: _sRt }], [4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [4, { [_eQN]: `ExpirationTime`, + [_xN]: _eT }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.ImageUsageReportEntry$ = [3, n0, _IUREm, + 0, + [_RTe, _RI, _UCs, _AIc, _IIm, _RCTe], + [[0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `ReportId`, + [_xN]: _rIe }], [1, { [_eQN]: `UsageCount`, + [_xN]: _uCs }], [0, { [_eQN]: `AccountId`, + [_xN]: _aIc }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [4, { [_eQN]: `ReportCreationTime`, + [_xN]: _rCTe }]] +]; +exports.ImageUsageResourceType$ = [3, n0, _IURT, + 0, + [_RTe, _RTO], + [[0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [() => ImageUsageResourceTypeOptionList, { [_eQN]: `ResourceTypeOptionSet`, + [_xN]: _rTOS }]] +]; +exports.ImageUsageResourceTypeOption$ = [3, n0, _IURTO, + 0, + [_ON, _OV], + [[0, { [_eQN]: `OptionName`, + [_xN]: _oN }], [() => ImageUsageResourceTypeOptionValuesList, { [_eQN]: `OptionValueSet`, + [_xN]: _oVS }]] +]; +exports.ImageUsageResourceTypeOptionRequest$ = [3, n0, _IURTOR, + 0, + [_ON, _OV], + [0, [() => ImageUsageResourceTypeOptionValuesList, { [_xN]: _OVp }]] +]; +exports.ImageUsageResourceTypeRequest$ = [3, n0, _IURTR, + 0, + [_RTe, _RTO], + [0, [() => ImageUsageResourceTypeOptionRequestList, { [_xN]: _RTOe }]] +]; +exports.ImportClientVpnClientCertificateRevocationListRequest$ = [3, n0, _ICVCCRLR, + 0, + [_CVEI, _CRL, _DR], + [0, 0, 2], 2 +]; +exports.ImportClientVpnClientCertificateRevocationListResult$ = [3, n0, _ICVCCRLRm, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ImportImageLicenseConfigurationRequest$ = [3, n0, _IILCR, + 0, + [_LCA], + [0] +]; +exports.ImportImageLicenseConfigurationResponse$ = [3, n0, _IILCRm, + 0, + [_LCA], + [[0, { [_eQN]: `LicenseConfigurationArn`, + [_xN]: _lCA }]] +]; +exports.ImportImageRequest$ = [3, n0, _IIR, + 0, + [_Arc, _CDl, _CT, _De, _DCis, _DR, _Enc, _Hy, _KKI, _LTi, _Pl, _RNo, _LS, _TS, _UO, _BM], + [0, () => exports.ClientData$, 0, 0, [() => ImageDiskContainerList, { [_xN]: _DCisk }], 2, 2, 0, 0, 0, 0, 0, [() => ImportImageLicenseSpecificationListRequest, 0], [() => TagSpecificationList, { [_xN]: _TSa }], 0, 0] +]; +exports.ImportImageResult$ = [3, n0, _IIRm, + 0, + [_Arc, _De, _Enc, _Hy, _IIm, _ITI, _KKI, _LTi, _Pl, _Pro, _SDn, _Sta, _SMt, _LS, _T, _UO], + [[0, { [_eQN]: `Architecture`, + [_xN]: _arc }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], [0, { [_eQN]: `Hypervisor`, + [_xN]: _h }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `ImportTaskId`, + [_xN]: _iTI }], [0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }], [0, { [_eQN]: `LicenseType`, + [_xN]: _lTi }], [0, { [_eQN]: `Platform`, + [_xN]: _pl }], [0, { [_eQN]: `Progress`, + [_xN]: _pro }], [() => SnapshotDetailList, { [_eQN]: `SnapshotDetailSet`, + [_xN]: _sDSn }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [() => ImportImageLicenseSpecificationListResponse, { [_eQN]: `LicenseSpecifications`, + [_xN]: _lS }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `UsageOperation`, + [_xN]: _uO }]] +]; +exports.ImportImageTask$ = [3, n0, _IITm, + 0, + [_Arc, _De, _Enc, _Hy, _IIm, _ITI, _KKI, _LTi, _Pl, _Pro, _SDn, _Sta, _SMt, _T, _LS, _UO, _BM], + [[0, { [_eQN]: `Architecture`, + [_xN]: _arc }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], [0, { [_eQN]: `Hypervisor`, + [_xN]: _h }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `ImportTaskId`, + [_xN]: _iTI }], [0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }], [0, { [_eQN]: `LicenseType`, + [_xN]: _lTi }], [0, { [_eQN]: `Platform`, + [_xN]: _pl }], [0, { [_eQN]: `Progress`, + [_xN]: _pro }], [() => SnapshotDetailList, { [_eQN]: `SnapshotDetailSet`, + [_xN]: _sDSn }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => ImportImageLicenseSpecificationListResponse, { [_eQN]: `LicenseSpecifications`, + [_xN]: _lS }], [0, { [_eQN]: `UsageOperation`, + [_xN]: _uO }], [0, { [_eQN]: `BootMode`, + [_xN]: _bM }]] +]; +exports.ImportInstanceLaunchSpecification$ = [3, n0, _IILS, + 0, + [_Arc, _GNr, _GIro, _AId, _UDs, _IT, _Pla, _Mon, _SIu, _IISB, _PIAr], + [[0, { [_eQN]: `Architecture`, + [_xN]: _arc }], [() => SecurityGroupStringList, { [_xN]: _GN }], [() => SecurityGroupIdStringList, { [_xN]: _GIr }], [0, { [_eQN]: `AdditionalInfo`, + [_xN]: _aId }], [() => exports.UserData$, { [_eQN]: `UserData`, + [_xN]: _uDs }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [() => exports.Placement$, { [_eQN]: `Placement`, + [_xN]: _pla }], [2, { [_eQN]: `Monitoring`, + [_xN]: _mo }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `InstanceInitiatedShutdownBehavior`, + [_xN]: _iISB }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }]] +]; +exports.ImportInstanceRequest$ = [3, n0, _IIRmp, + 0, + [_Pl, _DR, _De, _LSa, _DIiskm], + [[0, { [_eQN]: `Platform`, + [_xN]: _pl }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => exports.ImportInstanceLaunchSpecification$, { [_eQN]: `LaunchSpecification`, + [_xN]: _lSa }], [() => DiskImageList, { [_eQN]: `DiskImage`, + [_xN]: _dIis }]], 1 +]; +exports.ImportInstanceResult$ = [3, n0, _IIRmpo, + 0, + [_CTo], + [[() => exports.ConversionTask$, { [_eQN]: `ConversionTask`, + [_xN]: _cTon }]] +]; +exports.ImportInstanceTaskDetails$ = [3, n0, _IITD, + 0, + [_De, _II, _Pl, _Vo], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `Platform`, + [_xN]: _pl }], [() => ImportInstanceVolumeDetailSet, { [_eQN]: `Volumes`, + [_xN]: _vo }]] +]; +exports.ImportInstanceVolumeDetailItem$ = [3, n0, _IIVDI, + 0, + [_AZ, _AZI, _BCyt, _De, _Ima, _Sta, _SMt, _Vol], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [1, { [_eQN]: `BytesConverted`, + [_xN]: _bCy }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => exports.DiskImageDescription$, { [_eQN]: `Image`, + [_xN]: _im }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [() => exports.DiskImageVolumeDescription$, { [_eQN]: `Volume`, + [_xN]: _vol }]] +]; +exports.ImportKeyPairRequest$ = [3, n0, _IKPR, + 0, + [_KN, _PKM, _TS, _DR], + [[0, { [_eQN]: `KeyName`, + [_xN]: _kN }], [21, { [_eQN]: `PublicKeyMaterial`, + [_xN]: _pKM }], [() => TagSpecificationList, { [_xN]: _TSa }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.ImportKeyPairResult$ = [3, n0, _IKPRm, + 0, + [_KFe, _KN, _KPI, _T], + [[0, { [_eQN]: `KeyFingerprint`, + [_xN]: _kFe }], [0, { [_eQN]: `KeyName`, + [_xN]: _kN }], [0, { [_eQN]: `KeyPairId`, + [_xN]: _kPI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.ImportSnapshotRequest$ = [3, n0, _ISR, + 0, + [_CDl, _CT, _De, _DCisk, _DR, _Enc, _KKI, _RNo, _TS], + [() => exports.ClientData$, 0, 0, [() => exports.SnapshotDiskContainer$, 0], 2, 2, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }]] +]; +exports.ImportSnapshotResult$ = [3, n0, _ISRm, + 0, + [_De, _ITI, _STD, _T], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `ImportTaskId`, + [_xN]: _iTI }], [() => exports.SnapshotTaskDetail$, { [_eQN]: `SnapshotTaskDetail`, + [_xN]: _sTD }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.ImportSnapshotTask$ = [3, n0, _ISTm, + 0, + [_De, _ITI, _STD, _T], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `ImportTaskId`, + [_xN]: _iTI }], [() => exports.SnapshotTaskDetail$, { [_eQN]: `SnapshotTaskDetail`, + [_xN]: _sTD }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.ImportVolumeRequest$ = [3, n0, _IVR, + 0, + [_Ima, _Vol, _AZI, _DR, _AZ, _De], + [[() => exports.DiskImageDetail$, { [_eQN]: `Image`, + [_xN]: _im }], [() => exports.VolumeDetail$, { [_eQN]: `Volume`, + [_xN]: _vol }], 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `Description`, + [_xN]: _de }]], 2 +]; +exports.ImportVolumeResult$ = [3, n0, _IVRm, + 0, + [_CTo], + [[() => exports.ConversionTask$, { [_eQN]: `ConversionTask`, + [_xN]: _cTon }]] +]; +exports.ImportVolumeTaskDetails$ = [3, n0, _IVTD, + 0, + [_AZ, _AZI, _BCyt, _De, _Ima, _Vol], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [1, { [_eQN]: `BytesConverted`, + [_xN]: _bCy }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => exports.DiskImageDescription$, { [_eQN]: `Image`, + [_xN]: _im }], [() => exports.DiskImageVolumeDescription$, { [_eQN]: `Volume`, + [_xN]: _vol }]] +]; +exports.InferenceAcceleratorInfo$ = [3, n0, _IAIn, + 0, + [_Acc, _TIMIMB], + [[() => InferenceDeviceInfoList, { [_eQN]: `Accelerators`, + [_xN]: _acc }], [1, { [_eQN]: `TotalInferenceMemoryInMiB`, + [_xN]: _tIMIMB }]] +]; +exports.InferenceDeviceInfo$ = [3, n0, _IDI, + 0, + [_Cou, _N, _Man, _MIe], + [[1, { [_eQN]: `Count`, + [_xN]: _cou }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `Manufacturer`, + [_xN]: _man }], [() => exports.InferenceDeviceMemoryInfo$, { [_eQN]: `MemoryInfo`, + [_xN]: _mIe }]] +]; +exports.InferenceDeviceMemoryInfo$ = [3, n0, _IDMI, + 0, + [_SIMB], + [[1, { [_eQN]: `SizeInMiB`, + [_xN]: _sIMB }]] +]; +exports.InitializationStatusDetails$ = [3, n0, _ISD, + 0, + [_ITni, _Pro, _ETTCIS], + [[0, { [_eQN]: `InitializationType`, + [_xN]: _iTni }], [1, { [_eQN]: `Progress`, + [_xN]: _pro }], [1, { [_eQN]: `EstimatedTimeToCompleteInSeconds`, + [_xN]: _eTTCIS }]] +]; +exports.Instance$ = [3, n0, _In, + 0, + [_Arc, _BDMl, _CT, _EO, _ESna, _Hy, _IIP, _ILn, _EGAl, _EIAAla, _NIet, _OA, _RDN, _RDT, _SGe, _SDC, _SIRI, _SNS, _SRt, _T, _VTir, _CO, _CBI, _CRI, _CRSa, _HO, _Li, _MO, _EOn, _BM, _PDl, _UO, _UOUT, _PDNO, _IApv, _TSp, _MOa, _CIBM, _NPO, _Op, _SIec, _II, _IIm, _St, _PDN, _PDNub, _STR, _KN, _ALI, _PCro, _IT, _LTau, _Pla, _KI, _RIa, _Pl, _Mon, _SIu, _VI, _PIAr, _PIAu], + [[0, { [_eQN]: `Architecture`, + [_xN]: _arc }], [() => InstanceBlockDeviceMappingList, { [_eQN]: `BlockDeviceMapping`, + [_xN]: _bDM }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [2, { [_eQN]: `EbsOptimized`, + [_xN]: _eO }], [2, { [_eQN]: `EnaSupport`, + [_xN]: _eSna }], [0, { [_eQN]: `Hypervisor`, + [_xN]: _h }], [() => exports.IamInstanceProfile$, { [_eQN]: `IamInstanceProfile`, + [_xN]: _iIP }], [0, { [_eQN]: `InstanceLifecycle`, + [_xN]: _iLn }], [() => ElasticGpuAssociationList, { [_eQN]: `ElasticGpuAssociationSet`, + [_xN]: _eGASl }], [() => ElasticInferenceAcceleratorAssociationList, { [_eQN]: `ElasticInferenceAcceleratorAssociationSet`, + [_xN]: _eIAASl }], [() => InstanceNetworkInterfaceList, { [_eQN]: `NetworkInterfaceSet`, + [_xN]: _nIS }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `RootDeviceName`, + [_xN]: _rDN }], [0, { [_eQN]: `RootDeviceType`, + [_xN]: _rDT }], [() => GroupIdentifierList, { [_eQN]: `GroupSet`, + [_xN]: _gSr }], [2, { [_eQN]: `SourceDestCheck`, + [_xN]: _sDC }], [0, { [_eQN]: `SpotInstanceRequestId`, + [_xN]: _sIRI }], [0, { [_eQN]: `SriovNetSupport`, + [_xN]: _sNSr }], [() => exports.StateReason$, { [_eQN]: `StateReason`, + [_xN]: _sRt }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VirtualizationType`, + [_xN]: _vTi }], [() => exports.CpuOptions$, { [_eQN]: `CpuOptions`, + [_xN]: _cO }], [0, { [_eQN]: `CapacityBlockId`, + [_xN]: _cBI }], [0, { [_eQN]: `CapacityReservationId`, + [_xN]: _cRI }], [() => exports.CapacityReservationSpecificationResponse$, { [_eQN]: `CapacityReservationSpecification`, + [_xN]: _cRSa }], [() => exports.HibernationOptions$, { [_eQN]: `HibernationOptions`, + [_xN]: _hO }], [() => LicenseList, { [_eQN]: `LicenseSet`, + [_xN]: _lSi }], [() => exports.InstanceMetadataOptionsResponse$, { [_eQN]: `MetadataOptions`, + [_xN]: _mO }], [() => exports.EnclaveOptions$, { [_eQN]: `EnclaveOptions`, + [_xN]: _eOn }], [0, { [_eQN]: `BootMode`, + [_xN]: _bM }], [0, { [_eQN]: `PlatformDetails`, + [_xN]: _pDl }], [0, { [_eQN]: `UsageOperation`, + [_xN]: _uO }], [4, { [_eQN]: `UsageOperationUpdateTime`, + [_xN]: _uOUT }], [() => exports.PrivateDnsNameOptionsResponse$, { [_eQN]: `PrivateDnsNameOptions`, + [_xN]: _pDNO }], [0, { [_eQN]: `Ipv6Address`, + [_xN]: _iApv }], [0, { [_eQN]: `TpmSupport`, + [_xN]: _tSp }], [() => exports.InstanceMaintenanceOptions$, { [_eQN]: `MaintenanceOptions`, + [_xN]: _mOa }], [0, { [_eQN]: `CurrentInstanceBootMode`, + [_xN]: _cIBM }], [() => exports.InstanceNetworkPerformanceOptions$, { [_eQN]: `NetworkPerformanceOptions`, + [_xN]: _nPO }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }], [() => InstanceSecondaryInterfaceList, { [_eQN]: `SecondaryInterfaceSet`, + [_xN]: _sISe }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [() => exports.InstanceState$, { [_eQN]: `InstanceState`, + [_xN]: _iSnst }], [0, { [_eQN]: `PrivateDnsName`, + [_xN]: _pDNr }], [0, { [_eQN]: `DnsName`, + [_xN]: _dNn }], [0, { [_eQN]: `Reason`, + [_xN]: _rea }], [0, { [_eQN]: `KeyName`, + [_xN]: _kN }], [1, { [_eQN]: `AmiLaunchIndex`, + [_xN]: _aLI }], [() => ProductCodeList, { [_eQN]: `ProductCodes`, + [_xN]: _pC }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [4, { [_eQN]: `LaunchTime`, + [_xN]: _lTau }], [() => exports.Placement$, { [_eQN]: `Placement`, + [_xN]: _pla }], [0, { [_eQN]: `KernelId`, + [_xN]: _kI }], [0, { [_eQN]: `RamdiskId`, + [_xN]: _rIa }], [0, { [_eQN]: `Platform`, + [_xN]: _pl }], [() => exports.Monitoring$, { [_eQN]: `Monitoring`, + [_xN]: _mo }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }], [0, { [_eQN]: `IpAddress`, + [_xN]: _iAp }]] +]; +exports.InstanceAttachmentEnaSrdSpecification$ = [3, n0, _IAESS, + 0, + [_ESE, _ESUS], + [[2, { [_eQN]: `EnaSrdEnabled`, + [_xN]: _eSE }], [() => exports.InstanceAttachmentEnaSrdUdpSpecification$, { [_eQN]: `EnaSrdUdpSpecification`, + [_xN]: _eSUS }]] +]; +exports.InstanceAttachmentEnaSrdUdpSpecification$ = [3, n0, _IAESUS, + 0, + [_ESUE], + [[2, { [_eQN]: `EnaSrdUdpEnabled`, + [_xN]: _eSUE }]] +]; +exports.InstanceAttribute$ = [3, n0, _IAns, + 0, + [_BDMl, _DAT, _ESna, _EOn, _EO, _II, _IISB, _IT, _KI, _PCro, _RIa, _RDN, _SDC, _SNS, _UDs, _DASi, _G], + [[() => InstanceBlockDeviceMappingList, { [_eQN]: `BlockDeviceMapping`, + [_xN]: _bDM }], [() => exports.AttributeBooleanValue$, { [_eQN]: `DisableApiTermination`, + [_xN]: _dAT }], [() => exports.AttributeBooleanValue$, { [_eQN]: `EnaSupport`, + [_xN]: _eSna }], [() => exports.EnclaveOptions$, { [_eQN]: `EnclaveOptions`, + [_xN]: _eOn }], [() => exports.AttributeBooleanValue$, { [_eQN]: `EbsOptimized`, + [_xN]: _eO }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [() => exports.AttributeValue$, { [_eQN]: `InstanceInitiatedShutdownBehavior`, + [_xN]: _iISB }], [() => exports.AttributeValue$, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [() => exports.AttributeValue$, { [_eQN]: `Kernel`, + [_xN]: _ke }], [() => ProductCodeList, { [_eQN]: `ProductCodes`, + [_xN]: _pC }], [() => exports.AttributeValue$, { [_eQN]: `Ramdisk`, + [_xN]: _ra }], [() => exports.AttributeValue$, { [_eQN]: `RootDeviceName`, + [_xN]: _rDN }], [() => exports.AttributeBooleanValue$, { [_eQN]: `SourceDestCheck`, + [_xN]: _sDC }], [() => exports.AttributeValue$, { [_eQN]: `SriovNetSupport`, + [_xN]: _sNSr }], [() => exports.AttributeValue$, { [_eQN]: `UserData`, + [_xN]: _uDs }], [() => exports.AttributeBooleanValue$, { [_eQN]: `DisableApiStop`, + [_xN]: _dASi }], [() => GroupIdentifierList, { [_eQN]: `GroupSet`, + [_xN]: _gSr }]] +]; +exports.InstanceBlockDeviceMapping$ = [3, n0, _IBDM, + 0, + [_DN, _Eb], + [[0, { [_eQN]: `DeviceName`, + [_xN]: _dN }], [() => exports.EbsInstanceBlockDevice$, { [_eQN]: `Ebs`, + [_xN]: _eb }]] +]; +exports.InstanceBlockDeviceMappingSpecification$ = [3, n0, _IBDMS, + 0, + [_DN, _Eb, _VN, _ND], + [[0, { [_eQN]: `DeviceName`, + [_xN]: _dN }], [() => exports.EbsInstanceBlockDeviceSpecification$, { [_eQN]: `Ebs`, + [_xN]: _eb }], [0, { [_eQN]: `VirtualName`, + [_xN]: _vN }], [0, { [_eQN]: `NoDevice`, + [_xN]: _nD }]] +]; +exports.InstanceCapacity$ = [3, n0, _ICn, + 0, + [_ACv, _IT, _TCo], + [[1, { [_eQN]: `AvailableCapacity`, + [_xN]: _aC }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [1, { [_eQN]: `TotalCapacity`, + [_xN]: _tC }]] +]; +exports.InstanceConnectEndpointDnsNames$ = [3, n0, _ICEDN, + 0, + [_DNn, _FDN], + [[0, { [_eQN]: `DnsName`, + [_xN]: _dNn }], [0, { [_eQN]: `FipsDnsName`, + [_xN]: _fDN }]] +]; +exports.InstanceConnectEndpointPublicDnsNames$ = [3, n0, _ICEPDN, + 0, + [_Ipv, _Dua], + [[() => exports.InstanceConnectEndpointDnsNames$, { [_eQN]: `Ipv4`, + [_xN]: _ipv }], [() => exports.InstanceConnectEndpointDnsNames$, { [_eQN]: `Dualstack`, + [_xN]: _dua }]] +]; +exports.InstanceCount$ = [3, n0, _IC, + 0, + [_IC, _St], + [[1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.InstanceCreditSpecification$ = [3, n0, _ICSn, + 0, + [_II, _CCp], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `CpuCredits`, + [_xN]: _cCp }]] +]; +exports.InstanceCreditSpecificationRequest$ = [3, n0, _ICSR, + 0, + [_II, _CCp], + [0, 0], 1 +]; +exports.InstanceEventWindow$ = [3, n0, _IEW, + 0, + [_IEWI, _TRi, _N, _CEr, _ATs, _St, _T], + [[0, { [_eQN]: `InstanceEventWindowId`, + [_xN]: _iEWI }], [() => InstanceEventWindowTimeRangeList, { [_eQN]: `TimeRangeSet`, + [_xN]: _tRSi }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `CronExpression`, + [_xN]: _cEr }], [() => exports.InstanceEventWindowAssociationTarget$, { [_eQN]: `AssociationTarget`, + [_xN]: _aTs }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.InstanceEventWindowAssociationRequest$ = [3, n0, _IEWAR, + 0, + [_IIns, _ITnsta, _DHI], + [[() => InstanceIdList, { [_xN]: _II }], [() => TagList, { [_xN]: _ITnstan }], [() => DedicatedHostIdList, { [_xN]: _DHIe }]] +]; +exports.InstanceEventWindowAssociationTarget$ = [3, n0, _IEWAT, + 0, + [_IIns, _T, _DHI], + [[() => InstanceIdList, { [_eQN]: `InstanceIdSet`, + [_xN]: _iIS }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => DedicatedHostIdList, { [_eQN]: `DedicatedHostIdSet`, + [_xN]: _dHIS }]] +]; +exports.InstanceEventWindowDisassociationRequest$ = [3, n0, _IEWDR, + 0, + [_IIns, _ITnsta, _DHI], + [[() => InstanceIdList, { [_xN]: _II }], [() => TagList, { [_xN]: _ITnstan }], [() => DedicatedHostIdList, { [_xN]: _DHIe }]] +]; +exports.InstanceEventWindowStateChange$ = [3, n0, _IEWSC, + 0, + [_IEWI, _St], + [[0, { [_eQN]: `InstanceEventWindowId`, + [_xN]: _iEWI }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.InstanceEventWindowTimeRange$ = [3, n0, _IEWTR, + 0, + [_SWD, _SH, _EWD, _EH], + [[0, { [_eQN]: `StartWeekDay`, + [_xN]: _sWD }], [1, { [_eQN]: `StartHour`, + [_xN]: _sH }], [0, { [_eQN]: `EndWeekDay`, + [_xN]: _eWD }], [1, { [_eQN]: `EndHour`, + [_xN]: _eH }]] +]; +exports.InstanceEventWindowTimeRangeRequest$ = [3, n0, _IEWTRR, + 0, + [_SWD, _SH, _EWD, _EH], + [0, 1, 0, 1] +]; +exports.InstanceExportDetails$ = [3, n0, _IED, + 0, + [_II, _TE], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `TargetEnvironment`, + [_xN]: _tE }]] +]; +exports.InstanceFamilyCreditSpecification$ = [3, n0, _IFCS, + 0, + [_IF, _CCp], + [[0, { [_eQN]: `InstanceFamily`, + [_xN]: _iF }], [0, { [_eQN]: `CpuCredits`, + [_xN]: _cCp }]] +]; +exports.InstanceImageMetadata$ = [3, n0, _IIM, + 0, + [_II, _IT, _LTau, _AZ, _ZI, _St, _OI, _T, _IMm, _Op], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [4, { [_eQN]: `LaunchTime`, + [_xN]: _lTau }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `ZoneId`, + [_xN]: _zI }], [() => exports.InstanceState$, { [_eQN]: `InstanceState`, + [_xN]: _iSnst }], [0, { [_eQN]: `InstanceOwnerId`, + [_xN]: _iOIn }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => exports.ImageMetadata$, { [_eQN]: `ImageMetadata`, + [_xN]: _iM }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }]] +]; +exports.InstanceIpv4Prefix$ = [3, n0, _IIPn, + 0, + [_IPpvre], + [[0, { [_eQN]: `Ipv4Prefix`, + [_xN]: _iPpv }]] +]; +exports.InstanceIpv6Address$ = [3, n0, _IIA, + 0, + [_IApv, _IPIs], + [[0, { [_eQN]: `Ipv6Address`, + [_xN]: _iApv }], [2, { [_eQN]: `IsPrimaryIpv6`, + [_xN]: _iPIs }]] +]; +exports.InstanceIpv6AddressRequest$ = [3, n0, _IIAR, + 0, + [_IApv], + [0] +]; +exports.InstanceIpv6Prefix$ = [3, n0, _IIPns, + 0, + [_IPpv], + [[0, { [_eQN]: `Ipv6Prefix`, + [_xN]: _iPpvr }]] +]; +exports.InstanceMaintenanceOptions$ = [3, n0, _IMO, + 0, + [_ARuto, _RMe], + [[0, { [_eQN]: `AutoRecovery`, + [_xN]: _aRut }], [0, { [_eQN]: `RebootMigration`, + [_xN]: _rMe }]] +]; +exports.InstanceMaintenanceOptionsRequest$ = [3, n0, _IMOR, + 0, + [_ARuto], + [0] +]; +exports.InstanceMarketOptionsRequest$ = [3, n0, _IMORn, + 0, + [_MT, _SO], + [0, () => exports.SpotMarketOptions$] +]; +exports.InstanceMetadataDefaultsResponse$ = [3, n0, _IMDR, + 0, + [_HT, _HPRHL, _HE, _IMT, _MB, _MEM, _HTE], + [[0, { [_eQN]: `HttpTokens`, + [_xN]: _hT }], [1, { [_eQN]: `HttpPutResponseHopLimit`, + [_xN]: _hPRHL }], [0, { [_eQN]: `HttpEndpoint`, + [_xN]: _hE }], [0, { [_eQN]: `InstanceMetadataTags`, + [_xN]: _iMT }], [0, { [_eQN]: `ManagedBy`, + [_xN]: _mB }], [0, { [_eQN]: `ManagedExceptionMessage`, + [_xN]: _mEM }], [0, { [_eQN]: `HttpTokensEnforced`, + [_xN]: _hTE }]] +]; +exports.InstanceMetadataOptionsRequest$ = [3, n0, _IMORns, + 0, + [_HT, _HPRHL, _HE, _HPI, _IMT], + [0, 1, 0, 0, 0] +]; +exports.InstanceMetadataOptionsResponse$ = [3, n0, _IMORnst, + 0, + [_St, _HT, _HPRHL, _HE, _HPI, _IMT], + [[0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `HttpTokens`, + [_xN]: _hT }], [1, { [_eQN]: `HttpPutResponseHopLimit`, + [_xN]: _hPRHL }], [0, { [_eQN]: `HttpEndpoint`, + [_xN]: _hE }], [0, { [_eQN]: `HttpProtocolIpv6`, + [_xN]: _hPI }], [0, { [_eQN]: `InstanceMetadataTags`, + [_xN]: _iMT }]] +]; +exports.InstanceMonitoring$ = [3, n0, _IMn, + 0, + [_II, _Mon], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [() => exports.Monitoring$, { [_eQN]: `Monitoring`, + [_xN]: _mo }]] +]; +exports.InstanceNetworkInterface$ = [3, n0, _INI, + 0, + [_Ass, _Att, _De, _G, _IA, _MAa, _NII, _OI, _PDN, _PIAr, _PIAri, _SDC, _Sta, _SIu, _VI, _ITnt, _IPpvr, _IPp, _CTC, _Op], + [[() => exports.InstanceNetworkInterfaceAssociation$, { [_eQN]: `Association`, + [_xN]: _ass }], [() => exports.InstanceNetworkInterfaceAttachment$, { [_eQN]: `Attachment`, + [_xN]: _at }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => GroupIdentifierList, { [_eQN]: `GroupSet`, + [_xN]: _gSr }], [() => InstanceIpv6AddressList, { [_eQN]: `Ipv6AddressesSet`, + [_xN]: _iASp }], [0, { [_eQN]: `MacAddress`, + [_xN]: _mAa }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `PrivateDnsName`, + [_xN]: _pDNr }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }], [() => InstancePrivateIpAddressList, { [_eQN]: `PrivateIpAddressesSet`, + [_xN]: _pIAS }], [2, { [_eQN]: `SourceDestCheck`, + [_xN]: _sDC }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `InterfaceType`, + [_xN]: _iTnt }], [() => InstanceIpv4PrefixList, { [_eQN]: `Ipv4PrefixSet`, + [_xN]: _iPSpvr }], [() => InstanceIpv6PrefixList, { [_eQN]: `Ipv6PrefixSet`, + [_xN]: _iPSpvre }], [() => exports.ConnectionTrackingSpecificationResponse$, { [_eQN]: `ConnectionTrackingConfiguration`, + [_xN]: _cTC }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }]] +]; +exports.InstanceNetworkInterfaceAssociation$ = [3, n0, _INIA, + 0, + [_CI, _COI, _IOI, _PDNub, _PI], + [[0, { [_eQN]: `CarrierIp`, + [_xN]: _cI }], [0, { [_eQN]: `CustomerOwnedIp`, + [_xN]: _cOI }], [0, { [_eQN]: `IpOwnerId`, + [_xN]: _iOIp }], [0, { [_eQN]: `PublicDnsName`, + [_xN]: _pDNu }], [0, { [_eQN]: `PublicIp`, + [_xN]: _pI }]] +]; +exports.InstanceNetworkInterfaceAttachment$ = [3, n0, _INIAn, + 0, + [_ATtt, _AItt, _DOT, _DI, _Sta, _NCI, _ESS, _EQC], + [[4, { [_eQN]: `AttachTime`, + [_xN]: _aTt }], [0, { [_eQN]: `AttachmentId`, + [_xN]: _aIt }], [2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [1, { [_eQN]: `DeviceIndex`, + [_xN]: _dI }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [1, { [_eQN]: `NetworkCardIndex`, + [_xN]: _nCI }], [() => exports.InstanceAttachmentEnaSrdSpecification$, { [_eQN]: `EnaSrdSpecification`, + [_xN]: _eSS }], [1, { [_eQN]: `EnaQueueCount`, + [_xN]: _eQC }]] +]; +exports.InstanceNetworkInterfaceSpecification$ = [3, n0, _INIS, + 0, + [_APIAss, _DOT, _De, _DI, _G, _IAC, _IA, _NII, _PIAr, _PIAri, _SPIAC, _SIu, _ACIA, _ITnt, _NCI, _IPpvr, _IPCp, _IPp, _IPC, _PIr, _ESS, _CTS, _EQC], + [[2, { [_eQN]: `AssociatePublicIpAddress`, + [_xN]: _aPIA }], [2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [1, { [_eQN]: `DeviceIndex`, + [_xN]: _dI }], [() => SecurityGroupIdStringList, { [_xN]: _SGI }], [1, { [_eQN]: `Ipv6AddressCount`, + [_xN]: _iAC }], [() => InstanceIpv6AddressList, { [_eQN]: `Ipv6Addresses`, + [_xN]: _iASp }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }], [() => PrivateIpAddressSpecificationList, { [_eQN]: `PrivateIpAddresses`, + [_xN]: _pIAS }], [1, { [_eQN]: `SecondaryPrivateIpAddressCount`, + [_xN]: _sPIAC }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], 2, 0, 1, [() => Ipv4PrefixList, { [_xN]: _IPpvre }], 1, [() => Ipv6PrefixList, { [_xN]: _IPpv }], 1, 2, () => exports.EnaSrdSpecificationRequest$, () => exports.ConnectionTrackingSpecificationRequest$, 1] +]; +exports.InstanceNetworkPerformanceOptions$ = [3, n0, _INPO, + 0, + [_BW], + [[0, { [_eQN]: `BandwidthWeighting`, + [_xN]: _bW }]] +]; +exports.InstanceNetworkPerformanceOptionsRequest$ = [3, n0, _INPOR, + 0, + [_BW], + [0] +]; +exports.InstancePrivateIpAddress$ = [3, n0, _IPIA, + 0, + [_Ass, _Prim, _PDN, _PIAr], + [[() => exports.InstanceNetworkInterfaceAssociation$, { [_eQN]: `Association`, + [_xN]: _ass }], [2, { [_eQN]: `Primary`, + [_xN]: _prim }], [0, { [_eQN]: `PrivateDnsName`, + [_xN]: _pDNr }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }]] +]; +exports.InstanceRequirements$ = [3, n0, _IRn, + 0, + [_VCC, _MMB, _CM, _MGBPVC, _EITxc, _IGns, _SMPPOLP, _ODMPPOLP, _BMa, _BP, _RHS, _NIC, _LSo, _LST, _TLSGB, _BEBM, _ATc, _AC, _AMc, _ANcc, _ATMMB, _NBGe, _AIT, _MSPAPOOODP, _BPF, _REIT], + [[() => exports.VCpuCountRange$, { [_eQN]: `VCpuCount`, + [_xN]: _vCC }], [() => exports.MemoryMiB$, { [_eQN]: `MemoryMiB`, + [_xN]: _mMB }], [() => CpuManufacturerSet, { [_eQN]: `CpuManufacturerSet`, + [_xN]: _cMSp }], [() => exports.MemoryGiBPerVCpu$, { [_eQN]: `MemoryGiBPerVCpu`, + [_xN]: _mGBPVC }], [() => ExcludedInstanceTypeSet, { [_eQN]: `ExcludedInstanceTypeSet`, + [_xN]: _eITSx }], [() => InstanceGenerationSet, { [_eQN]: `InstanceGenerationSet`, + [_xN]: _iGSn }], [1, { [_eQN]: `SpotMaxPricePercentageOverLowestPrice`, + [_xN]: _sMPPOLP }], [1, { [_eQN]: `OnDemandMaxPricePercentageOverLowestPrice`, + [_xN]: _oDMPPOLP }], [0, { [_eQN]: `BareMetal`, + [_xN]: _bMa }], [0, { [_eQN]: `BurstablePerformance`, + [_xN]: _bP }], [2, { [_eQN]: `RequireHibernateSupport`, + [_xN]: _rHS }], [() => exports.NetworkInterfaceCount$, { [_eQN]: `NetworkInterfaceCount`, + [_xN]: _nIC }], [0, { [_eQN]: `LocalStorage`, + [_xN]: _lSo }], [() => LocalStorageTypeSet, { [_eQN]: `LocalStorageTypeSet`, + [_xN]: _lSTS }], [() => exports.TotalLocalStorageGB$, { [_eQN]: `TotalLocalStorageGB`, + [_xN]: _tLSGB }], [() => exports.BaselineEbsBandwidthMbps$, { [_eQN]: `BaselineEbsBandwidthMbps`, + [_xN]: _bEBM }], [() => AcceleratorTypeSet, { [_eQN]: `AcceleratorTypeSet`, + [_xN]: _aTSc }], [() => exports.AcceleratorCount$, { [_eQN]: `AcceleratorCount`, + [_xN]: _aCc }], [() => AcceleratorManufacturerSet, { [_eQN]: `AcceleratorManufacturerSet`, + [_xN]: _aMS }], [() => AcceleratorNameSet, { [_eQN]: `AcceleratorNameSet`, + [_xN]: _aNS }], [() => exports.AcceleratorTotalMemoryMiB$, { [_eQN]: `AcceleratorTotalMemoryMiB`, + [_xN]: _aTMMB }], [() => exports.NetworkBandwidthGbps$, { [_eQN]: `NetworkBandwidthGbps`, + [_xN]: _nBGe }], [() => AllowedInstanceTypeSet, { [_eQN]: `AllowedInstanceTypeSet`, + [_xN]: _aITS }], [1, { [_eQN]: `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`, + [_xN]: _mSPAPOOODP }], [() => exports.BaselinePerformanceFactors$, { [_eQN]: `BaselinePerformanceFactors`, + [_xN]: _bPF }], [2, { [_eQN]: `RequireEncryptionInTransit`, + [_xN]: _rEIT }]] +]; +exports.InstanceRequirementsRequest$ = [3, n0, _IRR, + 0, + [_VCC, _MMB, _CM, _MGBPVC, _EITxc, _IGns, _SMPPOLP, _ODMPPOLP, _BMa, _BP, _RHS, _NIC, _LSo, _LST, _TLSGB, _BEBM, _ATc, _AC, _AMc, _ANcc, _ATMMB, _NBGe, _AIT, _MSPAPOOODP, _BPF, _REIT], + [() => exports.VCpuCountRangeRequest$, () => exports.MemoryMiBRequest$, [() => CpuManufacturerSet, { [_xN]: _CMp }], () => exports.MemoryGiBPerVCpuRequest$, [() => ExcludedInstanceTypeSet, { [_xN]: _EITxcl }], [() => InstanceGenerationSet, { [_xN]: _IGnst }], 1, 1, 0, 0, 2, () => exports.NetworkInterfaceCountRequest$, 0, [() => LocalStorageTypeSet, { [_xN]: _LSTo }], () => exports.TotalLocalStorageGBRequest$, () => exports.BaselineEbsBandwidthMbpsRequest$, [() => AcceleratorTypeSet, { [_xN]: _ATcc }], () => exports.AcceleratorCountRequest$, [() => AcceleratorManufacturerSet, { [_xN]: _AMcc }], [() => AcceleratorNameSet, { [_xN]: _ANcce }], () => exports.AcceleratorTotalMemoryMiBRequest$, () => exports.NetworkBandwidthGbpsRequest$, [() => AllowedInstanceTypeSet, { [_xN]: _AITl }], 1, [() => exports.BaselinePerformanceFactorsRequest$, 0], 2], 2 +]; +exports.InstanceRequirementsWithMetadataRequest$ = [3, n0, _IRWMR, + 0, + [_ATr, _VTi, _IRn], + [[() => ArchitectureTypeSet, { [_xN]: _ATrc }], [() => VirtualizationTypeSet, { [_xN]: _VTir }], [() => exports.InstanceRequirementsRequest$, 0]] +]; +exports.InstanceSecondaryInterface$ = [3, n0, _ISIn, + 0, + [_Att, _MAa, _SIIec, _OI, _PIAri, _SDC, _Sta, _SSIe, _SNI, _ITnt], + [[() => exports.InstanceSecondaryInterfaceAttachment$, { [_eQN]: `Attachment`, + [_xN]: _at }], [0, { [_eQN]: `MacAddress`, + [_xN]: _mAa }], [0, { [_eQN]: `SecondaryInterfaceId`, + [_xN]: _sIIe }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [() => InstanceSecondaryInterfacePrivateIpAddressList, { [_eQN]: `PrivateIpAddressSet`, + [_xN]: _pIASr }], [2, { [_eQN]: `SourceDestCheck`, + [_xN]: _sDC }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `SecondarySubnetId`, + [_xN]: _sSI }], [0, { [_eQN]: `SecondaryNetworkId`, + [_xN]: _sNI }], [0, { [_eQN]: `InterfaceType`, + [_xN]: _iTnt }]] +]; +exports.InstanceSecondaryInterfaceAttachment$ = [3, n0, _ISIA, + 0, + [_ATtt, _AItt, _DOT, _DI, _Sta, _NCI], + [[4, { [_eQN]: `AttachTime`, + [_xN]: _aTt }], [0, { [_eQN]: `AttachmentId`, + [_xN]: _aIt }], [2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [1, { [_eQN]: `DeviceIndex`, + [_xN]: _dI }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [1, { [_eQN]: `NetworkCardIndex`, + [_xN]: _nCI }]] +]; +exports.InstanceSecondaryInterfacePrivateIpAddress$ = [3, n0, _ISIPIA, + 0, + [_PIAr], + [[0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }]] +]; +exports.InstanceSecondaryInterfacePrivateIpAddressRequest$ = [3, n0, _ISIPIAR, + 0, + [_PIAr], + [0], 1 +]; +exports.InstanceSecondaryInterfaceSpecificationRequest$ = [3, n0, _ISISR, + 0, + [_DOT, _DI, _PIAri, _PIAC, _SSIe, _ITnt, _NCI], + [2, 1, [() => InstanceSecondaryInterfacePrivateIpAddressListRequest, { [_xN]: _PIAr }], 1, 0, 0, 1] +]; +exports.InstanceSpecification$ = [3, n0, _ISn, + 0, + [_II, _EBV, _EDVI], + [0, 2, [() => VolumeIdStringList, { [_xN]: _EDVIx }]], 1 +]; +exports.InstanceState$ = [3, n0, _ISnst, + 0, + [_Co, _N], + [[1, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Name`, + [_xN]: _n }]] +]; +exports.InstanceStateChange$ = [3, n0, _ISC, + 0, + [_II, _CSu, _PSr], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [() => exports.InstanceState$, { [_eQN]: `CurrentState`, + [_xN]: _cSu }], [() => exports.InstanceState$, { [_eQN]: `PreviousState`, + [_xN]: _pSr }]] +]; +exports.InstanceStatus$ = [3, n0, _ISnsta, + 0, + [_AZ, _AZI, _OA, _Op, _Ev, _II, _ISnst, _ISnsta, _SSy, _AES], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }], [() => InstanceStatusEventList, { [_eQN]: `EventsSet`, + [_xN]: _eSv }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [() => exports.InstanceState$, { [_eQN]: `InstanceState`, + [_xN]: _iSnst }], [() => exports.InstanceStatusSummary$, { [_eQN]: `InstanceStatus`, + [_xN]: _iSnsta }], [() => exports.InstanceStatusSummary$, { [_eQN]: `SystemStatus`, + [_xN]: _sSy }], [() => exports.EbsStatusSummary$, { [_eQN]: `AttachedEbsStatus`, + [_xN]: _aES }]] +]; +exports.InstanceStatusDetails$ = [3, n0, _ISDn, + 0, + [_ISm, _N, _Sta], + [[4, { [_eQN]: `ImpairedSince`, + [_xN]: _iSmp }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.InstanceStatusEvent$ = [3, n0, _ISE, + 0, + [_IEI, _Co, _De, _NAo, _NB, _NBD], + [[0, { [_eQN]: `InstanceEventId`, + [_xN]: _iEI }], [0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [4, { [_eQN]: `NotAfter`, + [_xN]: _nAo }], [4, { [_eQN]: `NotBefore`, + [_xN]: _nB }], [4, { [_eQN]: `NotBeforeDeadline`, + [_xN]: _nBD }]] +]; +exports.InstanceStatusSummary$ = [3, n0, _ISS, + 0, + [_Det, _Sta], + [[() => InstanceStatusDetailsList, { [_eQN]: `Details`, + [_xN]: _det }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.InstanceStorageInfo$ = [3, n0, _ISIns, + 0, + [_TSIGB, _Dis, _NS, _ESn], + [[1, { [_eQN]: `TotalSizeInGB`, + [_xN]: _tSIGB }], [() => DiskInfoList, { [_eQN]: `Disks`, + [_xN]: _dis }], [0, { [_eQN]: `NvmeSupport`, + [_xN]: _nS }], [0, { [_eQN]: `EncryptionSupport`, + [_xN]: _eSn }]] +]; +exports.InstanceTagNotificationAttribute$ = [3, n0, _ITNA, + 0, + [_ITK, _IATOI], + [[() => InstanceTagKeySet, { [_eQN]: `InstanceTagKeySet`, + [_xN]: _iTKS }], [2, { [_eQN]: `IncludeAllTagsOfInstance`, + [_xN]: _iATOI }]] +]; +exports.InstanceTopology$ = [3, n0, _ITnstanc, + 0, + [_II, _IT, _GN, _NN, _AZ, _ZI, _CBI], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [() => NetworkNodesList, { [_eQN]: `NetworkNodeSet`, + [_xN]: _nNS }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `ZoneId`, + [_xN]: _zI }], [0, { [_eQN]: `CapacityBlockId`, + [_xN]: _cBI }]] +]; +exports.InstanceTypeInfo$ = [3, n0, _ITIn, + 0, + [_IT, _CGur, _FTE, _SUC, _SRDT, _SVT, _BMa, _Hy, _PIro, _VCIpu, _MIe, _ISSn, _ISIns, _EIb, _NIetw, _GIp, _FIpga, _PGI, _IAIn, _HS, _BPS, _DHS, _ARS, _SBM, _NES, _NTS, _NTI, _MAIe, _NIeu, _PSh, _RMS], + [[0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [2, { [_eQN]: `CurrentGeneration`, + [_xN]: _cGur }], [2, { [_eQN]: `FreeTierEligible`, + [_xN]: _fTE }], [() => UsageClassTypeList, { [_eQN]: `SupportedUsageClasses`, + [_xN]: _sUC }], [() => RootDeviceTypeList, { [_eQN]: `SupportedRootDeviceTypes`, + [_xN]: _sRDT }], [() => VirtualizationTypeList, { [_eQN]: `SupportedVirtualizationTypes`, + [_xN]: _sVT }], [2, { [_eQN]: `BareMetal`, + [_xN]: _bMa }], [0, { [_eQN]: `Hypervisor`, + [_xN]: _h }], [() => exports.ProcessorInfo$, { [_eQN]: `ProcessorInfo`, + [_xN]: _pIr }], [() => exports.VCpuInfo$, { [_eQN]: `VCpuInfo`, + [_xN]: _vCIp }], [() => exports.MemoryInfo$, { [_eQN]: `MemoryInfo`, + [_xN]: _mIe }], [2, { [_eQN]: `InstanceStorageSupported`, + [_xN]: _iSSn }], [() => exports.InstanceStorageInfo$, { [_eQN]: `InstanceStorageInfo`, + [_xN]: _iSI }], [() => exports.EbsInfo$, { [_eQN]: `EbsInfo`, + [_xN]: _eIb }], [() => exports.NetworkInfo$, { [_eQN]: `NetworkInfo`, + [_xN]: _nIet }], [() => exports.GpuInfo$, { [_eQN]: `GpuInfo`, + [_xN]: _gIp }], [() => exports.FpgaInfo$, { [_eQN]: `FpgaInfo`, + [_xN]: _fIp }], [() => exports.PlacementGroupInfo$, { [_eQN]: `PlacementGroupInfo`, + [_xN]: _pGI }], [() => exports.InferenceAcceleratorInfo$, { [_eQN]: `InferenceAcceleratorInfo`, + [_xN]: _iAIn }], [2, { [_eQN]: `HibernationSupported`, + [_xN]: _hSi }], [2, { [_eQN]: `BurstablePerformanceSupported`, + [_xN]: _bPS }], [2, { [_eQN]: `DedicatedHostsSupported`, + [_xN]: _dHS }], [2, { [_eQN]: `AutoRecoverySupported`, + [_xN]: _aRSu }], [() => BootModeTypeList, { [_eQN]: `SupportedBootModes`, + [_xN]: _sBM }], [0, { [_eQN]: `NitroEnclavesSupport`, + [_xN]: _nES }], [0, { [_eQN]: `NitroTpmSupport`, + [_xN]: _nTS }], [() => exports.NitroTpmInfo$, { [_eQN]: `NitroTpmInfo`, + [_xN]: _nTI }], [() => exports.MediaAcceleratorInfo$, { [_eQN]: `MediaAcceleratorInfo`, + [_xN]: _mAIe }], [() => exports.NeuronInfo$, { [_eQN]: `NeuronInfo`, + [_xN]: _nIeu }], [0, { [_eQN]: `PhcSupport`, + [_xN]: _pSh }], [0, { [_eQN]: `RebootMigrationSupport`, + [_xN]: _rMS }]] +]; +exports.InstanceTypeInfoFromInstanceRequirements$ = [3, n0, _ITIFIR, + 0, + [_IT], + [[0, { [_eQN]: `InstanceType`, + [_xN]: _iT }]] +]; +exports.InstanceTypeOffering$ = [3, n0, _ITOn, + 0, + [_IT, _LTo, _Loc], + [[0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `LocationType`, + [_xN]: _lTo }], [0, { [_eQN]: `Location`, + [_xN]: _lo }]] +]; +exports.InstanceUsage$ = [3, n0, _IUn, + 0, + [_AIc, _UIC], + [[0, { [_eQN]: `AccountId`, + [_xN]: _aIc }], [1, { [_eQN]: `UsedInstanceCount`, + [_xN]: _uIC }]] +]; +exports.IntegrateServices$ = [3, n0, _ISnt, + 0, + [_AIth], + [[() => AthenaIntegrationsSet, { [_xN]: _AIt }]] +]; +exports.InternetGateway$ = [3, n0, _IG, + 0, + [_Atta, _IGI, _OI, _T], + [[() => InternetGatewayAttachmentList, { [_eQN]: `AttachmentSet`, + [_xN]: _aSt }], [0, { [_eQN]: `InternetGatewayId`, + [_xN]: _iGI }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.InternetGatewayAttachment$ = [3, n0, _IGA, + 0, + [_St, _VI], + [[0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }]] +]; +exports.InterruptibleCapacityAllocation$ = [3, n0, _ICA, + 0, + [_IC, _TICa, _Sta, _ICRI, _ITn], + [[1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [1, { [_eQN]: `TargetInstanceCount`, + [_xN]: _tICa }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `InterruptibleCapacityReservationId`, + [_xN]: _iCRI }], [0, { [_eQN]: `InterruptionType`, + [_xN]: _iTn }]] +]; +exports.InterruptionInfo$ = [3, n0, _IIn, + 0, + [_SCRI, _ITn], + [[0, { [_eQN]: `SourceCapacityReservationId`, + [_xN]: _sCRI }], [0, { [_eQN]: `InterruptionType`, + [_xN]: _iTn }]] +]; +exports.Ipam$ = [3, n0, _Ip, + 0, + [_OI, _IIp, _IApa, _IRp, _PDSI, _PDSIr, _SCc, _De, _OR, _St, _T, _DRDI, _DRDAI, _RDAC, _SMta, _Tie, _EPG, _MAe], + [[0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `IpamId`, + [_xN]: _iIp }], [0, { [_eQN]: `IpamArn`, + [_xN]: _iApa }], [0, { [_eQN]: `IpamRegion`, + [_xN]: _iRp }], [0, { [_eQN]: `PublicDefaultScopeId`, + [_xN]: _pDSI }], [0, { [_eQN]: `PrivateDefaultScopeId`, + [_xN]: _pDSIr }], [1, { [_eQN]: `ScopeCount`, + [_xN]: _sCc }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => IpamOperatingRegionSet, { [_eQN]: `OperatingRegionSet`, + [_xN]: _oRS }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `DefaultResourceDiscoveryId`, + [_xN]: _dRDI }], [0, { [_eQN]: `DefaultResourceDiscoveryAssociationId`, + [_xN]: _dRDAI }], [1, { [_eQN]: `ResourceDiscoveryAssociationCount`, + [_xN]: _rDAC }], [0, { [_eQN]: `StateMessage`, + [_xN]: _sMta }], [0, { [_eQN]: `Tier`, + [_xN]: _tie }], [2, { [_eQN]: `EnablePrivateGua`, + [_xN]: _ePG }], [0, { [_eQN]: `MeteredAccount`, + [_xN]: _mAe }]] +]; +exports.IpamAddressHistoryRecord$ = [3, n0, _IAHR, + 0, + [_ROI, _RR, _RTe, _RIeso, _RCe, _RNes, _RCS, _ROS, _VI, _SST, _SET], + [[0, { [_eQN]: `ResourceOwnerId`, + [_xN]: _rOI }], [0, { [_eQN]: `ResourceRegion`, + [_xN]: _rR }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceCidr`, + [_xN]: _rCe }], [0, { [_eQN]: `ResourceName`, + [_xN]: _rNes }], [0, { [_eQN]: `ResourceComplianceStatus`, + [_xN]: _rCS }], [0, { [_eQN]: `ResourceOverlapStatus`, + [_xN]: _rOSe }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [4, { [_eQN]: `SampledStartTime`, + [_xN]: _sST }], [4, { [_eQN]: `SampledEndTime`, + [_xN]: _sET }]] +]; +exports.IpamCidrAuthorizationContext$ = [3, n0, _ICAC, + 0, + [_Me, _Si], + [0, 0] +]; +exports.IpamDiscoveredAccount$ = [3, n0, _IDAp, + 0, + [_AIc, _DRi, _FR, _LADT, _LSDT, _OUI], + [[0, { [_eQN]: `AccountId`, + [_xN]: _aIc }], [0, { [_eQN]: `DiscoveryRegion`, + [_xN]: _dRi }], [() => exports.IpamDiscoveryFailureReason$, { [_eQN]: `FailureReason`, + [_xN]: _fR }], [4, { [_eQN]: `LastAttemptedDiscoveryTime`, + [_xN]: _lADT }], [4, { [_eQN]: `LastSuccessfulDiscoveryTime`, + [_xN]: _lSDT }], [0, { [_eQN]: `OrganizationalUnitId`, + [_xN]: _oUI }]] +]; +exports.IpamDiscoveredPublicAddress$ = [3, n0, _IDPAp, + 0, + [_IRDI, _ARd, _A, _AOI, _AAId, _ASs, _ATddr, _Se, _SRer, _VI, _SIu, _PIPI, _NII, _NID, _II, _T, _NBG, _SGe, _STam], + [[0, { [_eQN]: `IpamResourceDiscoveryId`, + [_xN]: _iRDI }], [0, { [_eQN]: `AddressRegion`, + [_xN]: _aRd }], [0, { [_eQN]: `Address`, + [_xN]: _ad }], [0, { [_eQN]: `AddressOwnerId`, + [_xN]: _aOI }], [0, { [_eQN]: `AddressAllocationId`, + [_xN]: _aAId }], [0, { [_eQN]: `AssociationStatus`, + [_xN]: _aSs }], [0, { [_eQN]: `AddressType`, + [_xN]: _aTdd }], [0, { [_eQN]: `Service`, + [_xN]: _se }], [0, { [_eQN]: `ServiceResource`, + [_xN]: _sRe }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `PublicIpv4PoolId`, + [_xN]: _pIPI }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `NetworkInterfaceDescription`, + [_xN]: _nID }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [() => exports.IpamPublicAddressTags$, { [_eQN]: `Tags`, + [_xN]: _tag }], [0, { [_eQN]: `NetworkBorderGroup`, + [_xN]: _nBG }], [() => IpamPublicAddressSecurityGroupList, { [_eQN]: `SecurityGroupSet`, + [_xN]: _sGSe }], [4, { [_eQN]: `SampleTime`, + [_xN]: _sTa }]] +]; +exports.IpamDiscoveredResourceCidr$ = [3, n0, _IDRCp, + 0, + [_IRDI, _RR, _RIeso, _ROI, _RCe, _ISpo, _RTe, _RTesou, _IUp, _VI, _SIu, _NIASet, _STam, _AZI], + [[0, { [_eQN]: `IpamResourceDiscoveryId`, + [_xN]: _iRDI }], [0, { [_eQN]: `ResourceRegion`, + [_xN]: _rR }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceOwnerId`, + [_xN]: _rOI }], [0, { [_eQN]: `ResourceCidr`, + [_xN]: _rCe }], [0, { [_eQN]: `IpSource`, + [_xN]: _iSpo }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [() => IpamResourceTagList, { [_eQN]: `ResourceTagSet`, + [_xN]: _rTSes }], [1, { [_eQN]: `IpUsage`, + [_xN]: _iU }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `NetworkInterfaceAttachmentStatus`, + [_xN]: _nIASet }], [4, { [_eQN]: `SampleTime`, + [_xN]: _sTa }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }]] +]; +exports.IpamDiscoveryFailureReason$ = [3, n0, _IDFR, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.IpamExternalResourceVerificationToken$ = [3, n0, _IERVT, + 0, + [_IERVTI, _IERVTA, _IIp, _IApa, _IRp, _TVo, _TN, _NAo, _Sta, _T, _St], + [[0, { [_eQN]: `IpamExternalResourceVerificationTokenId`, + [_xN]: _iERVTI }], [0, { [_eQN]: `IpamExternalResourceVerificationTokenArn`, + [_xN]: _iERVTA }], [0, { [_eQN]: `IpamId`, + [_xN]: _iIp }], [0, { [_eQN]: `IpamArn`, + [_xN]: _iApa }], [0, { [_eQN]: `IpamRegion`, + [_xN]: _iRp }], [0, { [_eQN]: `TokenValue`, + [_xN]: _tV }], [0, { [_eQN]: `TokenName`, + [_xN]: _tN }], [4, { [_eQN]: `NotAfter`, + [_xN]: _nAo }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.IpamOperatingRegion$ = [3, n0, _IOR, + 0, + [_RN], + [[0, { [_eQN]: `RegionName`, + [_xN]: _rNe }]] +]; +exports.IpamOrganizationalUnitExclusion$ = [3, n0, _IOUE, + 0, + [_OEP], + [[0, { [_eQN]: `OrganizationsEntityPath`, + [_xN]: _oEP }]] +]; +exports.IpamPolicy$ = [3, n0, _IPpa, + 0, + [_OI, _IPIp, _IPApa, _IPR, _St, _SMta, _T, _IIp], + [[0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `IpamPolicyId`, + [_xN]: _iPI }], [0, { [_eQN]: `IpamPolicyArn`, + [_xN]: _iPAp }], [0, { [_eQN]: `IpamPolicyRegion`, + [_xN]: _iPR }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateMessage`, + [_xN]: _sMta }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `IpamId`, + [_xN]: _iIp }]] +]; +exports.IpamPolicyAllocationRule$ = [3, n0, _IPAR, + 0, + [_SIPI], + [[0, { [_eQN]: `SourceIpamPoolId`, + [_xN]: _sIPI }]] +]; +exports.IpamPolicyAllocationRuleRequest$ = [3, n0, _IPARR, + 0, + [_SIPI], + [0] +]; +exports.IpamPolicyDocument$ = [3, n0, _IPDp, + 0, + [_IPIp, _Lo, _RTe, _ARllo], + [[0, { [_eQN]: `IpamPolicyId`, + [_xN]: _iPI }], [0, { [_eQN]: `Locale`, + [_xN]: _loc }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [() => IpamPolicyAllocationRuleList, { [_eQN]: `AllocationRuleSet`, + [_xN]: _aRSl }]] +]; +exports.IpamPolicyOrganizationTarget$ = [3, n0, _IPOT, + 0, + [_OTI], + [[0, { [_eQN]: `OrganizationTargetId`, + [_xN]: _oTI }]] +]; +exports.IpamPool$ = [3, n0, _IPpam, + 0, + [_OI, _IPI, _SIPI, _IPApam, _ISA, _ISTp, _IApa, _IRp, _Lo, _PDoo, _St, _SMta, _De, _AIu, _PAu, _AF, _AMNL, _AMNLl, _ADNL, _ART, _T, _ASw, _PIS, _SRou], + [[0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `IpamPoolId`, + [_xN]: _iPIp }], [0, { [_eQN]: `SourceIpamPoolId`, + [_xN]: _sIPI }], [0, { [_eQN]: `IpamPoolArn`, + [_xN]: _iPApa }], [0, { [_eQN]: `IpamScopeArn`, + [_xN]: _iSA }], [0, { [_eQN]: `IpamScopeType`, + [_xN]: _iST }], [0, { [_eQN]: `IpamArn`, + [_xN]: _iApa }], [0, { [_eQN]: `IpamRegion`, + [_xN]: _iRp }], [0, { [_eQN]: `Locale`, + [_xN]: _loc }], [1, { [_eQN]: `PoolDepth`, + [_xN]: _pDoo }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateMessage`, + [_xN]: _sMta }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [2, { [_eQN]: `AutoImport`, + [_xN]: _aIu }], [2, { [_eQN]: `PubliclyAdvertisable`, + [_xN]: _pAu }], [0, { [_eQN]: `AddressFamily`, + [_xN]: _aF }], [1, { [_eQN]: `AllocationMinNetmaskLength`, + [_xN]: _aMNL }], [1, { [_eQN]: `AllocationMaxNetmaskLength`, + [_xN]: _aMNLl }], [1, { [_eQN]: `AllocationDefaultNetmaskLength`, + [_xN]: _aDNL }], [() => IpamResourceTagList, { [_eQN]: `AllocationResourceTagSet`, + [_xN]: _aRTS }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `AwsService`, + [_xN]: _aSw }], [0, { [_eQN]: `PublicIpSource`, + [_xN]: _pIS }], [() => exports.IpamPoolSourceResource$, { [_eQN]: `SourceResource`, + [_xN]: _sRo }]] +]; +exports.IpamPoolAllocation$ = [3, n0, _IPA, + 0, + [_Ci, _IPAI, _De, _RIeso, _RTe, _RR, _ROe], + [[0, { [_eQN]: `Cidr`, + [_xN]: _ci }], [0, { [_eQN]: `IpamPoolAllocationId`, + [_xN]: _iPAI }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `ResourceRegion`, + [_xN]: _rR }], [0, { [_eQN]: `ResourceOwner`, + [_xN]: _rO }]] +]; +exports.IpamPoolCidr$ = [3, n0, _IPCpa, + 0, + [_Ci, _St, _FR, _IPCI, _NL], + [[0, { [_eQN]: `Cidr`, + [_xN]: _ci }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => exports.IpamPoolCidrFailureReason$, { [_eQN]: `FailureReason`, + [_xN]: _fR }], [0, { [_eQN]: `IpamPoolCidrId`, + [_xN]: _iPCI }], [1, { [_eQN]: `NetmaskLength`, + [_xN]: _nL }]] +]; +exports.IpamPoolCidrFailureReason$ = [3, n0, _IPCFR, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.IpamPoolSourceResource$ = [3, n0, _IPSR, + 0, + [_RIeso, _RTe, _RR, _ROe], + [[0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `ResourceRegion`, + [_xN]: _rR }], [0, { [_eQN]: `ResourceOwner`, + [_xN]: _rO }]] +]; +exports.IpamPoolSourceResourceRequest$ = [3, n0, _IPSRR, + 0, + [_RIeso, _RTe, _RR, _ROe], + [0, 0, 0, 0] +]; +exports.IpamPrefixListResolver$ = [3, n0, _IPLR, + 0, + [_OI, _IPLRI, _IPLRA, _IApa, _IRp, _De, _AF, _St, _T, _LVCS, _LVCSM], + [[0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `IpamPrefixListResolverId`, + [_xN]: _iPLRI }], [0, { [_eQN]: `IpamPrefixListResolverArn`, + [_xN]: _iPLRA }], [0, { [_eQN]: `IpamArn`, + [_xN]: _iApa }], [0, { [_eQN]: `IpamRegion`, + [_xN]: _iRp }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `AddressFamily`, + [_xN]: _aF }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `LastVersionCreationStatus`, + [_xN]: _lVCS }], [0, { [_eQN]: `LastVersionCreationStatusMessage`, + [_xN]: _lVCSM }]] +]; +exports.IpamPrefixListResolverRule$ = [3, n0, _IPLRR, + 0, + [_RTu, _SCt, _ISI, _RTe, _Cond], + [[0, { [_eQN]: `RuleType`, + [_xN]: _rTu }], [0, { [_eQN]: `StaticCidr`, + [_xN]: _sCt }], [0, { [_eQN]: `IpamScopeId`, + [_xN]: _iSIp }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [() => IpamPrefixListResolverRuleConditionSet, { [_eQN]: `ConditionSet`, + [_xN]: _cSo }]] +]; +exports.IpamPrefixListResolverRuleCondition$ = [3, n0, _IPLRRC, + 0, + [_Ope, _IPI, _RIeso, _ROe, _RR, _RTeso, _Ci], + [[0, { [_eQN]: `Operation`, + [_xN]: _oper }], [0, { [_eQN]: `IpamPoolId`, + [_xN]: _iPIp }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceOwner`, + [_xN]: _rO }], [0, { [_eQN]: `ResourceRegion`, + [_xN]: _rR }], [() => exports.IpamResourceTag$, { [_eQN]: `ResourceTag`, + [_xN]: _rTes }], [0, { [_eQN]: `Cidr`, + [_xN]: _ci }]] +]; +exports.IpamPrefixListResolverRuleConditionRequest$ = [3, n0, _IPLRRCR, + 0, + [_Ope, _IPI, _RIeso, _ROe, _RR, _RTeso, _Ci], + [0, 0, 0, 0, 0, () => exports.RequestIpamResourceTag$, 0], 1 +]; +exports.IpamPrefixListResolverRuleRequest$ = [3, n0, _IPLRRR, + 0, + [_RTu, _SCt, _ISI, _RTe, _Cond], + [0, 0, 0, 0, [() => IpamPrefixListResolverRuleConditionRequestSet, { [_xN]: _Condi }]], 1 +]; +exports.IpamPrefixListResolverTarget$ = [3, n0, _IPLRT, + 0, + [_IPLRTI, _IPLRTA, _IPLRI, _OI, _PLI, _PLR, _DV, _LSV, _TLV, _SMta, _St, _T], + [[0, { [_eQN]: `IpamPrefixListResolverTargetId`, + [_xN]: _iPLRTI }], [0, { [_eQN]: `IpamPrefixListResolverTargetArn`, + [_xN]: _iPLRTA }], [0, { [_eQN]: `IpamPrefixListResolverId`, + [_xN]: _iPLRI }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `PrefixListId`, + [_xN]: _pLI }], [0, { [_eQN]: `PrefixListRegion`, + [_xN]: _pLR }], [1, { [_eQN]: `DesiredVersion`, + [_xN]: _dVe }], [1, { [_eQN]: `LastSyncedVersion`, + [_xN]: _lSV }], [2, { [_eQN]: `TrackLatestVersion`, + [_xN]: _tLV }], [0, { [_eQN]: `StateMessage`, + [_xN]: _sMta }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.IpamPrefixListResolverVersion$ = [3, n0, _IPLRV, + 0, + [_Ver], + [[1, { [_eQN]: `Version`, + [_xN]: _ve }]] +]; +exports.IpamPrefixListResolverVersionEntry$ = [3, n0, _IPLRVE, + 0, + [_Ci], + [[0, { [_eQN]: `Cidr`, + [_xN]: _ci }]] +]; +exports.IpamPublicAddressSecurityGroup$ = [3, n0, _IPASG, + 0, + [_GN, _GIr], + [[0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [0, { [_eQN]: `GroupId`, + [_xN]: _gIr }]] +]; +exports.IpamPublicAddressTag$ = [3, n0, _IPAT, + 0, + [_K, _V], + [[0, { [_eQN]: `Key`, + [_xN]: _k }], [0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.IpamPublicAddressTags$ = [3, n0, _IPATp, + 0, + [_ETi], + [[() => IpamPublicAddressTagList, { [_eQN]: `EipTagSet`, + [_xN]: _eTSi }]] +]; +exports.IpamResourceCidr$ = [3, n0, _IRCp, + 0, + [_IIp, _ISI, _IPI, _RR, _ROI, _RIeso, _RNes, _RCe, _RTe, _RTesou, _IUp, _CSo, _MS, _OSv, _VI, _AZI], + [[0, { [_eQN]: `IpamId`, + [_xN]: _iIp }], [0, { [_eQN]: `IpamScopeId`, + [_xN]: _iSIp }], [0, { [_eQN]: `IpamPoolId`, + [_xN]: _iPIp }], [0, { [_eQN]: `ResourceRegion`, + [_xN]: _rR }], [0, { [_eQN]: `ResourceOwnerId`, + [_xN]: _rOI }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceName`, + [_xN]: _rNes }], [0, { [_eQN]: `ResourceCidr`, + [_xN]: _rCe }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [() => IpamResourceTagList, { [_eQN]: `ResourceTagSet`, + [_xN]: _rTSes }], [1, { [_eQN]: `IpUsage`, + [_xN]: _iU }], [0, { [_eQN]: `ComplianceStatus`, + [_xN]: _cSom }], [0, { [_eQN]: `ManagementState`, + [_xN]: _mSa }], [0, { [_eQN]: `OverlapStatus`, + [_xN]: _oSv }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }]] +]; +exports.IpamResourceDiscovery$ = [3, n0, _IRD, + 0, + [_OI, _IRDI, _IRDApa, _IRDR, _De, _OR, _IDs, _St, _T, _OUE], + [[0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `IpamResourceDiscoveryId`, + [_xN]: _iRDI }], [0, { [_eQN]: `IpamResourceDiscoveryArn`, + [_xN]: _iRDAp }], [0, { [_eQN]: `IpamResourceDiscoveryRegion`, + [_xN]: _iRDR }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => IpamOperatingRegionSet, { [_eQN]: `OperatingRegionSet`, + [_xN]: _oRS }], [2, { [_eQN]: `IsDefault`, + [_xN]: _iDs }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => IpamOrganizationalUnitExclusionSet, { [_eQN]: `OrganizationalUnitExclusionSet`, + [_xN]: _oUES }]] +]; +exports.IpamResourceDiscoveryAssociation$ = [3, n0, _IRDA, + 0, + [_OI, _IRDAIp, _IRDAA, _IRDI, _IIp, _IApa, _IRp, _IDs, _RDS, _St, _T], + [[0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `IpamResourceDiscoveryAssociationId`, + [_xN]: _iRDAI }], [0, { [_eQN]: `IpamResourceDiscoveryAssociationArn`, + [_xN]: _iRDAA }], [0, { [_eQN]: `IpamResourceDiscoveryId`, + [_xN]: _iRDI }], [0, { [_eQN]: `IpamId`, + [_xN]: _iIp }], [0, { [_eQN]: `IpamArn`, + [_xN]: _iApa }], [0, { [_eQN]: `IpamRegion`, + [_xN]: _iRp }], [2, { [_eQN]: `IsDefault`, + [_xN]: _iDs }], [0, { [_eQN]: `ResourceDiscoveryStatus`, + [_xN]: _rDS }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.IpamResourceTag$ = [3, n0, _IRTp, + 0, + [_K, _V], + [[0, { [_eQN]: `Key`, + [_xN]: _k }], [0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.IpamScope$ = [3, n0, _ISp, + 0, + [_OI, _ISI, _ISA, _IApa, _IRp, _ISTp, _IDs, _De, _PCo, _St, _T, _EAC], + [[0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `IpamScopeId`, + [_xN]: _iSIp }], [0, { [_eQN]: `IpamScopeArn`, + [_xN]: _iSA }], [0, { [_eQN]: `IpamArn`, + [_xN]: _iApa }], [0, { [_eQN]: `IpamRegion`, + [_xN]: _iRp }], [0, { [_eQN]: `IpamScopeType`, + [_xN]: _iST }], [2, { [_eQN]: `IsDefault`, + [_xN]: _iDs }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [1, { [_eQN]: `PoolCount`, + [_xN]: _pCo }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => exports.IpamScopeExternalAuthorityConfiguration$, { [_eQN]: `ExternalAuthorityConfiguration`, + [_xN]: _eAC }]] +]; +exports.IpamScopeExternalAuthorityConfiguration$ = [3, n0, _ISEAC, + 0, + [_Ty, _ERI], + [[0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `ExternalResourceIdentifier`, + [_xN]: _eRI }]] +]; +exports.IpPermission$ = [3, n0, _IPper, + 0, + [_IPpr, _FP, _TP, _UIGP, _IRpa, _IRpv, _PLIr], + [[0, { [_eQN]: `IpProtocol`, + [_xN]: _iPp }], [1, { [_eQN]: `FromPort`, + [_xN]: _fP }], [1, { [_eQN]: `ToPort`, + [_xN]: _tP }], [() => UserIdGroupPairList, { [_eQN]: `Groups`, + [_xN]: _gr }], [() => IpRangeList, { [_eQN]: `IpRanges`, + [_xN]: _iRpa }], [() => Ipv6RangeList, { [_eQN]: `Ipv6Ranges`, + [_xN]: _iRpv }], [() => PrefixListIdList, { [_eQN]: `PrefixListIds`, + [_xN]: _pLIr }]] +]; +exports.IpRange$ = [3, n0, _IRpan, + 0, + [_De, _CIi], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `CidrIp`, + [_xN]: _cIi }]] +]; +exports.Ipv4PrefixSpecification$ = [3, n0, _IPS, + 0, + [_IPpvre], + [[0, { [_eQN]: `Ipv4Prefix`, + [_xN]: _iPpv }]] +]; +exports.Ipv4PrefixSpecificationRequest$ = [3, n0, _IPSRp, + 0, + [_IPpvre], + [0] +]; +exports.Ipv4PrefixSpecificationResponse$ = [3, n0, _IPSRpv, + 0, + [_IPpvre], + [[0, { [_eQN]: `Ipv4Prefix`, + [_xN]: _iPpv }]] +]; +exports.Ipv6CidrAssociation$ = [3, n0, _ICApv, + 0, + [_ICp, _ARss], + [[0, { [_eQN]: `Ipv6Cidr`, + [_xN]: _iCp }], [0, { [_eQN]: `AssociatedResource`, + [_xN]: _aRs }]] +]; +exports.Ipv6CidrBlock$ = [3, n0, _ICB, + 0, + [_ICB], + [[0, { [_eQN]: `Ipv6CidrBlock`, + [_xN]: _iCB }]] +]; +exports.Ipv6Pool$ = [3, n0, _IPpvo, + 0, + [_PIo, _De, _PCB, _T], + [[0, { [_eQN]: `PoolId`, + [_xN]: _pIo }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => PoolCidrBlocksSet, { [_eQN]: `PoolCidrBlockSet`, + [_xN]: _pCBS }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.Ipv6PrefixSpecification$ = [3, n0, _IPSp, + 0, + [_IPpv], + [[0, { [_eQN]: `Ipv6Prefix`, + [_xN]: _iPpvr }]] +]; +exports.Ipv6PrefixSpecificationRequest$ = [3, n0, _IPSRpvr, + 0, + [_IPpv], + [0] +]; +exports.Ipv6PrefixSpecificationResponse$ = [3, n0, _IPSRpvre, + 0, + [_IPpv], + [[0, { [_eQN]: `Ipv6Prefix`, + [_xN]: _iPpvr }]] +]; +exports.Ipv6Range$ = [3, n0, _IRpva, + 0, + [_De, _CIid], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `CidrIpv6`, + [_xN]: _cIid }]] +]; +exports.KeyPair$ = [3, n0, _KPe, + 0, + [_KPI, _T, _KN, _KFe, _KM], + [[0, { [_eQN]: `KeyPairId`, + [_xN]: _kPI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `KeyName`, + [_xN]: _kN }], [0, { [_eQN]: `KeyFingerprint`, + [_xN]: _kFe }], [() => SensitiveUserData, { [_eQN]: `KeyMaterial`, + [_xN]: _kM }]] +]; +exports.KeyPairInfo$ = [3, n0, _KPIey, + 0, + [_KPI, _KT, _T, _PK, _CTr, _KN, _KFe], + [[0, { [_eQN]: `KeyPairId`, + [_xN]: _kPI }], [0, { [_eQN]: `KeyType`, + [_xN]: _kT }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `PublicKey`, + [_xN]: _pK }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [0, { [_eQN]: `KeyName`, + [_xN]: _kN }], [0, { [_eQN]: `KeyFingerprint`, + [_xN]: _kFe }]] +]; +exports.LastError$ = [3, n0, _LEa, + 0, + [_Me, _Co], + [[0, { [_eQN]: `Message`, + [_xN]: _me }], [0, { [_eQN]: `Code`, + [_xN]: _co }]] +]; +exports.LaunchPermission$ = [3, n0, _LPau, + 0, + [_OArg, _OUA, _UI, _Gr], + [[0, { [_eQN]: `OrganizationArn`, + [_xN]: _oArg }], [0, { [_eQN]: `OrganizationalUnitArn`, + [_xN]: _oUA }], [0, { [_eQN]: `UserId`, + [_xN]: _uI }], [0, { [_eQN]: `Group`, + [_xN]: _g }]] +]; +exports.LaunchPermissionModifications$ = [3, n0, _LPM, + 0, + [_Ad, _Rem], + [[() => LaunchPermissionList, 0], [() => LaunchPermissionList, 0]] +]; +exports.LaunchSpecification$ = [3, n0, _LSa, + 0, + [_UDs, _ATddre, _BDMl, _EO, _IIP, _IIm, _IT, _KI, _KN, _NIet, _Pla, _RIa, _SIu, _SGe, _Mon], + [[() => SensitiveUserData, { [_eQN]: `UserData`, + [_xN]: _uDs }], [0, { [_eQN]: `AddressingType`, + [_xN]: _aTddr }], [() => BlockDeviceMappingList, { [_eQN]: `BlockDeviceMapping`, + [_xN]: _bDM }], [2, { [_eQN]: `EbsOptimized`, + [_xN]: _eO }], [() => exports.IamInstanceProfileSpecification$, { [_eQN]: `IamInstanceProfile`, + [_xN]: _iIP }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `KernelId`, + [_xN]: _kI }], [0, { [_eQN]: `KeyName`, + [_xN]: _kN }], [() => InstanceNetworkInterfaceSpecificationList, { [_eQN]: `NetworkInterfaceSet`, + [_xN]: _nIS }], [() => exports.SpotPlacement$, { [_eQN]: `Placement`, + [_xN]: _pla }], [0, { [_eQN]: `RamdiskId`, + [_xN]: _rIa }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [() => GroupIdentifierList, { [_eQN]: `GroupSet`, + [_xN]: _gSr }], [() => exports.RunInstancesMonitoringEnabled$, { [_eQN]: `Monitoring`, + [_xN]: _mo }]] +]; +exports.LaunchTemplate$ = [3, n0, _LT, + 0, + [_LTI, _LTN, _CTr, _CBr, _DVN, _LVN, _T, _Op], + [[0, { [_eQN]: `LaunchTemplateId`, + [_xN]: _lTI }], [0, { [_eQN]: `LaunchTemplateName`, + [_xN]: _lTN }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [0, { [_eQN]: `CreatedBy`, + [_xN]: _cBr }], [1, { [_eQN]: `DefaultVersionNumber`, + [_xN]: _dVN }], [1, { [_eQN]: `LatestVersionNumber`, + [_xN]: _lVN }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }]] +]; +exports.LaunchTemplateAndOverridesResponse$ = [3, n0, _LTAOR, + 0, + [_LTS, _Ov], + [[() => exports.FleetLaunchTemplateSpecification$, { [_eQN]: `LaunchTemplateSpecification`, + [_xN]: _lTS }], [() => exports.FleetLaunchTemplateOverrides$, { [_eQN]: `Overrides`, + [_xN]: _ov }]] +]; +exports.LaunchTemplateBlockDeviceMapping$ = [3, n0, _LTBDM, + 0, + [_DN, _VN, _Eb, _ND], + [[0, { [_eQN]: `DeviceName`, + [_xN]: _dN }], [0, { [_eQN]: `VirtualName`, + [_xN]: _vN }], [() => exports.LaunchTemplateEbsBlockDevice$, { [_eQN]: `Ebs`, + [_xN]: _eb }], [0, { [_eQN]: `NoDevice`, + [_xN]: _nD }]] +]; +exports.LaunchTemplateBlockDeviceMappingRequest$ = [3, n0, _LTBDMR, + 0, + [_DN, _VN, _Eb, _ND], + [0, 0, () => exports.LaunchTemplateEbsBlockDeviceRequest$, 0] +]; +exports.LaunchTemplateCapacityReservationSpecificationRequest$ = [3, n0, _LTCRSR, + 0, + [_CRP, _CRT], + [0, () => exports.CapacityReservationTarget$] +]; +exports.LaunchTemplateCapacityReservationSpecificationResponse$ = [3, n0, _LTCRSRa, + 0, + [_CRP, _CRT], + [[0, { [_eQN]: `CapacityReservationPreference`, + [_xN]: _cRP }], [() => exports.CapacityReservationTargetResponse$, { [_eQN]: `CapacityReservationTarget`, + [_xN]: _cRT }]] +]; +exports.LaunchTemplateConfig$ = [3, n0, _LTCa, + 0, + [_LTS, _Ov], + [[() => exports.FleetLaunchTemplateSpecification$, { [_eQN]: `LaunchTemplateSpecification`, + [_xN]: _lTS }], [() => LaunchTemplateOverridesList, { [_eQN]: `Overrides`, + [_xN]: _ov }]] +]; +exports.LaunchTemplateCpuOptions$ = [3, n0, _LTCO, + 0, + [_CCor, _TPC, _ASS, _NV], + [[1, { [_eQN]: `CoreCount`, + [_xN]: _cCo }], [1, { [_eQN]: `ThreadsPerCore`, + [_xN]: _tPC }], [0, { [_eQN]: `AmdSevSnp`, + [_xN]: _aSS }], [0, { [_eQN]: `NestedVirtualization`, + [_xN]: _nV }]] +]; +exports.LaunchTemplateCpuOptionsRequest$ = [3, n0, _LTCOR, + 0, + [_CCor, _TPC, _ASS, _NV], + [1, 1, 0, 0] +]; +exports.LaunchTemplateEbsBlockDevice$ = [3, n0, _LTEBD, + 0, + [_Enc, _DOT, _Io, _KKI, _SIn, _VSo, _VT, _Th, _VIR, _ECI], + [[2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], [2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [1, { [_eQN]: `Iops`, + [_xN]: _io }], [0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [1, { [_eQN]: `VolumeSize`, + [_xN]: _vSo }], [0, { [_eQN]: `VolumeType`, + [_xN]: _vT }], [1, { [_eQN]: `Throughput`, + [_xN]: _th }], [1, { [_eQN]: `VolumeInitializationRate`, + [_xN]: _vIR }], [1, { [_eQN]: `EbsCardIndex`, + [_xN]: _eCI }]] +]; +exports.LaunchTemplateEbsBlockDeviceRequest$ = [3, n0, _LTEBDR, + 0, + [_Enc, _DOT, _Io, _KKI, _SIn, _VSo, _VT, _Th, _VIR, _ECI], + [2, 2, 1, 0, 0, 1, 0, 1, 1, 1] +]; +exports.LaunchTemplateElasticInferenceAccelerator$ = [3, n0, _LTEIA, + 0, + [_Ty, _Cou], + [0, 1], 1 +]; +exports.LaunchTemplateElasticInferenceAcceleratorResponse$ = [3, n0, _LTEIAR, + 0, + [_Ty, _Cou], + [[0, { [_eQN]: `Type`, + [_xN]: _ty }], [1, { [_eQN]: `Count`, + [_xN]: _cou }]] +]; +exports.LaunchTemplateEnaSrdSpecification$ = [3, n0, _LTESS, + 0, + [_ESE, _ESUS], + [[2, { [_eQN]: `EnaSrdEnabled`, + [_xN]: _eSE }], [() => exports.LaunchTemplateEnaSrdUdpSpecification$, { [_eQN]: `EnaSrdUdpSpecification`, + [_xN]: _eSUS }]] +]; +exports.LaunchTemplateEnaSrdUdpSpecification$ = [3, n0, _LTESUS, + 0, + [_ESUE], + [[2, { [_eQN]: `EnaSrdUdpEnabled`, + [_xN]: _eSUE }]] +]; +exports.LaunchTemplateEnclaveOptions$ = [3, n0, _LTEO, + 0, + [_En], + [[2, { [_eQN]: `Enabled`, + [_xN]: _en }]] +]; +exports.LaunchTemplateEnclaveOptionsRequest$ = [3, n0, _LTEOR, + 0, + [_En], + [2] +]; +exports.LaunchTemplateHibernationOptions$ = [3, n0, _LTHO, + 0, + [_Conf], + [[2, { [_eQN]: `Configured`, + [_xN]: _conf }]] +]; +exports.LaunchTemplateHibernationOptionsRequest$ = [3, n0, _LTHOR, + 0, + [_Conf], + [2] +]; +exports.LaunchTemplateIamInstanceProfileSpecification$ = [3, n0, _LTIIPS, + 0, + [_Ar, _N], + [[0, { [_eQN]: `Arn`, + [_xN]: _ar }], [0, { [_eQN]: `Name`, + [_xN]: _n }]] +]; +exports.LaunchTemplateIamInstanceProfileSpecificationRequest$ = [3, n0, _LTIIPSR, + 0, + [_Ar, _N], + [0, 0] +]; +exports.LaunchTemplateInstanceMaintenanceOptions$ = [3, n0, _LTIMO, + 0, + [_ARuto], + [[0, { [_eQN]: `AutoRecovery`, + [_xN]: _aRut }]] +]; +exports.LaunchTemplateInstanceMaintenanceOptionsRequest$ = [3, n0, _LTIMOR, + 0, + [_ARuto], + [0] +]; +exports.LaunchTemplateInstanceMarketOptions$ = [3, n0, _LTIMOa, + 0, + [_MT, _SO], + [[0, { [_eQN]: `MarketType`, + [_xN]: _mT }], [() => exports.LaunchTemplateSpotMarketOptions$, { [_eQN]: `SpotOptions`, + [_xN]: _sO }]] +]; +exports.LaunchTemplateInstanceMarketOptionsRequest$ = [3, n0, _LTIMORa, + 0, + [_MT, _SO], + [0, () => exports.LaunchTemplateSpotMarketOptionsRequest$] +]; +exports.LaunchTemplateInstanceMetadataOptions$ = [3, n0, _LTIMOau, + 0, + [_St, _HT, _HPRHL, _HE, _HPI, _IMT], + [[0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `HttpTokens`, + [_xN]: _hT }], [1, { [_eQN]: `HttpPutResponseHopLimit`, + [_xN]: _hPRHL }], [0, { [_eQN]: `HttpEndpoint`, + [_xN]: _hE }], [0, { [_eQN]: `HttpProtocolIpv6`, + [_xN]: _hPI }], [0, { [_eQN]: `InstanceMetadataTags`, + [_xN]: _iMT }]] +]; +exports.LaunchTemplateInstanceMetadataOptionsRequest$ = [3, n0, _LTIMORau, + 0, + [_HT, _HPRHL, _HE, _HPI, _IMT], + [0, 1, 0, 0, 0] +]; +exports.LaunchTemplateInstanceNetworkInterfaceSpecification$ = [3, n0, _LTINIS, + 0, + [_ACIA, _APIAss, _DOT, _De, _DI, _G, _ITnt, _IAC, _IA, _NII, _PIAr, _PIAri, _SPIAC, _SIu, _NCI, _IPpvr, _IPCp, _IPp, _IPC, _PIr, _ESS, _CTS, _EQC], + [[2, { [_eQN]: `AssociateCarrierIpAddress`, + [_xN]: _aCIA }], [2, { [_eQN]: `AssociatePublicIpAddress`, + [_xN]: _aPIA }], [2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [1, { [_eQN]: `DeviceIndex`, + [_xN]: _dI }], [() => GroupIdStringList, { [_eQN]: `GroupSet`, + [_xN]: _gSr }], [0, { [_eQN]: `InterfaceType`, + [_xN]: _iTnt }], [1, { [_eQN]: `Ipv6AddressCount`, + [_xN]: _iAC }], [() => InstanceIpv6AddressList, { [_eQN]: `Ipv6AddressesSet`, + [_xN]: _iASp }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }], [() => PrivateIpAddressSpecificationList, { [_eQN]: `PrivateIpAddressesSet`, + [_xN]: _pIAS }], [1, { [_eQN]: `SecondaryPrivateIpAddressCount`, + [_xN]: _sPIAC }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [1, { [_eQN]: `NetworkCardIndex`, + [_xN]: _nCI }], [() => Ipv4PrefixListResponse, { [_eQN]: `Ipv4PrefixSet`, + [_xN]: _iPSpvr }], [1, { [_eQN]: `Ipv4PrefixCount`, + [_xN]: _iPCp }], [() => Ipv6PrefixListResponse, { [_eQN]: `Ipv6PrefixSet`, + [_xN]: _iPSpvre }], [1, { [_eQN]: `Ipv6PrefixCount`, + [_xN]: _iPCpv }], [2, { [_eQN]: `PrimaryIpv6`, + [_xN]: _pIri }], [() => exports.LaunchTemplateEnaSrdSpecification$, { [_eQN]: `EnaSrdSpecification`, + [_xN]: _eSS }], [() => exports.ConnectionTrackingSpecification$, { [_eQN]: `ConnectionTrackingSpecification`, + [_xN]: _cTS }], [1, { [_eQN]: `EnaQueueCount`, + [_xN]: _eQC }]] +]; +exports.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$ = [3, n0, _LTINISR, + 0, + [_ACIA, _APIAss, _DOT, _De, _DI, _G, _ITnt, _IAC, _IA, _NII, _PIAr, _PIAri, _SPIAC, _SIu, _NCI, _IPpvr, _IPCp, _IPp, _IPC, _PIr, _ESS, _CTS, _EQC], + [2, 2, 2, 0, 1, [() => SecurityGroupIdStringList, { [_xN]: _SGI }], 0, 1, [() => InstanceIpv6AddressListRequest, 0], 0, 0, [() => PrivateIpAddressSpecificationList, 0], 1, 0, 1, [() => Ipv4PrefixList, { [_xN]: _IPpvre }], 1, [() => Ipv6PrefixList, { [_xN]: _IPpv }], 1, 2, () => exports.EnaSrdSpecificationRequest$, () => exports.ConnectionTrackingSpecificationRequest$, 1] +]; +exports.LaunchTemplateInstanceSecondaryInterfaceSpecification$ = [3, n0, _LTISIS, + 0, + [_DOT, _DI, _PIAri, _PIAC, _SSIe, _ITnt, _NCI], + [[2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [1, { [_eQN]: `DeviceIndex`, + [_xN]: _dI }], [() => SecondaryInterfacePrivateIpAddressSpecificationList, { [_eQN]: `PrivateIpAddressesSet`, + [_xN]: _pIAS }], [1, { [_eQN]: `PrivateIpAddressCount`, + [_xN]: _pIAC }], [0, { [_eQN]: `SecondarySubnetId`, + [_xN]: _sSI }], [0, { [_eQN]: `InterfaceType`, + [_xN]: _iTnt }], [1, { [_eQN]: `NetworkCardIndex`, + [_xN]: _nCI }]] +]; +exports.LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest$ = [3, n0, _LTISISR, + 0, + [_DOT, _DI, _PIAri, _PIAC, _SSIe, _ITnt, _NCI], + [2, 1, [() => SecondaryInterfacePrivateIpAddressSpecificationListRequest, { [_xN]: _PIAr }], 1, 0, 0, 1] +]; +exports.LaunchTemplateLicenseConfiguration$ = [3, n0, _LTLC, + 0, + [_LCA], + [[0, { [_eQN]: `LicenseConfigurationArn`, + [_xN]: _lCA }]] +]; +exports.LaunchTemplateLicenseConfigurationRequest$ = [3, n0, _LTLCR, + 0, + [_LCA], + [0] +]; +exports.LaunchTemplateNetworkPerformanceOptions$ = [3, n0, _LTNPO, + 0, + [_BW], + [[0, { [_eQN]: `BandwidthWeighting`, + [_xN]: _bW }]] +]; +exports.LaunchTemplateNetworkPerformanceOptionsRequest$ = [3, n0, _LTNPOR, + 0, + [_BW], + [0] +]; +exports.LaunchTemplateOverrides$ = [3, n0, _LTO, + 0, + [_IT, _SPp, _SIu, _AZ, _WCe, _Prio, _IRn, _AZI], + [[0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `SpotPrice`, + [_xN]: _sPp }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [1, { [_eQN]: `WeightedCapacity`, + [_xN]: _wC }], [1, { [_eQN]: `Priority`, + [_xN]: _pri }], [() => exports.InstanceRequirements$, { [_eQN]: `InstanceRequirements`, + [_xN]: _iR }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }]] +]; +exports.LaunchTemplatePlacement$ = [3, n0, _LTP, + 0, + [_AZ, _AZI, _Af, _GN, _HIo, _Te, _SDp, _HRGA, _PN, _GIr], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `Affinity`, + [_xN]: _af }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [0, { [_eQN]: `HostId`, + [_xN]: _hI }], [0, { [_eQN]: `Tenancy`, + [_xN]: _t }], [0, { [_eQN]: `SpreadDomain`, + [_xN]: _sDp }], [0, { [_eQN]: `HostResourceGroupArn`, + [_xN]: _hRGA }], [1, { [_eQN]: `PartitionNumber`, + [_xN]: _pN }], [0, { [_eQN]: `GroupId`, + [_xN]: _gIr }]] +]; +exports.LaunchTemplatePlacementRequest$ = [3, n0, _LTPR, + 0, + [_AZ, _AZI, _Af, _GN, _HIo, _Te, _SDp, _HRGA, _PN, _GIr], + [0, 0, 0, 0, 0, 0, 0, 0, 1, 0] +]; +exports.LaunchTemplatePrivateDnsNameOptions$ = [3, n0, _LTPDNO, + 0, + [_HTo, _ERNDAR, _ERNDAAAAR], + [[0, { [_eQN]: `HostnameType`, + [_xN]: _hTo }], [2, { [_eQN]: `EnableResourceNameDnsARecord`, + [_xN]: _eRNDAR }], [2, { [_eQN]: `EnableResourceNameDnsAAAARecord`, + [_xN]: _eRNDAAAAR }]] +]; +exports.LaunchTemplatePrivateDnsNameOptionsRequest$ = [3, n0, _LTPDNOR, + 0, + [_HTo, _ERNDAR, _ERNDAAAAR], + [0, 2, 2] +]; +exports.LaunchTemplatesMonitoring$ = [3, n0, _LTM, + 0, + [_En], + [[2, { [_eQN]: `Enabled`, + [_xN]: _en }]] +]; +exports.LaunchTemplatesMonitoringRequest$ = [3, n0, _LTMR, + 0, + [_En], + [2] +]; +exports.LaunchTemplateSpecification$ = [3, n0, _LTS, + 0, + [_LTI, _LTN, _Ver], + [0, 0, 0] +]; +exports.LaunchTemplateSpotMarketOptions$ = [3, n0, _LTSMO, + 0, + [_MPax, _SIT, _BDMlo, _VU, _IIB], + [[0, { [_eQN]: `MaxPrice`, + [_xN]: _mP }], [0, { [_eQN]: `SpotInstanceType`, + [_xN]: _sIT }], [1, { [_eQN]: `BlockDurationMinutes`, + [_xN]: _bDMl }], [4, { [_eQN]: `ValidUntil`, + [_xN]: _vU }], [0, { [_eQN]: `InstanceInterruptionBehavior`, + [_xN]: _iIB }]] +]; +exports.LaunchTemplateSpotMarketOptionsRequest$ = [3, n0, _LTSMOR, + 0, + [_MPax, _SIT, _BDMlo, _VU, _IIB], + [0, 0, 1, 4, 0] +]; +exports.LaunchTemplateTagSpecification$ = [3, n0, _LTTS, + 0, + [_RTe, _T], + [[0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.LaunchTemplateTagSpecificationRequest$ = [3, n0, _LTTSR, + 0, + [_RTe, _T], + [0, [() => TagList, { [_xN]: _Ta }]] +]; +exports.LaunchTemplateVersion$ = [3, n0, _LTV, + 0, + [_LTI, _LTN, _VNe, _VD, _CTr, _CBr, _DVef, _LTD, _Op], + [[0, { [_eQN]: `LaunchTemplateId`, + [_xN]: _lTI }], [0, { [_eQN]: `LaunchTemplateName`, + [_xN]: _lTN }], [1, { [_eQN]: `VersionNumber`, + [_xN]: _vNe }], [0, { [_eQN]: `VersionDescription`, + [_xN]: _vD }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [0, { [_eQN]: `CreatedBy`, + [_xN]: _cBr }], [2, { [_eQN]: `DefaultVersion`, + [_xN]: _dVef }], [() => exports.ResponseLaunchTemplateData$, { [_eQN]: `LaunchTemplateData`, + [_xN]: _lTD }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }]] +]; +exports.LicenseConfiguration$ = [3, n0, _LCi, + 0, + [_LCA], + [[0, { [_eQN]: `LicenseConfigurationArn`, + [_xN]: _lCA }]] +]; +exports.LicenseConfigurationRequest$ = [3, n0, _LCR, + 0, + [_LCA], + [0] +]; +exports.ListImagesInRecycleBinRequest$ = [3, n0, _LIIRBR, + 0, + [_IIma, _NTe, _MR, _DR], + [[() => ImageIdStringList, { [_xN]: _IIm }], 0, 1, 2] +]; +exports.ListImagesInRecycleBinResult$ = [3, n0, _LIIRBRi, + 0, + [_Im, _NTe], + [[() => ImageRecycleBinInfoList, { [_eQN]: `ImageSet`, + [_xN]: _iSmag }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.ListSnapshotsInRecycleBinRequest$ = [3, n0, _LSIRBR, + 0, + [_MR, _NTe, _SIna, _DR], + [1, 0, [() => SnapshotIdStringList, { [_xN]: _SIn }], 2] +]; +exports.ListSnapshotsInRecycleBinResult$ = [3, n0, _LSIRBRi, + 0, + [_Sn, _NTe], + [[() => SnapshotRecycleBinInfoList, { [_eQN]: `SnapshotSet`, + [_xN]: _sSn }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.ListVolumesInRecycleBinRequest$ = [3, n0, _LVIRBR, + 0, + [_VIol, _DR, _MR, _NTe], + [[() => VolumeIdStringList, { [_xN]: _VIo }], 2, 1, 0] +]; +exports.ListVolumesInRecycleBinResult$ = [3, n0, _LVIRBRi, + 0, + [_Vo, _NTe], + [[() => VolumeRecycleBinInfoList, { [_eQN]: `VolumeSet`, + [_xN]: _vS }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.LoadBalancersConfig$ = [3, n0, _LBC, + 0, + [_CLBC, _TGCa], + [[() => exports.ClassicLoadBalancersConfig$, { [_eQN]: `ClassicLoadBalancersConfig`, + [_xN]: _cLBC }], [() => exports.TargetGroupsConfig$, { [_eQN]: `TargetGroupsConfig`, + [_xN]: _tGCa }]] +]; +exports.LoadPermission$ = [3, n0, _LPo, + 0, + [_UI, _Gr], + [[0, { [_eQN]: `UserId`, + [_xN]: _uI }], [0, { [_eQN]: `Group`, + [_xN]: _g }]] +]; +exports.LoadPermissionModifications$ = [3, n0, _LPMo, + 0, + [_Ad, _Rem], + [[() => LoadPermissionListRequest, 0], [() => LoadPermissionListRequest, 0]] +]; +exports.LoadPermissionRequest$ = [3, n0, _LPR, + 0, + [_Gr, _UI], + [0, 0] +]; +exports.LocalGateway$ = [3, n0, _LGo, + 0, + [_LGI, _OA, _OI, _St, _T], + [[0, { [_eQN]: `LocalGatewayId`, + [_xN]: _lGI }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.LocalGatewayRoute$ = [3, n0, _LGR, + 0, + [_DCB, _LGVIGI, _Ty, _St, _LGRTI, _LGRTA, _OI, _SIu, _CPI, _NII, _DPLI], + [[0, { [_eQN]: `DestinationCidrBlock`, + [_xN]: _dCB }], [0, { [_eQN]: `LocalGatewayVirtualInterfaceGroupId`, + [_xN]: _lGVIGI }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `LocalGatewayRouteTableId`, + [_xN]: _lGRTI }], [0, { [_eQN]: `LocalGatewayRouteTableArn`, + [_xN]: _lGRTA }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `CoipPoolId`, + [_xN]: _cPI }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `DestinationPrefixListId`, + [_xN]: _dPLI }]] +]; +exports.LocalGatewayRouteTable$ = [3, n0, _LGRT, + 0, + [_LGRTI, _LGRTA, _LGI, _OA, _OI, _St, _T, _Mo, _SRt], + [[0, { [_eQN]: `LocalGatewayRouteTableId`, + [_xN]: _lGRTI }], [0, { [_eQN]: `LocalGatewayRouteTableArn`, + [_xN]: _lGRTA }], [0, { [_eQN]: `LocalGatewayId`, + [_xN]: _lGI }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `Mode`, + [_xN]: _mod }], [() => exports.StateReason$, { [_eQN]: `StateReason`, + [_xN]: _sRt }]] +]; +exports.LocalGatewayRouteTableVirtualInterfaceGroupAssociation$ = [3, n0, _LGRTVIGA, + 0, + [_LGRTVIGAI, _LGVIGI, _LGI, _LGRTI, _LGRTA, _OI, _St, _T], + [[0, { [_eQN]: `LocalGatewayRouteTableVirtualInterfaceGroupAssociationId`, + [_xN]: _lGRTVIGAI }], [0, { [_eQN]: `LocalGatewayVirtualInterfaceGroupId`, + [_xN]: _lGVIGI }], [0, { [_eQN]: `LocalGatewayId`, + [_xN]: _lGI }], [0, { [_eQN]: `LocalGatewayRouteTableId`, + [_xN]: _lGRTI }], [0, { [_eQN]: `LocalGatewayRouteTableArn`, + [_xN]: _lGRTA }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.LocalGatewayRouteTableVpcAssociation$ = [3, n0, _LGRTVA, + 0, + [_LGRTVAI, _LGRTI, _LGRTA, _LGI, _VI, _OI, _St, _T], + [[0, { [_eQN]: `LocalGatewayRouteTableVpcAssociationId`, + [_xN]: _lGRTVAI }], [0, { [_eQN]: `LocalGatewayRouteTableId`, + [_xN]: _lGRTI }], [0, { [_eQN]: `LocalGatewayRouteTableArn`, + [_xN]: _lGRTA }], [0, { [_eQN]: `LocalGatewayId`, + [_xN]: _lGI }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.LocalGatewayVirtualInterface$ = [3, n0, _LGVI, + 0, + [_LGVII, _LGI, _LGVIGI, _LGVIA, _OLI, _Vl, _LA, _PAe, _LBA, _PBA, _PBAE, _OI, _T, _CSon], + [[0, { [_eQN]: `LocalGatewayVirtualInterfaceId`, + [_xN]: _lGVII }], [0, { [_eQN]: `LocalGatewayId`, + [_xN]: _lGI }], [0, { [_eQN]: `LocalGatewayVirtualInterfaceGroupId`, + [_xN]: _lGVIGI }], [0, { [_eQN]: `LocalGatewayVirtualInterfaceArn`, + [_xN]: _lGVIA }], [0, { [_eQN]: `OutpostLagId`, + [_xN]: _oLI }], [1, { [_eQN]: `Vlan`, + [_xN]: _vl }], [0, { [_eQN]: `LocalAddress`, + [_xN]: _lA }], [0, { [_eQN]: `PeerAddress`, + [_xN]: _pAe }], [1, { [_eQN]: `LocalBgpAsn`, + [_xN]: _lBAo }], [1, { [_eQN]: `PeerBgpAsn`, + [_xN]: _pBA }], [1, { [_eQN]: `PeerBgpAsnExtended`, + [_xN]: _pBAE }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `ConfigurationState`, + [_xN]: _cSon }]] +]; +exports.LocalGatewayVirtualInterfaceGroup$ = [3, n0, _LGVIG, + 0, + [_LGVIGI, _LGVIIo, _LGI, _OI, _LBA, _LBAE, _LGVIGA, _T, _CSon], + [[0, { [_eQN]: `LocalGatewayVirtualInterfaceGroupId`, + [_xN]: _lGVIGI }], [() => LocalGatewayVirtualInterfaceIdSet, { [_eQN]: `LocalGatewayVirtualInterfaceIdSet`, + [_xN]: _lGVIIS }], [0, { [_eQN]: `LocalGatewayId`, + [_xN]: _lGI }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [1, { [_eQN]: `LocalBgpAsn`, + [_xN]: _lBAo }], [1, { [_eQN]: `LocalBgpAsnExtended`, + [_xN]: _lBAE }], [0, { [_eQN]: `LocalGatewayVirtualInterfaceGroupArn`, + [_xN]: _lGVIGA }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `ConfigurationState`, + [_xN]: _cSon }]] +]; +exports.LockedSnapshotsInfo$ = [3, n0, _LSI, + 0, + [_OI, _SIn, _LSoc, _LDo, _COP, _COPEO, _LCO, _LDST, _LEO], + [[0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `LockState`, + [_xN]: _lSoc }], [1, { [_eQN]: `LockDuration`, + [_xN]: _lDo }], [1, { [_eQN]: `CoolOffPeriod`, + [_xN]: _cOP }], [4, { [_eQN]: `CoolOffPeriodExpiresOn`, + [_xN]: _cOPEO }], [4, { [_eQN]: `LockCreatedOn`, + [_xN]: _lCO }], [4, { [_eQN]: `LockDurationStartTime`, + [_xN]: _lDST }], [4, { [_eQN]: `LockExpiresOn`, + [_xN]: _lEO }]] +]; +exports.LockSnapshotRequest$ = [3, n0, _LSR, + 0, + [_SIn, _LM, _DR, _COP, _LDo, _EDx], + [0, 0, 2, 1, 1, 4], 2 +]; +exports.LockSnapshotResult$ = [3, n0, _LSRo, + 0, + [_SIn, _LSoc, _LDo, _COP, _COPEO, _LCO, _LEO, _LDST], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `LockState`, + [_xN]: _lSoc }], [1, { [_eQN]: `LockDuration`, + [_xN]: _lDo }], [1, { [_eQN]: `CoolOffPeriod`, + [_xN]: _cOP }], [4, { [_eQN]: `CoolOffPeriodExpiresOn`, + [_xN]: _cOPEO }], [4, { [_eQN]: `LockCreatedOn`, + [_xN]: _lCO }], [4, { [_eQN]: `LockExpiresOn`, + [_xN]: _lEO }], [4, { [_eQN]: `LockDurationStartTime`, + [_xN]: _lDST }]] +]; +exports.MacHost$ = [3, n0, _MHa, + 0, + [_HIo, _MOSLSV], + [[0, { [_eQN]: `HostId`, + [_xN]: _hI }], [() => MacOSVersionStringList, { [_eQN]: `MacOSLatestSupportedVersionSet`, + [_xN]: _mOSLSVS }]] +]; +exports.MacModificationTask$ = [3, n0, _MMT, + 0, + [_II, _MMTIa, _MSIPCa, _ST, _T, _TSas, _TTa], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `MacModificationTaskId`, + [_xN]: _mMTI }], [() => exports.MacSystemIntegrityProtectionConfiguration$, { [_eQN]: `MacSystemIntegrityProtectionConfig`, + [_xN]: _mSIPC }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `TaskState`, + [_xN]: _tSas }], [0, { [_eQN]: `TaskType`, + [_xN]: _tTa }]] +]; +exports.MacSystemIntegrityProtectionConfiguration$ = [3, n0, _MSIPC, + 0, + [_AIp, _BS, _DReb, _DTRr, _FPi, _KS, _NP, _Sta], + [[0, { [_eQN]: `AppleInternal`, + [_xN]: _aIp }], [0, { [_eQN]: `BaseSystem`, + [_xN]: _bSa }], [0, { [_eQN]: `DebuggingRestrictions`, + [_xN]: _dReb }], [0, { [_eQN]: `DTraceRestrictions`, + [_xN]: _dTR }], [0, { [_eQN]: `FilesystemProtections`, + [_xN]: _fPi }], [0, { [_eQN]: `KextSigning`, + [_xN]: _kSe }], [0, { [_eQN]: `NvramProtections`, + [_xN]: _nP }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.MacSystemIntegrityProtectionConfigurationRequest$ = [3, n0, _MSIPCR, + 0, + [_AIp, _BS, _DReb, _DTRr, _FPi, _KS, _NP], + [0, 0, 0, 0, 0, 0, 0] +]; +exports.MaintenanceDetails$ = [3, n0, _MDa, + 0, + [_PM, _MAAA, _LMA], + [[0, { [_eQN]: `PendingMaintenance`, + [_xN]: _pM }], [4, { [_eQN]: `MaintenanceAutoAppliedAfter`, + [_xN]: _mAAA }], [4, { [_eQN]: `LastMaintenanceApplied`, + [_xN]: _lMA }]] +]; +exports.ManagedPrefixList$ = [3, n0, _MPLa, + 0, + [_PLI, _AF, _St, _SMta, _PLAr, _PLN, _ME, _Ver, _T, _OI, _IPLRTI, _IPLRSE], + [[0, { [_eQN]: `PrefixListId`, + [_xN]: _pLI }], [0, { [_eQN]: `AddressFamily`, + [_xN]: _aF }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateMessage`, + [_xN]: _sMta }], [0, { [_eQN]: `PrefixListArn`, + [_xN]: _pLA }], [0, { [_eQN]: `PrefixListName`, + [_xN]: _pLN }], [1, { [_eQN]: `MaxEntries`, + [_xN]: _mE }], [1, { [_eQN]: `Version`, + [_xN]: _ve }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `IpamPrefixListResolverTargetId`, + [_xN]: _iPLRTI }], [2, { [_eQN]: `IpamPrefixListResolverSyncEnabled`, + [_xN]: _iPLRSE }]] +]; +exports.MediaAcceleratorInfo$ = [3, n0, _MAIe, + 0, + [_Acc, _TMMIMB], + [[() => MediaDeviceInfoList, { [_eQN]: `Accelerators`, + [_xN]: _acc }], [1, { [_eQN]: `TotalMediaMemoryInMiB`, + [_xN]: _tMMIMB }]] +]; +exports.MediaDeviceInfo$ = [3, n0, _MDI, + 0, + [_Cou, _N, _Man, _MIe], + [[1, { [_eQN]: `Count`, + [_xN]: _cou }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `Manufacturer`, + [_xN]: _man }], [() => exports.MediaDeviceMemoryInfo$, { [_eQN]: `MemoryInfo`, + [_xN]: _mIe }]] +]; +exports.MediaDeviceMemoryInfo$ = [3, n0, _MDMI, + 0, + [_SIMB], + [[1, { [_eQN]: `SizeInMiB`, + [_xN]: _sIMB }]] +]; +exports.MemoryGiBPerVCpu$ = [3, n0, _MGBPVC, + 0, + [_M, _Ma], + [[1, { [_eQN]: `Min`, + [_xN]: _m }], [1, { [_eQN]: `Max`, + [_xN]: _ma }]] +]; +exports.MemoryGiBPerVCpuRequest$ = [3, n0, _MGBPVCR, + 0, + [_M, _Ma], + [1, 1] +]; +exports.MemoryInfo$ = [3, n0, _MIe, + 0, + [_SIMB], + [[1, { [_eQN]: `SizeInMiB`, + [_xN]: _sIMB }]] +]; +exports.MemoryMiB$ = [3, n0, _MMB, + 0, + [_M, _Ma], + [[1, { [_eQN]: `Min`, + [_xN]: _m }], [1, { [_eQN]: `Max`, + [_xN]: _ma }]] +]; +exports.MemoryMiBRequest$ = [3, n0, _MMBR, + 0, + [_M, _Ma], + [1, 1], 1 +]; +exports.MetricDataResult$ = [3, n0, _MDRet, + 0, + [_Dim, _Ti, _MVe], + [[() => exports.CapacityManagerDimension$, { [_eQN]: `Dimension`, + [_xN]: _dim }], [4, { [_eQN]: `Timestamp`, + [_xN]: _ti }], [() => MetricValueSet, { [_eQN]: `MetricValueSet`, + [_xN]: _mVS }]] +]; +exports.MetricPoint$ = [3, n0, _MPet, + 0, + [_SD, _ED, _V, _Sta], + [[4, { [_eQN]: `StartDate`, + [_xN]: _sD }], [4, { [_eQN]: `EndDate`, + [_xN]: _eD }], [1, { [_eQN]: `Value`, + [_xN]: _v }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.MetricValue$ = [3, n0, _MVet, + 0, + [_Met, _V], + [[0, { [_eQN]: `Metric`, + [_xN]: _met }], [1, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.ModifyAddressAttributeRequest$ = [3, n0, _MAAR, + 0, + [_AIl, _DNo, _DR], + [0, 0, 2], 1 +]; +exports.ModifyAddressAttributeResult$ = [3, n0, _MAARo, + 0, + [_A], + [[() => exports.AddressAttribute$, { [_eQN]: `Address`, + [_xN]: _ad }]] +]; +exports.ModifyAvailabilityZoneGroupRequest$ = [3, n0, _MAZGR, + 0, + [_GN, _OIS, _DR], + [0, 0, 2], 2 +]; +exports.ModifyAvailabilityZoneGroupResult$ = [3, n0, _MAZGRo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyCapacityReservationFleetRequest$ = [3, n0, _MCRFR, + 0, + [_CRFIa, _TTC, _ED, _DR, _RED], + [0, 1, 4, 2, 2], 1 +]; +exports.ModifyCapacityReservationFleetResult$ = [3, n0, _MCRFRo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyCapacityReservationRequest$ = [3, n0, _MCRR, + 0, + [_CRI, _IC, _ED, _EDTn, _Acce, _DR, _AId, _IMC], + [0, 1, 4, 0, 2, 2, 0, 0], 1 +]; +exports.ModifyCapacityReservationResult$ = [3, n0, _MCRRo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyClientVpnEndpointRequest$ = [3, n0, _MCVER, + 0, + [_CVEI, _SCA, _CLO, _DS, _VPp, _De, _STp, _DR, _SGIe, _VI, _SSP, _CCO, _STH, _CLBO, _CREO, _DOST], + [0, 0, () => exports.ConnectionLogOptions$, [() => exports.DnsServersOptionsModifyStructure$, 0], 1, 0, 2, 2, [() => ClientVpnSecurityGroupIdSet, { [_xN]: _SGI }], 0, 0, () => exports.ClientConnectOptions$, 1, () => exports.ClientLoginBannerOptions$, () => exports.ClientRouteEnforcementOptions$, 2], 1 +]; +exports.ModifyClientVpnEndpointResult$ = [3, n0, _MCVERo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyDefaultCreditSpecificationRequest$ = [3, n0, _MDCSR, + 0, + [_IF, _CCp, _DR], + [0, 0, 2], 2 +]; +exports.ModifyDefaultCreditSpecificationResult$ = [3, n0, _MDCSRo, + 0, + [_IFCS], + [[() => exports.InstanceFamilyCreditSpecification$, { [_eQN]: `InstanceFamilyCreditSpecification`, + [_xN]: _iFCS }]] +]; +exports.ModifyEbsDefaultKmsKeyIdRequest$ = [3, n0, _MEDKKIR, + 0, + [_KKI, _DR], + [0, 2], 1 +]; +exports.ModifyEbsDefaultKmsKeyIdResult$ = [3, n0, _MEDKKIRo, + 0, + [_KKI], + [[0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }]] +]; +exports.ModifyFleetRequest$ = [3, n0, _MFR, + 0, + [_FIl, _DR, _ECTP, _LTC, _TCS, _Con], + [0, 2, 0, [() => FleetLaunchTemplateConfigListRequest, { [_xN]: _LTCa }], () => exports.TargetCapacitySpecificationRequest$, 0], 1 +]; +exports.ModifyFleetResult$ = [3, n0, _MFRo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyFpgaImageAttributeRequest$ = [3, n0, _MFIAR, + 0, + [_FII, _DR, _At, _OTp, _UIs, _UG, _PCro, _LPo, _De, _N], + [0, 2, 0, 0, [() => UserIdStringList, { [_xN]: _UI }], [() => UserGroupStringList, { [_xN]: _UGs }], [() => ProductCodeStringList, { [_xN]: _PCr }], [() => exports.LoadPermissionModifications$, 0], 0, 0], 1 +]; +exports.ModifyFpgaImageAttributeResult$ = [3, n0, _MFIARo, + 0, + [_FIA], + [[() => exports.FpgaImageAttribute$, { [_eQN]: `FpgaImageAttribute`, + [_xN]: _fIA }]] +]; +exports.ModifyHostsRequest$ = [3, n0, _MHR, + 0, + [_HI, _HR, _IT, _IF, _HM, _APu], + [[() => RequestHostIdList, { [_eQN]: `HostId`, + [_xN]: _hI }], 0, 0, 0, 0, [0, { [_eQN]: `AutoPlacement`, + [_xN]: _aP }]], 1 +]; +exports.ModifyHostsResult$ = [3, n0, _MHRo, + 0, + [_Suc, _U], + [[() => ResponseHostIdList, { [_eQN]: `Successful`, + [_xN]: _suc }], [() => UnsuccessfulItemList, { [_eQN]: `Unsuccessful`, + [_xN]: _u }]] +]; +exports.ModifyIdentityIdFormatRequest$ = [3, n0, _MIIFR, + 0, + [_Reso, _ULI, _PAr], + [[0, { [_eQN]: `Resource`, + [_xN]: _re }], [2, { [_eQN]: `UseLongIds`, + [_xN]: _uLI }], [0, { [_eQN]: `PrincipalArn`, + [_xN]: _pAr }]], 3 +]; +exports.ModifyIdFormatRequest$ = [3, n0, _MIFR, + 0, + [_Reso, _ULI], + [0, 2], 2 +]; +exports.ModifyImageAttributeRequest$ = [3, n0, _MIAR, + 0, + [_IIm, _At, _De, _LPau, _OTp, _PCro, _UG, _UIs, _V, _OArga, _OUAr, _ISmd, _DR], + [0, 0, [() => exports.AttributeValue$, 0], [() => exports.LaunchPermissionModifications$, 0], 0, [() => ProductCodeStringList, { [_xN]: _PCr }], [() => UserGroupStringList, { [_xN]: _UGs }], [() => UserIdStringList, { [_xN]: _UI }], 0, [() => OrganizationArnStringList, { [_xN]: _OArg }], [() => OrganizationalUnitArnStringList, { [_xN]: _OUA }], [() => exports.AttributeValue$, 0], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.ModifyInstanceAttributeRequest$ = [3, n0, _MIARo, + 0, + [_II, _SDC, _DASi, _DR, _At, _V, _BDMl, _DAT, _IT, _Ke, _Ra, _UDs, _IISB, _G, _EO, _SNS, _ESna], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [() => exports.AttributeBooleanValue$, 0], [() => exports.AttributeBooleanValue$, 0], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `Attribute`, + [_xN]: _att }], [0, { [_eQN]: `Value`, + [_xN]: _v }], [() => InstanceBlockDeviceMappingSpecificationList, { [_eQN]: `BlockDeviceMapping`, + [_xN]: _bDM }], [() => exports.AttributeBooleanValue$, { [_eQN]: `DisableApiTermination`, + [_xN]: _dAT }], [() => exports.AttributeValue$, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [() => exports.AttributeValue$, { [_eQN]: `Kernel`, + [_xN]: _ke }], [() => exports.AttributeValue$, { [_eQN]: `Ramdisk`, + [_xN]: _ra }], [() => exports.BlobAttributeValue$, { [_eQN]: `UserData`, + [_xN]: _uDs }], [() => exports.AttributeValue$, { [_eQN]: `InstanceInitiatedShutdownBehavior`, + [_xN]: _iISB }], [() => GroupIdStringList, { [_xN]: _GIr }], [() => exports.AttributeBooleanValue$, { [_eQN]: `EbsOptimized`, + [_xN]: _eO }], [() => exports.AttributeValue$, { [_eQN]: `SriovNetSupport`, + [_xN]: _sNSr }], [() => exports.AttributeBooleanValue$, { [_eQN]: `EnaSupport`, + [_xN]: _eSna }]], 1 +]; +exports.ModifyInstanceCapacityReservationAttributesRequest$ = [3, n0, _MICRAR, + 0, + [_II, _CRSa, _DR], + [0, () => exports.CapacityReservationSpecification$, 2], 2 +]; +exports.ModifyInstanceCapacityReservationAttributesResult$ = [3, n0, _MICRARo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyInstanceConnectEndpointRequest$ = [3, n0, _MICER, + 0, + [_ICEI, _DR, _IAT, _SGIe, _PCI], + [0, 2, 0, [() => SecurityGroupIdStringListRequest, { [_xN]: _SGI }], 2], 1 +]; +exports.ModifyInstanceConnectEndpointResult$ = [3, n0, _MICERo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyInstanceCpuOptionsRequest$ = [3, n0, _MICOR, + 0, + [_II, _CCor, _TPC, _NV, _DR], + [0, 1, 1, 0, 2], 1 +]; +exports.ModifyInstanceCpuOptionsResult$ = [3, n0, _MICORo, + 0, + [_II, _CCor, _TPC, _NV], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [1, { [_eQN]: `CoreCount`, + [_xN]: _cCo }], [1, { [_eQN]: `ThreadsPerCore`, + [_xN]: _tPC }], [0, { [_eQN]: `NestedVirtualization`, + [_xN]: _nV }]] +]; +exports.ModifyInstanceCreditSpecificationRequest$ = [3, n0, _MICSR, + 0, + [_ICS, _DR, _CT], + [[() => InstanceCreditSpecificationListRequest, { [_xN]: _ICSn }], 2, 0], 1 +]; +exports.ModifyInstanceCreditSpecificationResult$ = [3, n0, _MICSRo, + 0, + [_SICS, _UICS], + [[() => SuccessfulInstanceCreditSpecificationSet, { [_eQN]: `SuccessfulInstanceCreditSpecificationSet`, + [_xN]: _sICSS }], [() => UnsuccessfulInstanceCreditSpecificationSet, { [_eQN]: `UnsuccessfulInstanceCreditSpecificationSet`, + [_xN]: _uICSS }]] +]; +exports.ModifyInstanceEventStartTimeRequest$ = [3, n0, _MIESTR, + 0, + [_II, _IEI, _NB, _DR], + [0, 0, 4, 2], 3 +]; +exports.ModifyInstanceEventStartTimeResult$ = [3, n0, _MIESTRo, + 0, + [_Eve], + [[() => exports.InstanceStatusEvent$, { [_eQN]: `Event`, + [_xN]: _ev }]] +]; +exports.ModifyInstanceEventWindowRequest$ = [3, n0, _MIEWR, + 0, + [_IEWI, _DR, _N, _TRi, _CEr], + [0, 2, 0, [() => InstanceEventWindowTimeRangeRequestSet, { [_xN]: _TRim }], 0], 1 +]; +exports.ModifyInstanceEventWindowResult$ = [3, n0, _MIEWRo, + 0, + [_IEW], + [[() => exports.InstanceEventWindow$, { [_eQN]: `InstanceEventWindow`, + [_xN]: _iEW }]] +]; +exports.ModifyInstanceMaintenanceOptionsRequest$ = [3, n0, _MIMOR, + 0, + [_II, _ARuto, _RMe, _DR], + [0, 0, 0, 2], 1 +]; +exports.ModifyInstanceMaintenanceOptionsResult$ = [3, n0, _MIMORo, + 0, + [_II, _ARuto, _RMe], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `AutoRecovery`, + [_xN]: _aRut }], [0, { [_eQN]: `RebootMigration`, + [_xN]: _rMe }]] +]; +exports.ModifyInstanceMetadataDefaultsRequest$ = [3, n0, _MIMDR, + 0, + [_HT, _HPRHL, _HE, _IMT, _DR, _HTE], + [0, 1, 0, 0, 2, 0] +]; +exports.ModifyInstanceMetadataDefaultsResult$ = [3, n0, _MIMDRo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyInstanceMetadataOptionsRequest$ = [3, n0, _MIMORod, + 0, + [_II, _HT, _HPRHL, _HE, _DR, _HPI, _IMT], + [0, 0, 1, 0, 2, 0, 0], 1 +]; +exports.ModifyInstanceMetadataOptionsResult$ = [3, n0, _MIMORodi, + 0, + [_II, _IMOn], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [() => exports.InstanceMetadataOptionsResponse$, { [_eQN]: `InstanceMetadataOptions`, + [_xN]: _iMO }]] +]; +exports.ModifyInstanceNetworkPerformanceRequest$ = [3, n0, _MINPR, + 0, + [_II, _BW, _DR], + [0, 0, 2], 2 +]; +exports.ModifyInstanceNetworkPerformanceResult$ = [3, n0, _MINPRo, + 0, + [_II, _BW], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `BandwidthWeighting`, + [_xN]: _bW }]] +]; +exports.ModifyInstancePlacementRequest$ = [3, n0, _MIPR, + 0, + [_II, _GN, _PN, _HRGA, _GIr, _Te, _Af, _HIo], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], 0, 1, 0, 0, [0, { [_eQN]: `Tenancy`, + [_xN]: _t }], [0, { [_eQN]: `Affinity`, + [_xN]: _af }], [0, { [_eQN]: `HostId`, + [_xN]: _hI }]], 1 +]; +exports.ModifyInstancePlacementResult$ = [3, n0, _MIPRo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyIpamPolicyAllocationRulesRequest$ = [3, n0, _MIPARR, + 0, + [_IPIp, _Lo, _RTe, _DR, _ARllo], + [0, 0, 0, 2, [() => IpamPolicyAllocationRuleListRequest, { [_xN]: _ARlloc }]], 3 +]; +exports.ModifyIpamPolicyAllocationRulesResult$ = [3, n0, _MIPARRo, + 0, + [_IPDp], + [[() => exports.IpamPolicyDocument$, { [_eQN]: `IpamPolicyDocument`, + [_xN]: _iPD }]] +]; +exports.ModifyIpamPoolRequest$ = [3, n0, _MIPRod, + 0, + [_IPI, _DR, _De, _AIu, _AMNL, _AMNLl, _ADNL, _CADNL, _AART, _RART], + [0, 2, 0, 2, 1, 1, 1, 2, [() => RequestIpamResourceTagList, { [_xN]: _AARTd }], [() => RequestIpamResourceTagList, { [_xN]: _RARTe }]], 1 +]; +exports.ModifyIpamPoolResult$ = [3, n0, _MIPRodi, + 0, + [_IPpam], + [[() => exports.IpamPool$, { [_eQN]: `IpamPool`, + [_xN]: _iPpam }]] +]; +exports.ModifyIpamPrefixListResolverRequest$ = [3, n0, _MIPLRR, + 0, + [_IPLRI, _DR, _De, _Ru], + [0, 2, 0, [() => IpamPrefixListResolverRuleRequestSet, { [_xN]: _Rul }]], 1 +]; +exports.ModifyIpamPrefixListResolverResult$ = [3, n0, _MIPLRRo, + 0, + [_IPLR], + [[() => exports.IpamPrefixListResolver$, { [_eQN]: `IpamPrefixListResolver`, + [_xN]: _iPLR }]] +]; +exports.ModifyIpamPrefixListResolverTargetRequest$ = [3, n0, _MIPLRTR, + 0, + [_IPLRTI, _DR, _DV, _TLV, _CT], + [0, 2, 1, 2, [0, 4]], 1 +]; +exports.ModifyIpamPrefixListResolverTargetResult$ = [3, n0, _MIPLRTRo, + 0, + [_IPLRT], + [[() => exports.IpamPrefixListResolverTarget$, { [_eQN]: `IpamPrefixListResolverTarget`, + [_xN]: _iPLRT }]] +]; +exports.ModifyIpamRequest$ = [3, n0, _MIR, + 0, + [_IIp, _DR, _De, _AOR, _ROR, _Tie, _EPG, _MAe], + [0, 2, 0, [() => AddIpamOperatingRegionSet, { [_xN]: _AORd }], [() => RemoveIpamOperatingRegionSet, { [_xN]: _RORe }], 0, 2, 0], 1 +]; +exports.ModifyIpamResourceCidrRequest$ = [3, n0, _MIRCR, + 0, + [_RIeso, _RCe, _RR, _CISI, _Moni, _DR, _DISI], + [0, 0, 0, 0, 2, 2, 0], 5 +]; +exports.ModifyIpamResourceCidrResult$ = [3, n0, _MIRCRo, + 0, + [_IRCp], + [[() => exports.IpamResourceCidr$, { [_eQN]: `IpamResourceCidr`, + [_xN]: _iRC }]] +]; +exports.ModifyIpamResourceDiscoveryRequest$ = [3, n0, _MIRDR, + 0, + [_IRDI, _DR, _De, _AOR, _ROR, _AOUE, _ROUE], + [0, 2, 0, [() => AddIpamOperatingRegionSet, { [_xN]: _AORd }], [() => RemoveIpamOperatingRegionSet, { [_xN]: _RORe }], [() => AddIpamOrganizationalUnitExclusionSet, { [_xN]: _AOUEd }], [() => RemoveIpamOrganizationalUnitExclusionSet, { [_xN]: _ROUEe }]], 1 +]; +exports.ModifyIpamResourceDiscoveryResult$ = [3, n0, _MIRDRo, + 0, + [_IRD], + [[() => exports.IpamResourceDiscovery$, { [_eQN]: `IpamResourceDiscovery`, + [_xN]: _iRD }]] +]; +exports.ModifyIpamResult$ = [3, n0, _MIRo, + 0, + [_Ip], + [[() => exports.Ipam$, { [_eQN]: `Ipam`, + [_xN]: _ip }]] +]; +exports.ModifyIpamScopeRequest$ = [3, n0, _MISR, + 0, + [_ISI, _DR, _De, _EAC, _REAC], + [0, 2, 0, () => exports.ExternalAuthorityConfiguration$, 2], 1 +]; +exports.ModifyIpamScopeResult$ = [3, n0, _MISRo, + 0, + [_ISp], + [[() => exports.IpamScope$, { [_eQN]: `IpamScope`, + [_xN]: _iSp }]] +]; +exports.ModifyLaunchTemplateRequest$ = [3, n0, _MLTR, + 0, + [_DR, _CT, _LTI, _LTN, _DVef], + [2, [0, 4], 0, 0, [0, { [_xN]: _SDV }]] +]; +exports.ModifyLaunchTemplateResult$ = [3, n0, _MLTRo, + 0, + [_LT], + [[() => exports.LaunchTemplate$, { [_eQN]: `LaunchTemplate`, + [_xN]: _lT }]] +]; +exports.ModifyLocalGatewayRouteRequest$ = [3, n0, _MLGRR, + 0, + [_LGRTI, _DCB, _LGVIGI, _NII, _DR, _DPLI], + [0, 0, 0, 0, 2, 0], 1 +]; +exports.ModifyLocalGatewayRouteResult$ = [3, n0, _MLGRRo, + 0, + [_Ro], + [[() => exports.LocalGatewayRoute$, { [_eQN]: `Route`, + [_xN]: _ro }]] +]; +exports.ModifyManagedPrefixListRequest$ = [3, n0, _MMPLR, + 0, + [_PLI, _DR, _CV, _PLN, _AEd, _REem, _ME, _IPLRSE], + [0, 2, 1, 0, [() => AddPrefixListEntries, { [_xN]: _AEdd }], [() => RemovePrefixListEntries, { [_xN]: _REemo }], 1, 2], 1 +]; +exports.ModifyManagedPrefixListResult$ = [3, n0, _MMPLRo, + 0, + [_PL], + [[() => exports.ManagedPrefixList$, { [_eQN]: `PrefixList`, + [_xN]: _pL }]] +]; +exports.ModifyNetworkInterfaceAttributeRequest$ = [3, n0, _MNIAR, + 0, + [_NII, _ESS, _EPI, _CTS, _APIAss, _ASI, _DR, _De, _SDC, _G, _Att], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], () => exports.EnaSrdSpecification$, 2, () => exports.ConnectionTrackingSpecificationRequest$, 2, [() => SubnetIdList, { [_xN]: _ASIs }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => exports.AttributeValue$, { [_eQN]: `Description`, + [_xN]: _de }], [() => exports.AttributeBooleanValue$, { [_eQN]: `SourceDestCheck`, + [_xN]: _sDC }], [() => SecurityGroupIdStringList, { [_xN]: _SGI }], [() => exports.NetworkInterfaceAttachmentChanges$, { [_eQN]: `Attachment`, + [_xN]: _at }]], 1 +]; +exports.ModifyPrivateDnsNameOptionsRequest$ = [3, n0, _MPDNOR, + 0, + [_II, _DR, _PDHT, _ERNDAR, _ERNDAAAAR], + [0, 2, 0, 2, 2], 1 +]; +exports.ModifyPrivateDnsNameOptionsResult$ = [3, n0, _MPDNORo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyPublicIpDnsNameOptionsRequest$ = [3, n0, _MPIDNOR, + 0, + [_NII, _HTo, _DR], + [0, 0, 2], 2 +]; +exports.ModifyPublicIpDnsNameOptionsResult$ = [3, n0, _MPIDNORo, + 0, + [_Suc], + [[2, { [_eQN]: `Successful`, + [_xN]: _suc }]] +]; +exports.ModifyReservedInstancesRequest$ = [3, n0, _MRIR, + 0, + [_RIIese, _TC, _CT], + [[() => ReservedInstancesIdStringList, { [_xN]: _RIIes }], [() => ReservedInstancesConfigurationList, { [_xN]: _RICSIT }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }]], 2 +]; +exports.ModifyReservedInstancesResult$ = [3, n0, _MRIRo, + 0, + [_RIMIe], + [[0, { [_eQN]: `ReservedInstancesModificationId`, + [_xN]: _rIMI }]] +]; +exports.ModifyRouteServerRequest$ = [3, n0, _MRSR, + 0, + [_RSI, _PRe, _PRD, _SNE, _DR], + [0, 0, 1, 2, 2], 1 +]; +exports.ModifyRouteServerResult$ = [3, n0, _MRSRo, + 0, + [_RSo], + [[() => exports.RouteServer$, { [_eQN]: `RouteServer`, + [_xN]: _rSo }]] +]; +exports.ModifySecurityGroupRulesRequest$ = [3, n0, _MSGRR, + 0, + [_GIr, _SGR, _DR], + [0, [() => SecurityGroupRuleUpdateList, { [_xN]: _SGRe }], 2], 2 +]; +exports.ModifySecurityGroupRulesResult$ = [3, n0, _MSGRRo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifySnapshotAttributeRequest$ = [3, n0, _MSAR, + 0, + [_SIn, _At, _CVP, _GNr, _OTp, _UIs, _DR], + [0, 0, [() => exports.CreateVolumePermissionModifications$, 0], [() => GroupNameStringList, { [_xN]: _UGs }], 0, [() => UserIdStringList, { [_xN]: _UI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.ModifySnapshotTierRequest$ = [3, n0, _MSTR, + 0, + [_SIn, _STt, _DR], + [0, 0, 2], 1 +]; +exports.ModifySnapshotTierResult$ = [3, n0, _MSTRo, + 0, + [_SIn, _TST], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [4, { [_eQN]: `TieringStartTime`, + [_xN]: _tST }]] +]; +exports.ModifySpotFleetRequestRequest$ = [3, n0, _MSFRR, + 0, + [_SFRI, _LTC, _ODTC, _Con, _TCar, _ECTP], + [[0, { [_eQN]: `SpotFleetRequestId`, + [_xN]: _sFRI }], [() => LaunchTemplateConfigList, { [_xN]: _LTCa }], 1, 0, [1, { [_eQN]: `TargetCapacity`, + [_xN]: _tCa }], [0, { [_eQN]: `ExcessCapacityTerminationPolicy`, + [_xN]: _eCTP }]], 1 +]; +exports.ModifySpotFleetRequestResponse$ = [3, n0, _MSFRRo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifySubnetAttributeRequest$ = [3, n0, _MSARo, + 0, + [_SIu, _AIAOC, _MPIOL, _MCOIOL, _COIP, _EDn, _PDHTOL, _ERNDAROL, _ERNDAAAAROL, _ELADI, _DLADI], + [[0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [() => exports.AttributeBooleanValue$, 0], [() => exports.AttributeBooleanValue$, 0], [() => exports.AttributeBooleanValue$, 0], 0, [() => exports.AttributeBooleanValue$, 0], 0, [() => exports.AttributeBooleanValue$, 0], [() => exports.AttributeBooleanValue$, 0], 1, [() => exports.AttributeBooleanValue$, 0]], 1 +]; +exports.ModifyTrafficMirrorFilterNetworkServicesRequest$ = [3, n0, _MTMFNSR, + 0, + [_TMFI, _ANS, _RNS, _DR], + [0, [() => TrafficMirrorNetworkServiceList, { [_xN]: _ANSd }], [() => TrafficMirrorNetworkServiceList, { [_xN]: _RNSe }], 2], 1 +]; +exports.ModifyTrafficMirrorFilterNetworkServicesResult$ = [3, n0, _MTMFNSRo, + 0, + [_TMF], + [[() => exports.TrafficMirrorFilter$, { [_eQN]: `TrafficMirrorFilter`, + [_xN]: _tMF }]] +]; +exports.ModifyTrafficMirrorFilterRuleRequest$ = [3, n0, _MTMFRR, + 0, + [_TMFRI, _TD, _RNu, _RA, _DPRe, _SPRo, _Pr, _DCB, _SCB, _De, _RF, _DR], + [0, 0, 1, 0, () => exports.TrafficMirrorPortRangeRequest$, () => exports.TrafficMirrorPortRangeRequest$, 1, 0, 0, 0, [64 | 0, { [_xN]: _RFe }], 2], 1 +]; +exports.ModifyTrafficMirrorFilterRuleResult$ = [3, n0, _MTMFRRo, + 0, + [_TMFR], + [[() => exports.TrafficMirrorFilterRule$, { [_eQN]: `TrafficMirrorFilterRule`, + [_xN]: _tMFR }]] +]; +exports.ModifyTrafficMirrorSessionRequest$ = [3, n0, _MTMSR, + 0, + [_TMSI, _TMTI, _TMFI, _PLa, _SNes, _VNI, _De, _RF, _DR], + [0, 0, 0, 1, 1, 1, 0, [64 | 0, { [_xN]: _RFe }], 2], 1 +]; +exports.ModifyTrafficMirrorSessionResult$ = [3, n0, _MTMSRo, + 0, + [_TMS], + [[() => exports.TrafficMirrorSession$, { [_eQN]: `TrafficMirrorSession`, + [_xN]: _tMS }]] +]; +exports.ModifyTransitGatewayMeteringPolicyRequest$ = [3, n0, _MTGMPR, + 0, + [_TGMPI, _AMAI, _RMAI, _DR], + [0, [64 | 0, { [_xN]: _AMAId }], [64 | 0, { [_xN]: _RMAIe }], 2], 1 +]; +exports.ModifyTransitGatewayMeteringPolicyResult$ = [3, n0, _MTGMPRo, + 0, + [_TGMP], + [[() => exports.TransitGatewayMeteringPolicy$, { [_eQN]: `TransitGatewayMeteringPolicy`, + [_xN]: _tGMP }]] +]; +exports.ModifyTransitGatewayOptions$ = [3, n0, _MTGO, + 0, + [_ATGCB, _RTGCB, _VESp, _DSn, _SGRS, _AASAu, _DRTA, _ADRTI, _DRTP, _PDRTI, _ASA, _ESn], + [[() => TransitGatewayCidrBlockStringList, 0], [() => TransitGatewayCidrBlockStringList, 0], 0, 0, 0, 0, 0, 0, 0, 0, 1, 0] +]; +exports.ModifyTransitGatewayPrefixListReferenceRequest$ = [3, n0, _MTGPLRR, + 0, + [_TGRTI, _PLI, _TGAI, _Bl, _DR], + [0, 0, 0, 2, 2], 2 +]; +exports.ModifyTransitGatewayPrefixListReferenceResult$ = [3, n0, _MTGPLRRo, + 0, + [_TGPLR], + [[() => exports.TransitGatewayPrefixListReference$, { [_eQN]: `TransitGatewayPrefixListReference`, + [_xN]: _tGPLR }]] +]; +exports.ModifyTransitGatewayRequest$ = [3, n0, _MTGR, + 0, + [_TGI, _De, _Opt, _DR], + [0, 0, [() => exports.ModifyTransitGatewayOptions$, 0], 2], 1 +]; +exports.ModifyTransitGatewayResult$ = [3, n0, _MTGRo, + 0, + [_TG], + [[() => exports.TransitGateway$, { [_eQN]: `TransitGateway`, + [_xN]: _tG }]] +]; +exports.ModifyTransitGatewayVpcAttachmentRequest$ = [3, n0, _MTGVAR, + 0, + [_TGAI, _ASId, _RSIe, _Opt, _DR], + [0, [() => TransitGatewaySubnetIdList, 0], [() => TransitGatewaySubnetIdList, 0], () => exports.ModifyTransitGatewayVpcAttachmentRequestOptions$, 2], 1 +]; +exports.ModifyTransitGatewayVpcAttachmentRequestOptions$ = [3, n0, _MTGVARO, + 0, + [_DSn, _SGRS, _ISpv, _AMS], + [0, 0, 0, 0] +]; +exports.ModifyTransitGatewayVpcAttachmentResult$ = [3, n0, _MTGVARo, + 0, + [_TGVA], + [[() => exports.TransitGatewayVpcAttachment$, { [_eQN]: `TransitGatewayVpcAttachment`, + [_xN]: _tGVA }]] +]; +exports.ModifyVerifiedAccessEndpointCidrOptions$ = [3, n0, _MVAECO, + 0, + [_PRor], + [[() => ModifyVerifiedAccessEndpointPortRangeList, { [_xN]: _PRo }]] +]; +exports.ModifyVerifiedAccessEndpointEniOptions$ = [3, n0, _MVAEEO, + 0, + [_Pr, _Po, _PRor], + [0, 1, [() => ModifyVerifiedAccessEndpointPortRangeList, { [_xN]: _PRo }]] +]; +exports.ModifyVerifiedAccessEndpointLoadBalancerOptions$ = [3, n0, _MVAELBO, + 0, + [_SI, _Pr, _Po, _PRor], + [[() => ModifyVerifiedAccessEndpointSubnetIdList, { [_xN]: _SIu }], 0, 1, [() => ModifyVerifiedAccessEndpointPortRangeList, { [_xN]: _PRo }]] +]; +exports.ModifyVerifiedAccessEndpointPolicyRequest$ = [3, n0, _MVAEPR, + 0, + [_VAEI, _PE, _PDo, _CT, _DR, _SSs], + [0, 2, 0, [0, 4], 2, () => exports.VerifiedAccessSseSpecificationRequest$], 1 +]; +exports.ModifyVerifiedAccessEndpointPolicyResult$ = [3, n0, _MVAEPRo, + 0, + [_PE, _PDo, _SSs], + [[2, { [_eQN]: `PolicyEnabled`, + [_xN]: _pE }], [0, { [_eQN]: `PolicyDocument`, + [_xN]: _pDo }], [() => exports.VerifiedAccessSseSpecificationResponse$, { [_eQN]: `SseSpecification`, + [_xN]: _sSs }]] +]; +exports.ModifyVerifiedAccessEndpointPortRange$ = [3, n0, _MVAEPRod, + 0, + [_FP, _TP], + [1, 1] +]; +exports.ModifyVerifiedAccessEndpointRdsOptions$ = [3, n0, _MVAERO, + 0, + [_SI, _Po, _RE], + [[() => ModifyVerifiedAccessEndpointSubnetIdList, { [_xN]: _SIu }], 1, 0] +]; +exports.ModifyVerifiedAccessEndpointRequest$ = [3, n0, _MVAER, + 0, + [_VAEI, _VAGI, _LBO, _NIO, _De, _CT, _DR, _ROd, _COi], + [0, 0, [() => exports.ModifyVerifiedAccessEndpointLoadBalancerOptions$, 0], [() => exports.ModifyVerifiedAccessEndpointEniOptions$, 0], 0, [0, 4], 2, [() => exports.ModifyVerifiedAccessEndpointRdsOptions$, 0], [() => exports.ModifyVerifiedAccessEndpointCidrOptions$, 0]], 1 +]; +exports.ModifyVerifiedAccessEndpointResult$ = [3, n0, _MVAERo, + 0, + [_VAE], + [[() => exports.VerifiedAccessEndpoint$, { [_eQN]: `VerifiedAccessEndpoint`, + [_xN]: _vAE }]] +]; +exports.ModifyVerifiedAccessGroupPolicyRequest$ = [3, n0, _MVAGPR, + 0, + [_VAGI, _PE, _PDo, _CT, _DR, _SSs], + [0, 2, 0, [0, 4], 2, () => exports.VerifiedAccessSseSpecificationRequest$], 1 +]; +exports.ModifyVerifiedAccessGroupPolicyResult$ = [3, n0, _MVAGPRo, + 0, + [_PE, _PDo, _SSs], + [[2, { [_eQN]: `PolicyEnabled`, + [_xN]: _pE }], [0, { [_eQN]: `PolicyDocument`, + [_xN]: _pDo }], [() => exports.VerifiedAccessSseSpecificationResponse$, { [_eQN]: `SseSpecification`, + [_xN]: _sSs }]] +]; +exports.ModifyVerifiedAccessGroupRequest$ = [3, n0, _MVAGR, + 0, + [_VAGI, _VAII, _De, _CT, _DR], + [0, 0, 0, [0, 4], 2], 1 +]; +exports.ModifyVerifiedAccessGroupResult$ = [3, n0, _MVAGRo, + 0, + [_VAG], + [[() => exports.VerifiedAccessGroup$, { [_eQN]: `VerifiedAccessGroup`, + [_xN]: _vAG }]] +]; +exports.ModifyVerifiedAccessInstanceLoggingConfigurationRequest$ = [3, n0, _MVAILCR, + 0, + [_VAII, _ALc, _DR, _CT], + [0, () => exports.VerifiedAccessLogOptions$, 2, [0, 4]], 2 +]; +exports.ModifyVerifiedAccessInstanceLoggingConfigurationResult$ = [3, n0, _MVAILCRo, + 0, + [_LCo], + [[() => exports.VerifiedAccessInstanceLoggingConfiguration$, { [_eQN]: `LoggingConfiguration`, + [_xN]: _lC }]] +]; +exports.ModifyVerifiedAccessInstanceRequest$ = [3, n0, _MVAIR, + 0, + [_VAII, _De, _DR, _CT, _CECSD], + [0, 0, 2, [0, 4], 0], 1 +]; +exports.ModifyVerifiedAccessInstanceResult$ = [3, n0, _MVAIRo, + 0, + [_VAI], + [[() => exports.VerifiedAccessInstance$, { [_eQN]: `VerifiedAccessInstance`, + [_xN]: _vAI }]] +]; +exports.ModifyVerifiedAccessNativeApplicationOidcOptions$ = [3, n0, _MVANAOO, + 0, + [_PSKE, _Is, _AE, _TEo, _UIE, _CIli, _CS, _Sco], + [0, 0, 0, 0, 0, 0, [() => ClientSecretType, 0], 0] +]; +exports.ModifyVerifiedAccessTrustProviderDeviceOptions$ = [3, n0, _MVATPDO, + 0, + [_PSKU], + [0] +]; +exports.ModifyVerifiedAccessTrustProviderOidcOptions$ = [3, n0, _MVATPOO, + 0, + [_Is, _AE, _TEo, _UIE, _CIli, _CS, _Sco], + [0, 0, 0, 0, 0, [() => ClientSecretType, 0], 0] +]; +exports.ModifyVerifiedAccessTrustProviderRequest$ = [3, n0, _MVATPR, + 0, + [_VATPI, _OO, _DOev, _De, _DR, _CT, _SSs, _NAOO], + [0, [() => exports.ModifyVerifiedAccessTrustProviderOidcOptions$, 0], () => exports.ModifyVerifiedAccessTrustProviderDeviceOptions$, 0, 2, [0, 4], () => exports.VerifiedAccessSseSpecificationRequest$, [() => exports.ModifyVerifiedAccessNativeApplicationOidcOptions$, 0]], 1 +]; +exports.ModifyVerifiedAccessTrustProviderResult$ = [3, n0, _MVATPRo, + 0, + [_VATP], + [[() => exports.VerifiedAccessTrustProvider$, { [_eQN]: `VerifiedAccessTrustProvider`, + [_xN]: _vATP }]] +]; +exports.ModifyVolumeAttributeRequest$ = [3, n0, _MVAR, + 0, + [_VIo, _AEIO, _DR], + [0, [() => exports.AttributeBooleanValue$, 0], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.ModifyVolumeRequest$ = [3, n0, _MVR, + 0, + [_VIo, _DR, _Siz, _VT, _Io, _Th, _MAE], + [0, 2, 1, 0, 1, 1, 2], 1 +]; +exports.ModifyVolumeResult$ = [3, n0, _MVRo, + 0, + [_VMo], + [[() => exports.VolumeModification$, { [_eQN]: `VolumeModification`, + [_xN]: _vM }]] +]; +exports.ModifyVpcAttributeRequest$ = [3, n0, _MVARo, + 0, + [_VI, _EDH, _EDS, _ENAUM], + [[0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [() => exports.AttributeBooleanValue$, 0], [() => exports.AttributeBooleanValue$, 0], [() => exports.AttributeBooleanValue$, 0]], 1 +]; +exports.ModifyVpcBlockPublicAccessExclusionRequest$ = [3, n0, _MVBPAER, + 0, + [_EIx, _IGEM, _DR], + [0, 0, 2], 2 +]; +exports.ModifyVpcBlockPublicAccessExclusionResult$ = [3, n0, _MVBPAERo, + 0, + [_VBPAE], + [[() => exports.VpcBlockPublicAccessExclusion$, { [_eQN]: `VpcBlockPublicAccessExclusion`, + [_xN]: _vBPAE }]] +]; +exports.ModifyVpcBlockPublicAccessOptionsRequest$ = [3, n0, _MVBPAOR, + 0, + [_IGBM, _DR], + [0, 2], 1 +]; +exports.ModifyVpcBlockPublicAccessOptionsResult$ = [3, n0, _MVBPAORo, + 0, + [_VBPAO], + [[() => exports.VpcBlockPublicAccessOptions$, { [_eQN]: `VpcBlockPublicAccessOptions`, + [_xN]: _vBPAO }]] +]; +exports.ModifyVpcEncryptionControlRequest$ = [3, n0, _MVECR, + 0, + [_VECI, _DR, _Mo, _IGE, _EOIGE, _NGE, _VPGE, _VPE, _LEam, _VLE, _EFSE], + [0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0], 1 +]; +exports.ModifyVpcEncryptionControlResult$ = [3, n0, _MVECRo, + 0, + [_VEC], + [[() => exports.VpcEncryptionControl$, { [_eQN]: `VpcEncryptionControl`, + [_xN]: _vEC }]] +]; +exports.ModifyVpcEndpointConnectionNotificationRequest$ = [3, n0, _MVECNR, + 0, + [_CNI, _DR, _CNAo, _CE], + [0, 2, 0, [() => ValueStringList, 0]], 1 +]; +exports.ModifyVpcEndpointConnectionNotificationResult$ = [3, n0, _MVECNRo, + 0, + [_RV], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyVpcEndpointRequest$ = [3, n0, _MVER, + 0, + [_VEIp, _DR, _RP, _PDo, _ARTI, _RRTI, _ASId, _RSIe, _ASGI, _RSGI, _IAT, _DOn, _PDE, _SC], + [0, 2, 2, 0, [() => VpcEndpointRouteTableIdList, { [_xN]: _ARTId }], [() => VpcEndpointRouteTableIdList, { [_xN]: _RRTIe }], [() => VpcEndpointSubnetIdList, { [_xN]: _ASIdd }], [() => VpcEndpointSubnetIdList, { [_xN]: _RSIem }], [() => VpcEndpointSecurityGroupIdList, { [_xN]: _ASGId }], [() => VpcEndpointSecurityGroupIdList, { [_xN]: _RSGIe }], 0, [() => exports.DnsOptionsSpecification$, 0], 2, [() => SubnetConfigurationsList, { [_xN]: _SCu }]], 1 +]; +exports.ModifyVpcEndpointResult$ = [3, n0, _MVERo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyVpcEndpointServiceConfigurationRequest$ = [3, n0, _MVESCR, + 0, + [_SIe, _DR, _PDN, _RPDN, _ARc, _ANLBA, _RNLBA, _AGLBA, _RGLBA, _ASIAT, _RSIAT, _ASR, _RSR], + [0, 2, 0, 2, 2, [() => ValueStringList, { [_xN]: _ANLBAd }], [() => ValueStringList, { [_xN]: _RNLBAe }], [() => ValueStringList, { [_xN]: _AGLBAd }], [() => ValueStringList, { [_xN]: _RGLBAe }], [() => ValueStringList, { [_xN]: _ASIATd }], [() => ValueStringList, { [_xN]: _RSIATe }], [() => ValueStringList, { [_xN]: _ASRd }], [() => ValueStringList, { [_xN]: _RSRe }]], 1 +]; +exports.ModifyVpcEndpointServiceConfigurationResult$ = [3, n0, _MVESCRo, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyVpcEndpointServicePayerResponsibilityRequest$ = [3, n0, _MVESPRR, + 0, + [_SIe, _PRa, _DR], + [0, 0, 2], 2 +]; +exports.ModifyVpcEndpointServicePayerResponsibilityResult$ = [3, n0, _MVESPRRo, + 0, + [_RV], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyVpcEndpointServicePermissionsRequest$ = [3, n0, _MVESPR, + 0, + [_SIe, _DR, _AAP, _RAP], + [0, 2, [() => ValueStringList, 0], [() => ValueStringList, 0]], 1 +]; +exports.ModifyVpcEndpointServicePermissionsResult$ = [3, n0, _MVESPRo, + 0, + [_APd, _RV], + [[() => AddedPrincipalSet, { [_eQN]: `AddedPrincipalSet`, + [_xN]: _aPS }], [2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyVpcPeeringConnectionOptionsRequest$ = [3, n0, _MVPCOR, + 0, + [_VPCI, _APCO, _DR, _RPCO], + [0, () => exports.PeeringConnectionOptionsRequest$, 2, () => exports.PeeringConnectionOptionsRequest$], 1 +]; +exports.ModifyVpcPeeringConnectionOptionsResult$ = [3, n0, _MVPCORo, + 0, + [_APCO, _RPCO], + [[() => exports.PeeringConnectionOptions$, { [_eQN]: `AccepterPeeringConnectionOptions`, + [_xN]: _aPCO }], [() => exports.PeeringConnectionOptions$, { [_eQN]: `RequesterPeeringConnectionOptions`, + [_xN]: _rPCO }]] +]; +exports.ModifyVpcTenancyRequest$ = [3, n0, _MVTR, + 0, + [_VI, _ITns, _DR], + [0, 0, 2], 2 +]; +exports.ModifyVpcTenancyResult$ = [3, n0, _MVTRo, + 0, + [_RV], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ModifyVpnConnectionOptionsRequest$ = [3, n0, _MVCOR, + 0, + [_VCIp, _LINC, _RINC, _LINCo, _RINCe, _DR], + [0, 0, 0, 0, 0, 2], 1 +]; +exports.ModifyVpnConnectionOptionsResult$ = [3, n0, _MVCORo, + 0, + [_VCp], + [[() => exports.VpnConnection$, { [_eQN]: `VpnConnection`, + [_xN]: _vCp }]] +]; +exports.ModifyVpnConnectionRequest$ = [3, n0, _MVCR, + 0, + [_VCIp, _TGI, _CGIu, _VGI, _DR], + [0, 0, 0, 0, 2], 1 +]; +exports.ModifyVpnConnectionResult$ = [3, n0, _MVCRo, + 0, + [_VCp], + [[() => exports.VpnConnection$, { [_eQN]: `VpnConnection`, + [_xN]: _vCp }]] +]; +exports.ModifyVpnTunnelCertificateRequest$ = [3, n0, _MVTCR, + 0, + [_VCIp, _VTOIA, _DR], + [0, 0, 2], 2 +]; +exports.ModifyVpnTunnelCertificateResult$ = [3, n0, _MVTCRo, + 0, + [_VCp], + [[() => exports.VpnConnection$, { [_eQN]: `VpnConnection`, + [_xN]: _vCp }]] +]; +exports.ModifyVpnTunnelOptionsRequest$ = [3, n0, _MVTOR, + 0, + [_VCIp, _VTOIA, _TO, _DR, _STRk, _PSKS], + [0, 0, [() => exports.ModifyVpnTunnelOptionsSpecification$, 0], 2, 2, 0], 3 +]; +exports.ModifyVpnTunnelOptionsResult$ = [3, n0, _MVTORo, + 0, + [_VCp], + [[() => exports.VpnConnection$, { [_eQN]: `VpnConnection`, + [_xN]: _vCp }]] +]; +exports.ModifyVpnTunnelOptionsSpecification$ = [3, n0, _MVTOS, + 8, + [_TICu, _TIIC, _PSK, _PLS, _PLSh, _RMTS, _RFP, _RWS, _DPDTS, _DPDTA, _PEAha, _PEAhas, _PIAha, _PIAhas, _PDHGN, _PDHGNh, _IKEVe, _SAt, _LO, _ETLC], + [0, 0, [() => preSharedKey, 0], 1, 1, 1, 1, 1, 1, 0, [() => Phase1EncryptionAlgorithmsRequestList, { [_xN]: _PEA }], [() => Phase2EncryptionAlgorithmsRequestList, { [_xN]: _PEAh }], [() => Phase1IntegrityAlgorithmsRequestList, { [_xN]: _PIA }], [() => Phase2IntegrityAlgorithmsRequestList, { [_xN]: _PIAh }], [() => Phase1DHGroupNumbersRequestList, { [_xN]: _PDHGNha }], [() => Phase2DHGroupNumbersRequestList, { [_xN]: _PDHGNhas }], [() => IKEVersionsRequestList, { [_xN]: _IKEVer }], 0, () => exports.VpnTunnelLogOptionsSpecification$, 2] +]; +exports.Monitoring$ = [3, n0, _Mon, + 0, + [_St], + [[0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.MonitorInstancesRequest$ = [3, n0, _MIRon, + 0, + [_IIns, _DR], + [[() => InstanceIdStringList, { [_xN]: _II }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.MonitorInstancesResult$ = [3, n0, _MIRoni, + 0, + [_IMns], + [[() => InstanceMonitoringList, { [_eQN]: `InstancesSet`, + [_xN]: _iSn }]] +]; +exports.MoveAddressToVpcRequest$ = [3, n0, _MATVR, + 0, + [_PI, _DR], + [[0, { [_eQN]: `PublicIp`, + [_xN]: _pI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.MoveAddressToVpcResult$ = [3, n0, _MATVRo, + 0, + [_AIl, _Sta], + [[0, { [_eQN]: `AllocationId`, + [_xN]: _aI }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.MoveByoipCidrToIpamRequest$ = [3, n0, _MBCTIR, + 0, + [_Ci, _IPI, _IPO, _DR], + [0, 0, 0, 2], 3 +]; +exports.MoveByoipCidrToIpamResult$ = [3, n0, _MBCTIRo, + 0, + [_BC], + [[() => exports.ByoipCidr$, { [_eQN]: `ByoipCidr`, + [_xN]: _bC }]] +]; +exports.MoveCapacityReservationInstancesRequest$ = [3, n0, _MCRIR, + 0, + [_SCRI, _DCRI, _IC, _DR, _CT], + [0, 0, 1, 2, [0, 4]], 3 +]; +exports.MoveCapacityReservationInstancesResult$ = [3, n0, _MCRIRo, + 0, + [_SCR, _DCR, _IC], + [[() => exports.CapacityReservation$, { [_eQN]: `SourceCapacityReservation`, + [_xN]: _sCR }], [() => exports.CapacityReservation$, { [_eQN]: `DestinationCapacityReservation`, + [_xN]: _dCR }], [1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }]] +]; +exports.MovingAddressStatus$ = [3, n0, _MASo, + 0, + [_MSo, _PI], + [[0, { [_eQN]: `MoveStatus`, + [_xN]: _mSo }], [0, { [_eQN]: `PublicIp`, + [_xN]: _pI }]] +]; +exports.NatGateway$ = [3, n0, _NG, + 0, + [_CTr, _DTel, _FCa, _FM, _NGA, _NGI, _PB, _St, _SIu, _VI, _T, _CTon, _AMv, _ASIu, _APZ, _AAt, _RTI], + [[4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [4, { [_eQN]: `DeleteTime`, + [_xN]: _dTel }], [0, { [_eQN]: `FailureCode`, + [_xN]: _fCa }], [0, { [_eQN]: `FailureMessage`, + [_xN]: _fM }], [() => NatGatewayAddressList, { [_eQN]: `NatGatewayAddressSet`, + [_xN]: _nGAS }], [0, { [_eQN]: `NatGatewayId`, + [_xN]: _nGI }], [() => exports.ProvisionedBandwidth$, { [_eQN]: `ProvisionedBandwidth`, + [_xN]: _pB }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `ConnectivityType`, + [_xN]: _cTonn }], [0, { [_eQN]: `AvailabilityMode`, + [_xN]: _aM }], [0, { [_eQN]: `AutoScalingIps`, + [_xN]: _aSI }], [0, { [_eQN]: `AutoProvisionZones`, + [_xN]: _aPZ }], [() => NatGatewayAttachedApplianceList, { [_eQN]: `AttachedApplianceSet`, + [_xN]: _aASt }], [0, { [_eQN]: `RouteTableId`, + [_xN]: _rTI }]] +]; +exports.NatGatewayAddress$ = [3, n0, _NGAa, + 0, + [_AIl, _NII, _PIri, _PI, _AIs, _IPsr, _FM, _Sta, _AZ, _AZI], + [[0, { [_eQN]: `AllocationId`, + [_xN]: _aI }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `PrivateIp`, + [_xN]: _pIriv }], [0, { [_eQN]: `PublicIp`, + [_xN]: _pI }], [0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [2, { [_eQN]: `IsPrimary`, + [_xN]: _iPsr }], [0, { [_eQN]: `FailureMessage`, + [_xN]: _fM }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }]] +]; +exports.NatGatewayAttachedAppliance$ = [3, n0, _NGAA, + 0, + [_Ty, _AAp, _VEIp, _AStta, _MSod, _FCa, _FM], + [[0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `ApplianceArn`, + [_xN]: _aAp }], [0, { [_eQN]: `VpcEndpointId`, + [_xN]: _vEI }], [0, { [_eQN]: `AttachmentState`, + [_xN]: _aStt }], [0, { [_eQN]: `ModificationState`, + [_xN]: _mSod }], [0, { [_eQN]: `FailureCode`, + [_xN]: _fCa }], [0, { [_eQN]: `FailureMessage`, + [_xN]: _fM }]] +]; +exports.NativeApplicationOidcOptions$ = [3, n0, _NAOO, + 0, + [_PSKE, _Is, _AE, _TEo, _UIE, _CIli, _Sco], + [[0, { [_eQN]: `PublicSigningKeyEndpoint`, + [_xN]: _pSKE }], [0, { [_eQN]: `Issuer`, + [_xN]: _is }], [0, { [_eQN]: `AuthorizationEndpoint`, + [_xN]: _aE }], [0, { [_eQN]: `TokenEndpoint`, + [_xN]: _tEo }], [0, { [_eQN]: `UserInfoEndpoint`, + [_xN]: _uIE }], [0, { [_eQN]: `ClientId`, + [_xN]: _cIli }], [0, { [_eQN]: `Scope`, + [_xN]: _sco }]] +]; +exports.NetworkAcl$ = [3, n0, _NA, + 0, + [_As, _Ent, _IDs, _NAI, _T, _VI, _OI], + [[() => NetworkAclAssociationList, { [_eQN]: `AssociationSet`, + [_xN]: _aSss }], [() => NetworkAclEntryList, { [_eQN]: `EntrySet`, + [_xN]: _eSnt }], [2, { [_eQN]: `Default`, + [_xN]: _def }], [0, { [_eQN]: `NetworkAclId`, + [_xN]: _nAI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }]] +]; +exports.NetworkAclAssociation$ = [3, n0, _NAA, + 0, + [_NAAI, _NAI, _SIu], + [[0, { [_eQN]: `NetworkAclAssociationId`, + [_xN]: _nAAI }], [0, { [_eQN]: `NetworkAclId`, + [_xN]: _nAI }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }]] +]; +exports.NetworkAclEntry$ = [3, n0, _NAE, + 0, + [_CB, _E, _ITC, _ICB, _PRo, _Pr, _RA, _RNu], + [[0, { [_eQN]: `CidrBlock`, + [_xN]: _cB }], [2, { [_eQN]: `Egress`, + [_xN]: _e }], [() => exports.IcmpTypeCode$, { [_eQN]: `IcmpTypeCode`, + [_xN]: _iTC }], [0, { [_eQN]: `Ipv6CidrBlock`, + [_xN]: _iCB }], [() => exports.PortRange$, { [_eQN]: `PortRange`, + [_xN]: _pRo }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [0, { [_eQN]: `RuleAction`, + [_xN]: _rA }], [1, { [_eQN]: `RuleNumber`, + [_xN]: _rN }]] +]; +exports.NetworkBandwidthGbps$ = [3, n0, _NBGe, + 0, + [_M, _Ma], + [[1, { [_eQN]: `Min`, + [_xN]: _m }], [1, { [_eQN]: `Max`, + [_xN]: _ma }]] +]; +exports.NetworkBandwidthGbpsRequest$ = [3, n0, _NBGR, + 0, + [_M, _Ma], + [1, 1] +]; +exports.NetworkCardInfo$ = [3, n0, _NCIe, + 0, + [_NCI, _NPe, _MNI, _AFNI, _BBIG, _PBIG, _DEQCPI, _MEQC, _MEQCPI], + [[1, { [_eQN]: `NetworkCardIndex`, + [_xN]: _nCI }], [0, { [_eQN]: `NetworkPerformance`, + [_xN]: _nPe }], [1, { [_eQN]: `MaximumNetworkInterfaces`, + [_xN]: _mNI }], [1, { [_eQN]: `AdditionalFlexibleNetworkInterfaces`, + [_xN]: _aFNI }], [1, { [_eQN]: `BaselineBandwidthInGbps`, + [_xN]: _bBIG }], [1, { [_eQN]: `PeakBandwidthInGbps`, + [_xN]: _pBIG }], [1, { [_eQN]: `DefaultEnaQueueCountPerInterface`, + [_xN]: _dEQCPI }], [1, { [_eQN]: `MaximumEnaQueueCount`, + [_xN]: _mEQC }], [1, { [_eQN]: `MaximumEnaQueueCountPerInterface`, + [_xN]: _mEQCPI }]] +]; +exports.NetworkInfo$ = [3, n0, _NIetw, + 0, + [_NPe, _MNI, _MNC, _DNCI, _NC, _IAPI, _IAPIp, _ISpvu, _ESna, _ESf, _EIf, _EITS, _ESSn, _BWa, _FEQS, _CTC, _SNSe, _MSNI, _IAPSI], + [[0, { [_eQN]: `NetworkPerformance`, + [_xN]: _nPe }], [1, { [_eQN]: `MaximumNetworkInterfaces`, + [_xN]: _mNI }], [1, { [_eQN]: `MaximumNetworkCards`, + [_xN]: _mNC }], [1, { [_eQN]: `DefaultNetworkCardIndex`, + [_xN]: _dNCI }], [() => NetworkCardInfoList, { [_eQN]: `NetworkCards`, + [_xN]: _nC }], [1, { [_eQN]: `Ipv4AddressesPerInterface`, + [_xN]: _iAPI }], [1, { [_eQN]: `Ipv6AddressesPerInterface`, + [_xN]: _iAPIp }], [2, { [_eQN]: `Ipv6Supported`, + [_xN]: _iSpv }], [0, { [_eQN]: `EnaSupport`, + [_xN]: _eSna }], [2, { [_eQN]: `EfaSupported`, + [_xN]: _eSf }], [() => exports.EfaInfo$, { [_eQN]: `EfaInfo`, + [_xN]: _eIf }], [2, { [_eQN]: `EncryptionInTransitSupported`, + [_xN]: _eITSn }], [2, { [_eQN]: `EnaSrdSupported`, + [_xN]: _eSSn }], [() => BandwidthWeightingTypeList, { [_eQN]: `BandwidthWeightings`, + [_xN]: _bWa }], [0, { [_eQN]: `FlexibleEnaQueuesSupport`, + [_xN]: _fEQS }], [() => exports.DefaultConnectionTrackingConfiguration$, { [_eQN]: `ConnectionTrackingConfiguration`, + [_xN]: _cTC }], [2, { [_eQN]: `SecondaryNetworkSupported`, + [_xN]: _sNSec }], [1, { [_eQN]: `MaximumSecondaryNetworkInterfaces`, + [_xN]: _mSNI }], [1, { [_eQN]: `Ipv4AddressesPerSecondaryInterface`, + [_xN]: _iAPSI }]] +]; +exports.NetworkInsightsAccessScope$ = [3, n0, _NIAS, + 0, + [_NIASI, _NIASAe, _CDre, _UDp, _T], + [[0, { [_eQN]: `NetworkInsightsAccessScopeId`, + [_xN]: _nIASI }], [0, { [_eQN]: `NetworkInsightsAccessScopeArn`, + [_xN]: _nIASA }], [4, { [_eQN]: `CreatedDate`, + [_xN]: _cDre }], [4, { [_eQN]: `UpdatedDate`, + [_xN]: _uDp }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.NetworkInsightsAccessScopeAnalysis$ = [3, n0, _NIASAet, + 0, + [_NIASAI, _NIASAA, _NIASI, _Sta, _SMt, _WM, _SD, _ED, _FFi, _AEC, _T], + [[0, { [_eQN]: `NetworkInsightsAccessScopeAnalysisId`, + [_xN]: _nIASAI }], [0, { [_eQN]: `NetworkInsightsAccessScopeAnalysisArn`, + [_xN]: _nIASAA }], [0, { [_eQN]: `NetworkInsightsAccessScopeId`, + [_xN]: _nIASI }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [0, { [_eQN]: `WarningMessage`, + [_xN]: _wM }], [4, { [_eQN]: `StartDate`, + [_xN]: _sD }], [4, { [_eQN]: `EndDate`, + [_xN]: _eD }], [0, { [_eQN]: `FindingsFound`, + [_xN]: _fFi }], [1, { [_eQN]: `AnalyzedEniCount`, + [_xN]: _aEC }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.NetworkInsightsAccessScopeContent$ = [3, n0, _NIASC, + 0, + [_NIASI, _MP, _EPx], + [[0, { [_eQN]: `NetworkInsightsAccessScopeId`, + [_xN]: _nIASI }], [() => AccessScopePathList, { [_eQN]: `MatchPathSet`, + [_xN]: _mPSa }], [() => AccessScopePathList, { [_eQN]: `ExcludePathSet`, + [_xN]: _ePS }]] +]; +exports.NetworkInsightsAnalysis$ = [3, n0, _NIAe, + 0, + [_NIAI, _NIAA, _NIPI, _AAdd, _FIAi, _FOA, _SD, _Sta, _SMt, _WM, _NPF, _FPC, _RPC, _Exp, _APHl, _SAu, _T], + [[0, { [_eQN]: `NetworkInsightsAnalysisId`, + [_xN]: _nIAI }], [0, { [_eQN]: `NetworkInsightsAnalysisArn`, + [_xN]: _nIAA }], [0, { [_eQN]: `NetworkInsightsPathId`, + [_xN]: _nIPI }], [() => ValueStringList, { [_eQN]: `AdditionalAccountSet`, + [_xN]: _aASd }], [() => ArnList, { [_eQN]: `FilterInArnSet`, + [_xN]: _fIAS }], [() => ArnList, { [_eQN]: `FilterOutArnSet`, + [_xN]: _fOAS }], [4, { [_eQN]: `StartDate`, + [_xN]: _sD }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [0, { [_eQN]: `WarningMessage`, + [_xN]: _wM }], [2, { [_eQN]: `NetworkPathFound`, + [_xN]: _nPF }], [() => PathComponentList, { [_eQN]: `ForwardPathComponentSet`, + [_xN]: _fPCS }], [() => PathComponentList, { [_eQN]: `ReturnPathComponentSet`, + [_xN]: _rPCS }], [() => ExplanationList, { [_eQN]: `ExplanationSet`, + [_xN]: _eSx }], [() => AlternatePathHintList, { [_eQN]: `AlternatePathHintSet`, + [_xN]: _aPHS }], [() => ValueStringList, { [_eQN]: `SuggestedAccountSet`, + [_xN]: _sASu }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.NetworkInsightsPath$ = [3, n0, _NIP, + 0, + [_NIPI, _NIPA, _CDre, _S, _D, _SAo, _DAes, _SIo, _DIe, _Pr, _DPe, _T, _FAS, _FAD], + [[0, { [_eQN]: `NetworkInsightsPathId`, + [_xN]: _nIPI }], [0, { [_eQN]: `NetworkInsightsPathArn`, + [_xN]: _nIPA }], [4, { [_eQN]: `CreatedDate`, + [_xN]: _cDre }], [0, { [_eQN]: `Source`, + [_xN]: _so }], [0, { [_eQN]: `Destination`, + [_xN]: _d }], [0, { [_eQN]: `SourceArn`, + [_xN]: _sA }], [0, { [_eQN]: `DestinationArn`, + [_xN]: _dA }], [0, { [_eQN]: `SourceIp`, + [_xN]: _sIo }], [0, { [_eQN]: `DestinationIp`, + [_xN]: _dIe }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [1, { [_eQN]: `DestinationPort`, + [_xN]: _dPes }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => exports.PathFilter$, { [_eQN]: `FilterAtSource`, + [_xN]: _fAS }], [() => exports.PathFilter$, { [_eQN]: `FilterAtDestination`, + [_xN]: _fAD }]] +]; +exports.NetworkInterface$ = [3, n0, _NIe, + 0, + [_Ass, _Att, _AZ, _CTC, _De, _G, _ITnt, _IA, _MAa, _NII, _OA, _OI, _PDN, _PDNub, _PIDNO, _PIAr, _PIAri, _IPpvr, _IPp, _RIeq, _RMeq, _SDC, _Sta, _SIu, _TSag, _VI, _DAIT, _IN, _IApv, _Op, _ASss, _AZI], + [[() => exports.NetworkInterfaceAssociation$, { [_eQN]: `Association`, + [_xN]: _ass }], [() => exports.NetworkInterfaceAttachment$, { [_eQN]: `Attachment`, + [_xN]: _at }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [() => exports.ConnectionTrackingConfiguration$, { [_eQN]: `ConnectionTrackingConfiguration`, + [_xN]: _cTC }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => GroupIdentifierList, { [_eQN]: `GroupSet`, + [_xN]: _gSr }], [0, { [_eQN]: `InterfaceType`, + [_xN]: _iTnt }], [() => NetworkInterfaceIpv6AddressesList, { [_eQN]: `Ipv6AddressesSet`, + [_xN]: _iASp }], [0, { [_eQN]: `MacAddress`, + [_xN]: _mAa }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `PrivateDnsName`, + [_xN]: _pDNr }], [0, { [_eQN]: `PublicDnsName`, + [_xN]: _pDNu }], [() => exports.PublicIpDnsNameOptions$, { [_eQN]: `PublicIpDnsNameOptions`, + [_xN]: _pIDNO }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }], [() => NetworkInterfacePrivateIpAddressList, { [_eQN]: `PrivateIpAddressesSet`, + [_xN]: _pIAS }], [() => Ipv4PrefixesList, { [_eQN]: `Ipv4PrefixSet`, + [_xN]: _iPSpvr }], [() => Ipv6PrefixesList, { [_eQN]: `Ipv6PrefixSet`, + [_xN]: _iPSpvre }], [0, { [_eQN]: `RequesterId`, + [_xN]: _rIeq }], [2, { [_eQN]: `RequesterManaged`, + [_xN]: _rMeq }], [2, { [_eQN]: `SourceDestCheck`, + [_xN]: _sDC }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [2, { [_eQN]: `DenyAllIgwTraffic`, + [_xN]: _dAIT }], [2, { [_eQN]: `Ipv6Native`, + [_xN]: _iN }], [0, { [_eQN]: `Ipv6Address`, + [_xN]: _iApv }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }], [() => AssociatedSubnetList, { [_eQN]: `AssociatedSubnetSet`, + [_xN]: _aSSs }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }]] +]; +exports.NetworkInterfaceAssociation$ = [3, n0, _NIAet, + 0, + [_AIl, _AIs, _IOI, _PDNub, _PI, _COI, _CI], + [[0, { [_eQN]: `AllocationId`, + [_xN]: _aI }], [0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `IpOwnerId`, + [_xN]: _iOIp }], [0, { [_eQN]: `PublicDnsName`, + [_xN]: _pDNu }], [0, { [_eQN]: `PublicIp`, + [_xN]: _pI }], [0, { [_eQN]: `CustomerOwnedIp`, + [_xN]: _cOI }], [0, { [_eQN]: `CarrierIp`, + [_xN]: _cI }]] +]; +exports.NetworkInterfaceAttachment$ = [3, n0, _NIAetw, + 0, + [_ATtt, _AItt, _DOT, _DI, _NCI, _II, _IOIn, _Sta, _ESS, _EQC], + [[4, { [_eQN]: `AttachTime`, + [_xN]: _aTt }], [0, { [_eQN]: `AttachmentId`, + [_xN]: _aIt }], [2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [1, { [_eQN]: `DeviceIndex`, + [_xN]: _dI }], [1, { [_eQN]: `NetworkCardIndex`, + [_xN]: _nCI }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `InstanceOwnerId`, + [_xN]: _iOIn }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [() => exports.AttachmentEnaSrdSpecification$, { [_eQN]: `EnaSrdSpecification`, + [_xN]: _eSS }], [1, { [_eQN]: `EnaQueueCount`, + [_xN]: _eQC }]] +]; +exports.NetworkInterfaceAttachmentChanges$ = [3, n0, _NIAC, + 0, + [_DEQC, _EQC, _AItt, _DOT], + [2, 1, [0, { [_eQN]: `AttachmentId`, + [_xN]: _aIt }], [2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }]] +]; +exports.NetworkInterfaceCount$ = [3, n0, _NIC, + 0, + [_M, _Ma], + [[1, { [_eQN]: `Min`, + [_xN]: _m }], [1, { [_eQN]: `Max`, + [_xN]: _ma }]] +]; +exports.NetworkInterfaceCountRequest$ = [3, n0, _NICR, + 0, + [_M, _Ma], + [1, 1] +]; +exports.NetworkInterfaceIpv6Address$ = [3, n0, _NIIA, + 0, + [_IApv, _PIDN, _IPIs], + [[0, { [_eQN]: `Ipv6Address`, + [_xN]: _iApv }], [0, { [_eQN]: `PublicIpv6DnsName`, + [_xN]: _pIDN }], [2, { [_eQN]: `IsPrimaryIpv6`, + [_xN]: _iPIs }]] +]; +exports.NetworkInterfacePermission$ = [3, n0, _NIPetw, + 0, + [_NIPIe, _NII, _AAI, _ASw, _Pe, _PSe], + [[0, { [_eQN]: `NetworkInterfacePermissionId`, + [_xN]: _nIPIe }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `AwsAccountId`, + [_xN]: _aAI }], [0, { [_eQN]: `AwsService`, + [_xN]: _aSw }], [0, { [_eQN]: `Permission`, + [_xN]: _per }], [() => exports.NetworkInterfacePermissionState$, { [_eQN]: `PermissionState`, + [_xN]: _pSe }]] +]; +exports.NetworkInterfacePermissionState$ = [3, n0, _NIPS, + 0, + [_St, _SMt], + [[0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }]] +]; +exports.NetworkInterfacePrivateIpAddress$ = [3, n0, _NIPIA, + 0, + [_Ass, _Prim, _PDN, _PIAr], + [[() => exports.NetworkInterfaceAssociation$, { [_eQN]: `Association`, + [_xN]: _ass }], [2, { [_eQN]: `Primary`, + [_xN]: _prim }], [0, { [_eQN]: `PrivateDnsName`, + [_xN]: _pDNr }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }]] +]; +exports.NeuronDeviceCoreInfo$ = [3, n0, _NDCI, + 0, + [_Cou, _Ver], + [[1, { [_eQN]: `Count`, + [_xN]: _cou }], [1, { [_eQN]: `Version`, + [_xN]: _ve }]] +]; +exports.NeuronDeviceInfo$ = [3, n0, _NDI, + 0, + [_Cou, _N, _CIor, _MIe], + [[1, { [_eQN]: `Count`, + [_xN]: _cou }], [0, { [_eQN]: `Name`, + [_xN]: _n }], [() => exports.NeuronDeviceCoreInfo$, { [_eQN]: `CoreInfo`, + [_xN]: _cIor }], [() => exports.NeuronDeviceMemoryInfo$, { [_eQN]: `MemoryInfo`, + [_xN]: _mIe }]] +]; +exports.NeuronDeviceMemoryInfo$ = [3, n0, _NDMI, + 0, + [_SIMB], + [[1, { [_eQN]: `SizeInMiB`, + [_xN]: _sIMB }]] +]; +exports.NeuronInfo$ = [3, n0, _NIeu, + 0, + [_NDe, _TNDMIMB], + [[() => NeuronDeviceInfoList, { [_eQN]: `NeuronDevices`, + [_xN]: _nDe }], [1, { [_eQN]: `TotalNeuronDeviceMemoryInMiB`, + [_xN]: _tNDMIMB }]] +]; +exports.NewDhcpConfiguration$ = [3, n0, _NDC, + 0, + [_K, _Va], + [[0, { [_eQN]: `Key`, + [_xN]: _k }], [() => ValueStringList, { [_xN]: _V }]] +]; +exports.NitroTpmInfo$ = [3, n0, _NTI, + 0, + [_SVu], + [[() => NitroTpmSupportedVersionsList, { [_eQN]: `SupportedVersions`, + [_xN]: _sVu }]] +]; +exports.OidcOptions$ = [3, n0, _OO, + 0, + [_Is, _AE, _TEo, _UIE, _CIli, _CS, _Sco], + [[0, { [_eQN]: `Issuer`, + [_xN]: _is }], [0, { [_eQN]: `AuthorizationEndpoint`, + [_xN]: _aE }], [0, { [_eQN]: `TokenEndpoint`, + [_xN]: _tEo }], [0, { [_eQN]: `UserInfoEndpoint`, + [_xN]: _uIE }], [0, { [_eQN]: `ClientId`, + [_xN]: _cIli }], [() => ClientSecretType, { [_eQN]: `ClientSecret`, + [_xN]: _cSl }], [0, { [_eQN]: `Scope`, + [_xN]: _sco }]] +]; +exports.OnDemandOptions$ = [3, n0, _ODO, + 0, + [_ASl, _CRO, _SITi, _SAZ, _MTC, _MTP], + [[0, { [_eQN]: `AllocationStrategy`, + [_xN]: _aSl }], [() => exports.CapacityReservationOptions$, { [_eQN]: `CapacityReservationOptions`, + [_xN]: _cRO }], [2, { [_eQN]: `SingleInstanceType`, + [_xN]: _sITi }], [2, { [_eQN]: `SingleAvailabilityZone`, + [_xN]: _sAZ }], [1, { [_eQN]: `MinTargetCapacity`, + [_xN]: _mTC }], [0, { [_eQN]: `MaxTotalPrice`, + [_xN]: _mTP }]] +]; +exports.OnDemandOptionsRequest$ = [3, n0, _ODOR, + 0, + [_ASl, _CRO, _SITi, _SAZ, _MTC, _MTP], + [0, () => exports.CapacityReservationOptionsRequest$, 2, 2, 1, 0] +]; +exports.OperatorRequest$ = [3, n0, _ORpe, + 0, + [_P], + [0] +]; +exports.OperatorResponse$ = [3, n0, _ORper, + 0, + [_Mana, _P], + [[2, { [_eQN]: `Managed`, + [_xN]: _mana }], [0, { [_eQN]: `Principal`, + [_xN]: _p }]] +]; +exports.OutpostLag$ = [3, n0, _OLu, + 0, + [_OA, _OI, _St, _OLI, _LGVIIo, _SLVII, _T], + [[0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `OutpostLagId`, + [_xN]: _oLI }], [() => LocalGatewayVirtualInterfaceIdSet, { [_eQN]: `LocalGatewayVirtualInterfaceIdSet`, + [_xN]: _lGVIIS }], [() => ServiceLinkVirtualInterfaceIdSet, { [_eQN]: `ServiceLinkVirtualInterfaceIdSet`, + [_xN]: _sLVIIS }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.PacketHeaderStatement$ = [3, n0, _PHS, + 0, + [_SA, _DA, _SPo, _DPes, _SPL, _DPL, _Prot], + [[() => ValueStringList, { [_eQN]: `SourceAddressSet`, + [_xN]: _sAS }], [() => ValueStringList, { [_eQN]: `DestinationAddressSet`, + [_xN]: _dAS }], [() => ValueStringList, { [_eQN]: `SourcePortSet`, + [_xN]: _sPS }], [() => ValueStringList, { [_eQN]: `DestinationPortSet`, + [_xN]: _dPS }], [() => ValueStringList, { [_eQN]: `SourcePrefixListSet`, + [_xN]: _sPLS }], [() => ValueStringList, { [_eQN]: `DestinationPrefixListSet`, + [_xN]: _dPLS }], [() => ProtocolList, { [_eQN]: `ProtocolSet`, + [_xN]: _pSro }]] +]; +exports.PacketHeaderStatementRequest$ = [3, n0, _PHSR, + 0, + [_SA, _DA, _SPo, _DPes, _SPL, _DPL, _Prot], + [[() => ValueStringList, { [_xN]: _SAou }], [() => ValueStringList, { [_xN]: _DAest }], [() => ValueStringList, { [_xN]: _SPou }], [() => ValueStringList, { [_xN]: _DPe }], [() => ValueStringList, { [_xN]: _SPLo }], [() => ValueStringList, { [_xN]: _DPLe }], [() => ProtocolList, { [_xN]: _Pr }]] +]; +exports.PathComponent$ = [3, n0, _PCat, + 0, + [_SNeq, _ARcl, _ATtta, _C, _DVe, _OH, _IHn, _RTR, _SGRe, _SVo, _Su, _Vp, _ADd, _TG, _TGRTR, _Exp, _ELBL, _FSRi, _FSRir, _SN], + [[1, { [_eQN]: `SequenceNumber`, + [_xN]: _sNeq }], [() => exports.AnalysisAclRule$, { [_eQN]: `AclRule`, + [_xN]: _aRc }], [() => exports.AnalysisComponent$, { [_eQN]: `AttachedTo`, + [_xN]: _aTtt }], [() => exports.AnalysisComponent$, { [_eQN]: `Component`, + [_xN]: _c }], [() => exports.AnalysisComponent$, { [_eQN]: `DestinationVpc`, + [_xN]: _dV }], [() => exports.AnalysisPacketHeader$, { [_eQN]: `OutboundHeader`, + [_xN]: _oH }], [() => exports.AnalysisPacketHeader$, { [_eQN]: `InboundHeader`, + [_xN]: _iHn }], [() => exports.AnalysisRouteTableRoute$, { [_eQN]: `RouteTableRoute`, + [_xN]: _rTR }], [() => exports.AnalysisSecurityGroupRule$, { [_eQN]: `SecurityGroupRule`, + [_xN]: _sGR }], [() => exports.AnalysisComponent$, { [_eQN]: `SourceVpc`, + [_xN]: _sV }], [() => exports.AnalysisComponent$, { [_eQN]: `Subnet`, + [_xN]: _su }], [() => exports.AnalysisComponent$, { [_eQN]: `Vpc`, + [_xN]: _vp }], [() => AdditionalDetailList, { [_eQN]: `AdditionalDetailSet`, + [_xN]: _aDS }], [() => exports.AnalysisComponent$, { [_eQN]: `TransitGateway`, + [_xN]: _tG }], [() => exports.TransitGatewayRouteTableRoute$, { [_eQN]: `TransitGatewayRouteTableRoute`, + [_xN]: _tGRTR }], [() => ExplanationList, { [_eQN]: `ExplanationSet`, + [_xN]: _eSx }], [() => exports.AnalysisComponent$, { [_eQN]: `ElasticLoadBalancerListener`, + [_xN]: _eLBL }], [() => exports.FirewallStatelessRule$, { [_eQN]: `FirewallStatelessRule`, + [_xN]: _fSR }], [() => exports.FirewallStatefulRule$, { [_eQN]: `FirewallStatefulRule`, + [_xN]: _fSRi }], [0, { [_eQN]: `ServiceName`, + [_xN]: _sN }]] +]; +exports.PathFilter$ = [3, n0, _PFa, + 0, + [_SAou, _SPRo, _DAest, _DPRe], + [[0, { [_eQN]: `SourceAddress`, + [_xN]: _sAo }], [() => exports.FilterPortRange$, { [_eQN]: `SourcePortRange`, + [_xN]: _sPR }], [0, { [_eQN]: `DestinationAddress`, + [_xN]: _dAe }], [() => exports.FilterPortRange$, { [_eQN]: `DestinationPortRange`, + [_xN]: _dPR }]] +]; +exports.PathRequestFilter$ = [3, n0, _PRF, + 0, + [_SAou, _SPRo, _DAest, _DPRe], + [0, () => exports.RequestFilterPortRange$, 0, () => exports.RequestFilterPortRange$] +]; +exports.PathStatement$ = [3, n0, _PSa, + 0, + [_PHS, _RSes], + [[() => exports.PacketHeaderStatement$, { [_eQN]: `PacketHeaderStatement`, + [_xN]: _pHS }], [() => exports.ResourceStatement$, { [_eQN]: `ResourceStatement`, + [_xN]: _rSeso }]] +]; +exports.PathStatementRequest$ = [3, n0, _PSRa, + 0, + [_PHS, _RSes], + [[() => exports.PacketHeaderStatementRequest$, 0], [() => exports.ResourceStatementRequest$, 0]] +]; +exports.PciId$ = [3, n0, _PIc, + 0, + [_DIev, _VIe, _SIub, _SVIu], + [0, 0, 0, 0] +]; +exports.PeeringAttachmentStatus$ = [3, n0, _PAS, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.PeeringConnectionOptions$ = [3, n0, _PCO, + 0, + [_ADRFRV, _AEFLCLTRV, _AEFLVTRCL], + [[2, { [_eQN]: `AllowDnsResolutionFromRemoteVpc`, + [_xN]: _aDRFRV }], [2, { [_eQN]: `AllowEgressFromLocalClassicLinkToRemoteVpc`, + [_xN]: _aEFLCLTRV }], [2, { [_eQN]: `AllowEgressFromLocalVpcToRemoteClassicLink`, + [_xN]: _aEFLVTRCL }]] +]; +exports.PeeringConnectionOptionsRequest$ = [3, n0, _PCOR, + 0, + [_ADRFRV, _AEFLCLTRV, _AEFLVTRCL], + [2, 2, 2] +]; +exports.PeeringTgwInfo$ = [3, n0, _PTI, + 0, + [_TGI, _CNIor, _OI, _Regi], + [[0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `CoreNetworkId`, + [_xN]: _cNIo }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `Region`, + [_xN]: _reg }]] +]; +exports.PerformanceFactorReference$ = [3, n0, _PFR, + 0, + [_IF], + [[0, { [_eQN]: `InstanceFamily`, + [_xN]: _iF }]] +]; +exports.PerformanceFactorReferenceRequest$ = [3, n0, _PFRR, + 0, + [_IF], + [0] +]; +exports.Phase1DHGroupNumbersListValue$ = [3, n0, _PDHGNLV, + 0, + [_V], + [[1, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.Phase1DHGroupNumbersRequestListValue$ = [3, n0, _PDHGNRLV, + 0, + [_V], + [1] +]; +exports.Phase1EncryptionAlgorithmsListValue$ = [3, n0, _PEALV, + 0, + [_V], + [[0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.Phase1EncryptionAlgorithmsRequestListValue$ = [3, n0, _PEARLV, + 0, + [_V], + [0] +]; +exports.Phase1IntegrityAlgorithmsListValue$ = [3, n0, _PIALV, + 0, + [_V], + [[0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.Phase1IntegrityAlgorithmsRequestListValue$ = [3, n0, _PIARLV, + 0, + [_V], + [0] +]; +exports.Phase2DHGroupNumbersListValue$ = [3, n0, _PDHGNLVh, + 0, + [_V], + [[1, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.Phase2DHGroupNumbersRequestListValue$ = [3, n0, _PDHGNRLVh, + 0, + [_V], + [1] +]; +exports.Phase2EncryptionAlgorithmsListValue$ = [3, n0, _PEALVh, + 0, + [_V], + [[0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.Phase2EncryptionAlgorithmsRequestListValue$ = [3, n0, _PEARLVh, + 0, + [_V], + [0] +]; +exports.Phase2IntegrityAlgorithmsListValue$ = [3, n0, _PIALVh, + 0, + [_V], + [[0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.Phase2IntegrityAlgorithmsRequestListValue$ = [3, n0, _PIARLVh, + 0, + [_V], + [0] +]; +exports.Placement$ = [3, n0, _Pla, + 0, + [_AZI, _Af, _GN, _PN, _HIo, _Te, _SDp, _HRGA, _GIr, _AZ], + [[0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `Affinity`, + [_xN]: _af }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [1, { [_eQN]: `PartitionNumber`, + [_xN]: _pN }], [0, { [_eQN]: `HostId`, + [_xN]: _hI }], [0, { [_eQN]: `Tenancy`, + [_xN]: _t }], [0, { [_eQN]: `SpreadDomain`, + [_xN]: _sDp }], [0, { [_eQN]: `HostResourceGroupArn`, + [_xN]: _hRGA }], [0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }]] +]; +exports.PlacementGroup$ = [3, n0, _PG, + 0, + [_GN, _St, _Str, _PCa, _GIr, _T, _GA, _SLp, _LGIi, _Op], + [[0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `Strategy`, + [_xN]: _str }], [1, { [_eQN]: `PartitionCount`, + [_xN]: _pCa }], [0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `GroupArn`, + [_xN]: _gA }], [0, { [_eQN]: `SpreadLevel`, + [_xN]: _sLp }], [0, { [_eQN]: `LinkedGroupId`, + [_xN]: _lGIi }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }]] +]; +exports.PlacementGroupInfo$ = [3, n0, _PGI, + 0, + [_SSu], + [[() => PlacementGroupStrategyList, { [_eQN]: `SupportedStrategies`, + [_xN]: _sSup }]] +]; +exports.PlacementResponse$ = [3, n0, _PRl, + 0, + [_GN], + [[0, { [_eQN]: `GroupName`, + [_xN]: _gN }]] +]; +exports.PoolCidrBlock$ = [3, n0, _PCBo, + 0, + [_Ci], + [[0, { [_eQN]: `PoolCidrBlock`, + [_xN]: _pCB }]] +]; +exports.PortRange$ = [3, n0, _PRo, + 0, + [_Fr, _To], + [[1, { [_eQN]: `From`, + [_xN]: _fr }], [1, { [_eQN]: `To`, + [_xN]: _to }]] +]; +exports.PrefixList$ = [3, n0, _PL, + 0, + [_Cid, _PLI, _PLN], + [[() => ValueStringList, { [_eQN]: `CidrSet`, + [_xN]: _cS }], [0, { [_eQN]: `PrefixListId`, + [_xN]: _pLI }], [0, { [_eQN]: `PrefixListName`, + [_xN]: _pLN }]] +]; +exports.PrefixListAssociation$ = [3, n0, _PLAre, + 0, + [_RIeso, _ROe], + [[0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceOwner`, + [_xN]: _rO }]] +]; +exports.PrefixListEntry$ = [3, n0, _PLE, + 0, + [_Ci, _De], + [[0, { [_eQN]: `Cidr`, + [_xN]: _ci }], [0, { [_eQN]: `Description`, + [_xN]: _de }]] +]; +exports.PrefixListId$ = [3, n0, _PLI, + 0, + [_De, _PLI], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `PrefixListId`, + [_xN]: _pLI }]] +]; +exports.PriceSchedule$ = [3, n0, _PSric, + 0, + [_Act, _CC, _Pric, _Ter], + [[2, { [_eQN]: `Active`, + [_xN]: _act }], [0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [1, { [_eQN]: `Price`, + [_xN]: _pric }], [1, { [_eQN]: `Term`, + [_xN]: _te }]] +]; +exports.PriceScheduleSpecification$ = [3, n0, _PSS, + 0, + [_Ter, _Pric, _CC], + [[1, { [_eQN]: `Term`, + [_xN]: _te }], [1, { [_eQN]: `Price`, + [_xN]: _pric }], [0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }]] +]; +exports.PricingDetail$ = [3, n0, _PDri, + 0, + [_Cou, _Pric], + [[1, { [_eQN]: `Count`, + [_xN]: _cou }], [1, { [_eQN]: `Price`, + [_xN]: _pric }]] +]; +exports.PrincipalIdFormat$ = [3, n0, _PIF, + 0, + [_Ar, _Statu], + [[0, { [_eQN]: `Arn`, + [_xN]: _ar }], [() => IdFormatList, { [_eQN]: `StatusSet`, + [_xN]: _sSt }]] +]; +exports.PrivateDnsDetails$ = [3, n0, _PDD, + 0, + [_PDN], + [[0, { [_eQN]: `PrivateDnsName`, + [_xN]: _pDNr }]] +]; +exports.PrivateDnsNameConfiguration$ = [3, n0, _PDNC, + 0, + [_St, _Ty, _V, _N], + [[0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `Value`, + [_xN]: _v }], [0, { [_eQN]: `Name`, + [_xN]: _n }]] +]; +exports.PrivateDnsNameOptionsOnLaunch$ = [3, n0, _PDNOOL, + 0, + [_HTo, _ERNDAR, _ERNDAAAAR], + [[0, { [_eQN]: `HostnameType`, + [_xN]: _hTo }], [2, { [_eQN]: `EnableResourceNameDnsARecord`, + [_xN]: _eRNDAR }], [2, { [_eQN]: `EnableResourceNameDnsAAAARecord`, + [_xN]: _eRNDAAAAR }]] +]; +exports.PrivateDnsNameOptionsRequest$ = [3, n0, _PDNOR, + 0, + [_HTo, _ERNDAR, _ERNDAAAAR], + [0, 2, 2] +]; +exports.PrivateDnsNameOptionsResponse$ = [3, n0, _PDNORr, + 0, + [_HTo, _ERNDAR, _ERNDAAAAR], + [[0, { [_eQN]: `HostnameType`, + [_xN]: _hTo }], [2, { [_eQN]: `EnableResourceNameDnsARecord`, + [_xN]: _eRNDAR }], [2, { [_eQN]: `EnableResourceNameDnsAAAARecord`, + [_xN]: _eRNDAAAAR }]] +]; +exports.PrivateIpAddressSpecification$ = [3, n0, _PIAS, + 0, + [_Prim, _PIAr], + [[2, { [_eQN]: `Primary`, + [_xN]: _prim }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }]] +]; +exports.ProcessorInfo$ = [3, n0, _PIro, + 0, + [_SAup, _SCSIG, _SF, _Man], + [[() => ArchitectureTypeList, { [_eQN]: `SupportedArchitectures`, + [_xN]: _sAu }], [1, { [_eQN]: `SustainedClockSpeedInGhz`, + [_xN]: _sCSIG }], [() => SupportedAdditionalProcessorFeatureList, { [_eQN]: `SupportedFeatures`, + [_xN]: _sF }], [0, { [_eQN]: `Manufacturer`, + [_xN]: _man }]] +]; +exports.ProductCode$ = [3, n0, _PCr, + 0, + [_PCIr, _PCT], + [[0, { [_eQN]: `ProductCode`, + [_xN]: _pCr }], [0, { [_eQN]: `Type`, + [_xN]: _ty }]] +]; +exports.PropagatingVgw$ = [3, n0, _PV, + 0, + [_GI], + [[0, { [_eQN]: `GatewayId`, + [_xN]: _gI }]] +]; +exports.ProvisionByoipCidrRequest$ = [3, n0, _PBCR, + 0, + [_Ci, _CAC, _PAu, _De, _DR, _PTS, _MRu, _NBG], + [0, () => exports.CidrAuthorizationContext$, 2, 0, 2, [() => TagSpecificationList, { [_xN]: _PTSo }], 2, 0], 1 +]; +exports.ProvisionByoipCidrResult$ = [3, n0, _PBCRr, + 0, + [_BC], + [[() => exports.ByoipCidr$, { [_eQN]: `ByoipCidr`, + [_xN]: _bC }]] +]; +exports.ProvisionedBandwidth$ = [3, n0, _PB, + 0, + [_PTr, _Prov, _RTeq, _Req, _Sta], + [[4, { [_eQN]: `ProvisionTime`, + [_xN]: _pTr }], [0, { [_eQN]: `Provisioned`, + [_xN]: _prov }], [4, { [_eQN]: `RequestTime`, + [_xN]: _rTeq }], [0, { [_eQN]: `Requested`, + [_xN]: _req }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.ProvisionIpamByoasnRequest$ = [3, n0, _PIBR, + 0, + [_IIp, _Asn, _AAC, _DR], + [0, 0, () => exports.AsnAuthorizationContext$, 2], 3 +]; +exports.ProvisionIpamByoasnResult$ = [3, n0, _PIBRr, + 0, + [_B], + [[() => exports.Byoasn$, { [_eQN]: `Byoasn`, + [_xN]: _by }]] +]; +exports.ProvisionIpamPoolCidrRequest$ = [3, n0, _PIPCR, + 0, + [_IPI, _DR, _Ci, _CAC, _NL, _CT, _VMe, _IERVTI], + [0, 2, 0, () => exports.IpamCidrAuthorizationContext$, 1, [0, 4], 0, 0], 1 +]; +exports.ProvisionIpamPoolCidrResult$ = [3, n0, _PIPCRr, + 0, + [_IPCpa], + [[() => exports.IpamPoolCidr$, { [_eQN]: `IpamPoolCidr`, + [_xN]: _iPC }]] +]; +exports.ProvisionPublicIpv4PoolCidrRequest$ = [3, n0, _PPIPCR, + 0, + [_IPI, _PIo, _NL, _DR, _NBG], + [0, 0, 1, 2, 0], 3 +]; +exports.ProvisionPublicIpv4PoolCidrResult$ = [3, n0, _PPIPCRr, + 0, + [_PIo, _PAR], + [[0, { [_eQN]: `PoolId`, + [_xN]: _pIo }], [() => exports.PublicIpv4PoolRange$, { [_eQN]: `PoolAddressRange`, + [_xN]: _pAR }]] +]; +exports.PtrUpdateStatus$ = [3, n0, _PUS, + 0, + [_V, _Sta, _Rea], + [[0, { [_eQN]: `Value`, + [_xN]: _v }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `Reason`, + [_xN]: _rea }]] +]; +exports.PublicIpDnsNameOptions$ = [3, n0, _PIDNO, + 0, + [_DHT, _PIDNu, _PIDN, _PDSDN], + [[0, { [_eQN]: `DnsHostnameType`, + [_xN]: _dHT }], [0, { [_eQN]: `PublicIpv4DnsName`, + [_xN]: _pIDNu }], [0, { [_eQN]: `PublicIpv6DnsName`, + [_xN]: _pIDN }], [0, { [_eQN]: `PublicDualStackDnsName`, + [_xN]: _pDSDN }]] +]; +exports.PublicIpv4Pool$ = [3, n0, _PIP, + 0, + [_PIo, _De, _PARo, _TACo, _TAAC, _NBG, _T], + [[0, { [_eQN]: `PoolId`, + [_xN]: _pIo }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => PublicIpv4PoolRangeSet, { [_eQN]: `PoolAddressRangeSet`, + [_xN]: _pARS }], [1, { [_eQN]: `TotalAddressCount`, + [_xN]: _tACo }], [1, { [_eQN]: `TotalAvailableAddressCount`, + [_xN]: _tAAC }], [0, { [_eQN]: `NetworkBorderGroup`, + [_xN]: _nBG }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.PublicIpv4PoolRange$ = [3, n0, _PIPR, + 0, + [_FAi, _LAa, _ACd, _AACv], + [[0, { [_eQN]: `FirstAddress`, + [_xN]: _fAi }], [0, { [_eQN]: `LastAddress`, + [_xN]: _lAa }], [1, { [_eQN]: `AddressCount`, + [_xN]: _aCd }], [1, { [_eQN]: `AvailableAddressCount`, + [_xN]: _aAC }]] +]; +exports.Purchase$ = [3, n0, _Pur, + 0, + [_CC, _Du, _HIS, _HRI, _HPo, _IF, _PO, _UP], + [[0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [1, { [_eQN]: `Duration`, + [_xN]: _du }], [() => ResponseHostIdSet, { [_eQN]: `HostIdSet`, + [_xN]: _hIS }], [0, { [_eQN]: `HostReservationId`, + [_xN]: _hRI }], [0, { [_eQN]: `HourlyPrice`, + [_xN]: _hPo }], [0, { [_eQN]: `InstanceFamily`, + [_xN]: _iF }], [0, { [_eQN]: `PaymentOption`, + [_xN]: _pO }], [0, { [_eQN]: `UpfrontPrice`, + [_xN]: _uP }]] +]; +exports.PurchaseCapacityBlockExtensionRequest$ = [3, n0, _PCBER, + 0, + [_CBEOI, _CRI, _DR], + [0, 0, 2], 2 +]; +exports.PurchaseCapacityBlockExtensionResult$ = [3, n0, _PCBERu, + 0, + [_CBEa], + [[() => CapacityBlockExtensionSet, { [_eQN]: `CapacityBlockExtensionSet`, + [_xN]: _cBESa }]] +]; +exports.PurchaseCapacityBlockRequest$ = [3, n0, _PCBR, + 0, + [_CBOI, _IPn, _DR, _TS], + [0, 0, 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.PurchaseCapacityBlockResult$ = [3, n0, _PCBRu, + 0, + [_CRa, _CBap], + [[() => exports.CapacityReservation$, { [_eQN]: `CapacityReservation`, + [_xN]: _cR }], [() => CapacityBlockSet, { [_eQN]: `CapacityBlockSet`, + [_xN]: _cBS }]] +]; +exports.PurchaseHostReservationRequest$ = [3, n0, _PHRR, + 0, + [_HIS, _OIf, _CT, _CC, _LPi, _TS], + [[() => RequestHostIdSet, 0], 0, 0, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.PurchaseHostReservationResult$ = [3, n0, _PHRRu, + 0, + [_CT, _CC, _Pur, _THP, _TUP], + [[0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [() => PurchaseSet, { [_eQN]: `Purchase`, + [_xN]: _pur }], [0, { [_eQN]: `TotalHourlyPrice`, + [_xN]: _tHP }], [0, { [_eQN]: `TotalUpfrontPrice`, + [_xN]: _tUP }]] +]; +exports.PurchaseRequest$ = [3, n0, _PRu, + 0, + [_IC, _PTu], + [1, 0], 2 +]; +exports.PurchaseReservedInstancesOfferingRequest$ = [3, n0, _PRIOR, + 0, + [_IC, _RIOIe, _PTur, _DR, _LPi], + [1, 0, 4, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [() => exports.ReservedInstanceLimitPrice$, { [_eQN]: `LimitPrice`, + [_xN]: _lPi }]], 2 +]; +exports.PurchaseReservedInstancesOfferingResult$ = [3, n0, _PRIORu, + 0, + [_RIIes], + [[0, { [_eQN]: `ReservedInstancesId`, + [_xN]: _rII }]] +]; +exports.PurchaseScheduledInstancesRequest$ = [3, n0, _PSIR, + 0, + [_PRur, _CT, _DR], + [[() => PurchaseRequestSet, { [_xN]: _PRu }], [0, 4], 2], 1 +]; +exports.PurchaseScheduledInstancesResult$ = [3, n0, _PSIRu, + 0, + [_SIS], + [[() => PurchasedScheduledInstanceSet, { [_eQN]: `ScheduledInstanceSet`, + [_xN]: _sIS }]] +]; +exports.RebootInstancesRequest$ = [3, n0, _RIR, + 0, + [_IIns, _DR], + [[() => InstanceIdStringList, { [_xN]: _II }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.RecurringCharge$ = [3, n0, _RCec, + 0, + [_Am, _Fre], + [[1, { [_eQN]: `Amount`, + [_xN]: _am }], [0, { [_eQN]: `Frequency`, + [_xN]: _fre }]] +]; +exports.ReferencedSecurityGroup$ = [3, n0, _RSG, + 0, + [_GIr, _PSee, _UI, _VI, _VPCI], + [[0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [0, { [_eQN]: `PeeringStatus`, + [_xN]: _pSee }], [0, { [_eQN]: `UserId`, + [_xN]: _uI }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `VpcPeeringConnectionId`, + [_xN]: _vPCI }]] +]; +exports.Region$ = [3, n0, _Regi, + 0, + [_OIS, _Ge, _RN, _Endp], + [[0, { [_eQN]: `OptInStatus`, + [_xN]: _oIS }], [() => RegionGeographyList, { [_eQN]: `GeographySet`, + [_xN]: _gS }], [0, { [_eQN]: `RegionName`, + [_xN]: _rNe }], [0, { [_eQN]: `RegionEndpoint`, + [_xN]: _rEe }]] +]; +exports.RegionalSummary$ = [3, n0, _RSeg, + 0, + [_RN, _NOMA, _NOUA], + [[0, { [_eQN]: `RegionName`, + [_xN]: _rNe }], [1, { [_eQN]: `NumberOfMatchedAccounts`, + [_xN]: _nOMA }], [1, { [_eQN]: `NumberOfUnmatchedAccounts`, + [_xN]: _nOUA }]] +]; +exports.RegionGeography$ = [3, n0, _RG, + 0, + [_N], + [[0, { [_eQN]: `Name`, + [_xN]: _n }]] +]; +exports.RegisteredInstance$ = [3, n0, _RIeg, + 0, + [_II, _SSLU, _HSa, _PSro, _LUTa, _SSC, _T], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `SqlServerLicenseUsage`, + [_xN]: _sSLU }], [0, { [_eQN]: `HaStatus`, + [_xN]: _hSa }], [0, { [_eQN]: `ProcessingStatus`, + [_xN]: _pSroc }], [4, { [_eQN]: `LastUpdatedTime`, + [_xN]: _lUTa }], [0, { [_eQN]: `SqlServerCredentials`, + [_xN]: _sSC }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.RegisterImageRequest$ = [3, n0, _RIRe, + 0, + [_N, _IL, _BPi, _BM, _TSp, _UD, _ISmd, _TS, _DR, _De, _Arc, _KI, _RIa, _RDN, _BDMl, _VTir, _SNS, _ESna], + [[0, { [_eQN]: `Name`, + [_xN]: _n }], 0, [() => BillingProductList, { [_xN]: _BPil }], 0, 0, 0, 0, [() => TagSpecificationList, { [_xN]: _TSa }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `Architecture`, + [_xN]: _arc }], [0, { [_eQN]: `KernelId`, + [_xN]: _kI }], [0, { [_eQN]: `RamdiskId`, + [_xN]: _rIa }], [0, { [_eQN]: `RootDeviceName`, + [_xN]: _rDN }], [() => BlockDeviceMappingRequestList, { [_xN]: _BDM }], [0, { [_eQN]: `VirtualizationType`, + [_xN]: _vTi }], [0, { [_eQN]: `SriovNetSupport`, + [_xN]: _sNSr }], [2, { [_eQN]: `EnaSupport`, + [_xN]: _eSna }]], 1 +]; +exports.RegisterImageResult$ = [3, n0, _RIReg, + 0, + [_IIm], + [[0, { [_eQN]: `ImageId`, + [_xN]: _iIma }]] +]; +exports.RegisterInstanceEventNotificationAttributesRequest$ = [3, n0, _RIENAR, + 0, + [_ITA, _DR], + [[() => exports.RegisterInstanceTagAttributeRequest$, 0], 2], 1 +]; +exports.RegisterInstanceEventNotificationAttributesResult$ = [3, n0, _RIENARe, + 0, + [_ITA], + [[() => exports.InstanceTagNotificationAttribute$, { [_eQN]: `InstanceTagAttribute`, + [_xN]: _iTA }]] +]; +exports.RegisterInstanceTagAttributeRequest$ = [3, n0, _RITAR, + 0, + [_IATOI, _ITK], + [2, [() => InstanceTagKeySet, { [_xN]: _ITKn }]] +]; +exports.RegisterTransitGatewayMulticastGroupMembersRequest$ = [3, n0, _RTGMGMR, + 0, + [_TGMDI, _NIIe, _GIA, _DR], + [0, [() => TransitGatewayNetworkInterfaceIdList, 0], 0, 2], 2 +]; +exports.RegisterTransitGatewayMulticastGroupMembersResult$ = [3, n0, _RTGMGMRe, + 0, + [_RMGM], + [[() => exports.TransitGatewayMulticastRegisteredGroupMembers$, { [_eQN]: `RegisteredMulticastGroupMembers`, + [_xN]: _rMGM }]] +]; +exports.RegisterTransitGatewayMulticastGroupSourcesRequest$ = [3, n0, _RTGMGSR, + 0, + [_TGMDI, _NIIe, _GIA, _DR], + [0, [() => TransitGatewayNetworkInterfaceIdList, 0], 0, 2], 2 +]; +exports.RegisterTransitGatewayMulticastGroupSourcesResult$ = [3, n0, _RTGMGSRe, + 0, + [_RMGS], + [[() => exports.TransitGatewayMulticastRegisteredGroupSources$, { [_eQN]: `RegisteredMulticastGroupSources`, + [_xN]: _rMGS }]] +]; +exports.RejectCapacityReservationBillingOwnershipRequest$ = [3, n0, _RCRBOR, + 0, + [_CRI, _DR], + [0, 2], 1 +]; +exports.RejectCapacityReservationBillingOwnershipResult$ = [3, n0, _RCRBORe, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.RejectTransitGatewayMulticastDomainAssociationsRequest$ = [3, n0, _RTGMDAR, + 0, + [_TGMDI, _TGAI, _SI, _DR], + [0, 0, [() => ValueStringList, 0], 2] +]; +exports.RejectTransitGatewayMulticastDomainAssociationsResult$ = [3, n0, _RTGMDARe, + 0, + [_As], + [[() => exports.TransitGatewayMulticastDomainAssociations$, { [_eQN]: `Associations`, + [_xN]: _a }]] +]; +exports.RejectTransitGatewayPeeringAttachmentRequest$ = [3, n0, _RTGPAR, + 0, + [_TGAI, _DR], + [0, 2], 1 +]; +exports.RejectTransitGatewayPeeringAttachmentResult$ = [3, n0, _RTGPARe, + 0, + [_TGPA], + [[() => exports.TransitGatewayPeeringAttachment$, { [_eQN]: `TransitGatewayPeeringAttachment`, + [_xN]: _tGPA }]] +]; +exports.RejectTransitGatewayVpcAttachmentRequest$ = [3, n0, _RTGVAR, + 0, + [_TGAI, _DR], + [0, 2], 1 +]; +exports.RejectTransitGatewayVpcAttachmentResult$ = [3, n0, _RTGVARe, + 0, + [_TGVA], + [[() => exports.TransitGatewayVpcAttachment$, { [_eQN]: `TransitGatewayVpcAttachment`, + [_xN]: _tGVA }]] +]; +exports.RejectVpcEndpointConnectionsRequest$ = [3, n0, _RVECR, + 0, + [_SIe, _VEI, _DR], + [0, [() => VpcEndpointIdList, { [_xN]: _VEIp }], 2], 2 +]; +exports.RejectVpcEndpointConnectionsResult$ = [3, n0, _RVECRe, + 0, + [_U], + [[() => UnsuccessfulItemSet, { [_eQN]: `Unsuccessful`, + [_xN]: _u }]] +]; +exports.RejectVpcPeeringConnectionRequest$ = [3, n0, _RVPCR, + 0, + [_VPCI, _DR], + [[0, { [_eQN]: `VpcPeeringConnectionId`, + [_xN]: _vPCI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.RejectVpcPeeringConnectionResult$ = [3, n0, _RVPCRe, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ReleaseAddressRequest$ = [3, n0, _RAR, + 0, + [_AIl, _PI, _NBG, _DR], + [0, 0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.ReleaseHostsRequest$ = [3, n0, _RHR, + 0, + [_HI], + [[() => RequestHostIdList, { [_eQN]: `HostId`, + [_xN]: _hI }]], 1 +]; +exports.ReleaseHostsResult$ = [3, n0, _RHRe, + 0, + [_Suc, _U], + [[() => ResponseHostIdList, { [_eQN]: `Successful`, + [_xN]: _suc }], [() => UnsuccessfulItemList, { [_eQN]: `Unsuccessful`, + [_xN]: _u }]] +]; +exports.ReleaseIpamPoolAllocationRequest$ = [3, n0, _RIPAR, + 0, + [_IPI, _Ci, _IPAI, _DR], + [0, 0, 0, 2], 3 +]; +exports.ReleaseIpamPoolAllocationResult$ = [3, n0, _RIPARe, + 0, + [_Succ], + [[2, { [_eQN]: `Success`, + [_xN]: _succ }]] +]; +exports.RemoveIpamOperatingRegion$ = [3, n0, _RIOR, + 0, + [_RN], + [0] +]; +exports.RemoveIpamOrganizationalUnitExclusion$ = [3, n0, _RIOUE, + 0, + [_OEP], + [0] +]; +exports.RemovePrefixListEntry$ = [3, n0, _RPLE, + 0, + [_Ci], + [0], 1 +]; +exports.ReplaceIamInstanceProfileAssociationRequest$ = [3, n0, _RIIPAR, + 0, + [_IIP, _AIs], + [[() => exports.IamInstanceProfileSpecification$, 0], 0], 2 +]; +exports.ReplaceIamInstanceProfileAssociationResult$ = [3, n0, _RIIPARe, + 0, + [_IIPA], + [[() => exports.IamInstanceProfileAssociation$, { [_eQN]: `IamInstanceProfileAssociation`, + [_xN]: _iIPA }]] +]; +exports.ReplaceImageCriteriaInAllowedImagesSettingsRequest$ = [3, n0, _RICIAISR, + 0, + [_ICm, _DR], + [[() => ImageCriterionRequestList, { [_xN]: _ICma }], 2] +]; +exports.ReplaceImageCriteriaInAllowedImagesSettingsResult$ = [3, n0, _RICIAISRe, + 0, + [_RV], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ReplaceNetworkAclAssociationRequest$ = [3, n0, _RNAAR, + 0, + [_AIs, _NAI, _DR], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `NetworkAclId`, + [_xN]: _nAI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.ReplaceNetworkAclAssociationResult$ = [3, n0, _RNAARe, + 0, + [_NAIew], + [[0, { [_eQN]: `NewAssociationId`, + [_xN]: _nAIe }]] +]; +exports.ReplaceNetworkAclEntryRequest$ = [3, n0, _RNAER, + 0, + [_NAI, _RNu, _Pr, _RA, _E, _DR, _CB, _ICB, _ITC, _PRo], + [[0, { [_eQN]: `NetworkAclId`, + [_xN]: _nAI }], [1, { [_eQN]: `RuleNumber`, + [_xN]: _rN }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [0, { [_eQN]: `RuleAction`, + [_xN]: _rA }], [2, { [_eQN]: `Egress`, + [_xN]: _e }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `CidrBlock`, + [_xN]: _cB }], [0, { [_eQN]: `Ipv6CidrBlock`, + [_xN]: _iCB }], [() => exports.IcmpTypeCode$, { [_xN]: _Ic }], [() => exports.PortRange$, { [_eQN]: `PortRange`, + [_xN]: _pRo }]], 5 +]; +exports.ReplaceRootVolumeTask$ = [3, n0, _RRVT, + 0, + [_RRVTIe, _II, _TSas, _ST, _CTom, _T, _IIm, _SIn, _DRRV], + [[0, { [_eQN]: `ReplaceRootVolumeTaskId`, + [_xN]: _rRVTI }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `TaskState`, + [_xN]: _tSas }], [0, { [_eQN]: `StartTime`, + [_xN]: _sT }], [0, { [_eQN]: `CompleteTime`, + [_xN]: _cTom }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [2, { [_eQN]: `DeleteReplacedRootVolume`, + [_xN]: _dRRV }]] +]; +exports.ReplaceRouteRequest$ = [3, n0, _RRR, + 0, + [_RTI, _DPLI, _VEIp, _LToc, _TGI, _LGI, _CGI, _CNA, _ONA, _DR, _DCB, _GI, _DICB, _EOIGI, _II, _NII, _VPCI, _NGI], + [[0, { [_eQN]: `RouteTableId`, + [_xN]: _rTI }], 0, 0, 2, 0, 0, 0, 0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `DestinationCidrBlock`, + [_xN]: _dCB }], [0, { [_eQN]: `GatewayId`, + [_xN]: _gI }], [0, { [_eQN]: `DestinationIpv6CidrBlock`, + [_xN]: _dICB }], [0, { [_eQN]: `EgressOnlyInternetGatewayId`, + [_xN]: _eOIGI }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `VpcPeeringConnectionId`, + [_xN]: _vPCI }], [0, { [_eQN]: `NatGatewayId`, + [_xN]: _nGI }]], 1 +]; +exports.ReplaceRouteTableAssociationRequest$ = [3, n0, _RRTAR, + 0, + [_AIs, _RTI, _DR], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `RouteTableId`, + [_xN]: _rTI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.ReplaceRouteTableAssociationResult$ = [3, n0, _RRTARe, + 0, + [_NAIew, _AS], + [[0, { [_eQN]: `NewAssociationId`, + [_xN]: _nAIe }], [() => exports.RouteTableAssociationState$, { [_eQN]: `AssociationState`, + [_xN]: _aS }]] +]; +exports.ReplaceTransitGatewayRouteRequest$ = [3, n0, _RTGRR, + 0, + [_DCB, _TGRTI, _TGAI, _Bl, _DR], + [0, 0, 0, 2, 2], 2 +]; +exports.ReplaceTransitGatewayRouteResult$ = [3, n0, _RTGRRe, + 0, + [_Ro], + [[() => exports.TransitGatewayRoute$, { [_eQN]: `Route`, + [_xN]: _ro }]] +]; +exports.ReplaceVpnTunnelRequest$ = [3, n0, _RVTR, + 0, + [_VCIp, _VTOIA, _APM, _DR], + [0, 0, 2, 2], 2 +]; +exports.ReplaceVpnTunnelResult$ = [3, n0, _RVTRe, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ReportInstanceStatusRequest$ = [3, n0, _RISR, + 0, + [_Ins, _Sta, _RCea, _DR, _ST, _ETnd, _De], + [[() => InstanceIdStringList, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [() => ReasonCodesList, { [_eQN]: `ReasonCode`, + [_xN]: _rCea }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }], [4, { [_eQN]: `EndTime`, + [_xN]: _eTn }], [() => ReportInstanceStatusRequestDescription, { [_eQN]: `Description`, + [_xN]: _de }]], 3 +]; +exports.RequestFilterPortRange$ = [3, n0, _RFPR, + 0, + [_FP, _TP], + [1, 1] +]; +exports.RequestIpamResourceTag$ = [3, n0, _RIRT, + 0, + [_K, _V], + [0, 0] +]; +exports.RequestLaunchTemplateData$ = [3, n0, _RLTD, + 0, + [_KI, _EO, _IIP, _BDMl, _NIet, _IIm, _IT, _KN, _Mon, _Pla, _RDI, _DAT, _IISB, _UDs, _TS, _EGSlas, _EIAl, _SGIe, _SGe, _IMOns, _CSr, _CO, _CRSa, _LS, _HO, _MO, _EOn, _IRn, _PDNO, _MOa, _DASi, _Op, _NPO, _SIec], + [0, 2, () => exports.LaunchTemplateIamInstanceProfileSpecificationRequest$, [() => LaunchTemplateBlockDeviceMappingRequestList, { [_xN]: _BDM }], [() => LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList, { [_xN]: _NIe }], 0, 0, 0, () => exports.LaunchTemplatesMonitoringRequest$, () => exports.LaunchTemplatePlacementRequest$, 0, 2, 0, [() => SensitiveUserData, 0], [() => LaunchTemplateTagSpecificationRequestList, { [_xN]: _TSa }], [() => ElasticGpuSpecificationList, { [_xN]: _EGSla }], [() => LaunchTemplateElasticInferenceAcceleratorList, { [_xN]: _EIA }], [() => SecurityGroupIdStringList, { [_xN]: _SGI }], [() => SecurityGroupStringList, { [_xN]: _SGec }], () => exports.LaunchTemplateInstanceMarketOptionsRequest$, () => exports.CreditSpecificationRequest$, () => exports.LaunchTemplateCpuOptionsRequest$, () => exports.LaunchTemplateCapacityReservationSpecificationRequest$, [() => LaunchTemplateLicenseSpecificationListRequest, { [_xN]: _LSi }], () => exports.LaunchTemplateHibernationOptionsRequest$, () => exports.LaunchTemplateInstanceMetadataOptionsRequest$, () => exports.LaunchTemplateEnclaveOptionsRequest$, [() => exports.InstanceRequirementsRequest$, 0], () => exports.LaunchTemplatePrivateDnsNameOptionsRequest$, () => exports.LaunchTemplateInstanceMaintenanceOptionsRequest$, 2, () => exports.OperatorRequest$, () => exports.LaunchTemplateNetworkPerformanceOptionsRequest$, [() => LaunchTemplateInstanceSecondaryInterfaceSpecificationRequestList, { [_xN]: _SIeco }]] +]; +exports.RequestSpotFleetRequest$ = [3, n0, _RSFR, + 0, + [_SFRCp, _DR], + [[() => exports.SpotFleetRequestConfigData$, { [_eQN]: `SpotFleetRequestConfig`, + [_xN]: _sFRC }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.RequestSpotFleetResponse$ = [3, n0, _RSFRe, + 0, + [_SFRI], + [[0, { [_eQN]: `SpotFleetRequestId`, + [_xN]: _sFRI }]] +]; +exports.RequestSpotInstancesRequest$ = [3, n0, _RSIR, + 0, + [_LSa, _TS, _IIB, _DR, _SPp, _CT, _IC, _Ty, _VF, _VU, _LGa, _AZGv, _BDMlo], + [[() => exports.RequestSpotLaunchSpecification$, 0], [() => TagSpecificationList, { [_xN]: _TSa }], 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `SpotPrice`, + [_xN]: _sPp }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [4, { [_eQN]: `ValidFrom`, + [_xN]: _vF }], [4, { [_eQN]: `ValidUntil`, + [_xN]: _vU }], [0, { [_eQN]: `LaunchGroup`, + [_xN]: _lG }], [0, { [_eQN]: `AvailabilityZoneGroup`, + [_xN]: _aZG }], [1, { [_eQN]: `BlockDurationMinutes`, + [_xN]: _bDMl }]] +]; +exports.RequestSpotInstancesResult$ = [3, n0, _RSIRe, + 0, + [_SIR], + [[() => SpotInstanceRequestList, { [_eQN]: `SpotInstanceRequestSet`, + [_xN]: _sIRS }]] +]; +exports.RequestSpotLaunchSpecification$ = [3, n0, _RSLS, + 0, + [_SGIe, _SGe, _ATddre, _BDMl, _EO, _IIP, _IIm, _IT, _KI, _KN, _Mon, _NIet, _Pla, _RIa, _SIu, _UDs], + [[() => RequestSpotLaunchSpecificationSecurityGroupIdList, { [_xN]: _SGI }], [() => RequestSpotLaunchSpecificationSecurityGroupList, { [_xN]: _SGec }], [0, { [_eQN]: `AddressingType`, + [_xN]: _aTddr }], [() => BlockDeviceMappingList, { [_eQN]: `BlockDeviceMapping`, + [_xN]: _bDM }], [2, { [_eQN]: `EbsOptimized`, + [_xN]: _eO }], [() => exports.IamInstanceProfileSpecification$, { [_eQN]: `IamInstanceProfile`, + [_xN]: _iIP }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `KernelId`, + [_xN]: _kI }], [0, { [_eQN]: `KeyName`, + [_xN]: _kN }], [() => exports.RunInstancesMonitoringEnabled$, { [_eQN]: `Monitoring`, + [_xN]: _mo }], [() => InstanceNetworkInterfaceSpecificationList, { [_xN]: _NIe }], [() => exports.SpotPlacement$, { [_eQN]: `Placement`, + [_xN]: _pla }], [0, { [_eQN]: `RamdiskId`, + [_xN]: _rIa }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [() => SensitiveUserData, { [_eQN]: `UserData`, + [_xN]: _uDs }]] +]; +exports.Reservation$ = [3, n0, _Reser, + 0, + [_RIe, _OI, _RIeq, _G, _Ins], + [[0, { [_eQN]: `ReservationId`, + [_xN]: _rI }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `RequesterId`, + [_xN]: _rIeq }], [() => GroupIdentifierList, { [_eQN]: `GroupSet`, + [_xN]: _gSr }], [() => InstanceList, { [_eQN]: `InstancesSet`, + [_xN]: _iSn }]] +]; +exports.ReservationFleetInstanceSpecification$ = [3, n0, _RFIS, + 0, + [_IT, _IPn, _We, _AZ, _AZI, _EO, _Prio], + [0, 0, 1, 0, 0, 2, 1] +]; +exports.ReservationValue$ = [3, n0, _RVe, + 0, + [_HPo, _RTV, _RUV], + [[0, { [_eQN]: `HourlyPrice`, + [_xN]: _hPo }], [0, { [_eQN]: `RemainingTotalValue`, + [_xN]: _rTV }], [0, { [_eQN]: `RemainingUpfrontValue`, + [_xN]: _rUV }]] +]; +exports.ReservedCapacityOptions$ = [3, n0, _RCO, + 0, + [_RTese], + [[() => ReservationTypeList, { [_eQN]: `ReservationTypeSet`, + [_xN]: _rTSese }]] +]; +exports.ReservedCapacityOptionsRequest$ = [3, n0, _RCOR, + 0, + [_RTese], + [[() => ReservationTypeListRequest, { [_xN]: _RT }]] +]; +exports.ReservedInstanceLimitPrice$ = [3, n0, _RILP, + 0, + [_Am, _CC], + [[1, { [_eQN]: `Amount`, + [_xN]: _am }], [0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }]] +]; +exports.ReservedInstanceReservationValue$ = [3, n0, _RIRV, + 0, + [_RVe, _RIIe], + [[() => exports.ReservationValue$, { [_eQN]: `ReservationValue`, + [_xN]: _rVe }], [0, { [_eQN]: `ReservedInstanceId`, + [_xN]: _rIIe }]] +]; +exports.ReservedInstances$ = [3, n0, _RIese, + 0, + [_CC, _ITns, _OC, _OTf, _RCecu, _Sco, _T, _AZI, _RIIes, _IT, _AZ, _Star, _End, _Du, _UPs, _FPix, _IC, _PDr, _St], + [[0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [0, { [_eQN]: `InstanceTenancy`, + [_xN]: _iTns }], [0, { [_eQN]: `OfferingClass`, + [_xN]: _oC }], [0, { [_eQN]: `OfferingType`, + [_xN]: _oTf }], [() => RecurringChargesList, { [_eQN]: `RecurringCharges`, + [_xN]: _rCec }], [0, { [_eQN]: `Scope`, + [_xN]: _sco }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `ReservedInstancesId`, + [_xN]: _rII }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [4, { [_eQN]: `Start`, + [_xN]: _star }], [4, { [_eQN]: `End`, + [_xN]: _end }], [1, { [_eQN]: `Duration`, + [_xN]: _du }], [1, { [_eQN]: `UsagePrice`, + [_xN]: _uPs }], [1, { [_eQN]: `FixedPrice`, + [_xN]: _fPix }], [1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [0, { [_eQN]: `ProductDescription`, + [_xN]: _pDr }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.ReservedInstancesConfiguration$ = [3, n0, _RIC, + 0, + [_AZ, _IC, _IT, _Pl, _Sco, _AZI], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `Platform`, + [_xN]: _pl }], [0, { [_eQN]: `Scope`, + [_xN]: _sco }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }]] +]; +exports.ReservedInstancesId$ = [3, n0, _RIIes, + 0, + [_RIIes], + [[0, { [_eQN]: `ReservedInstancesId`, + [_xN]: _rII }]] +]; +exports.ReservedInstancesListing$ = [3, n0, _RILe, + 0, + [_CT, _CD, _ICns, _PSri, _RIIes, _RILI, _Sta, _SMt, _T, _UDpd], + [[0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [4, { [_eQN]: `CreateDate`, + [_xN]: _cD }], [() => InstanceCountList, { [_eQN]: `InstanceCounts`, + [_xN]: _iCn }], [() => PriceScheduleList, { [_eQN]: `PriceSchedules`, + [_xN]: _pSri }], [0, { [_eQN]: `ReservedInstancesId`, + [_xN]: _rII }], [0, { [_eQN]: `ReservedInstancesListingId`, + [_xN]: _rILI }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [4, { [_eQN]: `UpdateDate`, + [_xN]: _uDpd }]] +]; +exports.ReservedInstancesModification$ = [3, n0, _RIMe, + 0, + [_CT, _CD, _EDf, _MRo, _RIIese, _RIMIe, _Sta, _SMt, _UDpd], + [[0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [4, { [_eQN]: `CreateDate`, + [_xN]: _cD }], [4, { [_eQN]: `EffectiveDate`, + [_xN]: _eDf }], [() => ReservedInstancesModificationResultList, { [_eQN]: `ModificationResultSet`, + [_xN]: _mRS }], [() => ReservedIntancesIds, { [_eQN]: `ReservedInstancesSet`, + [_xN]: _rIS }], [0, { [_eQN]: `ReservedInstancesModificationId`, + [_xN]: _rIMI }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [4, { [_eQN]: `UpdateDate`, + [_xN]: _uDpd }]] +]; +exports.ReservedInstancesModificationResult$ = [3, n0, _RIMR, + 0, + [_RIIes, _TCa], + [[0, { [_eQN]: `ReservedInstancesId`, + [_xN]: _rII }], [() => exports.ReservedInstancesConfiguration$, { [_eQN]: `TargetConfiguration`, + [_xN]: _tCar }]] +]; +exports.ReservedInstancesOffering$ = [3, n0, _RIOe, + 0, + [_CC, _ITns, _Mar, _OC, _OTf, _PDric, _RCecu, _Sco, _AZI, _RIOIe, _IT, _AZ, _Du, _UPs, _FPix, _PDr], + [[0, { [_eQN]: `CurrencyCode`, + [_xN]: _cC }], [0, { [_eQN]: `InstanceTenancy`, + [_xN]: _iTns }], [2, { [_eQN]: `Marketplace`, + [_xN]: _mar }], [0, { [_eQN]: `OfferingClass`, + [_xN]: _oC }], [0, { [_eQN]: `OfferingType`, + [_xN]: _oTf }], [() => PricingDetailsList, { [_eQN]: `PricingDetailsSet`, + [_xN]: _pDS }], [() => RecurringChargesList, { [_eQN]: `RecurringCharges`, + [_xN]: _rCec }], [0, { [_eQN]: `Scope`, + [_xN]: _sco }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `ReservedInstancesOfferingId`, + [_xN]: _rIOI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [1, { [_eQN]: `Duration`, + [_xN]: _du }], [1, { [_eQN]: `UsagePrice`, + [_xN]: _uPs }], [1, { [_eQN]: `FixedPrice`, + [_xN]: _fPix }], [0, { [_eQN]: `ProductDescription`, + [_xN]: _pDr }]] +]; +exports.ResetAddressAttributeRequest$ = [3, n0, _RAAR, + 0, + [_AIl, _At, _DR], + [0, 0, 2], 2 +]; +exports.ResetAddressAttributeResult$ = [3, n0, _RAARe, + 0, + [_A], + [[() => exports.AddressAttribute$, { [_eQN]: `Address`, + [_xN]: _ad }]] +]; +exports.ResetEbsDefaultKmsKeyIdRequest$ = [3, n0, _REDKKIR, + 0, + [_DR], + [2] +]; +exports.ResetEbsDefaultKmsKeyIdResult$ = [3, n0, _REDKKIRe, + 0, + [_KKI], + [[0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }]] +]; +exports.ResetFpgaImageAttributeRequest$ = [3, n0, _RFIAR, + 0, + [_FII, _DR, _At], + [0, 2, 0], 1 +]; +exports.ResetFpgaImageAttributeResult$ = [3, n0, _RFIARe, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.ResetImageAttributeRequest$ = [3, n0, _RIAR, + 0, + [_At, _IIm, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.ResetInstanceAttributeRequest$ = [3, n0, _RIARe, + 0, + [_II, _At, _DR], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `Attribute`, + [_xN]: _att }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.ResetNetworkInterfaceAttributeRequest$ = [3, n0, _RNIAR, + 0, + [_NII, _DR, _SDC], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `SourceDestCheck`, + [_xN]: _sDC }]], 1 +]; +exports.ResetSnapshotAttributeRequest$ = [3, n0, _RSAR, + 0, + [_At, _SIn, _DR], + [0, 0, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 2 +]; +exports.ResourceStatement$ = [3, n0, _RSes, + 0, + [_Res, _RTes], + [[() => ValueStringList, { [_eQN]: `ResourceSet`, + [_xN]: _rSesou }], [() => ValueStringList, { [_eQN]: `ResourceTypeSet`, + [_xN]: _rTSe }]] +]; +exports.ResourceStatementRequest$ = [3, n0, _RSRes, + 0, + [_Res, _RTes], + [[() => ValueStringList, { [_xN]: _Reso }], [() => ValueStringList, { [_xN]: _RTe }]] +]; +exports.ResourceTypeOption$ = [3, n0, _RTOe, + 0, + [_ON, _OV], + [0, [64 | 0, { [_xN]: _OVp }]] +]; +exports.ResourceTypeRequest$ = [3, n0, _RTRe, + 0, + [_RTe, _RTO], + [0, [() => ResourceTypeOptionList, { [_xN]: _RTOe }]] +]; +exports.ResponseError$ = [3, n0, _REe, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.ResponseLaunchTemplateData$ = [3, n0, _RLTDe, + 0, + [_KI, _EO, _IIP, _BDMl, _NIet, _IIm, _IT, _KN, _Mon, _Pla, _RDI, _DAT, _IISB, _UDs, _TS, _EGSlas, _EIAl, _SGIe, _SGe, _IMOns, _CSr, _CO, _CRSa, _LS, _HO, _MO, _EOn, _IRn, _PDNO, _MOa, _DASi, _Op, _NPO, _SIec], + [[0, { [_eQN]: `KernelId`, + [_xN]: _kI }], [2, { [_eQN]: `EbsOptimized`, + [_xN]: _eO }], [() => exports.LaunchTemplateIamInstanceProfileSpecification$, { [_eQN]: `IamInstanceProfile`, + [_xN]: _iIP }], [() => LaunchTemplateBlockDeviceMappingList, { [_eQN]: `BlockDeviceMappingSet`, + [_xN]: _bDMS }], [() => LaunchTemplateInstanceNetworkInterfaceSpecificationList, { [_eQN]: `NetworkInterfaceSet`, + [_xN]: _nIS }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `KeyName`, + [_xN]: _kN }], [() => exports.LaunchTemplatesMonitoring$, { [_eQN]: `Monitoring`, + [_xN]: _mo }], [() => exports.LaunchTemplatePlacement$, { [_eQN]: `Placement`, + [_xN]: _pla }], [0, { [_eQN]: `RamDiskId`, + [_xN]: _rDI }], [2, { [_eQN]: `DisableApiTermination`, + [_xN]: _dAT }], [0, { [_eQN]: `InstanceInitiatedShutdownBehavior`, + [_xN]: _iISB }], [() => SensitiveUserData, { [_eQN]: `UserData`, + [_xN]: _uDs }], [() => LaunchTemplateTagSpecificationList, { [_eQN]: `TagSpecificationSet`, + [_xN]: _tSS }], [() => ElasticGpuSpecificationResponseList, { [_eQN]: `ElasticGpuSpecificationSet`, + [_xN]: _eGSS }], [() => LaunchTemplateElasticInferenceAcceleratorResponseList, { [_eQN]: `ElasticInferenceAcceleratorSet`, + [_xN]: _eIAS }], [() => ValueStringList, { [_eQN]: `SecurityGroupIdSet`, + [_xN]: _sGIS }], [() => ValueStringList, { [_eQN]: `SecurityGroupSet`, + [_xN]: _sGSe }], [() => exports.LaunchTemplateInstanceMarketOptions$, { [_eQN]: `InstanceMarketOptions`, + [_xN]: _iMOn }], [() => exports.CreditSpecification$, { [_eQN]: `CreditSpecification`, + [_xN]: _cSr }], [() => exports.LaunchTemplateCpuOptions$, { [_eQN]: `CpuOptions`, + [_xN]: _cO }], [() => exports.LaunchTemplateCapacityReservationSpecificationResponse$, { [_eQN]: `CapacityReservationSpecification`, + [_xN]: _cRSa }], [() => LaunchTemplateLicenseList, { [_eQN]: `LicenseSet`, + [_xN]: _lSi }], [() => exports.LaunchTemplateHibernationOptions$, { [_eQN]: `HibernationOptions`, + [_xN]: _hO }], [() => exports.LaunchTemplateInstanceMetadataOptions$, { [_eQN]: `MetadataOptions`, + [_xN]: _mO }], [() => exports.LaunchTemplateEnclaveOptions$, { [_eQN]: `EnclaveOptions`, + [_xN]: _eOn }], [() => exports.InstanceRequirements$, { [_eQN]: `InstanceRequirements`, + [_xN]: _iR }], [() => exports.LaunchTemplatePrivateDnsNameOptions$, { [_eQN]: `PrivateDnsNameOptions`, + [_xN]: _pDNO }], [() => exports.LaunchTemplateInstanceMaintenanceOptions$, { [_eQN]: `MaintenanceOptions`, + [_xN]: _mOa }], [2, { [_eQN]: `DisableApiStop`, + [_xN]: _dASi }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }], [() => exports.LaunchTemplateNetworkPerformanceOptions$, { [_eQN]: `NetworkPerformanceOptions`, + [_xN]: _nPO }], [() => LaunchTemplateInstanceSecondaryInterfaceSpecificationList, { [_eQN]: `SecondaryInterfaceSet`, + [_xN]: _sISe }]] +]; +exports.RestoreAddressToClassicRequest$ = [3, n0, _RATCR, + 0, + [_PI, _DR], + [[0, { [_eQN]: `PublicIp`, + [_xN]: _pI }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.RestoreAddressToClassicResult$ = [3, n0, _RATCRe, + 0, + [_PI, _Sta], + [[0, { [_eQN]: `PublicIp`, + [_xN]: _pI }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.RestoreImageFromRecycleBinRequest$ = [3, n0, _RIFRBR, + 0, + [_IIm, _DR], + [0, 2], 1 +]; +exports.RestoreImageFromRecycleBinResult$ = [3, n0, _RIFRBRe, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.RestoreManagedPrefixListVersionRequest$ = [3, n0, _RMPLVR, + 0, + [_PLI, _PVr, _CV, _DR], + [0, 1, 1, 2], 3 +]; +exports.RestoreManagedPrefixListVersionResult$ = [3, n0, _RMPLVRe, + 0, + [_PL], + [[() => exports.ManagedPrefixList$, { [_eQN]: `PrefixList`, + [_xN]: _pL }]] +]; +exports.RestoreSnapshotFromRecycleBinRequest$ = [3, n0, _RSFRBR, + 0, + [_SIn, _DR], + [0, 2], 1 +]; +exports.RestoreSnapshotFromRecycleBinResult$ = [3, n0, _RSFRBRe, + 0, + [_SIn, _OA, _De, _Enc, _OI, _Pro, _ST, _St, _VIo, _VSo, _STs], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `Progress`, + [_xN]: _pro }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [1, { [_eQN]: `VolumeSize`, + [_xN]: _vSo }], [0, { [_eQN]: `SseType`, + [_xN]: _sTs }]] +]; +exports.RestoreSnapshotTierRequest$ = [3, n0, _RSTR, + 0, + [_SIn, _TRD, _PRer, _DR], + [0, 1, 2, 2], 1 +]; +exports.RestoreSnapshotTierResult$ = [3, n0, _RSTRe, + 0, + [_SIn, _RSTe, _RD, _IPRs], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [4, { [_eQN]: `RestoreStartTime`, + [_xN]: _rSTe }], [1, { [_eQN]: `RestoreDuration`, + [_xN]: _rD }], [2, { [_eQN]: `IsPermanentRestore`, + [_xN]: _iPRs }]] +]; +exports.RestoreVolumeFromRecycleBinRequest$ = [3, n0, _RVFRBR, + 0, + [_VIo, _DR], + [0, 2], 1 +]; +exports.RestoreVolumeFromRecycleBinResult$ = [3, n0, _RVFRBRe, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.RevokeClientVpnIngressRequest$ = [3, n0, _RCVIR, + 0, + [_CVEI, _TNC, _AGI, _RAG, _DR], + [0, 0, 0, 2, 2], 2 +]; +exports.RevokeClientVpnIngressResult$ = [3, n0, _RCVIRe, + 0, + [_Sta], + [[() => exports.ClientVpnAuthorizationRuleStatus$, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.RevokedSecurityGroupRule$ = [3, n0, _RSGR, + 0, + [_SGRIe, _GIr, _IE, _IPpr, _FP, _TP, _CIidr, _CIid, _PLI, _RGI, _De], + [[0, { [_eQN]: `SecurityGroupRuleId`, + [_xN]: _sGRI }], [0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [2, { [_eQN]: `IsEgress`, + [_xN]: _iEs }], [0, { [_eQN]: `IpProtocol`, + [_xN]: _iPp }], [1, { [_eQN]: `FromPort`, + [_xN]: _fP }], [1, { [_eQN]: `ToPort`, + [_xN]: _tP }], [0, { [_eQN]: `CidrIpv4`, + [_xN]: _cIidr }], [0, { [_eQN]: `CidrIpv6`, + [_xN]: _cIid }], [0, { [_eQN]: `PrefixListId`, + [_xN]: _pLI }], [0, { [_eQN]: `ReferencedGroupId`, + [_xN]: _rGI }], [0, { [_eQN]: `Description`, + [_xN]: _de }]] +]; +exports.RevokeSecurityGroupEgressRequest$ = [3, n0, _RSGER, + 0, + [_GIr, _SGRI, _DR, _SSGN, _SSGOI, _IPpr, _FP, _TP, _CIi, _IPpe], + [[0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [() => SecurityGroupRuleIdList, { [_xN]: _SGRIe }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [0, { [_eQN]: `SourceSecurityGroupName`, + [_xN]: _sSGN }], [0, { [_eQN]: `SourceSecurityGroupOwnerId`, + [_xN]: _sSGOI }], [0, { [_eQN]: `IpProtocol`, + [_xN]: _iPp }], [1, { [_eQN]: `FromPort`, + [_xN]: _fP }], [1, { [_eQN]: `ToPort`, + [_xN]: _tP }], [0, { [_eQN]: `CidrIp`, + [_xN]: _cIi }], [() => IpPermissionList, { [_eQN]: `IpPermissions`, + [_xN]: _iPpe }]], 1 +]; +exports.RevokeSecurityGroupEgressResult$ = [3, n0, _RSGERe, + 0, + [_R, _UIP, _RSGRe], + [[2, { [_eQN]: `Return`, + [_xN]: _r }], [() => IpPermissionList, { [_eQN]: `UnknownIpPermissionSet`, + [_xN]: _uIPS }], [() => RevokedSecurityGroupRuleList, { [_eQN]: `RevokedSecurityGroupRuleSet`, + [_xN]: _rSGRS }]] +]; +exports.RevokeSecurityGroupIngressRequest$ = [3, n0, _RSGIR, + 0, + [_CIi, _FP, _GIr, _GN, _IPpe, _IPpr, _SSGN, _SSGOI, _TP, _SGRI, _DR], + [0, 1, 0, 0, [() => IpPermissionList, 0], 0, 0, 0, 1, [() => SecurityGroupRuleIdList, { [_xN]: _SGRIe }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]] +]; +exports.RevokeSecurityGroupIngressResult$ = [3, n0, _RSGIRe, + 0, + [_R, _UIP, _RSGRe], + [[2, { [_eQN]: `Return`, + [_xN]: _r }], [() => IpPermissionList, { [_eQN]: `UnknownIpPermissionSet`, + [_xN]: _uIPS }], [() => RevokedSecurityGroupRuleList, { [_eQN]: `RevokedSecurityGroupRuleSet`, + [_xN]: _rSGRS }]] +]; +exports.Route$ = [3, n0, _Ro, + 0, + [_DCB, _DICB, _DPLI, _EOIGI, _GI, _II, _IOIn, _NGI, _TGI, _LGI, _CGI, _NII, _O, _St, _VPCI, _CNA, _ONA, _IAp], + [[0, { [_eQN]: `DestinationCidrBlock`, + [_xN]: _dCB }], [0, { [_eQN]: `DestinationIpv6CidrBlock`, + [_xN]: _dICB }], [0, { [_eQN]: `DestinationPrefixListId`, + [_xN]: _dPLI }], [0, { [_eQN]: `EgressOnlyInternetGatewayId`, + [_xN]: _eOIGI }], [0, { [_eQN]: `GatewayId`, + [_xN]: _gI }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `InstanceOwnerId`, + [_xN]: _iOIn }], [0, { [_eQN]: `NatGatewayId`, + [_xN]: _nGI }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `LocalGatewayId`, + [_xN]: _lGI }], [0, { [_eQN]: `CarrierGatewayId`, + [_xN]: _cGI }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `Origin`, + [_xN]: _o }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `VpcPeeringConnectionId`, + [_xN]: _vPCI }], [0, { [_eQN]: `CoreNetworkArn`, + [_xN]: _cNA }], [0, { [_eQN]: `OdbNetworkArn`, + [_xN]: _oNA }], [0, { [_eQN]: `IpAddress`, + [_xN]: _iAp }]] +]; +exports.RouteServer$ = [3, n0, _RSo, + 0, + [_RSI, _ASA, _St, _T, _PRS, _PRD, _SNE, _STA], + [[0, { [_eQN]: `RouteServerId`, + [_xN]: _rSI }], [1, { [_eQN]: `AmazonSideAsn`, + [_xN]: _aSA }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `PersistRoutesState`, + [_xN]: _pRSe }], [1, { [_eQN]: `PersistRoutesDuration`, + [_xN]: _pRD }], [2, { [_eQN]: `SnsNotificationsEnabled`, + [_xN]: _sNE }], [0, { [_eQN]: `SnsTopicArn`, + [_xN]: _sTA }]] +]; +exports.RouteServerAssociation$ = [3, n0, _RSA, + 0, + [_RSI, _VI, _St], + [[0, { [_eQN]: `RouteServerId`, + [_xN]: _rSI }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.RouteServerBfdStatus$ = [3, n0, _RSBS, + 0, + [_Sta], + [[0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.RouteServerBgpOptions$ = [3, n0, _RSBO, + 0, + [_PAee, _PLD], + [[1, { [_eQN]: `PeerAsn`, + [_xN]: _pAee }], [0, { [_eQN]: `PeerLivenessDetection`, + [_xN]: _pLD }]] +]; +exports.RouteServerBgpOptionsRequest$ = [3, n0, _RSBOR, + 0, + [_PAee, _PLD], + [1, 0], 1 +]; +exports.RouteServerBgpStatus$ = [3, n0, _RSBSo, + 0, + [_Sta], + [[0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.RouteServerEndpoint$ = [3, n0, _RSE, + 0, + [_RSI, _RSEI, _VI, _SIu, _EIn, _EA, _St, _FR, _T], + [[0, { [_eQN]: `RouteServerId`, + [_xN]: _rSI }], [0, { [_eQN]: `RouteServerEndpointId`, + [_xN]: _rSEI }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `EniId`, + [_xN]: _eIn }], [0, { [_eQN]: `EniAddress`, + [_xN]: _eA }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `FailureReason`, + [_xN]: _fR }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.RouteServerPeer$ = [3, n0, _RSP, + 0, + [_RSPI, _RSEI, _RSI, _VI, _SIu, _St, _FR, _EEI, _EEA, _PAe, _BO, _BSg, _BSf, _T], + [[0, { [_eQN]: `RouteServerPeerId`, + [_xN]: _rSPI }], [0, { [_eQN]: `RouteServerEndpointId`, + [_xN]: _rSEI }], [0, { [_eQN]: `RouteServerId`, + [_xN]: _rSI }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `FailureReason`, + [_xN]: _fR }], [0, { [_eQN]: `EndpointEniId`, + [_xN]: _eEI }], [0, { [_eQN]: `EndpointEniAddress`, + [_xN]: _eEA }], [0, { [_eQN]: `PeerAddress`, + [_xN]: _pAe }], [() => exports.RouteServerBgpOptions$, { [_eQN]: `BgpOptions`, + [_xN]: _bO }], [() => exports.RouteServerBgpStatus$, { [_eQN]: `BgpStatus`, + [_xN]: _bSg }], [() => exports.RouteServerBfdStatus$, { [_eQN]: `BfdStatus`, + [_xN]: _bSf }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.RouteServerPropagation$ = [3, n0, _RSPou, + 0, + [_RSI, _RTI, _St], + [[0, { [_eQN]: `RouteServerId`, + [_xN]: _rSI }], [0, { [_eQN]: `RouteTableId`, + [_xN]: _rTI }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.RouteServerRoute$ = [3, n0, _RSRo, + 0, + [_RSEI, _RSPI, _RID, _RSout, _Pre, _APs, _Med, _NHI], + [[0, { [_eQN]: `RouteServerEndpointId`, + [_xN]: _rSEI }], [0, { [_eQN]: `RouteServerPeerId`, + [_xN]: _rSPI }], [() => RouteServerRouteInstallationDetails, { [_eQN]: `RouteInstallationDetailSet`, + [_xN]: _rIDS }], [0, { [_eQN]: `RouteStatus`, + [_xN]: _rSout }], [0, { [_eQN]: `Prefix`, + [_xN]: _pre }], [() => AsPath, { [_eQN]: `AsPathSet`, + [_xN]: _aPSs }], [1, { [_eQN]: `Med`, + [_xN]: _med }], [0, { [_eQN]: `NextHopIp`, + [_xN]: _nHI }]] +]; +exports.RouteServerRouteInstallationDetail$ = [3, n0, _RSRID, + 0, + [_RTI, _RIS, _RISRo], + [[0, { [_eQN]: `RouteTableId`, + [_xN]: _rTI }], [0, { [_eQN]: `RouteInstallationStatus`, + [_xN]: _rISo }], [0, { [_eQN]: `RouteInstallationStatusReason`, + [_xN]: _rISR }]] +]; +exports.RouteTable$ = [3, n0, _RTo, + 0, + [_As, _PVro, _RTI, _Rou, _T, _VI, _OI], + [[() => RouteTableAssociationList, { [_eQN]: `AssociationSet`, + [_xN]: _aSss }], [() => PropagatingVgwList, { [_eQN]: `PropagatingVgwSet`, + [_xN]: _pVS }], [0, { [_eQN]: `RouteTableId`, + [_xN]: _rTI }], [() => RouteList, { [_eQN]: `RouteSet`, + [_xN]: _rSou }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }]] +]; +exports.RouteTableAssociation$ = [3, n0, _RTA, + 0, + [_Mai, _RTAI, _RTI, _SIu, _GI, _PIP, _AS], + [[2, { [_eQN]: `Main`, + [_xN]: _mai }], [0, { [_eQN]: `RouteTableAssociationId`, + [_xN]: _rTAI }], [0, { [_eQN]: `RouteTableId`, + [_xN]: _rTI }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `GatewayId`, + [_xN]: _gI }], [0, { [_eQN]: `PublicIpv4Pool`, + [_xN]: _pIP }], [() => exports.RouteTableAssociationState$, { [_eQN]: `AssociationState`, + [_xN]: _aS }]] +]; +exports.RouteTableAssociationState$ = [3, n0, _RTAS, + 0, + [_St, _SMt], + [[0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }]] +]; +exports.RuleGroupRuleOptionsPair$ = [3, n0, _RGROPu, + 0, + [_RGA, _RO], + [[0, { [_eQN]: `RuleGroupArn`, + [_xN]: _rGA }], [() => RuleOptionList, { [_eQN]: `RuleOptionSet`, + [_xN]: _rOS }]] +]; +exports.RuleGroupTypePair$ = [3, n0, _RGTPu, + 0, + [_RGA, _RGT], + [[0, { [_eQN]: `RuleGroupArn`, + [_xN]: _rGA }], [0, { [_eQN]: `RuleGroupType`, + [_xN]: _rGT }]] +]; +exports.RuleOption$ = [3, n0, _ROu, + 0, + [_Key, _Set], + [[0, { [_eQN]: `Keyword`, + [_xN]: _key }], [() => StringList, { [_eQN]: `SettingSet`, + [_xN]: _sSe }]] +]; +exports.RunInstancesMonitoringEnabled$ = [3, n0, _RIME, + 0, + [_En], + [[2, { [_eQN]: `Enabled`, + [_xN]: _en }]], 1 +]; +exports.RunInstancesRequest$ = [3, n0, _RIRu, + 0, + [_MCa, _MCin, _BDMl, _IIm, _IT, _IAC, _IA, _KI, _KN, _Mon, _Pla, _RIa, _SGIe, _SGe, _SIu, _UDs, _EGSla, _EIAl, _TS, _LT, _IMOns, _CSr, _CO, _CRSa, _HO, _LS, _MO, _EOn, _PDNO, _MOa, _DASi, _EPI, _NPO, _Op, _SIec, _DR, _DAT, _IISB, _PIAr, _CT, _AId, _NIet, _IIP, _EO], + [1, 1, [() => BlockDeviceMappingRequestList, { [_xN]: _BDM }], 0, 0, 1, [() => InstanceIpv6AddressList, { [_xN]: _IApv }], 0, 0, [() => exports.RunInstancesMonitoringEnabled$, 0], [() => exports.Placement$, 0], 0, [() => SecurityGroupIdStringList, { [_xN]: _SGI }], [() => SecurityGroupStringList, { [_xN]: _SGec }], 0, [() => RunInstancesUserData, 0], [() => ElasticGpuSpecifications, 0], [() => ElasticInferenceAccelerators, { [_xN]: _EIA }], [() => TagSpecificationList, { [_xN]: _TSa }], () => exports.LaunchTemplateSpecification$, () => exports.InstanceMarketOptionsRequest$, () => exports.CreditSpecificationRequest$, () => exports.CpuOptionsRequest$, () => exports.CapacityReservationSpecification$, () => exports.HibernationOptionsRequest$, [() => LicenseSpecificationListRequest, { [_xN]: _LSi }], () => exports.InstanceMetadataOptionsRequest$, () => exports.EnclaveOptionsRequest$, () => exports.PrivateDnsNameOptionsRequest$, () => exports.InstanceMaintenanceOptionsRequest$, 2, 2, () => exports.InstanceNetworkPerformanceOptionsRequest$, () => exports.OperatorRequest$, [() => InstanceSecondaryInterfaceSpecificationListRequest, { [_xN]: _SIeco }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [2, { [_eQN]: `DisableApiTermination`, + [_xN]: _dAT }], [0, { [_eQN]: `InstanceInitiatedShutdownBehavior`, + [_xN]: _iISB }], [0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }], [0, { [_eQN]: `ClientToken`, + [_iTd]: 1, [_xN]: _cT }], [0, { [_eQN]: `AdditionalInfo`, + [_xN]: _aId }], [() => InstanceNetworkInterfaceSpecificationList, { [_eQN]: `NetworkInterface`, + [_xN]: _nIe }], [() => exports.IamInstanceProfileSpecification$, { [_eQN]: `IamInstanceProfile`, + [_xN]: _iIP }], [2, { [_eQN]: `EbsOptimized`, + [_xN]: _eO }]], 2 +]; +exports.RunScheduledInstancesRequest$ = [3, n0, _RSIRu, + 0, + [_LSa, _SIIch, _CT, _DR, _IC], + [[() => exports.ScheduledInstancesLaunchSpecification$, 0], 0, [0, 4], 2, 1], 2 +]; +exports.RunScheduledInstancesResult$ = [3, n0, _RSIRun, + 0, + [_IIS], + [[() => InstanceIdSet, { [_eQN]: `InstanceIdSet`, + [_xN]: _iIS }]] +]; +exports.S3ObjectTag$ = [3, n0, _SOTb, + 0, + [_K, _V], + [0, 0] +]; +exports.S3Storage$ = [3, n0, _SSt, + 0, + [_AWSAKI, _Bu, _Pre, _UPp, _UPS], + [0, [0, { [_eQN]: `Bucket`, + [_xN]: _b }], [0, { [_eQN]: `Prefix`, + [_xN]: _pre }], [21, { [_eQN]: `UploadPolicy`, + [_xN]: _uPp }], [() => S3StorageUploadPolicySignature, { [_eQN]: `UploadPolicySignature`, + [_xN]: _uPS }]] +]; +exports.ScheduledInstance$ = [3, n0, _SIc, + 0, + [_AZ, _CD, _HPo, _IC, _IT, _NPet, _NSST, _Pl, _PSET, _Rec, _SIIch, _SDIH, _TED, _TSD, _TSIH], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [4, { [_eQN]: `CreateDate`, + [_xN]: _cD }], [0, { [_eQN]: `HourlyPrice`, + [_xN]: _hPo }], [1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `NetworkPlatform`, + [_xN]: _nPet }], [4, { [_eQN]: `NextSlotStartTime`, + [_xN]: _nSST }], [0, { [_eQN]: `Platform`, + [_xN]: _pl }], [4, { [_eQN]: `PreviousSlotEndTime`, + [_xN]: _pSET }], [() => exports.ScheduledInstanceRecurrence$, { [_eQN]: `Recurrence`, + [_xN]: _rec }], [0, { [_eQN]: `ScheduledInstanceId`, + [_xN]: _sIIc }], [1, { [_eQN]: `SlotDurationInHours`, + [_xN]: _sDIH }], [4, { [_eQN]: `TermEndDate`, + [_xN]: _tED }], [4, { [_eQN]: `TermStartDate`, + [_xN]: _tSD }], [1, { [_eQN]: `TotalScheduledInstanceHours`, + [_xN]: _tSIH }]] +]; +exports.ScheduledInstanceAvailability$ = [3, n0, _SIA, + 0, + [_AZ, _AICv, _FSST, _HPo, _IT, _MTDID, _MTDIDi, _NPet, _Pl, _PTu, _Rec, _SDIH, _TSIH], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [1, { [_eQN]: `AvailableInstanceCount`, + [_xN]: _aICv }], [4, { [_eQN]: `FirstSlotStartTime`, + [_xN]: _fSST }], [0, { [_eQN]: `HourlyPrice`, + [_xN]: _hPo }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [1, { [_eQN]: `MaxTermDurationInDays`, + [_xN]: _mTDID }], [1, { [_eQN]: `MinTermDurationInDays`, + [_xN]: _mTDIDi }], [0, { [_eQN]: `NetworkPlatform`, + [_xN]: _nPet }], [0, { [_eQN]: `Platform`, + [_xN]: _pl }], [0, { [_eQN]: `PurchaseToken`, + [_xN]: _pTu }], [() => exports.ScheduledInstanceRecurrence$, { [_eQN]: `Recurrence`, + [_xN]: _rec }], [1, { [_eQN]: `SlotDurationInHours`, + [_xN]: _sDIH }], [1, { [_eQN]: `TotalScheduledInstanceHours`, + [_xN]: _tSIH }]] +]; +exports.ScheduledInstanceRecurrence$ = [3, n0, _SIRc, + 0, + [_Fre, _Inte, _ODS, _ORTE, _OU], + [[0, { [_eQN]: `Frequency`, + [_xN]: _fre }], [1, { [_eQN]: `Interval`, + [_xN]: _inte }], [() => OccurrenceDaySet, { [_eQN]: `OccurrenceDaySet`, + [_xN]: _oDS }], [2, { [_eQN]: `OccurrenceRelativeToEnd`, + [_xN]: _oRTE }], [0, { [_eQN]: `OccurrenceUnit`, + [_xN]: _oU }]] +]; +exports.ScheduledInstanceRecurrenceRequest$ = [3, n0, _SIRR, + 0, + [_Fre, _Inte, _OD, _ORTE, _OU], + [0, 1, [() => OccurrenceDayRequestSet, { [_xN]: _ODc }], 2, 0] +]; +exports.ScheduledInstancesBlockDeviceMapping$ = [3, n0, _SIBDM, + 0, + [_DN, _Eb, _ND, _VN], + [0, () => exports.ScheduledInstancesEbs$, 0, 0] +]; +exports.ScheduledInstancesEbs$ = [3, n0, _SIE, + 0, + [_DOT, _Enc, _Io, _SIn, _VSo, _VT], + [2, 2, 1, 0, 1, 0] +]; +exports.ScheduledInstancesIamInstanceProfile$ = [3, n0, _SIIIP, + 0, + [_Ar, _N], + [0, 0] +]; +exports.ScheduledInstancesIpv6Address$ = [3, n0, _SIIA, + 0, + [_IApv], + [0] +]; +exports.ScheduledInstancesLaunchSpecification$ = [3, n0, _SILS, + 8, + [_IIm, _BDMl, _EO, _IIP, _IT, _KI, _KN, _Mon, _NIet, _Pla, _RIa, _SGIe, _SIu, _UDs], + [0, [() => ScheduledInstancesBlockDeviceMappingSet, { [_xN]: _BDM }], 2, () => exports.ScheduledInstancesIamInstanceProfile$, 0, 0, 0, () => exports.ScheduledInstancesMonitoring$, [() => ScheduledInstancesNetworkInterfaceSet, { [_xN]: _NIe }], () => exports.ScheduledInstancesPlacement$, 0, [() => ScheduledInstancesSecurityGroupIdSet, { [_xN]: _SGI }], 0, 0], 1 +]; +exports.ScheduledInstancesMonitoring$ = [3, n0, _SIM, + 0, + [_En], + [2] +]; +exports.ScheduledInstancesNetworkInterface$ = [3, n0, _SINI, + 0, + [_APIAss, _DOT, _De, _DI, _G, _IAC, _IA, _NII, _PIAr, _PIACr, _SPIAC, _SIu], + [2, 2, 0, 1, [() => ScheduledInstancesSecurityGroupIdSet, { [_xN]: _Gr }], 1, [() => ScheduledInstancesIpv6AddressList, { [_xN]: _IApv }], 0, 0, [() => PrivateIpAddressConfigSet, { [_xN]: _PIACri }], 1, 0] +]; +exports.ScheduledInstancesPlacement$ = [3, n0, _SIP, + 0, + [_AZ, _GN], + [0, 0] +]; +exports.ScheduledInstancesPrivateIpAddressConfig$ = [3, n0, _SIPIAC, + 0, + [_Prim, _PIAr], + [2, 0] +]; +exports.SearchLocalGatewayRoutesRequest$ = [3, n0, _SLGRR, + 0, + [_LGRTI, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.SearchLocalGatewayRoutesResult$ = [3, n0, _SLGRRe, + 0, + [_Rou, _NTe], + [[() => LocalGatewayRouteList, { [_eQN]: `RouteSet`, + [_xN]: _rSou }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.SearchTransitGatewayMulticastGroupsRequest$ = [3, n0, _STGMGR, + 0, + [_TGMDI, _Fi, _MR, _NTe, _DR], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 0, 2], 1 +]; +exports.SearchTransitGatewayMulticastGroupsResult$ = [3, n0, _STGMGRe, + 0, + [_MG, _NTe], + [[() => TransitGatewayMulticastGroupList, { [_eQN]: `MulticastGroups`, + [_xN]: _mG }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.SearchTransitGatewayRoutesRequest$ = [3, n0, _STGRR, + 0, + [_TGRTI, _Fi, _MR, _DR, _NTe], + [0, [() => FilterList, { [_xN]: _Fil }], 1, 2, 0], 2 +]; +exports.SearchTransitGatewayRoutesResult$ = [3, n0, _STGRRe, + 0, + [_Rou, _ARAd, _NTe], + [[() => TransitGatewayRouteList, { [_eQN]: `RouteSet`, + [_xN]: _rSou }], [2, { [_eQN]: `AdditionalRoutesAvailable`, + [_xN]: _aRAd }], [0, { [_eQN]: `NextToken`, + [_xN]: _nTe }]] +]; +exports.SecondaryInterface$ = [3, n0, _SIeco, + 0, + [_AZ, _AZI, _Att, _MAa, _OI, _PIAriv, _SIIec, _SIAe, _SITe, _SSIe, _SNI, _SNT, _SDC, _Sta, _T], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [() => exports.SecondaryInterfaceAttachment$, { [_eQN]: `Attachment`, + [_xN]: _at }], [0, { [_eQN]: `MacAddress`, + [_xN]: _mAa }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [() => SecondaryInterfaceIpv4AddressList, { [_eQN]: `PrivateIpv4AddressSet`, + [_xN]: _pIASri }], [0, { [_eQN]: `SecondaryInterfaceId`, + [_xN]: _sIIe }], [0, { [_eQN]: `SecondaryInterfaceArn`, + [_xN]: _sIA }], [0, { [_eQN]: `SecondaryInterfaceType`, + [_xN]: _sITe }], [0, { [_eQN]: `SecondarySubnetId`, + [_xN]: _sSI }], [0, { [_eQN]: `SecondaryNetworkId`, + [_xN]: _sNI }], [0, { [_eQN]: `SecondaryNetworkType`, + [_xN]: _sNT }], [2, { [_eQN]: `SourceDestCheck`, + [_xN]: _sDC }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.SecondaryInterfaceAttachment$ = [3, n0, _SIAec, + 0, + [_AItt, _ATtt, _DOT, _DI, _II, _IOIn, _NCI, _Sta], + [[0, { [_eQN]: `AttachmentId`, + [_xN]: _aIt }], [4, { [_eQN]: `AttachTime`, + [_xN]: _aTt }], [2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [1, { [_eQN]: `DeviceIndex`, + [_xN]: _dI }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `InstanceOwnerId`, + [_xN]: _iOIn }], [1, { [_eQN]: `NetworkCardIndex`, + [_xN]: _nCI }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.SecondaryInterfaceIpv4Address$ = [3, n0, _SIIAe, + 0, + [_PIAr], + [[0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }]] +]; +exports.SecondaryInterfacePrivateIpAddressSpecification$ = [3, n0, _SIPIAS, + 0, + [_PIAr], + [[0, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }]] +]; +exports.SecondaryInterfacePrivateIpAddressSpecificationRequest$ = [3, n0, _SIPIASR, + 0, + [_PIAr], + [0] +]; +exports.SecondaryNetwork$ = [3, n0, _SNe, + 0, + [_SNI, _SNAe, _OI, _Ty, _St, _SRt, _ICBAp, _T], + [[0, { [_eQN]: `SecondaryNetworkId`, + [_xN]: _sNI }], [0, { [_eQN]: `SecondaryNetworkArn`, + [_xN]: _sNA }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateReason`, + [_xN]: _sRt }], [() => SecondaryNetworkIpv4CidrBlockAssociationList, { [_eQN]: `Ipv4CidrBlockAssociationSet`, + [_xN]: _iCBAS }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.SecondaryNetworkIpv4CidrBlockAssociation$ = [3, n0, _SNICBA, + 0, + [_AIs, _CB, _St, _SRt], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `CidrBlock`, + [_xN]: _cB }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateReason`, + [_xN]: _sRt }]] +]; +exports.SecondarySubnet$ = [3, n0, _SS, + 0, + [_SSIe, _SSA, _SNI, _SNT, _OI, _AZI, _AZ, _ICBAp, _St, _SRt, _T], + [[0, { [_eQN]: `SecondarySubnetId`, + [_xN]: _sSI }], [0, { [_eQN]: `SecondarySubnetArn`, + [_xN]: _sSA }], [0, { [_eQN]: `SecondaryNetworkId`, + [_xN]: _sNI }], [0, { [_eQN]: `SecondaryNetworkType`, + [_xN]: _sNT }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [() => SecondarySubnetIpv4CidrBlockAssociationList, { [_eQN]: `Ipv4CidrBlockAssociationSet`, + [_xN]: _iCBAS }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateReason`, + [_xN]: _sRt }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.SecondarySubnetIpv4CidrBlockAssociation$ = [3, n0, _SSICBA, + 0, + [_AIs, _CB, _St, _SRt], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `CidrBlock`, + [_xN]: _cB }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateReason`, + [_xN]: _sRt }]] +]; +exports.SecurityGroup$ = [3, n0, _SGec, + 0, + [_GIr, _IPEp, _T, _VI, _SGA, _OI, _GN, _De, _IPpe], + [[0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [() => IpPermissionList, { [_eQN]: `IpPermissionsEgress`, + [_xN]: _iPEp }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `SecurityGroupArn`, + [_xN]: _sGA }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [0, { [_eQN]: `GroupDescription`, + [_xN]: _gD }], [() => IpPermissionList, { [_eQN]: `IpPermissions`, + [_xN]: _iPpe }]] +]; +exports.SecurityGroupForVpc$ = [3, n0, _SGFVe, + 0, + [_De, _GN, _OI, _GIr, _T, _PVIr], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `PrimaryVpcId`, + [_xN]: _pVIr }]] +]; +exports.SecurityGroupIdentifier$ = [3, n0, _SGIec, + 0, + [_GIr, _GN], + [[0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }]] +]; +exports.SecurityGroupReference$ = [3, n0, _SGRec, + 0, + [_GIr, _RVI, _VPCI, _TGI], + [[0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [0, { [_eQN]: `ReferencingVpcId`, + [_xN]: _rVI }], [0, { [_eQN]: `VpcPeeringConnectionId`, + [_xN]: _vPCI }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }]] +]; +exports.SecurityGroupRule$ = [3, n0, _SGRe, + 0, + [_SGRIe, _GIr, _GOI, _IE, _IPpr, _FP, _TP, _CIidr, _CIid, _PLI, _RGIe, _De, _T, _SGRA], + [[0, { [_eQN]: `SecurityGroupRuleId`, + [_xN]: _sGRI }], [0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [0, { [_eQN]: `GroupOwnerId`, + [_xN]: _gOI }], [2, { [_eQN]: `IsEgress`, + [_xN]: _iEs }], [0, { [_eQN]: `IpProtocol`, + [_xN]: _iPp }], [1, { [_eQN]: `FromPort`, + [_xN]: _fP }], [1, { [_eQN]: `ToPort`, + [_xN]: _tP }], [0, { [_eQN]: `CidrIpv4`, + [_xN]: _cIidr }], [0, { [_eQN]: `CidrIpv6`, + [_xN]: _cIid }], [0, { [_eQN]: `PrefixListId`, + [_xN]: _pLI }], [() => exports.ReferencedSecurityGroup$, { [_eQN]: `ReferencedGroupInfo`, + [_xN]: _rGIe }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `SecurityGroupRuleArn`, + [_xN]: _sGRA }]] +]; +exports.SecurityGroupRuleDescription$ = [3, n0, _SGRD, + 0, + [_SGRIe, _De], + [0, 0] +]; +exports.SecurityGroupRuleRequest$ = [3, n0, _SGRR, + 0, + [_IPpr, _FP, _TP, _CIidr, _CIid, _PLI, _RGI, _De], + [0, 1, 1, 0, 0, 0, 0, 0] +]; +exports.SecurityGroupRuleUpdate$ = [3, n0, _SGRU, + 0, + [_SGRIe, _SGRe], + [0, () => exports.SecurityGroupRuleRequest$], 1 +]; +exports.SecurityGroupVpcAssociation$ = [3, n0, _SGVAe, + 0, + [_GIr, _VI, _VOIp, _St, _SRt, _GOI], + [[0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `VpcOwnerId`, + [_xN]: _vOIp }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateReason`, + [_xN]: _sRt }], [0, { [_eQN]: `GroupOwnerId`, + [_xN]: _gOI }]] +]; +exports.SendDiagnosticInterruptRequest$ = [3, n0, _SDIR, + 0, + [_II, _DR], + [0, 2], 1 +]; +exports.ServiceConfiguration$ = [3, n0, _SCe, + 0, + [_STe, _SIe, _SN, _SSer, _AZIv, _AZv, _ARc, _MVE, _NLBAe, _GLBA, _SIAT, _BEDN, _PDN, _PDNC, _PRa, _T, _SRu, _RAE], + [[() => ServiceTypeDetailSet, { [_eQN]: `ServiceType`, + [_xN]: _sTe }], [0, { [_eQN]: `ServiceId`, + [_xN]: _sI }], [0, { [_eQN]: `ServiceName`, + [_xN]: _sN }], [0, { [_eQN]: `ServiceState`, + [_xN]: _sSer }], [() => ValueStringList, { [_eQN]: `AvailabilityZoneIdSet`, + [_xN]: _aZIS }], [() => ValueStringList, { [_eQN]: `AvailabilityZoneSet`, + [_xN]: _aZS }], [2, { [_eQN]: `AcceptanceRequired`, + [_xN]: _aRcc }], [2, { [_eQN]: `ManagesVpcEndpoints`, + [_xN]: _mVE }], [() => ValueStringList, { [_eQN]: `NetworkLoadBalancerArnSet`, + [_xN]: _nLBAS }], [() => ValueStringList, { [_eQN]: `GatewayLoadBalancerArnSet`, + [_xN]: _gLBAS }], [() => SupportedIpAddressTypes, { [_eQN]: `SupportedIpAddressTypeSet`, + [_xN]: _sIATS }], [() => ValueStringList, { [_eQN]: `BaseEndpointDnsNameSet`, + [_xN]: _bEDNS }], [0, { [_eQN]: `PrivateDnsName`, + [_xN]: _pDNr }], [() => exports.PrivateDnsNameConfiguration$, { [_eQN]: `PrivateDnsNameConfiguration`, + [_xN]: _pDNC }], [0, { [_eQN]: `PayerResponsibility`, + [_xN]: _pRa }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => SupportedRegionSet, { [_eQN]: `SupportedRegionSet`, + [_xN]: _sRS }], [2, { [_eQN]: `RemoteAccessEnabled`, + [_xN]: _rAE }]] +]; +exports.ServiceDetail$ = [3, n0, _SDer, + 0, + [_SN, _SIe, _STe, _SR, _AZIv, _AZv, _Own, _BEDN, _PDN, _PDNr, _VEPS, _ARc, _MVE, _PRa, _T, _PDNVS, _SIAT], + [[0, { [_eQN]: `ServiceName`, + [_xN]: _sN }], [0, { [_eQN]: `ServiceId`, + [_xN]: _sI }], [() => ServiceTypeDetailSet, { [_eQN]: `ServiceType`, + [_xN]: _sTe }], [0, { [_eQN]: `ServiceRegion`, + [_xN]: _sR }], [() => ValueStringList, { [_eQN]: `AvailabilityZoneIdSet`, + [_xN]: _aZIS }], [() => ValueStringList, { [_eQN]: `AvailabilityZoneSet`, + [_xN]: _aZS }], [0, { [_eQN]: `Owner`, + [_xN]: _ow }], [() => ValueStringList, { [_eQN]: `BaseEndpointDnsNameSet`, + [_xN]: _bEDNS }], [0, { [_eQN]: `PrivateDnsName`, + [_xN]: _pDNr }], [() => PrivateDnsDetailsSet, { [_eQN]: `PrivateDnsNameSet`, + [_xN]: _pDNS }], [2, { [_eQN]: `VpcEndpointPolicySupported`, + [_xN]: _vEPS }], [2, { [_eQN]: `AcceptanceRequired`, + [_xN]: _aRcc }], [2, { [_eQN]: `ManagesVpcEndpoints`, + [_xN]: _mVE }], [0, { [_eQN]: `PayerResponsibility`, + [_xN]: _pRa }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `PrivateDnsNameVerificationState`, + [_xN]: _pDNVS }], [() => SupportedIpAddressTypes, { [_eQN]: `SupportedIpAddressTypeSet`, + [_xN]: _sIATS }]] +]; +exports.ServiceLinkVirtualInterface$ = [3, n0, _SLVIe, + 0, + [_SLVIIe, _SLVIA, _OIu, _OA, _OI, _LA, _PAe, _PBA, _Vl, _OLI, _T, _CSon], + [[0, { [_eQN]: `ServiceLinkVirtualInterfaceId`, + [_xN]: _sLVII }], [0, { [_eQN]: `ServiceLinkVirtualInterfaceArn`, + [_xN]: _sLVIA }], [0, { [_eQN]: `OutpostId`, + [_xN]: _oIu }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `LocalAddress`, + [_xN]: _lA }], [0, { [_eQN]: `PeerAddress`, + [_xN]: _pAe }], [1, { [_eQN]: `PeerBgpAsn`, + [_xN]: _pBA }], [1, { [_eQN]: `Vlan`, + [_xN]: _vl }], [0, { [_eQN]: `OutpostLagId`, + [_xN]: _oLI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `ConfigurationState`, + [_xN]: _cSon }]] +]; +exports.ServiceTypeDetail$ = [3, n0, _STDe, + 0, + [_STe], + [[0, { [_eQN]: `ServiceType`, + [_xN]: _sTe }]] +]; +exports.SlotDateTimeRangeRequest$ = [3, n0, _SDTRR, + 0, + [_ETa, _LTat], + [4, 4], 2 +]; +exports.SlotStartTimeRangeRequest$ = [3, n0, _SSTRR, + 0, + [_ETa, _LTat], + [4, 4] +]; +exports.Snapshot$ = [3, n0, _Sna, + 0, + [_OAw, _OA, _T, _STt, _RETe, _STs, _AZ, _TTr, _CDM, _CTomp, _FSSIB, _SIn, _VIo, _St, _SMta, _ST, _Pro, _OI, _De, _VSo, _Enc, _KKI, _DEKI], + [[0, { [_eQN]: `OwnerAlias`, + [_xN]: _oAw }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `StorageTier`, + [_xN]: _sTt }], [4, { [_eQN]: `RestoreExpiryTime`, + [_xN]: _rETe }], [0, { [_eQN]: `SseType`, + [_xN]: _sTs }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `TransferType`, + [_xN]: _tTr }], [1, { [_eQN]: `CompletionDurationMinutes`, + [_xN]: _cDM }], [4, { [_eQN]: `CompletionTime`, + [_xN]: _cTomp }], [1, { [_eQN]: `FullSnapshotSizeInBytes`, + [_xN]: _fSSIB }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }], [0, { [_eQN]: `Progress`, + [_xN]: _pro }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [1, { [_eQN]: `VolumeSize`, + [_xN]: _vSo }], [2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], [0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }], [0, { [_eQN]: `DataEncryptionKeyId`, + [_xN]: _dEKI }]] +]; +exports.SnapshotDetail$ = [3, n0, _SDna, + 0, + [_De, _DN, _DIS, _Fo, _Pro, _SIn, _Sta, _SMt, _Ur, _UB], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `DeviceName`, + [_xN]: _dN }], [1, { [_eQN]: `DiskImageSize`, + [_xN]: _dIS }], [0, { [_eQN]: `Format`, + [_xN]: _for }], [0, { [_eQN]: `Progress`, + [_xN]: _pro }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [() => SensitiveUrl, { [_eQN]: `Url`, + [_xN]: _ur }], [() => exports.UserBucketDetails$, { [_eQN]: `UserBucket`, + [_xN]: _uB }]] +]; +exports.SnapshotDiskContainer$ = [3, n0, _SDCn, + 0, + [_De, _Fo, _Ur, _UB], + [0, 0, [() => SensitiveUrl, 0], () => exports.UserBucket$] +]; +exports.SnapshotInfo$ = [3, n0, _SInap, + 0, + [_De, _T, _Enc, _VIo, _St, _VSo, _ST, _Pro, _OI, _SIn, _OA, _STs, _AZ], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], [0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [0, { [_eQN]: `State`, + [_xN]: _st }], [1, { [_eQN]: `VolumeSize`, + [_xN]: _vSo }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }], [0, { [_eQN]: `Progress`, + [_xN]: _pro }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `SseType`, + [_xN]: _sTs }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }]] +]; +exports.SnapshotRecycleBinInfo$ = [3, n0, _SRBI, + 0, + [_SIn, _RBET, _RBETe, _De, _VIo], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [4, { [_eQN]: `RecycleBinEnterTime`, + [_xN]: _rBET }], [4, { [_eQN]: `RecycleBinExitTime`, + [_xN]: _rBETe }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }]] +]; +exports.SnapshotTaskDetail$ = [3, n0, _STD, + 0, + [_De, _DIS, _Enc, _Fo, _KKI, _Pro, _SIn, _Sta, _SMt, _Ur, _UB], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [1, { [_eQN]: `DiskImageSize`, + [_xN]: _dIS }], [2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], [0, { [_eQN]: `Format`, + [_xN]: _for }], [0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }], [0, { [_eQN]: `Progress`, + [_xN]: _pro }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [() => SensitiveUrl, { [_eQN]: `Url`, + [_xN]: _ur }], [() => exports.UserBucketDetails$, { [_eQN]: `UserBucket`, + [_xN]: _uB }]] +]; +exports.SnapshotTierStatus$ = [3, n0, _STSn, + 0, + [_SIn, _VIo, _Sta, _OI, _T, _STt, _LTST, _LTPa, _LTOS, _LTOSD, _ACT, _RETe], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `StorageTier`, + [_xN]: _sTt }], [4, { [_eQN]: `LastTieringStartTime`, + [_xN]: _lTST }], [1, { [_eQN]: `LastTieringProgress`, + [_xN]: _lTP }], [0, { [_eQN]: `LastTieringOperationStatus`, + [_xN]: _lTOS }], [0, { [_eQN]: `LastTieringOperationStatusDetail`, + [_xN]: _lTOSD }], [4, { [_eQN]: `ArchivalCompleteTime`, + [_xN]: _aCT }], [4, { [_eQN]: `RestoreExpiryTime`, + [_xN]: _rETe }]] +]; +exports.SpotCapacityRebalance$ = [3, n0, _SCRp, + 0, + [_RSep, _TDe], + [[0, { [_eQN]: `ReplacementStrategy`, + [_xN]: _rSepl }], [1, { [_eQN]: `TerminationDelay`, + [_xN]: _tD }]] +]; +exports.SpotDatafeedSubscription$ = [3, n0, _SDS, + 0, + [_Bu, _Fa, _OI, _Pre, _St], + [[0, { [_eQN]: `Bucket`, + [_xN]: _b }], [() => exports.SpotInstanceStateFault$, { [_eQN]: `Fault`, + [_xN]: _fa }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `Prefix`, + [_xN]: _pre }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.SpotFleetLaunchSpecification$ = [3, n0, _SFLS, + 0, + [_ATddre, _BDMl, _EO, _IIP, _IIm, _IT, _KI, _KN, _Mon, _NIet, _Pla, _RIa, _SPp, _SIu, _UDs, _WCe, _TS, _IRn, _SGe], + [[0, { [_eQN]: `AddressingType`, + [_xN]: _aTddr }], [() => BlockDeviceMappingList, { [_eQN]: `BlockDeviceMapping`, + [_xN]: _bDM }], [2, { [_eQN]: `EbsOptimized`, + [_xN]: _eO }], [() => exports.IamInstanceProfileSpecification$, { [_eQN]: `IamInstanceProfile`, + [_xN]: _iIP }], [0, { [_eQN]: `ImageId`, + [_xN]: _iIma }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `KernelId`, + [_xN]: _kI }], [0, { [_eQN]: `KeyName`, + [_xN]: _kN }], [() => exports.SpotFleetMonitoring$, { [_eQN]: `Monitoring`, + [_xN]: _mo }], [() => InstanceNetworkInterfaceSpecificationList, { [_eQN]: `NetworkInterfaceSet`, + [_xN]: _nIS }], [() => exports.SpotPlacement$, { [_eQN]: `Placement`, + [_xN]: _pla }], [0, { [_eQN]: `RamdiskId`, + [_xN]: _rIa }], [0, { [_eQN]: `SpotPrice`, + [_xN]: _sPp }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [() => SensitiveUserData, { [_eQN]: `UserData`, + [_xN]: _uDs }], [1, { [_eQN]: `WeightedCapacity`, + [_xN]: _wC }], [() => SpotFleetTagSpecificationList, { [_eQN]: `TagSpecificationSet`, + [_xN]: _tSS }], [() => exports.InstanceRequirements$, { [_eQN]: `InstanceRequirements`, + [_xN]: _iR }], [() => GroupIdentifierList, { [_eQN]: `GroupSet`, + [_xN]: _gSr }]] +]; +exports.SpotFleetMonitoring$ = [3, n0, _SFM, + 0, + [_En], + [[2, { [_eQN]: `Enabled`, + [_xN]: _en }]] +]; +exports.SpotFleetRequestConfig$ = [3, n0, _SFRCp, + 0, + [_ASc, _CTr, _SFRCp, _SFRI, _SFRS, _T], + [[0, { [_eQN]: `ActivityStatus`, + [_xN]: _aSc }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [() => exports.SpotFleetRequestConfigData$, { [_eQN]: `SpotFleetRequestConfig`, + [_xN]: _sFRC }], [0, { [_eQN]: `SpotFleetRequestId`, + [_xN]: _sFRI }], [0, { [_eQN]: `SpotFleetRequestState`, + [_xN]: _sFRSp }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.SpotFleetRequestConfigData$ = [3, n0, _SFRCD, + 0, + [_IFR, _TCar, _ASl, _ODAS, _SMS, _CT, _ECTP, _FCu, _ODFC, _LSau, _LTC, _SPp, _ODTC, _ODMTP, _SMTP, _TIWE, _Ty, _VF, _VU, _RUI, _IIB, _LBC, _IPTUC, _Con, _TCUT, _TS], + [[0, { [_eQN]: `IamFleetRole`, + [_xN]: _iFR }], [1, { [_eQN]: `TargetCapacity`, + [_xN]: _tCa }], [0, { [_eQN]: `AllocationStrategy`, + [_xN]: _aSl }], [0, { [_eQN]: `OnDemandAllocationStrategy`, + [_xN]: _oDAS }], [() => exports.SpotMaintenanceStrategies$, { [_eQN]: `SpotMaintenanceStrategies`, + [_xN]: _sMS }], [0, { [_eQN]: `ClientToken`, + [_xN]: _cT }], [0, { [_eQN]: `ExcessCapacityTerminationPolicy`, + [_xN]: _eCTP }], [1, { [_eQN]: `FulfilledCapacity`, + [_xN]: _fC }], [1, { [_eQN]: `OnDemandFulfilledCapacity`, + [_xN]: _oDFC }], [() => LaunchSpecsList, { [_eQN]: `LaunchSpecifications`, + [_xN]: _lSau }], [() => LaunchTemplateConfigList, { [_eQN]: `LaunchTemplateConfigs`, + [_xN]: _lTC }], [0, { [_eQN]: `SpotPrice`, + [_xN]: _sPp }], [1, { [_eQN]: `OnDemandTargetCapacity`, + [_xN]: _oDTC }], [0, { [_eQN]: `OnDemandMaxTotalPrice`, + [_xN]: _oDMTP }], [0, { [_eQN]: `SpotMaxTotalPrice`, + [_xN]: _sMTP }], [2, { [_eQN]: `TerminateInstancesWithExpiration`, + [_xN]: _tIWE }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [4, { [_eQN]: `ValidFrom`, + [_xN]: _vF }], [4, { [_eQN]: `ValidUntil`, + [_xN]: _vU }], [2, { [_eQN]: `ReplaceUnhealthyInstances`, + [_xN]: _rUI }], [0, { [_eQN]: `InstanceInterruptionBehavior`, + [_xN]: _iIB }], [() => exports.LoadBalancersConfig$, { [_eQN]: `LoadBalancersConfig`, + [_xN]: _lBC }], [1, { [_eQN]: `InstancePoolsToUseCount`, + [_xN]: _iPTUC }], [0, { [_eQN]: `Context`, + [_xN]: _cont }], [0, { [_eQN]: `TargetCapacityUnitType`, + [_xN]: _tCUT }], [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.SpotFleetTagSpecification$ = [3, n0, _SFTS, + 0, + [_RTe, _T], + [[0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [() => TagList, { [_eQN]: `Tag`, + [_xN]: _ta }]] +]; +exports.SpotInstanceRequest$ = [3, n0, _SIRp, + 0, + [_ABHP, _AZGv, _BDMlo, _CTr, _Fa, _II, _LGa, _LSa, _LAZ, _LAZI, _PDr, _SIRI, _SPp, _St, _Sta, _T, _Ty, _VF, _VU, _IIB], + [[0, { [_eQN]: `ActualBlockHourlyPrice`, + [_xN]: _aBHP }], [0, { [_eQN]: `AvailabilityZoneGroup`, + [_xN]: _aZG }], [1, { [_eQN]: `BlockDurationMinutes`, + [_xN]: _bDMl }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [() => exports.SpotInstanceStateFault$, { [_eQN]: `Fault`, + [_xN]: _fa }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `LaunchGroup`, + [_xN]: _lG }], [() => exports.LaunchSpecification$, { [_eQN]: `LaunchSpecification`, + [_xN]: _lSa }], [0, { [_eQN]: `LaunchedAvailabilityZone`, + [_xN]: _lAZ }], [0, { [_eQN]: `LaunchedAvailabilityZoneId`, + [_xN]: _lAZI }], [0, { [_eQN]: `ProductDescription`, + [_xN]: _pDr }], [0, { [_eQN]: `SpotInstanceRequestId`, + [_xN]: _sIRI }], [0, { [_eQN]: `SpotPrice`, + [_xN]: _sPp }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => exports.SpotInstanceStatus$, { [_eQN]: `Status`, + [_xN]: _sta }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [4, { [_eQN]: `ValidFrom`, + [_xN]: _vF }], [4, { [_eQN]: `ValidUntil`, + [_xN]: _vU }], [0, { [_eQN]: `InstanceInterruptionBehavior`, + [_xN]: _iIB }]] +]; +exports.SpotInstanceStateFault$ = [3, n0, _SISF, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.SpotInstanceStatus$ = [3, n0, _SISp, + 0, + [_Co, _Me, _UT], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }], [4, { [_eQN]: `UpdateTime`, + [_xN]: _uT }]] +]; +exports.SpotMaintenanceStrategies$ = [3, n0, _SMS, + 0, + [_CRapa], + [[() => exports.SpotCapacityRebalance$, { [_eQN]: `CapacityRebalance`, + [_xN]: _cRa }]] +]; +exports.SpotMarketOptions$ = [3, n0, _SMO, + 0, + [_MPax, _SIT, _BDMlo, _VU, _IIB], + [0, 0, 1, 4, 0] +]; +exports.SpotOptions$ = [3, n0, _SO, + 0, + [_ASl, _MSa, _IIB, _IPTUC, _SITi, _SAZ, _MTC, _MTP], + [[0, { [_eQN]: `AllocationStrategy`, + [_xN]: _aSl }], [() => exports.FleetSpotMaintenanceStrategies$, { [_eQN]: `MaintenanceStrategies`, + [_xN]: _mSai }], [0, { [_eQN]: `InstanceInterruptionBehavior`, + [_xN]: _iIB }], [1, { [_eQN]: `InstancePoolsToUseCount`, + [_xN]: _iPTUC }], [2, { [_eQN]: `SingleInstanceType`, + [_xN]: _sITi }], [2, { [_eQN]: `SingleAvailabilityZone`, + [_xN]: _sAZ }], [1, { [_eQN]: `MinTargetCapacity`, + [_xN]: _mTC }], [0, { [_eQN]: `MaxTotalPrice`, + [_xN]: _mTP }]] +]; +exports.SpotOptionsRequest$ = [3, n0, _SOR, + 0, + [_ASl, _MSa, _IIB, _IPTUC, _SITi, _SAZ, _MTC, _MTP], + [0, () => exports.FleetSpotMaintenanceStrategiesRequest$, 0, 1, 2, 2, 1, 0] +]; +exports.SpotPlacement$ = [3, n0, _SPpo, + 0, + [_AZ, _GN, _Te, _AZI], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [0, { [_eQN]: `Tenancy`, + [_xN]: _t }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }]] +]; +exports.SpotPlacementScore$ = [3, n0, _SPSp, + 0, + [_Regi, _AZI, _Scor], + [[0, { [_eQN]: `Region`, + [_xN]: _reg }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [1, { [_eQN]: `Score`, + [_xN]: _scor }]] +]; +exports.SpotPrice$ = [3, n0, _SPp, + 0, + [_AZ, _AZI, _IT, _PDr, _SPp, _Ti], + [[0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `InstanceType`, + [_xN]: _iT }], [0, { [_eQN]: `ProductDescription`, + [_xN]: _pDr }], [0, { [_eQN]: `SpotPrice`, + [_xN]: _sPp }], [4, { [_eQN]: `Timestamp`, + [_xN]: _ti }]] +]; +exports.StaleIpPermission$ = [3, n0, _SIPt, + 0, + [_FP, _IPpr, _IRpa, _PLIr, _TP, _UIGP], + [[1, { [_eQN]: `FromPort`, + [_xN]: _fP }], [0, { [_eQN]: `IpProtocol`, + [_xN]: _iPp }], [() => IpRanges, { [_eQN]: `IpRanges`, + [_xN]: _iRpa }], [() => PrefixListIdSet, { [_eQN]: `PrefixListIds`, + [_xN]: _pLIr }], [1, { [_eQN]: `ToPort`, + [_xN]: _tP }], [() => UserIdGroupPairSet, { [_eQN]: `Groups`, + [_xN]: _gr }]] +]; +exports.StaleSecurityGroup$ = [3, n0, _SSG, + 0, + [_De, _GIr, _GN, _SIPta, _SIPE, _VI], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [() => StaleIpPermissionSet, { [_eQN]: `StaleIpPermissions`, + [_xN]: _sIP }], [() => StaleIpPermissionSet, { [_eQN]: `StaleIpPermissionsEgress`, + [_xN]: _sIPE }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }]] +]; +exports.StartDeclarativePoliciesReportRequest$ = [3, n0, _SDPRR, + 0, + [_SB, _TIa, _DR, _SP, _TS], + [0, 0, 2, 0, [() => TagSpecificationList, { [_xN]: _TSa }]], 2 +]; +exports.StartDeclarativePoliciesReportResult$ = [3, n0, _SDPRRt, + 0, + [_RI], + [[0, { [_eQN]: `ReportId`, + [_xN]: _rIe }]] +]; +exports.StartInstancesRequest$ = [3, n0, _SIRt, + 0, + [_IIns, _AId, _DR], + [[() => InstanceIdStringList, { [_xN]: _II }], [0, { [_eQN]: `AdditionalInfo`, + [_xN]: _aId }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.StartInstancesResult$ = [3, n0, _SIRta, + 0, + [_SIt], + [[() => InstanceStateChangeList, { [_eQN]: `InstancesSet`, + [_xN]: _iSn }]] +]; +exports.StartNetworkInsightsAccessScopeAnalysisRequest$ = [3, n0, _SNIASAR, + 0, + [_NIASI, _DR, _TS, _CT], + [0, 2, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4]], 1 +]; +exports.StartNetworkInsightsAccessScopeAnalysisResult$ = [3, n0, _SNIASARt, + 0, + [_NIASAet], + [[() => exports.NetworkInsightsAccessScopeAnalysis$, { [_eQN]: `NetworkInsightsAccessScopeAnalysis`, + [_xN]: _nIASAe }]] +]; +exports.StartNetworkInsightsAnalysisRequest$ = [3, n0, _SNIAR, + 0, + [_NIPI, _AAdd, _FIAi, _FOA, _DR, _TS, _CT], + [0, [() => ValueStringList, { [_xN]: _AAddi }], [() => ArnList, { [_xN]: _FIAil }], [() => ArnList, { [_xN]: _FOAi }], 2, [() => TagSpecificationList, { [_xN]: _TSa }], [0, 4]], 1 +]; +exports.StartNetworkInsightsAnalysisResult$ = [3, n0, _SNIARt, + 0, + [_NIAe], + [[() => exports.NetworkInsightsAnalysis$, { [_eQN]: `NetworkInsightsAnalysis`, + [_xN]: _nIA }]] +]; +exports.StartVpcEndpointServicePrivateDnsVerificationRequest$ = [3, n0, _SVESPDVR, + 0, + [_SIe, _DR], + [0, 2], 1 +]; +exports.StartVpcEndpointServicePrivateDnsVerificationResult$ = [3, n0, _SVESPDVRt, + 0, + [_RV], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.StateReason$ = [3, n0, _SRt, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.StopInstancesRequest$ = [3, n0, _SIRto, + 0, + [_IIns, _Hi, _SOS, _DR, _F], + [[() => InstanceIdStringList, { [_xN]: _II }], 2, 2, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }], [2, { [_eQN]: `Force`, + [_xN]: _fo }]], 1 +]; +exports.StopInstancesResult$ = [3, n0, _SIRtop, + 0, + [_SIto], + [[() => InstanceStateChangeList, { [_eQN]: `InstancesSet`, + [_xN]: _iSn }]] +]; +exports.Storage$ = [3, n0, _Sto, + 0, + [_S_], + [[() => exports.S3Storage$, { [_xN]: _S_ }]] +]; +exports.StorageLocation$ = [3, n0, _SLt, + 0, + [_Bu, _K], + [0, 0] +]; +exports.StoreImageTaskResult$ = [3, n0, _SITRt, + 0, + [_AIm, _TSTa, _Bu, _SKo, _PP, _STSt, _STFR], + [[0, { [_eQN]: `AmiId`, + [_xN]: _aIm }], [4, { [_eQN]: `TaskStartTime`, + [_xN]: _tSTa }], [0, { [_eQN]: `Bucket`, + [_xN]: _b }], [0, { [_eQN]: `S3objectKey`, + [_xN]: _sKo }], [1, { [_eQN]: `ProgressPercentage`, + [_xN]: _pP }], [0, { [_eQN]: `StoreTaskState`, + [_xN]: _sTS }], [0, { [_eQN]: `StoreTaskFailureReason`, + [_xN]: _sTFR }]] +]; +exports.Subnet$ = [3, n0, _Su, + 0, + [_AZI, _ELADI, _MCOIOL, _COIP, _OI, _AIAOC, _ICBAS, _T, _SAub, _OA, _EDn, _IN, _PDNOOL, _BPAS, _Ty, _SIu, _St, _VI, _CB, _AIAC, _AZ, _DFA, _MPIOL], + [[0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [1, { [_eQN]: `EnableLniAtDeviceIndex`, + [_xN]: _eLADI }], [2, { [_eQN]: `MapCustomerOwnedIpOnLaunch`, + [_xN]: _mCOIOL }], [0, { [_eQN]: `CustomerOwnedIpv4Pool`, + [_xN]: _cOIP }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [2, { [_eQN]: `AssignIpv6AddressOnCreation`, + [_xN]: _aIAOC }], [() => SubnetIpv6CidrBlockAssociationSet, { [_eQN]: `Ipv6CidrBlockAssociationSet`, + [_xN]: _iCBASp }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `SubnetArn`, + [_xN]: _sAub }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [2, { [_eQN]: `EnableDns64`, + [_xN]: _eDn }], [2, { [_eQN]: `Ipv6Native`, + [_xN]: _iN }], [() => exports.PrivateDnsNameOptionsOnLaunch$, { [_eQN]: `PrivateDnsNameOptionsOnLaunch`, + [_xN]: _pDNOOL }], [() => exports.BlockPublicAccessStates$, { [_eQN]: `BlockPublicAccessStates`, + [_xN]: _bPAS }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `CidrBlock`, + [_xN]: _cB }], [1, { [_eQN]: `AvailableIpAddressCount`, + [_xN]: _aIAC }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [2, { [_eQN]: `DefaultForAz`, + [_xN]: _dFA }], [2, { [_eQN]: `MapPublicIpOnLaunch`, + [_xN]: _mPIOL }]] +]; +exports.SubnetAssociation$ = [3, n0, _SAubn, + 0, + [_SIu, _St], + [[0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.SubnetCidrBlockState$ = [3, n0, _SCBS, + 0, + [_St, _SMt], + [[0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }]] +]; +exports.SubnetCidrReservation$ = [3, n0, _SCRu, + 0, + [_SCRIu, _SIu, _Ci, _RT, _OI, _De, _T], + [[0, { [_eQN]: `SubnetCidrReservationId`, + [_xN]: _sCRIu }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `Cidr`, + [_xN]: _ci }], [0, { [_eQN]: `ReservationType`, + [_xN]: _rT }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.SubnetConfiguration$ = [3, n0, _SCu, + 0, + [_SIu, _Ipv, _Ipv_], + [0, 0, 0] +]; +exports.SubnetIpPrefixes$ = [3, n0, _SIPu, + 0, + [_SIu, _IPpre], + [[0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [() => ValueStringList, { [_eQN]: `IpPrefixSet`, + [_xN]: _iPSpr }]] +]; +exports.SubnetIpv6CidrBlockAssociation$ = [3, n0, _SICBA, + 0, + [_AIs, _ICB, _ICBS, _IAA, _ISpo], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `Ipv6CidrBlock`, + [_xN]: _iCB }], [() => exports.SubnetCidrBlockState$, { [_eQN]: `Ipv6CidrBlockState`, + [_xN]: _iCBS }], [0, { [_eQN]: `Ipv6AddressAttribute`, + [_xN]: _iAA }], [0, { [_eQN]: `IpSource`, + [_xN]: _iSpo }]] +]; +exports.Subscription$ = [3, n0, _Subs, + 0, + [_S, _D, _Met, _Stat, _Per], + [[0, { [_eQN]: `Source`, + [_xN]: _so }], [0, { [_eQN]: `Destination`, + [_xN]: _d }], [0, { [_eQN]: `Metric`, + [_xN]: _met }], [0, { [_eQN]: `Statistic`, + [_xN]: _stat }], [0, { [_eQN]: `Period`, + [_xN]: _pe }]] +]; +exports.SuccessfulInstanceCreditSpecificationItem$ = [3, n0, _SICSI, + 0, + [_II], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }]] +]; +exports.SuccessfulQueuedPurchaseDeletion$ = [3, n0, _SQPDu, + 0, + [_RIIes], + [[0, { [_eQN]: `ReservedInstancesId`, + [_xN]: _rII }]] +]; +exports.SupportedRegionDetail$ = [3, n0, _SRD, + 0, + [_Regi, _SSer], + [[0, { [_eQN]: `Region`, + [_xN]: _reg }], [0, { [_eQN]: `ServiceState`, + [_xN]: _sSer }]] +]; +exports.Tag$ = [3, n0, _Ta, + 0, + [_K, _V], + [[0, { [_eQN]: `Key`, + [_xN]: _k }], [0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.TagDescription$ = [3, n0, _TDa, + 0, + [_K, _RIeso, _RTe, _V], + [[0, { [_eQN]: `Key`, + [_xN]: _k }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `Value`, + [_xN]: _v }]] +]; +exports.TagSpecification$ = [3, n0, _TSa, + 0, + [_RTe, _T], + [[0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [() => TagList, { [_xN]: _Ta }]] +]; +exports.TargetCapacitySpecification$ = [3, n0, _TCS, + 0, + [_TTC, _ODTC, _STC, _DTCT, _TCUT], + [[1, { [_eQN]: `TotalTargetCapacity`, + [_xN]: _tTC }], [1, { [_eQN]: `OnDemandTargetCapacity`, + [_xN]: _oDTC }], [1, { [_eQN]: `SpotTargetCapacity`, + [_xN]: _sTC }], [0, { [_eQN]: `DefaultTargetCapacityType`, + [_xN]: _dTCT }], [0, { [_eQN]: `TargetCapacityUnitType`, + [_xN]: _tCUT }]] +]; +exports.TargetCapacitySpecificationRequest$ = [3, n0, _TCSR, + 0, + [_TTC, _ODTC, _STC, _DTCT, _TCUT], + [1, 1, 1, 0, 0], 1 +]; +exports.TargetConfiguration$ = [3, n0, _TCa, + 0, + [_IC, _OIf], + [[1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [0, { [_eQN]: `OfferingId`, + [_xN]: _oIf }]] +]; +exports.TargetConfigurationRequest$ = [3, n0, _TCR, + 0, + [_OIf, _IC], + [0, 1], 1 +]; +exports.TargetGroup$ = [3, n0, _TGa, + 0, + [_Ar], + [[0, { [_eQN]: `Arn`, + [_xN]: _ar }]] +]; +exports.TargetGroupsConfig$ = [3, n0, _TGCa, + 0, + [_TGar], + [[() => TargetGroups, { [_eQN]: `TargetGroups`, + [_xN]: _tGa }]] +]; +exports.TargetNetwork$ = [3, n0, _TNa, + 0, + [_AIs, _VI, _TNI, _CVEI, _Sta, _SGe], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `TargetNetworkId`, + [_xN]: _tNI }], [0, { [_eQN]: `ClientVpnEndpointId`, + [_xN]: _cVEI }], [() => exports.AssociationStatus$, { [_eQN]: `Status`, + [_xN]: _sta }], [() => ValueStringList, { [_eQN]: `SecurityGroups`, + [_xN]: _sGe }]] +]; +exports.TargetReservationValue$ = [3, n0, _TRV, + 0, + [_RVe, _TCa], + [[() => exports.ReservationValue$, { [_eQN]: `ReservationValue`, + [_xN]: _rVe }], [() => exports.TargetConfiguration$, { [_eQN]: `TargetConfiguration`, + [_xN]: _tCar }]] +]; +exports.TerminateClientVpnConnectionsRequest$ = [3, n0, _TCVCR, + 0, + [_CVEI, _CIon, _Us, _DR], + [0, 0, 0, 2], 1 +]; +exports.TerminateClientVpnConnectionsResult$ = [3, n0, _TCVCRe, + 0, + [_CVEI, _Us, _CSonn], + [[0, { [_eQN]: `ClientVpnEndpointId`, + [_xN]: _cVEI }], [0, { [_eQN]: `Username`, + [_xN]: _us }], [() => TerminateConnectionStatusSet, { [_eQN]: `ConnectionStatuses`, + [_xN]: _cSonn }]] +]; +exports.TerminateConnectionStatus$ = [3, n0, _TCSe, + 0, + [_CIon, _PSre, _CSur], + [[0, { [_eQN]: `ConnectionId`, + [_xN]: _cIon }], [() => exports.ClientVpnConnectionStatus$, { [_eQN]: `PreviousStatus`, + [_xN]: _pSre }], [() => exports.ClientVpnConnectionStatus$, { [_eQN]: `CurrentStatus`, + [_xN]: _cSur }]] +]; +exports.TerminateInstancesRequest$ = [3, n0, _TIR, + 0, + [_IIns, _F, _SOS, _DR], + [[() => InstanceIdStringList, { [_xN]: _II }], 2, 2, [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.TerminateInstancesResult$ = [3, n0, _TIRe, + 0, + [_TIer], + [[() => InstanceStateChangeList, { [_eQN]: `InstancesSet`, + [_xN]: _iSn }]] +]; +exports.ThroughResourcesStatement$ = [3, n0, _TRS, + 0, + [_RSes], + [[() => exports.ResourceStatement$, { [_eQN]: `ResourceStatement`, + [_xN]: _rSeso }]] +]; +exports.ThroughResourcesStatementRequest$ = [3, n0, _TRSR, + 0, + [_RSes], + [[() => exports.ResourceStatementRequest$, 0]] +]; +exports.TotalLocalStorageGB$ = [3, n0, _TLSGB, + 0, + [_M, _Ma], + [[1, { [_eQN]: `Min`, + [_xN]: _m }], [1, { [_eQN]: `Max`, + [_xN]: _ma }]] +]; +exports.TotalLocalStorageGBRequest$ = [3, n0, _TLSGBR, + 0, + [_M, _Ma], + [1, 1] +]; +exports.TrafficMirrorFilter$ = [3, n0, _TMF, + 0, + [_TMFI, _IFRn, _EFR, _NSe, _De, _T], + [[0, { [_eQN]: `TrafficMirrorFilterId`, + [_xN]: _tMFI }], [() => TrafficMirrorFilterRuleList, { [_eQN]: `IngressFilterRuleSet`, + [_xN]: _iFRS }], [() => TrafficMirrorFilterRuleList, { [_eQN]: `EgressFilterRuleSet`, + [_xN]: _eFRS }], [() => TrafficMirrorNetworkServiceList, { [_eQN]: `NetworkServiceSet`, + [_xN]: _nSS }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TrafficMirrorFilterRule$ = [3, n0, _TMFR, + 0, + [_TMFRI, _TMFI, _TD, _RNu, _RA, _Pr, _DPRe, _SPRo, _DCB, _SCB, _De, _T], + [[0, { [_eQN]: `TrafficMirrorFilterRuleId`, + [_xN]: _tMFRI }], [0, { [_eQN]: `TrafficMirrorFilterId`, + [_xN]: _tMFI }], [0, { [_eQN]: `TrafficDirection`, + [_xN]: _tDr }], [1, { [_eQN]: `RuleNumber`, + [_xN]: _rN }], [0, { [_eQN]: `RuleAction`, + [_xN]: _rA }], [1, { [_eQN]: `Protocol`, + [_xN]: _pr }], [() => exports.TrafficMirrorPortRange$, { [_eQN]: `DestinationPortRange`, + [_xN]: _dPR }], [() => exports.TrafficMirrorPortRange$, { [_eQN]: `SourcePortRange`, + [_xN]: _sPR }], [0, { [_eQN]: `DestinationCidrBlock`, + [_xN]: _dCB }], [0, { [_eQN]: `SourceCidrBlock`, + [_xN]: _sCB }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TrafficMirrorPortRange$ = [3, n0, _TMPR, + 0, + [_FP, _TP], + [[1, { [_eQN]: `FromPort`, + [_xN]: _fP }], [1, { [_eQN]: `ToPort`, + [_xN]: _tP }]] +]; +exports.TrafficMirrorPortRangeRequest$ = [3, n0, _TMPRR, + 0, + [_FP, _TP], + [1, 1] +]; +exports.TrafficMirrorSession$ = [3, n0, _TMS, + 0, + [_TMSI, _TMTI, _TMFI, _NII, _OI, _PLa, _SNes, _VNI, _De, _T], + [[0, { [_eQN]: `TrafficMirrorSessionId`, + [_xN]: _tMSI }], [0, { [_eQN]: `TrafficMirrorTargetId`, + [_xN]: _tMTI }], [0, { [_eQN]: `TrafficMirrorFilterId`, + [_xN]: _tMFI }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [1, { [_eQN]: `PacketLength`, + [_xN]: _pLa }], [1, { [_eQN]: `SessionNumber`, + [_xN]: _sNes }], [1, { [_eQN]: `VirtualNetworkId`, + [_xN]: _vNI }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TrafficMirrorTarget$ = [3, n0, _TMT, + 0, + [_TMTI, _NII, _NLBA, _Ty, _De, _OI, _T, _GLBEI], + [[0, { [_eQN]: `TrafficMirrorTargetId`, + [_xN]: _tMTI }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `NetworkLoadBalancerArn`, + [_xN]: _nLBA }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `GatewayLoadBalancerEndpointId`, + [_xN]: _gLBEI }]] +]; +exports.TransitGateway$ = [3, n0, _TG, + 0, + [_TGI, _TGAran, _St, _OI, _De, _CTre, _Opt, _T], + [[0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `TransitGatewayArn`, + [_xN]: _tGAra }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [() => exports.TransitGatewayOptions$, { [_eQN]: `Options`, + [_xN]: _op }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TransitGatewayAssociation$ = [3, n0, _TGArans, + 0, + [_TGRTI, _TGAI, _RIeso, _RTe, _St], + [[0, { [_eQN]: `TransitGatewayRouteTableId`, + [_xN]: _tGRTI }], [0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.TransitGatewayAttachment$ = [3, n0, _TGAra, + 0, + [_TGAI, _TGI, _TGOI, _ROI, _RTe, _RIeso, _St, _Ass, _CTre, _T], + [[0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `TransitGatewayOwnerId`, + [_xN]: _tGOI }], [0, { [_eQN]: `ResourceOwnerId`, + [_xN]: _rOI }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => exports.TransitGatewayAttachmentAssociation$, { [_eQN]: `Association`, + [_xN]: _ass }], [4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TransitGatewayAttachmentAssociation$ = [3, n0, _TGAA, + 0, + [_TGRTI, _St], + [[0, { [_eQN]: `TransitGatewayRouteTableId`, + [_xN]: _tGRTI }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.TransitGatewayAttachmentBgpConfiguration$ = [3, n0, _TGABC, + 0, + [_TGAransi, _PAee, _TGA, _PAe, _BSg], + [[1, { [_eQN]: `TransitGatewayAsn`, + [_xN]: _tGAran }], [1, { [_eQN]: `PeerAsn`, + [_xN]: _pAee }], [0, { [_eQN]: `TransitGatewayAddress`, + [_xN]: _tGArans }], [0, { [_eQN]: `PeerAddress`, + [_xN]: _pAe }], [0, { [_eQN]: `BgpStatus`, + [_xN]: _bSg }]] +]; +exports.TransitGatewayAttachmentPropagation$ = [3, n0, _TGAPr, + 0, + [_TGRTI, _St], + [[0, { [_eQN]: `TransitGatewayRouteTableId`, + [_xN]: _tGRTI }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.TransitGatewayConnect$ = [3, n0, _TGC, + 0, + [_TGAI, _TTGAI, _TGI, _St, _CTre, _Opt, _T], + [[0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `TransportTransitGatewayAttachmentId`, + [_xN]: _tTGAI }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [() => exports.TransitGatewayConnectOptions$, { [_eQN]: `Options`, + [_xN]: _op }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TransitGatewayConnectOptions$ = [3, n0, _TGCO, + 0, + [_Pr], + [[0, { [_eQN]: `Protocol`, + [_xN]: _pr }]] +]; +exports.TransitGatewayConnectPeer$ = [3, n0, _TGCP, + 0, + [_TGAI, _TGCPI, _St, _CTre, _CPC, _T], + [[0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `TransitGatewayConnectPeerId`, + [_xN]: _tGCPI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [() => exports.TransitGatewayConnectPeerConfiguration$, { [_eQN]: `ConnectPeerConfiguration`, + [_xN]: _cPC }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TransitGatewayConnectPeerConfiguration$ = [3, n0, _TGCPC, + 0, + [_TGA, _PAe, _ICBn, _Pr, _BCg], + [[0, { [_eQN]: `TransitGatewayAddress`, + [_xN]: _tGArans }], [0, { [_eQN]: `PeerAddress`, + [_xN]: _pAe }], [() => InsideCidrBlocksStringList, { [_eQN]: `InsideCidrBlocks`, + [_xN]: _iCBn }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [() => TransitGatewayAttachmentBgpConfigurationList, { [_eQN]: `BgpConfigurations`, + [_xN]: _bCg }]] +]; +exports.TransitGatewayConnectRequestBgpOptions$ = [3, n0, _TGCRBO, + 0, + [_PAee], + [1] +]; +exports.TransitGatewayMeteringPolicy$ = [3, n0, _TGMP, + 0, + [_TGMPI, _TGI, _MAIi, _St, _UEA, _T], + [[0, { [_eQN]: `TransitGatewayMeteringPolicyId`, + [_xN]: _tGMPI }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [() => ValueStringList, { [_eQN]: `MiddleboxAttachmentIdSet`, + [_xN]: _mAIS }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `UpdateEffectiveAt`, + [_xN]: _uEA }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TransitGatewayMeteringPolicyEntry$ = [3, n0, _TGMPE, + 0, + [_PRN, _MAe, _St, _UA, _UEA, _MPR], + [[0, { [_eQN]: `PolicyRuleNumber`, + [_xN]: _pRN }], [0, { [_eQN]: `MeteredAccount`, + [_xN]: _mAe }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `UpdatedAt`, + [_xN]: _uA }], [4, { [_eQN]: `UpdateEffectiveAt`, + [_xN]: _uEA }], [() => exports.TransitGatewayMeteringPolicyRule$, { [_eQN]: `MeteringPolicyRule`, + [_xN]: _mPR }]] +]; +exports.TransitGatewayMeteringPolicyRule$ = [3, n0, _TGMPR, + 0, + [_STGAI, _STGAT, _SCB, _SPRo, _DTGAI, _DTGAT, _DCB, _DPRe, _Pr], + [[0, { [_eQN]: `SourceTransitGatewayAttachmentId`, + [_xN]: _sTGAI }], [0, { [_eQN]: `SourceTransitGatewayAttachmentType`, + [_xN]: _sTGAT }], [0, { [_eQN]: `SourceCidrBlock`, + [_xN]: _sCB }], [0, { [_eQN]: `SourcePortRange`, + [_xN]: _sPR }], [0, { [_eQN]: `DestinationTransitGatewayAttachmentId`, + [_xN]: _dTGAI }], [0, { [_eQN]: `DestinationTransitGatewayAttachmentType`, + [_xN]: _dTGAT }], [0, { [_eQN]: `DestinationCidrBlock`, + [_xN]: _dCB }], [0, { [_eQN]: `DestinationPortRange`, + [_xN]: _dPR }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }]] +]; +exports.TransitGatewayMulticastDeregisteredGroupMembers$ = [3, n0, _TGMDGM, + 0, + [_TGMDI, _DNII, _GIA], + [[0, { [_eQN]: `TransitGatewayMulticastDomainId`, + [_xN]: _tGMDI }], [() => ValueStringList, { [_eQN]: `DeregisteredNetworkInterfaceIds`, + [_xN]: _dNII }], [0, { [_eQN]: `GroupIpAddress`, + [_xN]: _gIA }]] +]; +exports.TransitGatewayMulticastDeregisteredGroupSources$ = [3, n0, _TGMDGS, + 0, + [_TGMDI, _DNII, _GIA], + [[0, { [_eQN]: `TransitGatewayMulticastDomainId`, + [_xN]: _tGMDI }], [() => ValueStringList, { [_eQN]: `DeregisteredNetworkInterfaceIds`, + [_xN]: _dNII }], [0, { [_eQN]: `GroupIpAddress`, + [_xN]: _gIA }]] +]; +exports.TransitGatewayMulticastDomain$ = [3, n0, _TGMD, + 0, + [_TGMDI, _TGI, _TGMDA, _OI, _Opt, _St, _CTre, _T], + [[0, { [_eQN]: `TransitGatewayMulticastDomainId`, + [_xN]: _tGMDI }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `TransitGatewayMulticastDomainArn`, + [_xN]: _tGMDA }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [() => exports.TransitGatewayMulticastDomainOptions$, { [_eQN]: `Options`, + [_xN]: _op }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TransitGatewayMulticastDomainAssociation$ = [3, n0, _TGMDAr, + 0, + [_TGAI, _RIeso, _RTe, _ROI, _Su], + [[0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `ResourceOwnerId`, + [_xN]: _rOI }], [() => exports.SubnetAssociation$, { [_eQN]: `Subnet`, + [_xN]: _su }]] +]; +exports.TransitGatewayMulticastDomainAssociations$ = [3, n0, _TGMDAra, + 0, + [_TGMDI, _TGAI, _RIeso, _RTe, _ROI, _Subn], + [[0, { [_eQN]: `TransitGatewayMulticastDomainId`, + [_xN]: _tGMDI }], [0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `ResourceOwnerId`, + [_xN]: _rOI }], [() => SubnetAssociationList, { [_eQN]: `Subnets`, + [_xN]: _sub }]] +]; +exports.TransitGatewayMulticastDomainOptions$ = [3, n0, _TGMDO, + 0, + [_ISg, _SSS, _AASA], + [[0, { [_eQN]: `Igmpv2Support`, + [_xN]: _iSg }], [0, { [_eQN]: `StaticSourcesSupport`, + [_xN]: _sSSt }], [0, { [_eQN]: `AutoAcceptSharedAssociations`, + [_xN]: _aASA }]] +]; +exports.TransitGatewayMulticastGroup$ = [3, n0, _TGMG, + 0, + [_GIA, _TGAI, _SIu, _RIeso, _RTe, _ROI, _NII, _GM, _GS, _MTe, _STo], + [[0, { [_eQN]: `GroupIpAddress`, + [_xN]: _gIA }], [0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `SubnetId`, + [_xN]: _sIu }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `ResourceOwnerId`, + [_xN]: _rOI }], [0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [2, { [_eQN]: `GroupMember`, + [_xN]: _gM }], [2, { [_eQN]: `GroupSource`, + [_xN]: _gSro }], [0, { [_eQN]: `MemberType`, + [_xN]: _mTe }], [0, { [_eQN]: `SourceType`, + [_xN]: _sTo }]] +]; +exports.TransitGatewayMulticastRegisteredGroupMembers$ = [3, n0, _TGMRGM, + 0, + [_TGMDI, _RNII, _GIA], + [[0, { [_eQN]: `TransitGatewayMulticastDomainId`, + [_xN]: _tGMDI }], [() => ValueStringList, { [_eQN]: `RegisteredNetworkInterfaceIds`, + [_xN]: _rNII }], [0, { [_eQN]: `GroupIpAddress`, + [_xN]: _gIA }]] +]; +exports.TransitGatewayMulticastRegisteredGroupSources$ = [3, n0, _TGMRGS, + 0, + [_TGMDI, _RNII, _GIA], + [[0, { [_eQN]: `TransitGatewayMulticastDomainId`, + [_xN]: _tGMDI }], [() => ValueStringList, { [_eQN]: `RegisteredNetworkInterfaceIds`, + [_xN]: _rNII }], [0, { [_eQN]: `GroupIpAddress`, + [_xN]: _gIA }]] +]; +exports.TransitGatewayOptions$ = [3, n0, _TGO, + 0, + [_ASA, _TGCB, _AASAu, _DRTA, _ADRTI, _DRTP, _PDRTI, _VESp, _DSn, _SGRS, _MSu, _ESn], + [[1, { [_eQN]: `AmazonSideAsn`, + [_xN]: _aSA }], [() => ValueStringList, { [_eQN]: `TransitGatewayCidrBlocks`, + [_xN]: _tGCB }], [0, { [_eQN]: `AutoAcceptSharedAttachments`, + [_xN]: _aASAu }], [0, { [_eQN]: `DefaultRouteTableAssociation`, + [_xN]: _dRTA }], [0, { [_eQN]: `AssociationDefaultRouteTableId`, + [_xN]: _aDRTI }], [0, { [_eQN]: `DefaultRouteTablePropagation`, + [_xN]: _dRTP }], [0, { [_eQN]: `PropagationDefaultRouteTableId`, + [_xN]: _pDRTI }], [0, { [_eQN]: `VpnEcmpSupport`, + [_xN]: _vESpn }], [0, { [_eQN]: `DnsSupport`, + [_xN]: _dSn }], [0, { [_eQN]: `SecurityGroupReferencingSupport`, + [_xN]: _sGRSec }], [0, { [_eQN]: `MulticastSupport`, + [_xN]: _mSu }], [() => exports.EncryptionSupport$, { [_eQN]: `EncryptionSupport`, + [_xN]: _eSn }]] +]; +exports.TransitGatewayPeeringAttachment$ = [3, n0, _TGPA, + 0, + [_TGAI, _ATGAI, _RTIe, _ATI, _Opt, _Sta, _St, _CTre, _T], + [[0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `AccepterTransitGatewayAttachmentId`, + [_xN]: _aTGAI }], [() => exports.PeeringTgwInfo$, { [_eQN]: `RequesterTgwInfo`, + [_xN]: _rTIe }], [() => exports.PeeringTgwInfo$, { [_eQN]: `AccepterTgwInfo`, + [_xN]: _aTI }], [() => exports.TransitGatewayPeeringAttachmentOptions$, { [_eQN]: `Options`, + [_xN]: _op }], [() => exports.PeeringAttachmentStatus$, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TransitGatewayPeeringAttachmentOptions$ = [3, n0, _TGPAO, + 0, + [_DRy], + [[0, { [_eQN]: `DynamicRouting`, + [_xN]: _dRy }]] +]; +exports.TransitGatewayPolicyRule$ = [3, n0, _TGPR, + 0, + [_SCB, _SPRo, _DCB, _DPRe, _Pr, _MDe], + [[0, { [_eQN]: `SourceCidrBlock`, + [_xN]: _sCB }], [0, { [_eQN]: `SourcePortRange`, + [_xN]: _sPR }], [0, { [_eQN]: `DestinationCidrBlock`, + [_xN]: _dCB }], [0, { [_eQN]: `DestinationPortRange`, + [_xN]: _dPR }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [() => exports.TransitGatewayPolicyRuleMetaData$, { [_eQN]: `MetaData`, + [_xN]: _mDe }]] +]; +exports.TransitGatewayPolicyRuleMetaData$ = [3, n0, _TGPRMD, + 0, + [_MDK, _MDV], + [[0, { [_eQN]: `MetaDataKey`, + [_xN]: _mDK }], [0, { [_eQN]: `MetaDataValue`, + [_xN]: _mDV }]] +]; +exports.TransitGatewayPolicyTable$ = [3, n0, _TGPT, + 0, + [_TGPTI, _TGI, _St, _CTre, _T], + [[0, { [_eQN]: `TransitGatewayPolicyTableId`, + [_xN]: _tGPTI }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TransitGatewayPolicyTableAssociation$ = [3, n0, _TGPTA, + 0, + [_TGPTI, _TGAI, _RIeso, _RTe, _St], + [[0, { [_eQN]: `TransitGatewayPolicyTableId`, + [_xN]: _tGPTI }], [0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.TransitGatewayPolicyTableEntry$ = [3, n0, _TGPTEr, + 0, + [_PRN, _PRol, _TRTI], + [[0, { [_eQN]: `PolicyRuleNumber`, + [_xN]: _pRN }], [() => exports.TransitGatewayPolicyRule$, { [_eQN]: `PolicyRule`, + [_xN]: _pRol }], [0, { [_eQN]: `TargetRouteTableId`, + [_xN]: _tRTI }]] +]; +exports.TransitGatewayPrefixListAttachment$ = [3, n0, _TGPLA, + 0, + [_TGAI, _RTe, _RIeso], + [[0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }]] +]; +exports.TransitGatewayPrefixListReference$ = [3, n0, _TGPLR, + 0, + [_TGRTI, _PLI, _PLOI, _St, _Bl, _TGAra], + [[0, { [_eQN]: `TransitGatewayRouteTableId`, + [_xN]: _tGRTI }], [0, { [_eQN]: `PrefixListId`, + [_xN]: _pLI }], [0, { [_eQN]: `PrefixListOwnerId`, + [_xN]: _pLOI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [2, { [_eQN]: `Blackhole`, + [_xN]: _bl }], [() => exports.TransitGatewayPrefixListAttachment$, { [_eQN]: `TransitGatewayAttachment`, + [_xN]: _tGAr }]] +]; +exports.TransitGatewayPropagation$ = [3, n0, _TGP, + 0, + [_TGAI, _RIeso, _RTe, _TGRTI, _St, _TGRTAI], + [[0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `TransitGatewayRouteTableId`, + [_xN]: _tGRTI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `TransitGatewayRouteTableAnnouncementId`, + [_xN]: _tGRTAI }]] +]; +exports.TransitGatewayRequestOptions$ = [3, n0, _TGRO, + 0, + [_ASA, _AASAu, _DRTA, _DRTP, _VESp, _DSn, _SGRS, _MSu, _TGCB], + [1, 0, 0, 0, 0, 0, 0, 0, [() => TransitGatewayCidrBlockStringList, 0]] +]; +exports.TransitGatewayRoute$ = [3, n0, _TGR, + 0, + [_DCB, _PLI, _TGRTAI, _TGAr, _Ty, _St], + [[0, { [_eQN]: `DestinationCidrBlock`, + [_xN]: _dCB }], [0, { [_eQN]: `PrefixListId`, + [_xN]: _pLI }], [0, { [_eQN]: `TransitGatewayRouteTableAnnouncementId`, + [_xN]: _tGRTAI }], [() => TransitGatewayRouteAttachmentList, { [_eQN]: `TransitGatewayAttachments`, + [_xN]: _tGA }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.TransitGatewayRouteAttachment$ = [3, n0, _TGRA, + 0, + [_RIeso, _TGAI, _RTe], + [[0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }]] +]; +exports.TransitGatewayRouteTable$ = [3, n0, _TGRT, + 0, + [_TGRTI, _TGI, _St, _DART, _DPRT, _CTre, _T], + [[0, { [_eQN]: `TransitGatewayRouteTableId`, + [_xN]: _tGRTI }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [2, { [_eQN]: `DefaultAssociationRouteTable`, + [_xN]: _dART }], [2, { [_eQN]: `DefaultPropagationRouteTable`, + [_xN]: _dPRT }], [4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TransitGatewayRouteTableAnnouncement$ = [3, n0, _TGRTA, + 0, + [_TGRTAI, _TGI, _CNIor, _PTGI, _PCNI, _PAIe, _ADn, _TGRTI, _St, _CTre, _T], + [[0, { [_eQN]: `TransitGatewayRouteTableAnnouncementId`, + [_xN]: _tGRTAI }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `CoreNetworkId`, + [_xN]: _cNIo }], [0, { [_eQN]: `PeerTransitGatewayId`, + [_xN]: _pTGI }], [0, { [_eQN]: `PeerCoreNetworkId`, + [_xN]: _pCNI }], [0, { [_eQN]: `PeeringAttachmentId`, + [_xN]: _pAI }], [0, { [_eQN]: `AnnouncementDirection`, + [_xN]: _aDn }], [0, { [_eQN]: `TransitGatewayRouteTableId`, + [_xN]: _tGRTI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TransitGatewayRouteTableAssociation$ = [3, n0, _TGRTAra, + 0, + [_TGAI, _RIeso, _RTe, _St], + [[0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.TransitGatewayRouteTablePropagation$ = [3, n0, _TGRTPr, + 0, + [_TGAI, _RIeso, _RTe, _St, _TGRTAI], + [[0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `TransitGatewayRouteTableAnnouncementId`, + [_xN]: _tGRTAI }]] +]; +exports.TransitGatewayRouteTableRoute$ = [3, n0, _TGRTR, + 0, + [_DCe, _St, _ROo, _PLI, _AItt, _RIeso, _RTe], + [[0, { [_eQN]: `DestinationCidr`, + [_xN]: _dC }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `RouteOrigin`, + [_xN]: _rOo }], [0, { [_eQN]: `PrefixListId`, + [_xN]: _pLI }], [0, { [_eQN]: `AttachmentId`, + [_xN]: _aIt }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }], [0, { [_eQN]: `ResourceType`, + [_xN]: _rTe }]] +]; +exports.TransitGatewayVpcAttachment$ = [3, n0, _TGVA, + 0, + [_TGAI, _TGI, _VI, _VOIp, _St, _SI, _CTre, _Opt, _T], + [[0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `VpcOwnerId`, + [_xN]: _vOIp }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => ValueStringList, { [_eQN]: `SubnetIds`, + [_xN]: _sIub }], [4, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [() => exports.TransitGatewayVpcAttachmentOptions$, { [_eQN]: `Options`, + [_xN]: _op }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TransitGatewayVpcAttachmentOptions$ = [3, n0, _TGVAO, + 0, + [_DSn, _SGRS, _ISpv, _AMS], + [[0, { [_eQN]: `DnsSupport`, + [_xN]: _dSn }], [0, { [_eQN]: `SecurityGroupReferencingSupport`, + [_xN]: _sGRSec }], [0, { [_eQN]: `Ipv6Support`, + [_xN]: _iSpvu }], [0, { [_eQN]: `ApplianceModeSupport`, + [_xN]: _aMSp }]] +]; +exports.TrunkInterfaceAssociation$ = [3, n0, _TIA, + 0, + [_AIs, _BII, _TII, _IPnte, _VIl, _GK, _T], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `BranchInterfaceId`, + [_xN]: _bII }], [0, { [_eQN]: `TrunkInterfaceId`, + [_xN]: _tII }], [0, { [_eQN]: `InterfaceProtocol`, + [_xN]: _iPnte }], [1, { [_eQN]: `VlanId`, + [_xN]: _vIl }], [1, { [_eQN]: `GreKey`, + [_xN]: _gK }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.TunnelOption$ = [3, n0, _TOu, + 0, + [_OIA, _TICu, _TIIC, _PSK, _PLS, _PLSh, _RMTS, _RFP, _RWS, _DTS, _DTA, _PEAha, _PEAhas, _PIAha, _PIAhas, _PDHGN, _PDHGNh, _IVk, _SAt, _LO, _ETLC], + [[0, { [_eQN]: `OutsideIpAddress`, + [_xN]: _oIA }], [0, { [_eQN]: `TunnelInsideCidr`, + [_xN]: _tICu }], [0, { [_eQN]: `TunnelInsideIpv6Cidr`, + [_xN]: _tIIC }], [() => preSharedKey, { [_eQN]: `PreSharedKey`, + [_xN]: _pSK }], [1, { [_eQN]: `Phase1LifetimeSeconds`, + [_xN]: _pLSh }], [1, { [_eQN]: `Phase2LifetimeSeconds`, + [_xN]: _pLSha }], [1, { [_eQN]: `RekeyMarginTimeSeconds`, + [_xN]: _rMTS }], [1, { [_eQN]: `RekeyFuzzPercentage`, + [_xN]: _rFP }], [1, { [_eQN]: `ReplayWindowSize`, + [_xN]: _rWS }], [1, { [_eQN]: `DpdTimeoutSeconds`, + [_xN]: _dTS }], [0, { [_eQN]: `DpdTimeoutAction`, + [_xN]: _dTA }], [() => Phase1EncryptionAlgorithmsList, { [_eQN]: `Phase1EncryptionAlgorithmSet`, + [_xN]: _pEAS }], [() => Phase2EncryptionAlgorithmsList, { [_eQN]: `Phase2EncryptionAlgorithmSet`, + [_xN]: _pEASh }], [() => Phase1IntegrityAlgorithmsList, { [_eQN]: `Phase1IntegrityAlgorithmSet`, + [_xN]: _pIASh }], [() => Phase2IntegrityAlgorithmsList, { [_eQN]: `Phase2IntegrityAlgorithmSet`, + [_xN]: _pIASha }], [() => Phase1DHGroupNumbersList, { [_eQN]: `Phase1DHGroupNumberSet`, + [_xN]: _pDHGNS }], [() => Phase2DHGroupNumbersList, { [_eQN]: `Phase2DHGroupNumberSet`, + [_xN]: _pDHGNSh }], [() => IKEVersionsList, { [_eQN]: `IkeVersionSet`, + [_xN]: _iVS }], [0, { [_eQN]: `StartupAction`, + [_xN]: _sAt }], [() => exports.VpnTunnelLogOptions$, { [_eQN]: `LogOptions`, + [_xN]: _lO }], [2, { [_eQN]: `EnableTunnelLifecycleControl`, + [_xN]: _eTLC }]] +]; +exports.UnassignIpv6AddressesRequest$ = [3, n0, _UIAR, + 0, + [_NII, _IPp, _IA], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [() => IpPrefixList, { [_xN]: _IPpv }], [() => Ipv6AddressList, { [_eQN]: `Ipv6Addresses`, + [_xN]: _iA }]], 1 +]; +exports.UnassignIpv6AddressesResult$ = [3, n0, _UIARn, + 0, + [_NII, _UIA, _UIPn], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [() => Ipv6AddressList, { [_eQN]: `UnassignedIpv6Addresses`, + [_xN]: _uIA }], [() => IpPrefixList, { [_eQN]: `UnassignedIpv6PrefixSet`, + [_xN]: _uIPSn }]] +]; +exports.UnassignPrivateIpAddressesRequest$ = [3, n0, _UPIAR, + 0, + [_NII, _IPpvr, _PIAri], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [() => IpPrefixList, { [_xN]: _IPpvre }], [() => PrivateIpAddressStringList, { [_eQN]: `PrivateIpAddress`, + [_xN]: _pIAr }]], 1 +]; +exports.UnassignPrivateNatGatewayAddressRequest$ = [3, n0, _UPNGAR, + 0, + [_NGI, _PIAri, _MDDS, _DR], + [0, [() => IpList, { [_xN]: _PIAr }], 1, 2], 2 +]; +exports.UnassignPrivateNatGatewayAddressResult$ = [3, n0, _UPNGARn, + 0, + [_NGI, _NGA], + [[0, { [_eQN]: `NatGatewayId`, + [_xN]: _nGI }], [() => NatGatewayAddressList, { [_eQN]: `NatGatewayAddressSet`, + [_xN]: _nGAS }]] +]; +exports.UnlockSnapshotRequest$ = [3, n0, _USR, + 0, + [_SIn, _DR], + [0, 2], 1 +]; +exports.UnlockSnapshotResult$ = [3, n0, _USRn, + 0, + [_SIn], + [[0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }]] +]; +exports.UnmonitorInstancesRequest$ = [3, n0, _UIR, + 0, + [_IIns, _DR], + [[() => InstanceIdStringList, { [_xN]: _II }], [2, { [_eQN]: `DryRun`, + [_xN]: _dR }]], 1 +]; +exports.UnmonitorInstancesResult$ = [3, n0, _UIRn, + 0, + [_IMns], + [[() => InstanceMonitoringList, { [_eQN]: `InstancesSet`, + [_xN]: _iSn }]] +]; +exports.UnsuccessfulInstanceCreditSpecificationItem$ = [3, n0, _UICSI, + 0, + [_II, _Er], + [[0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [() => exports.UnsuccessfulInstanceCreditSpecificationItemError$, { [_eQN]: `Error`, + [_xN]: _er }]] +]; +exports.UnsuccessfulInstanceCreditSpecificationItemError$ = [3, n0, _UICSIE, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.UnsuccessfulItem$ = [3, n0, _UIn, + 0, + [_Er, _RIeso], + [[() => exports.UnsuccessfulItemError$, { [_eQN]: `Error`, + [_xN]: _er }], [0, { [_eQN]: `ResourceId`, + [_xN]: _rIes }]] +]; +exports.UnsuccessfulItemError$ = [3, n0, _UIEn, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.UpdateCapacityManagerMonitoredTagKeysRequest$ = [3, n0, _UCMMTKR, + 0, + [_ATK, _DTK, _DR, _CT], + [[() => ValueStringList, { [_xN]: _ATKc }], [() => ValueStringList, { [_xN]: _DTKe }], 2, [0, 4]] +]; +exports.UpdateCapacityManagerMonitoredTagKeysResult$ = [3, n0, _UCMMTKRp, + 0, + [_CMTK], + [[() => CapacityManagerMonitoredTagKeyList, { [_eQN]: `CapacityManagerTagKeySet`, + [_xN]: _cMTKS }]] +]; +exports.UpdateCapacityManagerOrganizationsAccessRequest$ = [3, n0, _UCMOAR, + 0, + [_OAr, _DR, _CT], + [2, 2, [0, 4]], 1 +]; +exports.UpdateCapacityManagerOrganizationsAccessResult$ = [3, n0, _UCMOARp, + 0, + [_CMS, _OAr], + [[0, { [_eQN]: `CapacityManagerStatus`, + [_xN]: _cMS }], [2, { [_eQN]: `OrganizationsAccess`, + [_xN]: _oAr }]] +]; +exports.UpdateInterruptibleCapacityReservationAllocationRequest$ = [3, n0, _UICRAR, + 0, + [_CRI, _TICa, _DR], + [0, 1, 2], 2 +]; +exports.UpdateInterruptibleCapacityReservationAllocationResult$ = [3, n0, _UICRARp, + 0, + [_ICRI, _SCRI, _IC, _TICa, _Sta, _ITn], + [[0, { [_eQN]: `InterruptibleCapacityReservationId`, + [_xN]: _iCRI }], [0, { [_eQN]: `SourceCapacityReservationId`, + [_xN]: _sCRI }], [1, { [_eQN]: `InstanceCount`, + [_xN]: _iC }], [1, { [_eQN]: `TargetInstanceCount`, + [_xN]: _tICa }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `InterruptionType`, + [_xN]: _iTn }]] +]; +exports.UpdateSecurityGroupRuleDescriptionsEgressRequest$ = [3, n0, _USGRDER, + 0, + [_DR, _GIr, _GN, _IPpe, _SGRDe], + [2, 0, 0, [() => IpPermissionList, 0], [() => SecurityGroupRuleDescriptionList, { [_xN]: _SGRD }]] +]; +exports.UpdateSecurityGroupRuleDescriptionsEgressResult$ = [3, n0, _USGRDERp, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.UpdateSecurityGroupRuleDescriptionsIngressRequest$ = [3, n0, _USGRDIR, + 0, + [_DR, _GIr, _GN, _IPpe, _SGRDe], + [2, 0, 0, [() => IpPermissionList, 0], [() => SecurityGroupRuleDescriptionList, { [_xN]: _SGRD }]] +]; +exports.UpdateSecurityGroupRuleDescriptionsIngressResult$ = [3, n0, _USGRDIRp, + 0, + [_R], + [[2, { [_eQN]: `Return`, + [_xN]: _r }]] +]; +exports.UserBucket$ = [3, n0, _UB, + 0, + [_SB, _SK], + [0, 0] +]; +exports.UserBucketDetails$ = [3, n0, _UBD, + 0, + [_SB, _SK], + [[0, { [_eQN]: `S3Bucket`, + [_xN]: _sB }], [0, { [_eQN]: `S3Key`, + [_xN]: _sK }]] +]; +exports.UserData$ = [3, n0, _UDs, + 8, + [_Da], + [[0, { [_eQN]: `Data`, + [_xN]: _da }]] +]; +exports.UserIdGroupPair$ = [3, n0, _UIGPs, + 0, + [_De, _UI, _GN, _GIr, _VI, _VPCI, _PSee], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `UserId`, + [_xN]: _uI }], [0, { [_eQN]: `GroupName`, + [_xN]: _gN }], [0, { [_eQN]: `GroupId`, + [_xN]: _gIr }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `VpcPeeringConnectionId`, + [_xN]: _vPCI }], [0, { [_eQN]: `PeeringStatus`, + [_xN]: _pSee }]] +]; +exports.ValidationError$ = [3, n0, _VEa, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.ValidationWarning$ = [3, n0, _VW, + 0, + [_Err], + [[() => ErrorSet, { [_eQN]: `ErrorSet`, + [_xN]: _eSr }]] +]; +exports.VCpuCountRange$ = [3, n0, _VCCR, + 0, + [_M, _Ma], + [[1, { [_eQN]: `Min`, + [_xN]: _m }], [1, { [_eQN]: `Max`, + [_xN]: _ma }]] +]; +exports.VCpuCountRangeRequest$ = [3, n0, _VCCRR, + 0, + [_M, _Ma], + [1, 1], 1 +]; +exports.VCpuInfo$ = [3, n0, _VCIpu, + 0, + [_DVC, _DCef, _DTPC, _VCa, _VTPC], + [[1, { [_eQN]: `DefaultVCpus`, + [_xN]: _dVC }], [1, { [_eQN]: `DefaultCores`, + [_xN]: _dCe }], [1, { [_eQN]: `DefaultThreadsPerCore`, + [_xN]: _dTPC }], [() => CoreCountList, { [_eQN]: `ValidCores`, + [_xN]: _vCa }], [() => ThreadsPerCoreList, { [_eQN]: `ValidThreadsPerCore`, + [_xN]: _vTPC }]] +]; +exports.VerifiedAccessEndpoint$ = [3, n0, _VAE, + 0, + [_VAII, _VAGI, _VAEI, _ADp, _ETn, _ATt, _DCA, _EDnd, _DVD, _SGIe, _LBO, _NIO, _Sta, _De, _CTre, _LUTa, _DT, _T, _SSs, _ROd, _COi], + [[0, { [_eQN]: `VerifiedAccessInstanceId`, + [_xN]: _vAII }], [0, { [_eQN]: `VerifiedAccessGroupId`, + [_xN]: _vAGI }], [0, { [_eQN]: `VerifiedAccessEndpointId`, + [_xN]: _vAEI }], [0, { [_eQN]: `ApplicationDomain`, + [_xN]: _aDp }], [0, { [_eQN]: `EndpointType`, + [_xN]: _eTnd }], [0, { [_eQN]: `AttachmentType`, + [_xN]: _aTtta }], [0, { [_eQN]: `DomainCertificateArn`, + [_xN]: _dCA }], [0, { [_eQN]: `EndpointDomain`, + [_xN]: _eDnd }], [0, { [_eQN]: `DeviceValidationDomain`, + [_xN]: _dVD }], [() => SecurityGroupIdList, { [_eQN]: `SecurityGroupIdSet`, + [_xN]: _sGIS }], [() => exports.VerifiedAccessEndpointLoadBalancerOptions$, { [_eQN]: `LoadBalancerOptions`, + [_xN]: _lBO }], [() => exports.VerifiedAccessEndpointEniOptions$, { [_eQN]: `NetworkInterfaceOptions`, + [_xN]: _nIO }], [() => exports.VerifiedAccessEndpointStatus$, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [0, { [_eQN]: `LastUpdatedTime`, + [_xN]: _lUTa }], [0, { [_eQN]: `DeletionTime`, + [_xN]: _dT }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => exports.VerifiedAccessSseSpecificationResponse$, { [_eQN]: `SseSpecification`, + [_xN]: _sSs }], [() => exports.VerifiedAccessEndpointRdsOptions$, { [_eQN]: `RdsOptions`, + [_xN]: _rOd }], [() => exports.VerifiedAccessEndpointCidrOptions$, { [_eQN]: `CidrOptions`, + [_xN]: _cOi }]] +]; +exports.VerifiedAccessEndpointCidrOptions$ = [3, n0, _VAECO, + 0, + [_Ci, _PRor, _Pr, _SI], + [[0, { [_eQN]: `Cidr`, + [_xN]: _ci }], [() => VerifiedAccessEndpointPortRangeList, { [_eQN]: `PortRangeSet`, + [_xN]: _pRS }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [() => VerifiedAccessEndpointSubnetIdList, { [_eQN]: `SubnetIdSet`, + [_xN]: _sISu }]] +]; +exports.VerifiedAccessEndpointEniOptions$ = [3, n0, _VAEEO, + 0, + [_NII, _Pr, _Po, _PRor], + [[0, { [_eQN]: `NetworkInterfaceId`, + [_xN]: _nII }], [0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [1, { [_eQN]: `Port`, + [_xN]: _po }], [() => VerifiedAccessEndpointPortRangeList, { [_eQN]: `PortRangeSet`, + [_xN]: _pRS }]] +]; +exports.VerifiedAccessEndpointLoadBalancerOptions$ = [3, n0, _VAELBO, + 0, + [_Pr, _Po, _LBAo, _SI, _PRor], + [[0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [1, { [_eQN]: `Port`, + [_xN]: _po }], [0, { [_eQN]: `LoadBalancerArn`, + [_xN]: _lBA }], [() => VerifiedAccessEndpointSubnetIdList, { [_eQN]: `SubnetIdSet`, + [_xN]: _sISu }], [() => VerifiedAccessEndpointPortRangeList, { [_eQN]: `PortRangeSet`, + [_xN]: _pRS }]] +]; +exports.VerifiedAccessEndpointPortRange$ = [3, n0, _VAEPR, + 0, + [_FP, _TP], + [[1, { [_eQN]: `FromPort`, + [_xN]: _fP }], [1, { [_eQN]: `ToPort`, + [_xN]: _tP }]] +]; +exports.VerifiedAccessEndpointRdsOptions$ = [3, n0, _VAERO, + 0, + [_Pr, _Po, _RDIA, _RDCA, _RDPA, _RE, _SI], + [[0, { [_eQN]: `Protocol`, + [_xN]: _pr }], [1, { [_eQN]: `Port`, + [_xN]: _po }], [0, { [_eQN]: `RdsDbInstanceArn`, + [_xN]: _rDIA }], [0, { [_eQN]: `RdsDbClusterArn`, + [_xN]: _rDCA }], [0, { [_eQN]: `RdsDbProxyArn`, + [_xN]: _rDPA }], [0, { [_eQN]: `RdsEndpoint`, + [_xN]: _rEd }], [() => VerifiedAccessEndpointSubnetIdList, { [_eQN]: `SubnetIdSet`, + [_xN]: _sISu }]] +]; +exports.VerifiedAccessEndpointStatus$ = [3, n0, _VAES, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.VerifiedAccessEndpointTarget$ = [3, n0, _VAETe, + 0, + [_VAEI, _VAETIA, _VAETD], + [[0, { [_eQN]: `VerifiedAccessEndpointId`, + [_xN]: _vAEI }], [0, { [_eQN]: `VerifiedAccessEndpointTargetIpAddress`, + [_xN]: _vAETIA }], [0, { [_eQN]: `VerifiedAccessEndpointTargetDns`, + [_xN]: _vAETD }]] +]; +exports.VerifiedAccessGroup$ = [3, n0, _VAG, + 0, + [_VAGI, _VAII, _De, _Own, _VAGA, _CTre, _LUTa, _DT, _T, _SSs], + [[0, { [_eQN]: `VerifiedAccessGroupId`, + [_xN]: _vAGI }], [0, { [_eQN]: `VerifiedAccessInstanceId`, + [_xN]: _vAII }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `Owner`, + [_xN]: _ow }], [0, { [_eQN]: `VerifiedAccessGroupArn`, + [_xN]: _vAGA }], [0, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [0, { [_eQN]: `LastUpdatedTime`, + [_xN]: _lUTa }], [0, { [_eQN]: `DeletionTime`, + [_xN]: _dT }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => exports.VerifiedAccessSseSpecificationResponse$, { [_eQN]: `SseSpecification`, + [_xN]: _sSs }]] +]; +exports.VerifiedAccessInstance$ = [3, n0, _VAI, + 0, + [_VAII, _De, _VATPe, _CTre, _LUTa, _T, _FE, _CECSD], + [[0, { [_eQN]: `VerifiedAccessInstanceId`, + [_xN]: _vAII }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [() => VerifiedAccessTrustProviderCondensedList, { [_eQN]: `VerifiedAccessTrustProviderSet`, + [_xN]: _vATPS }], [0, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [0, { [_eQN]: `LastUpdatedTime`, + [_xN]: _lUTa }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [2, { [_eQN]: `FipsEnabled`, + [_xN]: _fE }], [() => exports.VerifiedAccessInstanceCustomSubDomain$, { [_eQN]: `CidrEndpointsCustomSubDomain`, + [_xN]: _cECSD }]] +]; +exports.VerifiedAccessInstanceCustomSubDomain$ = [3, n0, _VAICSD, + 0, + [_SDu, _Na], + [[0, { [_eQN]: `SubDomain`, + [_xN]: _sDu }], [() => ValueStringList, { [_eQN]: `NameserverSet`, + [_xN]: _nSa }]] +]; +exports.VerifiedAccessInstanceLoggingConfiguration$ = [3, n0, _VAILC, + 0, + [_VAII, _ALc], + [[0, { [_eQN]: `VerifiedAccessInstanceId`, + [_xN]: _vAII }], [() => exports.VerifiedAccessLogs$, { [_eQN]: `AccessLogs`, + [_xN]: _aLc }]] +]; +exports.VerifiedAccessInstanceOpenVpnClientConfiguration$ = [3, n0, _VAIOVCC, + 0, + [_Confi, _Rou], + [[0, { [_eQN]: `Config`, + [_xN]: _confi }], [() => VerifiedAccessInstanceOpenVpnClientConfigurationRouteList, { [_eQN]: `RouteSet`, + [_xN]: _rSou }]] +]; +exports.VerifiedAccessInstanceOpenVpnClientConfigurationRoute$ = [3, n0, _VAIOVCCR, + 0, + [_Ci], + [[0, { [_eQN]: `Cidr`, + [_xN]: _ci }]] +]; +exports.VerifiedAccessInstanceUserTrustProviderClientConfiguration$ = [3, n0, _VAIUTPCC, + 0, + [_Ty, _Scop, _Is, _AE, _PSKE, _TEo, _UIE, _CIli, _CS, _PEk], + [[0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `Scopes`, + [_xN]: _scop }], [0, { [_eQN]: `Issuer`, + [_xN]: _is }], [0, { [_eQN]: `AuthorizationEndpoint`, + [_xN]: _aE }], [0, { [_eQN]: `PublicSigningKeyEndpoint`, + [_xN]: _pSKE }], [0, { [_eQN]: `TokenEndpoint`, + [_xN]: _tEo }], [0, { [_eQN]: `UserInfoEndpoint`, + [_xN]: _uIE }], [0, { [_eQN]: `ClientId`, + [_xN]: _cIli }], [() => ClientSecretType, { [_eQN]: `ClientSecret`, + [_xN]: _cSl }], [2, { [_eQN]: `PkceEnabled`, + [_xN]: _pEk }]] +]; +exports.VerifiedAccessLogCloudWatchLogsDestination$ = [3, n0, _VALCWLD, + 0, + [_En, _DSe, _LGog], + [[2, { [_eQN]: `Enabled`, + [_xN]: _en }], [() => exports.VerifiedAccessLogDeliveryStatus$, { [_eQN]: `DeliveryStatus`, + [_xN]: _dSel }], [0, { [_eQN]: `LogGroup`, + [_xN]: _lGo }]] +]; +exports.VerifiedAccessLogCloudWatchLogsDestinationOptions$ = [3, n0, _VALCWLDO, + 0, + [_En, _LGog], + [2, 0], 1 +]; +exports.VerifiedAccessLogDeliveryStatus$ = [3, n0, _VALDS, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.VerifiedAccessLogKinesisDataFirehoseDestination$ = [3, n0, _VALKDFD, + 0, + [_En, _DSe, _DSel], + [[2, { [_eQN]: `Enabled`, + [_xN]: _en }], [() => exports.VerifiedAccessLogDeliveryStatus$, { [_eQN]: `DeliveryStatus`, + [_xN]: _dSel }], [0, { [_eQN]: `DeliveryStream`, + [_xN]: _dSeli }]] +]; +exports.VerifiedAccessLogKinesisDataFirehoseDestinationOptions$ = [3, n0, _VALKDFDO, + 0, + [_En, _DSel], + [2, 0], 1 +]; +exports.VerifiedAccessLogOptions$ = [3, n0, _VALO, + 0, + [_S_, _CWL, _KDF, _LV, _ITCn], + [() => exports.VerifiedAccessLogS3DestinationOptions$, () => exports.VerifiedAccessLogCloudWatchLogsDestinationOptions$, () => exports.VerifiedAccessLogKinesisDataFirehoseDestinationOptions$, 0, 2] +]; +exports.VerifiedAccessLogs$ = [3, n0, _VAL, + 0, + [_S_, _CWL, _KDF, _LV, _ITCn], + [[() => exports.VerifiedAccessLogS3Destination$, { [_eQN]: `S3`, + [_xN]: _s_ }], [() => exports.VerifiedAccessLogCloudWatchLogsDestination$, { [_eQN]: `CloudWatchLogs`, + [_xN]: _cWL }], [() => exports.VerifiedAccessLogKinesisDataFirehoseDestination$, { [_eQN]: `KinesisDataFirehose`, + [_xN]: _kDF }], [0, { [_eQN]: `LogVersion`, + [_xN]: _lV }], [2, { [_eQN]: `IncludeTrustContext`, + [_xN]: _iTCn }]] +]; +exports.VerifiedAccessLogS3Destination$ = [3, n0, _VALSD, + 0, + [_En, _DSe, _BN, _Pre, _BOu], + [[2, { [_eQN]: `Enabled`, + [_xN]: _en }], [() => exports.VerifiedAccessLogDeliveryStatus$, { [_eQN]: `DeliveryStatus`, + [_xN]: _dSel }], [0, { [_eQN]: `BucketName`, + [_xN]: _bN }], [0, { [_eQN]: `Prefix`, + [_xN]: _pre }], [0, { [_eQN]: `BucketOwner`, + [_xN]: _bOu }]] +]; +exports.VerifiedAccessLogS3DestinationOptions$ = [3, n0, _VALSDO, + 0, + [_En, _BN, _Pre, _BOu], + [2, 0, 0, 0], 1 +]; +exports.VerifiedAccessSseSpecificationRequest$ = [3, n0, _VASSR, + 0, + [_CMKE, _KKA], + [2, 0] +]; +exports.VerifiedAccessSseSpecificationResponse$ = [3, n0, _VASSRe, + 0, + [_CMKE, _KKA], + [[2, { [_eQN]: `CustomerManagedKeyEnabled`, + [_xN]: _cMKE }], [0, { [_eQN]: `KmsKeyArn`, + [_xN]: _kKA }]] +]; +exports.VerifiedAccessTrustProvider$ = [3, n0, _VATP, + 0, + [_VATPI, _De, _TPT, _UTPT, _DTPT, _OO, _DOev, _PRNo, _CTre, _LUTa, _T, _SSs, _NAOO], + [[0, { [_eQN]: `VerifiedAccessTrustProviderId`, + [_xN]: _vATPI }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `TrustProviderType`, + [_xN]: _tPT }], [0, { [_eQN]: `UserTrustProviderType`, + [_xN]: _uTPT }], [0, { [_eQN]: `DeviceTrustProviderType`, + [_xN]: _dTPT }], [() => exports.OidcOptions$, { [_eQN]: `OidcOptions`, + [_xN]: _oO }], [() => exports.DeviceOptions$, { [_eQN]: `DeviceOptions`, + [_xN]: _dOev }], [0, { [_eQN]: `PolicyReferenceName`, + [_xN]: _pRNo }], [0, { [_eQN]: `CreationTime`, + [_xN]: _cTre }], [0, { [_eQN]: `LastUpdatedTime`, + [_xN]: _lUTa }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => exports.VerifiedAccessSseSpecificationResponse$, { [_eQN]: `SseSpecification`, + [_xN]: _sSs }], [() => exports.NativeApplicationOidcOptions$, { [_eQN]: `NativeApplicationOidcOptions`, + [_xN]: _nAOO }]] +]; +exports.VerifiedAccessTrustProviderCondensed$ = [3, n0, _VATPC, + 0, + [_VATPI, _De, _TPT, _UTPT, _DTPT], + [[0, { [_eQN]: `VerifiedAccessTrustProviderId`, + [_xN]: _vATPI }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `TrustProviderType`, + [_xN]: _tPT }], [0, { [_eQN]: `UserTrustProviderType`, + [_xN]: _uTPT }], [0, { [_eQN]: `DeviceTrustProviderType`, + [_xN]: _dTPT }]] +]; +exports.VgwTelemetry$ = [3, n0, _VTg, + 0, + [_ARC, _LSC, _OIA, _Sta, _SMt, _CAe], + [[1, { [_eQN]: `AcceptedRouteCount`, + [_xN]: _aRC }], [4, { [_eQN]: `LastStatusChange`, + [_xN]: _lSC }], [0, { [_eQN]: `OutsideIpAddress`, + [_xN]: _oIA }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [0, { [_eQN]: `CertificateArn`, + [_xN]: _cAe }]] +]; +exports.Volume$ = [3, n0, _Vol, + 0, + [_AZI, _OA, _SVI, _Io, _T, _VT, _FRa, _MAE, _Th, _STs, _Op, _VIR, _VIo, _Siz, _SIn, _AZ, _St, _CTr, _Atta, _Enc, _KKI], + [[0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `SourceVolumeId`, + [_xN]: _sVI }], [1, { [_eQN]: `Iops`, + [_xN]: _io }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VolumeType`, + [_xN]: _vT }], [2, { [_eQN]: `FastRestored`, + [_xN]: _fRa }], [2, { [_eQN]: `MultiAttachEnabled`, + [_xN]: _mAE }], [1, { [_eQN]: `Throughput`, + [_xN]: _th }], [0, { [_eQN]: `SseType`, + [_xN]: _sTs }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }], [1, { [_eQN]: `VolumeInitializationRate`, + [_xN]: _vIR }], [0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [1, { [_eQN]: `Size`, + [_xN]: _si }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [() => VolumeAttachmentList, { [_eQN]: `AttachmentSet`, + [_xN]: _aSt }], [2, { [_eQN]: `Encrypted`, + [_xN]: _enc }], [0, { [_eQN]: `KmsKeyId`, + [_xN]: _kKI }]] +]; +exports.VolumeAttachment$ = [3, n0, _VAo, + 0, + [_DOT, _ARss, _IOS, _ECI, _VIo, _II, _Dev, _St, _ATtt], + [[2, { [_eQN]: `DeleteOnTermination`, + [_xN]: _dOT }], [0, { [_eQN]: `AssociatedResource`, + [_xN]: _aRs }], [0, { [_eQN]: `InstanceOwningService`, + [_xN]: _iOS }], [1, { [_eQN]: `EbsCardIndex`, + [_xN]: _eCI }], [0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }], [0, { [_eQN]: `Device`, + [_xN]: _dev }], [0, { [_eQN]: `Status`, + [_xN]: _sta }], [4, { [_eQN]: `AttachTime`, + [_xN]: _aTt }]] +]; +exports.VolumeDetail$ = [3, n0, _VDo, + 0, + [_Siz], + [[1, { [_eQN]: `Size`, + [_xN]: _si }]], 1 +]; +exports.VolumeModification$ = [3, n0, _VMo, + 0, + [_VIo, _MSod, _SMt, _TSarg, _TIar, _TVT, _TTar, _TMAE, _OSr, _OIr, _OVT, _OTri, _OMAE, _Pro, _ST, _ETnd], + [[0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [0, { [_eQN]: `ModificationState`, + [_xN]: _mSod }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }], [1, { [_eQN]: `TargetSize`, + [_xN]: _tSar }], [1, { [_eQN]: `TargetIops`, + [_xN]: _tIar }], [0, { [_eQN]: `TargetVolumeType`, + [_xN]: _tVT }], [1, { [_eQN]: `TargetThroughput`, + [_xN]: _tTar }], [2, { [_eQN]: `TargetMultiAttachEnabled`, + [_xN]: _tMAE }], [1, { [_eQN]: `OriginalSize`, + [_xN]: _oSr }], [1, { [_eQN]: `OriginalIops`, + [_xN]: _oIr }], [0, { [_eQN]: `OriginalVolumeType`, + [_xN]: _oVT }], [1, { [_eQN]: `OriginalThroughput`, + [_xN]: _oTr }], [2, { [_eQN]: `OriginalMultiAttachEnabled`, + [_xN]: _oMAE }], [1, { [_eQN]: `Progress`, + [_xN]: _pro }], [4, { [_eQN]: `StartTime`, + [_xN]: _sT }], [4, { [_eQN]: `EndTime`, + [_xN]: _eTn }]] +]; +exports.VolumeRecycleBinInfo$ = [3, n0, _VRBI, + 0, + [_VIo, _VT, _St, _Siz, _Io, _Th, _OA, _AZ, _AZI, _SVI, _SIn, _Op, _CTr, _RBET, _RBETe], + [[0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [0, { [_eQN]: `VolumeType`, + [_xN]: _vT }], [0, { [_eQN]: `State`, + [_xN]: _st }], [1, { [_eQN]: `Size`, + [_xN]: _si }], [1, { [_eQN]: `Iops`, + [_xN]: _io }], [1, { [_eQN]: `Throughput`, + [_xN]: _th }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }], [0, { [_eQN]: `SourceVolumeId`, + [_xN]: _sVI }], [0, { [_eQN]: `SnapshotId`, + [_xN]: _sIn }], [() => exports.OperatorResponse$, { [_eQN]: `Operator`, + [_xN]: _ope }], [4, { [_eQN]: `CreateTime`, + [_xN]: _cTr }], [4, { [_eQN]: `RecycleBinEnterTime`, + [_xN]: _rBET }], [4, { [_eQN]: `RecycleBinExitTime`, + [_xN]: _rBETe }]] +]; +exports.VolumeStatusAction$ = [3, n0, _VSA, + 0, + [_Co, _De, _EIve, _ETv], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `EventId`, + [_xN]: _eIve }], [0, { [_eQN]: `EventType`, + [_xN]: _eTv }]] +]; +exports.VolumeStatusAttachmentStatus$ = [3, n0, _VSAS, + 0, + [_IPo, _II], + [[0, { [_eQN]: `IoPerformance`, + [_xN]: _iPo }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }]] +]; +exports.VolumeStatusDetails$ = [3, n0, _VSD, + 0, + [_N, _Sta], + [[0, { [_eQN]: `Name`, + [_xN]: _n }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.VolumeStatusEvent$ = [3, n0, _VSE, + 0, + [_De, _EIve, _ETv, _NAo, _NB, _II], + [[0, { [_eQN]: `Description`, + [_xN]: _de }], [0, { [_eQN]: `EventId`, + [_xN]: _eIve }], [0, { [_eQN]: `EventType`, + [_xN]: _eTv }], [4, { [_eQN]: `NotAfter`, + [_xN]: _nAo }], [4, { [_eQN]: `NotBefore`, + [_xN]: _nB }], [0, { [_eQN]: `InstanceId`, + [_xN]: _iI }]] +]; +exports.VolumeStatusInfo$ = [3, n0, _VSI, + 0, + [_Det, _Sta], + [[() => VolumeStatusDetailsList, { [_eQN]: `Details`, + [_xN]: _det }], [0, { [_eQN]: `Status`, + [_xN]: _sta }]] +]; +exports.VolumeStatusItem$ = [3, n0, _VSIo, + 0, + [_Acti, _AZ, _OA, _Ev, _VIo, _VSol, _ASttac, _ISD, _AZI], + [[() => VolumeStatusActionsList, { [_eQN]: `ActionsSet`, + [_xN]: _aSct }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [0, { [_eQN]: `OutpostArn`, + [_xN]: _oA }], [() => VolumeStatusEventsList, { [_eQN]: `EventsSet`, + [_xN]: _eSv }], [0, { [_eQN]: `VolumeId`, + [_xN]: _vIo }], [() => exports.VolumeStatusInfo$, { [_eQN]: `VolumeStatus`, + [_xN]: _vSol }], [() => VolumeStatusAttachmentStatusList, { [_eQN]: `AttachmentStatuses`, + [_xN]: _aStta }], [() => exports.InitializationStatusDetails$, { [_eQN]: `InitializationStatusDetails`, + [_xN]: _iSD }], [0, { [_eQN]: `AvailabilityZoneId`, + [_xN]: _aZI }]] +]; +exports.Vpc$ = [3, n0, _Vp, + 0, + [_OI, _ITns, _ICBAS, _CBAS, _IDs, _ECn, _T, _BPAS, _VI, _St, _CB, _DOI], + [[0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [0, { [_eQN]: `InstanceTenancy`, + [_xN]: _iTns }], [() => VpcIpv6CidrBlockAssociationSet, { [_eQN]: `Ipv6CidrBlockAssociationSet`, + [_xN]: _iCBASp }], [() => VpcCidrBlockAssociationSet, { [_eQN]: `CidrBlockAssociationSet`, + [_xN]: _cBAS }], [2, { [_eQN]: `IsDefault`, + [_xN]: _iDs }], [() => exports.VpcEncryptionControl$, { [_eQN]: `EncryptionControl`, + [_xN]: _eCn }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => exports.BlockPublicAccessStates$, { [_eQN]: `BlockPublicAccessStates`, + [_xN]: _bPAS }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `CidrBlock`, + [_xN]: _cB }], [0, { [_eQN]: `DhcpOptionsId`, + [_xN]: _dOI }]] +]; +exports.VpcAttachment$ = [3, n0, _VA, + 0, + [_VI, _St], + [[0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.VpcBlockPublicAccessExclusion$ = [3, n0, _VBPAE, + 0, + [_EIx, _IGEM, _RAeso, _St, _Rea, _CTrea, _LUTas, _DTele, _T], + [[0, { [_eQN]: `ExclusionId`, + [_xN]: _eIx }], [0, { [_eQN]: `InternetGatewayExclusionMode`, + [_xN]: _iGEM }], [0, { [_eQN]: `ResourceArn`, + [_xN]: _rAes }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `Reason`, + [_xN]: _rea }], [4, { [_eQN]: `CreationTimestamp`, + [_xN]: _cTrea }], [4, { [_eQN]: `LastUpdateTimestamp`, + [_xN]: _lUTas }], [4, { [_eQN]: `DeletionTimestamp`, + [_xN]: _dTele }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.VpcBlockPublicAccessOptions$ = [3, n0, _VBPAO, + 0, + [_AAI, _ARw, _St, _IGBM, _Rea, _LUTas, _MB, _EAx], + [[0, { [_eQN]: `AwsAccountId`, + [_xN]: _aAI }], [0, { [_eQN]: `AwsRegion`, + [_xN]: _aRw }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `InternetGatewayBlockMode`, + [_xN]: _iGBM }], [0, { [_eQN]: `Reason`, + [_xN]: _rea }], [4, { [_eQN]: `LastUpdateTimestamp`, + [_xN]: _lUTas }], [0, { [_eQN]: `ManagedBy`, + [_xN]: _mB }], [0, { [_eQN]: `ExclusionsAllowed`, + [_xN]: _eAx }]] +]; +exports.VpcCidrBlockAssociation$ = [3, n0, _VCBA, + 0, + [_AIs, _CB, _CBSi], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `CidrBlock`, + [_xN]: _cB }], [() => exports.VpcCidrBlockState$, { [_eQN]: `CidrBlockState`, + [_xN]: _cBSi }]] +]; +exports.VpcCidrBlockState$ = [3, n0, _VCBS, + 0, + [_St, _SMt], + [[0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StatusMessage`, + [_xN]: _sMt }]] +]; +exports.VpcClassicLink$ = [3, n0, _VCL, + 0, + [_CLE, _T, _VI], + [[2, { [_eQN]: `ClassicLinkEnabled`, + [_xN]: _cLE }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }]] +]; +exports.VpcEncryptionControl$ = [3, n0, _VEC, + 0, + [_VI, _VECI, _Mo, _St, _SMta, _REes, _T], + [[0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `VpcEncryptionControlId`, + [_xN]: _vECI }], [0, { [_eQN]: `Mode`, + [_xN]: _mod }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateMessage`, + [_xN]: _sMta }], [() => exports.VpcEncryptionControlExclusions$, { [_eQN]: `ResourceExclusions`, + [_xN]: _rEes }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.VpcEncryptionControlConfiguration$ = [3, n0, _VECC, + 0, + [_Mo, _IGE, _EOIGE, _NGE, _VPGE, _VPE, _LEam, _VLE, _EFSE], + [0, 0, 0, 0, 0, 0, 0, 0, 0], 1 +]; +exports.VpcEncryptionControlExclusion$ = [3, n0, _VECE, + 0, + [_St, _SMta], + [[0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `StateMessage`, + [_xN]: _sMta }]] +]; +exports.VpcEncryptionControlExclusions$ = [3, n0, _VECEp, + 0, + [_IG, _EOIG, _NG, _VPG, _VPpc, _Lam, _VL, _EFS], + [[() => exports.VpcEncryptionControlExclusion$, { [_eQN]: `InternetGateway`, + [_xN]: _iG }], [() => exports.VpcEncryptionControlExclusion$, { [_eQN]: `EgressOnlyInternetGateway`, + [_xN]: _eOIG }], [() => exports.VpcEncryptionControlExclusion$, { [_eQN]: `NatGateway`, + [_xN]: _nG }], [() => exports.VpcEncryptionControlExclusion$, { [_eQN]: `VirtualPrivateGateway`, + [_xN]: _vPG }], [() => exports.VpcEncryptionControlExclusion$, { [_eQN]: `VpcPeering`, + [_xN]: _vPpc }], [() => exports.VpcEncryptionControlExclusion$, { [_eQN]: `Lambda`, + [_xN]: _la }], [() => exports.VpcEncryptionControlExclusion$, { [_eQN]: `VpcLattice`, + [_xN]: _vL }], [() => exports.VpcEncryptionControlExclusion$, { [_eQN]: `ElasticFileSystem`, + [_xN]: _eFS }]] +]; +exports.VpcEncryptionNonCompliantResource$ = [3, n0, _VENCR, + 0, + [_I, _Ty, _De, _IEs], + [[0, { [_eQN]: `Id`, + [_xN]: _i }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `Description`, + [_xN]: _de }], [2, { [_eQN]: `IsExcludable`, + [_xN]: _iEsx }]] +]; +exports.VpcEndpoint$ = [3, n0, _VE, + 0, + [_VEIp, _VET, _VI, _SN, _St, _PDo, _RTIo, _SI, _G, _IAT, _DOn, _PDE, _RMeq, _NIIe, _DEn, _CTrea, _T, _OI, _LEa, _IPpvr, _IPp, _FR, _SNA, _RCA, _SR], + [[0, { [_eQN]: `VpcEndpointId`, + [_xN]: _vEI }], [0, { [_eQN]: `VpcEndpointType`, + [_xN]: _vET }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `ServiceName`, + [_xN]: _sN }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `PolicyDocument`, + [_xN]: _pDo }], [() => ValueStringList, { [_eQN]: `RouteTableIdSet`, + [_xN]: _rTIS }], [() => ValueStringList, { [_eQN]: `SubnetIdSet`, + [_xN]: _sISu }], [() => GroupIdentifierSet, { [_eQN]: `GroupSet`, + [_xN]: _gSr }], [0, { [_eQN]: `IpAddressType`, + [_xN]: _iAT }], [() => exports.DnsOptions$, { [_eQN]: `DnsOptions`, + [_xN]: _dOn }], [2, { [_eQN]: `PrivateDnsEnabled`, + [_xN]: _pDE }], [2, { [_eQN]: `RequesterManaged`, + [_xN]: _rMeq }], [() => ValueStringList, { [_eQN]: `NetworkInterfaceIdSet`, + [_xN]: _nIIS }], [() => DnsEntrySet, { [_eQN]: `DnsEntrySet`, + [_xN]: _dES }], [4, { [_eQN]: `CreationTimestamp`, + [_xN]: _cTrea }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [() => exports.LastError$, { [_eQN]: `LastError`, + [_xN]: _lEa }], [() => SubnetIpPrefixesList, { [_eQN]: `Ipv4PrefixSet`, + [_xN]: _iPSpvr }], [() => SubnetIpPrefixesList, { [_eQN]: `Ipv6PrefixSet`, + [_xN]: _iPSpvre }], [0, { [_eQN]: `FailureReason`, + [_xN]: _fR }], [0, { [_eQN]: `ServiceNetworkArn`, + [_xN]: _sNAe }], [0, { [_eQN]: `ResourceConfigurationArn`, + [_xN]: _rCA }], [0, { [_eQN]: `ServiceRegion`, + [_xN]: _sR }]] +]; +exports.VpcEndpointAssociation$ = [3, n0, _VEAp, + 0, + [_I, _VEIp, _SNA, _SNN, _ARAs, _FR, _FCa, _DE, _PDEr, _ARAss, _RCGA, _T], + [[0, { [_eQN]: `Id`, + [_xN]: _i }], [0, { [_eQN]: `VpcEndpointId`, + [_xN]: _vEI }], [0, { [_eQN]: `ServiceNetworkArn`, + [_xN]: _sNAe }], [0, { [_eQN]: `ServiceNetworkName`, + [_xN]: _sNN }], [0, { [_eQN]: `AssociatedResourceAccessibility`, + [_xN]: _aRAs }], [0, { [_eQN]: `FailureReason`, + [_xN]: _fR }], [0, { [_eQN]: `FailureCode`, + [_xN]: _fCa }], [() => exports.DnsEntry$, { [_eQN]: `DnsEntry`, + [_xN]: _dE }], [() => exports.DnsEntry$, { [_eQN]: `PrivateDnsEntry`, + [_xN]: _pDEr }], [0, { [_eQN]: `AssociatedResourceArn`, + [_xN]: _aRAss }], [0, { [_eQN]: `ResourceConfigurationGroupArn`, + [_xN]: _rCGA }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.VpcEndpointConnection$ = [3, n0, _VECpcn, + 0, + [_SIe, _VEIp, _VEO, _VESpc, _CTrea, _DEn, _NLBAe, _GLBA, _IAT, _VECIpc, _T, _VER], + [[0, { [_eQN]: `ServiceId`, + [_xN]: _sI }], [0, { [_eQN]: `VpcEndpointId`, + [_xN]: _vEI }], [0, { [_eQN]: `VpcEndpointOwner`, + [_xN]: _vEO }], [0, { [_eQN]: `VpcEndpointState`, + [_xN]: _vESpc }], [4, { [_eQN]: `CreationTimestamp`, + [_xN]: _cTrea }], [() => DnsEntrySet, { [_eQN]: `DnsEntrySet`, + [_xN]: _dES }], [() => ValueStringList, { [_eQN]: `NetworkLoadBalancerArnSet`, + [_xN]: _nLBAS }], [() => ValueStringList, { [_eQN]: `GatewayLoadBalancerArnSet`, + [_xN]: _gLBAS }], [0, { [_eQN]: `IpAddressType`, + [_xN]: _iAT }], [0, { [_eQN]: `VpcEndpointConnectionId`, + [_xN]: _vECIp }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VpcEndpointRegion`, + [_xN]: _vER }]] +]; +exports.VpcIpv6CidrBlockAssociation$ = [3, n0, _VICBA, + 0, + [_AIs, _ICB, _ICBS, _NBG, _IPpvo, _IAA, _ISpo], + [[0, { [_eQN]: `AssociationId`, + [_xN]: _aIs }], [0, { [_eQN]: `Ipv6CidrBlock`, + [_xN]: _iCB }], [() => exports.VpcCidrBlockState$, { [_eQN]: `Ipv6CidrBlockState`, + [_xN]: _iCBS }], [0, { [_eQN]: `NetworkBorderGroup`, + [_xN]: _nBG }], [0, { [_eQN]: `Ipv6Pool`, + [_xN]: _iPpvo }], [0, { [_eQN]: `Ipv6AddressAttribute`, + [_xN]: _iAA }], [0, { [_eQN]: `IpSource`, + [_xN]: _iSpo }]] +]; +exports.VpcPeeringConnection$ = [3, n0, _VPC, + 0, + [_AVI, _ET, _RVIe, _Sta, _T, _VPCI], + [[() => exports.VpcPeeringConnectionVpcInfo$, { [_eQN]: `AccepterVpcInfo`, + [_xN]: _aVI }], [4, { [_eQN]: `ExpirationTime`, + [_xN]: _eT }], [() => exports.VpcPeeringConnectionVpcInfo$, { [_eQN]: `RequesterVpcInfo`, + [_xN]: _rVIe }], [() => exports.VpcPeeringConnectionStateReason$, { [_eQN]: `Status`, + [_xN]: _sta }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VpcPeeringConnectionId`, + [_xN]: _vPCI }]] +]; +exports.VpcPeeringConnectionOptionsDescription$ = [3, n0, _VPCOD, + 0, + [_ADRFRV, _AEFLCLTRV, _AEFLVTRCL], + [[2, { [_eQN]: `AllowDnsResolutionFromRemoteVpc`, + [_xN]: _aDRFRV }], [2, { [_eQN]: `AllowEgressFromLocalClassicLinkToRemoteVpc`, + [_xN]: _aEFLCLTRV }], [2, { [_eQN]: `AllowEgressFromLocalVpcToRemoteClassicLink`, + [_xN]: _aEFLVTRCL }]] +]; +exports.VpcPeeringConnectionStateReason$ = [3, n0, _VPCSR, + 0, + [_Co, _Me], + [[0, { [_eQN]: `Code`, + [_xN]: _co }], [0, { [_eQN]: `Message`, + [_xN]: _me }]] +]; +exports.VpcPeeringConnectionVpcInfo$ = [3, n0, _VPCVI, + 0, + [_CB, _ICBSp, _CBSid, _OI, _POe, _VI, _Regi], + [[0, { [_eQN]: `CidrBlock`, + [_xN]: _cB }], [() => Ipv6CidrBlockSet, { [_eQN]: `Ipv6CidrBlockSet`, + [_xN]: _iCBSp }], [() => CidrBlockSet, { [_eQN]: `CidrBlockSet`, + [_xN]: _cBSid }], [0, { [_eQN]: `OwnerId`, + [_xN]: _oI }], [() => exports.VpcPeeringConnectionOptionsDescription$, { [_eQN]: `PeeringOptions`, + [_xN]: _pOe }], [0, { [_eQN]: `VpcId`, + [_xN]: _vI }], [0, { [_eQN]: `Region`, + [_xN]: _reg }]] +]; +exports.VpnConcentrator$ = [3, n0, _VC, + 0, + [_VCI, _St, _TGI, _TGAI, _Ty, _T], + [[0, { [_eQN]: `VpnConcentratorId`, + [_xN]: _vCIpn }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `TransitGatewayAttachmentId`, + [_xN]: _tGAI }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }]] +]; +exports.VpnConnection$ = [3, n0, _VCp, + 0, + [_Cat, _TGI, _VCI, _CNA, _CNAA, _GAS, _Opt, _Rou, _T, _VTg, _PSKA, _VCIp, _St, _CGC, _Ty, _CGIu, _VGI], + [[0, { [_eQN]: `Category`, + [_xN]: _ca }], [0, { [_eQN]: `TransitGatewayId`, + [_xN]: _tGI }], [0, { [_eQN]: `VpnConcentratorId`, + [_xN]: _vCIpn }], [0, { [_eQN]: `CoreNetworkArn`, + [_xN]: _cNA }], [0, { [_eQN]: `CoreNetworkAttachmentArn`, + [_xN]: _cNAA }], [0, { [_eQN]: `GatewayAssociationState`, + [_xN]: _gAS }], [() => exports.VpnConnectionOptions$, { [_eQN]: `Options`, + [_xN]: _op }], [() => VpnStaticRouteList, { [_eQN]: `Routes`, + [_xN]: _rou }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [() => VgwTelemetryList, { [_eQN]: `VgwTelemetry`, + [_xN]: _vTg }], [0, { [_eQN]: `PreSharedKeyArn`, + [_xN]: _pSKA }], [0, { [_eQN]: `VpnConnectionId`, + [_xN]: _vCI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [() => customerGatewayConfiguration, { [_eQN]: `CustomerGatewayConfiguration`, + [_xN]: _cGC }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `CustomerGatewayId`, + [_xN]: _cGIu }], [0, { [_eQN]: `VpnGatewayId`, + [_xN]: _vGI }]] +]; +exports.VpnConnectionDeviceType$ = [3, n0, _VCDTp, + 0, + [_VCDTI, _Ven, _Pl, _Sof], + [[0, { [_eQN]: `VpnConnectionDeviceTypeId`, + [_xN]: _vCDTI }], [0, { [_eQN]: `Vendor`, + [_xN]: _ven }], [0, { [_eQN]: `Platform`, + [_xN]: _pl }], [0, { [_eQN]: `Software`, + [_xN]: _sof }]] +]; +exports.VpnConnectionOptions$ = [3, n0, _VCO, + 0, + [_EAn, _SRO, _LINC, _RINC, _LINCo, _RINCe, _OIAT, _TTGAI, _TIIV, _TO, _TB], + [[2, { [_eQN]: `EnableAcceleration`, + [_xN]: _eAn }], [2, { [_eQN]: `StaticRoutesOnly`, + [_xN]: _sRO }], [0, { [_eQN]: `LocalIpv4NetworkCidr`, + [_xN]: _lINC }], [0, { [_eQN]: `RemoteIpv4NetworkCidr`, + [_xN]: _rINC }], [0, { [_eQN]: `LocalIpv6NetworkCidr`, + [_xN]: _lINCo }], [0, { [_eQN]: `RemoteIpv6NetworkCidr`, + [_xN]: _rINCe }], [0, { [_eQN]: `OutsideIpAddressType`, + [_xN]: _oIAT }], [0, { [_eQN]: `TransportTransitGatewayAttachmentId`, + [_xN]: _tTGAI }], [0, { [_eQN]: `TunnelInsideIpVersion`, + [_xN]: _tIIV }], [() => TunnelOptionsList, { [_eQN]: `TunnelOptionSet`, + [_xN]: _tOS }], [0, { [_eQN]: `TunnelBandwidth`, + [_xN]: _tB }]] +]; +exports.VpnConnectionOptionsSpecification$ = [3, n0, _VCOS, + 0, + [_EAn, _TIIV, _TO, _LINC, _RINC, _LINCo, _RINCe, _OIAT, _TTGAI, _TB, _SRO], + [2, 0, [() => VpnTunnelOptionsSpecificationsList, 0], 0, 0, 0, 0, 0, 0, 0, [2, { [_eQN]: `StaticRoutesOnly`, + [_xN]: _sRO }]] +]; +exports.VpnGateway$ = [3, n0, _VG, + 0, + [_ASA, _T, _VGI, _St, _Ty, _AZ, _VAp], + [[1, { [_eQN]: `AmazonSideAsn`, + [_xN]: _aSA }], [() => TagList, { [_eQN]: `TagSet`, + [_xN]: _tS }], [0, { [_eQN]: `VpnGatewayId`, + [_xN]: _vGI }], [0, { [_eQN]: `State`, + [_xN]: _st }], [0, { [_eQN]: `Type`, + [_xN]: _ty }], [0, { [_eQN]: `AvailabilityZone`, + [_xN]: _aZ }], [() => VpcAttachmentList, { [_eQN]: `Attachments`, + [_xN]: _atta }]] +]; +exports.VpnStaticRoute$ = [3, n0, _VSR, + 0, + [_DCB, _S, _St], + [[0, { [_eQN]: `DestinationCidrBlock`, + [_xN]: _dCB }], [0, { [_eQN]: `Source`, + [_xN]: _so }], [0, { [_eQN]: `State`, + [_xN]: _st }]] +]; +exports.VpnTunnelLogOptions$ = [3, n0, _VTLO, + 0, + [_CWLO], + [[() => exports.CloudWatchLogOptions$, { [_eQN]: `CloudWatchLogOptions`, + [_xN]: _cWLO }]] +]; +exports.VpnTunnelLogOptionsSpecification$ = [3, n0, _VTLOS, + 0, + [_CWLO], + [() => exports.CloudWatchLogOptionsSpecification$] +]; +exports.VpnTunnelOptionsSpecification$ = [3, n0, _VTOS, + 0, + [_TICu, _TIIC, _PSK, _PLS, _PLSh, _RMTS, _RFP, _RWS, _DPDTS, _DPDTA, _PEAha, _PEAhas, _PIAha, _PIAhas, _PDHGN, _PDHGNh, _IKEVe, _SAt, _LO, _ETLC], + [0, 0, [() => preSharedKey, 0], 1, 1, 1, 1, 1, 1, 0, [() => Phase1EncryptionAlgorithmsRequestList, { [_xN]: _PEA }], [() => Phase2EncryptionAlgorithmsRequestList, { [_xN]: _PEAh }], [() => Phase1IntegrityAlgorithmsRequestList, { [_xN]: _PIA }], [() => Phase2IntegrityAlgorithmsRequestList, { [_xN]: _PIAh }], [() => Phase1DHGroupNumbersRequestList, { [_xN]: _PDHGNha }], [() => Phase2DHGroupNumbersRequestList, { [_xN]: _PDHGNhas }], [() => IKEVersionsRequestList, { [_xN]: _IKEVer }], 0, () => exports.VpnTunnelLogOptionsSpecification$, 2] +]; +exports.WithdrawByoipCidrRequest$ = [3, n0, _WBCR, + 0, + [_Ci, _DR], + [0, 2], 1 +]; +exports.WithdrawByoipCidrResult$ = [3, n0, _WBCRi, + 0, + [_BC], + [[() => exports.ByoipCidr$, { [_eQN]: `ByoipCidr`, + [_xN]: _bC }]] +]; +var __Unit = "unit"; +var AcceleratorManufacturerSet = [1, n0, _AMSc, + 0, [0, + { [_xN]: _it }] +]; +var AcceleratorNameSet = [1, n0, _ANSc, + 0, [0, + { [_xN]: _it }] +]; +var AcceleratorTypeSet = [1, n0, _ATSc, + 0, [0, + { [_xN]: _it }] +]; +var AccessScopeAnalysisFindingList = [1, n0, _ASAFL, + 0, [() => exports.AccessScopeAnalysisFinding$, + { [_xN]: _it }] +]; +var AccessScopePathList = [1, n0, _ASPL, + 0, [() => exports.AccessScopePath$, + { [_xN]: _it }] +]; +var AccessScopePathListRequest = [1, n0, _ASPLR, + 0, [() => exports.AccessScopePathRequest$, + { [_xN]: _it }] +]; +var AccountAttributeList = [1, n0, _AAL, + 0, [() => exports.AccountAttribute$, + { [_xN]: _it }] +]; +var AccountAttributeNameStringList = [1, n0, _AANSL, + 0, [0, + { [_xN]: _aN }] +]; +var AccountAttributeValueList = [1, n0, _AAVL, + 0, [() => exports.AccountAttributeValue$, + { [_xN]: _it }] +]; +var ActiveInstanceSet = [1, n0, _AIS, + 0, [() => exports.ActiveInstance$, + { [_xN]: _it }] +]; +var AddedPrincipalSet = [1, n0, _APS, + 0, [() => exports.AddedPrincipal$, + { [_xN]: _it }] +]; +var AddIpamOperatingRegionSet = [1, n0, _AIORS, + 0, () => exports.AddIpamOperatingRegion$ +]; +var AddIpamOrganizationalUnitExclusionSet = [1, n0, _AIOUES, + 0, () => exports.AddIpamOrganizationalUnitExclusion$ +]; +var AdditionalDetailList = [1, n0, _ADL, + 0, [() => exports.AdditionalDetail$, + { [_xN]: _it }] +]; +var AddPrefixListEntries = [1, n0, _APLEd, + 0, () => exports.AddPrefixListEntry$ +]; +var AddressList = [1, n0, _ALd, + 0, [() => exports.Address$, + { [_xN]: _it }] +]; +var AddressSet = [1, n0, _ASd, + 0, [() => exports.AddressAttribute$, + { [_xN]: _it }] +]; +var AddressTransferList = [1, n0, _ATL, + 0, [() => exports.AddressTransfer$, + { [_xN]: _it }] +]; +var AllocationIdList = [1, n0, _AIL, + 0, [0, + { [_xN]: _AIl }] +]; +var AllocationIds = [1, n0, _AIll, + 0, [0, + { [_xN]: _it }] +]; +var AllowedInstanceTypeSet = [1, n0, _AITS, + 0, [0, + { [_xN]: _it }] +]; +var AllowedPrincipalSet = [1, n0, _APSl, + 0, [() => exports.AllowedPrincipal$, + { [_xN]: _it }] +]; +var AlternatePathHintList = [1, n0, _APHL, + 0, [() => exports.AlternatePathHint$, + { [_xN]: _it }] +]; +var AnalysisComponentList = [1, n0, _ACL, + 0, [() => exports.AnalysisComponent$, + { [_xN]: _it }] +]; +var ArchitectureTypeList = [1, n0, _ATLr, + 0, [0, + { [_xN]: _it }] +]; +var ArchitectureTypeSet = [1, n0, _ATSr, + 0, [0, + { [_xN]: _it }] +]; +var ArnList = [1, n0, _ALr, + 0, [0, + { [_xN]: _it }] +]; +var AsnAssociationSet = [1, n0, _AAS, + 0, [() => exports.AsnAssociation$, + { [_xN]: _it }] +]; +var AsPath = [1, n0, _APsa, + 0, [0, + { [_xN]: _it }] +]; +var AssetIdList = (/* unused pure expression or super */ null && (64 | 0)); +var AssignedPrivateIpAddressList = [1, n0, _APIAL, + 0, [() => exports.AssignedPrivateIpAddress$, + { [_xN]: _it }] +]; +var AssociatedRolesList = [1, n0, _ARL, + 0, [() => exports.AssociatedRole$, + { [_xN]: _it }] +]; +var AssociatedSubnetList = [1, n0, _ASL, + 0, [0, + { [_xN]: _it }] +]; +var AssociatedTargetNetworkSet = [1, n0, _ATNS, + 0, [() => exports.AssociatedTargetNetwork$, + { [_xN]: _it }] +]; +var AssociationIdList = [1, n0, _AILs, + 0, [0, + { [_xN]: _AIs }] +]; +var AthenaIntegrationsSet = [1, n0, _AISt, + 0, [() => exports.AthenaIntegration$, + { [_xN]: _it }] +]; +var AttributeSummaryList = [1, n0, _ASLt, + 0, [() => exports.AttributeSummary$, + { [_xN]: _it }] +]; +var AuthorizationRuleSet = [1, n0, _ARSu, + 0, [() => exports.AuthorizationRule$, + { [_xN]: _it }] +]; +var AvailabilityZoneAddresses = [1, n0, _AZAv, + 0, [() => exports.AvailabilityZoneAddress$, + { [_xN]: _AZA }] +]; +var AvailabilityZoneGeographyList = [1, n0, _AZGL, + 0, [() => exports.AvailabilityZoneGeography$, + { [_xN]: _it }] +]; +var AvailabilityZoneIdStringList = [1, n0, _AZISL, + 0, [0, + { [_xN]: _AZI }] +]; +var AvailabilityZoneList = [1, n0, _AZL, + 0, [() => exports.AvailabilityZone$, + { [_xN]: _it }] +]; +var AvailabilityZoneMessageList = [1, n0, _AZML, + 0, [() => exports.AvailabilityZoneMessage$, + { [_xN]: _it }] +]; +var AvailabilityZoneStringList = [1, n0, _AZSL, + 0, [0, + { [_xN]: _AZ }] +]; +var AvailabilityZoneSubGeographyList = [1, n0, _AZSGL, + 0, [() => exports.AvailabilityZoneSubGeography$, + { [_xN]: _it }] +]; +var AvailableInstanceCapacityList = [1, n0, _AICL, + 0, [() => exports.InstanceCapacity$, + { [_xN]: _it }] +]; +var BandwidthWeightingTypeList = [1, n0, _BWTL, + 0, [0, + { [_xN]: _it }] +]; +var BillingProductList = [1, n0, _BPL, + 0, [0, + { [_xN]: _it }] +]; +var BlockDeviceMappingList = [1, n0, _BDML, + 0, [() => exports.BlockDeviceMapping$, + { [_xN]: _it }] +]; +var BlockDeviceMappingRequestList = [1, n0, _BDMRL, + 0, [() => exports.BlockDeviceMapping$, + { [_xN]: _BDM }] +]; +var BlockDeviceMappingResponseList = [1, n0, _BDMRLl, + 0, [() => exports.BlockDeviceMappingResponse$, + { [_xN]: _it }] +]; +var BootModeTypeList = [1, n0, _BMTL, + 0, [0, + { [_xN]: _it }] +]; +var BundleIdStringList = [1, n0, _BISL, + 0, [0, + { [_xN]: _BI }] +]; +var BundleTaskList = [1, n0, _BTL, + 0, [() => exports.BundleTask$, + { [_xN]: _it }] +]; +var ByoasnSet = [1, n0, _BSy, + 0, [() => exports.Byoasn$, + { [_xN]: _it }] +]; +var ByoipCidrSet = [1, n0, _BCS, + 0, [() => exports.ByoipCidr$, + { [_xN]: _it }] +]; +var CancelledSpotInstanceRequestList = [1, n0, _CSIRL, + 0, [() => exports.CancelledSpotInstanceRequest$, + { [_xN]: _it }] +]; +var CancelSpotFleetRequestsErrorSet = [1, n0, _CSFRES, + 0, [() => exports.CancelSpotFleetRequestsErrorItem$, + { [_xN]: _it }] +]; +var CancelSpotFleetRequestsSuccessSet = [1, n0, _CSFRSS, + 0, [() => exports.CancelSpotFleetRequestsSuccessItem$, + { [_xN]: _it }] +]; +var CapacityAllocationMetadataList = [1, n0, _CAML, + 0, [() => exports.CapacityAllocationMetadataEntry$, + { [_xN]: _it }] +]; +var CapacityAllocations = [1, n0, _CAap, + 0, [() => exports.CapacityAllocation$, + { [_xN]: _it }] +]; +var CapacityBlockExtensionOfferingSet = [1, n0, _CBEOS, + 0, [() => exports.CapacityBlockExtensionOffering$, + { [_xN]: _it }] +]; +var CapacityBlockExtensionSet = [1, n0, _CBESa, + 0, [() => exports.CapacityBlockExtension$, + { [_xN]: _it }] +]; +var CapacityBlockIds = [1, n0, _CBIa, + 0, [0, + { [_xN]: _it }] +]; +var CapacityBlockOfferingSet = [1, n0, _CBOS, + 0, [() => exports.CapacityBlockOffering$, + { [_xN]: _it }] +]; +var CapacityBlockSet = [1, n0, _CBSap, + 0, [() => exports.CapacityBlock$, + { [_xN]: _it }] +]; +var CapacityBlockStatusSet = [1, n0, _CBSS, + 0, [() => exports.CapacityBlockStatus$, + { [_xN]: _it }] +]; +var CapacityManagerConditionSet = [1, n0, _CMCS, + 0, [() => exports.CapacityManagerCondition$, + { [_xN]: _it }] +]; +var CapacityManagerDataExportIdSet = [1, n0, _CMDEIS, + 0, [0, + { [_xN]: _it }] +]; +var CapacityManagerDataExportResponseSet = [1, n0, _CMDERS, + 0, [() => exports.CapacityManagerDataExportResponse$, + { [_xN]: _it }] +]; +var CapacityManagerMonitoredTagKeyList = [1, n0, _CMMTKL, + 0, [() => exports.CapacityManagerMonitoredTagKey$, + { [_xN]: _it }] +]; +var CapacityManagerTagDimensionSet = [1, n0, _CMTDS, + 0, [() => exports.CapacityManagerTagDimension$, + { [_xN]: _it }] +]; +var CapacityReservationBillingRequestSet = [1, n0, _CRBRS, + 0, [() => exports.CapacityReservationBillingRequest$, + { [_xN]: _it }] +]; +var CapacityReservationFleetCancellationStateSet = [1, n0, _CRFCSS, + 0, [() => exports.CapacityReservationFleetCancellationState$, + { [_xN]: _it }] +]; +var CapacityReservationFleetIdSet = [1, n0, _CRFIS, + 0, [0, + { [_xN]: _it }] +]; +var CapacityReservationFleetSet = [1, n0, _CRFS, + 0, [() => exports.CapacityReservationFleet$, + { [_xN]: _it }] +]; +var CapacityReservationGroupSet = [1, n0, _CRGS, + 0, [() => exports.CapacityReservationGroup$, + { [_xN]: _it }] +]; +var CapacityReservationIdSet = [1, n0, _CRIS, + 0, [0, + { [_xN]: _it }] +]; +var CapacityReservationSet = [1, n0, _CRSapa, + 0, [() => exports.CapacityReservation$, + { [_xN]: _it }] +]; +var CapacityReservationStatusSet = [1, n0, _CRSS, + 0, [() => exports.CapacityReservationStatus$, + { [_xN]: _it }] +]; +var CapacityReservationTopologySet = [1, n0, _CRTS, + 0, [() => exports.CapacityReservationTopology$, + { [_xN]: _it }] +]; +var CarrierGatewayIdSet = (/* unused pure expression or super */ null && (64 | 0)); +var CarrierGatewaySet = [1, n0, _CGS, + 0, [() => exports.CarrierGateway$, + { [_xN]: _it }] +]; +var CidrBlockSet = [1, n0, _CBSid, + 0, [() => exports.CidrBlock$, + { [_xN]: _it }] +]; +var ClassicLinkDnsSupportList = [1, n0, _CLDSL, + 0, [() => exports.ClassicLinkDnsSupport$, + { [_xN]: _it }] +]; +var ClassicLinkInstanceList = [1, n0, _CLIL, + 0, [() => exports.ClassicLinkInstance$, + { [_xN]: _it }] +]; +var ClassicLoadBalancers = [1, n0, _CLBl, + 0, [() => exports.ClassicLoadBalancer$, + { [_xN]: _it }] +]; +var ClientVpnAuthenticationList = [1, n0, _CVAL, + 0, [() => exports.ClientVpnAuthentication$, + { [_xN]: _it }] +]; +var ClientVpnAuthenticationRequestList = [1, n0, _CVARL, + 0, () => exports.ClientVpnAuthenticationRequest$ +]; +var ClientVpnConnectionSet = [1, n0, _CVCSl, + 0, [() => exports.ClientVpnConnection$, + { [_xN]: _it }] +]; +var ClientVpnEndpointIdList = [1, n0, _CVEIL, + 0, [0, + { [_xN]: _it }] +]; +var ClientVpnRouteSet = [1, n0, _CVRSl, + 0, [() => exports.ClientVpnRoute$, + { [_xN]: _it }] +]; +var ClientVpnSecurityGroupIdSet = [1, n0, _CVSGIS, + 0, [0, + { [_xN]: _it }] +]; +var CoipAddressUsageSet = [1, n0, _CAUS, + 0, [() => exports.CoipAddressUsage$, + { [_xN]: _it }] +]; +var CoipPoolIdSet = [1, n0, _CPIS, + 0, [0, + { [_xN]: _it }] +]; +var CoipPoolSet = [1, n0, _CPS, + 0, [() => exports.CoipPool$, + { [_xN]: _it }] +]; +var ConditionValueList = [1, n0, _CVL, + 0, [0, + { [_xN]: _it }] +]; +var ConnectionNotificationIdsList = [1, n0, _CNIL, + 0, [0, + { [_xN]: _it }] +]; +var ConnectionNotificationSet = [1, n0, _CNSo, + 0, [() => exports.ConnectionNotification$, + { [_xN]: _it }] +]; +var ConversionIdStringList = [1, n0, _CISL, + 0, [0, + { [_xN]: _it }] +]; +var CoreCountList = [1, n0, _CCL, + 0, [1, + { [_xN]: _it }] +]; +var CpuManufacturerSet = [1, n0, _CMSp, + 0, [0, + { [_xN]: _it }] +]; +var CreateFleetErrorsSet = [1, n0, _CFES, + 0, [() => exports.CreateFleetError$, + { [_xN]: _it }] +]; +var CreateFleetInstancesSet = [1, n0, _CFIS, + 0, [() => exports.CreateFleetInstance$, + { [_xN]: _it }] +]; +var CreateVerifiedAccessEndpointPortRangeList = [1, n0, _CVAEPRL, + 0, [() => exports.CreateVerifiedAccessEndpointPortRange$, + { [_xN]: _it }] +]; +var CreateVerifiedAccessEndpointSubnetIdList = [1, n0, _CVAESIL, + 0, [0, + { [_xN]: _it }] +]; +var CreateVolumePermissionList = [1, n0, _CVPL, + 0, [() => exports.CreateVolumePermission$, + { [_xN]: _it }] +]; +var CustomerGatewayIdStringList = [1, n0, _CGISL, + 0, [0, + { [_xN]: _CGIu }] +]; +var CustomerGatewayList = [1, n0, _CGL, + 0, [() => exports.CustomerGateway$, + { [_xN]: _it }] +]; +var DataQueries = [1, n0, _DQa, + 0, () => exports.DataQuery$ +]; +var DataResponses = [1, n0, _DRat, + 0, [() => exports.DataResponse$, + { [_xN]: _it }] +]; +var DeclarativePoliciesReportList = [1, n0, _DPRL, + 0, [() => exports.DeclarativePoliciesReport$, + { [_xN]: _it }] +]; +var DedicatedHostIdList = [1, n0, _DHIL, + 0, [0, + { [_xN]: _it }] +]; +var DeleteFleetErrorSet = [1, n0, _DFES, + 0, [() => exports.DeleteFleetErrorItem$, + { [_xN]: _it }] +]; +var DeleteFleetSuccessSet = [1, n0, _DFSS, + 0, [() => exports.DeleteFleetSuccessItem$, + { [_xN]: _it }] +]; +var DeleteLaunchTemplateVersionsResponseErrorSet = [1, n0, _DLTVRES, + 0, [() => exports.DeleteLaunchTemplateVersionsResponseErrorItem$, + { [_xN]: _it }] +]; +var DeleteLaunchTemplateVersionsResponseSuccessSet = [1, n0, _DLTVRSS, + 0, [() => exports.DeleteLaunchTemplateVersionsResponseSuccessItem$, + { [_xN]: _it }] +]; +var DeleteQueuedReservedInstancesIdList = [1, n0, _DQRIIL, + 0, [0, + { [_xN]: _it }] +]; +var DeleteSnapshotResultSet = [1, n0, _DSRS, + 0, [() => exports.DeleteSnapshotReturnCode$, + { [_xN]: _it }] +]; +var DeprovisionedAddressSet = [1, n0, _DASe, + 0, [0, + { [_xN]: _it }] +]; +var DescribeConversionTaskList = [1, n0, _DCTL, + 0, [() => exports.ConversionTask$, + { [_xN]: _it }] +]; +var DescribeFastLaunchImagesSuccessSet = [1, n0, _DFLISS, + 0, [() => exports.DescribeFastLaunchImagesSuccessItem$, + { [_xN]: _it }] +]; +var DescribeFastSnapshotRestoreSuccessSet = [1, n0, _DFSRSS, + 0, [() => exports.DescribeFastSnapshotRestoreSuccessItem$, + { [_xN]: _it }] +]; +var DescribeFleetsErrorSet = [1, n0, _DFESe, + 0, [() => exports.DescribeFleetError$, + { [_xN]: _it }] +]; +var DescribeFleetsInstancesSet = [1, n0, _DFIS, + 0, [() => exports.DescribeFleetsInstances$, + { [_xN]: _it }] +]; +var DescribeImageReferencesImageIdStringList = (/* unused pure expression or super */ null && (64 | 0)); +var DescribeImageUsageReportsImageIdStringList = (/* unused pure expression or super */ null && (64 | 0)); +var DescribeInstanceTopologyGroupNameSet = (/* unused pure expression or super */ null && (64 | 0)); +var DescribeInstanceTopologyInstanceIdSet = (/* unused pure expression or super */ null && (64 | 0)); +var DeviceTrustProviderTypeList = [1, n0, _DTPTL, + 0, [0, + { [_xN]: _it }] +]; +var DhcpConfigurationList = [1, n0, _DCL, + 0, [() => exports.DhcpConfiguration$, + { [_xN]: _it }] +]; +var DhcpConfigurationValueList = [1, n0, _DCVL, + 0, [() => exports.AttributeValue$, + { [_xN]: _it }] +]; +var DhcpOptionsIdStringList = [1, n0, _DOISL, + 0, [0, + { [_xN]: _DOI }] +]; +var DhcpOptionsList = [1, n0, _DOL, + 0, [() => exports.DhcpOptions$, + { [_xN]: _it }] +]; +var DisableFastSnapshotRestoreErrorSet = [1, n0, _DFSRES, + 0, [() => exports.DisableFastSnapshotRestoreErrorItem$, + { [_xN]: _it }] +]; +var DisableFastSnapshotRestoreStateErrorSet = [1, n0, _DFSRSES, + 0, [() => exports.DisableFastSnapshotRestoreStateErrorItem$, + { [_xN]: _it }] +]; +var DisableFastSnapshotRestoreSuccessSet = [1, n0, _DFSRSSi, + 0, [() => exports.DisableFastSnapshotRestoreSuccessItem$, + { [_xN]: _it }] +]; +var DiskImageList = [1, n0, _DIL, + 0, [() => exports.DiskImage$, + 0] +]; +var DiskInfoList = [1, n0, _DILi, + 0, [() => exports.DiskInfo$, + { [_xN]: _it }] +]; +var DnsEntrySet = [1, n0, _DES, + 0, [() => exports.DnsEntry$, + { [_xN]: _it }] +]; +var EbsCardInfoList = [1, n0, _ECIL, + 0, [() => exports.EbsCardInfo$, + { [_xN]: _it }] +]; +var EbsStatusDetailsList = [1, n0, _ESDL, + 0, [() => exports.EbsStatusDetails$, + { [_xN]: _it }] +]; +var EgressOnlyInternetGatewayIdList = [1, n0, _EOIGIL, + 0, [0, + { [_xN]: _it }] +]; +var EgressOnlyInternetGatewayList = [1, n0, _EOIGL, + 0, [() => exports.EgressOnlyInternetGateway$, + { [_xN]: _it }] +]; +var EipAssociationIdList = [1, n0, _EAIL, + 0, [0, + { [_xN]: _it }] +]; +var ElasticGpuAssociationList = [1, n0, _EGAL, + 0, [() => exports.ElasticGpuAssociation$, + { [_xN]: _it }] +]; +var ElasticGpuIdSet = [1, n0, _EGIS, + 0, [0, + { [_xN]: _it }] +]; +var ElasticGpuSet = [1, n0, _EGS, + 0, [() => exports.ElasticGpus$, + { [_xN]: _it }] +]; +var ElasticGpuSpecificationList = [1, n0, _EGSL, + 0, [() => exports.ElasticGpuSpecification$, + { [_xN]: _EGSla }] +]; +var ElasticGpuSpecificationResponseList = [1, n0, _EGSRL, + 0, [() => exports.ElasticGpuSpecificationResponse$, + { [_xN]: _it }] +]; +var ElasticGpuSpecifications = [1, n0, _EGSlas, + 0, [() => exports.ElasticGpuSpecification$, + { [_xN]: _it }] +]; +var ElasticInferenceAcceleratorAssociationList = [1, n0, _EIAAL, + 0, [() => exports.ElasticInferenceAcceleratorAssociation$, + { [_xN]: _it }] +]; +var ElasticInferenceAccelerators = [1, n0, _EIAl, + 0, [() => exports.ElasticInferenceAccelerator$, + { [_xN]: _it }] +]; +var EnableFastSnapshotRestoreErrorSet = [1, n0, _EFSRES, + 0, [() => exports.EnableFastSnapshotRestoreErrorItem$, + { [_xN]: _it }] +]; +var EnableFastSnapshotRestoreStateErrorSet = [1, n0, _EFSRSES, + 0, [() => exports.EnableFastSnapshotRestoreStateErrorItem$, + { [_xN]: _it }] +]; +var EnableFastSnapshotRestoreSuccessSet = [1, n0, _EFSRSS, + 0, [() => exports.EnableFastSnapshotRestoreSuccessItem$, + { [_xN]: _it }] +]; +var EndpointSet = [1, n0, _ESnd, + 0, [() => exports.ClientVpnEndpoint$, + { [_xN]: _it }] +]; +var ErrorSet = [1, n0, _ESr, + 0, [() => exports.ValidationError$, + { [_xN]: _it }] +]; +var ExcludedInstanceTypeSet = [1, n0, _EITSx, + 0, [0, + { [_xN]: _it }] +]; +var ExecutableByStringList = [1, n0, _EBSL, + 0, [0, + { [_xN]: _EBx }] +]; +var ExplanationList = [1, n0, _EL, + 0, [() => exports.Explanation$, + { [_xN]: _it }] +]; +var ExportImageTaskIdList = [1, n0, _EITIL, + 0, [0, + { [_xN]: _EITIx }] +]; +var ExportImageTaskList = [1, n0, _EITL, + 0, [() => exports.ExportImageTask$, + { [_xN]: _it }] +]; +var ExportTaskIdStringList = [1, n0, _ETISL, + 0, [0, + { [_xN]: _ETI }] +]; +var ExportTaskList = [1, n0, _ETL, + 0, [() => exports.ExportTask$, + { [_xN]: _it }] +]; +var FailedCapacityReservationFleetCancellationResultSet = [1, n0, _FCRFCRS, + 0, [() => exports.FailedCapacityReservationFleetCancellationResult$, + { [_xN]: _it }] +]; +var FailedQueuedPurchaseDeletionSet = [1, n0, _FQPDS, + 0, [() => exports.FailedQueuedPurchaseDeletion$, + { [_xN]: _it }] +]; +var FastLaunchImageIdList = [1, n0, _FLIIL, + 0, [0, + { [_xN]: _IIm }] +]; +var FilterList = [1, n0, _FLi, + 0, [() => exports.Filter$, + { [_xN]: _Fil }] +]; +var FleetBlockDeviceMappingRequestList = [1, n0, _FBDMRL, + 0, [() => exports.FleetBlockDeviceMappingRequest$, + { [_xN]: _BDM }] +]; +var FleetCapacityReservationSet = [1, n0, _FCRS, + 0, [() => exports.FleetCapacityReservation$, + { [_xN]: _it }] +]; +var FleetIdSet = (/* unused pure expression or super */ null && (64 | 0)); +var FleetLaunchTemplateConfigList = [1, n0, _FLTCL, + 0, [() => exports.FleetLaunchTemplateConfig$, + { [_xN]: _it }] +]; +var FleetLaunchTemplateConfigListRequest = [1, n0, _FLTCLR, + 0, [() => exports.FleetLaunchTemplateConfigRequest$, + { [_xN]: _it }] +]; +var FleetLaunchTemplateOverridesList = [1, n0, _FLTOL, + 0, [() => exports.FleetLaunchTemplateOverrides$, + { [_xN]: _it }] +]; +var FleetLaunchTemplateOverridesListRequest = [1, n0, _FLTOLR, + 0, [() => exports.FleetLaunchTemplateOverridesRequest$, + { [_xN]: _it }] +]; +var FleetSet = [1, n0, _FSl, + 0, [() => exports.FleetData$, + { [_xN]: _it }] +]; +var FlowLogIdList = [1, n0, _FLIL, + 0, [0, + { [_xN]: _it }] +]; +var FlowLogResourceIds = [1, n0, _FLRI, + 0, [0, + { [_xN]: _it }] +]; +var FlowLogSet = [1, n0, _FLSl, + 0, [() => exports.FlowLog$, + { [_xN]: _it }] +]; +var FpgaDeviceInfoList = [1, n0, _FDIL, + 0, [() => exports.FpgaDeviceInfo$, + { [_xN]: _it }] +]; +var FpgaImageIdList = [1, n0, _FIIL, + 0, [0, + { [_xN]: _it }] +]; +var FpgaImageList = [1, n0, _FIL, + 0, [() => exports.FpgaImage$, + { [_xN]: _it }] +]; +var GpuDeviceInfoList = [1, n0, _GDIL, + 0, [() => exports.GpuDeviceInfo$, + { [_xN]: _it }] +]; +var GroupBySet = [1, n0, _GBS, + 0, [0, + { [_xN]: _it }] +]; +var GroupIdentifierList = [1, n0, _GIL, + 0, [() => exports.GroupIdentifier$, + { [_xN]: _it }] +]; +var GroupIdentifierSet = [1, n0, _GIS, + 0, [() => exports.SecurityGroupIdentifier$, + { [_xN]: _it }] +]; +var GroupIds = [1, n0, _GIro, + 0, [0, + { [_xN]: _it }] +]; +var GroupIdStringList = [1, n0, _GISL, + 0, [0, + { [_xN]: _gIr }] +]; +var GroupNameStringList = [1, n0, _GNSL, + 0, [0, + { [_xN]: _GN }] +]; +var HistoryRecords = [1, n0, _HRi, + 0, [() => exports.HistoryRecord$, + { [_xN]: _it }] +]; +var HistoryRecordSet = [1, n0, _HRSi, + 0, [() => exports.HistoryRecordEntry$, + { [_xN]: _it }] +]; +var HostInstanceList = [1, n0, _HIL, + 0, [() => exports.HostInstance$, + { [_xN]: _it }] +]; +var HostList = [1, n0, _HL, + 0, [() => exports.Host$, + { [_xN]: _it }] +]; +var HostOfferingSet = [1, n0, _HOS, + 0, [() => exports.HostOffering$, + { [_xN]: _it }] +]; +var HostReservationIdSet = [1, n0, _HRIS, + 0, [0, + { [_xN]: _it }] +]; +var HostReservationSet = [1, n0, _HRS, + 0, [() => exports.HostReservation$, + { [_xN]: _it }] +]; +var IamInstanceProfileAssociationSet = [1, n0, _IIPAS, + 0, [() => exports.IamInstanceProfileAssociation$, + { [_xN]: _it }] +]; +var IdFormatList = [1, n0, _IFL, + 0, [() => exports.IdFormat$, + { [_xN]: _it }] +]; +var IKEVersionsList = [1, n0, _IKEVL, + 0, [() => exports.IKEVersionsListValue$, + { [_xN]: _it }] +]; +var IKEVersionsRequestList = [1, n0, _IKEVRL, + 0, [() => exports.IKEVersionsRequestListValue$, + { [_xN]: _it }] +]; +var ImageAncestryEntryList = [1, n0, _IAEL, + 0, [() => exports.ImageAncestryEntry$, + { [_xN]: _it }] +]; +var ImageCriterionList = [1, n0, _ICL, + 0, [() => exports.ImageCriterion$, + { [_xN]: _it }] +]; +var ImageCriterionRequestList = [1, n0, _ICRL, + 0, [() => exports.ImageCriterionRequest$, + { [_xN]: _ICma }] +]; +var ImageDiskContainerList = [1, n0, _IDCL, + 0, [() => exports.ImageDiskContainer$, + { [_xN]: _it }] +]; +var ImageIdList = [1, n0, _IIL, + 0, [0, + { [_xN]: _it }] +]; +var ImageIdStringList = [1, n0, _IISL, + 0, [0, + { [_xN]: _IIm }] +]; +var ImageList = [1, n0, _ILm, + 0, [() => exports.Image$, + { [_xN]: _it }] +]; +var ImageNameList = [1, n0, _INLm, + 0, [0, + { [_xN]: _it }] +]; +var ImageNameRequestList = [1, n0, _INRL, + 0, [0, + { [_xN]: _it }] +]; +var ImageProviderList = [1, n0, _IPL, + 0, [0, + { [_xN]: _it }] +]; +var ImageProviderRequestList = [1, n0, _IPRL, + 0, [0, + { [_xN]: _it }] +]; +var ImageRecycleBinInfoList = [1, n0, _IRBIL, + 0, [() => exports.ImageRecycleBinInfo$, + { [_xN]: _it }] +]; +var ImageReferenceList = [1, n0, _IRL, + 0, [() => exports.ImageReference$, + { [_xN]: _it }] +]; +var ImageUsageReportEntryList = [1, n0, _IUREL, + 0, [() => exports.ImageUsageReportEntry$, + { [_xN]: _it }] +]; +var ImageUsageReportIdStringList = (/* unused pure expression or super */ null && (64 | 0)); +var ImageUsageReportList = [1, n0, _IURL, + 0, [() => exports.ImageUsageReport$, + { [_xN]: _it }] +]; +var ImageUsageReportUserIdStringList = [1, n0, _IURUISL, + 0, [0, + { [_xN]: _UI }] +]; +var ImageUsageResourceTypeList = [1, n0, _IURTL, + 0, [() => exports.ImageUsageResourceType$, + { [_xN]: _it }] +]; +var ImageUsageResourceTypeOptionList = [1, n0, _IURTOL, + 0, [() => exports.ImageUsageResourceTypeOption$, + { [_xN]: _it }] +]; +var ImageUsageResourceTypeOptionRequestList = [1, n0, _IURTORL, + 0, [() => exports.ImageUsageResourceTypeOptionRequest$, + 0] +]; +var ImageUsageResourceTypeOptionValuesList = [1, n0, _IURTOVL, + 0, [0, + { [_xN]: _it }] +]; +var ImageUsageResourceTypeRequestList = [1, n0, _IURTRL, + 0, [() => exports.ImageUsageResourceTypeRequest$, + 0] +]; +var ImportImageLicenseSpecificationListRequest = [1, n0, _IILSLR, + 0, [() => exports.ImportImageLicenseConfigurationRequest$, + { [_xN]: _it }] +]; +var ImportImageLicenseSpecificationListResponse = [1, n0, _IILSLRm, + 0, [() => exports.ImportImageLicenseConfigurationResponse$, + { [_xN]: _it }] +]; +var ImportImageTaskList = [1, n0, _IITL, + 0, [() => exports.ImportImageTask$, + { [_xN]: _it }] +]; +var ImportInstanceVolumeDetailSet = [1, n0, _IIVDS, + 0, [() => exports.ImportInstanceVolumeDetailItem$, + { [_xN]: _it }] +]; +var ImportSnapshotTaskIdList = [1, n0, _ISTIL, + 0, [0, + { [_xN]: _ITI }] +]; +var ImportSnapshotTaskList = [1, n0, _ISTL, + 0, [() => exports.ImportSnapshotTask$, + { [_xN]: _it }] +]; +var ImportTaskIdList = [1, n0, _ITIL, + 0, [0, + { [_xN]: _ITI }] +]; +var InferenceDeviceInfoList = [1, n0, _IDIL, + 0, [() => exports.InferenceDeviceInfo$, + 0] +]; +var InsideCidrBlocksStringList = [1, n0, _ICBSL, + 0, [0, + { [_xN]: _it }] +]; +var InstanceBlockDeviceMappingList = [1, n0, _IBDML, + 0, [() => exports.InstanceBlockDeviceMapping$, + { [_xN]: _it }] +]; +var InstanceBlockDeviceMappingSpecificationList = [1, n0, _IBDMSL, + 0, [() => exports.InstanceBlockDeviceMappingSpecification$, + { [_xN]: _it }] +]; +var InstanceConnectEndpointSet = [1, n0, _ICES, + 0, [() => exports.Ec2InstanceConnectEndpoint$, + { [_xN]: _it }] +]; +var InstanceCountList = [1, n0, _ICLn, + 0, [() => exports.InstanceCount$, + { [_xN]: _it }] +]; +var InstanceCreditSpecificationList = [1, n0, _ICSL, + 0, [() => exports.InstanceCreditSpecification$, + { [_xN]: _it }] +]; +var InstanceCreditSpecificationListRequest = [1, n0, _ICSLR, + 0, [() => exports.InstanceCreditSpecificationRequest$, + { [_xN]: _it }] +]; +var InstanceEventWindowIdSet = [1, n0, _IEWIS, + 0, [0, + { [_xN]: _IEWI }] +]; +var InstanceEventWindowSet = [1, n0, _IEWSn, + 0, [() => exports.InstanceEventWindow$, + { [_xN]: _it }] +]; +var InstanceEventWindowTimeRangeList = [1, n0, _IEWTRL, + 0, [() => exports.InstanceEventWindowTimeRange$, + { [_xN]: _it }] +]; +var InstanceEventWindowTimeRangeRequestSet = [1, n0, _IEWTRRS, + 0, () => exports.InstanceEventWindowTimeRangeRequest$ +]; +var InstanceGenerationSet = [1, n0, _IGS, + 0, [0, + { [_xN]: _it }] +]; +var InstanceIdList = [1, n0, _IILn, + 0, [0, + { [_xN]: _it }] +]; +var InstanceIdSet = [1, n0, _IIS, + 0, [0, + { [_xN]: _it }] +]; +var InstanceIdsSet = [1, n0, _IISn, + 0, [0, + { [_xN]: _it }] +]; +var InstanceIdStringList = [1, n0, _IISLn, + 0, [0, + { [_xN]: _II }] +]; +var InstanceIdUpdateStringList = [1, n0, _IIUSL, + 0, [0, + { [_xN]: _it }] +]; +var InstanceImageMetadataList = [1, n0, _IIML, + 0, [() => exports.InstanceImageMetadata$, + { [_xN]: _it }] +]; +var InstanceIpv4PrefixList = [1, n0, _IIPL, + 0, [() => exports.InstanceIpv4Prefix$, + { [_xN]: _it }] +]; +var InstanceIpv6AddressList = [1, n0, _IIAL, + 0, [() => exports.InstanceIpv6Address$, + { [_xN]: _it }] +]; +var InstanceIpv6AddressListRequest = [1, n0, _IIALR, + 0, [() => exports.InstanceIpv6AddressRequest$, + { [_xN]: _IIA }] +]; +var InstanceIpv6PrefixList = [1, n0, _IIPLn, + 0, [() => exports.InstanceIpv6Prefix$, + { [_xN]: _it }] +]; +var InstanceList = [1, n0, _ILns, + 0, [() => exports.Instance$, + { [_xN]: _it }] +]; +var InstanceMonitoringList = [1, n0, _IML, + 0, [() => exports.InstanceMonitoring$, + { [_xN]: _it }] +]; +var InstanceNetworkInterfaceList = [1, n0, _INIL, + 0, [() => exports.InstanceNetworkInterface$, + { [_xN]: _it }] +]; +var InstanceNetworkInterfaceSpecificationList = [1, n0, _INISL, + 0, [() => exports.InstanceNetworkInterfaceSpecification$, + { [_xN]: _it }] +]; +var InstancePrivateIpAddressList = [1, n0, _IPIAL, + 0, [() => exports.InstancePrivateIpAddress$, + { [_xN]: _it }] +]; +var InstanceSecondaryInterfaceList = [1, n0, _ISIL, + 0, [() => exports.InstanceSecondaryInterface$, + { [_xN]: _it }] +]; +var InstanceSecondaryInterfacePrivateIpAddressList = [1, n0, _ISIPIAL, + 0, [() => exports.InstanceSecondaryInterfacePrivateIpAddress$, + { [_xN]: _it }] +]; +var InstanceSecondaryInterfacePrivateIpAddressListRequest = [1, n0, _ISIPIALR, + 0, [() => exports.InstanceSecondaryInterfacePrivateIpAddressRequest$, + { [_xN]: _it }] +]; +var InstanceSecondaryInterfaceSpecificationListRequest = [1, n0, _ISISLR, + 0, [() => exports.InstanceSecondaryInterfaceSpecificationRequest$, + { [_xN]: _it }] +]; +var InstanceSet = [1, n0, _ISnstan, + 0, [() => exports.InstanceTopology$, + { [_xN]: _it }] +]; +var InstanceStateChangeList = [1, n0, _ISCL, + 0, [() => exports.InstanceStateChange$, + { [_xN]: _it }] +]; +var InstanceStatusDetailsList = [1, n0, _ISDL, + 0, [() => exports.InstanceStatusDetails$, + { [_xN]: _it }] +]; +var InstanceStatusEventList = [1, n0, _ISEL, + 0, [() => exports.InstanceStatusEvent$, + { [_xN]: _it }] +]; +var InstanceStatusList = [1, n0, _ISLn, + 0, [() => exports.InstanceStatus$, + { [_xN]: _it }] +]; +var InstanceTagKeySet = [1, n0, _ITKS, + 0, [0, + { [_xN]: _it }] +]; +var InstanceTypeInfoFromInstanceRequirementsSet = [1, n0, _ITIFIRS, + 0, [() => exports.InstanceTypeInfoFromInstanceRequirements$, + { [_xN]: _it }] +]; +var InstanceTypeInfoList = [1, n0, _ITILn, + 0, [() => exports.InstanceTypeInfo$, + { [_xN]: _it }] +]; +var InstanceTypeList = (/* unused pure expression or super */ null && (64 | 0)); +var InstanceTypeOfferingsList = [1, n0, _ITOL, + 0, [() => exports.InstanceTypeOffering$, + { [_xN]: _it }] +]; +var InstanceTypes = (/* unused pure expression or super */ null && (64 | 0)); +var InstanceTypesList = [1, n0, _ITL, + 0, [0, + { [_xN]: _it }] +]; +var InstanceUsageSet = [1, n0, _IUS, + 0, [() => exports.InstanceUsage$, + { [_xN]: _it }] +]; +var InternetGatewayAttachmentList = [1, n0, _IGAL, + 0, [() => exports.InternetGatewayAttachment$, + { [_xN]: _it }] +]; +var InternetGatewayIdList = [1, n0, _IGIL, + 0, [0, + { [_xN]: _it }] +]; +var InternetGatewayList = [1, n0, _IGL, + 0, [() => exports.InternetGateway$, + { [_xN]: _it }] +]; +var IpAddressList = [1, n0, _IAL, + 0, [0, + { [_xN]: _it }] +]; +var IpamAddressHistoryRecordSet = [1, n0, _IAHRS, + 0, [() => exports.IpamAddressHistoryRecord$, + { [_xN]: _it }] +]; +var IpamDiscoveredAccountSet = [1, n0, _IDAS, + 0, [() => exports.IpamDiscoveredAccount$, + { [_xN]: _it }] +]; +var IpamDiscoveredPublicAddressSet = [1, n0, _IDPAS, + 0, [() => exports.IpamDiscoveredPublicAddress$, + { [_xN]: _it }] +]; +var IpamDiscoveredResourceCidrSet = [1, n0, _IDRCS, + 0, [() => exports.IpamDiscoveredResourceCidr$, + { [_xN]: _it }] +]; +var IpamExternalResourceVerificationTokenSet = [1, n0, _IERVTS, + 0, [() => exports.IpamExternalResourceVerificationToken$, + { [_xN]: _it }] +]; +var IpamOperatingRegionSet = [1, n0, _IORS, + 0, [() => exports.IpamOperatingRegion$, + { [_xN]: _it }] +]; +var IpamOrganizationalUnitExclusionSet = [1, n0, _IOUES, + 0, [() => exports.IpamOrganizationalUnitExclusion$, + { [_xN]: _it }] +]; +var IpamPolicyAllocationRuleList = [1, n0, _IPARL, + 0, [() => exports.IpamPolicyAllocationRule$, + { [_xN]: _it }] +]; +var IpamPolicyAllocationRuleListRequest = [1, n0, _IPARLR, + 0, [() => exports.IpamPolicyAllocationRuleRequest$, + { [_xN]: _it }] +]; +var IpamPolicyDocumentSet = [1, n0, _IPDS, + 0, [() => exports.IpamPolicyDocument$, + { [_xN]: _it }] +]; +var IpamPolicyOrganizationTargetSet = [1, n0, _IPOTS, + 0, [() => exports.IpamPolicyOrganizationTarget$, + { [_xN]: _it }] +]; +var IpamPolicySet = [1, n0, _IPSpa, + 0, [() => exports.IpamPolicy$, + { [_xN]: _it }] +]; +var IpamPoolAllocationAllowedCidrs = [1, n0, _IPAAC, + 0, [0, + { [_xN]: _it }] +]; +var IpamPoolAllocationDisallowedCidrs = [1, n0, _IPADC, + 0, [0, + { [_xN]: _it }] +]; +var IpamPoolAllocationSet = [1, n0, _IPAS, + 0, [() => exports.IpamPoolAllocation$, + { [_xN]: _it }] +]; +var IpamPoolCidrSet = [1, n0, _IPCS, + 0, [() => exports.IpamPoolCidr$, + { [_xN]: _it }] +]; +var IpamPoolSet = [1, n0, _IPSpam, + 0, [() => exports.IpamPool$, + { [_xN]: _it }] +]; +var IpamPrefixListResolverRuleConditionRequestSet = [1, n0, _IPLRRCRS, + 0, [() => exports.IpamPrefixListResolverRuleConditionRequest$, + { [_xN]: _Condi }] +]; +var IpamPrefixListResolverRuleConditionSet = [1, n0, _IPLRRCS, + 0, [() => exports.IpamPrefixListResolverRuleCondition$, + { [_xN]: _it }] +]; +var IpamPrefixListResolverRuleRequestSet = [1, n0, _IPLRRRS, + 0, [() => exports.IpamPrefixListResolverRuleRequest$, + { [_xN]: _Rul }] +]; +var IpamPrefixListResolverRuleSet = [1, n0, _IPLRRS, + 0, [() => exports.IpamPrefixListResolverRule$, + { [_xN]: _it }] +]; +var IpamPrefixListResolverSet = [1, n0, _IPLRS, + 0, [() => exports.IpamPrefixListResolver$, + { [_xN]: _it }] +]; +var IpamPrefixListResolverTargetSet = [1, n0, _IPLRTS, + 0, [() => exports.IpamPrefixListResolverTarget$, + { [_xN]: _it }] +]; +var IpamPrefixListResolverVersionEntrySet = [1, n0, _IPLRVES, + 0, [() => exports.IpamPrefixListResolverVersionEntry$, + { [_xN]: _it }] +]; +var IpamPrefixListResolverVersionNumberSet = [1, n0, _IPLRVNS, + 0, [1, + { [_xN]: _it }] +]; +var IpamPrefixListResolverVersionSet = [1, n0, _IPLRVS, + 0, [() => exports.IpamPrefixListResolverVersion$, + { [_xN]: _it }] +]; +var IpamPublicAddressSecurityGroupList = [1, n0, _IPASGL, + 0, [() => exports.IpamPublicAddressSecurityGroup$, + { [_xN]: _it }] +]; +var IpamPublicAddressTagList = [1, n0, _IPATL, + 0, [() => exports.IpamPublicAddressTag$, + { [_xN]: _it }] +]; +var IpamResourceCidrSet = [1, n0, _IRCS, + 0, [() => exports.IpamResourceCidr$, + { [_xN]: _it }] +]; +var IpamResourceDiscoveryAssociationSet = [1, n0, _IRDAS, + 0, [() => exports.IpamResourceDiscoveryAssociation$, + { [_xN]: _it }] +]; +var IpamResourceDiscoverySet = [1, n0, _IRDS, + 0, [() => exports.IpamResourceDiscovery$, + { [_xN]: _it }] +]; +var IpamResourceTagList = [1, n0, _IRTL, + 0, [() => exports.IpamResourceTag$, + { [_xN]: _it }] +]; +var IpamScopeSet = [1, n0, _ISSp, + 0, [() => exports.IpamScope$, + { [_xN]: _it }] +]; +var IpamSet = [1, n0, _ISpam, + 0, [() => exports.Ipam$, + { [_xN]: _it }] +]; +var IpList = [1, n0, _ILp, + 0, [0, + { [_xN]: _it }] +]; +var IpPermissionList = [1, n0, _IPLp, + 0, [() => exports.IpPermission$, + { [_xN]: _it }] +]; +var IpPrefixList = [1, n0, _IPLpr, + 0, [0, + { [_xN]: _it }] +]; +var IpRangeList = [1, n0, _IRLp, + 0, [() => exports.IpRange$, + { [_xN]: _it }] +]; +var IpRanges = [1, n0, _IRpa, + 0, [0, + { [_xN]: _it }] +]; +var Ipv4PrefixesList = [1, n0, _IPLpv, + 0, [() => exports.Ipv4PrefixSpecification$, + { [_xN]: _it }] +]; +var Ipv4PrefixList = [1, n0, _IPLpvr, + 0, [() => exports.Ipv4PrefixSpecificationRequest$, + { [_xN]: _it }] +]; +var Ipv4PrefixListResponse = [1, n0, _IPLRpv, + 0, [() => exports.Ipv4PrefixSpecificationResponse$, + { [_xN]: _it }] +]; +var Ipv6AddressList = [1, n0, _IALp, + 0, [0, + { [_xN]: _it }] +]; +var Ipv6CidrAssociationSet = [1, n0, _ICAS, + 0, [() => exports.Ipv6CidrAssociation$, + { [_xN]: _it }] +]; +var Ipv6CidrBlockSet = [1, n0, _ICBSp, + 0, [() => exports.Ipv6CidrBlock$, + { [_xN]: _it }] +]; +var Ipv6PoolIdList = [1, n0, _IPIL, + 0, [0, + { [_xN]: _it }] +]; +var Ipv6PoolSet = [1, n0, _IPSpv, + 0, [() => exports.Ipv6Pool$, + { [_xN]: _it }] +]; +var Ipv6PrefixesList = [1, n0, _IPLpvre, + 0, [() => exports.Ipv6PrefixSpecification$, + { [_xN]: _it }] +]; +var Ipv6PrefixList = [1, n0, _IPLpvref, + 0, [() => exports.Ipv6PrefixSpecificationRequest$, + { [_xN]: _it }] +]; +var Ipv6PrefixListResponse = [1, n0, _IPLRpvr, + 0, [() => exports.Ipv6PrefixSpecificationResponse$, + { [_xN]: _it }] +]; +var Ipv6RangeList = [1, n0, _IRLpv, + 0, [() => exports.Ipv6Range$, + { [_xN]: _it }] +]; +var KeyNameStringList = [1, n0, _KNSL, + 0, [0, + { [_xN]: _KN }] +]; +var KeyPairIdStringList = [1, n0, _KPISL, + 0, [0, + { [_xN]: _KPI }] +]; +var KeyPairList = [1, n0, _KPL, + 0, [() => exports.KeyPairInfo$, + { [_xN]: _it }] +]; +var LaunchPermissionList = [1, n0, _LPL, + 0, [() => exports.LaunchPermission$, + { [_xN]: _it }] +]; +var LaunchSpecsList = [1, n0, _LSLa, + 0, [() => exports.SpotFleetLaunchSpecification$, + { [_xN]: _it }] +]; +var LaunchTemplateBlockDeviceMappingList = [1, n0, _LTBDML, + 0, [() => exports.LaunchTemplateBlockDeviceMapping$, + { [_xN]: _it }] +]; +var LaunchTemplateBlockDeviceMappingRequestList = [1, n0, _LTBDMRL, + 0, [() => exports.LaunchTemplateBlockDeviceMappingRequest$, + { [_xN]: _BDM }] +]; +var LaunchTemplateConfigList = [1, n0, _LTCL, + 0, [() => exports.LaunchTemplateConfig$, + { [_xN]: _it }] +]; +var LaunchTemplateElasticInferenceAcceleratorList = [1, n0, _LTEIAL, + 0, [() => exports.LaunchTemplateElasticInferenceAccelerator$, + { [_xN]: _it }] +]; +var LaunchTemplateElasticInferenceAcceleratorResponseList = [1, n0, _LTEIARL, + 0, [() => exports.LaunchTemplateElasticInferenceAcceleratorResponse$, + { [_xN]: _it }] +]; +var LaunchTemplateIdStringList = [1, n0, _LTISL, + 0, [0, + { [_xN]: _it }] +]; +var LaunchTemplateInstanceNetworkInterfaceSpecificationList = [1, n0, _LTINISL, + 0, [() => exports.LaunchTemplateInstanceNetworkInterfaceSpecification$, + { [_xN]: _it }] +]; +var LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = [1, n0, _LTINISRL, + 0, [() => exports.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$, + { [_xN]: _INIS }] +]; +var LaunchTemplateInstanceSecondaryInterfaceSpecificationList = [1, n0, _LTISISL, + 0, [() => exports.LaunchTemplateInstanceSecondaryInterfaceSpecification$, + { [_xN]: _it }] +]; +var LaunchTemplateInstanceSecondaryInterfaceSpecificationRequestList = [1, n0, _LTISISRL, + 0, [() => exports.LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest$, + { [_xN]: _ISIS }] +]; +var LaunchTemplateLicenseList = [1, n0, _LTLL, + 0, [() => exports.LaunchTemplateLicenseConfiguration$, + { [_xN]: _it }] +]; +var LaunchTemplateLicenseSpecificationListRequest = [1, n0, _LTLSLR, + 0, [() => exports.LaunchTemplateLicenseConfigurationRequest$, + { [_xN]: _it }] +]; +var LaunchTemplateNameStringList = [1, n0, _LTNSL, + 0, [0, + { [_xN]: _it }] +]; +var LaunchTemplateOverridesList = [1, n0, _LTOL, + 0, [() => exports.LaunchTemplateOverrides$, + { [_xN]: _it }] +]; +var LaunchTemplateSet = [1, n0, _LTSa, + 0, [() => exports.LaunchTemplate$, + { [_xN]: _it }] +]; +var LaunchTemplateTagSpecificationList = [1, n0, _LTTSL, + 0, [() => exports.LaunchTemplateTagSpecification$, + { [_xN]: _it }] +]; +var LaunchTemplateTagSpecificationRequestList = [1, n0, _LTTSRL, + 0, [() => exports.LaunchTemplateTagSpecificationRequest$, + { [_xN]: _LTTSR }] +]; +var LaunchTemplateVersionSet = [1, n0, _LTVS, + 0, [() => exports.LaunchTemplateVersion$, + { [_xN]: _it }] +]; +var LicenseList = [1, n0, _LL, + 0, [() => exports.LicenseConfiguration$, + { [_xN]: _it }] +]; +var LicenseSpecificationListRequest = [1, n0, _LSLR, + 0, [() => exports.LicenseConfigurationRequest$, + { [_xN]: _it }] +]; +var LoadPermissionList = [1, n0, _LPLo, + 0, [() => exports.LoadPermission$, + { [_xN]: _it }] +]; +var LoadPermissionListRequest = [1, n0, _LPLR, + 0, [() => exports.LoadPermissionRequest$, + { [_xN]: _it }] +]; +var LocalGatewayIdSet = [1, n0, _LGIS, + 0, [0, + { [_xN]: _it }] +]; +var LocalGatewayRouteList = [1, n0, _LGRL, + 0, [() => exports.LocalGatewayRoute$, + { [_xN]: _it }] +]; +var LocalGatewayRouteTableIdSet = [1, n0, _LGRTIS, + 0, [0, + { [_xN]: _it }] +]; +var LocalGatewayRouteTableSet = [1, n0, _LGRTS, + 0, [() => exports.LocalGatewayRouteTable$, + { [_xN]: _it }] +]; +var LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet = [1, n0, _LGRTVIGAIS, + 0, [0, + { [_xN]: _it }] +]; +var LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet = [1, n0, _LGRTVIGAS, + 0, [() => exports.LocalGatewayRouteTableVirtualInterfaceGroupAssociation$, + { [_xN]: _it }] +]; +var LocalGatewayRouteTableVpcAssociationIdSet = [1, n0, _LGRTVAIS, + 0, [0, + { [_xN]: _it }] +]; +var LocalGatewayRouteTableVpcAssociationSet = [1, n0, _LGRTVAS, + 0, [() => exports.LocalGatewayRouteTableVpcAssociation$, + { [_xN]: _it }] +]; +var LocalGatewaySet = [1, n0, _LGS, + 0, [() => exports.LocalGateway$, + { [_xN]: _it }] +]; +var LocalGatewayVirtualInterfaceGroupIdSet = [1, n0, _LGVIGIS, + 0, [0, + { [_xN]: _it }] +]; +var LocalGatewayVirtualInterfaceGroupSet = [1, n0, _LGVIGS, + 0, [() => exports.LocalGatewayVirtualInterfaceGroup$, + { [_xN]: _it }] +]; +var LocalGatewayVirtualInterfaceIdSet = [1, n0, _LGVIIS, + 0, [0, + { [_xN]: _it }] +]; +var LocalGatewayVirtualInterfaceSet = [1, n0, _LGVIS, + 0, [() => exports.LocalGatewayVirtualInterface$, + { [_xN]: _it }] +]; +var LocalStorageTypeSet = [1, n0, _LSTS, + 0, [0, + { [_xN]: _it }] +]; +var LockedSnapshotsInfoList = [1, n0, _LSIL, + 0, [() => exports.LockedSnapshotsInfo$, + { [_xN]: _it }] +]; +var MacHostList = [1, n0, _MHL, + 0, [() => exports.MacHost$, + { [_xN]: _it }] +]; +var MacModificationTaskIdList = [1, n0, _MMTIL, + 0, [0, + { [_xN]: _it }] +]; +var MacModificationTaskList = [1, n0, _MMTL, + 0, [() => exports.MacModificationTask$, + { [_xN]: _it }] +]; +var MacOSVersionStringList = [1, n0, _MOSVSL, + 0, [0, + { [_xN]: _it }] +]; +var ManagedPrefixListSet = [1, n0, _MPLS, + 0, [() => exports.ManagedPrefixList$, + { [_xN]: _it }] +]; +var MarketplaceProductCodeList = [1, n0, _MPCL, + 0, [0, + { [_xN]: _it }] +]; +var MarketplaceProductCodeRequestList = [1, n0, _MPCRL, + 0, [0, + { [_xN]: _it }] +]; +var MediaDeviceInfoList = [1, n0, _MDIL, + 0, [() => exports.MediaDeviceInfo$, + { [_xN]: _it }] +]; +var MetricDataResultSet = [1, n0, _MDRS, + 0, [() => exports.MetricDataResult$, + { [_xN]: _it }] +]; +var MetricDimensionResultSet = [1, n0, _MDRSe, + 0, [() => exports.CapacityManagerDimension$, + { [_xN]: _it }] +]; +var MetricPoints = [1, n0, _MPe, + 0, [() => exports.MetricPoint$, + { [_xN]: _it }] +]; +var MetricSet = [1, n0, _MSe, + 0, [0, + { [_xN]: _it }] +]; +var MetricValueSet = [1, n0, _MVS, + 0, [() => exports.MetricValue$, + { [_xN]: _it }] +]; +var ModifyVerifiedAccessEndpointPortRangeList = [1, n0, _MVAEPRL, + 0, [() => exports.ModifyVerifiedAccessEndpointPortRange$, + { [_xN]: _it }] +]; +var ModifyVerifiedAccessEndpointSubnetIdList = [1, n0, _MVAESIL, + 0, [0, + { [_xN]: _it }] +]; +var MovingAddressStatusSet = [1, n0, _MASS, + 0, [() => exports.MovingAddressStatus$, + { [_xN]: _it }] +]; +var NatGatewayAddressList = [1, n0, _NGAL, + 0, [() => exports.NatGatewayAddress$, + { [_xN]: _it }] +]; +var NatGatewayAttachedApplianceList = [1, n0, _NGAAL, + 0, [() => exports.NatGatewayAttachedAppliance$, + { [_xN]: _it }] +]; +var NatGatewayIdStringList = [1, n0, _NGISL, + 0, [0, + { [_xN]: _it }] +]; +var NatGatewayList = [1, n0, _NGL, + 0, [() => exports.NatGateway$, + { [_xN]: _it }] +]; +var NetworkAclAssociationList = [1, n0, _NAAL, + 0, [() => exports.NetworkAclAssociation$, + { [_xN]: _it }] +]; +var NetworkAclEntryList = [1, n0, _NAEL, + 0, [() => exports.NetworkAclEntry$, + { [_xN]: _it }] +]; +var NetworkAclIdStringList = [1, n0, _NAISL, + 0, [0, + { [_xN]: _it }] +]; +var NetworkAclList = [1, n0, _NAL, + 0, [() => exports.NetworkAcl$, + { [_xN]: _it }] +]; +var NetworkCardInfoList = [1, n0, _NCIL, + 0, [() => exports.NetworkCardInfo$, + { [_xN]: _it }] +]; +var NetworkInsightsAccessScopeAnalysisIdList = [1, n0, _NIASAIL, + 0, [0, + { [_xN]: _it }] +]; +var NetworkInsightsAccessScopeAnalysisList = [1, n0, _NIASAL, + 0, [() => exports.NetworkInsightsAccessScopeAnalysis$, + { [_xN]: _it }] +]; +var NetworkInsightsAccessScopeIdList = [1, n0, _NIASIL, + 0, [0, + { [_xN]: _it }] +]; +var NetworkInsightsAccessScopeList = [1, n0, _NIASL, + 0, [() => exports.NetworkInsightsAccessScope$, + { [_xN]: _it }] +]; +var NetworkInsightsAnalysisIdList = [1, n0, _NIAIL, + 0, [0, + { [_xN]: _it }] +]; +var NetworkInsightsAnalysisList = [1, n0, _NIAL, + 0, [() => exports.NetworkInsightsAnalysis$, + { [_xN]: _it }] +]; +var NetworkInsightsPathIdList = [1, n0, _NIPIL, + 0, [0, + { [_xN]: _it }] +]; +var NetworkInsightsPathList = [1, n0, _NIPL, + 0, [() => exports.NetworkInsightsPath$, + { [_xN]: _it }] +]; +var NetworkInterfaceIdList = [1, n0, _NIIL, + 0, [0, + { [_xN]: _it }] +]; +var NetworkInterfaceIdSet = [1, n0, _NIIS, + 0, [0, + { [_xN]: _it }] +]; +var NetworkInterfaceIpv6AddressesList = [1, n0, _NIIAL, + 0, [() => exports.NetworkInterfaceIpv6Address$, + { [_xN]: _it }] +]; +var NetworkInterfaceList = [1, n0, _NIL, + 0, [() => exports.NetworkInterface$, + { [_xN]: _it }] +]; +var NetworkInterfacePermissionIdList = (/* unused pure expression or super */ null && (64 | 0)); +var NetworkInterfacePermissionList = [1, n0, _NIPLe, + 0, [() => exports.NetworkInterfacePermission$, + { [_xN]: _it }] +]; +var NetworkInterfacePrivateIpAddressList = [1, n0, _NIPIAL, + 0, [() => exports.NetworkInterfacePrivateIpAddress$, + { [_xN]: _it }] +]; +var NetworkNodeSet = [1, n0, _NNS, + 0, [0, + { [_xN]: _it }] +]; +var NetworkNodesList = [1, n0, _NNL, + 0, [0, + { [_xN]: _it }] +]; +var NeuronDeviceInfoList = [1, n0, _NDIL, + 0, [() => exports.NeuronDeviceInfo$, + { [_xN]: _it }] +]; +var NewDhcpConfigurationList = [1, n0, _NDCL, + 0, [() => exports.NewDhcpConfiguration$, + { [_xN]: _it }] +]; +var NitroTpmSupportedVersionsList = [1, n0, _NTSVL, + 0, [0, + { [_xN]: _it }] +]; +var OccurrenceDayRequestSet = [1, n0, _ODRS, + 0, [1, + { [_xN]: _ODcc }] +]; +var OccurrenceDaySet = [1, n0, _ODS, + 0, [1, + { [_xN]: _it }] +]; +var OrganizationalUnitArnStringList = [1, n0, _OUASL, + 0, [0, + { [_xN]: _OUA }] +]; +var OrganizationArnStringList = [1, n0, _OASL, + 0, [0, + { [_xN]: _OArg }] +]; +var OutpostLagIdSet = [1, n0, _OLIS, + 0, [0, + { [_xN]: _it }] +]; +var OutpostLagSet = [1, n0, _OLS, + 0, [() => exports.OutpostLag$, + { [_xN]: _it }] +]; +var OwnerStringList = [1, n0, _OSL, + 0, [0, + { [_xN]: _Own }] +]; +var PathComponentList = [1, n0, _PCL, + 0, [() => exports.PathComponent$, + { [_xN]: _it }] +]; +var PerformanceFactorReferenceSet = [1, n0, _PFRS, + 0, [() => exports.PerformanceFactorReference$, + { [_xN]: _it }] +]; +var PerformanceFactorReferenceSetRequest = [1, n0, _PFRSR, + 0, [() => exports.PerformanceFactorReferenceRequest$, + { [_xN]: _it }] +]; +var Phase1DHGroupNumbersList = [1, n0, _PDHGNL, + 0, [() => exports.Phase1DHGroupNumbersListValue$, + { [_xN]: _it }] +]; +var Phase1DHGroupNumbersRequestList = [1, n0, _PDHGNRL, + 0, [() => exports.Phase1DHGroupNumbersRequestListValue$, + { [_xN]: _it }] +]; +var Phase1EncryptionAlgorithmsList = [1, n0, _PEAL, + 0, [() => exports.Phase1EncryptionAlgorithmsListValue$, + { [_xN]: _it }] +]; +var Phase1EncryptionAlgorithmsRequestList = [1, n0, _PEARL, + 0, [() => exports.Phase1EncryptionAlgorithmsRequestListValue$, + { [_xN]: _it }] +]; +var Phase1IntegrityAlgorithmsList = [1, n0, _PIAL, + 0, [() => exports.Phase1IntegrityAlgorithmsListValue$, + { [_xN]: _it }] +]; +var Phase1IntegrityAlgorithmsRequestList = [1, n0, _PIARL, + 0, [() => exports.Phase1IntegrityAlgorithmsRequestListValue$, + { [_xN]: _it }] +]; +var Phase2DHGroupNumbersList = [1, n0, _PDHGNLh, + 0, [() => exports.Phase2DHGroupNumbersListValue$, + { [_xN]: _it }] +]; +var Phase2DHGroupNumbersRequestList = [1, n0, _PDHGNRLh, + 0, [() => exports.Phase2DHGroupNumbersRequestListValue$, + { [_xN]: _it }] +]; +var Phase2EncryptionAlgorithmsList = [1, n0, _PEALh, + 0, [() => exports.Phase2EncryptionAlgorithmsListValue$, + { [_xN]: _it }] +]; +var Phase2EncryptionAlgorithmsRequestList = [1, n0, _PEARLh, + 0, [() => exports.Phase2EncryptionAlgorithmsRequestListValue$, + { [_xN]: _it }] +]; +var Phase2IntegrityAlgorithmsList = [1, n0, _PIALh, + 0, [() => exports.Phase2IntegrityAlgorithmsListValue$, + { [_xN]: _it }] +]; +var Phase2IntegrityAlgorithmsRequestList = [1, n0, _PIARLh, + 0, [() => exports.Phase2IntegrityAlgorithmsRequestListValue$, + { [_xN]: _it }] +]; +var PlacementGroupIdStringList = [1, n0, _PGISL, + 0, [0, + { [_xN]: _GIr }] +]; +var PlacementGroupList = [1, n0, _PGL, + 0, [() => exports.PlacementGroup$, + { [_xN]: _it }] +]; +var PlacementGroupStrategyList = [1, n0, _PGSL, + 0, [0, + { [_xN]: _it }] +]; +var PlacementGroupStringList = (/* unused pure expression or super */ null && (64 | 0)); +var PoolCidrBlocksSet = [1, n0, _PCBS, + 0, [() => exports.PoolCidrBlock$, + { [_xN]: _it }] +]; +var PortRangeList = [1, n0, _PRL, + 0, [() => exports.PortRange$, + { [_xN]: _it }] +]; +var PrefixListAssociationSet = [1, n0, _PLAS, + 0, [() => exports.PrefixListAssociation$, + { [_xN]: _it }] +]; +var PrefixListEntrySet = [1, n0, _PLES, + 0, [() => exports.PrefixListEntry$, + { [_xN]: _it }] +]; +var PrefixListIdList = [1, n0, _PLIL, + 0, [() => exports.PrefixListId$, + { [_xN]: _it }] +]; +var PrefixListIdSet = [1, n0, _PLIS, + 0, [0, + { [_xN]: _it }] +]; +var PrefixListResourceIdStringList = [1, n0, _PLRISL, + 0, [0, + { [_xN]: _it }] +]; +var PrefixListSet = [1, n0, _PLSr, + 0, [() => exports.PrefixList$, + { [_xN]: _it }] +]; +var PriceScheduleList = [1, n0, _PSL, + 0, [() => exports.PriceSchedule$, + { [_xN]: _it }] +]; +var PriceScheduleSpecificationList = [1, n0, _PSSL, + 0, [() => exports.PriceScheduleSpecification$, + { [_xN]: _it }] +]; +var PricingDetailsList = [1, n0, _PDL, + 0, [() => exports.PricingDetail$, + { [_xN]: _it }] +]; +var PrincipalIdFormatList = [1, n0, _PIFL, + 0, [() => exports.PrincipalIdFormat$, + { [_xN]: _it }] +]; +var PrivateDnsDetailsSet = [1, n0, _PDDS, + 0, [() => exports.PrivateDnsDetails$, + { [_xN]: _it }] +]; +var PrivateDnsSpecifiedDomainSet = [1, n0, _PDSDS, + 0, [0, + { [_xN]: _it }] +]; +var PrivateIpAddressConfigSet = [1, n0, _PIACS, + 0, [() => exports.ScheduledInstancesPrivateIpAddressConfig$, + { [_xN]: _PIACS }] +]; +var PrivateIpAddressSpecificationList = [1, n0, _PIASL, + 0, [() => exports.PrivateIpAddressSpecification$, + { [_xN]: _it }] +]; +var PrivateIpAddressStringList = [1, n0, _PIASLr, + 0, [0, + { [_xN]: _PIAr }] +]; +var ProductCodeList = [1, n0, _PCLr, + 0, [() => exports.ProductCode$, + { [_xN]: _it }] +]; +var ProductCodeStringList = [1, n0, _PCSL, + 0, [0, + { [_xN]: _PCr }] +]; +var ProductDescriptionList = (/* unused pure expression or super */ null && (64 | 0)); +var PropagatingVgwList = [1, n0, _PVL, + 0, [() => exports.PropagatingVgw$, + { [_xN]: _it }] +]; +var ProtocolIntList = [1, n0, _PIL, + 0, [1, + { [_xN]: _it }] +]; +var ProtocolList = [1, n0, _PLro, + 0, [0, + { [_xN]: _it }] +]; +var PublicIpStringList = [1, n0, _PISL, + 0, [0, + { [_xN]: _PI }] +]; +var PublicIpv4PoolIdStringList = [1, n0, _PIPISL, + 0, [0, + { [_xN]: _it }] +]; +var PublicIpv4PoolRangeSet = [1, n0, _PIPRS, + 0, [() => exports.PublicIpv4PoolRange$, + { [_xN]: _it }] +]; +var PublicIpv4PoolSet = [1, n0, _PIPS, + 0, [() => exports.PublicIpv4Pool$, + { [_xN]: _it }] +]; +var PurchasedScheduledInstanceSet = [1, n0, _PSIS, + 0, [() => exports.ScheduledInstance$, + { [_xN]: _it }] +]; +var PurchaseRequestSet = [1, n0, _PRSu, + 0, [() => exports.PurchaseRequest$, + { [_xN]: _PRu }] +]; +var PurchaseSet = [1, n0, _PSu, + 0, [() => exports.Purchase$, + { [_xN]: _it }] +]; +var ReasonCodesList = [1, n0, _RCL, + 0, [0, + { [_xN]: _it }] +]; +var RecurringChargesList = [1, n0, _RCLe, + 0, [() => exports.RecurringCharge$, + { [_xN]: _it }] +]; +var RegionalSummaryList = [1, n0, _RSL, + 0, [() => exports.RegionalSummary$, + { [_xN]: _it }] +]; +var RegionGeographyList = [1, n0, _RGL, + 0, [() => exports.RegionGeography$, + { [_xN]: _it }] +]; +var RegionList = [1, n0, _RL, + 0, [() => exports.Region$, + { [_xN]: _it }] +]; +var RegionNames = (/* unused pure expression or super */ null && (64 | 0)); +var RegionNameStringList = [1, n0, _RNSL, + 0, [0, + { [_xN]: _RN }] +]; +var RegisteredInstanceList = [1, n0, _RILeg, + 0, [() => exports.RegisteredInstance$, + { [_xN]: _it }] +]; +var RemoveIpamOperatingRegionSet = [1, n0, _RIORS, + 0, () => exports.RemoveIpamOperatingRegion$ +]; +var RemoveIpamOrganizationalUnitExclusionSet = [1, n0, _RIOUES, + 0, () => exports.RemoveIpamOrganizationalUnitExclusion$ +]; +var RemovePrefixListEntries = [1, n0, _RPLEe, + 0, () => exports.RemovePrefixListEntry$ +]; +var ReplaceRootVolumeTaskIds = [1, n0, _RRVTI, + 0, [0, + { [_xN]: _RRVTIe }] +]; +var ReplaceRootVolumeTasks = [1, n0, _RRVTe, + 0, [() => exports.ReplaceRootVolumeTask$, + { [_xN]: _it }] +]; +var RequestHostIdList = [1, n0, _RHIL, + 0, [0, + { [_xN]: _it }] +]; +var RequestHostIdSet = [1, n0, _RHIS, + 0, [0, + { [_xN]: _it }] +]; +var RequestInstanceTypeList = (/* unused pure expression or super */ null && (64 | 0)); +var RequestIpamResourceTagList = [1, n0, _RIRTL, + 0, [() => exports.RequestIpamResourceTag$, + { [_xN]: _it }] +]; +var RequestSpotLaunchSpecificationSecurityGroupIdList = [1, n0, _RSLSSGIL, + 0, [0, + { [_xN]: _it }] +]; +var RequestSpotLaunchSpecificationSecurityGroupList = [1, n0, _RSLSSGL, + 0, [0, + { [_xN]: _it }] +]; +var ReservationFleetInstanceSpecificationList = [1, n0, _RFISL, + 0, () => exports.ReservationFleetInstanceSpecification$ +]; +var ReservationList = [1, n0, _RLe, + 0, [() => exports.Reservation$, + { [_xN]: _it }] +]; +var ReservationTypeList = [1, n0, _RTL, + 0, [0, + { [_xN]: _it }] +]; +var ReservationTypeListRequest = [1, n0, _RTLR, + 0, [0, + { [_xN]: _RT }] +]; +var ReservedInstanceIdSet = [1, n0, _RIIS, + 0, [0, + { [_xN]: _RIIe }] +]; +var ReservedInstanceReservationValueSet = [1, n0, _RIRVS, + 0, [() => exports.ReservedInstanceReservationValue$, + { [_xN]: _it }] +]; +var ReservedInstancesConfigurationList = [1, n0, _RICL, + 0, [() => exports.ReservedInstancesConfiguration$, + { [_xN]: _it }] +]; +var ReservedInstancesIdStringList = [1, n0, _RIISL, + 0, [0, + { [_xN]: _RIIes }] +]; +var ReservedInstancesList = [1, n0, _RILes, + 0, [() => exports.ReservedInstances$, + { [_xN]: _it }] +]; +var ReservedInstancesListingList = [1, n0, _RILL, + 0, [() => exports.ReservedInstancesListing$, + { [_xN]: _it }] +]; +var ReservedInstancesModificationIdStringList = [1, n0, _RIMISL, + 0, [0, + { [_xN]: _RIMIe }] +]; +var ReservedInstancesModificationList = [1, n0, _RIML, + 0, [() => exports.ReservedInstancesModification$, + { [_xN]: _it }] +]; +var ReservedInstancesModificationResultList = [1, n0, _RIMRL, + 0, [() => exports.ReservedInstancesModificationResult$, + { [_xN]: _it }] +]; +var ReservedInstancesOfferingIdStringList = (/* unused pure expression or super */ null && (64 | 0)); +var ReservedInstancesOfferingList = [1, n0, _RIOL, + 0, [() => exports.ReservedInstancesOffering$, + { [_xN]: _it }] +]; +var ReservedIntancesIds = [1, n0, _RIIeser, + 0, [() => exports.ReservedInstancesId$, + { [_xN]: _it }] +]; +var ResourceIdList = (/* unused pure expression or super */ null && (64 | 0)); +var ResourceList = [1, n0, _RLes, + 0, [0, + { [_xN]: _it }] +]; +var ResourceTypeOptionList = [1, n0, _RTOL, + 0, [() => exports.ResourceTypeOption$, + 0] +]; +var ResourceTypeOptionValuesList = (/* unused pure expression or super */ null && (64 | 0)); +var ResourceTypeRequestList = [1, n0, _RTRL, + 0, [() => exports.ResourceTypeRequest$, + 0] +]; +var ResponseHostIdList = [1, n0, _RHILe, + 0, [0, + { [_xN]: _it }] +]; +var ResponseHostIdSet = [1, n0, _RHISe, + 0, [0, + { [_xN]: _it }] +]; +var RestorableByStringList = (/* unused pure expression or super */ null && (64 | 0)); +var RevokedSecurityGroupRuleList = [1, n0, _RSGRL, + 0, [() => exports.RevokedSecurityGroupRule$, + { [_xN]: _it }] +]; +var RootDeviceTypeList = [1, n0, _RDTL, + 0, [0, + { [_xN]: _it }] +]; +var RouteList = [1, n0, _RLo, + 0, [() => exports.Route$, + { [_xN]: _it }] +]; +var RouteServerAssociationsList = [1, n0, _RSAL, + 0, [() => exports.RouteServerAssociation$, + { [_xN]: _it }] +]; +var RouteServerEndpointIdsList = (/* unused pure expression or super */ null && (64 | 0)); +var RouteServerEndpointsList = [1, n0, _RSEL, + 0, [() => exports.RouteServerEndpoint$, + { [_xN]: _it }] +]; +var RouteServerIdsList = (/* unused pure expression or super */ null && (64 | 0)); +var RouteServerPeerIdsList = (/* unused pure expression or super */ null && (64 | 0)); +var RouteServerPeersList = [1, n0, _RSPL, + 0, [() => exports.RouteServerPeer$, + { [_xN]: _it }] +]; +var RouteServerPropagationsList = [1, n0, _RSPLo, + 0, [() => exports.RouteServerPropagation$, + { [_xN]: _it }] +]; +var RouteServerRouteInstallationDetails = [1, n0, _RSRIDo, + 0, [() => exports.RouteServerRouteInstallationDetail$, + { [_xN]: _it }] +]; +var RouteServerRouteList = [1, n0, _RSRL, + 0, [() => exports.RouteServerRoute$, + { [_xN]: _it }] +]; +var RouteServersList = [1, n0, _RSLo, + 0, [() => exports.RouteServer$, + { [_xN]: _it }] +]; +var RouteTableAssociationList = [1, n0, _RTAL, + 0, [() => exports.RouteTableAssociation$, + { [_xN]: _it }] +]; +var RouteTableIdStringList = [1, n0, _RTISL, + 0, [0, + { [_xN]: _it }] +]; +var RouteTableList = [1, n0, _RTLo, + 0, [() => exports.RouteTable$, + { [_xN]: _it }] +]; +var RuleGroupRuleOptionsPairList = [1, n0, _RGROPL, + 0, [() => exports.RuleGroupRuleOptionsPair$, + { [_xN]: _it }] +]; +var RuleGroupTypePairList = [1, n0, _RGTPL, + 0, [() => exports.RuleGroupTypePair$, + { [_xN]: _it }] +]; +var RuleOptionList = [1, n0, _ROL, + 0, [() => exports.RuleOption$, + { [_xN]: _it }] +]; +var S3ObjectTagList = [1, n0, _SOTL, + 0, [() => exports.S3ObjectTag$, + { [_xN]: _it }] +]; +var ScheduledInstanceAvailabilitySet = [1, n0, _SIAS, + 0, [() => exports.ScheduledInstanceAvailability$, + { [_xN]: _it }] +]; +var ScheduledInstanceIdRequestSet = [1, n0, _SIIRS, + 0, [0, + { [_xN]: _SIIch }] +]; +var ScheduledInstancesBlockDeviceMappingSet = [1, n0, _SIBDMS, + 0, [() => exports.ScheduledInstancesBlockDeviceMapping$, + { [_xN]: _BDM }] +]; +var ScheduledInstanceSet = [1, n0, _SIS, + 0, [() => exports.ScheduledInstance$, + { [_xN]: _it }] +]; +var ScheduledInstancesIpv6AddressList = [1, n0, _SIIAL, + 0, [() => exports.ScheduledInstancesIpv6Address$, + { [_xN]: _IApv }] +]; +var ScheduledInstancesNetworkInterfaceSet = [1, n0, _SINIS, + 0, [() => exports.ScheduledInstancesNetworkInterface$, + { [_xN]: _NIe }] +]; +var ScheduledInstancesSecurityGroupIdSet = [1, n0, _SISGIS, + 0, [0, + { [_xN]: _SGI }] +]; +var SecondaryInterfaceIdList = [1, n0, _SIIL, + 0, [0, + { [_xN]: _it }] +]; +var SecondaryInterfaceIpv4AddressList = [1, n0, _SIIALe, + 0, [() => exports.SecondaryInterfaceIpv4Address$, + { [_xN]: _it }] +]; +var SecondaryInterfaceList = [1, n0, _SIL, + 0, [() => exports.SecondaryInterface$, + { [_xN]: _it }] +]; +var SecondaryInterfacePrivateIpAddressSpecificationList = [1, n0, _SIPIASL, + 0, [() => exports.SecondaryInterfacePrivateIpAddressSpecification$, + { [_xN]: _it }] +]; +var SecondaryInterfacePrivateIpAddressSpecificationListRequest = [1, n0, _SIPIASLR, + 0, [() => exports.SecondaryInterfacePrivateIpAddressSpecificationRequest$, + { [_xN]: _SIPIAS }] +]; +var SecondaryNetworkIdList = [1, n0, _SNIL, + 0, [0, + { [_xN]: _it }] +]; +var SecondaryNetworkIpv4CidrBlockAssociationList = [1, n0, _SNICBAL, + 0, [() => exports.SecondaryNetworkIpv4CidrBlockAssociation$, + { [_xN]: _it }] +]; +var SecondaryNetworkList = [1, n0, _SNL, + 0, [() => exports.SecondaryNetwork$, + { [_xN]: _it }] +]; +var SecondarySubnetIdList = [1, n0, _SSIL, + 0, [0, + { [_xN]: _it }] +]; +var SecondarySubnetIpv4CidrBlockAssociationList = [1, n0, _SSICBAL, + 0, [() => exports.SecondarySubnetIpv4CidrBlockAssociation$, + { [_xN]: _it }] +]; +var SecondarySubnetList = [1, n0, _SSL, + 0, [() => exports.SecondarySubnet$, + { [_xN]: _it }] +]; +var SecurityGroupForVpcList = [1, n0, _SGFVL, + 0, [() => exports.SecurityGroupForVpc$, + { [_xN]: _it }] +]; +var SecurityGroupIdList = [1, n0, _SGIL, + 0, [0, + { [_xN]: _it }] +]; +var SecurityGroupIdSet = [1, n0, _SGIS, + 0, [0, + { [_xN]: _it }] +]; +var SecurityGroupIdStringList = [1, n0, _SGISL, + 0, [0, + { [_xN]: _SGI }] +]; +var SecurityGroupIdStringListRequest = [1, n0, _SGISLR, + 0, [0, + { [_xN]: _SGI }] +]; +var SecurityGroupList = [1, n0, _SGL, + 0, [() => exports.SecurityGroup$, + { [_xN]: _it }] +]; +var SecurityGroupReferences = [1, n0, _SGRecu, + 0, [() => exports.SecurityGroupReference$, + { [_xN]: _it }] +]; +var SecurityGroupRuleDescriptionList = [1, n0, _SGRDL, + 0, [() => exports.SecurityGroupRuleDescription$, + { [_xN]: _it }] +]; +var SecurityGroupRuleIdList = [1, n0, _SGRIL, + 0, [0, + { [_xN]: _it }] +]; +var SecurityGroupRuleList = [1, n0, _SGRL, + 0, [() => exports.SecurityGroupRule$, + { [_xN]: _it }] +]; +var SecurityGroupRuleUpdateList = [1, n0, _SGRUL, + 0, [() => exports.SecurityGroupRuleUpdate$, + { [_xN]: _it }] +]; +var SecurityGroupStringList = [1, n0, _SGSL, + 0, [0, + { [_xN]: _SGec }] +]; +var SecurityGroupVpcAssociationList = [1, n0, _SGVAL, + 0, [() => exports.SecurityGroupVpcAssociation$, + { [_xN]: _it }] +]; +var ServiceConfigurationSet = [1, n0, _SCS, + 0, [() => exports.ServiceConfiguration$, + { [_xN]: _it }] +]; +var ServiceDetailSet = [1, n0, _SDSe, + 0, [() => exports.ServiceDetail$, + { [_xN]: _it }] +]; +var ServiceLinkVirtualInterfaceIdSet = [1, n0, _SLVIIS, + 0, [0, + { [_xN]: _it }] +]; +var ServiceLinkVirtualInterfaceSet = [1, n0, _SLVIS, + 0, [() => exports.ServiceLinkVirtualInterface$, + { [_xN]: _it }] +]; +var ServiceTypeDetailSet = [1, n0, _STDS, + 0, [() => exports.ServiceTypeDetail$, + { [_xN]: _it }] +]; +var SnapshotDetailList = [1, n0, _SDL, + 0, [() => exports.SnapshotDetail$, + { [_xN]: _it }] +]; +var SnapshotIdStringList = [1, n0, _SISL, + 0, [0, + { [_xN]: _SIn }] +]; +var SnapshotList = [1, n0, _SLn, + 0, [() => exports.Snapshot$, + { [_xN]: _it }] +]; +var SnapshotRecycleBinInfoList = [1, n0, _SRBIL, + 0, [() => exports.SnapshotRecycleBinInfo$, + { [_xN]: _it }] +]; +var SnapshotSet = [1, n0, _SSn, + 0, [() => exports.SnapshotInfo$, + { [_xN]: _it }] +]; +var snapshotTierStatusSet = [1, n0, _sTSS, + 0, [() => exports.SnapshotTierStatus$, + { [_xN]: _it }] +]; +var SpotFleetRequestConfigSet = [1, n0, _SFRCS, + 0, [() => exports.SpotFleetRequestConfig$, + { [_xN]: _it }] +]; +var SpotFleetRequestIdList = [1, n0, _SFRIL, + 0, [0, + { [_xN]: _it }] +]; +var SpotFleetTagSpecificationList = [1, n0, _SFTSL, + 0, [() => exports.SpotFleetTagSpecification$, + { [_xN]: _it }] +]; +var SpotInstanceRequestIdList = [1, n0, _SIRIL, + 0, [0, + { [_xN]: _SIRI }] +]; +var SpotInstanceRequestList = [1, n0, _SIRL, + 0, [() => exports.SpotInstanceRequest$, + { [_xN]: _it }] +]; +var SpotPlacementScores = [1, n0, _SPS, + 0, [() => exports.SpotPlacementScore$, + { [_xN]: _it }] +]; +var SpotPriceHistoryList = [1, n0, _SPHL, + 0, [() => exports.SpotPrice$, + { [_xN]: _it }] +]; +var StaleIpPermissionSet = [1, n0, _SIPS, + 0, [() => exports.StaleIpPermission$, + { [_xN]: _it }] +]; +var StaleSecurityGroupSet = [1, n0, _SSGS, + 0, [() => exports.StaleSecurityGroup$, + { [_xN]: _it }] +]; +var StoreImageTaskResultSet = [1, n0, _SITRS, + 0, [() => exports.StoreImageTaskResult$, + { [_xN]: _it }] +]; +var StringList = [1, n0, _SLtr, + 0, [0, + { [_xN]: _it }] +]; +var SubnetAssociationList = [1, n0, _SAL, + 0, [() => exports.SubnetAssociation$, + { [_xN]: _it }] +]; +var SubnetCidrReservationList = [1, n0, _SCRL, + 0, [() => exports.SubnetCidrReservation$, + { [_xN]: _it }] +]; +var SubnetConfigurationsList = [1, n0, _SCL, + 0, [() => exports.SubnetConfiguration$, + { [_xN]: _it }] +]; +var SubnetIdList = [1, n0, _SILu, + 0, [0, + { [_xN]: _ASIs }] +]; +var SubnetIdStringList = [1, n0, _SISLu, + 0, [0, + { [_xN]: _SIu }] +]; +var SubnetIpPrefixesList = [1, n0, _SIPL, + 0, [() => exports.SubnetIpPrefixes$, + { [_xN]: _it }] +]; +var SubnetIpv6CidrBlockAssociationSet = [1, n0, _SICBAS, + 0, [() => exports.SubnetIpv6CidrBlockAssociation$, + { [_xN]: _it }] +]; +var SubnetList = [1, n0, _SLu, + 0, [() => exports.Subnet$, + { [_xN]: _it }] +]; +var SubscriptionList = [1, n0, _SLub, + 0, [() => exports.Subscription$, + { [_xN]: _it }] +]; +var SuccessfulInstanceCreditSpecificationSet = [1, n0, _SICSS, + 0, [() => exports.SuccessfulInstanceCreditSpecificationItem$, + { [_xN]: _it }] +]; +var SuccessfulQueuedPurchaseDeletionSet = [1, n0, _SQPDS, + 0, [() => exports.SuccessfulQueuedPurchaseDeletion$, + { [_xN]: _it }] +]; +var SupportedAdditionalProcessorFeatureList = [1, n0, _SAPFL, + 0, [0, + { [_xN]: _it }] +]; +var SupportedIpAddressTypes = [1, n0, _SIAT, + 0, [0, + { [_xN]: _it }] +]; +var SupportedRegionSet = [1, n0, _SRS, + 0, [() => exports.SupportedRegionDetail$, + { [_xN]: _it }] +]; +var TagDescriptionList = [1, n0, _TDL, + 0, [() => exports.TagDescription$, + { [_xN]: _it }] +]; +var TagList = [1, n0, _TL, + 0, [() => exports.Tag$, + { [_xN]: _it }] +]; +var TagSpecificationList = [1, n0, _TSL, + 0, [() => exports.TagSpecification$, + { [_xN]: _it }] +]; +var TargetConfigurationRequestSet = [1, n0, _TCRS, + 0, [() => exports.TargetConfigurationRequest$, + { [_xN]: _TCR }] +]; +var TargetGroups = [1, n0, _TGar, + 0, [() => exports.TargetGroup$, + { [_xN]: _it }] +]; +var TargetNetworkSet = [1, n0, _TNS, + 0, [() => exports.TargetNetwork$, + { [_xN]: _it }] +]; +var TargetReservationValueSet = [1, n0, _TRVS, + 0, [() => exports.TargetReservationValue$, + { [_xN]: _it }] +]; +var TerminateConnectionStatusSet = [1, n0, _TCSS, + 0, [() => exports.TerminateConnectionStatus$, + { [_xN]: _it }] +]; +var ThreadsPerCoreList = [1, n0, _TPCL, + 0, [1, + { [_xN]: _it }] +]; +var ThroughResourcesStatementList = [1, n0, _TRSL, + 0, [() => exports.ThroughResourcesStatement$, + { [_xN]: _it }] +]; +var ThroughResourcesStatementRequestList = [1, n0, _TRSRL, + 0, [() => exports.ThroughResourcesStatementRequest$, + { [_xN]: _it }] +]; +var TrafficMirrorFilterIdList = [1, n0, _TMFIL, + 0, [0, + { [_xN]: _it }] +]; +var TrafficMirrorFilterRuleFieldList = (/* unused pure expression or super */ null && (64 | 0)); +var TrafficMirrorFilterRuleIdList = [1, n0, _TMFRIL, + 0, [0, + { [_xN]: _it }] +]; +var TrafficMirrorFilterRuleList = [1, n0, _TMFRL, + 0, [() => exports.TrafficMirrorFilterRule$, + { [_xN]: _it }] +]; +var TrafficMirrorFilterRuleSet = [1, n0, _TMFRS, + 0, [() => exports.TrafficMirrorFilterRule$, + { [_xN]: _it }] +]; +var TrafficMirrorFilterSet = [1, n0, _TMFS, + 0, [() => exports.TrafficMirrorFilter$, + { [_xN]: _it }] +]; +var TrafficMirrorNetworkServiceList = [1, n0, _TMNSL, + 0, [0, + { [_xN]: _it }] +]; +var TrafficMirrorSessionFieldList = (/* unused pure expression or super */ null && (64 | 0)); +var TrafficMirrorSessionIdList = [1, n0, _TMSIL, + 0, [0, + { [_xN]: _it }] +]; +var TrafficMirrorSessionSet = [1, n0, _TMSS, + 0, [() => exports.TrafficMirrorSession$, + { [_xN]: _it }] +]; +var TrafficMirrorTargetIdList = [1, n0, _TMTIL, + 0, [0, + { [_xN]: _it }] +]; +var TrafficMirrorTargetSet = [1, n0, _TMTS, + 0, [() => exports.TrafficMirrorTarget$, + { [_xN]: _it }] +]; +var TransitGatewayAttachmentBgpConfigurationList = [1, n0, _TGABCL, + 0, [() => exports.TransitGatewayAttachmentBgpConfiguration$, + { [_xN]: _it }] +]; +var TransitGatewayAttachmentIdStringList = (/* unused pure expression or super */ null && (64 | 0)); +var TransitGatewayAttachmentList = [1, n0, _TGAL, + 0, [() => exports.TransitGatewayAttachment$, + { [_xN]: _it }] +]; +var TransitGatewayAttachmentPropagationList = [1, n0, _TGAPL, + 0, [() => exports.TransitGatewayAttachmentPropagation$, + { [_xN]: _it }] +]; +var TransitGatewayCidrBlockStringList = [1, n0, _TGCBSL, + 0, [0, + { [_xN]: _it }] +]; +var TransitGatewayConnectList = [1, n0, _TGCL, + 0, [() => exports.TransitGatewayConnect$, + { [_xN]: _it }] +]; +var TransitGatewayConnectPeerIdStringList = [1, n0, _TGCPISL, + 0, [0, + { [_xN]: _it }] +]; +var TransitGatewayConnectPeerList = [1, n0, _TGCPL, + 0, [() => exports.TransitGatewayConnectPeer$, + { [_xN]: _it }] +]; +var TransitGatewayIdStringList = [1, n0, _TGISL, + 0, [0, + { [_xN]: _it }] +]; +var TransitGatewayList = [1, n0, _TGL, + 0, [() => exports.TransitGateway$, + { [_xN]: _it }] +]; +var TransitGatewayMeteringPolicyEntryList = [1, n0, _TGMPEL, + 0, [() => exports.TransitGatewayMeteringPolicyEntry$, + { [_xN]: _it }] +]; +var TransitGatewayMeteringPolicyIdStringList = [1, n0, _TGMPISL, + 0, [0, + { [_xN]: _it }] +]; +var TransitGatewayMeteringPolicyList = [1, n0, _TGMPL, + 0, [() => exports.TransitGatewayMeteringPolicy$, + { [_xN]: _it }] +]; +var TransitGatewayMulticastDomainAssociationList = [1, n0, _TGMDAL, + 0, [() => exports.TransitGatewayMulticastDomainAssociation$, + { [_xN]: _it }] +]; +var TransitGatewayMulticastDomainIdStringList = [1, n0, _TGMDISL, + 0, [0, + { [_xN]: _it }] +]; +var TransitGatewayMulticastDomainList = [1, n0, _TGMDL, + 0, [() => exports.TransitGatewayMulticastDomain$, + { [_xN]: _it }] +]; +var TransitGatewayMulticastGroupList = [1, n0, _TGMGL, + 0, [() => exports.TransitGatewayMulticastGroup$, + { [_xN]: _it }] +]; +var TransitGatewayNetworkInterfaceIdList = [1, n0, _TGNIIL, + 0, [0, + { [_xN]: _it }] +]; +var TransitGatewayPeeringAttachmentList = [1, n0, _TGPAL, + 0, [() => exports.TransitGatewayPeeringAttachment$, + { [_xN]: _it }] +]; +var TransitGatewayPolicyTableAssociationList = [1, n0, _TGPTAL, + 0, [() => exports.TransitGatewayPolicyTableAssociation$, + { [_xN]: _it }] +]; +var TransitGatewayPolicyTableEntryList = [1, n0, _TGPTEL, + 0, [() => exports.TransitGatewayPolicyTableEntry$, + { [_xN]: _it }] +]; +var TransitGatewayPolicyTableIdStringList = [1, n0, _TGPTISL, + 0, [0, + { [_xN]: _it }] +]; +var TransitGatewayPolicyTableList = [1, n0, _TGPTL, + 0, [() => exports.TransitGatewayPolicyTable$, + { [_xN]: _it }] +]; +var TransitGatewayPrefixListReferenceSet = [1, n0, _TGPLRS, + 0, [() => exports.TransitGatewayPrefixListReference$, + { [_xN]: _it }] +]; +var TransitGatewayRouteAttachmentList = [1, n0, _TGRAL, + 0, [() => exports.TransitGatewayRouteAttachment$, + { [_xN]: _it }] +]; +var TransitGatewayRouteList = [1, n0, _TGRL, + 0, [() => exports.TransitGatewayRoute$, + { [_xN]: _it }] +]; +var TransitGatewayRouteTableAnnouncementIdStringList = [1, n0, _TGRTAISL, + 0, [0, + { [_xN]: _it }] +]; +var TransitGatewayRouteTableAnnouncementList = [1, n0, _TGRTAL, + 0, [() => exports.TransitGatewayRouteTableAnnouncement$, + { [_xN]: _it }] +]; +var TransitGatewayRouteTableAssociationList = [1, n0, _TGRTALr, + 0, [() => exports.TransitGatewayRouteTableAssociation$, + { [_xN]: _it }] +]; +var TransitGatewayRouteTableIdStringList = [1, n0, _TGRTISL, + 0, [0, + { [_xN]: _it }] +]; +var TransitGatewayRouteTableList = [1, n0, _TGRTL, + 0, [() => exports.TransitGatewayRouteTable$, + { [_xN]: _it }] +]; +var TransitGatewayRouteTablePropagationList = [1, n0, _TGRTPL, + 0, [() => exports.TransitGatewayRouteTablePropagation$, + { [_xN]: _it }] +]; +var TransitGatewaySubnetIdList = [1, n0, _TGSIL, + 0, [0, + { [_xN]: _it }] +]; +var TransitGatewayVpcAttachmentList = [1, n0, _TGVAL, + 0, [() => exports.TransitGatewayVpcAttachment$, + { [_xN]: _it }] +]; +var TrunkInterfaceAssociationIdList = [1, n0, _TIAIL, + 0, [0, + { [_xN]: _it }] +]; +var TrunkInterfaceAssociationList = [1, n0, _TIAL, + 0, [() => exports.TrunkInterfaceAssociation$, + { [_xN]: _it }] +]; +var TunnelOptionsList = [1, n0, _TOL, + 0, [() => exports.TunnelOption$, + { [_xN]: _it }] +]; +var UnsuccessfulInstanceCreditSpecificationSet = [1, n0, _UICSS, + 0, [() => exports.UnsuccessfulInstanceCreditSpecificationItem$, + { [_xN]: _it }] +]; +var UnsuccessfulItemList = [1, n0, _UIL, + 0, [() => exports.UnsuccessfulItem$, + { [_xN]: _it }] +]; +var UnsuccessfulItemSet = [1, n0, _UIS, + 0, [() => exports.UnsuccessfulItem$, + { [_xN]: _it }] +]; +var UsageClassTypeList = [1, n0, _UCTL, + 0, [0, + { [_xN]: _it }] +]; +var UserGroupStringList = [1, n0, _UGSL, + 0, [0, + { [_xN]: _UGs }] +]; +var UserIdGroupPairList = [1, n0, _UIGPL, + 0, [() => exports.UserIdGroupPair$, + { [_xN]: _it }] +]; +var UserIdGroupPairSet = [1, n0, _UIGPS, + 0, [() => exports.UserIdGroupPair$, + { [_xN]: _it }] +]; +var UserIdList = [1, n0, _UILs, + 0, [0, + { [_xN]: _it }] +]; +var UserIdStringList = [1, n0, _UISL, + 0, [0, + { [_xN]: _UI }] +]; +var ValueStringList = [1, n0, _VSL, + 0, [0, + { [_xN]: _it }] +]; +var VerifiedAccessEndpointIdList = [1, n0, _VAEIL, + 0, [0, + { [_xN]: _it }] +]; +var VerifiedAccessEndpointList = [1, n0, _VAEL, + 0, [() => exports.VerifiedAccessEndpoint$, + { [_xN]: _it }] +]; +var VerifiedAccessEndpointPortRangeList = [1, n0, _VAEPRL, + 0, [() => exports.VerifiedAccessEndpointPortRange$, + { [_xN]: _it }] +]; +var VerifiedAccessEndpointSubnetIdList = [1, n0, _VAESIL, + 0, [0, + { [_xN]: _it }] +]; +var VerifiedAccessEndpointTargetList = [1, n0, _VAETL, + 0, [() => exports.VerifiedAccessEndpointTarget$, + { [_xN]: _it }] +]; +var VerifiedAccessGroupIdList = [1, n0, _VAGIL, + 0, [0, + { [_xN]: _it }] +]; +var VerifiedAccessGroupList = [1, n0, _VAGL, + 0, [() => exports.VerifiedAccessGroup$, + { [_xN]: _it }] +]; +var VerifiedAccessInstanceIdList = [1, n0, _VAIIL, + 0, [0, + { [_xN]: _it }] +]; +var VerifiedAccessInstanceList = [1, n0, _VAIL, + 0, [() => exports.VerifiedAccessInstance$, + { [_xN]: _it }] +]; +var VerifiedAccessInstanceLoggingConfigurationList = [1, n0, _VAILCL, + 0, [() => exports.VerifiedAccessInstanceLoggingConfiguration$, + { [_xN]: _it }] +]; +var VerifiedAccessInstanceOpenVpnClientConfigurationList = [1, n0, _VAIOVCCL, + 0, [() => exports.VerifiedAccessInstanceOpenVpnClientConfiguration$, + { [_xN]: _it }] +]; +var VerifiedAccessInstanceOpenVpnClientConfigurationRouteList = [1, n0, _VAIOVCCRL, + 0, [() => exports.VerifiedAccessInstanceOpenVpnClientConfigurationRoute$, + { [_xN]: _it }] +]; +var VerifiedAccessTrustProviderCondensedList = [1, n0, _VATPCL, + 0, [() => exports.VerifiedAccessTrustProviderCondensed$, + { [_xN]: _it }] +]; +var VerifiedAccessTrustProviderIdList = [1, n0, _VATPIL, + 0, [0, + { [_xN]: _it }] +]; +var VerifiedAccessTrustProviderList = [1, n0, _VATPL, + 0, [() => exports.VerifiedAccessTrustProvider$, + { [_xN]: _it }] +]; +var VersionStringList = [1, n0, _VSLe, + 0, [0, + { [_xN]: _it }] +]; +var VgwTelemetryList = [1, n0, _VTL, + 0, [() => exports.VgwTelemetry$, + { [_xN]: _it }] +]; +var VirtualizationTypeList = [1, n0, _VTLi, + 0, [0, + { [_xN]: _it }] +]; +var VirtualizationTypeSet = [1, n0, _VTS, + 0, [0, + { [_xN]: _it }] +]; +var VolumeAttachmentList = [1, n0, _VALo, + 0, [() => exports.VolumeAttachment$, + { [_xN]: _it }] +]; +var VolumeIdStringList = [1, n0, _VISL, + 0, [0, + { [_xN]: _VIo }] +]; +var VolumeList = [1, n0, _VLo, + 0, [() => exports.Volume$, + { [_xN]: _it }] +]; +var VolumeModificationList = [1, n0, _VML, + 0, [() => exports.VolumeModification$, + { [_xN]: _it }] +]; +var VolumeRecycleBinInfoList = [1, n0, _VRBIL, + 0, [() => exports.VolumeRecycleBinInfo$, + { [_xN]: _it }] +]; +var VolumeStatusActionsList = [1, n0, _VSAL, + 0, [() => exports.VolumeStatusAction$, + { [_xN]: _it }] +]; +var VolumeStatusAttachmentStatusList = [1, n0, _VSASL, + 0, [() => exports.VolumeStatusAttachmentStatus$, + { [_xN]: _it }] +]; +var VolumeStatusDetailsList = [1, n0, _VSDL, + 0, [() => exports.VolumeStatusDetails$, + { [_xN]: _it }] +]; +var VolumeStatusEventsList = [1, n0, _VSEL, + 0, [() => exports.VolumeStatusEvent$, + { [_xN]: _it }] +]; +var VolumeStatusList = [1, n0, _VSLo, + 0, [() => exports.VolumeStatusItem$, + { [_xN]: _it }] +]; +var VpcAttachmentList = [1, n0, _VALp, + 0, [() => exports.VpcAttachment$, + { [_xN]: _it }] +]; +var VpcBlockPublicAccessExclusionIdList = [1, n0, _VBPAEIL, + 0, [0, + { [_xN]: _it }] +]; +var VpcBlockPublicAccessExclusionList = [1, n0, _VBPAEL, + 0, [() => exports.VpcBlockPublicAccessExclusion$, + { [_xN]: _it }] +]; +var VpcCidrBlockAssociationSet = [1, n0, _VCBAS, + 0, [() => exports.VpcCidrBlockAssociation$, + { [_xN]: _it }] +]; +var VpcClassicLinkIdList = [1, n0, _VCLIL, + 0, [0, + { [_xN]: _VI }] +]; +var VpcClassicLinkList = [1, n0, _VCLL, + 0, [() => exports.VpcClassicLink$, + { [_xN]: _it }] +]; +var VpcEncryptionControlIdList = [1, n0, _VECIL, + 0, [0, + { [_xN]: _it }] +]; +var VpcEncryptionControlList = [1, n0, _VECL, + 0, [() => exports.VpcEncryptionControl$, + { [_xN]: _it }] +]; +var VpcEncryptionNonCompliantResourceList = [1, n0, _VENCRL, + 0, [() => exports.VpcEncryptionNonCompliantResource$, + { [_xN]: _it }] +]; +var VpcEndpointAssociationSet = [1, n0, _VEAS, + 0, [() => exports.VpcEndpointAssociation$, + { [_xN]: _it }] +]; +var VpcEndpointConnectionSet = [1, n0, _VECS, + 0, [() => exports.VpcEndpointConnection$, + { [_xN]: _it }] +]; +var VpcEndpointIdList = [1, n0, _VEIL, + 0, [0, + { [_xN]: _it }] +]; +var VpcEndpointRouteTableIdList = [1, n0, _VERTIL, + 0, [0, + { [_xN]: _it }] +]; +var VpcEndpointSecurityGroupIdList = [1, n0, _VESGIL, + 0, [0, + { [_xN]: _it }] +]; +var VpcEndpointServiceIdList = [1, n0, _VESIL, + 0, [0, + { [_xN]: _it }] +]; +var VpcEndpointSet = [1, n0, _VESpcn, + 0, [() => exports.VpcEndpoint$, + { [_xN]: _it }] +]; +var VpcEndpointSubnetIdList = [1, n0, _VESILp, + 0, [0, + { [_xN]: _it }] +]; +var VpcIdStringList = [1, n0, _VISLp, + 0, [0, + { [_xN]: _VI }] +]; +var VpcIpv6CidrBlockAssociationSet = [1, n0, _VICBAS, + 0, [() => exports.VpcIpv6CidrBlockAssociation$, + { [_xN]: _it }] +]; +var VpcList = [1, n0, _VLp, + 0, [() => exports.Vpc$, + { [_xN]: _it }] +]; +var VpcPeeringConnectionIdList = [1, n0, _VPCIL, + 0, [0, + { [_xN]: _it }] +]; +var VpcPeeringConnectionList = [1, n0, _VPCL, + 0, [() => exports.VpcPeeringConnection$, + { [_xN]: _it }] +]; +var VpnConcentratorIdStringList = [1, n0, _VCISL, + 0, [0, + { [_xN]: _VCI }] +]; +var VpnConcentratorList = [1, n0, _VCLp, + 0, [() => exports.VpnConcentrator$, + { [_xN]: _it }] +]; +var VpnConnectionDeviceTypeList = [1, n0, _VCDTL, + 0, [() => exports.VpnConnectionDeviceType$, + { [_xN]: _it }] +]; +var VpnConnectionIdStringList = [1, n0, _VCISLp, + 0, [0, + { [_xN]: _VCIp }] +]; +var VpnConnectionList = [1, n0, _VCLpn, + 0, [() => exports.VpnConnection$, + { [_xN]: _it }] +]; +var VpnGatewayIdStringList = [1, n0, _VGISL, + 0, [0, + { [_xN]: _VGI }] +]; +var VpnGatewayList = [1, n0, _VGL, + 0, [() => exports.VpnGateway$, + { [_xN]: _it }] +]; +var VpnStaticRouteList = [1, n0, _VSRL, + 0, [() => exports.VpnStaticRoute$, + { [_xN]: _it }] +]; +var VpnTunnelOptionsSpecificationsList = [1, n0, _VTOSL, + 0, [() => exports.VpnTunnelOptionsSpecification$, + 0] +]; +var WorkloadsList = [1, n0, _WL, + 0, [0, + { [_xN]: _it }] +]; +var ZoneIdStringList = [1, n0, _ZISL, + 0, [0, + { [_xN]: _ZI }] +]; +var ZoneNameStringList = [1, n0, _ZNSL, + 0, [0, + { [_xN]: _ZN }] +]; +exports.AcceptAddressTransfer$ = [9, n0, _AAT, + 0, () => exports.AcceptAddressTransferRequest$, () => exports.AcceptAddressTransferResult$ +]; +exports.AcceptCapacityReservationBillingOwnership$ = [9, n0, _ACRBO, + 0, () => exports.AcceptCapacityReservationBillingOwnershipRequest$, () => exports.AcceptCapacityReservationBillingOwnershipResult$ +]; +exports.AcceptReservedInstancesExchangeQuote$ = [9, n0, _ARIEQ, + 0, () => exports.AcceptReservedInstancesExchangeQuoteRequest$, () => exports.AcceptReservedInstancesExchangeQuoteResult$ +]; +exports.AcceptTransitGatewayMulticastDomainAssociations$ = [9, n0, _ATGMDA, + 0, () => exports.AcceptTransitGatewayMulticastDomainAssociationsRequest$, () => exports.AcceptTransitGatewayMulticastDomainAssociationsResult$ +]; +exports.AcceptTransitGatewayPeeringAttachment$ = [9, n0, _ATGPA, + 0, () => exports.AcceptTransitGatewayPeeringAttachmentRequest$, () => exports.AcceptTransitGatewayPeeringAttachmentResult$ +]; +exports.AcceptTransitGatewayVpcAttachment$ = [9, n0, _ATGVA, + 0, () => exports.AcceptTransitGatewayVpcAttachmentRequest$, () => exports.AcceptTransitGatewayVpcAttachmentResult$ +]; +exports.AcceptVpcEndpointConnections$ = [9, n0, _AVEC, + 0, () => exports.AcceptVpcEndpointConnectionsRequest$, () => exports.AcceptVpcEndpointConnectionsResult$ +]; +exports.AcceptVpcPeeringConnection$ = [9, n0, _AVPC, + 0, () => exports.AcceptVpcPeeringConnectionRequest$, () => exports.AcceptVpcPeeringConnectionResult$ +]; +exports.AdvertiseByoipCidr$ = [9, n0, _ABC, + 0, () => exports.AdvertiseByoipCidrRequest$, () => exports.AdvertiseByoipCidrResult$ +]; +exports.AllocateAddress$ = [9, n0, _AAl, + 0, () => exports.AllocateAddressRequest$, () => exports.AllocateAddressResult$ +]; +exports.AllocateHosts$ = [9, n0, _AH, + 0, () => exports.AllocateHostsRequest$, () => exports.AllocateHostsResult$ +]; +exports.AllocateIpamPoolCidr$ = [9, n0, _AIPC, + 0, () => exports.AllocateIpamPoolCidrRequest$, () => exports.AllocateIpamPoolCidrResult$ +]; +exports.ApplySecurityGroupsToClientVpnTargetNetwork$ = [9, n0, _ASGTCVTN, + 0, () => exports.ApplySecurityGroupsToClientVpnTargetNetworkRequest$, () => exports.ApplySecurityGroupsToClientVpnTargetNetworkResult$ +]; +exports.AssignIpv6Addresses$ = [9, n0, _AIAs, + 0, () => exports.AssignIpv6AddressesRequest$, () => exports.AssignIpv6AddressesResult$ +]; +exports.AssignPrivateIpAddresses$ = [9, n0, _APIAssi, + 0, () => exports.AssignPrivateIpAddressesRequest$, () => exports.AssignPrivateIpAddressesResult$ +]; +exports.AssignPrivateNatGatewayAddress$ = [9, n0, _APNGA, + 0, () => exports.AssignPrivateNatGatewayAddressRequest$, () => exports.AssignPrivateNatGatewayAddressResult$ +]; +exports.AssociateAddress$ = [9, n0, _AAss, + 0, () => exports.AssociateAddressRequest$, () => exports.AssociateAddressResult$ +]; +exports.AssociateCapacityReservationBillingOwner$ = [9, n0, _ACRBOs, + 0, () => exports.AssociateCapacityReservationBillingOwnerRequest$, () => exports.AssociateCapacityReservationBillingOwnerResult$ +]; +exports.AssociateClientVpnTargetNetwork$ = [9, n0, _ACVTN, + 0, () => exports.AssociateClientVpnTargetNetworkRequest$, () => exports.AssociateClientVpnTargetNetworkResult$ +]; +exports.AssociateDhcpOptions$ = [9, n0, _ADO, + 0, () => exports.AssociateDhcpOptionsRequest$, () => __Unit +]; +exports.AssociateEnclaveCertificateIamRole$ = [9, n0, _AECIR, + 0, () => exports.AssociateEnclaveCertificateIamRoleRequest$, () => exports.AssociateEnclaveCertificateIamRoleResult$ +]; +exports.AssociateIamInstanceProfile$ = [9, n0, _AIIP, + 0, () => exports.AssociateIamInstanceProfileRequest$, () => exports.AssociateIamInstanceProfileResult$ +]; +exports.AssociateInstanceEventWindow$ = [9, n0, _AIEW, + 0, () => exports.AssociateInstanceEventWindowRequest$, () => exports.AssociateInstanceEventWindowResult$ +]; +exports.AssociateIpamByoasn$ = [9, n0, _AIB, + 0, () => exports.AssociateIpamByoasnRequest$, () => exports.AssociateIpamByoasnResult$ +]; +exports.AssociateIpamResourceDiscovery$ = [9, n0, _AIRD, + 0, () => exports.AssociateIpamResourceDiscoveryRequest$, () => exports.AssociateIpamResourceDiscoveryResult$ +]; +exports.AssociateNatGatewayAddress$ = [9, n0, _ANGA, + 0, () => exports.AssociateNatGatewayAddressRequest$, () => exports.AssociateNatGatewayAddressResult$ +]; +exports.AssociateRouteServer$ = [9, n0, _ARSs, + 0, () => exports.AssociateRouteServerRequest$, () => exports.AssociateRouteServerResult$ +]; +exports.AssociateRouteTable$ = [9, n0, _ARTs, + 0, () => exports.AssociateRouteTableRequest$, () => exports.AssociateRouteTableResult$ +]; +exports.AssociateSecurityGroupVpc$ = [9, n0, _ASGV, + 0, () => exports.AssociateSecurityGroupVpcRequest$, () => exports.AssociateSecurityGroupVpcResult$ +]; +exports.AssociateSubnetCidrBlock$ = [9, n0, _ASCB, + 0, () => exports.AssociateSubnetCidrBlockRequest$, () => exports.AssociateSubnetCidrBlockResult$ +]; +exports.AssociateTransitGatewayMulticastDomain$ = [9, n0, _ATGMD, + 0, () => exports.AssociateTransitGatewayMulticastDomainRequest$, () => exports.AssociateTransitGatewayMulticastDomainResult$ +]; +exports.AssociateTransitGatewayPolicyTable$ = [9, n0, _ATGPT, + 0, () => exports.AssociateTransitGatewayPolicyTableRequest$, () => exports.AssociateTransitGatewayPolicyTableResult$ +]; +exports.AssociateTransitGatewayRouteTable$ = [9, n0, _ATGRT, + 0, () => exports.AssociateTransitGatewayRouteTableRequest$, () => exports.AssociateTransitGatewayRouteTableResult$ +]; +exports.AssociateTrunkInterface$ = [9, n0, _ATIs, + 0, () => exports.AssociateTrunkInterfaceRequest$, () => exports.AssociateTrunkInterfaceResult$ +]; +exports.AssociateVpcCidrBlock$ = [9, n0, _AVCB, + 0, () => exports.AssociateVpcCidrBlockRequest$, () => exports.AssociateVpcCidrBlockResult$ +]; +exports.AttachClassicLinkVpc$ = [9, n0, _ACLV, + 0, () => exports.AttachClassicLinkVpcRequest$, () => exports.AttachClassicLinkVpcResult$ +]; +exports.AttachInternetGateway$ = [9, n0, _AIG, + 0, () => exports.AttachInternetGatewayRequest$, () => __Unit +]; +exports.AttachNetworkInterface$ = [9, n0, _ANI, + 0, () => exports.AttachNetworkInterfaceRequest$, () => exports.AttachNetworkInterfaceResult$ +]; +exports.AttachVerifiedAccessTrustProvider$ = [9, n0, _AVATP, + 0, () => exports.AttachVerifiedAccessTrustProviderRequest$, () => exports.AttachVerifiedAccessTrustProviderResult$ +]; +exports.AttachVolume$ = [9, n0, _AVtt, + 0, () => exports.AttachVolumeRequest$, () => exports.VolumeAttachment$ +]; +exports.AttachVpnGateway$ = [9, n0, _AVG, + 0, () => exports.AttachVpnGatewayRequest$, () => exports.AttachVpnGatewayResult$ +]; +exports.AuthorizeClientVpnIngress$ = [9, n0, _ACVI, + 0, () => exports.AuthorizeClientVpnIngressRequest$, () => exports.AuthorizeClientVpnIngressResult$ +]; +exports.AuthorizeSecurityGroupEgress$ = [9, n0, _ASGE, + 0, () => exports.AuthorizeSecurityGroupEgressRequest$, () => exports.AuthorizeSecurityGroupEgressResult$ +]; +exports.AuthorizeSecurityGroupIngress$ = [9, n0, _ASGIu, + 0, () => exports.AuthorizeSecurityGroupIngressRequest$, () => exports.AuthorizeSecurityGroupIngressResult$ +]; +exports.BundleInstance$ = [9, n0, _BIun, + 0, () => exports.BundleInstanceRequest$, () => exports.BundleInstanceResult$ +]; +exports.CancelBundleTask$ = [9, n0, _CBT, + 0, () => exports.CancelBundleTaskRequest$, () => exports.CancelBundleTaskResult$ +]; +exports.CancelCapacityReservation$ = [9, n0, _CCRa, + 0, () => exports.CancelCapacityReservationRequest$, () => exports.CancelCapacityReservationResult$ +]; +exports.CancelCapacityReservationFleets$ = [9, n0, _CCRF, + 0, () => exports.CancelCapacityReservationFleetsRequest$, () => exports.CancelCapacityReservationFleetsResult$ +]; +exports.CancelConversionTask$ = [9, n0, _CCT, + 0, () => exports.CancelConversionRequest$, () => __Unit +]; +exports.CancelDeclarativePoliciesReport$ = [9, n0, _CDPR, + 0, () => exports.CancelDeclarativePoliciesReportRequest$, () => exports.CancelDeclarativePoliciesReportResult$ +]; +exports.CancelExportTask$ = [9, n0, _CETa, + 0, () => exports.CancelExportTaskRequest$, () => __Unit +]; +exports.CancelImageLaunchPermission$ = [9, n0, _CILP, + 0, () => exports.CancelImageLaunchPermissionRequest$, () => exports.CancelImageLaunchPermissionResult$ +]; +exports.CancelImportTask$ = [9, n0, _CITa, + 0, () => exports.CancelImportTaskRequest$, () => exports.CancelImportTaskResult$ +]; +exports.CancelReservedInstancesListing$ = [9, n0, _CRIL, + 0, () => exports.CancelReservedInstancesListingRequest$, () => exports.CancelReservedInstancesListingResult$ +]; +exports.CancelSpotFleetRequests$ = [9, n0, _CSFR, + 0, () => exports.CancelSpotFleetRequestsRequest$, () => exports.CancelSpotFleetRequestsResponse$ +]; +exports.CancelSpotInstanceRequests$ = [9, n0, _CSIRan, + 0, () => exports.CancelSpotInstanceRequestsRequest$, () => exports.CancelSpotInstanceRequestsResult$ +]; +exports.ConfirmProductInstance$ = [9, n0, _CPIo, + 0, () => exports.ConfirmProductInstanceRequest$, () => exports.ConfirmProductInstanceResult$ +]; +exports.CopyFpgaImage$ = [9, n0, _CFIo, + 0, () => exports.CopyFpgaImageRequest$, () => exports.CopyFpgaImageResult$ +]; +exports.CopyImage$ = [9, n0, _CIopy, + 0, () => exports.CopyImageRequest$, () => exports.CopyImageResult$ +]; +exports.CopySnapshot$ = [9, n0, _CSop, + 0, () => exports.CopySnapshotRequest$, () => exports.CopySnapshotResult$ +]; +exports.CopyVolumes$ = [9, n0, _CVo, + 0, () => exports.CopyVolumesRequest$, () => exports.CopyVolumesResult$ +]; +exports.CreateCapacityManagerDataExport$ = [9, n0, _CCMDE, + 0, () => exports.CreateCapacityManagerDataExportRequest$, () => exports.CreateCapacityManagerDataExportResult$ +]; +exports.CreateCapacityReservation$ = [9, n0, _CCRr, + 0, () => exports.CreateCapacityReservationRequest$, () => exports.CreateCapacityReservationResult$ +]; +exports.CreateCapacityReservationBySplitting$ = [9, n0, _CCRBS, + 0, () => exports.CreateCapacityReservationBySplittingRequest$, () => exports.CreateCapacityReservationBySplittingResult$ +]; +exports.CreateCapacityReservationFleet$ = [9, n0, _CCRFr, + 0, () => exports.CreateCapacityReservationFleetRequest$, () => exports.CreateCapacityReservationFleetResult$ +]; +exports.CreateCarrierGateway$ = [9, n0, _CCG, + 0, () => exports.CreateCarrierGatewayRequest$, () => exports.CreateCarrierGatewayResult$ +]; +exports.CreateClientVpnEndpoint$ = [9, n0, _CCVE, + 0, () => exports.CreateClientVpnEndpointRequest$, () => exports.CreateClientVpnEndpointResult$ +]; +exports.CreateClientVpnRoute$ = [9, n0, _CCVR, + 0, () => exports.CreateClientVpnRouteRequest$, () => exports.CreateClientVpnRouteResult$ +]; +exports.CreateCoipCidr$ = [9, n0, _CCC, + 0, () => exports.CreateCoipCidrRequest$, () => exports.CreateCoipCidrResult$ +]; +exports.CreateCoipPool$ = [9, n0, _CCP, + 0, () => exports.CreateCoipPoolRequest$, () => exports.CreateCoipPoolResult$ +]; +exports.CreateCustomerGateway$ = [9, n0, _CCGr, + 0, () => exports.CreateCustomerGatewayRequest$, () => exports.CreateCustomerGatewayResult$ +]; +exports.CreateDefaultSubnet$ = [9, n0, _CDSr, + 0, () => exports.CreateDefaultSubnetRequest$, () => exports.CreateDefaultSubnetResult$ +]; +exports.CreateDefaultVpc$ = [9, n0, _CDV, + 0, () => exports.CreateDefaultVpcRequest$, () => exports.CreateDefaultVpcResult$ +]; +exports.CreateDelegateMacVolumeOwnershipTask$ = [9, n0, _CDMVOT, + 0, () => exports.CreateDelegateMacVolumeOwnershipTaskRequest$, () => exports.CreateDelegateMacVolumeOwnershipTaskResult$ +]; +exports.CreateDhcpOptions$ = [9, n0, _CDO, + 0, () => exports.CreateDhcpOptionsRequest$, () => exports.CreateDhcpOptionsResult$ +]; +exports.CreateEgressOnlyInternetGateway$ = [9, n0, _CEOIG, + 0, () => exports.CreateEgressOnlyInternetGatewayRequest$, () => exports.CreateEgressOnlyInternetGatewayResult$ +]; +exports.CreateFleet$ = [9, n0, _CFr, + 0, () => exports.CreateFleetRequest$, () => exports.CreateFleetResult$ +]; +exports.CreateFlowLogs$ = [9, n0, _CFL, + 0, () => exports.CreateFlowLogsRequest$, () => exports.CreateFlowLogsResult$ +]; +exports.CreateFpgaImage$ = [9, n0, _CFIr, + 0, () => exports.CreateFpgaImageRequest$, () => exports.CreateFpgaImageResult$ +]; +exports.CreateImage$ = [9, n0, _CIr, + 0, () => exports.CreateImageRequest$, () => exports.CreateImageResult$ +]; +exports.CreateImageUsageReport$ = [9, n0, _CIUR, + 0, () => exports.CreateImageUsageReportRequest$, () => exports.CreateImageUsageReportResult$ +]; +exports.CreateInstanceConnectEndpoint$ = [9, n0, _CICE, + 0, () => exports.CreateInstanceConnectEndpointRequest$, () => exports.CreateInstanceConnectEndpointResult$ +]; +exports.CreateInstanceEventWindow$ = [9, n0, _CIEW, + 0, () => exports.CreateInstanceEventWindowRequest$, () => exports.CreateInstanceEventWindowResult$ +]; +exports.CreateInstanceExportTask$ = [9, n0, _CIET, + 0, () => exports.CreateInstanceExportTaskRequest$, () => exports.CreateInstanceExportTaskResult$ +]; +exports.CreateInternetGateway$ = [9, n0, _CIG, + 0, () => exports.CreateInternetGatewayRequest$, () => exports.CreateInternetGatewayResult$ +]; +exports.CreateInterruptibleCapacityReservationAllocation$ = [9, n0, _CICRA, + 0, () => exports.CreateInterruptibleCapacityReservationAllocationRequest$, () => exports.CreateInterruptibleCapacityReservationAllocationResult$ +]; +exports.CreateIpam$ = [9, n0, _CIre, + 0, () => exports.CreateIpamRequest$, () => exports.CreateIpamResult$ +]; +exports.CreateIpamExternalResourceVerificationToken$ = [9, n0, _CIERVT, + 0, () => exports.CreateIpamExternalResourceVerificationTokenRequest$, () => exports.CreateIpamExternalResourceVerificationTokenResult$ +]; +exports.CreateIpamPolicy$ = [9, n0, _CIP, + 0, () => exports.CreateIpamPolicyRequest$, () => exports.CreateIpamPolicyResult$ +]; +exports.CreateIpamPool$ = [9, n0, _CIPr, + 0, () => exports.CreateIpamPoolRequest$, () => exports.CreateIpamPoolResult$ +]; +exports.CreateIpamPrefixListResolver$ = [9, n0, _CIPLR, + 0, () => exports.CreateIpamPrefixListResolverRequest$, () => exports.CreateIpamPrefixListResolverResult$ +]; +exports.CreateIpamPrefixListResolverTarget$ = [9, n0, _CIPLRT, + 0, () => exports.CreateIpamPrefixListResolverTargetRequest$, () => exports.CreateIpamPrefixListResolverTargetResult$ +]; +exports.CreateIpamResourceDiscovery$ = [9, n0, _CIRD, + 0, () => exports.CreateIpamResourceDiscoveryRequest$, () => exports.CreateIpamResourceDiscoveryResult$ +]; +exports.CreateIpamScope$ = [9, n0, _CIS, + 0, () => exports.CreateIpamScopeRequest$, () => exports.CreateIpamScopeResult$ +]; +exports.CreateKeyPair$ = [9, n0, _CKP, + 0, () => exports.CreateKeyPairRequest$, () => exports.KeyPair$ +]; +exports.CreateLaunchTemplate$ = [9, n0, _CLT, + 0, () => exports.CreateLaunchTemplateRequest$, () => exports.CreateLaunchTemplateResult$ +]; +exports.CreateLaunchTemplateVersion$ = [9, n0, _CLTV, + 0, () => exports.CreateLaunchTemplateVersionRequest$, () => exports.CreateLaunchTemplateVersionResult$ +]; +exports.CreateLocalGatewayRoute$ = [9, n0, _CLGR, + 0, () => exports.CreateLocalGatewayRouteRequest$, () => exports.CreateLocalGatewayRouteResult$ +]; +exports.CreateLocalGatewayRouteTable$ = [9, n0, _CLGRT, + 0, () => exports.CreateLocalGatewayRouteTableRequest$, () => exports.CreateLocalGatewayRouteTableResult$ +]; +exports.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation$ = [9, n0, _CLGRTVIGA, + 0, () => exports.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest$, () => exports.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult$ +]; +exports.CreateLocalGatewayRouteTableVpcAssociation$ = [9, n0, _CLGRTVA, + 0, () => exports.CreateLocalGatewayRouteTableVpcAssociationRequest$, () => exports.CreateLocalGatewayRouteTableVpcAssociationResult$ +]; +exports.CreateLocalGatewayVirtualInterface$ = [9, n0, _CLGVI, + 0, () => exports.CreateLocalGatewayVirtualInterfaceRequest$, () => exports.CreateLocalGatewayVirtualInterfaceResult$ +]; +exports.CreateLocalGatewayVirtualInterfaceGroup$ = [9, n0, _CLGVIG, + 0, () => exports.CreateLocalGatewayVirtualInterfaceGroupRequest$, () => exports.CreateLocalGatewayVirtualInterfaceGroupResult$ +]; +exports.CreateMacSystemIntegrityProtectionModificationTask$ = [9, n0, _CMSIPMT, + 0, () => exports.CreateMacSystemIntegrityProtectionModificationTaskRequest$, () => exports.CreateMacSystemIntegrityProtectionModificationTaskResult$ +]; +exports.CreateManagedPrefixList$ = [9, n0, _CMPL, + 0, () => exports.CreateManagedPrefixListRequest$, () => exports.CreateManagedPrefixListResult$ +]; +exports.CreateNatGateway$ = [9, n0, _CNG, + 0, () => exports.CreateNatGatewayRequest$, () => exports.CreateNatGatewayResult$ +]; +exports.CreateNetworkAcl$ = [9, n0, _CNAr, + 0, () => exports.CreateNetworkAclRequest$, () => exports.CreateNetworkAclResult$ +]; +exports.CreateNetworkAclEntry$ = [9, n0, _CNAE, + 0, () => exports.CreateNetworkAclEntryRequest$, () => __Unit +]; +exports.CreateNetworkInsightsAccessScope$ = [9, n0, _CNIAS, + 0, () => exports.CreateNetworkInsightsAccessScopeRequest$, () => exports.CreateNetworkInsightsAccessScopeResult$ +]; +exports.CreateNetworkInsightsPath$ = [9, n0, _CNIP, + 0, () => exports.CreateNetworkInsightsPathRequest$, () => exports.CreateNetworkInsightsPathResult$ +]; +exports.CreateNetworkInterface$ = [9, n0, _CNIr, + 0, () => exports.CreateNetworkInterfaceRequest$, () => exports.CreateNetworkInterfaceResult$ +]; +exports.CreateNetworkInterfacePermission$ = [9, n0, _CNIPr, + 0, () => exports.CreateNetworkInterfacePermissionRequest$, () => exports.CreateNetworkInterfacePermissionResult$ +]; +exports.CreatePlacementGroup$ = [9, n0, _CPG, + 0, () => exports.CreatePlacementGroupRequest$, () => exports.CreatePlacementGroupResult$ +]; +exports.CreatePublicIpv4Pool$ = [9, n0, _CPIP, + 0, () => exports.CreatePublicIpv4PoolRequest$, () => exports.CreatePublicIpv4PoolResult$ +]; +exports.CreateReplaceRootVolumeTask$ = [9, n0, _CRRVT, + 0, () => exports.CreateReplaceRootVolumeTaskRequest$, () => exports.CreateReplaceRootVolumeTaskResult$ +]; +exports.CreateReservedInstancesListing$ = [9, n0, _CRILr, + 0, () => exports.CreateReservedInstancesListingRequest$, () => exports.CreateReservedInstancesListingResult$ +]; +exports.CreateRestoreImageTask$ = [9, n0, _CRIT, + 0, () => exports.CreateRestoreImageTaskRequest$, () => exports.CreateRestoreImageTaskResult$ +]; +exports.CreateRoute$ = [9, n0, _CRr, + 0, () => exports.CreateRouteRequest$, () => exports.CreateRouteResult$ +]; +exports.CreateRouteServer$ = [9, n0, _CRSr, + 0, () => exports.CreateRouteServerRequest$, () => exports.CreateRouteServerResult$ +]; +exports.CreateRouteServerEndpoint$ = [9, n0, _CRSE, + 0, () => exports.CreateRouteServerEndpointRequest$, () => exports.CreateRouteServerEndpointResult$ +]; +exports.CreateRouteServerPeer$ = [9, n0, _CRSP, + 0, () => exports.CreateRouteServerPeerRequest$, () => exports.CreateRouteServerPeerResult$ +]; +exports.CreateRouteTable$ = [9, n0, _CRTr, + 0, () => exports.CreateRouteTableRequest$, () => exports.CreateRouteTableResult$ +]; +exports.CreateSecondaryNetwork$ = [9, n0, _CSN, + 0, () => exports.CreateSecondaryNetworkRequest$, () => exports.CreateSecondaryNetworkResult$ +]; +exports.CreateSecondarySubnet$ = [9, n0, _CSS, + 0, () => exports.CreateSecondarySubnetRequest$, () => exports.CreateSecondarySubnetResult$ +]; +exports.CreateSecurityGroup$ = [9, n0, _CSG, + 0, () => exports.CreateSecurityGroupRequest$, () => exports.CreateSecurityGroupResult$ +]; +exports.CreateSnapshot$ = [9, n0, _CSre, + 0, () => exports.CreateSnapshotRequest$, () => exports.Snapshot$ +]; +exports.CreateSnapshots$ = [9, n0, _CSrea, + 0, () => exports.CreateSnapshotsRequest$, () => exports.CreateSnapshotsResult$ +]; +exports.CreateSpotDatafeedSubscription$ = [9, n0, _CSDS, + 0, () => exports.CreateSpotDatafeedSubscriptionRequest$, () => exports.CreateSpotDatafeedSubscriptionResult$ +]; +exports.CreateStoreImageTask$ = [9, n0, _CSIT, + 0, () => exports.CreateStoreImageTaskRequest$, () => exports.CreateStoreImageTaskResult$ +]; +exports.CreateSubnet$ = [9, n0, _CSreat, + 0, () => exports.CreateSubnetRequest$, () => exports.CreateSubnetResult$ +]; +exports.CreateSubnetCidrReservation$ = [9, n0, _CSCR, + 0, () => exports.CreateSubnetCidrReservationRequest$, () => exports.CreateSubnetCidrReservationResult$ +]; +exports.CreateTags$ = [9, n0, _CTreat, + 0, () => exports.CreateTagsRequest$, () => __Unit +]; +exports.CreateTrafficMirrorFilter$ = [9, n0, _CTMF, + 0, () => exports.CreateTrafficMirrorFilterRequest$, () => exports.CreateTrafficMirrorFilterResult$ +]; +exports.CreateTrafficMirrorFilterRule$ = [9, n0, _CTMFRre, + 0, () => exports.CreateTrafficMirrorFilterRuleRequest$, () => exports.CreateTrafficMirrorFilterRuleResult$ +]; +exports.CreateTrafficMirrorSession$ = [9, n0, _CTMS, + 0, () => exports.CreateTrafficMirrorSessionRequest$, () => exports.CreateTrafficMirrorSessionResult$ +]; +exports.CreateTrafficMirrorTarget$ = [9, n0, _CTMT, + 0, () => exports.CreateTrafficMirrorTargetRequest$, () => exports.CreateTrafficMirrorTargetResult$ +]; +exports.CreateTransitGateway$ = [9, n0, _CTG, + 0, () => exports.CreateTransitGatewayRequest$, () => exports.CreateTransitGatewayResult$ +]; +exports.CreateTransitGatewayConnect$ = [9, n0, _CTGC, + 0, () => exports.CreateTransitGatewayConnectRequest$, () => exports.CreateTransitGatewayConnectResult$ +]; +exports.CreateTransitGatewayConnectPeer$ = [9, n0, _CTGCP, + 0, () => exports.CreateTransitGatewayConnectPeerRequest$, () => exports.CreateTransitGatewayConnectPeerResult$ +]; +exports.CreateTransitGatewayMeteringPolicy$ = [9, n0, _CTGMP, + 0, () => exports.CreateTransitGatewayMeteringPolicyRequest$, () => exports.CreateTransitGatewayMeteringPolicyResult$ +]; +exports.CreateTransitGatewayMeteringPolicyEntry$ = [9, n0, _CTGMPE, + 0, () => exports.CreateTransitGatewayMeteringPolicyEntryRequest$, () => exports.CreateTransitGatewayMeteringPolicyEntryResult$ +]; +exports.CreateTransitGatewayMulticastDomain$ = [9, n0, _CTGMD, + 0, () => exports.CreateTransitGatewayMulticastDomainRequest$, () => exports.CreateTransitGatewayMulticastDomainResult$ +]; +exports.CreateTransitGatewayPeeringAttachment$ = [9, n0, _CTGPA, + 0, () => exports.CreateTransitGatewayPeeringAttachmentRequest$, () => exports.CreateTransitGatewayPeeringAttachmentResult$ +]; +exports.CreateTransitGatewayPolicyTable$ = [9, n0, _CTGPT, + 0, () => exports.CreateTransitGatewayPolicyTableRequest$, () => exports.CreateTransitGatewayPolicyTableResult$ +]; +exports.CreateTransitGatewayPrefixListReference$ = [9, n0, _CTGPLR, + 0, () => exports.CreateTransitGatewayPrefixListReferenceRequest$, () => exports.CreateTransitGatewayPrefixListReferenceResult$ +]; +exports.CreateTransitGatewayRoute$ = [9, n0, _CTGRre, + 0, () => exports.CreateTransitGatewayRouteRequest$, () => exports.CreateTransitGatewayRouteResult$ +]; +exports.CreateTransitGatewayRouteTable$ = [9, n0, _CTGRT, + 0, () => exports.CreateTransitGatewayRouteTableRequest$, () => exports.CreateTransitGatewayRouteTableResult$ +]; +exports.CreateTransitGatewayRouteTableAnnouncement$ = [9, n0, _CTGRTA, + 0, () => exports.CreateTransitGatewayRouteTableAnnouncementRequest$, () => exports.CreateTransitGatewayRouteTableAnnouncementResult$ +]; +exports.CreateTransitGatewayVpcAttachment$ = [9, n0, _CTGVA, + 0, () => exports.CreateTransitGatewayVpcAttachmentRequest$, () => exports.CreateTransitGatewayVpcAttachmentResult$ +]; +exports.CreateVerifiedAccessEndpoint$ = [9, n0, _CVAE, + 0, () => exports.CreateVerifiedAccessEndpointRequest$, () => exports.CreateVerifiedAccessEndpointResult$ +]; +exports.CreateVerifiedAccessGroup$ = [9, n0, _CVAG, + 0, () => exports.CreateVerifiedAccessGroupRequest$, () => exports.CreateVerifiedAccessGroupResult$ +]; +exports.CreateVerifiedAccessInstance$ = [9, n0, _CVAI, + 0, () => exports.CreateVerifiedAccessInstanceRequest$, () => exports.CreateVerifiedAccessInstanceResult$ +]; +exports.CreateVerifiedAccessTrustProvider$ = [9, n0, _CVATP, + 0, () => exports.CreateVerifiedAccessTrustProviderRequest$, () => exports.CreateVerifiedAccessTrustProviderResult$ +]; +exports.CreateVolume$ = [9, n0, _CVr, + 0, () => exports.CreateVolumeRequest$, () => exports.Volume$ +]; +exports.CreateVpc$ = [9, n0, _CVre, + 0, () => exports.CreateVpcRequest$, () => exports.CreateVpcResult$ +]; +exports.CreateVpcBlockPublicAccessExclusion$ = [9, n0, _CVBPAE, + 0, () => exports.CreateVpcBlockPublicAccessExclusionRequest$, () => exports.CreateVpcBlockPublicAccessExclusionResult$ +]; +exports.CreateVpcEncryptionControl$ = [9, n0, _CVEC, + 0, () => exports.CreateVpcEncryptionControlRequest$, () => exports.CreateVpcEncryptionControlResult$ +]; +exports.CreateVpcEndpoint$ = [9, n0, _CVEr, + 0, () => exports.CreateVpcEndpointRequest$, () => exports.CreateVpcEndpointResult$ +]; +exports.CreateVpcEndpointConnectionNotification$ = [9, n0, _CVECN, + 0, () => exports.CreateVpcEndpointConnectionNotificationRequest$, () => exports.CreateVpcEndpointConnectionNotificationResult$ +]; +exports.CreateVpcEndpointServiceConfiguration$ = [9, n0, _CVESC, + 0, () => exports.CreateVpcEndpointServiceConfigurationRequest$, () => exports.CreateVpcEndpointServiceConfigurationResult$ +]; +exports.CreateVpcPeeringConnection$ = [9, n0, _CVPC, + 0, () => exports.CreateVpcPeeringConnectionRequest$, () => exports.CreateVpcPeeringConnectionResult$ +]; +exports.CreateVpnConcentrator$ = [9, n0, _CVCr, + 0, () => exports.CreateVpnConcentratorRequest$, () => exports.CreateVpnConcentratorResult$ +]; +exports.CreateVpnConnection$ = [9, n0, _CVCre, + 0, () => exports.CreateVpnConnectionRequest$, () => exports.CreateVpnConnectionResult$ +]; +exports.CreateVpnConnectionRoute$ = [9, n0, _CVCRreat, + 0, () => exports.CreateVpnConnectionRouteRequest$, () => __Unit +]; +exports.CreateVpnGateway$ = [9, n0, _CVG, + 0, () => exports.CreateVpnGatewayRequest$, () => exports.CreateVpnGatewayResult$ +]; +exports.DeleteCapacityManagerDataExport$ = [9, n0, _DCMDE, + 0, () => exports.DeleteCapacityManagerDataExportRequest$, () => exports.DeleteCapacityManagerDataExportResult$ +]; +exports.DeleteCarrierGateway$ = [9, n0, _DCG, + 0, () => exports.DeleteCarrierGatewayRequest$, () => exports.DeleteCarrierGatewayResult$ +]; +exports.DeleteClientVpnEndpoint$ = [9, n0, _DCVE, + 0, () => exports.DeleteClientVpnEndpointRequest$, () => exports.DeleteClientVpnEndpointResult$ +]; +exports.DeleteClientVpnRoute$ = [9, n0, _DCVR, + 0, () => exports.DeleteClientVpnRouteRequest$, () => exports.DeleteClientVpnRouteResult$ +]; +exports.DeleteCoipCidr$ = [9, n0, _DCC, + 0, () => exports.DeleteCoipCidrRequest$, () => exports.DeleteCoipCidrResult$ +]; +exports.DeleteCoipPool$ = [9, n0, _DCP, + 0, () => exports.DeleteCoipPoolRequest$, () => exports.DeleteCoipPoolResult$ +]; +exports.DeleteCustomerGateway$ = [9, n0, _DCGe, + 0, () => exports.DeleteCustomerGatewayRequest$, () => __Unit +]; +exports.DeleteDhcpOptions$ = [9, n0, _DDO, + 0, () => exports.DeleteDhcpOptionsRequest$, () => __Unit +]; +exports.DeleteEgressOnlyInternetGateway$ = [9, n0, _DEOIG, + 0, () => exports.DeleteEgressOnlyInternetGatewayRequest$, () => exports.DeleteEgressOnlyInternetGatewayResult$ +]; +exports.DeleteFleets$ = [9, n0, _DF, + 0, () => exports.DeleteFleetsRequest$, () => exports.DeleteFleetsResult$ +]; +exports.DeleteFlowLogs$ = [9, n0, _DFL, + 0, () => exports.DeleteFlowLogsRequest$, () => exports.DeleteFlowLogsResult$ +]; +exports.DeleteFpgaImage$ = [9, n0, _DFIe, + 0, () => exports.DeleteFpgaImageRequest$, () => exports.DeleteFpgaImageResult$ +]; +exports.DeleteImageUsageReport$ = [9, n0, _DIUR, + 0, () => exports.DeleteImageUsageReportRequest$, () => exports.DeleteImageUsageReportResult$ +]; +exports.DeleteInstanceConnectEndpoint$ = [9, n0, _DICE, + 0, () => exports.DeleteInstanceConnectEndpointRequest$, () => exports.DeleteInstanceConnectEndpointResult$ +]; +exports.DeleteInstanceEventWindow$ = [9, n0, _DIEW, + 0, () => exports.DeleteInstanceEventWindowRequest$, () => exports.DeleteInstanceEventWindowResult$ +]; +exports.DeleteInternetGateway$ = [9, n0, _DIG, + 0, () => exports.DeleteInternetGatewayRequest$, () => __Unit +]; +exports.DeleteIpam$ = [9, n0, _DIel, + 0, () => exports.DeleteIpamRequest$, () => exports.DeleteIpamResult$ +]; +exports.DeleteIpamExternalResourceVerificationToken$ = [9, n0, _DIERVT, + 0, () => exports.DeleteIpamExternalResourceVerificationTokenRequest$, () => exports.DeleteIpamExternalResourceVerificationTokenResult$ +]; +exports.DeleteIpamPolicy$ = [9, n0, _DIP, + 0, () => exports.DeleteIpamPolicyRequest$, () => exports.DeleteIpamPolicyResult$ +]; +exports.DeleteIpamPool$ = [9, n0, _DIPe, + 0, () => exports.DeleteIpamPoolRequest$, () => exports.DeleteIpamPoolResult$ +]; +exports.DeleteIpamPrefixListResolver$ = [9, n0, _DIPLR, + 0, () => exports.DeleteIpamPrefixListResolverRequest$, () => exports.DeleteIpamPrefixListResolverResult$ +]; +exports.DeleteIpamPrefixListResolverTarget$ = [9, n0, _DIPLRT, + 0, () => exports.DeleteIpamPrefixListResolverTargetRequest$, () => exports.DeleteIpamPrefixListResolverTargetResult$ +]; +exports.DeleteIpamResourceDiscovery$ = [9, n0, _DIRD, + 0, () => exports.DeleteIpamResourceDiscoveryRequest$, () => exports.DeleteIpamResourceDiscoveryResult$ +]; +exports.DeleteIpamScope$ = [9, n0, _DISe, + 0, () => exports.DeleteIpamScopeRequest$, () => exports.DeleteIpamScopeResult$ +]; +exports.DeleteKeyPair$ = [9, n0, _DKP, + 0, () => exports.DeleteKeyPairRequest$, () => exports.DeleteKeyPairResult$ +]; +exports.DeleteLaunchTemplate$ = [9, n0, _DLT, + 0, () => exports.DeleteLaunchTemplateRequest$, () => exports.DeleteLaunchTemplateResult$ +]; +exports.DeleteLaunchTemplateVersions$ = [9, n0, _DLTV, + 0, () => exports.DeleteLaunchTemplateVersionsRequest$, () => exports.DeleteLaunchTemplateVersionsResult$ +]; +exports.DeleteLocalGatewayRoute$ = [9, n0, _DLGRel, + 0, () => exports.DeleteLocalGatewayRouteRequest$, () => exports.DeleteLocalGatewayRouteResult$ +]; +exports.DeleteLocalGatewayRouteTable$ = [9, n0, _DLGRT, + 0, () => exports.DeleteLocalGatewayRouteTableRequest$, () => exports.DeleteLocalGatewayRouteTableResult$ +]; +exports.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation$ = [9, n0, _DLGRTVIGA, + 0, () => exports.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest$, () => exports.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult$ +]; +exports.DeleteLocalGatewayRouteTableVpcAssociation$ = [9, n0, _DLGRTVA, + 0, () => exports.DeleteLocalGatewayRouteTableVpcAssociationRequest$, () => exports.DeleteLocalGatewayRouteTableVpcAssociationResult$ +]; +exports.DeleteLocalGatewayVirtualInterface$ = [9, n0, _DLGVI, + 0, () => exports.DeleteLocalGatewayVirtualInterfaceRequest$, () => exports.DeleteLocalGatewayVirtualInterfaceResult$ +]; +exports.DeleteLocalGatewayVirtualInterfaceGroup$ = [9, n0, _DLGVIG, + 0, () => exports.DeleteLocalGatewayVirtualInterfaceGroupRequest$, () => exports.DeleteLocalGatewayVirtualInterfaceGroupResult$ +]; +exports.DeleteManagedPrefixList$ = [9, n0, _DMPL, + 0, () => exports.DeleteManagedPrefixListRequest$, () => exports.DeleteManagedPrefixListResult$ +]; +exports.DeleteNatGateway$ = [9, n0, _DNG, + 0, () => exports.DeleteNatGatewayRequest$, () => exports.DeleteNatGatewayResult$ +]; +exports.DeleteNetworkAcl$ = [9, n0, _DNA, + 0, () => exports.DeleteNetworkAclRequest$, () => __Unit +]; +exports.DeleteNetworkAclEntry$ = [9, n0, _DNAE, + 0, () => exports.DeleteNetworkAclEntryRequest$, () => __Unit +]; +exports.DeleteNetworkInsightsAccessScope$ = [9, n0, _DNIAS, + 0, () => exports.DeleteNetworkInsightsAccessScopeRequest$, () => exports.DeleteNetworkInsightsAccessScopeResult$ +]; +exports.DeleteNetworkInsightsAccessScopeAnalysis$ = [9, n0, _DNIASA, + 0, () => exports.DeleteNetworkInsightsAccessScopeAnalysisRequest$, () => exports.DeleteNetworkInsightsAccessScopeAnalysisResult$ +]; +exports.DeleteNetworkInsightsAnalysis$ = [9, n0, _DNIA, + 0, () => exports.DeleteNetworkInsightsAnalysisRequest$, () => exports.DeleteNetworkInsightsAnalysisResult$ +]; +exports.DeleteNetworkInsightsPath$ = [9, n0, _DNIP, + 0, () => exports.DeleteNetworkInsightsPathRequest$, () => exports.DeleteNetworkInsightsPathResult$ +]; +exports.DeleteNetworkInterface$ = [9, n0, _DNI, + 0, () => exports.DeleteNetworkInterfaceRequest$, () => __Unit +]; +exports.DeleteNetworkInterfacePermission$ = [9, n0, _DNIPe, + 0, () => exports.DeleteNetworkInterfacePermissionRequest$, () => exports.DeleteNetworkInterfacePermissionResult$ +]; +exports.DeletePlacementGroup$ = [9, n0, _DPG, + 0, () => exports.DeletePlacementGroupRequest$, () => __Unit +]; +exports.DeletePublicIpv4Pool$ = [9, n0, _DPIP, + 0, () => exports.DeletePublicIpv4PoolRequest$, () => exports.DeletePublicIpv4PoolResult$ +]; +exports.DeleteQueuedReservedInstances$ = [9, n0, _DQRI, + 0, () => exports.DeleteQueuedReservedInstancesRequest$, () => exports.DeleteQueuedReservedInstancesResult$ +]; +exports.DeleteRoute$ = [9, n0, _DRel, + 0, () => exports.DeleteRouteRequest$, () => __Unit +]; +exports.DeleteRouteServer$ = [9, n0, _DRSe, + 0, () => exports.DeleteRouteServerRequest$, () => exports.DeleteRouteServerResult$ +]; +exports.DeleteRouteServerEndpoint$ = [9, n0, _DRSE, + 0, () => exports.DeleteRouteServerEndpointRequest$, () => exports.DeleteRouteServerEndpointResult$ +]; +exports.DeleteRouteServerPeer$ = [9, n0, _DRSP, + 0, () => exports.DeleteRouteServerPeerRequest$, () => exports.DeleteRouteServerPeerResult$ +]; +exports.DeleteRouteTable$ = [9, n0, _DRT, + 0, () => exports.DeleteRouteTableRequest$, () => __Unit +]; +exports.DeleteSecondaryNetwork$ = [9, n0, _DSN, + 0, () => exports.DeleteSecondaryNetworkRequest$, () => exports.DeleteSecondaryNetworkResult$ +]; +exports.DeleteSecondarySubnet$ = [9, n0, _DSS, + 0, () => exports.DeleteSecondarySubnetRequest$, () => exports.DeleteSecondarySubnetResult$ +]; +exports.DeleteSecurityGroup$ = [9, n0, _DSG, + 0, () => exports.DeleteSecurityGroupRequest$, () => exports.DeleteSecurityGroupResult$ +]; +exports.DeleteSnapshot$ = [9, n0, _DSele, + 0, () => exports.DeleteSnapshotRequest$, () => __Unit +]; +exports.DeleteSpotDatafeedSubscription$ = [9, n0, _DSDS, + 0, () => exports.DeleteSpotDatafeedSubscriptionRequest$, () => __Unit +]; +exports.DeleteSubnet$ = [9, n0, _DSelet, + 0, () => exports.DeleteSubnetRequest$, () => __Unit +]; +exports.DeleteSubnetCidrReservation$ = [9, n0, _DSCRe, + 0, () => exports.DeleteSubnetCidrReservationRequest$, () => exports.DeleteSubnetCidrReservationResult$ +]; +exports.DeleteTags$ = [9, n0, _DTelet, + 0, () => exports.DeleteTagsRequest$, () => __Unit +]; +exports.DeleteTrafficMirrorFilter$ = [9, n0, _DTMF, + 0, () => exports.DeleteTrafficMirrorFilterRequest$, () => exports.DeleteTrafficMirrorFilterResult$ +]; +exports.DeleteTrafficMirrorFilterRule$ = [9, n0, _DTMFRel, + 0, () => exports.DeleteTrafficMirrorFilterRuleRequest$, () => exports.DeleteTrafficMirrorFilterRuleResult$ +]; +exports.DeleteTrafficMirrorSession$ = [9, n0, _DTMS, + 0, () => exports.DeleteTrafficMirrorSessionRequest$, () => exports.DeleteTrafficMirrorSessionResult$ +]; +exports.DeleteTrafficMirrorTarget$ = [9, n0, _DTMT, + 0, () => exports.DeleteTrafficMirrorTargetRequest$, () => exports.DeleteTrafficMirrorTargetResult$ +]; +exports.DeleteTransitGateway$ = [9, n0, _DTG, + 0, () => exports.DeleteTransitGatewayRequest$, () => exports.DeleteTransitGatewayResult$ +]; +exports.DeleteTransitGatewayConnect$ = [9, n0, _DTGC, + 0, () => exports.DeleteTransitGatewayConnectRequest$, () => exports.DeleteTransitGatewayConnectResult$ +]; +exports.DeleteTransitGatewayConnectPeer$ = [9, n0, _DTGCP, + 0, () => exports.DeleteTransitGatewayConnectPeerRequest$, () => exports.DeleteTransitGatewayConnectPeerResult$ +]; +exports.DeleteTransitGatewayMeteringPolicy$ = [9, n0, _DTGMP, + 0, () => exports.DeleteTransitGatewayMeteringPolicyRequest$, () => exports.DeleteTransitGatewayMeteringPolicyResult$ +]; +exports.DeleteTransitGatewayMeteringPolicyEntry$ = [9, n0, _DTGMPE, + 0, () => exports.DeleteTransitGatewayMeteringPolicyEntryRequest$, () => exports.DeleteTransitGatewayMeteringPolicyEntryResult$ +]; +exports.DeleteTransitGatewayMulticastDomain$ = [9, n0, _DTGMD, + 0, () => exports.DeleteTransitGatewayMulticastDomainRequest$, () => exports.DeleteTransitGatewayMulticastDomainResult$ +]; +exports.DeleteTransitGatewayPeeringAttachment$ = [9, n0, _DTGPA, + 0, () => exports.DeleteTransitGatewayPeeringAttachmentRequest$, () => exports.DeleteTransitGatewayPeeringAttachmentResult$ +]; +exports.DeleteTransitGatewayPolicyTable$ = [9, n0, _DTGPT, + 0, () => exports.DeleteTransitGatewayPolicyTableRequest$, () => exports.DeleteTransitGatewayPolicyTableResult$ +]; +exports.DeleteTransitGatewayPrefixListReference$ = [9, n0, _DTGPLR, + 0, () => exports.DeleteTransitGatewayPrefixListReferenceRequest$, () => exports.DeleteTransitGatewayPrefixListReferenceResult$ +]; +exports.DeleteTransitGatewayRoute$ = [9, n0, _DTGRel, + 0, () => exports.DeleteTransitGatewayRouteRequest$, () => exports.DeleteTransitGatewayRouteResult$ +]; +exports.DeleteTransitGatewayRouteTable$ = [9, n0, _DTGRT, + 0, () => exports.DeleteTransitGatewayRouteTableRequest$, () => exports.DeleteTransitGatewayRouteTableResult$ +]; +exports.DeleteTransitGatewayRouteTableAnnouncement$ = [9, n0, _DTGRTA, + 0, () => exports.DeleteTransitGatewayRouteTableAnnouncementRequest$, () => exports.DeleteTransitGatewayRouteTableAnnouncementResult$ +]; +exports.DeleteTransitGatewayVpcAttachment$ = [9, n0, _DTGVA, + 0, () => exports.DeleteTransitGatewayVpcAttachmentRequest$, () => exports.DeleteTransitGatewayVpcAttachmentResult$ +]; +exports.DeleteVerifiedAccessEndpoint$ = [9, n0, _DVAE, + 0, () => exports.DeleteVerifiedAccessEndpointRequest$, () => exports.DeleteVerifiedAccessEndpointResult$ +]; +exports.DeleteVerifiedAccessGroup$ = [9, n0, _DVAG, + 0, () => exports.DeleteVerifiedAccessGroupRequest$, () => exports.DeleteVerifiedAccessGroupResult$ +]; +exports.DeleteVerifiedAccessInstance$ = [9, n0, _DVAI, + 0, () => exports.DeleteVerifiedAccessInstanceRequest$, () => exports.DeleteVerifiedAccessInstanceResult$ +]; +exports.DeleteVerifiedAccessTrustProvider$ = [9, n0, _DVATP, + 0, () => exports.DeleteVerifiedAccessTrustProviderRequest$, () => exports.DeleteVerifiedAccessTrustProviderResult$ +]; +exports.DeleteVolume$ = [9, n0, _DVel, + 0, () => exports.DeleteVolumeRequest$, () => __Unit +]; +exports.DeleteVpc$ = [9, n0, _DVele, + 0, () => exports.DeleteVpcRequest$, () => __Unit +]; +exports.DeleteVpcBlockPublicAccessExclusion$ = [9, n0, _DVBPAE, + 0, () => exports.DeleteVpcBlockPublicAccessExclusionRequest$, () => exports.DeleteVpcBlockPublicAccessExclusionResult$ +]; +exports.DeleteVpcEncryptionControl$ = [9, n0, _DVEC, + 0, () => exports.DeleteVpcEncryptionControlRequest$, () => exports.DeleteVpcEncryptionControlResult$ +]; +exports.DeleteVpcEndpointConnectionNotifications$ = [9, n0, _DVECN, + 0, () => exports.DeleteVpcEndpointConnectionNotificationsRequest$, () => exports.DeleteVpcEndpointConnectionNotificationsResult$ +]; +exports.DeleteVpcEndpoints$ = [9, n0, _DVE, + 0, () => exports.DeleteVpcEndpointsRequest$, () => exports.DeleteVpcEndpointsResult$ +]; +exports.DeleteVpcEndpointServiceConfigurations$ = [9, n0, _DVESC, + 0, () => exports.DeleteVpcEndpointServiceConfigurationsRequest$, () => exports.DeleteVpcEndpointServiceConfigurationsResult$ +]; +exports.DeleteVpcPeeringConnection$ = [9, n0, _DVPC, + 0, () => exports.DeleteVpcPeeringConnectionRequest$, () => exports.DeleteVpcPeeringConnectionResult$ +]; +exports.DeleteVpnConcentrator$ = [9, n0, _DVCe, + 0, () => exports.DeleteVpnConcentratorRequest$, () => exports.DeleteVpnConcentratorResult$ +]; +exports.DeleteVpnConnection$ = [9, n0, _DVCel, + 0, () => exports.DeleteVpnConnectionRequest$, () => __Unit +]; +exports.DeleteVpnConnectionRoute$ = [9, n0, _DVCRele, + 0, () => exports.DeleteVpnConnectionRouteRequest$, () => __Unit +]; +exports.DeleteVpnGateway$ = [9, n0, _DVG, + 0, () => exports.DeleteVpnGatewayRequest$, () => __Unit +]; +exports.DeprovisionByoipCidr$ = [9, n0, _DBC, + 0, () => exports.DeprovisionByoipCidrRequest$, () => exports.DeprovisionByoipCidrResult$ +]; +exports.DeprovisionIpamByoasn$ = [9, n0, _DIB, + 0, () => exports.DeprovisionIpamByoasnRequest$, () => exports.DeprovisionIpamByoasnResult$ +]; +exports.DeprovisionIpamPoolCidr$ = [9, n0, _DIPC, + 0, () => exports.DeprovisionIpamPoolCidrRequest$, () => exports.DeprovisionIpamPoolCidrResult$ +]; +exports.DeprovisionPublicIpv4PoolCidr$ = [9, n0, _DPIPC, + 0, () => exports.DeprovisionPublicIpv4PoolCidrRequest$, () => exports.DeprovisionPublicIpv4PoolCidrResult$ +]; +exports.DeregisterImage$ = [9, n0, _DIer, + 0, () => exports.DeregisterImageRequest$, () => exports.DeregisterImageResult$ +]; +exports.DeregisterInstanceEventNotificationAttributes$ = [9, n0, _DIENA, + 0, () => exports.DeregisterInstanceEventNotificationAttributesRequest$, () => exports.DeregisterInstanceEventNotificationAttributesResult$ +]; +exports.DeregisterTransitGatewayMulticastGroupMembers$ = [9, n0, _DTGMGM, + 0, () => exports.DeregisterTransitGatewayMulticastGroupMembersRequest$, () => exports.DeregisterTransitGatewayMulticastGroupMembersResult$ +]; +exports.DeregisterTransitGatewayMulticastGroupSources$ = [9, n0, _DTGMGS, + 0, () => exports.DeregisterTransitGatewayMulticastGroupSourcesRequest$, () => exports.DeregisterTransitGatewayMulticastGroupSourcesResult$ +]; +exports.DescribeAccountAttributes$ = [9, n0, _DAA, + 0, () => exports.DescribeAccountAttributesRequest$, () => exports.DescribeAccountAttributesResult$ +]; +exports.DescribeAddresses$ = [9, n0, _DAesc, + 0, () => exports.DescribeAddressesRequest$, () => exports.DescribeAddressesResult$ +]; +exports.DescribeAddressesAttribute$ = [9, n0, _DAAe, + 0, () => exports.DescribeAddressesAttributeRequest$, () => exports.DescribeAddressesAttributeResult$ +]; +exports.DescribeAddressTransfers$ = [9, n0, _DATe, + 0, () => exports.DescribeAddressTransfersRequest$, () => exports.DescribeAddressTransfersResult$ +]; +exports.DescribeAggregateIdFormat$ = [9, n0, _DAIF, + 0, () => exports.DescribeAggregateIdFormatRequest$, () => exports.DescribeAggregateIdFormatResult$ +]; +exports.DescribeAvailabilityZones$ = [9, n0, _DAZe, + 0, () => exports.DescribeAvailabilityZonesRequest$, () => exports.DescribeAvailabilityZonesResult$ +]; +exports.DescribeAwsNetworkPerformanceMetricSubscriptions$ = [9, n0, _DANPMS, + 0, () => exports.DescribeAwsNetworkPerformanceMetricSubscriptionsRequest$, () => exports.DescribeAwsNetworkPerformanceMetricSubscriptionsResult$ +]; +exports.DescribeBundleTasks$ = [9, n0, _DBT, + 0, () => exports.DescribeBundleTasksRequest$, () => exports.DescribeBundleTasksResult$ +]; +exports.DescribeByoipCidrs$ = [9, n0, _DBCe, + 0, () => exports.DescribeByoipCidrsRequest$, () => exports.DescribeByoipCidrsResult$ +]; +exports.DescribeCapacityBlockExtensionHistory$ = [9, n0, _DCBEH, + 0, () => exports.DescribeCapacityBlockExtensionHistoryRequest$, () => exports.DescribeCapacityBlockExtensionHistoryResult$ +]; +exports.DescribeCapacityBlockExtensionOfferings$ = [9, n0, _DCBEO, + 0, () => exports.DescribeCapacityBlockExtensionOfferingsRequest$, () => exports.DescribeCapacityBlockExtensionOfferingsResult$ +]; +exports.DescribeCapacityBlockOfferings$ = [9, n0, _DCBO, + 0, () => exports.DescribeCapacityBlockOfferingsRequest$, () => exports.DescribeCapacityBlockOfferingsResult$ +]; +exports.DescribeCapacityBlocks$ = [9, n0, _DCBe, + 0, () => exports.DescribeCapacityBlocksRequest$, () => exports.DescribeCapacityBlocksResult$ +]; +exports.DescribeCapacityBlockStatus$ = [9, n0, _DCBS, + 0, () => exports.DescribeCapacityBlockStatusRequest$, () => exports.DescribeCapacityBlockStatusResult$ +]; +exports.DescribeCapacityManagerDataExports$ = [9, n0, _DCMDEe, + 0, () => exports.DescribeCapacityManagerDataExportsRequest$, () => exports.DescribeCapacityManagerDataExportsResult$ +]; +exports.DescribeCapacityReservationBillingRequests$ = [9, n0, _DCRBR, + 0, () => exports.DescribeCapacityReservationBillingRequestsRequest$, () => exports.DescribeCapacityReservationBillingRequestsResult$ +]; +exports.DescribeCapacityReservationFleets$ = [9, n0, _DCRF, + 0, () => exports.DescribeCapacityReservationFleetsRequest$, () => exports.DescribeCapacityReservationFleetsResult$ +]; +exports.DescribeCapacityReservations$ = [9, n0, _DCRe, + 0, () => exports.DescribeCapacityReservationsRequest$, () => exports.DescribeCapacityReservationsResult$ +]; +exports.DescribeCapacityReservationTopology$ = [9, n0, _DCRT, + 0, () => exports.DescribeCapacityReservationTopologyRequest$, () => exports.DescribeCapacityReservationTopologyResult$ +]; +exports.DescribeCarrierGateways$ = [9, n0, _DCGes, + 0, () => exports.DescribeCarrierGatewaysRequest$, () => exports.DescribeCarrierGatewaysResult$ +]; +exports.DescribeClassicLinkInstances$ = [9, n0, _DCLI, + 0, () => exports.DescribeClassicLinkInstancesRequest$, () => exports.DescribeClassicLinkInstancesResult$ +]; +exports.DescribeClientVpnAuthorizationRules$ = [9, n0, _DCVAR, + 0, () => exports.DescribeClientVpnAuthorizationRulesRequest$, () => exports.DescribeClientVpnAuthorizationRulesResult$ +]; +exports.DescribeClientVpnConnections$ = [9, n0, _DCVC, + 0, () => exports.DescribeClientVpnConnectionsRequest$, () => exports.DescribeClientVpnConnectionsResult$ +]; +exports.DescribeClientVpnEndpoints$ = [9, n0, _DCVEe, + 0, () => exports.DescribeClientVpnEndpointsRequest$, () => exports.DescribeClientVpnEndpointsResult$ +]; +exports.DescribeClientVpnRoutes$ = [9, n0, _DCVRe, + 0, () => exports.DescribeClientVpnRoutesRequest$, () => exports.DescribeClientVpnRoutesResult$ +]; +exports.DescribeClientVpnTargetNetworks$ = [9, n0, _DCVTN, + 0, () => exports.DescribeClientVpnTargetNetworksRequest$, () => exports.DescribeClientVpnTargetNetworksResult$ +]; +exports.DescribeCoipPools$ = [9, n0, _DCPe, + 0, () => exports.DescribeCoipPoolsRequest$, () => exports.DescribeCoipPoolsResult$ +]; +exports.DescribeConversionTasks$ = [9, n0, _DCT, + 0, () => exports.DescribeConversionTasksRequest$, () => exports.DescribeConversionTasksResult$ +]; +exports.DescribeCustomerGateways$ = [9, n0, _DCGesc, + 0, () => exports.DescribeCustomerGatewaysRequest$, () => exports.DescribeCustomerGatewaysResult$ +]; +exports.DescribeDeclarativePoliciesReports$ = [9, n0, _DDPR, + 0, () => exports.DescribeDeclarativePoliciesReportsRequest$, () => exports.DescribeDeclarativePoliciesReportsResult$ +]; +exports.DescribeDhcpOptions$ = [9, n0, _DDOe, + 0, () => exports.DescribeDhcpOptionsRequest$, () => exports.DescribeDhcpOptionsResult$ +]; +exports.DescribeEgressOnlyInternetGateways$ = [9, n0, _DEOIGe, + 0, () => exports.DescribeEgressOnlyInternetGatewaysRequest$, () => exports.DescribeEgressOnlyInternetGatewaysResult$ +]; +exports.DescribeElasticGpus$ = [9, n0, _DEG, + 0, () => exports.DescribeElasticGpusRequest$, () => exports.DescribeElasticGpusResult$ +]; +exports.DescribeExportImageTasks$ = [9, n0, _DEIT, + 0, () => exports.DescribeExportImageTasksRequest$, () => exports.DescribeExportImageTasksResult$ +]; +exports.DescribeExportTasks$ = [9, n0, _DET, + 0, () => exports.DescribeExportTasksRequest$, () => exports.DescribeExportTasksResult$ +]; +exports.DescribeFastLaunchImages$ = [9, n0, _DFLI, + 0, () => exports.DescribeFastLaunchImagesRequest$, () => exports.DescribeFastLaunchImagesResult$ +]; +exports.DescribeFastSnapshotRestores$ = [9, n0, _DFSR, + 0, () => exports.DescribeFastSnapshotRestoresRequest$, () => exports.DescribeFastSnapshotRestoresResult$ +]; +exports.DescribeFleetHistory$ = [9, n0, _DFH, + 0, () => exports.DescribeFleetHistoryRequest$, () => exports.DescribeFleetHistoryResult$ +]; +exports.DescribeFleetInstances$ = [9, n0, _DFIes, + 0, () => exports.DescribeFleetInstancesRequest$, () => exports.DescribeFleetInstancesResult$ +]; +exports.DescribeFleets$ = [9, n0, _DFe, + 0, () => exports.DescribeFleetsRequest$, () => exports.DescribeFleetsResult$ +]; +exports.DescribeFlowLogs$ = [9, n0, _DFLe, + 0, () => exports.DescribeFlowLogsRequest$, () => exports.DescribeFlowLogsResult$ +]; +exports.DescribeFpgaImageAttribute$ = [9, n0, _DFIA, + 0, () => exports.DescribeFpgaImageAttributeRequest$, () => exports.DescribeFpgaImageAttributeResult$ +]; +exports.DescribeFpgaImages$ = [9, n0, _DFIesc, + 0, () => exports.DescribeFpgaImagesRequest$, () => exports.DescribeFpgaImagesResult$ +]; +exports.DescribeHostReservationOfferings$ = [9, n0, _DHRO, + 0, () => exports.DescribeHostReservationOfferingsRequest$, () => exports.DescribeHostReservationOfferingsResult$ +]; +exports.DescribeHostReservations$ = [9, n0, _DHRes, + 0, () => exports.DescribeHostReservationsRequest$, () => exports.DescribeHostReservationsResult$ +]; +exports.DescribeHosts$ = [9, n0, _DH, + 0, () => exports.DescribeHostsRequest$, () => exports.DescribeHostsResult$ +]; +exports.DescribeIamInstanceProfileAssociations$ = [9, n0, _DIIPA, + 0, () => exports.DescribeIamInstanceProfileAssociationsRequest$, () => exports.DescribeIamInstanceProfileAssociationsResult$ +]; +exports.DescribeIdentityIdFormat$ = [9, n0, _DIIF, + 0, () => exports.DescribeIdentityIdFormatRequest$, () => exports.DescribeIdentityIdFormatResult$ +]; +exports.DescribeIdFormat$ = [9, n0, _DIFe, + 0, () => exports.DescribeIdFormatRequest$, () => exports.DescribeIdFormatResult$ +]; +exports.DescribeImageAttribute$ = [9, n0, _DIA, + 0, () => exports.DescribeImageAttributeRequest$, () => exports.ImageAttribute$ +]; +exports.DescribeImageReferences$ = [9, n0, _DIRescribem, + 0, () => exports.DescribeImageReferencesRequest$, () => exports.DescribeImageReferencesResult$ +]; +exports.DescribeImages$ = [9, n0, _DIes, + 0, () => exports.DescribeImagesRequest$, () => exports.DescribeImagesResult$ +]; +exports.DescribeImageUsageReportEntries$ = [9, n0, _DIURE, + 0, () => exports.DescribeImageUsageReportEntriesRequest$, () => exports.DescribeImageUsageReportEntriesResult$ +]; +exports.DescribeImageUsageReports$ = [9, n0, _DIURe, + 0, () => exports.DescribeImageUsageReportsRequest$, () => exports.DescribeImageUsageReportsResult$ +]; +exports.DescribeImportImageTasks$ = [9, n0, _DIIT, + 0, () => exports.DescribeImportImageTasksRequest$, () => exports.DescribeImportImageTasksResult$ +]; +exports.DescribeImportSnapshotTasks$ = [9, n0, _DIST, + 0, () => exports.DescribeImportSnapshotTasksRequest$, () => exports.DescribeImportSnapshotTasksResult$ +]; +exports.DescribeInstanceAttribute$ = [9, n0, _DIAe, + 0, () => exports.DescribeInstanceAttributeRequest$, () => exports.InstanceAttribute$ +]; +exports.DescribeInstanceConnectEndpoints$ = [9, n0, _DICEe, + 0, () => exports.DescribeInstanceConnectEndpointsRequest$, () => exports.DescribeInstanceConnectEndpointsResult$ +]; +exports.DescribeInstanceCreditSpecifications$ = [9, n0, _DICS, + 0, () => exports.DescribeInstanceCreditSpecificationsRequest$, () => exports.DescribeInstanceCreditSpecificationsResult$ +]; +exports.DescribeInstanceEventNotificationAttributes$ = [9, n0, _DIENAe, + 0, () => exports.DescribeInstanceEventNotificationAttributesRequest$, () => exports.DescribeInstanceEventNotificationAttributesResult$ +]; +exports.DescribeInstanceEventWindows$ = [9, n0, _DIEWe, + 0, () => exports.DescribeInstanceEventWindowsRequest$, () => exports.DescribeInstanceEventWindowsResult$ +]; +exports.DescribeInstanceImageMetadata$ = [9, n0, _DIIM, + 0, () => exports.DescribeInstanceImageMetadataRequest$, () => exports.DescribeInstanceImageMetadataResult$ +]; +exports.DescribeInstances$ = [9, n0, _DIesc, + 0, () => exports.DescribeInstancesRequest$, () => exports.DescribeInstancesResult$ +]; +exports.DescribeInstanceSqlHaHistoryStates$ = [9, n0, _DISHHS, + 0, () => exports.DescribeInstanceSqlHaHistoryStatesRequest$, () => exports.DescribeInstanceSqlHaHistoryStatesResult$ +]; +exports.DescribeInstanceSqlHaStates$ = [9, n0, _DISHS, + 0, () => exports.DescribeInstanceSqlHaStatesRequest$, () => exports.DescribeInstanceSqlHaStatesResult$ +]; +exports.DescribeInstanceStatus$ = [9, n0, _DISes, + 0, () => exports.DescribeInstanceStatusRequest$, () => exports.DescribeInstanceStatusResult$ +]; +exports.DescribeInstanceTopology$ = [9, n0, _DIT, + 0, () => exports.DescribeInstanceTopologyRequest$, () => exports.DescribeInstanceTopologyResult$ +]; +exports.DescribeInstanceTypeOfferings$ = [9, n0, _DITO, + 0, () => exports.DescribeInstanceTypeOfferingsRequest$, () => exports.DescribeInstanceTypeOfferingsResult$ +]; +exports.DescribeInstanceTypes$ = [9, n0, _DITe, + 0, () => exports.DescribeInstanceTypesRequest$, () => exports.DescribeInstanceTypesResult$ +]; +exports.DescribeInternetGateways$ = [9, n0, _DIGe, + 0, () => exports.DescribeInternetGatewaysRequest$, () => exports.DescribeInternetGatewaysResult$ +]; +exports.DescribeIpamByoasn$ = [9, n0, _DIBe, + 0, () => exports.DescribeIpamByoasnRequest$, () => exports.DescribeIpamByoasnResult$ +]; +exports.DescribeIpamExternalResourceVerificationTokens$ = [9, n0, _DIERVTe, + 0, () => exports.DescribeIpamExternalResourceVerificationTokensRequest$, () => exports.DescribeIpamExternalResourceVerificationTokensResult$ +]; +exports.DescribeIpamPolicies$ = [9, n0, _DIPes, + 0, () => exports.DescribeIpamPoliciesRequest$, () => exports.DescribeIpamPoliciesResult$ +]; +exports.DescribeIpamPools$ = [9, n0, _DIPesc, + 0, () => exports.DescribeIpamPoolsRequest$, () => exports.DescribeIpamPoolsResult$ +]; +exports.DescribeIpamPrefixListResolvers$ = [9, n0, _DIPLRe, + 0, () => exports.DescribeIpamPrefixListResolversRequest$, () => exports.DescribeIpamPrefixListResolversResult$ +]; +exports.DescribeIpamPrefixListResolverTargets$ = [9, n0, _DIPLRTe, + 0, () => exports.DescribeIpamPrefixListResolverTargetsRequest$, () => exports.DescribeIpamPrefixListResolverTargetsResult$ +]; +exports.DescribeIpamResourceDiscoveries$ = [9, n0, _DIRDe, + 0, () => exports.DescribeIpamResourceDiscoveriesRequest$, () => exports.DescribeIpamResourceDiscoveriesResult$ +]; +exports.DescribeIpamResourceDiscoveryAssociations$ = [9, n0, _DIRDA, + 0, () => exports.DescribeIpamResourceDiscoveryAssociationsRequest$, () => exports.DescribeIpamResourceDiscoveryAssociationsResult$ +]; +exports.DescribeIpams$ = [9, n0, _DIescr, + 0, () => exports.DescribeIpamsRequest$, () => exports.DescribeIpamsResult$ +]; +exports.DescribeIpamScopes$ = [9, n0, _DISesc, + 0, () => exports.DescribeIpamScopesRequest$, () => exports.DescribeIpamScopesResult$ +]; +exports.DescribeIpv6Pools$ = [9, n0, _DIPescr, + 0, () => exports.DescribeIpv6PoolsRequest$, () => exports.DescribeIpv6PoolsResult$ +]; +exports.DescribeKeyPairs$ = [9, n0, _DKPe, + 0, () => exports.DescribeKeyPairsRequest$, () => exports.DescribeKeyPairsResult$ +]; +exports.DescribeLaunchTemplates$ = [9, n0, _DLTe, + 0, () => exports.DescribeLaunchTemplatesRequest$, () => exports.DescribeLaunchTemplatesResult$ +]; +exports.DescribeLaunchTemplateVersions$ = [9, n0, _DLTVe, + 0, () => exports.DescribeLaunchTemplateVersionsRequest$, () => exports.DescribeLaunchTemplateVersionsResult$ +]; +exports.DescribeLocalGatewayRouteTables$ = [9, n0, _DLGRTe, + 0, () => exports.DescribeLocalGatewayRouteTablesRequest$, () => exports.DescribeLocalGatewayRouteTablesResult$ +]; +exports.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations$ = [9, n0, _DLGRTVIGAe, + 0, () => exports.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest$, () => exports.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult$ +]; +exports.DescribeLocalGatewayRouteTableVpcAssociations$ = [9, n0, _DLGRTVAe, + 0, () => exports.DescribeLocalGatewayRouteTableVpcAssociationsRequest$, () => exports.DescribeLocalGatewayRouteTableVpcAssociationsResult$ +]; +exports.DescribeLocalGateways$ = [9, n0, _DLG, + 0, () => exports.DescribeLocalGatewaysRequest$, () => exports.DescribeLocalGatewaysResult$ +]; +exports.DescribeLocalGatewayVirtualInterfaceGroups$ = [9, n0, _DLGVIGe, + 0, () => exports.DescribeLocalGatewayVirtualInterfaceGroupsRequest$, () => exports.DescribeLocalGatewayVirtualInterfaceGroupsResult$ +]; +exports.DescribeLocalGatewayVirtualInterfaces$ = [9, n0, _DLGVIe, + 0, () => exports.DescribeLocalGatewayVirtualInterfacesRequest$, () => exports.DescribeLocalGatewayVirtualInterfacesResult$ +]; +exports.DescribeLockedSnapshots$ = [9, n0, _DLSe, + 0, () => exports.DescribeLockedSnapshotsRequest$, () => exports.DescribeLockedSnapshotsResult$ +]; +exports.DescribeMacHosts$ = [9, n0, _DMH, + 0, () => exports.DescribeMacHostsRequest$, () => exports.DescribeMacHostsResult$ +]; +exports.DescribeMacModificationTasks$ = [9, n0, _DMMT, + 0, () => exports.DescribeMacModificationTasksRequest$, () => exports.DescribeMacModificationTasksResult$ +]; +exports.DescribeManagedPrefixLists$ = [9, n0, _DMPLe, + 0, () => exports.DescribeManagedPrefixListsRequest$, () => exports.DescribeManagedPrefixListsResult$ +]; +exports.DescribeMovingAddresses$ = [9, n0, _DMA, + 0, () => exports.DescribeMovingAddressesRequest$, () => exports.DescribeMovingAddressesResult$ +]; +exports.DescribeNatGateways$ = [9, n0, _DNGe, + 0, () => exports.DescribeNatGatewaysRequest$, () => exports.DescribeNatGatewaysResult$ +]; +exports.DescribeNetworkAcls$ = [9, n0, _DNAe, + 0, () => exports.DescribeNetworkAclsRequest$, () => exports.DescribeNetworkAclsResult$ +]; +exports.DescribeNetworkInsightsAccessScopeAnalyses$ = [9, n0, _DNIASAe, + 0, () => exports.DescribeNetworkInsightsAccessScopeAnalysesRequest$, () => exports.DescribeNetworkInsightsAccessScopeAnalysesResult$ +]; +exports.DescribeNetworkInsightsAccessScopes$ = [9, n0, _DNIASe, + 0, () => exports.DescribeNetworkInsightsAccessScopesRequest$, () => exports.DescribeNetworkInsightsAccessScopesResult$ +]; +exports.DescribeNetworkInsightsAnalyses$ = [9, n0, _DNIAe, + 0, () => exports.DescribeNetworkInsightsAnalysesRequest$, () => exports.DescribeNetworkInsightsAnalysesResult$ +]; +exports.DescribeNetworkInsightsPaths$ = [9, n0, _DNIPes, + 0, () => exports.DescribeNetworkInsightsPathsRequest$, () => exports.DescribeNetworkInsightsPathsResult$ +]; +exports.DescribeNetworkInterfaceAttribute$ = [9, n0, _DNIAes, + 0, () => exports.DescribeNetworkInterfaceAttributeRequest$, () => exports.DescribeNetworkInterfaceAttributeResult$ +]; +exports.DescribeNetworkInterfacePermissions$ = [9, n0, _DNIPesc, + 0, () => exports.DescribeNetworkInterfacePermissionsRequest$, () => exports.DescribeNetworkInterfacePermissionsResult$ +]; +exports.DescribeNetworkInterfaces$ = [9, n0, _DNIe, + 0, () => exports.DescribeNetworkInterfacesRequest$, () => exports.DescribeNetworkInterfacesResult$ +]; +exports.DescribeOutpostLags$ = [9, n0, _DOLe, + 0, () => exports.DescribeOutpostLagsRequest$, () => exports.DescribeOutpostLagsResult$ +]; +exports.DescribePlacementGroups$ = [9, n0, _DPGe, + 0, () => exports.DescribePlacementGroupsRequest$, () => exports.DescribePlacementGroupsResult$ +]; +exports.DescribePrefixLists$ = [9, n0, _DPLes, + 0, () => exports.DescribePrefixListsRequest$, () => exports.DescribePrefixListsResult$ +]; +exports.DescribePrincipalIdFormat$ = [9, n0, _DPIF, + 0, () => exports.DescribePrincipalIdFormatRequest$, () => exports.DescribePrincipalIdFormatResult$ +]; +exports.DescribePublicIpv4Pools$ = [9, n0, _DPIPe, + 0, () => exports.DescribePublicIpv4PoolsRequest$, () => exports.DescribePublicIpv4PoolsResult$ +]; +exports.DescribeRegions$ = [9, n0, _DRes, + 0, () => exports.DescribeRegionsRequest$, () => exports.DescribeRegionsResult$ +]; +exports.DescribeReplaceRootVolumeTasks$ = [9, n0, _DRRVT, + 0, () => exports.DescribeReplaceRootVolumeTasksRequest$, () => exports.DescribeReplaceRootVolumeTasksResult$ +]; +exports.DescribeReservedInstances$ = [9, n0, _DRI, + 0, () => exports.DescribeReservedInstancesRequest$, () => exports.DescribeReservedInstancesResult$ +]; +exports.DescribeReservedInstancesListings$ = [9, n0, _DRIL, + 0, () => exports.DescribeReservedInstancesListingsRequest$, () => exports.DescribeReservedInstancesListingsResult$ +]; +exports.DescribeReservedInstancesModifications$ = [9, n0, _DRIM, + 0, () => exports.DescribeReservedInstancesModificationsRequest$, () => exports.DescribeReservedInstancesModificationsResult$ +]; +exports.DescribeReservedInstancesOfferings$ = [9, n0, _DRIO, + 0, () => exports.DescribeReservedInstancesOfferingsRequest$, () => exports.DescribeReservedInstancesOfferingsResult$ +]; +exports.DescribeRouteServerEndpoints$ = [9, n0, _DRSEe, + 0, () => exports.DescribeRouteServerEndpointsRequest$, () => exports.DescribeRouteServerEndpointsResult$ +]; +exports.DescribeRouteServerPeers$ = [9, n0, _DRSPe, + 0, () => exports.DescribeRouteServerPeersRequest$, () => exports.DescribeRouteServerPeersResult$ +]; +exports.DescribeRouteServers$ = [9, n0, _DRSes, + 0, () => exports.DescribeRouteServersRequest$, () => exports.DescribeRouteServersResult$ +]; +exports.DescribeRouteTables$ = [9, n0, _DRTe, + 0, () => exports.DescribeRouteTablesRequest$, () => exports.DescribeRouteTablesResult$ +]; +exports.DescribeScheduledInstanceAvailability$ = [9, n0, _DSIA, + 0, () => exports.DescribeScheduledInstanceAvailabilityRequest$, () => exports.DescribeScheduledInstanceAvailabilityResult$ +]; +exports.DescribeScheduledInstances$ = [9, n0, _DSI, + 0, () => exports.DescribeScheduledInstancesRequest$, () => exports.DescribeScheduledInstancesResult$ +]; +exports.DescribeSecondaryInterfaces$ = [9, n0, _DSIe, + 0, () => exports.DescribeSecondaryInterfacesRequest$, () => exports.DescribeSecondaryInterfacesResult$ +]; +exports.DescribeSecondaryNetworks$ = [9, n0, _DSNe, + 0, () => exports.DescribeSecondaryNetworksRequest$, () => exports.DescribeSecondaryNetworksResult$ +]; +exports.DescribeSecondarySubnets$ = [9, n0, _DSSe, + 0, () => exports.DescribeSecondarySubnetsRequest$, () => exports.DescribeSecondarySubnetsResult$ +]; +exports.DescribeSecurityGroupReferences$ = [9, n0, _DSGRescr, + 0, () => exports.DescribeSecurityGroupReferencesRequest$, () => exports.DescribeSecurityGroupReferencesResult$ +]; +exports.DescribeSecurityGroupRules$ = [9, n0, _DSGRescri, + 0, () => exports.DescribeSecurityGroupRulesRequest$, () => exports.DescribeSecurityGroupRulesResult$ +]; +exports.DescribeSecurityGroups$ = [9, n0, _DSGe, + 0, () => exports.DescribeSecurityGroupsRequest$, () => exports.DescribeSecurityGroupsResult$ +]; +exports.DescribeSecurityGroupVpcAssociations$ = [9, n0, _DSGVA, + 0, () => exports.DescribeSecurityGroupVpcAssociationsRequest$, () => exports.DescribeSecurityGroupVpcAssociationsResult$ +]; +exports.DescribeServiceLinkVirtualInterfaces$ = [9, n0, _DSLVI, + 0, () => exports.DescribeServiceLinkVirtualInterfacesRequest$, () => exports.DescribeServiceLinkVirtualInterfacesResult$ +]; +exports.DescribeSnapshotAttribute$ = [9, n0, _DSAe, + 0, () => exports.DescribeSnapshotAttributeRequest$, () => exports.DescribeSnapshotAttributeResult$ +]; +exports.DescribeSnapshots$ = [9, n0, _DSes, + 0, () => exports.DescribeSnapshotsRequest$, () => exports.DescribeSnapshotsResult$ +]; +exports.DescribeSnapshotTierStatus$ = [9, n0, _DSTS, + 0, () => exports.DescribeSnapshotTierStatusRequest$, () => exports.DescribeSnapshotTierStatusResult$ +]; +exports.DescribeSpotDatafeedSubscription$ = [9, n0, _DSDSe, + 0, () => exports.DescribeSpotDatafeedSubscriptionRequest$, () => exports.DescribeSpotDatafeedSubscriptionResult$ +]; +exports.DescribeSpotFleetInstances$ = [9, n0, _DSFI, + 0, () => exports.DescribeSpotFleetInstancesRequest$, () => exports.DescribeSpotFleetInstancesResponse$ +]; +exports.DescribeSpotFleetRequestHistory$ = [9, n0, _DSFRH, + 0, () => exports.DescribeSpotFleetRequestHistoryRequest$, () => exports.DescribeSpotFleetRequestHistoryResponse$ +]; +exports.DescribeSpotFleetRequests$ = [9, n0, _DSFR, + 0, () => exports.DescribeSpotFleetRequestsRequest$, () => exports.DescribeSpotFleetRequestsResponse$ +]; +exports.DescribeSpotInstanceRequests$ = [9, n0, _DSIRescr, + 0, () => exports.DescribeSpotInstanceRequestsRequest$, () => exports.DescribeSpotInstanceRequestsResult$ +]; +exports.DescribeSpotPriceHistory$ = [9, n0, _DSPH, + 0, () => exports.DescribeSpotPriceHistoryRequest$, () => exports.DescribeSpotPriceHistoryResult$ +]; +exports.DescribeStaleSecurityGroups$ = [9, n0, _DSSG, + 0, () => exports.DescribeStaleSecurityGroupsRequest$, () => exports.DescribeStaleSecurityGroupsResult$ +]; +exports.DescribeStoreImageTasks$ = [9, n0, _DSIT, + 0, () => exports.DescribeStoreImageTasksRequest$, () => exports.DescribeStoreImageTasksResult$ +]; +exports.DescribeSubnets$ = [9, n0, _DSesc, + 0, () => exports.DescribeSubnetsRequest$, () => exports.DescribeSubnetsResult$ +]; +exports.DescribeTags$ = [9, n0, _DTes, + 0, () => exports.DescribeTagsRequest$, () => exports.DescribeTagsResult$ +]; +exports.DescribeTrafficMirrorFilterRules$ = [9, n0, _DTMFRescr, + 0, () => exports.DescribeTrafficMirrorFilterRulesRequest$, () => exports.DescribeTrafficMirrorFilterRulesResult$ +]; +exports.DescribeTrafficMirrorFilters$ = [9, n0, _DTMFe, + 0, () => exports.DescribeTrafficMirrorFiltersRequest$, () => exports.DescribeTrafficMirrorFiltersResult$ +]; +exports.DescribeTrafficMirrorSessions$ = [9, n0, _DTMSe, + 0, () => exports.DescribeTrafficMirrorSessionsRequest$, () => exports.DescribeTrafficMirrorSessionsResult$ +]; +exports.DescribeTrafficMirrorTargets$ = [9, n0, _DTMTe, + 0, () => exports.DescribeTrafficMirrorTargetsRequest$, () => exports.DescribeTrafficMirrorTargetsResult$ +]; +exports.DescribeTransitGatewayAttachments$ = [9, n0, _DTGA, + 0, () => exports.DescribeTransitGatewayAttachmentsRequest$, () => exports.DescribeTransitGatewayAttachmentsResult$ +]; +exports.DescribeTransitGatewayConnectPeers$ = [9, n0, _DTGCPe, + 0, () => exports.DescribeTransitGatewayConnectPeersRequest$, () => exports.DescribeTransitGatewayConnectPeersResult$ +]; +exports.DescribeTransitGatewayConnects$ = [9, n0, _DTGCe, + 0, () => exports.DescribeTransitGatewayConnectsRequest$, () => exports.DescribeTransitGatewayConnectsResult$ +]; +exports.DescribeTransitGatewayMeteringPolicies$ = [9, n0, _DTGMPe, + 0, () => exports.DescribeTransitGatewayMeteringPoliciesRequest$, () => exports.DescribeTransitGatewayMeteringPoliciesResult$ +]; +exports.DescribeTransitGatewayMulticastDomains$ = [9, n0, _DTGMDe, + 0, () => exports.DescribeTransitGatewayMulticastDomainsRequest$, () => exports.DescribeTransitGatewayMulticastDomainsResult$ +]; +exports.DescribeTransitGatewayPeeringAttachments$ = [9, n0, _DTGPAe, + 0, () => exports.DescribeTransitGatewayPeeringAttachmentsRequest$, () => exports.DescribeTransitGatewayPeeringAttachmentsResult$ +]; +exports.DescribeTransitGatewayPolicyTables$ = [9, n0, _DTGPTe, + 0, () => exports.DescribeTransitGatewayPolicyTablesRequest$, () => exports.DescribeTransitGatewayPolicyTablesResult$ +]; +exports.DescribeTransitGatewayRouteTableAnnouncements$ = [9, n0, _DTGRTAe, + 0, () => exports.DescribeTransitGatewayRouteTableAnnouncementsRequest$, () => exports.DescribeTransitGatewayRouteTableAnnouncementsResult$ +]; +exports.DescribeTransitGatewayRouteTables$ = [9, n0, _DTGRTe, + 0, () => exports.DescribeTransitGatewayRouteTablesRequest$, () => exports.DescribeTransitGatewayRouteTablesResult$ +]; +exports.DescribeTransitGateways$ = [9, n0, _DTGe, + 0, () => exports.DescribeTransitGatewaysRequest$, () => exports.DescribeTransitGatewaysResult$ +]; +exports.DescribeTransitGatewayVpcAttachments$ = [9, n0, _DTGVAe, + 0, () => exports.DescribeTransitGatewayVpcAttachmentsRequest$, () => exports.DescribeTransitGatewayVpcAttachmentsResult$ +]; +exports.DescribeTrunkInterfaceAssociations$ = [9, n0, _DTIA, + 0, () => exports.DescribeTrunkInterfaceAssociationsRequest$, () => exports.DescribeTrunkInterfaceAssociationsResult$ +]; +exports.DescribeVerifiedAccessEndpoints$ = [9, n0, _DVAEe, + 0, () => exports.DescribeVerifiedAccessEndpointsRequest$, () => exports.DescribeVerifiedAccessEndpointsResult$ +]; +exports.DescribeVerifiedAccessGroups$ = [9, n0, _DVAGe, + 0, () => exports.DescribeVerifiedAccessGroupsRequest$, () => exports.DescribeVerifiedAccessGroupsResult$ +]; +exports.DescribeVerifiedAccessInstanceLoggingConfigurations$ = [9, n0, _DVAILC, + 0, () => exports.DescribeVerifiedAccessInstanceLoggingConfigurationsRequest$, () => exports.DescribeVerifiedAccessInstanceLoggingConfigurationsResult$ +]; +exports.DescribeVerifiedAccessInstances$ = [9, n0, _DVAIe, + 0, () => exports.DescribeVerifiedAccessInstancesRequest$, () => exports.DescribeVerifiedAccessInstancesResult$ +]; +exports.DescribeVerifiedAccessTrustProviders$ = [9, n0, _DVATPe, + 0, () => exports.DescribeVerifiedAccessTrustProvidersRequest$, () => exports.DescribeVerifiedAccessTrustProvidersResult$ +]; +exports.DescribeVolumeAttribute$ = [9, n0, _DVA, + 0, () => exports.DescribeVolumeAttributeRequest$, () => exports.DescribeVolumeAttributeResult$ +]; +exports.DescribeVolumes$ = [9, n0, _DVes, + 0, () => exports.DescribeVolumesRequest$, () => exports.DescribeVolumesResult$ +]; +exports.DescribeVolumesModifications$ = [9, n0, _DVM, + 0, () => exports.DescribeVolumesModificationsRequest$, () => exports.DescribeVolumesModificationsResult$ +]; +exports.DescribeVolumeStatus$ = [9, n0, _DVS, + 0, () => exports.DescribeVolumeStatusRequest$, () => exports.DescribeVolumeStatusResult$ +]; +exports.DescribeVpcAttribute$ = [9, n0, _DVAe, + 0, () => exports.DescribeVpcAttributeRequest$, () => exports.DescribeVpcAttributeResult$ +]; +exports.DescribeVpcBlockPublicAccessExclusions$ = [9, n0, _DVBPAEe, + 0, () => exports.DescribeVpcBlockPublicAccessExclusionsRequest$, () => exports.DescribeVpcBlockPublicAccessExclusionsResult$ +]; +exports.DescribeVpcBlockPublicAccessOptions$ = [9, n0, _DVBPAO, + 0, () => exports.DescribeVpcBlockPublicAccessOptionsRequest$, () => exports.DescribeVpcBlockPublicAccessOptionsResult$ +]; +exports.DescribeVpcClassicLink$ = [9, n0, _DVCL, + 0, () => exports.DescribeVpcClassicLinkRequest$, () => exports.DescribeVpcClassicLinkResult$ +]; +exports.DescribeVpcClassicLinkDnsSupport$ = [9, n0, _DVCLDS, + 0, () => exports.DescribeVpcClassicLinkDnsSupportRequest$, () => exports.DescribeVpcClassicLinkDnsSupportResult$ +]; +exports.DescribeVpcEncryptionControls$ = [9, n0, _DVECe, + 0, () => exports.DescribeVpcEncryptionControlsRequest$, () => exports.DescribeVpcEncryptionControlsResult$ +]; +exports.DescribeVpcEndpointAssociations$ = [9, n0, _DVEA, + 0, () => exports.DescribeVpcEndpointAssociationsRequest$, () => exports.DescribeVpcEndpointAssociationsResult$ +]; +exports.DescribeVpcEndpointConnectionNotifications$ = [9, n0, _DVECNe, + 0, () => exports.DescribeVpcEndpointConnectionNotificationsRequest$, () => exports.DescribeVpcEndpointConnectionNotificationsResult$ +]; +exports.DescribeVpcEndpointConnections$ = [9, n0, _DVECes, + 0, () => exports.DescribeVpcEndpointConnectionsRequest$, () => exports.DescribeVpcEndpointConnectionsResult$ +]; +exports.DescribeVpcEndpoints$ = [9, n0, _DVEe, + 0, () => exports.DescribeVpcEndpointsRequest$, () => exports.DescribeVpcEndpointsResult$ +]; +exports.DescribeVpcEndpointServiceConfigurations$ = [9, n0, _DVESCe, + 0, () => exports.DescribeVpcEndpointServiceConfigurationsRequest$, () => exports.DescribeVpcEndpointServiceConfigurationsResult$ +]; +exports.DescribeVpcEndpointServicePermissions$ = [9, n0, _DVESP, + 0, () => exports.DescribeVpcEndpointServicePermissionsRequest$, () => exports.DescribeVpcEndpointServicePermissionsResult$ +]; +exports.DescribeVpcEndpointServices$ = [9, n0, _DVES, + 0, () => exports.DescribeVpcEndpointServicesRequest$, () => exports.DescribeVpcEndpointServicesResult$ +]; +exports.DescribeVpcPeeringConnections$ = [9, n0, _DVPCe, + 0, () => exports.DescribeVpcPeeringConnectionsRequest$, () => exports.DescribeVpcPeeringConnectionsResult$ +]; +exports.DescribeVpcs$ = [9, n0, _DVesc, + 0, () => exports.DescribeVpcsRequest$, () => exports.DescribeVpcsResult$ +]; +exports.DescribeVpnConcentrators$ = [9, n0, _DVCes, + 0, () => exports.DescribeVpnConcentratorsRequest$, () => exports.DescribeVpnConcentratorsResult$ +]; +exports.DescribeVpnConnections$ = [9, n0, _DVCesc, + 0, () => exports.DescribeVpnConnectionsRequest$, () => exports.DescribeVpnConnectionsResult$ +]; +exports.DescribeVpnGateways$ = [9, n0, _DVGe, + 0, () => exports.DescribeVpnGatewaysRequest$, () => exports.DescribeVpnGatewaysResult$ +]; +exports.DetachClassicLinkVpc$ = [9, n0, _DCLV, + 0, () => exports.DetachClassicLinkVpcRequest$, () => exports.DetachClassicLinkVpcResult$ +]; +exports.DetachInternetGateway$ = [9, n0, _DIGet, + 0, () => exports.DetachInternetGatewayRequest$, () => __Unit +]; +exports.DetachNetworkInterface$ = [9, n0, _DNIet, + 0, () => exports.DetachNetworkInterfaceRequest$, () => __Unit +]; +exports.DetachVerifiedAccessTrustProvider$ = [9, n0, _DVATPet, + 0, () => exports.DetachVerifiedAccessTrustProviderRequest$, () => exports.DetachVerifiedAccessTrustProviderResult$ +]; +exports.DetachVolume$ = [9, n0, _DVet, + 0, () => exports.DetachVolumeRequest$, () => exports.VolumeAttachment$ +]; +exports.DetachVpnGateway$ = [9, n0, _DVGet, + 0, () => exports.DetachVpnGatewayRequest$, () => __Unit +]; +exports.DisableAddressTransfer$ = [9, n0, _DATi, + 0, () => exports.DisableAddressTransferRequest$, () => exports.DisableAddressTransferResult$ +]; +exports.DisableAllowedImagesSettings$ = [9, n0, _DAIS, + 0, () => exports.DisableAllowedImagesSettingsRequest$, () => exports.DisableAllowedImagesSettingsResult$ +]; +exports.DisableAwsNetworkPerformanceMetricSubscription$ = [9, n0, _DANPMSi, + 0, () => exports.DisableAwsNetworkPerformanceMetricSubscriptionRequest$, () => exports.DisableAwsNetworkPerformanceMetricSubscriptionResult$ +]; +exports.DisableCapacityManager$ = [9, n0, _DCM, + 0, () => exports.DisableCapacityManagerRequest$, () => exports.DisableCapacityManagerResult$ +]; +exports.DisableEbsEncryptionByDefault$ = [9, n0, _DEEBD, + 0, () => exports.DisableEbsEncryptionByDefaultRequest$, () => exports.DisableEbsEncryptionByDefaultResult$ +]; +exports.DisableFastLaunch$ = [9, n0, _DFLi, + 0, () => exports.DisableFastLaunchRequest$, () => exports.DisableFastLaunchResult$ +]; +exports.DisableFastSnapshotRestores$ = [9, n0, _DFSRi, + 0, () => exports.DisableFastSnapshotRestoresRequest$, () => exports.DisableFastSnapshotRestoresResult$ +]; +exports.DisableImage$ = [9, n0, _DIisa, + 0, () => exports.DisableImageRequest$, () => exports.DisableImageResult$ +]; +exports.DisableImageBlockPublicAccess$ = [9, n0, _DIBPA, + 0, () => exports.DisableImageBlockPublicAccessRequest$, () => exports.DisableImageBlockPublicAccessResult$ +]; +exports.DisableImageDeprecation$ = [9, n0, _DIDis, + 0, () => exports.DisableImageDeprecationRequest$, () => exports.DisableImageDeprecationResult$ +]; +exports.DisableImageDeregistrationProtection$ = [9, n0, _DIDP, + 0, () => exports.DisableImageDeregistrationProtectionRequest$, () => exports.DisableImageDeregistrationProtectionResult$ +]; +exports.DisableInstanceSqlHaStandbyDetections$ = [9, n0, _DISHSD, + 0, () => exports.DisableInstanceSqlHaStandbyDetectionsRequest$, () => exports.DisableInstanceSqlHaStandbyDetectionsResult$ +]; +exports.DisableIpamOrganizationAdminAccount$ = [9, n0, _DIOAA, + 0, () => exports.DisableIpamOrganizationAdminAccountRequest$, () => exports.DisableIpamOrganizationAdminAccountResult$ +]; +exports.DisableIpamPolicy$ = [9, n0, _DIPi, + 0, () => exports.DisableIpamPolicyRequest$, () => exports.DisableIpamPolicyResult$ +]; +exports.DisableRouteServerPropagation$ = [9, n0, _DRSPi, + 0, () => exports.DisableRouteServerPropagationRequest$, () => exports.DisableRouteServerPropagationResult$ +]; +exports.DisableSerialConsoleAccess$ = [9, n0, _DSCA, + 0, () => exports.DisableSerialConsoleAccessRequest$, () => exports.DisableSerialConsoleAccessResult$ +]; +exports.DisableSnapshotBlockPublicAccess$ = [9, n0, _DSBPA, + 0, () => exports.DisableSnapshotBlockPublicAccessRequest$, () => exports.DisableSnapshotBlockPublicAccessResult$ +]; +exports.DisableTransitGatewayRouteTablePropagation$ = [9, n0, _DTGRTP, + 0, () => exports.DisableTransitGatewayRouteTablePropagationRequest$, () => exports.DisableTransitGatewayRouteTablePropagationResult$ +]; +exports.DisableVgwRoutePropagation$ = [9, n0, _DVRP, + 0, () => exports.DisableVgwRoutePropagationRequest$, () => __Unit +]; +exports.DisableVpcClassicLink$ = [9, n0, _DVCLi, + 0, () => exports.DisableVpcClassicLinkRequest$, () => exports.DisableVpcClassicLinkResult$ +]; +exports.DisableVpcClassicLinkDnsSupport$ = [9, n0, _DVCLDSi, + 0, () => exports.DisableVpcClassicLinkDnsSupportRequest$, () => exports.DisableVpcClassicLinkDnsSupportResult$ +]; +exports.DisassociateAddress$ = [9, n0, _DAi, + 0, () => exports.DisassociateAddressRequest$, () => __Unit +]; +exports.DisassociateCapacityReservationBillingOwner$ = [9, n0, _DCRBO, + 0, () => exports.DisassociateCapacityReservationBillingOwnerRequest$, () => exports.DisassociateCapacityReservationBillingOwnerResult$ +]; +exports.DisassociateClientVpnTargetNetwork$ = [9, n0, _DCVTNi, + 0, () => exports.DisassociateClientVpnTargetNetworkRequest$, () => exports.DisassociateClientVpnTargetNetworkResult$ +]; +exports.DisassociateEnclaveCertificateIamRole$ = [9, n0, _DECIR, + 0, () => exports.DisassociateEnclaveCertificateIamRoleRequest$, () => exports.DisassociateEnclaveCertificateIamRoleResult$ +]; +exports.DisassociateIamInstanceProfile$ = [9, n0, _DIIP, + 0, () => exports.DisassociateIamInstanceProfileRequest$, () => exports.DisassociateIamInstanceProfileResult$ +]; +exports.DisassociateInstanceEventWindow$ = [9, n0, _DIEWi, + 0, () => exports.DisassociateInstanceEventWindowRequest$, () => exports.DisassociateInstanceEventWindowResult$ +]; +exports.DisassociateIpamByoasn$ = [9, n0, _DIBi, + 0, () => exports.DisassociateIpamByoasnRequest$, () => exports.DisassociateIpamByoasnResult$ +]; +exports.DisassociateIpamResourceDiscovery$ = [9, n0, _DIRDi, + 0, () => exports.DisassociateIpamResourceDiscoveryRequest$, () => exports.DisassociateIpamResourceDiscoveryResult$ +]; +exports.DisassociateNatGatewayAddress$ = [9, n0, _DNGA, + 0, () => exports.DisassociateNatGatewayAddressRequest$, () => exports.DisassociateNatGatewayAddressResult$ +]; +exports.DisassociateRouteServer$ = [9, n0, _DRSi, + 0, () => exports.DisassociateRouteServerRequest$, () => exports.DisassociateRouteServerResult$ +]; +exports.DisassociateRouteTable$ = [9, n0, _DRTi, + 0, () => exports.DisassociateRouteTableRequest$, () => __Unit +]; +exports.DisassociateSecurityGroupVpc$ = [9, n0, _DSGV, + 0, () => exports.DisassociateSecurityGroupVpcRequest$, () => exports.DisassociateSecurityGroupVpcResult$ +]; +exports.DisassociateSubnetCidrBlock$ = [9, n0, _DSCB, + 0, () => exports.DisassociateSubnetCidrBlockRequest$, () => exports.DisassociateSubnetCidrBlockResult$ +]; +exports.DisassociateTransitGatewayMulticastDomain$ = [9, n0, _DTGMDi, + 0, () => exports.DisassociateTransitGatewayMulticastDomainRequest$, () => exports.DisassociateTransitGatewayMulticastDomainResult$ +]; +exports.DisassociateTransitGatewayPolicyTable$ = [9, n0, _DTGPTi, + 0, () => exports.DisassociateTransitGatewayPolicyTableRequest$, () => exports.DisassociateTransitGatewayPolicyTableResult$ +]; +exports.DisassociateTransitGatewayRouteTable$ = [9, n0, _DTGRTi, + 0, () => exports.DisassociateTransitGatewayRouteTableRequest$, () => exports.DisassociateTransitGatewayRouteTableResult$ +]; +exports.DisassociateTrunkInterface$ = [9, n0, _DTI, + 0, () => exports.DisassociateTrunkInterfaceRequest$, () => exports.DisassociateTrunkInterfaceResult$ +]; +exports.DisassociateVpcCidrBlock$ = [9, n0, _DVCB, + 0, () => exports.DisassociateVpcCidrBlockRequest$, () => exports.DisassociateVpcCidrBlockResult$ +]; +exports.EnableAddressTransfer$ = [9, n0, _EAT, + 0, () => exports.EnableAddressTransferRequest$, () => exports.EnableAddressTransferResult$ +]; +exports.EnableAllowedImagesSettings$ = [9, n0, _EAIS, + 0, () => exports.EnableAllowedImagesSettingsRequest$, () => exports.EnableAllowedImagesSettingsResult$ +]; +exports.EnableAwsNetworkPerformanceMetricSubscription$ = [9, n0, _EANPMS, + 0, () => exports.EnableAwsNetworkPerformanceMetricSubscriptionRequest$, () => exports.EnableAwsNetworkPerformanceMetricSubscriptionResult$ +]; +exports.EnableCapacityManager$ = [9, n0, _ECM, + 0, () => exports.EnableCapacityManagerRequest$, () => exports.EnableCapacityManagerResult$ +]; +exports.EnableEbsEncryptionByDefault$ = [9, n0, _EEEBD, + 0, () => exports.EnableEbsEncryptionByDefaultRequest$, () => exports.EnableEbsEncryptionByDefaultResult$ +]; +exports.EnableFastLaunch$ = [9, n0, _EFL, + 0, () => exports.EnableFastLaunchRequest$, () => exports.EnableFastLaunchResult$ +]; +exports.EnableFastSnapshotRestores$ = [9, n0, _EFSR, + 0, () => exports.EnableFastSnapshotRestoresRequest$, () => exports.EnableFastSnapshotRestoresResult$ +]; +exports.EnableImage$ = [9, n0, _EIna, + 0, () => exports.EnableImageRequest$, () => exports.EnableImageResult$ +]; +exports.EnableImageBlockPublicAccess$ = [9, n0, _EIBPA, + 0, () => exports.EnableImageBlockPublicAccessRequest$, () => exports.EnableImageBlockPublicAccessResult$ +]; +exports.EnableImageDeprecation$ = [9, n0, _EID, + 0, () => exports.EnableImageDeprecationRequest$, () => exports.EnableImageDeprecationResult$ +]; +exports.EnableImageDeregistrationProtection$ = [9, n0, _EIDP, + 0, () => exports.EnableImageDeregistrationProtectionRequest$, () => exports.EnableImageDeregistrationProtectionResult$ +]; +exports.EnableInstanceSqlHaStandbyDetections$ = [9, n0, _EISHSD, + 0, () => exports.EnableInstanceSqlHaStandbyDetectionsRequest$, () => exports.EnableInstanceSqlHaStandbyDetectionsResult$ +]; +exports.EnableIpamOrganizationAdminAccount$ = [9, n0, _EIOAA, + 0, () => exports.EnableIpamOrganizationAdminAccountRequest$, () => exports.EnableIpamOrganizationAdminAccountResult$ +]; +exports.EnableIpamPolicy$ = [9, n0, _EIP, + 0, () => exports.EnableIpamPolicyRequest$, () => exports.EnableIpamPolicyResult$ +]; +exports.EnableReachabilityAnalyzerOrganizationSharing$ = [9, n0, _ERAOS, + 0, () => exports.EnableReachabilityAnalyzerOrganizationSharingRequest$, () => exports.EnableReachabilityAnalyzerOrganizationSharingResult$ +]; +exports.EnableRouteServerPropagation$ = [9, n0, _ERSP, + 0, () => exports.EnableRouteServerPropagationRequest$, () => exports.EnableRouteServerPropagationResult$ +]; +exports.EnableSerialConsoleAccess$ = [9, n0, _ESCA, + 0, () => exports.EnableSerialConsoleAccessRequest$, () => exports.EnableSerialConsoleAccessResult$ +]; +exports.EnableSnapshotBlockPublicAccess$ = [9, n0, _ESBPA, + 0, () => exports.EnableSnapshotBlockPublicAccessRequest$, () => exports.EnableSnapshotBlockPublicAccessResult$ +]; +exports.EnableTransitGatewayRouteTablePropagation$ = [9, n0, _ETGRTP, + 0, () => exports.EnableTransitGatewayRouteTablePropagationRequest$, () => exports.EnableTransitGatewayRouteTablePropagationResult$ +]; +exports.EnableVgwRoutePropagation$ = [9, n0, _EVRP, + 0, () => exports.EnableVgwRoutePropagationRequest$, () => __Unit +]; +exports.EnableVolumeIO$ = [9, n0, _EVIO, + 0, () => exports.EnableVolumeIORequest$, () => __Unit +]; +exports.EnableVpcClassicLink$ = [9, n0, _EVCL, + 0, () => exports.EnableVpcClassicLinkRequest$, () => exports.EnableVpcClassicLinkResult$ +]; +exports.EnableVpcClassicLinkDnsSupport$ = [9, n0, _EVCLDS, + 0, () => exports.EnableVpcClassicLinkDnsSupportRequest$, () => exports.EnableVpcClassicLinkDnsSupportResult$ +]; +exports.ExportClientVpnClientCertificateRevocationList$ = [9, n0, _ECVCCRL, + 0, () => exports.ExportClientVpnClientCertificateRevocationListRequest$, () => exports.ExportClientVpnClientCertificateRevocationListResult$ +]; +exports.ExportClientVpnClientConfiguration$ = [9, n0, _ECVCC, + 0, () => exports.ExportClientVpnClientConfigurationRequest$, () => exports.ExportClientVpnClientConfigurationResult$ +]; +exports.ExportImage$ = [9, n0, _EIxp, + 0, () => exports.ExportImageRequest$, () => exports.ExportImageResult$ +]; +exports.ExportTransitGatewayRoutes$ = [9, n0, _ETGR, + 0, () => exports.ExportTransitGatewayRoutesRequest$, () => exports.ExportTransitGatewayRoutesResult$ +]; +exports.ExportVerifiedAccessInstanceClientConfiguration$ = [9, n0, _EVAICC, + 0, () => exports.ExportVerifiedAccessInstanceClientConfigurationRequest$, () => exports.ExportVerifiedAccessInstanceClientConfigurationResult$ +]; +exports.GetActiveVpnTunnelStatus$ = [9, n0, _GAVTS, + 0, () => exports.GetActiveVpnTunnelStatusRequest$, () => exports.GetActiveVpnTunnelStatusResult$ +]; +exports.GetAllowedImagesSettings$ = [9, n0, _GAIS, + 0, () => exports.GetAllowedImagesSettingsRequest$, () => exports.GetAllowedImagesSettingsResult$ +]; +exports.GetAssociatedEnclaveCertificateIamRoles$ = [9, n0, _GAECIR, + 0, () => exports.GetAssociatedEnclaveCertificateIamRolesRequest$, () => exports.GetAssociatedEnclaveCertificateIamRolesResult$ +]; +exports.GetAssociatedIpv6PoolCidrs$ = [9, n0, _GAIPC, + 0, () => exports.GetAssociatedIpv6PoolCidrsRequest$, () => exports.GetAssociatedIpv6PoolCidrsResult$ +]; +exports.GetAwsNetworkPerformanceData$ = [9, n0, _GANPD, + 0, () => exports.GetAwsNetworkPerformanceDataRequest$, () => exports.GetAwsNetworkPerformanceDataResult$ +]; +exports.GetCapacityManagerAttributes$ = [9, n0, _GCMA, + 0, () => exports.GetCapacityManagerAttributesRequest$, () => exports.GetCapacityManagerAttributesResult$ +]; +exports.GetCapacityManagerMetricData$ = [9, n0, _GCMMD, + 0, () => exports.GetCapacityManagerMetricDataRequest$, () => exports.GetCapacityManagerMetricDataResult$ +]; +exports.GetCapacityManagerMetricDimensions$ = [9, n0, _GCMMDe, + 0, () => exports.GetCapacityManagerMetricDimensionsRequest$, () => exports.GetCapacityManagerMetricDimensionsResult$ +]; +exports.GetCapacityManagerMonitoredTagKeys$ = [9, n0, _GCMMTK, + 0, () => exports.GetCapacityManagerMonitoredTagKeysRequest$, () => exports.GetCapacityManagerMonitoredTagKeysResult$ +]; +exports.GetCapacityReservationUsage$ = [9, n0, _GCRU, + 0, () => exports.GetCapacityReservationUsageRequest$, () => exports.GetCapacityReservationUsageResult$ +]; +exports.GetCoipPoolUsage$ = [9, n0, _GCPU, + 0, () => exports.GetCoipPoolUsageRequest$, () => exports.GetCoipPoolUsageResult$ +]; +exports.GetConsoleOutput$ = [9, n0, _GCO, + 0, () => exports.GetConsoleOutputRequest$, () => exports.GetConsoleOutputResult$ +]; +exports.GetConsoleScreenshot$ = [9, n0, _GCS, + 0, () => exports.GetConsoleScreenshotRequest$, () => exports.GetConsoleScreenshotResult$ +]; +exports.GetDeclarativePoliciesReportSummary$ = [9, n0, _GDPRS, + 0, () => exports.GetDeclarativePoliciesReportSummaryRequest$, () => exports.GetDeclarativePoliciesReportSummaryResult$ +]; +exports.GetDefaultCreditSpecification$ = [9, n0, _GDCS, + 0, () => exports.GetDefaultCreditSpecificationRequest$, () => exports.GetDefaultCreditSpecificationResult$ +]; +exports.GetEbsDefaultKmsKeyId$ = [9, n0, _GEDKKI, + 0, () => exports.GetEbsDefaultKmsKeyIdRequest$, () => exports.GetEbsDefaultKmsKeyIdResult$ +]; +exports.GetEbsEncryptionByDefault$ = [9, n0, _GEEBD, + 0, () => exports.GetEbsEncryptionByDefaultRequest$, () => exports.GetEbsEncryptionByDefaultResult$ +]; +exports.GetEnabledIpamPolicy$ = [9, n0, _GEIP, + 0, () => exports.GetEnabledIpamPolicyRequest$, () => exports.GetEnabledIpamPolicyResult$ +]; +exports.GetFlowLogsIntegrationTemplate$ = [9, n0, _GFLIT, + 0, () => exports.GetFlowLogsIntegrationTemplateRequest$, () => exports.GetFlowLogsIntegrationTemplateResult$ +]; +exports.GetGroupsForCapacityReservation$ = [9, n0, _GGFCR, + 0, () => exports.GetGroupsForCapacityReservationRequest$, () => exports.GetGroupsForCapacityReservationResult$ +]; +exports.GetHostReservationPurchasePreview$ = [9, n0, _GHRPP, + 0, () => exports.GetHostReservationPurchasePreviewRequest$, () => exports.GetHostReservationPurchasePreviewResult$ +]; +exports.GetImageAncestry$ = [9, n0, _GIAe, + 0, () => exports.GetImageAncestryRequest$, () => exports.GetImageAncestryResult$ +]; +exports.GetImageBlockPublicAccessState$ = [9, n0, _GIBPAS, + 0, () => exports.GetImageBlockPublicAccessStateRequest$, () => exports.GetImageBlockPublicAccessStateResult$ +]; +exports.GetInstanceMetadataDefaults$ = [9, n0, _GIMD, + 0, () => exports.GetInstanceMetadataDefaultsRequest$, () => exports.GetInstanceMetadataDefaultsResult$ +]; +exports.GetInstanceTpmEkPub$ = [9, n0, _GITEP, + 0, () => exports.GetInstanceTpmEkPubRequest$, () => exports.GetInstanceTpmEkPubResult$ +]; +exports.GetInstanceTypesFromInstanceRequirements$ = [9, n0, _GITFIR, + 0, () => exports.GetInstanceTypesFromInstanceRequirementsRequest$, () => exports.GetInstanceTypesFromInstanceRequirementsResult$ +]; +exports.GetInstanceUefiData$ = [9, n0, _GIUD, + 0, () => exports.GetInstanceUefiDataRequest$, () => exports.GetInstanceUefiDataResult$ +]; +exports.GetIpamAddressHistory$ = [9, n0, _GIAH, + 0, () => exports.GetIpamAddressHistoryRequest$, () => exports.GetIpamAddressHistoryResult$ +]; +exports.GetIpamDiscoveredAccounts$ = [9, n0, _GIDA, + 0, () => exports.GetIpamDiscoveredAccountsRequest$, () => exports.GetIpamDiscoveredAccountsResult$ +]; +exports.GetIpamDiscoveredPublicAddresses$ = [9, n0, _GIDPA, + 0, () => exports.GetIpamDiscoveredPublicAddressesRequest$, () => exports.GetIpamDiscoveredPublicAddressesResult$ +]; +exports.GetIpamDiscoveredResourceCidrs$ = [9, n0, _GIDRC, + 0, () => exports.GetIpamDiscoveredResourceCidrsRequest$, () => exports.GetIpamDiscoveredResourceCidrsResult$ +]; +exports.GetIpamPolicyAllocationRules$ = [9, n0, _GIPARet, + 0, () => exports.GetIpamPolicyAllocationRulesRequest$, () => exports.GetIpamPolicyAllocationRulesResult$ +]; +exports.GetIpamPolicyOrganizationTargets$ = [9, n0, _GIPOT, + 0, () => exports.GetIpamPolicyOrganizationTargetsRequest$, () => exports.GetIpamPolicyOrganizationTargetsResult$ +]; +exports.GetIpamPoolAllocations$ = [9, n0, _GIPA, + 0, () => exports.GetIpamPoolAllocationsRequest$, () => exports.GetIpamPoolAllocationsResult$ +]; +exports.GetIpamPoolCidrs$ = [9, n0, _GIPC, + 0, () => exports.GetIpamPoolCidrsRequest$, () => exports.GetIpamPoolCidrsResult$ +]; +exports.GetIpamPrefixListResolverRules$ = [9, n0, _GIPLRR, + 0, () => exports.GetIpamPrefixListResolverRulesRequest$, () => exports.GetIpamPrefixListResolverRulesResult$ +]; +exports.GetIpamPrefixListResolverVersionEntries$ = [9, n0, _GIPLRVE, + 0, () => exports.GetIpamPrefixListResolverVersionEntriesRequest$, () => exports.GetIpamPrefixListResolverVersionEntriesResult$ +]; +exports.GetIpamPrefixListResolverVersions$ = [9, n0, _GIPLRV, + 0, () => exports.GetIpamPrefixListResolverVersionsRequest$, () => exports.GetIpamPrefixListResolverVersionsResult$ +]; +exports.GetIpamResourceCidrs$ = [9, n0, _GIRC, + 0, () => exports.GetIpamResourceCidrsRequest$, () => exports.GetIpamResourceCidrsResult$ +]; +exports.GetLaunchTemplateData$ = [9, n0, _GLTD, + 0, () => exports.GetLaunchTemplateDataRequest$, () => exports.GetLaunchTemplateDataResult$ +]; +exports.GetManagedPrefixListAssociations$ = [9, n0, _GMPLA, + 0, () => exports.GetManagedPrefixListAssociationsRequest$, () => exports.GetManagedPrefixListAssociationsResult$ +]; +exports.GetManagedPrefixListEntries$ = [9, n0, _GMPLE, + 0, () => exports.GetManagedPrefixListEntriesRequest$, () => exports.GetManagedPrefixListEntriesResult$ +]; +exports.GetNetworkInsightsAccessScopeAnalysisFindings$ = [9, n0, _GNIASAF, + 0, () => exports.GetNetworkInsightsAccessScopeAnalysisFindingsRequest$, () => exports.GetNetworkInsightsAccessScopeAnalysisFindingsResult$ +]; +exports.GetNetworkInsightsAccessScopeContent$ = [9, n0, _GNIASC, + 0, () => exports.GetNetworkInsightsAccessScopeContentRequest$, () => exports.GetNetworkInsightsAccessScopeContentResult$ +]; +exports.GetPasswordData$ = [9, n0, _GPD, + 0, () => exports.GetPasswordDataRequest$, () => exports.GetPasswordDataResult$ +]; +exports.GetReservedInstancesExchangeQuote$ = [9, n0, _GRIEQ, + 0, () => exports.GetReservedInstancesExchangeQuoteRequest$, () => exports.GetReservedInstancesExchangeQuoteResult$ +]; +exports.GetRouteServerAssociations$ = [9, n0, _GRSA, + 0, () => exports.GetRouteServerAssociationsRequest$, () => exports.GetRouteServerAssociationsResult$ +]; +exports.GetRouteServerPropagations$ = [9, n0, _GRSP, + 0, () => exports.GetRouteServerPropagationsRequest$, () => exports.GetRouteServerPropagationsResult$ +]; +exports.GetRouteServerRoutingDatabase$ = [9, n0, _GRSRD, + 0, () => exports.GetRouteServerRoutingDatabaseRequest$, () => exports.GetRouteServerRoutingDatabaseResult$ +]; +exports.GetSecurityGroupsForVpc$ = [9, n0, _GSGFV, + 0, () => exports.GetSecurityGroupsForVpcRequest$, () => exports.GetSecurityGroupsForVpcResult$ +]; +exports.GetSerialConsoleAccessStatus$ = [9, n0, _GSCAS, + 0, () => exports.GetSerialConsoleAccessStatusRequest$, () => exports.GetSerialConsoleAccessStatusResult$ +]; +exports.GetSnapshotBlockPublicAccessState$ = [9, n0, _GSBPAS, + 0, () => exports.GetSnapshotBlockPublicAccessStateRequest$, () => exports.GetSnapshotBlockPublicAccessStateResult$ +]; +exports.GetSpotPlacementScores$ = [9, n0, _GSPS, + 0, () => exports.GetSpotPlacementScoresRequest$, () => exports.GetSpotPlacementScoresResult$ +]; +exports.GetSubnetCidrReservations$ = [9, n0, _GSCR, + 0, () => exports.GetSubnetCidrReservationsRequest$, () => exports.GetSubnetCidrReservationsResult$ +]; +exports.GetTransitGatewayAttachmentPropagations$ = [9, n0, _GTGAP, + 0, () => exports.GetTransitGatewayAttachmentPropagationsRequest$, () => exports.GetTransitGatewayAttachmentPropagationsResult$ +]; +exports.GetTransitGatewayMeteringPolicyEntries$ = [9, n0, _GTGMPE, + 0, () => exports.GetTransitGatewayMeteringPolicyEntriesRequest$, () => exports.GetTransitGatewayMeteringPolicyEntriesResult$ +]; +exports.GetTransitGatewayMulticastDomainAssociations$ = [9, n0, _GTGMDA, + 0, () => exports.GetTransitGatewayMulticastDomainAssociationsRequest$, () => exports.GetTransitGatewayMulticastDomainAssociationsResult$ +]; +exports.GetTransitGatewayPolicyTableAssociations$ = [9, n0, _GTGPTA, + 0, () => exports.GetTransitGatewayPolicyTableAssociationsRequest$, () => exports.GetTransitGatewayPolicyTableAssociationsResult$ +]; +exports.GetTransitGatewayPolicyTableEntries$ = [9, n0, _GTGPTE, + 0, () => exports.GetTransitGatewayPolicyTableEntriesRequest$, () => exports.GetTransitGatewayPolicyTableEntriesResult$ +]; +exports.GetTransitGatewayPrefixListReferences$ = [9, n0, _GTGPLR, + 0, () => exports.GetTransitGatewayPrefixListReferencesRequest$, () => exports.GetTransitGatewayPrefixListReferencesResult$ +]; +exports.GetTransitGatewayRouteTableAssociations$ = [9, n0, _GTGRTA, + 0, () => exports.GetTransitGatewayRouteTableAssociationsRequest$, () => exports.GetTransitGatewayRouteTableAssociationsResult$ +]; +exports.GetTransitGatewayRouteTablePropagations$ = [9, n0, _GTGRTP, + 0, () => exports.GetTransitGatewayRouteTablePropagationsRequest$, () => exports.GetTransitGatewayRouteTablePropagationsResult$ +]; +exports.GetVerifiedAccessEndpointPolicy$ = [9, n0, _GVAEP, + 0, () => exports.GetVerifiedAccessEndpointPolicyRequest$, () => exports.GetVerifiedAccessEndpointPolicyResult$ +]; +exports.GetVerifiedAccessEndpointTargets$ = [9, n0, _GVAET, + 0, () => exports.GetVerifiedAccessEndpointTargetsRequest$, () => exports.GetVerifiedAccessEndpointTargetsResult$ +]; +exports.GetVerifiedAccessGroupPolicy$ = [9, n0, _GVAGP, + 0, () => exports.GetVerifiedAccessGroupPolicyRequest$, () => exports.GetVerifiedAccessGroupPolicyResult$ +]; +exports.GetVpcResourcesBlockingEncryptionEnforcement$ = [9, n0, _GVRBEE, + 0, () => exports.GetVpcResourcesBlockingEncryptionEnforcementRequest$, () => exports.GetVpcResourcesBlockingEncryptionEnforcementResult$ +]; +exports.GetVpnConnectionDeviceSampleConfiguration$ = [9, n0, _GVCDSC, + 0, () => exports.GetVpnConnectionDeviceSampleConfigurationRequest$, () => exports.GetVpnConnectionDeviceSampleConfigurationResult$ +]; +exports.GetVpnConnectionDeviceTypes$ = [9, n0, _GVCDT, + 0, () => exports.GetVpnConnectionDeviceTypesRequest$, () => exports.GetVpnConnectionDeviceTypesResult$ +]; +exports.GetVpnTunnelReplacementStatus$ = [9, n0, _GVTRS, + 0, () => exports.GetVpnTunnelReplacementStatusRequest$, () => exports.GetVpnTunnelReplacementStatusResult$ +]; +exports.ImportClientVpnClientCertificateRevocationList$ = [9, n0, _ICVCCRL, + 0, () => exports.ImportClientVpnClientCertificateRevocationListRequest$, () => exports.ImportClientVpnClientCertificateRevocationListResult$ +]; +exports.ImportImage$ = [9, n0, _IImpo, + 0, () => exports.ImportImageRequest$, () => exports.ImportImageResult$ +]; +exports.ImportInstance$ = [9, n0, _IImp, + 0, () => exports.ImportInstanceRequest$, () => exports.ImportInstanceResult$ +]; +exports.ImportKeyPair$ = [9, n0, _IKP, + 0, () => exports.ImportKeyPairRequest$, () => exports.ImportKeyPairResult$ +]; +exports.ImportSnapshot$ = [9, n0, _ISmp, + 0, () => exports.ImportSnapshotRequest$, () => exports.ImportSnapshotResult$ +]; +exports.ImportVolume$ = [9, n0, _IVm, + 0, () => exports.ImportVolumeRequest$, () => exports.ImportVolumeResult$ +]; +exports.ListImagesInRecycleBin$ = [9, n0, _LIIRB, + 0, () => exports.ListImagesInRecycleBinRequest$, () => exports.ListImagesInRecycleBinResult$ +]; +exports.ListSnapshotsInRecycleBin$ = [9, n0, _LSIRB, + 0, () => exports.ListSnapshotsInRecycleBinRequest$, () => exports.ListSnapshotsInRecycleBinResult$ +]; +exports.ListVolumesInRecycleBin$ = [9, n0, _LVIRB, + 0, () => exports.ListVolumesInRecycleBinRequest$, () => exports.ListVolumesInRecycleBinResult$ +]; +exports.LockSnapshot$ = [9, n0, _LSock, + 0, () => exports.LockSnapshotRequest$, () => exports.LockSnapshotResult$ +]; +exports.ModifyAddressAttribute$ = [9, n0, _MAA, + 0, () => exports.ModifyAddressAttributeRequest$, () => exports.ModifyAddressAttributeResult$ +]; +exports.ModifyAvailabilityZoneGroup$ = [9, n0, _MAZG, + 0, () => exports.ModifyAvailabilityZoneGroupRequest$, () => exports.ModifyAvailabilityZoneGroupResult$ +]; +exports.ModifyCapacityReservation$ = [9, n0, _MCR, + 0, () => exports.ModifyCapacityReservationRequest$, () => exports.ModifyCapacityReservationResult$ +]; +exports.ModifyCapacityReservationFleet$ = [9, n0, _MCRF, + 0, () => exports.ModifyCapacityReservationFleetRequest$, () => exports.ModifyCapacityReservationFleetResult$ +]; +exports.ModifyClientVpnEndpoint$ = [9, n0, _MCVE, + 0, () => exports.ModifyClientVpnEndpointRequest$, () => exports.ModifyClientVpnEndpointResult$ +]; +exports.ModifyDefaultCreditSpecification$ = [9, n0, _MDCS, + 0, () => exports.ModifyDefaultCreditSpecificationRequest$, () => exports.ModifyDefaultCreditSpecificationResult$ +]; +exports.ModifyEbsDefaultKmsKeyId$ = [9, n0, _MEDKKI, + 0, () => exports.ModifyEbsDefaultKmsKeyIdRequest$, () => exports.ModifyEbsDefaultKmsKeyIdResult$ +]; +exports.ModifyFleet$ = [9, n0, _MF, + 0, () => exports.ModifyFleetRequest$, () => exports.ModifyFleetResult$ +]; +exports.ModifyFpgaImageAttribute$ = [9, n0, _MFIA, + 0, () => exports.ModifyFpgaImageAttributeRequest$, () => exports.ModifyFpgaImageAttributeResult$ +]; +exports.ModifyHosts$ = [9, n0, _MHo, + 0, () => exports.ModifyHostsRequest$, () => exports.ModifyHostsResult$ +]; +exports.ModifyIdentityIdFormat$ = [9, n0, _MIIF, + 0, () => exports.ModifyIdentityIdFormatRequest$, () => __Unit +]; +exports.ModifyIdFormat$ = [9, n0, _MIF, + 0, () => exports.ModifyIdFormatRequest$, () => __Unit +]; +exports.ModifyImageAttribute$ = [9, n0, _MIA, + 0, () => exports.ModifyImageAttributeRequest$, () => __Unit +]; +exports.ModifyInstanceAttribute$ = [9, n0, _MIAo, + 0, () => exports.ModifyInstanceAttributeRequest$, () => __Unit +]; +exports.ModifyInstanceCapacityReservationAttributes$ = [9, n0, _MICRA, + 0, () => exports.ModifyInstanceCapacityReservationAttributesRequest$, () => exports.ModifyInstanceCapacityReservationAttributesResult$ +]; +exports.ModifyInstanceConnectEndpoint$ = [9, n0, _MICE, + 0, () => exports.ModifyInstanceConnectEndpointRequest$, () => exports.ModifyInstanceConnectEndpointResult$ +]; +exports.ModifyInstanceCpuOptions$ = [9, n0, _MICO, + 0, () => exports.ModifyInstanceCpuOptionsRequest$, () => exports.ModifyInstanceCpuOptionsResult$ +]; +exports.ModifyInstanceCreditSpecification$ = [9, n0, _MICS, + 0, () => exports.ModifyInstanceCreditSpecificationRequest$, () => exports.ModifyInstanceCreditSpecificationResult$ +]; +exports.ModifyInstanceEventStartTime$ = [9, n0, _MIEST, + 0, () => exports.ModifyInstanceEventStartTimeRequest$, () => exports.ModifyInstanceEventStartTimeResult$ +]; +exports.ModifyInstanceEventWindow$ = [9, n0, _MIEW, + 0, () => exports.ModifyInstanceEventWindowRequest$, () => exports.ModifyInstanceEventWindowResult$ +]; +exports.ModifyInstanceMaintenanceOptions$ = [9, n0, _MIMO, + 0, () => exports.ModifyInstanceMaintenanceOptionsRequest$, () => exports.ModifyInstanceMaintenanceOptionsResult$ +]; +exports.ModifyInstanceMetadataDefaults$ = [9, n0, _MIMD, + 0, () => exports.ModifyInstanceMetadataDefaultsRequest$, () => exports.ModifyInstanceMetadataDefaultsResult$ +]; +exports.ModifyInstanceMetadataOptions$ = [9, n0, _MIMOo, + 0, () => exports.ModifyInstanceMetadataOptionsRequest$, () => exports.ModifyInstanceMetadataOptionsResult$ +]; +exports.ModifyInstanceNetworkPerformanceOptions$ = [9, n0, _MINPO, + 0, () => exports.ModifyInstanceNetworkPerformanceRequest$, () => exports.ModifyInstanceNetworkPerformanceResult$ +]; +exports.ModifyInstancePlacement$ = [9, n0, _MIP, + 0, () => exports.ModifyInstancePlacementRequest$, () => exports.ModifyInstancePlacementResult$ +]; +exports.ModifyIpam$ = [9, n0, _MIo, + 0, () => exports.ModifyIpamRequest$, () => exports.ModifyIpamResult$ +]; +exports.ModifyIpamPolicyAllocationRules$ = [9, n0, _MIPAR, + 0, () => exports.ModifyIpamPolicyAllocationRulesRequest$, () => exports.ModifyIpamPolicyAllocationRulesResult$ +]; +exports.ModifyIpamPool$ = [9, n0, _MIPo, + 0, () => exports.ModifyIpamPoolRequest$, () => exports.ModifyIpamPoolResult$ +]; +exports.ModifyIpamPrefixListResolver$ = [9, n0, _MIPLR, + 0, () => exports.ModifyIpamPrefixListResolverRequest$, () => exports.ModifyIpamPrefixListResolverResult$ +]; +exports.ModifyIpamPrefixListResolverTarget$ = [9, n0, _MIPLRT, + 0, () => exports.ModifyIpamPrefixListResolverTargetRequest$, () => exports.ModifyIpamPrefixListResolverTargetResult$ +]; +exports.ModifyIpamResourceCidr$ = [9, n0, _MIRC, + 0, () => exports.ModifyIpamResourceCidrRequest$, () => exports.ModifyIpamResourceCidrResult$ +]; +exports.ModifyIpamResourceDiscovery$ = [9, n0, _MIRD, + 0, () => exports.ModifyIpamResourceDiscoveryRequest$, () => exports.ModifyIpamResourceDiscoveryResult$ +]; +exports.ModifyIpamScope$ = [9, n0, _MIS, + 0, () => exports.ModifyIpamScopeRequest$, () => exports.ModifyIpamScopeResult$ +]; +exports.ModifyLaunchTemplate$ = [9, n0, _MLT, + 0, () => exports.ModifyLaunchTemplateRequest$, () => exports.ModifyLaunchTemplateResult$ +]; +exports.ModifyLocalGatewayRoute$ = [9, n0, _MLGR, + 0, () => exports.ModifyLocalGatewayRouteRequest$, () => exports.ModifyLocalGatewayRouteResult$ +]; +exports.ModifyManagedPrefixList$ = [9, n0, _MMPL, + 0, () => exports.ModifyManagedPrefixListRequest$, () => exports.ModifyManagedPrefixListResult$ +]; +exports.ModifyNetworkInterfaceAttribute$ = [9, n0, _MNIA, + 0, () => exports.ModifyNetworkInterfaceAttributeRequest$, () => __Unit +]; +exports.ModifyPrivateDnsNameOptions$ = [9, n0, _MPDNO, + 0, () => exports.ModifyPrivateDnsNameOptionsRequest$, () => exports.ModifyPrivateDnsNameOptionsResult$ +]; +exports.ModifyPublicIpDnsNameOptions$ = [9, n0, _MPIDNO, + 0, () => exports.ModifyPublicIpDnsNameOptionsRequest$, () => exports.ModifyPublicIpDnsNameOptionsResult$ +]; +exports.ModifyReservedInstances$ = [9, n0, _MRI, + 0, () => exports.ModifyReservedInstancesRequest$, () => exports.ModifyReservedInstancesResult$ +]; +exports.ModifyRouteServer$ = [9, n0, _MRS, + 0, () => exports.ModifyRouteServerRequest$, () => exports.ModifyRouteServerResult$ +]; +exports.ModifySecurityGroupRules$ = [9, n0, _MSGR, + 0, () => exports.ModifySecurityGroupRulesRequest$, () => exports.ModifySecurityGroupRulesResult$ +]; +exports.ModifySnapshotAttribute$ = [9, n0, _MSA, + 0, () => exports.ModifySnapshotAttributeRequest$, () => __Unit +]; +exports.ModifySnapshotTier$ = [9, n0, _MST, + 0, () => exports.ModifySnapshotTierRequest$, () => exports.ModifySnapshotTierResult$ +]; +exports.ModifySpotFleetRequest$ = [9, n0, _MSFR, + 0, () => exports.ModifySpotFleetRequestRequest$, () => exports.ModifySpotFleetRequestResponse$ +]; +exports.ModifySubnetAttribute$ = [9, n0, _MSAo, + 0, () => exports.ModifySubnetAttributeRequest$, () => __Unit +]; +exports.ModifyTrafficMirrorFilterNetworkServices$ = [9, n0, _MTMFNS, + 0, () => exports.ModifyTrafficMirrorFilterNetworkServicesRequest$, () => exports.ModifyTrafficMirrorFilterNetworkServicesResult$ +]; +exports.ModifyTrafficMirrorFilterRule$ = [9, n0, _MTMFR, + 0, () => exports.ModifyTrafficMirrorFilterRuleRequest$, () => exports.ModifyTrafficMirrorFilterRuleResult$ +]; +exports.ModifyTrafficMirrorSession$ = [9, n0, _MTMS, + 0, () => exports.ModifyTrafficMirrorSessionRequest$, () => exports.ModifyTrafficMirrorSessionResult$ +]; +exports.ModifyTransitGateway$ = [9, n0, _MTG, + 0, () => exports.ModifyTransitGatewayRequest$, () => exports.ModifyTransitGatewayResult$ +]; +exports.ModifyTransitGatewayMeteringPolicy$ = [9, n0, _MTGMP, + 0, () => exports.ModifyTransitGatewayMeteringPolicyRequest$, () => exports.ModifyTransitGatewayMeteringPolicyResult$ +]; +exports.ModifyTransitGatewayPrefixListReference$ = [9, n0, _MTGPLR, + 0, () => exports.ModifyTransitGatewayPrefixListReferenceRequest$, () => exports.ModifyTransitGatewayPrefixListReferenceResult$ +]; +exports.ModifyTransitGatewayVpcAttachment$ = [9, n0, _MTGVA, + 0, () => exports.ModifyTransitGatewayVpcAttachmentRequest$, () => exports.ModifyTransitGatewayVpcAttachmentResult$ +]; +exports.ModifyVerifiedAccessEndpoint$ = [9, n0, _MVAE, + 0, () => exports.ModifyVerifiedAccessEndpointRequest$, () => exports.ModifyVerifiedAccessEndpointResult$ +]; +exports.ModifyVerifiedAccessEndpointPolicy$ = [9, n0, _MVAEP, + 0, () => exports.ModifyVerifiedAccessEndpointPolicyRequest$, () => exports.ModifyVerifiedAccessEndpointPolicyResult$ +]; +exports.ModifyVerifiedAccessGroup$ = [9, n0, _MVAG, + 0, () => exports.ModifyVerifiedAccessGroupRequest$, () => exports.ModifyVerifiedAccessGroupResult$ +]; +exports.ModifyVerifiedAccessGroupPolicy$ = [9, n0, _MVAGP, + 0, () => exports.ModifyVerifiedAccessGroupPolicyRequest$, () => exports.ModifyVerifiedAccessGroupPolicyResult$ +]; +exports.ModifyVerifiedAccessInstance$ = [9, n0, _MVAI, + 0, () => exports.ModifyVerifiedAccessInstanceRequest$, () => exports.ModifyVerifiedAccessInstanceResult$ +]; +exports.ModifyVerifiedAccessInstanceLoggingConfiguration$ = [9, n0, _MVAILC, + 0, () => exports.ModifyVerifiedAccessInstanceLoggingConfigurationRequest$, () => exports.ModifyVerifiedAccessInstanceLoggingConfigurationResult$ +]; +exports.ModifyVerifiedAccessTrustProvider$ = [9, n0, _MVATP, + 0, () => exports.ModifyVerifiedAccessTrustProviderRequest$, () => exports.ModifyVerifiedAccessTrustProviderResult$ +]; +exports.ModifyVolume$ = [9, n0, _MVo, + 0, () => exports.ModifyVolumeRequest$, () => exports.ModifyVolumeResult$ +]; +exports.ModifyVolumeAttribute$ = [9, n0, _MVA, + 0, () => exports.ModifyVolumeAttributeRequest$, () => __Unit +]; +exports.ModifyVpcAttribute$ = [9, n0, _MVAo, + 0, () => exports.ModifyVpcAttributeRequest$, () => __Unit +]; +exports.ModifyVpcBlockPublicAccessExclusion$ = [9, n0, _MVBPAE, + 0, () => exports.ModifyVpcBlockPublicAccessExclusionRequest$, () => exports.ModifyVpcBlockPublicAccessExclusionResult$ +]; +exports.ModifyVpcBlockPublicAccessOptions$ = [9, n0, _MVBPAO, + 0, () => exports.ModifyVpcBlockPublicAccessOptionsRequest$, () => exports.ModifyVpcBlockPublicAccessOptionsResult$ +]; +exports.ModifyVpcEncryptionControl$ = [9, n0, _MVEC, + 0, () => exports.ModifyVpcEncryptionControlRequest$, () => exports.ModifyVpcEncryptionControlResult$ +]; +exports.ModifyVpcEndpoint$ = [9, n0, _MVEo, + 0, () => exports.ModifyVpcEndpointRequest$, () => exports.ModifyVpcEndpointResult$ +]; +exports.ModifyVpcEndpointConnectionNotification$ = [9, n0, _MVECN, + 0, () => exports.ModifyVpcEndpointConnectionNotificationRequest$, () => exports.ModifyVpcEndpointConnectionNotificationResult$ +]; +exports.ModifyVpcEndpointServiceConfiguration$ = [9, n0, _MVESC, + 0, () => exports.ModifyVpcEndpointServiceConfigurationRequest$, () => exports.ModifyVpcEndpointServiceConfigurationResult$ +]; +exports.ModifyVpcEndpointServicePayerResponsibility$ = [9, n0, _MVESPRod, + 0, () => exports.ModifyVpcEndpointServicePayerResponsibilityRequest$, () => exports.ModifyVpcEndpointServicePayerResponsibilityResult$ +]; +exports.ModifyVpcEndpointServicePermissions$ = [9, n0, _MVESP, + 0, () => exports.ModifyVpcEndpointServicePermissionsRequest$, () => exports.ModifyVpcEndpointServicePermissionsResult$ +]; +exports.ModifyVpcPeeringConnectionOptions$ = [9, n0, _MVPCO, + 0, () => exports.ModifyVpcPeeringConnectionOptionsRequest$, () => exports.ModifyVpcPeeringConnectionOptionsResult$ +]; +exports.ModifyVpcTenancy$ = [9, n0, _MVT, + 0, () => exports.ModifyVpcTenancyRequest$, () => exports.ModifyVpcTenancyResult$ +]; +exports.ModifyVpnConnection$ = [9, n0, _MVC, + 0, () => exports.ModifyVpnConnectionRequest$, () => exports.ModifyVpnConnectionResult$ +]; +exports.ModifyVpnConnectionOptions$ = [9, n0, _MVCO, + 0, () => exports.ModifyVpnConnectionOptionsRequest$, () => exports.ModifyVpnConnectionOptionsResult$ +]; +exports.ModifyVpnTunnelCertificate$ = [9, n0, _MVTC, + 0, () => exports.ModifyVpnTunnelCertificateRequest$, () => exports.ModifyVpnTunnelCertificateResult$ +]; +exports.ModifyVpnTunnelOptions$ = [9, n0, _MVTO, + 0, () => exports.ModifyVpnTunnelOptionsRequest$, () => exports.ModifyVpnTunnelOptionsResult$ +]; +exports.MonitorInstances$ = [9, n0, _MIon, + 0, () => exports.MonitorInstancesRequest$, () => exports.MonitorInstancesResult$ +]; +exports.MoveAddressToVpc$ = [9, n0, _MATV, + 0, () => exports.MoveAddressToVpcRequest$, () => exports.MoveAddressToVpcResult$ +]; +exports.MoveByoipCidrToIpam$ = [9, n0, _MBCTI, + 0, () => exports.MoveByoipCidrToIpamRequest$, () => exports.MoveByoipCidrToIpamResult$ +]; +exports.MoveCapacityReservationInstances$ = [9, n0, _MCRI, + 0, () => exports.MoveCapacityReservationInstancesRequest$, () => exports.MoveCapacityReservationInstancesResult$ +]; +exports.ProvisionByoipCidr$ = [9, n0, _PBC, + 0, () => exports.ProvisionByoipCidrRequest$, () => exports.ProvisionByoipCidrResult$ +]; +exports.ProvisionIpamByoasn$ = [9, n0, _PIB, + 0, () => exports.ProvisionIpamByoasnRequest$, () => exports.ProvisionIpamByoasnResult$ +]; +exports.ProvisionIpamPoolCidr$ = [9, n0, _PIPC, + 0, () => exports.ProvisionIpamPoolCidrRequest$, () => exports.ProvisionIpamPoolCidrResult$ +]; +exports.ProvisionPublicIpv4PoolCidr$ = [9, n0, _PPIPC, + 0, () => exports.ProvisionPublicIpv4PoolCidrRequest$, () => exports.ProvisionPublicIpv4PoolCidrResult$ +]; +exports.PurchaseCapacityBlock$ = [9, n0, _PCBu, + 0, () => exports.PurchaseCapacityBlockRequest$, () => exports.PurchaseCapacityBlockResult$ +]; +exports.PurchaseCapacityBlockExtension$ = [9, n0, _PCBE, + 0, () => exports.PurchaseCapacityBlockExtensionRequest$, () => exports.PurchaseCapacityBlockExtensionResult$ +]; +exports.PurchaseHostReservation$ = [9, n0, _PHR, + 0, () => exports.PurchaseHostReservationRequest$, () => exports.PurchaseHostReservationResult$ +]; +exports.PurchaseReservedInstancesOffering$ = [9, n0, _PRIO, + 0, () => exports.PurchaseReservedInstancesOfferingRequest$, () => exports.PurchaseReservedInstancesOfferingResult$ +]; +exports.PurchaseScheduledInstances$ = [9, n0, _PSI, + 0, () => exports.PurchaseScheduledInstancesRequest$, () => exports.PurchaseScheduledInstancesResult$ +]; +exports.RebootInstances$ = [9, n0, _RIeb, + 0, () => exports.RebootInstancesRequest$, () => __Unit +]; +exports.RegisterImage$ = [9, n0, _RIegi, + 0, () => exports.RegisterImageRequest$, () => exports.RegisterImageResult$ +]; +exports.RegisterInstanceEventNotificationAttributes$ = [9, n0, _RIENA, + 0, () => exports.RegisterInstanceEventNotificationAttributesRequest$, () => exports.RegisterInstanceEventNotificationAttributesResult$ +]; +exports.RegisterTransitGatewayMulticastGroupMembers$ = [9, n0, _RTGMGM, + 0, () => exports.RegisterTransitGatewayMulticastGroupMembersRequest$, () => exports.RegisterTransitGatewayMulticastGroupMembersResult$ +]; +exports.RegisterTransitGatewayMulticastGroupSources$ = [9, n0, _RTGMGS, + 0, () => exports.RegisterTransitGatewayMulticastGroupSourcesRequest$, () => exports.RegisterTransitGatewayMulticastGroupSourcesResult$ +]; +exports.RejectCapacityReservationBillingOwnership$ = [9, n0, _RCRBO, + 0, () => exports.RejectCapacityReservationBillingOwnershipRequest$, () => exports.RejectCapacityReservationBillingOwnershipResult$ +]; +exports.RejectTransitGatewayMulticastDomainAssociations$ = [9, n0, _RTGMDA, + 0, () => exports.RejectTransitGatewayMulticastDomainAssociationsRequest$, () => exports.RejectTransitGatewayMulticastDomainAssociationsResult$ +]; +exports.RejectTransitGatewayPeeringAttachment$ = [9, n0, _RTGPA, + 0, () => exports.RejectTransitGatewayPeeringAttachmentRequest$, () => exports.RejectTransitGatewayPeeringAttachmentResult$ +]; +exports.RejectTransitGatewayVpcAttachment$ = [9, n0, _RTGVA, + 0, () => exports.RejectTransitGatewayVpcAttachmentRequest$, () => exports.RejectTransitGatewayVpcAttachmentResult$ +]; +exports.RejectVpcEndpointConnections$ = [9, n0, _RVEC, + 0, () => exports.RejectVpcEndpointConnectionsRequest$, () => exports.RejectVpcEndpointConnectionsResult$ +]; +exports.RejectVpcPeeringConnection$ = [9, n0, _RVPC, + 0, () => exports.RejectVpcPeeringConnectionRequest$, () => exports.RejectVpcPeeringConnectionResult$ +]; +exports.ReleaseAddress$ = [9, n0, _RAel, + 0, () => exports.ReleaseAddressRequest$, () => __Unit +]; +exports.ReleaseHosts$ = [9, n0, _RH, + 0, () => exports.ReleaseHostsRequest$, () => exports.ReleaseHostsResult$ +]; +exports.ReleaseIpamPoolAllocation$ = [9, n0, _RIPA, + 0, () => exports.ReleaseIpamPoolAllocationRequest$, () => exports.ReleaseIpamPoolAllocationResult$ +]; +exports.ReplaceIamInstanceProfileAssociation$ = [9, n0, _RIIPA, + 0, () => exports.ReplaceIamInstanceProfileAssociationRequest$, () => exports.ReplaceIamInstanceProfileAssociationResult$ +]; +exports.ReplaceImageCriteriaInAllowedImagesSettings$ = [9, n0, _RICIAIS, + 0, () => exports.ReplaceImageCriteriaInAllowedImagesSettingsRequest$, () => exports.ReplaceImageCriteriaInAllowedImagesSettingsResult$ +]; +exports.ReplaceNetworkAclAssociation$ = [9, n0, _RNAA, + 0, () => exports.ReplaceNetworkAclAssociationRequest$, () => exports.ReplaceNetworkAclAssociationResult$ +]; +exports.ReplaceNetworkAclEntry$ = [9, n0, _RNAE, + 0, () => exports.ReplaceNetworkAclEntryRequest$, () => __Unit +]; +exports.ReplaceRoute$ = [9, n0, _RRe, + 0, () => exports.ReplaceRouteRequest$, () => __Unit +]; +exports.ReplaceRouteTableAssociation$ = [9, n0, _RRTA, + 0, () => exports.ReplaceRouteTableAssociationRequest$, () => exports.ReplaceRouteTableAssociationResult$ +]; +exports.ReplaceTransitGatewayRoute$ = [9, n0, _RTGR, + 0, () => exports.ReplaceTransitGatewayRouteRequest$, () => exports.ReplaceTransitGatewayRouteResult$ +]; +exports.ReplaceVpnTunnel$ = [9, n0, _RVT, + 0, () => exports.ReplaceVpnTunnelRequest$, () => exports.ReplaceVpnTunnelResult$ +]; +exports.ReportInstanceStatus$ = [9, n0, _RISe, + 0, () => exports.ReportInstanceStatusRequest$, () => __Unit +]; +exports.RequestSpotFleet$ = [9, n0, _RSF, + 0, () => exports.RequestSpotFleetRequest$, () => exports.RequestSpotFleetResponse$ +]; +exports.RequestSpotInstances$ = [9, n0, _RSIeq, + 0, () => exports.RequestSpotInstancesRequest$, () => exports.RequestSpotInstancesResult$ +]; +exports.ResetAddressAttribute$ = [9, n0, _RAA, + 0, () => exports.ResetAddressAttributeRequest$, () => exports.ResetAddressAttributeResult$ +]; +exports.ResetEbsDefaultKmsKeyId$ = [9, n0, _REDKKI, + 0, () => exports.ResetEbsDefaultKmsKeyIdRequest$, () => exports.ResetEbsDefaultKmsKeyIdResult$ +]; +exports.ResetFpgaImageAttribute$ = [9, n0, _RFIA, + 0, () => exports.ResetFpgaImageAttributeRequest$, () => exports.ResetFpgaImageAttributeResult$ +]; +exports.ResetImageAttribute$ = [9, n0, _RIA, + 0, () => exports.ResetImageAttributeRequest$, () => __Unit +]; +exports.ResetInstanceAttribute$ = [9, n0, _RIAe, + 0, () => exports.ResetInstanceAttributeRequest$, () => __Unit +]; +exports.ResetNetworkInterfaceAttribute$ = [9, n0, _RNIA, + 0, () => exports.ResetNetworkInterfaceAttributeRequest$, () => __Unit +]; +exports.ResetSnapshotAttribute$ = [9, n0, _RSAe, + 0, () => exports.ResetSnapshotAttributeRequest$, () => __Unit +]; +exports.RestoreAddressToClassic$ = [9, n0, _RATC, + 0, () => exports.RestoreAddressToClassicRequest$, () => exports.RestoreAddressToClassicResult$ +]; +exports.RestoreImageFromRecycleBin$ = [9, n0, _RIFRB, + 0, () => exports.RestoreImageFromRecycleBinRequest$, () => exports.RestoreImageFromRecycleBinResult$ +]; +exports.RestoreManagedPrefixListVersion$ = [9, n0, _RMPLV, + 0, () => exports.RestoreManagedPrefixListVersionRequest$, () => exports.RestoreManagedPrefixListVersionResult$ +]; +exports.RestoreSnapshotFromRecycleBin$ = [9, n0, _RSFRB, + 0, () => exports.RestoreSnapshotFromRecycleBinRequest$, () => exports.RestoreSnapshotFromRecycleBinResult$ +]; +exports.RestoreSnapshotTier$ = [9, n0, _RSTes, + 0, () => exports.RestoreSnapshotTierRequest$, () => exports.RestoreSnapshotTierResult$ +]; +exports.RestoreVolumeFromRecycleBin$ = [9, n0, _RVFRB, + 0, () => exports.RestoreVolumeFromRecycleBinRequest$, () => exports.RestoreVolumeFromRecycleBinResult$ +]; +exports.RevokeClientVpnIngress$ = [9, n0, _RCVI, + 0, () => exports.RevokeClientVpnIngressRequest$, () => exports.RevokeClientVpnIngressResult$ +]; +exports.RevokeSecurityGroupEgress$ = [9, n0, _RSGE, + 0, () => exports.RevokeSecurityGroupEgressRequest$, () => exports.RevokeSecurityGroupEgressResult$ +]; +exports.RevokeSecurityGroupIngress$ = [9, n0, _RSGIev, + 0, () => exports.RevokeSecurityGroupIngressRequest$, () => exports.RevokeSecurityGroupIngressResult$ +]; +exports.RunInstances$ = [9, n0, _RIu, + 0, () => exports.RunInstancesRequest$, () => exports.Reservation$ +]; +exports.RunScheduledInstances$ = [9, n0, _RSIu, + 0, () => exports.RunScheduledInstancesRequest$, () => exports.RunScheduledInstancesResult$ +]; +exports.SearchLocalGatewayRoutes$ = [9, n0, _SLGR, + 0, () => exports.SearchLocalGatewayRoutesRequest$, () => exports.SearchLocalGatewayRoutesResult$ +]; +exports.SearchTransitGatewayMulticastGroups$ = [9, n0, _STGMG, + 0, () => exports.SearchTransitGatewayMulticastGroupsRequest$, () => exports.SearchTransitGatewayMulticastGroupsResult$ +]; +exports.SearchTransitGatewayRoutes$ = [9, n0, _STGR, + 0, () => exports.SearchTransitGatewayRoutesRequest$, () => exports.SearchTransitGatewayRoutesResult$ +]; +exports.SendDiagnosticInterrupt$ = [9, n0, _SDI, + 0, () => exports.SendDiagnosticInterruptRequest$, () => __Unit +]; +exports.StartDeclarativePoliciesReport$ = [9, n0, _SDPR, + 0, () => exports.StartDeclarativePoliciesReportRequest$, () => exports.StartDeclarativePoliciesReportResult$ +]; +exports.StartInstances$ = [9, n0, _SIta, + 0, () => exports.StartInstancesRequest$, () => exports.StartInstancesResult$ +]; +exports.StartNetworkInsightsAccessScopeAnalysis$ = [9, n0, _SNIASA, + 0, () => exports.StartNetworkInsightsAccessScopeAnalysisRequest$, () => exports.StartNetworkInsightsAccessScopeAnalysisResult$ +]; +exports.StartNetworkInsightsAnalysis$ = [9, n0, _SNIA, + 0, () => exports.StartNetworkInsightsAnalysisRequest$, () => exports.StartNetworkInsightsAnalysisResult$ +]; +exports.StartVpcEndpointServicePrivateDnsVerification$ = [9, n0, _SVESPDV, + 0, () => exports.StartVpcEndpointServicePrivateDnsVerificationRequest$, () => exports.StartVpcEndpointServicePrivateDnsVerificationResult$ +]; +exports.StopInstances$ = [9, n0, _SItop, + 0, () => exports.StopInstancesRequest$, () => exports.StopInstancesResult$ +]; +exports.TerminateClientVpnConnections$ = [9, n0, _TCVC, + 0, () => exports.TerminateClientVpnConnectionsRequest$, () => exports.TerminateClientVpnConnectionsResult$ +]; +exports.TerminateInstances$ = [9, n0, _TI, + 0, () => exports.TerminateInstancesRequest$, () => exports.TerminateInstancesResult$ +]; +exports.UnassignIpv6Addresses$ = [9, n0, _UIAn, + 0, () => exports.UnassignIpv6AddressesRequest$, () => exports.UnassignIpv6AddressesResult$ +]; +exports.UnassignPrivateIpAddresses$ = [9, n0, _UPIA, + 0, () => exports.UnassignPrivateIpAddressesRequest$, () => __Unit +]; +exports.UnassignPrivateNatGatewayAddress$ = [9, n0, _UPNGA, + 0, () => exports.UnassignPrivateNatGatewayAddressRequest$, () => exports.UnassignPrivateNatGatewayAddressResult$ +]; +exports.UnlockSnapshot$ = [9, n0, _USn, + 0, () => exports.UnlockSnapshotRequest$, () => exports.UnlockSnapshotResult$ +]; +exports.UnmonitorInstances$ = [9, n0, _UInm, + 0, () => exports.UnmonitorInstancesRequest$, () => exports.UnmonitorInstancesResult$ +]; +exports.UpdateCapacityManagerMonitoredTagKeys$ = [9, n0, _UCMMTK, + 0, () => exports.UpdateCapacityManagerMonitoredTagKeysRequest$, () => exports.UpdateCapacityManagerMonitoredTagKeysResult$ +]; +exports.UpdateCapacityManagerOrganizationsAccess$ = [9, n0, _UCMOA, + 0, () => exports.UpdateCapacityManagerOrganizationsAccessRequest$, () => exports.UpdateCapacityManagerOrganizationsAccessResult$ +]; +exports.UpdateInterruptibleCapacityReservationAllocation$ = [9, n0, _UICRA, + 0, () => exports.UpdateInterruptibleCapacityReservationAllocationRequest$, () => exports.UpdateInterruptibleCapacityReservationAllocationResult$ +]; +exports.UpdateSecurityGroupRuleDescriptionsEgress$ = [9, n0, _USGRDE, + 0, () => exports.UpdateSecurityGroupRuleDescriptionsEgressRequest$, () => exports.UpdateSecurityGroupRuleDescriptionsEgressResult$ +]; +exports.UpdateSecurityGroupRuleDescriptionsIngress$ = [9, n0, _USGRDI, + 0, () => exports.UpdateSecurityGroupRuleDescriptionsIngressRequest$, () => exports.UpdateSecurityGroupRuleDescriptionsIngressResult$ +]; +exports.WithdrawByoipCidr$ = [9, n0, _WBC, + 0, () => exports.WithdrawByoipCidrRequest$, () => exports.WithdrawByoipCidrResult$ +]; -function endpointsToMethods(octokit, endpointsMap) { - const newMethods = {}; - for (const [scope, endpoints] of Object.entries(endpointsMap)) { - 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 (!newMethods[scope]) { - newMethods[scope] = {}; - } +/***/ 2825: +/***/ ((__unused_webpack_module, exports) => { - const scopeMethods = newMethods[scope]; +"use strict"; - if (decorations) { - scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations); - continue; - } - scopeMethods[methodName] = octokit.request.defaults(endpointDefaults); - } - } +const state = { + warningEmitted: false, +}; +const emitWarningIfUnsupportedVersion = (version) => { + if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 20) { + state.warningEmitted = true; + process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will +no longer support Node.js ${version} in January 2026. - return newMethods; -} +To continue receiving updates to AWS services, bug fixes, and security +updates please upgrade to a supported Node.js LTS version. -function decorate(octokit, scope, methodName, defaults, decorations) { - const requestWithDefaults = octokit.request.defaults(defaults); - /* istanbul ignore next */ +More information can be found at: https://a.co/c895JFp`); + } +}; - function withDecorations(...args) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - let options = requestWithDefaults.endpoint.merge(...args); // There are currently no other decorations than `.mapToData` +const longPollMiddleware = () => (next, context) => async (args) => { + context.__retryLongPoll = true; + return next(args); +}; +const longPollMiddlewareOptions = { + name: "longPollMiddleware", + tags: ["RETRY"], + step: "initialize", + override: true, +}; +const getLongPollPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(longPollMiddleware(), longPollMiddlewareOptions); + }, +}); - if (decorations.mapToData) { - options = Object.assign({}, options, { - data: options[decorations.mapToData], - [decorations.mapToData]: undefined - }); - return requestWithDefaults(options); +function setCredentialFeature(credentials, feature, value) { + if (!credentials.$source) { + credentials.$source = {}; } + credentials.$source[feature] = value; + return credentials; +} - if (decorations.renamed) { - const [newScope, newMethodName] = decorations.renamed; - octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`); +function setFeature(context, feature, value) { + if (!context.__aws_sdk_context) { + context.__aws_sdk_context = { + features: {}, + }; } - - if (decorations.deprecated) { - octokit.log.warn(decorations.deprecated); + else if (!context.__aws_sdk_context.features) { + context.__aws_sdk_context.features = {}; } - - if (decorations.renamedParameters) { - // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - const options = requestWithDefaults.endpoint.merge(...args); - - for (const [name, alias] of Object.entries(decorations.renamedParameters)) { - if (name in options) { - octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`); - - if (!(alias in options)) { - options[alias] = options[name]; - } - - delete options[name]; - } - } - - return requestWithDefaults(options); - } // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 - - - return requestWithDefaults(...args); - } - - return Object.assign(withDecorations, requestWithDefaults); + context.__aws_sdk_context.features[feature] = value; } -function restEndpointMethods(octokit) { - const api = endpointsToMethods(octokit, Endpoints); - return _objectSpread2(_objectSpread2({}, api), {}, { - rest: api - }); +function setTokenFeature(token, feature, value) { + if (!token.$source) { + token.$source = {}; + } + token.$source[feature] = value; + return token; } -restEndpointMethods.VERSION = VERSION; -exports.restEndpointMethods = restEndpointMethods; -//# sourceMappingURL=index.js.map +exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion; +exports.getLongPollPlugin = getLongPollPlugin; +exports.setCredentialFeature = setCredentialFeature; +exports.setFeature = setFeature; +exports.setTokenFeature = setTokenFeature; +exports.state = state; /***/ }), -/***/ 537: +/***/ 7862: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -Object.defineProperty(exports, "__esModule", ({ value: true })); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var deprecation = __nccwpck_require__(8932); -var once = _interopDefault(__nccwpck_require__(1223)); +var protocolHttp = __nccwpck_require__(4418); +var core = __nccwpck_require__(5829); +var propertyProvider = __nccwpck_require__(9721); +var client = __nccwpck_require__(2825); +var signatureV4 = __nccwpck_require__(1528); -const logOnceCode = once(deprecation => console.warn(deprecation)); -const logOnceHeaders = once(deprecation => console.warn(deprecation)); -/** - * Error with extra properties to help with debugging - */ +const getDateHeader = (response) => protocolHttp.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined; -class RequestError extends Error { - constructor(message, statusCode, options) { - super(message); // Maintains proper stack trace (only available on V8) +const getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset); - /* istanbul ignore next */ +const isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000; - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); +const getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => { + const clockTimeInMs = Date.parse(clockTime); + if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) { + return clockTimeInMs - Date.now(); } + return currentSystemClockOffset; +}; - this.name = "HttpError"; - this.status = statusCode; - let headers; - - if ("headers" in options && typeof options.headers !== "undefined") { - headers = options.headers; +const throwSigningPropertyError = (name, property) => { + if (!property) { + throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`); } + return property; +}; +const validateSigningProperties = async (signingProperties) => { + const context = throwSigningPropertyError("context", signingProperties.context); + const config = throwSigningPropertyError("config", signingProperties.config); + const authScheme = context.endpointV2?.properties?.authSchemes?.[0]; + const signerFunction = throwSigningPropertyError("signer", config.signer); + const signer = await signerFunction(authScheme); + const signingRegion = signingProperties?.signingRegion; + const signingRegionSet = signingProperties?.signingRegionSet; + const signingName = signingProperties?.signingName; + return { + config, + signer, + signingRegion, + signingRegionSet, + signingName, + }; +}; +class AwsSdkSigV4Signer { + async sign(httpRequest, identity, signingProperties) { + if (!protocolHttp.HttpRequest.isInstance(httpRequest)) { + throw new Error("The request is not an instance of `HttpRequest` and cannot be signed"); + } + const validatedProps = await validateSigningProperties(signingProperties); + const { config, signer } = validatedProps; + let { signingRegion, signingName } = validatedProps; + const handlerExecutionContext = signingProperties.context; + if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) { + const [first, second] = handlerExecutionContext.authSchemes; + if (first?.name === "sigv4a" && second?.name === "sigv4") { + signingRegion = second?.signingRegion ?? signingRegion; + signingName = second?.signingName ?? signingName; + } + } + const signedRequest = await signer.sign(httpRequest, { + signingDate: getSkewCorrectedDate(config.systemClockOffset), + signingRegion: 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); + } + } +} +const AWSSDKSigV4Signer = AwsSdkSigV4Signer; - if ("response" in options) { - this.response = options.response; - headers = options.response.headers; - } // redact request credentials without mutating original request options - - - const requestCopy = Object.assign({}, options.request); - - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]") - }); +class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer { + async sign(httpRequest, identity, signingProperties) { + if (!protocolHttp.HttpRequest.isInstance(httpRequest)) { + throw new Error("The request is not an instance of `HttpRequest` and cannot be signed"); + } + const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(signingProperties); + const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.(); + const multiRegionOverride = (configResolvedSigningRegionSet ?? + signingRegionSet ?? [signingRegion]).join(","); + const signedRequest = await signer.sign(httpRequest, { + signingDate: getSkewCorrectedDate(config.systemClockOffset), + signingRegion: multiRegionOverride, + signingService: signingName, + }); + return signedRequest; } +} - requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit - // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications - .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended - // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header - .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; // deprecations +const getArrayForCommaSeparatedString = (str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : []; - Object.defineProperty(this, "code", { - get() { - logOnceCode(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")); - return statusCode; - } +const getBearerTokenEnvKey = (signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\s-]/g, "_").toUpperCase()}`; - }); - Object.defineProperty(this, "headers", { - get() { - logOnceHeaders(new deprecation.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")); - return headers || {}; - } +const NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE"; +const NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference"; +const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = { + environmentVariableSelector: (env, options) => { + if (options?.signingName) { + const bearerTokenKey = getBearerTokenEnvKey(options.signingName); + if (bearerTokenKey in env) + return ["httpBearerAuth"]; + } + if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) + return undefined; + return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]); + }, + configFileSelector: (profile) => { + if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) + return undefined; + return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]); + }, + default: [], +}; - }); - } +const resolveAwsSdkSigV4AConfig = (config) => { + config.sigv4aSigningRegionSet = core.normalizeProvider(config.sigv4aSigningRegionSet); + return config; +}; +const NODE_SIGV4A_CONFIG_OPTIONS = { + environmentVariableSelector(env) { + if (env.AWS_SIGV4A_SIGNING_REGION_SET) { + return env.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((_) => _.trim()); + } + throw new propertyProvider.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.", { + tryNextLink: true, + }); + }, + configFileSelector(profile) { + if (profile.sigv4a_signing_region_set) { + return (profile.sigv4a_signing_region_set ?? "").split(",").map((_) => _.trim()); + } + throw new propertyProvider.ProviderError("sigv4a_signing_region_set not set in profile.", { + tryNextLink: true, + }); + }, + default: undefined, +}; +const resolveAwsSdkSigV4Config = (config) => { + let inputCredentials = config.credentials; + let isUserSupplied = !!config.credentials; + let resolvedCredentials = undefined; + Object.defineProperty(config, "credentials", { + set(credentials) { + if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) { + isUserSupplied = true; + } + inputCredentials = credentials; + const memoizedProvider = normalizeCredentialProvider(config, { + credentials: inputCredentials, + credentialDefaultProvider: config.credentialDefaultProvider, + }); + const boundProvider = bindCallerConfig(config, memoizedProvider); + if (isUserSupplied && !boundProvider.attributed) { + const isCredentialObject = typeof inputCredentials === "object" && inputCredentials !== null; + resolvedCredentials = async (options) => { + const creds = await boundProvider(options); + const attributedCreds = creds; + if (isCredentialObject && (!attributedCreds.$source || Object.keys(attributedCreds.$source).length === 0)) { + return client.setCredentialFeature(attributedCreds, "CREDENTIALS_CODE", "e"); + } + return attributedCreds; + }; + resolvedCredentials.memoized = boundProvider.memoized; + resolvedCredentials.configBound = boundProvider.configBound; + resolvedCredentials.attributed = true; + } + else { + resolvedCredentials = boundProvider; + } + }, + get() { + return resolvedCredentials; + }, + enumerable: true, + configurable: true, + }); + config.credentials = inputCredentials; + const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config; + let signer; + if (config.signer) { + signer = core.normalizeProvider(config.signer); + } + else if (config.regionInfoProvider) { + signer = () => 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: config.credentials, + region: config.signingRegion, + service: config.signingName, + sha256, + uriEscapePath: signingEscapePath, + }; + const SignerCtor = config.signerConstructor || signatureV4.SignatureV4; + return new SignerCtor(params); + }); + } + else { + signer = async (authScheme) => { + authScheme = Object.assign({}, { + name: "sigv4", + signingName: config.signingName || config.defaultSigningName, + signingRegion: await 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: config.credentials, + region: config.signingRegion, + service: config.signingName, + sha256, + uriEscapePath: signingEscapePath, + }; + const SignerCtor = config.signerConstructor || signatureV4.SignatureV4; + return new SignerCtor(params); + }; + } + const resolvedConfig = Object.assign(config, { + systemClockOffset, + signingEscapePath, + signer, + }); + return resolvedConfig; +}; +const resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config; +function normalizeCredentialProvider(config, { credentials, credentialDefaultProvider, }) { + let credentialsProvider; + if (credentials) { + if (!credentials?.memoized) { + credentialsProvider = core.memoizeIdentityProvider(credentials, core.isIdentityExpired, core.doesIdentityRequireRefresh); + } + else { + credentialsProvider = credentials; + } + } + else { + if (credentialDefaultProvider) { + credentialsProvider = core.normalizeProvider(credentialDefaultProvider(Object.assign({}, config, { + parentClientConfig: config, + }))); + } + else { + credentialsProvider = async () => { + throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured."); + }; + } + } + credentialsProvider.memoized = true; + return credentialsProvider; +} +function bindCallerConfig(config, credentialsProvider) { + if (credentialsProvider.configBound) { + return credentialsProvider; + } + const fn = async (options) => credentialsProvider({ ...options, callerClientConfig: config }); + fn.memoized = credentialsProvider.memoized; + fn.configBound = true; + return fn; } -exports.RequestError = RequestError; -//# sourceMappingURL=index.js.map +exports.AWSSDKSigV4Signer = AWSSDKSigV4Signer; +exports.AwsSdkSigV4ASigner = AwsSdkSigV4ASigner; +exports.AwsSdkSigV4Signer = AwsSdkSigV4Signer; +exports.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = NODE_AUTH_SCHEME_PREFERENCE_OPTIONS; +exports.NODE_SIGV4A_CONFIG_OPTIONS = NODE_SIGV4A_CONFIG_OPTIONS; +exports.getBearerTokenEnvKey = getBearerTokenEnvKey; +exports.resolveAWSSDKSigV4Config = resolveAWSSDKSigV4Config; +exports.resolveAwsSdkSigV4AConfig = resolveAwsSdkSigV4AConfig; +exports.resolveAwsSdkSigV4Config = resolveAwsSdkSigV4Config; +exports.validateSigningProperties = validateSigningProperties; /***/ }), -/***/ 6234: +/***/ 785: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -Object.defineProperty(exports, "__esModule", ({ value: true })); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var endpoint = __nccwpck_require__(9440); -var universalUserAgent = __nccwpck_require__(5030); -var isPlainObject = __nccwpck_require__(3287); -var nodeFetch = _interopDefault(__nccwpck_require__(467)); -var requestError = __nccwpck_require__(537); - -const VERSION = "5.6.3"; - -function getBufferResponse(response) { - return response.arrayBuffer(); +var cbor = __nccwpck_require__(804); +var schema = __nccwpck_require__(9826); +var smithyClient = __nccwpck_require__(3570); +var protocols = __nccwpck_require__(2241); +var serde = __nccwpck_require__(7669); +var utilBase64 = __nccwpck_require__(5600); +var utilUtf8 = __nccwpck_require__(1895); +var xmlBuilder = __nccwpck_require__(2329); + +class ProtocolLib { + queryCompat; + errorRegistry; + constructor(queryCompat = false) { + this.queryCompat = queryCompat; + } + resolveRestContentType(defaultContentType, inputSchema) { + const members = inputSchema.getMemberSchemas(); + const httpPayloadMember = Object.values(members).find((m) => { + return !!m.getMergedTraits().httpPayload; + }); + if (httpPayloadMember) { + const mediaType = httpPayloadMember.getMergedTraits().mediaType; + if (mediaType) { + return mediaType; + } + else if (httpPayloadMember.isStringSchema()) { + return "text/plain"; + } + else if (httpPayloadMember.isBlobSchema()) { + return "application/octet-stream"; + } + else { + return defaultContentType; + } + } + else if (!inputSchema.isUnitSchema()) { + const hasBody = Object.values(members).find((m) => { + const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits(); + const noPrefixHeaders = httpPrefixHeaders === void 0; + return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && noPrefixHeaders; + }); + if (hasBody) { + return defaultContentType; + } + } + } + async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) { + let errorName = errorIdentifier; + if (errorIdentifier.includes("#")) { + [, errorName] = errorIdentifier.split("#"); + } + const errorMetadata = { + $metadata: metadata, + $fault: response.statusCode < 500 ? "client" : "server", + }; + if (!this.errorRegistry) { + throw new Error("@aws-sdk/core/protocols - error handler not initialized."); + } + try { + const errorSchema = getErrorSchema?.(this.errorRegistry, errorName) ?? + this.errorRegistry.getSchema(errorIdentifier); + return { errorSchema, errorMetadata }; + } + catch (e) { + dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const synthetic = this.errorRegistry; + const baseExceptionSchema = synthetic.getBaseException(); + if (baseExceptionSchema) { + const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error; + throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject); + } + const d = dataObject; + const message = d?.message ?? d?.Message ?? d?.Error?.Message ?? d?.Error?.message; + throw this.decorateServiceException(Object.assign(new Error(message), { + name: errorName, + }, errorMetadata), dataObject); + } + } + compose(composite, errorIdentifier, defaultNamespace) { + let namespace = defaultNamespace; + if (errorIdentifier.includes("#")) { + [namespace] = errorIdentifier.split("#"); + } + const staticRegistry = schema.TypeRegistry.for(namespace); + const defaultSyntheticRegistry = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + defaultNamespace); + composite.copyFrom(staticRegistry); + composite.copyFrom(defaultSyntheticRegistry); + this.errorRegistry = composite; + } + decorateServiceException(exception, additions = {}) { + if (this.queryCompat) { + const msg = exception.Message ?? additions.Message; + const error = smithyClient.decorateServiceException(exception, additions); + if (msg) { + error.message = msg; + } + error.Error = { + ...error.Error, + Type: error.Error?.Type, + Code: error.Error?.Code, + Message: error.Error?.message ?? error.Error?.Message ?? msg, + }; + const reqId = error.$metadata.requestId; + if (reqId) { + error.RequestId = reqId; + } + return error; + } + return smithyClient.decorateServiceException(exception, additions); + } + setQueryCompatError(output, response) { + const queryErrorHeader = response.headers?.["x-amzn-query-error"]; + if (output !== undefined && queryErrorHeader != null) { + const [Code, Type] = queryErrorHeader.split(";"); + const entries = Object.entries(output); + const Error = { + Code, + Type, + }; + Object.assign(output, Error); + for (const [k, v] of entries) { + Error[k === "message" ? "Message" : k] = v; + } + delete Error.__type; + output.Error = Error; + } + } + queryCompatOutput(queryCompatErrorData, errorData) { + if (queryCompatErrorData.Error) { + errorData.Error = queryCompatErrorData.Error; + } + if (queryCompatErrorData.Type) { + errorData.Type = queryCompatErrorData.Type; + } + if (queryCompatErrorData.Code) { + errorData.Code = queryCompatErrorData.Code; + } + } + findQueryCompatibleError(registry, errorName) { + try { + return registry.getSchema(errorName); + } + catch (e) { + return registry.find((schema$1) => schema.NormalizedSchema.of(schema$1).getMergedTraits().awsQueryError?.[0] === errorName); + } + } } -function fetchWrapper(requestOptions) { - const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console; - - if (isPlainObject.isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) { - requestOptions.body = JSON.stringify(requestOptions.body); - } - - let headers = {}; - let status; - let url; - const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch; - return fetch(requestOptions.url, Object.assign({ - method: requestOptions.method, - body: requestOptions.body, - headers: requestOptions.headers, - redirect: requestOptions.redirect - }, // `requestOptions.request.agent` type is incompatible - // see https://github.com/octokit/types.ts/pull/264 - requestOptions.request)).then(async response => { - url = response.url; - status = response.status; +class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol { + awsQueryCompatible; + mixin; + constructor({ defaultNamespace, errorTypeRegistries, awsQueryCompatible, }) { + super({ defaultNamespace, errorTypeRegistries }); + this.awsQueryCompatible = !!awsQueryCompatible; + this.mixin = new ProtocolLib(this.awsQueryCompatible); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (this.awsQueryCompatible) { + request.headers["x-amzn-query-mode"] = "true"; + } + return request; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + if (this.awsQueryCompatible) { + this.mixin.setQueryCompatError(dataObject, response); + } + const errorName = (() => { + const compatHeader = response.headers["x-amzn-query-error"]; + if (compatHeader && this.awsQueryCompatible) { + return compatHeader.split(";")[0]; + } + return cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown"; + })(); + this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = {}; + for (const [name, member] of ns.structIterator()) { + if (dataObject[name] != null) { + output[name] = this.deserializer.readValue(member, dataObject[name]); + } + } + if (this.awsQueryCompatible) { + this.mixin.queryCompatOutput(dataObject, output); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } +} - for (const keyAndValue of response.headers) { - headers[keyAndValue[0]] = keyAndValue[1]; +const _toStr = (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; +}; +const _toBool = (val) => { + if (val == null) { + return val; + } + 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; +}; +const _toNum = (val) => { + if (val == null) { + return val; + } + 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; +}; - 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}` : ""}`); +class SerdeContextConfig { + serdeContext; + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; } +} - if (status === 204 || status === 205) { - return; - } // GitHub API returns 200 for HEAD requests +class UnionSerde { + from; + to; + keys; + constructor(from, to) { + this.from = from; + this.to = to; + this.keys = new Set(Object.keys(this.from).filter((k) => k !== "__type")); + } + mark(key) { + this.keys.delete(key); + } + hasUnknown() { + return this.keys.size === 1 && Object.keys(this.to).length === 0; + } + writeUnknown() { + if (this.hasUnknown()) { + const k = this.keys.values().next().value; + const v = this.from[k]; + this.to.$unknown = [k, v]; + } + } +} +function jsonReviver(key, value, context) { + if (context?.source) { + const numericString = context.source; + if (typeof value === "number") { + if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) { + const isFractional = numericString.includes("."); + if (isFractional) { + return new serde.NumericValue(numericString, "bigDecimal"); + } + else { + return BigInt(numericString); + } + } + } + } + return value; +} - if (requestOptions.method === "HEAD") { - if (status < 400) { - return; - } +const collectBodyString = (streamBody, context) => smithyClient.collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? utilUtf8.toUtf8)(body)); - throw new requestError.RequestError(response.statusText, status, { - response: { - url, - status, - headers, - data: undefined - }, - request: requestOptions - }); +const parseJsonBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + try { + return JSON.parse(encoded); + } + catch (e) { + if (e?.name === "SyntaxError") { + Object.defineProperty(e, "$responseBodyText", { + value: encoded, + }); + } + throw e; + } } - - if (status === 304) { - throw new requestError.RequestError("Not modified", status, { - response: { - url, - status, - headers, - data: await getResponseData(response) - }, - request: requestOptions - }); + return {}; +}); +const parseJsonErrorBody = async (errorBody, context) => { + const value = await parseJsonBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; +}; +const loadRestJsonErrorCode = (output, data) => { + const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); + const sanitizeErrorCode = (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; + }; + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== undefined) { + return sanitizeErrorCode(output.headers[headerKey]); + } + if (data && typeof data === "object") { + const codeKey = findKey(data, "code"); + if (codeKey && data[codeKey] !== undefined) { + return sanitizeErrorCode(data[codeKey]); + } + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } } +}; - if (status >= 400) { - const data = await getResponseData(response); - const error = new requestError.RequestError(toErrorMessage(data), status, { - response: { - url, - status, - headers, - data - }, - request: requestOptions - }); - throw error; +class JsonShapeDeserializer extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + async read(schema, data) { + return this._read(schema, typeof data === "string" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext)); + } + readObject(schema, data) { + return this._read(schema, data); + } + _read(schema$1, value) { + const isObject = value !== null && typeof value === "object"; + const ns = schema.NormalizedSchema.of(schema$1); + if (isObject) { + if (ns.isStructSchema()) { + const record = value; + const union = ns.isUnionSchema(); + const out = {}; + let nameMap = void 0; + const { jsonName } = this.settings; + if (jsonName) { + nameMap = {}; + } + let unionSerde; + if (union) { + unionSerde = new UnionSerde(record, out); + } + for (const [memberName, memberSchema] of ns.structIterator()) { + let fromKey = memberName; + if (jsonName) { + fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey; + nameMap[fromKey] = memberName; + } + if (union) { + unionSerde.mark(fromKey); + } + if (record[fromKey] != null) { + out[memberName] = this._read(memberSchema, record[fromKey]); + } + } + if (union) { + unionSerde.writeUnknown(); + } + else if (typeof record.__type === "string") { + for (const [k, v] of Object.entries(record)) { + const t = jsonName ? nameMap[k] ?? k : k; + if (!(t in out)) { + out[t] = v; + } + } + } + return out; + } + if (Array.isArray(value) && ns.isListSchema()) { + const listMember = ns.getValueSchema(); + const out = []; + for (const item of value) { + out.push(this._read(listMember, item)); + } + return out; + } + if (ns.isMapSchema()) { + const mapMember = ns.getValueSchema(); + const out = {}; + for (const [_k, _v] of Object.entries(value)) { + out[_k] = this._read(mapMember, _v); + } + return out; + } + } + if (ns.isBlobSchema() && typeof value === "string") { + return utilBase64.fromBase64(value); + } + const mediaType = ns.getMergedTraits().mediaType; + if (ns.isStringSchema() && typeof value === "string" && mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + return serde.LazyJsonString.from(value); + } + return value; + } + if (ns.isTimestampSchema() && value != null) { + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return serde.parseRfc3339DateTimeWithOffset(value); + case 6: + return serde.parseRfc7231DateTime(value); + case 7: + return serde.parseEpochTimestamp(value); + default: + console.warn("Missing timestamp format, parsing value with Date constructor:", value); + return new Date(value); + } + } + if (ns.isBigIntegerSchema() && (typeof value === "number" || typeof value === "string")) { + return BigInt(value); + } + if (ns.isBigDecimalSchema() && value != undefined) { + if (value instanceof serde.NumericValue) { + return value; + } + const untyped = value; + if (untyped.type === "bigDecimal" && "string" in untyped) { + return new serde.NumericValue(untyped.string, untyped.type); + } + return new serde.NumericValue(String(value), "bigDecimal"); + } + if (ns.isNumericSchema() && typeof value === "string") { + switch (value) { + case "Infinity": + return Infinity; + case "-Infinity": + return -Infinity; + case "NaN": + return NaN; + } + return value; + } + if (ns.isDocumentSchema()) { + if (isObject) { + const out = Array.isArray(value) ? [] : {}; + for (const [k, v] of Object.entries(value)) { + if (v instanceof serde.NumericValue) { + out[k] = v; + } + else { + out[k] = this._read(ns, v); + } + } + return out; + } + else { + return structuredClone(value); + } + } + return value; } - - return getResponseData(response); - }).then(data => { - return { - status, - url, - headers, - data - }; - }).catch(error => { - if (error instanceof requestError.RequestError) throw error; - throw new requestError.RequestError(error.message, 500, { - request: requestOptions - }); - }); } -async function getResponseData(response) { - const contentType = response.headers.get("content-type"); - - if (/application\/json/.test(contentType)) { - return response.json(); - } +const NUMERIC_CONTROL_CHAR = String.fromCharCode(925); +class JsonReplacer { + values = new Map(); + counter = 0; + stage = 0; + createReplacer() { + if (this.stage === 1) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer already created."); + } + if (this.stage === 2) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted."); + } + this.stage = 1; + return (key, value) => { + if (value instanceof serde.NumericValue) { + const v = `${NUMERIC_CONTROL_CHAR + "nv" + this.counter++}_` + value.string; + this.values.set(`"${v}"`, value.string); + return v; + } + if (typeof value === "bigint") { + const s = value.toString(); + const v = `${NUMERIC_CONTROL_CHAR + "b" + this.counter++}_` + s; + this.values.set(`"${v}"`, s); + return v; + } + return value; + }; + } + replaceInJson(json) { + if (this.stage === 0) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet."); + } + if (this.stage === 2) { + throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted."); + } + this.stage = 2; + if (this.counter === 0) { + return json; + } + for (const [key, value] of this.values) { + json = json.replace(key, value); + } + return json; + } +} - if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { - return response.text(); - } +class JsonShapeSerializer extends SerdeContextConfig { + settings; + buffer; + useReplacer = false; + rootSchema; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema$1, value) { + this.rootSchema = schema.NormalizedSchema.of(schema$1); + this.buffer = this._write(this.rootSchema, value); + } + writeDiscriminatedDocument(schema$1, value) { + this.write(schema$1, value); + if (typeof this.buffer === "object") { + this.buffer.__type = schema.NormalizedSchema.of(schema$1).getName(true); + } + } + flush() { + const { rootSchema, useReplacer } = this; + this.rootSchema = undefined; + this.useReplacer = false; + if (rootSchema?.isStructSchema() || rootSchema?.isDocumentSchema()) { + if (!useReplacer) { + return JSON.stringify(this.buffer); + } + const replacer = new JsonReplacer(); + return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0)); + } + return this.buffer; + } + _write(schema$1, value, container) { + const isObject = value !== null && typeof value === "object"; + const ns = schema.NormalizedSchema.of(schema$1); + if (isObject) { + if (ns.isStructSchema()) { + const record = value; + const out = {}; + const { jsonName } = this.settings; + let nameMap = void 0; + if (jsonName) { + nameMap = {}; + } + for (const [memberName, memberSchema] of ns.structIterator()) { + const serializableValue = this._write(memberSchema, record[memberName], ns); + if (serializableValue !== undefined) { + let targetKey = memberName; + if (jsonName) { + targetKey = memberSchema.getMergedTraits().jsonName ?? memberName; + nameMap[memberName] = targetKey; + } + out[targetKey] = serializableValue; + } + } + if (ns.isUnionSchema() && Object.keys(out).length === 0) { + const { $unknown } = record; + if (Array.isArray($unknown)) { + const [k, v] = $unknown; + out[k] = this._write(15, v); + } + } + else if (typeof record.__type === "string") { + for (const [k, v] of Object.entries(record)) { + const targetKey = jsonName ? nameMap[k] ?? k : k; + if (!(targetKey in out)) { + out[targetKey] = this._write(15, v); + } + } + } + return out; + } + if (Array.isArray(value) && ns.isListSchema()) { + const listMember = ns.getValueSchema(); + const out = []; + const sparse = !!ns.getMergedTraits().sparse; + for (const item of value) { + if (sparse || item != null) { + out.push(this._write(listMember, item)); + } + } + return out; + } + if (ns.isMapSchema()) { + const mapMember = ns.getValueSchema(); + const out = {}; + const sparse = !!ns.getMergedTraits().sparse; + for (const [_k, _v] of Object.entries(value)) { + if (sparse || _v != null) { + out[_k] = this._write(mapMember, _v); + } + } + return out; + } + if (value instanceof Uint8Array && (ns.isBlobSchema() || ns.isDocumentSchema())) { + if (ns === this.rootSchema) { + return value; + } + return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value); + } + if (value instanceof Date && (ns.isTimestampSchema() || ns.isDocumentSchema())) { + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return value.toISOString().replace(".000Z", "Z"); + case 6: + return serde.dateToUtcString(value); + case 7: + return value.getTime() / 1000; + default: + console.warn("Missing timestamp format, using epoch seconds", value); + return value.getTime() / 1000; + } + } + if (value instanceof serde.NumericValue) { + this.useReplacer = true; + } + } + if (value === null && container?.isStructSchema()) { + return void 0; + } + if (ns.isStringSchema()) { + if (typeof value === "undefined" && ns.isIdempotencyToken()) { + return serde.generateIdempotencyToken(); + } + const mediaType = ns.getMergedTraits().mediaType; + if (value != null && mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + return serde.LazyJsonString.from(value); + } + } + return value; + } + if (typeof value === "number" && ns.isNumericSchema()) { + if (Math.abs(value) === Infinity || isNaN(value)) { + return String(value); + } + return value; + } + if (typeof value === "string" && ns.isBlobSchema()) { + if (ns === this.rootSchema) { + return value; + } + return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value); + } + if (typeof value === "bigint") { + this.useReplacer = true; + } + if (ns.isDocumentSchema()) { + if (isObject) { + const out = Array.isArray(value) ? [] : {}; + for (const [k, v] of Object.entries(value)) { + if (v instanceof serde.NumericValue) { + this.useReplacer = true; + out[k] = v; + } + else { + out[k] = this._write(ns, v); + } + } + return out; + } + else { + return structuredClone(value); + } + } + return value; + } +} - return getBufferResponse(response); +class JsonCodec extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + createSerializer() { + const serializer = new JsonShapeSerializer(this.settings); + serializer.setSerdeContext(this.serdeContext); + return serializer; + } + createDeserializer() { + const deserializer = new JsonShapeDeserializer(this.settings); + deserializer.setSerdeContext(this.serdeContext); + return deserializer; + } +} + +class AwsJsonRpcProtocol extends protocols.RpcProtocol { + serializer; + deserializer; + serviceTarget; + codec; + mixin; + awsQueryCompatible; + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + }); + this.serviceTarget = serviceTarget; + this.codec = + jsonCodec ?? + new JsonCodec({ + timestampFormat: { + useTrait: true, + default: 7, + }, + jsonName: false, + }); + this.serializer = this.codec.createSerializer(); + this.deserializer = this.codec.createDeserializer(); + this.awsQueryCompatible = !!awsQueryCompatible; + this.mixin = new ProtocolLib(this.awsQueryCompatible); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (!request.path.endsWith("/")) { + request.path += "/"; + } + Object.assign(request.headers, { + "content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`, + "x-amz-target": `${this.serviceTarget}.${operationSchema.name}`, + }); + if (this.awsQueryCompatible) { + request.headers["x-amzn-query-mode"] = "true"; + } + if (schema.deref(operationSchema.input) === "unit" || !request.body) { + request.body = "{}"; + } + return request; + } + getPayloadCodec() { + return this.codec; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + if (this.awsQueryCompatible) { + this.mixin.setQueryCompatError(dataObject, response); + } + const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = {}; + for (const [name, member] of ns.structIterator()) { + if (dataObject[name] != null) { + output[name] = this.codec.createDeserializer().readObject(member, dataObject[name]); + } + } + if (this.awsQueryCompatible) { + this.mixin.queryCompatOutput(dataObject, output); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } } -function toErrorMessage(data) { - if (typeof data === "string") return data; // istanbul ignore else - just in case - - if ("message" in data) { - if (Array.isArray(data.errors)) { - return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}`; +class AwsJson1_0Protocol extends AwsJsonRpcProtocol { + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + serviceTarget, + awsQueryCompatible, + jsonCodec, + }); + } + getShapeId() { + return "aws.protocols#awsJson1_0"; + } + getJsonRpcVersion() { + return "1.0"; + } + getDefaultContentType() { + return "application/x-amz-json-1.0"; } - - return data.message; - } // istanbul ignore next - just in case - - - return `Unknown error: ${JSON.stringify(data)}`; } -function withDefaults(oldEndpoint, newDefaults) { - const endpoint = oldEndpoint.defaults(newDefaults); - - const newApi = function (route, parameters) { - const endpointOptions = endpoint.merge(route, parameters); - - if (!endpointOptions.request || !endpointOptions.request.hook) { - return fetchWrapper(endpoint.parse(endpointOptions)); +class AwsJson1_1Protocol extends AwsJsonRpcProtocol { + constructor({ defaultNamespace, errorTypeRegistries, serviceTarget, awsQueryCompatible, jsonCodec, }) { + super({ + defaultNamespace, + errorTypeRegistries, + serviceTarget, + awsQueryCompatible, + jsonCodec, + }); + } + getShapeId() { + return "aws.protocols#awsJson1_1"; + } + getJsonRpcVersion() { + return "1.1"; + } + getDefaultContentType() { + return "application/x-amz-json-1.1"; } - - const request = (route, parameters) => { - return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); - }; - - Object.assign(request, { - endpoint, - defaults: withDefaults.bind(null, endpoint) - }); - return endpointOptions.request.hook(request, endpointOptions); - }; - - return Object.assign(newApi, { - endpoint, - defaults: withDefaults.bind(null, endpoint) - }); } -const request = withDefaults(endpoint.endpoint, { - headers: { - "user-agent": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}` - } -}); - -exports.request = request; -//# sourceMappingURL=index.js.map - - -/***/ }), - -/***/ 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(); +class AwsRestJsonProtocol extends protocols.HttpBindingProtocol { + serializer; + deserializer; + codec; + mixin = new ProtocolLib(); + constructor({ defaultNamespace, errorTypeRegistries, }) { + super({ + defaultNamespace, + errorTypeRegistries, + }); + const settings = { + timestampFormat: { + useTrait: true, + default: 7, + }, + httpBindings: true, + jsonName: true, + }; + this.codec = new JsonCodec(settings); + this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings); + this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings); + } + getShapeId() { + return "aws.protocols#restJson1"; + } + getPayloadCodec() { + return this.codec; + } + setSerdeContext(serdeContext) { + this.codec.setSerdeContext(serdeContext); + super.setSerdeContext(serdeContext); + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + const inputSchema = schema.NormalizedSchema.of(operationSchema.input); + if (!request.headers["content-type"]) { + const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema); + if (contentType) { + request.headers["content-type"] = contentType; + } + } + if (request.body == null && request.headers["content-type"] === this.getDefaultContentType()) { + request.body = "{}"; + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + const output = await super.deserializeResponse(operationSchema, context, response); + const outputSchema = schema.NormalizedSchema.of(operationSchema.output); + for (const [name, member] of outputSchema.structIterator()) { + if (member.getMemberTraits().httpPayload && !(name in output)) { + output[name] = null; + } + } + return output; + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + await this.deserializeHttpMessage(errorSchema, context, response, dataObject); + const output = {}; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().jsonName ?? name; + output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); } - }; -}, "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 + getDefaultContentType() { + return "application/json"; } - }; -}, "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; +const awsExpectUnion = (value) => { + if (value == null) { + return undefined; + } + if (typeof value === "object" && "__type" in value) { + delete value.__type; + } + return smithyClient.expectUnion(value); }; -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; +class XmlShapeDeserializer extends SerdeContextConfig { + settings; + stringDeserializer; + constructor(settings) { + super(); + this.settings = settings; + this.stringDeserializer = new protocols.FromStringShapeDeserializer(settings); + } + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + this.stringDeserializer.setSerdeContext(serdeContext); + } + read(schema$1, bytes, key) { + const ns = schema.NormalizedSchema.of(schema$1); + const memberSchemas = ns.getMemberSchemas(); + const isEventPayload = ns.isStructSchema() && + ns.isMemberSchema() && + !!Object.values(memberSchemas).find((memberNs) => { + return !!memberNs.getMemberTraits().eventPayload; + }); + if (isEventPayload) { + const output = {}; + const memberName = Object.keys(memberSchemas)[0]; + const eventMemberSchema = memberSchemas[memberName]; + if (eventMemberSchema.isBlobSchema()) { + output[memberName] = bytes; + } + else { + output[memberName] = this.read(memberSchemas[memberName], bytes); + } + return output; + } + const xmlString = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(bytes); + const parsedObject = this.parseXml(xmlString); + return this.readSchema(schema$1, key ? parsedObject[key] : parsedObject); } - const identityProvider = scheme.identityProvider(await mwOptions.identityProviderConfigProvider(config)); - if (!identityProvider) { - failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` did not have an IdentityProvider configured.`); - continue; + readSchema(_schema, value) { + const ns = schema.NormalizedSchema.of(_schema); + if (ns.isUnitSchema()) { + return; + } + const traits = ns.getMergedTraits(); + if (ns.isListSchema() && !Array.isArray(value)) { + return this.readSchema(ns, [value]); + } + if (value == null) { + return value; + } + if (typeof value === "object") { + const flat = !!traits.xmlFlattened; + if (ns.isListSchema()) { + const listValue = ns.getValueSchema(); + const buffer = []; + const sourceKey = listValue.getMergedTraits().xmlName ?? "member"; + const source = flat ? value : (value[0] ?? value)[sourceKey]; + if (source == null) { + return buffer; + } + const sourceArray = Array.isArray(source) ? source : [source]; + for (const v of sourceArray) { + buffer.push(this.readSchema(listValue, v)); + } + return buffer; + } + const buffer = {}; + if (ns.isMapSchema()) { + const keyNs = ns.getKeySchema(); + const memberNs = ns.getValueSchema(); + let entries; + if (flat) { + entries = Array.isArray(value) ? value : [value]; + } + else { + entries = Array.isArray(value.entry) ? value.entry : [value.entry]; + } + const keyProperty = keyNs.getMergedTraits().xmlName ?? "key"; + const valueProperty = memberNs.getMergedTraits().xmlName ?? "value"; + for (const entry of entries) { + const key = entry[keyProperty]; + const value = entry[valueProperty]; + buffer[key] = this.readSchema(memberNs, value); + } + return buffer; + } + if (ns.isStructSchema()) { + const union = ns.isUnionSchema(); + let unionSerde; + if (union) { + unionSerde = new UnionSerde(value, buffer); + } + for (const [memberName, memberSchema] of ns.structIterator()) { + const memberTraits = memberSchema.getMergedTraits(); + const xmlObjectKey = !memberTraits.httpPayload + ? memberSchema.getMemberTraits().xmlName ?? memberName + : memberTraits.xmlName ?? memberSchema.getName(); + if (union) { + unionSerde.mark(xmlObjectKey); + } + if (value[xmlObjectKey] != null) { + buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]); + } + } + if (union) { + unionSerde.writeUnknown(); + } + return buffer; + } + if (ns.isDocumentSchema()) { + return value; + } + throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`); + } + if (ns.isListSchema()) { + return []; + } + if (ns.isMapSchema() || ns.isStructSchema()) { + return {}; + } + return this.stringDeserializer.read(ns, value); } - 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); - } + parseXml(xml) { + if (xml.length) { + let parsedObj; + try { + parsedObj = xmlBuilder.parseXML(xml); + } + catch (e) { + if (e && typeof e === "object") { + Object.defineProperty(e, "$responseBodyText", { + value: xml, + }); + } + 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 smithyClient.getValueFromTextNode(parsedObjToReturn); + } + return {}; } - } - 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" - ); +class QueryShapeSerializer extends SerdeContextConfig { + settings; + buffer; + constructor(settings) { + super(); + this.settings = settings; } - if (!signingProperties.name) { - throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing"); + write(schema$1, value, prefix = "") { + if (this.buffer === undefined) { + this.buffer = ""; + } + const ns = schema.NormalizedSchema.of(schema$1); + if (prefix && !prefix.endsWith(".")) { + prefix += "."; + } + if (ns.isBlobSchema()) { + if (typeof value === "string" || value instanceof Uint8Array) { + this.writeKey(prefix); + this.writeValue((this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value)); + } + } + else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(String(value)); + } + else if (ns.isIdempotencyToken()) { + this.writeKey(prefix); + this.writeValue(serde.generateIdempotencyToken()); + } + } + else if (ns.isBigIntegerSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(String(value)); + } + } + else if (ns.isBigDecimalSchema()) { + if (value != null) { + this.writeKey(prefix); + this.writeValue(value instanceof serde.NumericValue ? value.string : String(value)); + } + } + else if (ns.isTimestampSchema()) { + if (value instanceof Date) { + this.writeKey(prefix); + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + this.writeValue(value.toISOString().replace(".000Z", "Z")); + break; + case 6: + this.writeValue(smithyClient.dateToUtcString(value)); + break; + case 7: + this.writeValue(String(value.getTime() / 1000)); + break; + } + } + } + else if (ns.isDocumentSchema()) { + if (Array.isArray(value)) { + this.write(64 | 15, value, prefix); + } + else if (value instanceof Date) { + this.write(4, value, prefix); + } + else if (value instanceof Uint8Array) { + this.write(21, value, prefix); + } + else if (value && typeof value === "object") { + this.write(128 | 15, value, prefix); + } + else { + this.writeKey(prefix); + this.writeValue(String(value)); + } + } + else if (ns.isListSchema()) { + if (Array.isArray(value)) { + if (value.length === 0) { + if (this.settings.serializeEmptyLists) { + this.writeKey(prefix); + this.writeValue(""); + } + } + else { + const member = ns.getValueSchema(); + const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened; + let i = 1; + for (const item of value) { + if (item == null) { + continue; + } + const traits = member.getMergedTraits(); + const suffix = this.getKey("member", traits.xmlName, traits.ec2QueryName); + const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`; + this.write(member, item, key); + ++i; + } + } + } + } + else if (ns.isMapSchema()) { + if (value && typeof value === "object") { + const keySchema = ns.getKeySchema(); + const memberSchema = ns.getValueSchema(); + const flat = ns.getMergedTraits().xmlFlattened; + let i = 1; + for (const [k, v] of Object.entries(value)) { + if (v == null) { + continue; + } + const keyTraits = keySchema.getMergedTraits(); + const keySuffix = this.getKey("key", keyTraits.xmlName, keyTraits.ec2QueryName); + const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`; + const valTraits = memberSchema.getMergedTraits(); + const valueSuffix = this.getKey("value", valTraits.xmlName, valTraits.ec2QueryName); + const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`; + this.write(keySchema, k, key); + this.write(memberSchema, v, valueKey); + ++i; + } + } + } + else if (ns.isStructSchema()) { + if (value && typeof value === "object") { + let didWriteMember = false; + for (const [memberName, member] of ns.structIterator()) { + if (value[memberName] == null && !member.isIdempotencyToken()) { + continue; + } + const traits = member.getMergedTraits(); + const suffix = this.getKey(memberName, traits.xmlName, traits.ec2QueryName, "struct"); + const key = `${prefix}${suffix}`; + this.write(member, value[memberName], key); + didWriteMember = true; + } + if (!didWriteMember && ns.isUnionSchema()) { + const { $unknown } = value; + if (Array.isArray($unknown)) { + const [k, v] = $unknown; + const key = `${prefix}${k}`; + this.write(15, v, key); + } + } + } + } + else if (ns.isUnitSchema()) ; + else { + throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`); + } } - if (!signingProperties.in) { - throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing"); + flush() { + if (this.buffer === undefined) { + throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer."); + } + const str = this.buffer; + delete this.buffer; + return str; + } + getKey(memberName, xmlName, ec2QueryName, keySource) { + const { ec2, capitalizeKeys } = this.settings; + if (ec2 && ec2QueryName) { + return ec2QueryName; + } + const key = xmlName ?? memberName; + if (capitalizeKeys && keySource === "struct") { + return key[0].toUpperCase() + key.slice(1); + } + return key; } - if (!identity.apiKey) { - throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined"); + writeKey(key) { + if (key.endsWith(".")) { + key = key.slice(0, key.length - 1); + } + this.buffer += `&${protocols.extendedEncodeURIComponent(key)}=`; } - 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 + "`" - ); + writeValue(value) { + this.buffer += protocols.extendedEncodeURIComponent(value); } - 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"); +class AwsQueryProtocol extends protocols.RpcProtocol { + options; + serializer; + deserializer; + mixin = new ProtocolLib(); + constructor(options) { + super({ + defaultNamespace: options.defaultNamespace, + errorTypeRegistries: options.errorTypeRegistries, + }); + this.options = options; + const settings = { + timestampFormat: { + useTrait: true, + default: 5, + }, + httpBindings: false, + xmlNamespace: options.xmlNamespace, + serviceNamespace: options.defaultNamespace, + serializeEmptyLists: true, + }; + this.serializer = new QueryShapeSerializer(settings); + this.deserializer = new XmlShapeDeserializer(settings); } - 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); + getShapeId() { + return "aws.protocols#awsQuery"; } - try { - resolved = await pending; - hasResult = true; - isConstant = false; - } finally { - pending = void 0; + setSerdeContext(serdeContext) { + this.serializer.setSerdeContext(serdeContext); + this.deserializer.setSerdeContext(serdeContext); } - 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); + getPayloadCodec() { + throw new Error("AWSQuery protocol has no payload codec."); } - if (isConstant) { - return resolved; + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + if (!request.path.endsWith("/")) { + request.path += "/"; + } + Object.assign(request.headers, { + "content-type": `application/x-www-form-urlencoded`, + }); + if (schema.deref(operationSchema.input) === "unit" || !request.body) { + request.body = ""; + } + const action = operationSchema.name.split("#")[1] ?? operationSchema.name; + request.body = `Action=${action}&Version=${this.options.version}` + request.body; + if (request.body.endsWith("&")) { + request.body = request.body.slice(-1); + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + const deserializer = this.deserializer; + const ns = schema.NormalizedSchema.of(operationSchema.output); + const dataObject = {}; + if (response.statusCode >= 300) { + const bytes = await protocols.collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(15, bytes)); + } + await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response)); + } + for (const header in response.headers) { + const value = response.headers[header]; + delete response.headers[header]; + response.headers[header.toLowerCase()] = value; + } + const shortName = operationSchema.name.split("#")[1] ?? operationSchema.name; + const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? shortName + "Result" : undefined; + const bytes = await protocols.collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey)); + } + const output = { + $metadata: this.deserializeMetadata(response), + ...dataObject, + }; + return output; } - if (!requiresRefresh(resolved)) { - isConstant = true; - return resolved; + useNestedResult() { + return true; } - if (isExpired(resolved)) { - await coalesceProvider(options); - return resolved; + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + const errorData = this.loadQueryError(dataObject) ?? {}; + const message = this.loadQueryErrorMessage(dataObject); + errorData.message = message; + errorData.Error = { + Type: errorData.Type, + Code: errorData.Code, + Message: message, + }; + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError); + const ns = schema.NormalizedSchema.of(errorSchema); + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + const output = { + Type: errorData.Error.Type, + Code: errorData.Error.Code, + Error: errorData.Error, + }; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().xmlName ?? name; + const value = errorData[target] ?? dataObject[target]; + output[name] = this.deserializer.readSchema(member, value); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } + loadQueryErrorCode(output, data) { + const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code; + if (code !== undefined) { + return code; + } + if (output.statusCode == 404) { + return "NotFound"; + } } - 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; + loadQueryError(data) { + return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error; } - cursor = cursor[step]; - } - return cursor; -}, "get"); -// Annotate the CommonJS export names for ESM import in node: - -0 && (0); - - - -/***/ }), + loadQueryErrorMessage(data) { + const errorData = this.loadQueryError(data); + return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown"; + } + getDefaultContentType() { + return "application/x-www-form-urlencoded"; + } +} -/***/ 7477: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +class AwsEc2QueryProtocol extends AwsQueryProtocol { + options; + constructor(options) { + super(options); + this.options = options; + const ec2Settings = { + capitalizeKeys: true, + flattenLists: true, + serializeEmptyLists: false, + ec2: true, + }; + Object.assign(this.serializer.settings, ec2Settings); + } + getShapeId() { + return "aws.protocols#ec2Query"; + } + useNestedResult() { + return false; + } +} -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 }); +const parseXmlBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + let parsedObj; + try { + parsedObj = xmlBuilder.parseXML(encoded); + } + 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 smithyClient.getValueFromTextNode(parsedObjToReturn); + } + return {}; +}); +const parseXmlErrorBody = async (errorBody, context) => { + const value = await parseXmlBody(errorBody, context); + if (value.Error) { + value.Error.message = value.Error.message ?? value.Error.Message; + } + return value; }; -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; +const loadRestXmlErrorCode = (output, data) => { + if (data?.Error?.Code !== undefined) { + return data.Error.Code; + } + if (data?.Code !== undefined) { + return data.Code; + } + if (output.statusCode == 404) { + return "NotFound"; + } }; -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 - ); +class XmlShapeSerializer extends SerdeContextConfig { + settings; + stringBuffer; + byteBuffer; + buffer; + constructor(settings) { + super(); + this.settings = settings; } - 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 - ); + write(schema$1, value) { + const ns = schema.NormalizedSchema.of(schema$1); + if (ns.isStringSchema() && typeof value === "string") { + this.stringBuffer = value; + } + else if (ns.isBlobSchema()) { + this.byteBuffer = + "byteLength" in value + ? value + : (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(value); + } + else { + this.buffer = this.writeStruct(ns, value, undefined); + const traits = ns.getMergedTraits(); + if (traits.httpPayload && !traits.xmlName) { + this.buffer.withName(ns.getName()); + } + } } - 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; - } + flush() { + if (this.byteBuffer !== undefined) { + const bytes = this.byteBuffer; + delete this.byteBuffer; + return bytes; + } + if (this.stringBuffer !== undefined) { + const str = this.stringBuffer; + delete this.stringBuffer; + return str; + } + const buffer = this.buffer; + if (this.settings.xmlNamespace) { + if (!buffer?.attributes?.["xmlns"]) { + buffer.addAttribute("xmlns", this.settings.xmlNamespace); + } + } + delete this.buffer; + return buffer.toString(); + } + writeStruct(ns, value, parentXmlns) { + const traits = ns.getMergedTraits(); + const name = ns.isMemberSchema() && !traits.httpPayload + ? ns.getMemberTraits().xmlName ?? ns.getMemberName() + : traits.xmlName ?? ns.getName(); + if (!name || !ns.isStructSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(true)}.`); + } + const structXmlNode = xmlBuilder.XmlNode.of(name); + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns); + for (const [memberName, memberSchema] of ns.structIterator()) { + const val = value[memberName]; + if (val != null || memberSchema.isIdempotencyToken()) { + if (memberSchema.getMergedTraits().xmlAttribute) { + structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val)); + continue; + } + if (memberSchema.isListSchema()) { + this.writeList(memberSchema, val, structXmlNode, xmlns); + } + else if (memberSchema.isMapSchema()) { + this.writeMap(memberSchema, val, structXmlNode, xmlns); + } + else if (memberSchema.isStructSchema()) { + structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns)); + } + else { + const memberNode = xmlBuilder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName()); + this.writeSimpleInto(memberSchema, val, memberNode, xmlns); + structXmlNode.addChildNode(memberNode); + } + } + } + const { $unknown } = value; + if ($unknown && ns.isUnionSchema() && Array.isArray($unknown) && Object.keys(value).length === 1) { + const [k, v] = $unknown; + const node = xmlBuilder.XmlNode.of(k); + if (typeof v !== "string") { + if (value instanceof xmlBuilder.XmlNode || value instanceof xmlBuilder.XmlText) { + structXmlNode.addChildNode(value); + } + else { + throw new Error(`@aws-sdk - $unknown union member in XML requires ` + + `value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`); + } + } + this.writeSimpleInto(0, v, node, xmlns); + structXmlNode.addChildNode(node); + } + if (xmlns) { + structXmlNode.addAttribute(xmlnsAttr, xmlns); + } + return structXmlNode; } - 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( - ", " - )}].` - ); - } + writeList(listMember, array, container, parentXmlns) { + if (!listMember.isMemberSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`); + } + const listTraits = listMember.getMergedTraits(); + const listValueSchema = listMember.getValueSchema(); + const listValueTraits = listValueSchema.getMergedTraits(); + const sparse = !!listValueTraits.sparse; + const flat = !!listTraits.xmlFlattened; + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns); + const writeItem = (container, value) => { + if (listValueSchema.isListSchema()) { + this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container, xmlns); + } + else if (listValueSchema.isMapSchema()) { + this.writeMap(listValueSchema, value, container, xmlns); + } + else if (listValueSchema.isStructSchema()) { + const struct = this.writeStruct(listValueSchema, value, xmlns); + container.addChildNode(struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member")); + } + else { + const listItemNode = xmlBuilder.XmlNode.of(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member"); + this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns); + container.addChildNode(listItemNode); + } + }; + if (flat) { + for (const value of array) { + if (sparse || value != null) { + writeItem(container, value); + } + } + } + else { + const listNode = xmlBuilder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName()); + if (xmlns) { + listNode.addAttribute(xmlnsAttr, xmlns); + } + for (const value of array) { + if (sparse || value != null) { + writeItem(listNode, value); + } + } + container.addChildNode(listNode); + } } - const imdsProfile = (await retry(async () => { - let profile2; - try { - profile2 = await getProfile(options); - } catch (err) { - if (err.statusCode === 401) { - disableFetchToken = false; + writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) { + if (!mapMember.isMemberSchema()) { + throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`); + } + const mapTraits = mapMember.getMergedTraits(); + const mapKeySchema = mapMember.getKeySchema(); + const mapKeyTraits = mapKeySchema.getMergedTraits(); + const keyTag = mapKeyTraits.xmlName ?? "key"; + const mapValueSchema = mapMember.getValueSchema(); + const mapValueTraits = mapValueSchema.getMergedTraits(); + const valueTag = mapValueTraits.xmlName ?? "value"; + const sparse = !!mapValueTraits.sparse; + const flat = !!mapTraits.xmlFlattened; + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns); + const addKeyValue = (entry, key, val) => { + const keyNode = xmlBuilder.XmlNode.of(keyTag, key); + const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns); + if (keyXmlns) { + keyNode.addAttribute(keyXmlnsAttr, keyXmlns); + } + entry.addChildNode(keyNode); + let valueNode = xmlBuilder.XmlNode.of(valueTag); + if (mapValueSchema.isListSchema()) { + this.writeList(mapValueSchema, val, valueNode, xmlns); + } + else if (mapValueSchema.isMapSchema()) { + this.writeMap(mapValueSchema, val, valueNode, xmlns, true); + } + else if (mapValueSchema.isStructSchema()) { + valueNode = this.writeStruct(mapValueSchema, val, xmlns); + } + else { + this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns); + } + entry.addChildNode(valueNode); + }; + if (flat) { + for (const [key, val] of Object.entries(map)) { + if (sparse || val != null) { + const entry = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName()); + addKeyValue(entry, key, val); + container.addChildNode(entry); + } + } + } + else { + let mapNode; + if (!containerIsMap) { + mapNode = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName()); + if (xmlns) { + mapNode.addAttribute(xmlnsAttr, xmlns); + } + container.addChildNode(mapNode); + } + for (const [key, val] of Object.entries(map)) { + if (sparse || val != null) { + const entry = xmlBuilder.XmlNode.of("entry"); + addKeyValue(entry, key, val); + (containerIsMap ? container : mapNode).addChildNode(entry); + } + } + } + } + writeSimple(_schema, value) { + if (null === value) { + throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value."); + } + const ns = schema.NormalizedSchema.of(_schema); + let nodeContents = null; + if (value && typeof value === "object") { + if (ns.isBlobSchema()) { + nodeContents = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value); + } + else if (ns.isTimestampSchema() && value instanceof Date) { + const format = protocols.determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + nodeContents = value.toISOString().replace(".000Z", "Z"); + break; + case 6: + nodeContents = smithyClient.dateToUtcString(value); + break; + case 7: + nodeContents = String(value.getTime() / 1000); + break; + default: + console.warn("Missing timestamp format, using http date", value); + nodeContents = smithyClient.dateToUtcString(value); + break; + } + } + else if (ns.isBigDecimalSchema() && value) { + if (value instanceof serde.NumericValue) { + return value.string; + } + return String(value); + } + else if (ns.isMapSchema() || ns.isListSchema()) { + throw new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead."); + } + else { + throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`); + } + } + if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) { + nodeContents = String(value); + } + if (ns.isStringSchema()) { + if (value === undefined && ns.isIdempotencyToken()) { + nodeContents = serde.generateIdempotencyToken(); + } + else { + nodeContents = String(value); + } + } + if (nodeContents === null) { + throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`); + } + return nodeContents; + } + writeSimpleInto(_schema, value, into, parentXmlns) { + const nodeContents = this.writeSimple(_schema, value); + const ns = schema.NormalizedSchema.of(_schema); + const content = new xmlBuilder.XmlText(nodeContents); + const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns); + if (xmlns) { + into.addAttribute(xmlnsAttr, xmlns); + } + into.addChildNode(content); + } + getXmlnsAttribute(ns, parentXmlns) { + const traits = ns.getMergedTraits(); + const [prefix, xmlns] = traits.xmlNamespace ?? []; + if (xmlns && xmlns !== parentXmlns) { + return [prefix ? `xmlns:${prefix}` : "xmlns", xmlns]; + } + return [void 0, void 0]; + } +} + +class XmlCodec extends SerdeContextConfig { + settings; + constructor(settings) { + super(); + this.settings = settings; + } + createSerializer() { + const serializer = new XmlShapeSerializer(this.settings); + serializer.setSerdeContext(this.serdeContext); + return serializer; + } + createDeserializer() { + const deserializer = new XmlShapeDeserializer(this.settings); + deserializer.setSerdeContext(this.serdeContext); + return deserializer; + } +} + +class AwsRestXmlProtocol extends protocols.HttpBindingProtocol { + codec; + serializer; + deserializer; + mixin = new ProtocolLib(); + constructor(options) { + super(options); + const settings = { + timestampFormat: { + useTrait: true, + default: 5, + }, + httpBindings: true, + xmlNamespace: options.xmlNamespace, + serviceNamespace: options.defaultNamespace, + }; + this.codec = new XmlCodec(settings); + this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings); + this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings); + this.compositeErrorRegistry; + } + getPayloadCodec() { + return this.codec; + } + getShapeId() { + return "aws.protocols#restXml"; + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + const inputSchema = schema.NormalizedSchema.of(operationSchema.input); + if (!request.headers["content-type"]) { + const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema); + if (contentType) { + request.headers["content-type"] = contentType; + } + } + if (typeof request.body === "string" && + request.headers["content-type"] === this.getDefaultContentType() && + !request.body.startsWith("' + request.body; } - 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; + return request; + } + async deserializeResponse(operationSchema, context, response) { + return super.deserializeResponse(operationSchema, context, response); + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown"; + this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace); + if (dataObject.Error && typeof dataObject.Error === "object") { + for (const key of Object.keys(dataObject.Error)) { + dataObject[key] = dataObject.Error[key]; + if (key.toLowerCase() === "message") { + dataObject.message = dataObject.Error[key]; + } + } } - 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 - }); + if (dataObject.RequestId && !metadata.requestId) { + metadata.requestId = dataObject.RequestId; + } + const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata); + const ns = schema.NormalizedSchema.of(errorSchema); + const message = dataObject.Error?.message ?? + dataObject.Error?.Message ?? + dataObject.message ?? + dataObject.Message ?? + "UnknownError"; + const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error; + const exception = new ErrorCtor(message); + await this.deserializeHttpMessage(errorSchema, context, response, dataObject); + const output = {}; + for (const [name, member] of ns.structIterator()) { + const target = member.getMergedTraits().xmlName ?? name; + const value = dataObject.Error?.[target] ?? dataObject[target]; + output[name] = this.codec.createDeserializer().readSchema(member, value); + } + throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output), dataObject); + } + getDefaultContentType() { + return "application/xml"; + } + hasUnstructuredPayloadBinding(ns) { + for (const [, member] of ns.structIterator()) { + if (member.getMergedTraits().httpPayload) { + return !(member.isStructSchema() || member.isMapSchema() || member.isListSchema()); + } + } + return false; } - }; -}, "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); +} +exports.AwsEc2QueryProtocol = AwsEc2QueryProtocol; +exports.AwsJson1_0Protocol = AwsJson1_0Protocol; +exports.AwsJson1_1Protocol = AwsJson1_1Protocol; +exports.AwsJsonRpcProtocol = AwsJsonRpcProtocol; +exports.AwsQueryProtocol = AwsQueryProtocol; +exports.AwsRestJsonProtocol = AwsRestJsonProtocol; +exports.AwsRestXmlProtocol = AwsRestXmlProtocol; +exports.AwsSmithyRpcV2CborProtocol = AwsSmithyRpcV2CborProtocol; +exports.JsonCodec = JsonCodec; +exports.JsonShapeDeserializer = JsonShapeDeserializer; +exports.JsonShapeSerializer = JsonShapeSerializer; +exports.QueryShapeSerializer = QueryShapeSerializer; +exports.XmlCodec = XmlCodec; +exports.XmlShapeDeserializer = XmlShapeDeserializer; +exports.XmlShapeSerializer = XmlShapeSerializer; +exports._toBool = _toBool; +exports._toNum = _toNum; +exports._toStr = _toStr; +exports.awsExpectUnion = awsExpectUnion; +exports.loadRestJsonErrorCode = loadRestJsonErrorCode; +exports.loadRestXmlErrorCode = loadRestXmlErrorCode; +exports.parseJsonBody = parseJsonBody; +exports.parseJsonErrorBody = parseJsonErrorBody; +exports.parseXmlBody = parseXmlBody; +exports.parseXmlErrorBody = parseXmlErrorBody; /***/ }), -/***/ 3081: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ 5972: +/***/ ((__unused_webpack_module, 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); +"use strict"; -// 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); +var client = __nccwpck_require__(2825); +var propertyProvider = __nccwpck_require__(9721); + +const ENV_KEY = "AWS_ACCESS_KEY_ID"; +const ENV_SECRET = "AWS_SECRET_ACCESS_KEY"; +const ENV_SESSION = "AWS_SESSION_TOKEN"; +const ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION"; +const ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE"; +const ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID"; +const fromEnv = (init) => async () => { + init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv"); + const accessKeyId = process.env[ENV_KEY]; + const secretAccessKey = process.env[ENV_SECRET]; + const sessionToken = process.env[ENV_SESSION]; + const expiry = process.env[ENV_EXPIRATION]; + const credentialScope = process.env[ENV_CREDENTIAL_SCOPE]; + const accountId = process.env[ENV_ACCOUNT_ID]; + if (accessKeyId && secretAccessKey) { + const credentials = { + accessKeyId, + secretAccessKey, + ...(sessionToken && { sessionToken }), + ...(expiry && { expiration: new Date(expiry) }), + ...(credentialScope && { credentialScope }), + ...(accountId && { accountId }), + }; + client.setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS", "g"); + return credentials; + } + throw new propertyProvider.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger }); +}; +exports.ENV_ACCOUNT_ID = ENV_ACCOUNT_ID; +exports.ENV_CREDENTIAL_SCOPE = ENV_CREDENTIAL_SCOPE; +exports.ENV_EXPIRATION = ENV_EXPIRATION; +exports.ENV_KEY = ENV_KEY; +exports.ENV_SECRET = ENV_SECRET; +exports.ENV_SESSION = ENV_SESSION; +exports.fromEnv = fromEnv; /***/ }), -/***/ 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); - +/***/ 5531: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +"use strict"; -/***/ }), -/***/ 2800: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +var credentialProviderEnv = __nccwpck_require__(5972); +var propertyProvider = __nccwpck_require__(9721); +var sharedIniFileLoader = __nccwpck_require__(3507); -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; +const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +const remoteProvider = async (init) => { + const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await __nccwpck_require__.e(/* import() */ 477).then(__nccwpck_require__.t.bind(__nccwpck_require__, 7477, 19)); + if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) { + init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata"); + const { fromHttp } = await __nccwpck_require__.e(/* import() */ 290).then(__nccwpck_require__.bind(__nccwpck_require__, 7290)); + return propertyProvider.chain(fromHttp(init), fromContainerMetadata(init)); + } + if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") { + return async () => { + throw new propertyProvider.CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init.logger }); + }; + } + init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"); + return fromInstanceMetadata(init); }; -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) { +function memoizeChain(providers, treatAsExpired) { + const chain = internalCreateChain(providers); + let activeLock; + let passiveLock; + let credentials; + const provider = async (options) => { + if (options?.forceRefresh) { + return await chain(options); + } + if (credentials?.expiration) { + if (credentials?.expiration?.getTime() < Date.now()) { + credentials = undefined; + } + } + if (activeLock) { + await activeLock; + } + else if (!credentials || treatAsExpired?.(credentials)) { + if (credentials) { + if (!passiveLock) { + passiveLock = chain(options) + .then((c) => { + credentials = c; + }) + .finally(() => { + passiveLock = undefined; + }); + } + } + else { + activeLock = chain(options) + .then((c) => { + credentials = c; + }) + .finally(() => { + activeLock = undefined; + }); + return provider(options); + } + } + return credentials; + }; + return provider; +} +const internalCreateChain = (providers) => async (awsIdentityProperties) => { + let lastProviderError; + for (const provider of providers) { try { - const length = bodyLengthChecker(body); - request.headers = { - ...request.headers, - [CONTENT_LENGTH_HEADER]: String(length) - }; - } catch (error) { + return await provider(awsIdentityProperties); + } + catch (err) { + lastProviderError = err; + if (err?.tryNextLink) { + continue; + } + throw err; } - } } - return next({ - ...args, - request - }); - }; -} -__name(contentLengthMiddleware, "contentLengthMiddleware"); -var contentLengthMiddlewareOptions = { - step: "build", - tags: ["SET_CONTENT_LENGTH", "CONTENT_LENGTH"], - name: "contentLengthMiddleware", - override: true + throw lastProviderError; }; -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); +let multipleCredentialSourceWarningEmitted = false; +const defaultProvider = (init = {}) => memoizeChain([ + async () => { + const profile = init.profile ?? process.env[sharedIniFileLoader.ENV_PROFILE]; + if (profile) { + const envStaticCredentialsAreSet = process.env[credentialProviderEnv.ENV_KEY] && process.env[credentialProviderEnv.ENV_SECRET]; + if (envStaticCredentialsAreSet) { + if (!multipleCredentialSourceWarningEmitted) { + const warnFn = init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger" + ? init.logger.warn.bind(init.logger) + : console.warn; + warnFn(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING: + Multiple credential sources detected: + Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set. + This SDK will proceed with the AWS_PROFILE value. + + However, a future version may change this behavior to prefer the ENV static credentials. + Please ensure that your environment only sets either the AWS_PROFILE or the + AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair. +`); + multipleCredentialSourceWarningEmitted = true; + } + } + throw new propertyProvider.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", { + logger: init.logger, + tryNextLink: true, + }); + } + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"); + return credentialProviderEnv.fromEnv(init)(); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO"); + const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init; + if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) { + throw new propertyProvider.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger }); + } + const { fromSSO } = await __nccwpck_require__.e(/* import() */ 414).then(__nccwpck_require__.t.bind(__nccwpck_require__, 6414, 19)); + return fromSSO(init)(awsIdentityProperties); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni"); + const { fromIni } = await __nccwpck_require__.e(/* import() */ 203).then(__nccwpck_require__.t.bind(__nccwpck_require__, 4203, 19)); + return fromIni(init)(awsIdentityProperties); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess"); + const { fromProcess } = await __nccwpck_require__.e(/* import() */ 969).then(__nccwpck_require__.t.bind(__nccwpck_require__, 9969, 19)); + return fromProcess(init)(awsIdentityProperties); + }, + async (awsIdentityProperties) => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile"); + const { fromTokenFile } = await Promise.all(/* import() */[__nccwpck_require__.e(273), __nccwpck_require__.e(646)]).then(__nccwpck_require__.t.bind(__nccwpck_require__, 5646, 23)); + return fromTokenFile(init)(awsIdentityProperties); + }, + async () => { + init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"); + return (await remoteProvider(init))(); + }, + async () => { + throw new propertyProvider.CredentialsProviderError("Could not load credentials from any providers", { + tryNextLink: false, + logger: init.logger, + }); + }, +], credentialsTreatedAsExpired); +const credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined; +const credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000; +exports.credentialsTreatedAsExpired = credentialsTreatedAsExpired; +exports.credentialsWillNeedRefresh = credentialsWillNeedRefresh; +exports.defaultProvider = defaultProvider; /***/ }), -/***/ 1518: +/***/ 2545: /***/ ((__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__) => { +var protocolHttp = __nccwpck_require__(4418); -"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; +function resolveHostHeaderConfig(input) { + return input; +} +const hostHeaderMiddleware = (options) => (next) => async (args) => { + if (!protocolHttp.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); +}; +const hostHeaderMiddlewareOptions = { + name: "hostHeaderMiddleware", + step: "build", + priority: "low", + tags: ["HOST"], + override: true, +}; +const getHostHeaderPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions); }, - default: undefined, }); -exports.getEndpointUrlConfig = getEndpointUrlConfig; +exports.getHostHeaderPlugin = getHostHeaderPlugin; +exports.hostHeaderMiddleware = hostHeaderMiddleware; +exports.hostHeaderMiddlewareOptions = hostHeaderMiddlewareOptions; +exports.resolveHostHeaderConfig = resolveHostHeaderConfig; -/***/ }), -/***/ 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); +/***/ 14: +/***/ ((__unused_webpack_module, exports) => { -// 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"); +"use strict"; -// 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)); +const loggerMiddleware = () => (next, context) => async (args) => { + 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; + logger?.info?.({ + clientName, + commandName, + input: inputFilterSensitiveLog(args.input), + output: outputFilterSensitiveLog(outputWithoutMetadata), + metadata: $metadata, + }); + return response; } - } - 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 - ); - } + catch (error) { + const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context; + const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions; + const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog; + logger?.error?.({ + clientName, + commandName, + input: inputFilterSensitiveLog(args.input), + error, + metadata: error.$metadata, + }); + throw error; } - 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"); +}; +const loggerMiddlewareOptions = { + name: "loggerMiddleware", + tags: ["LOGGER"], + step: "initialize", + override: true, +}; +const getLoggerPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(loggerMiddleware(), loggerMiddlewareOptions); + }, +}); -// src/resolveEndpointConfig.ts +exports.getLoggerPlugin = getLoggerPlugin; +exports.loggerMiddleware = loggerMiddleware; +exports.loggerMiddlewareOptions = loggerMiddlewareOptions; -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); +/***/ }), +/***/ 5525: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +"use strict"; -/***/ }), -/***/ 6039: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +var recursionDetectionMiddleware = __nccwpck_require__(7767); -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; +const recursionDetectionMiddlewareOptions = { + step: "build", + tags: ["RECURSION_DETECTION"], + name: "recursionDetectionMiddleware", + override: true, + priority: "low", }; -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 +const getRecursionDetectionPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(recursionDetectionMiddleware.recursionDetectionMiddleware(), recursionDetectionMiddlewareOptions); + }, }); -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 +exports.getRecursionDetectionPlugin = getRecursionDetectionPlugin; +Object.prototype.hasOwnProperty.call(recursionDetectionMiddleware, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: recursionDetectionMiddleware['__proto__'] + }); -var defaultDelayDecider = /* @__PURE__ */ __name((delayBase, attempts) => Math.floor(Math.min(import_util_retry.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)), "defaultDelayDecider"); +Object.keys(recursionDetectionMiddleware).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = recursionDetectionMiddleware[k]; +}); -// 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); +/***/ 7767: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.recursionDetectionMiddleware = void 0; +const lambda_invoke_store_1 = __nccwpck_require__(2589); +const protocol_http_1 = __nccwpck_require__(4418); +const TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id"; +const ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME"; +const ENV_TRACE_ID = "_X_AMZN_TRACE_ID"; +const recursionDetectionMiddleware = () => (next) => async (args) => { + const { request } = args; + if (!protocol_http_1.HttpRequest.isInstance(request)) { + return next(args); + } + const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? + TRACE_ID_HEADER_NAME; + if (request.headers.hasOwnProperty(traceIdHeader)) { + return next(args); + } + const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME]; + const traceIdFromEnv = process.env[ENV_TRACE_ID]; + const invokeStore = await lambda_invoke_store_1.InvokeStore.getInstanceAsync(); + const traceIdFromInvokeStore = invokeStore?.getXRayTraceId(); + const traceId = traceIdFromInvokeStore ?? traceIdFromEnv; + const nonEmptyString = (str) => typeof str === "string" && str.length > 0; + if (nonEmptyString(functionName) && nonEmptyString(traceId)) { + request.headers[TRACE_ID_HEADER_NAME] = traceId; } - }; -}, "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 + return next({ + ...args, + request, + }); }; - -// src/omitRetryHeadersMiddleware.ts +exports.recursionDetectionMiddleware = recursionDetectionMiddleware; -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 +/***/ 3525: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +"use strict"; -var import_smithy_client = __nccwpck_require__(3570); +var utilFormatUrl = __nccwpck_require__(7053); +var middlewareEndpoint = __nccwpck_require__(2918); +var protocolHttp = __nccwpck_require__(4418); +var signatureV4 = __nccwpck_require__(1528); +var smithyClient = __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; +const 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 middlewareEndpoint.getEndpointFromInstructions(input, { + 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() : middlewareEndpoint.toEndpointV1(endpoint); + const requestToSign = new protocolHttp.HttpRequest({ + ...resolvedEndpoint, + protocol: "https", + headers: { + host: resolvedEndpoint.hostname, + }, + query: { + ...Object.entries(input).reduce((acc, [k, v]) => { + acc[k] = String(v ?? ""); + return acc; + }, {}), + Action: "CopySnapshot", + Version: version, + DestinationRegion: destinationRegion, + }, + }); + const signer = new signatureV4.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: utilFormatUrl.formatUrl(presignedRequest), + }, + }; + if (protocolHttp.HttpRequest.isInstance(args.request)) { + const { request } = args; + if (!(request.body ?? "").includes("DestinationRegion=")) { + request.body += `&DestinationRegion=${destinationRegion}`; + } + if (!(request.body ?? "").includes("PresignedUrl=")) { + request.body += `&PresignedUrl=${smithyClient.extendedEncodeURIComponent(args.input.PresignedUrl)}`; + } + } } - 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); + return next(args); + }; +} +const copySnapshotPresignedUrlMiddlewareOptions = { + step: "serialize", + tags: ["CROSS_REGION_PRESIGNED_URL"], + name: "crossRegionPresignedUrlMiddleware", + override: true, + relation: "after", + toMiddleware: "endpointV2Middleware", +}; +const getCopySnapshotPresignedUrlPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.add(copySnapshotPresignedUrlMiddleware(config), copySnapshotPresignedUrlMiddlewareOptions); + }, +}); +exports.copySnapshotPresignedUrlMiddleware = copySnapshotPresignedUrlMiddleware; +exports.copySnapshotPresignedUrlMiddlewareOptions = copySnapshotPresignedUrlMiddlewareOptions; +exports.getCopySnapshotPresignedUrlPlugin = getCopySnapshotPresignedUrlPlugin; /***/ }), -/***/ 8977: +/***/ 4688: /***/ ((__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; +var core = __nccwpck_require__(5829); +var utilEndpoints = __nccwpck_require__(3350); +var protocolHttp = __nccwpck_require__(4418); +var client = __nccwpck_require__(2825); +var utilRetry = __nccwpck_require__(4902); -/***/ }), +const DEFAULT_UA_APP_ID = undefined; +function isValidUserAgentAppId(appId) { + if (appId === undefined) { + return true; + } + return typeof appId === "string" && appId.length <= 50; +} +function resolveUserAgentConfig(input) { + const normalizedAppIdProvider = core.normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID); + const { customUserAgent } = input; + return Object.assign(input, { + customUserAgent: typeof customUserAgent === "string" ? [[customUserAgent]] : customUserAgent, + userAgentAppId: async () => { + const appId = await normalizedAppIdProvider(); + if (!isValidUserAgentAppId(appId)) { + const logger = input.logger?.constructor?.name === "NoOpLogger" || !input.logger ? console : input.logger; + if (typeof appId !== "string") { + logger?.warn("userAgentAppId must be a string or undefined."); + } + else if (appId.length > 50) { + logger?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters."); + } + } + return appId; + }, + }); +} -/***/ 7761: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +const ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/; +async function checkFeatures(context, config, args) { + const request = args.request; + if (request?.headers?.["smithy-protocol"] === "rpc-v2-cbor") { + client.setFeature(context, "PROTOCOL_RPC_V2_CBOR", "M"); + } + if (typeof config.retryStrategy === "function") { + const retryStrategy = await config.retryStrategy(); + if (typeof retryStrategy.mode === "string") { + switch (retryStrategy.mode) { + case utilRetry.RETRY_MODES.ADAPTIVE: + client.setFeature(context, "RETRY_MODE_ADAPTIVE", "F"); + break; + case utilRetry.RETRY_MODES.STANDARD: + client.setFeature(context, "RETRY_MODE_STANDARD", "E"); + break; + } + } + } + if (typeof config.accountIdEndpointMode === "function") { + const endpointV2 = context.endpointV2; + if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) { + client.setFeature(context, "ACCOUNT_ID_ENDPOINT", "O"); + } + switch (await config.accountIdEndpointMode?.()) { + case "disabled": + client.setFeature(context, "ACCOUNT_ID_MODE_DISABLED", "Q"); + break; + case "preferred": + client.setFeature(context, "ACCOUNT_ID_MODE_PREFERRED", "P"); + break; + case "required": + client.setFeature(context, "ACCOUNT_ID_MODE_REQUIRED", "R"); + break; + } + } + const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity; + if (identity?.$source) { + const credentials = identity; + if (credentials.accountId) { + client.setFeature(context, "RESOLVED_ACCOUNT_ID", "T"); + } + for (const [key, value] of Object.entries(credentials.$source ?? {})) { + client.setFeature(context, key, value); + } + } +} -"use strict"; +const USER_AGENT = "user-agent"; +const X_AMZ_USER_AGENT = "x-amz-user-agent"; +const SPACE = " "; +const UA_NAME_SEPARATOR = "/"; +const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g; +const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g; +const UA_ESCAPE_CHAR = "-"; +const BYTE_LIMIT = 1024; +function encodeFeatures(features) { + let buffer = ""; + for (const key in features) { + const val = features[key]; + if (buffer.length + val.length + 1 <= BYTE_LIMIT) { + if (buffer.length) { + buffer += "," + val; + } + else { + buffer += val; + } + continue; + } + break; + } + return buffer; +} -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; - } -})); +const userAgentMiddleware = (options) => (next, context) => async (args) => { + const { request } = args; + if (!protocolHttp.HttpRequest.isInstance(request)) { + return next(args); + } + const { headers } = request; + const userAgent = context?.userAgent?.map(escapeUserAgent) || []; + const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent); + await checkFeatures(context, options, args); + const awsContext = context; + defaultUserAgent.push(`m/${encodeFeatures(Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features))}`); + const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || []; + const appId = await options.userAgentAppId(); + if (appId) { + defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`])); + } + const prefix = utilEndpoints.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, + }); +}; +const escapeUserAgent = (userAgentPair) => { + 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 = userAgentPair[1]?.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}`; + } + }, ""); +}; +const getUserAgentMiddlewareOptions = { + name: "getUserAgentMiddleware", + step: "build", + priority: "low", + tags: ["SET_USER_AGENT", "USER_AGENT"], + override: true, +}; +const getUserAgentPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions); + }, +}); -var _v = _interopRequireDefault(__nccwpck_require__(6310)); +exports.DEFAULT_UA_APP_ID = DEFAULT_UA_APP_ID; +exports.getUserAgentMiddlewareOptions = getUserAgentMiddlewareOptions; +exports.getUserAgentPlugin = getUserAgentPlugin; +exports.resolveUserAgentConfig = resolveUserAgentConfig; +exports.userAgentMiddleware = userAgentMiddleware; -var _v2 = _interopRequireDefault(__nccwpck_require__(9465)); -var _v3 = _interopRequireDefault(__nccwpck_require__(6001)); +/***/ }), + +/***/ 8156: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -var _v4 = _interopRequireDefault(__nccwpck_require__(8310)); +"use strict"; -var _nil = _interopRequireDefault(__nccwpck_require__(3436)); -var _version = _interopRequireDefault(__nccwpck_require__(7780)); +var stsRegionDefaultResolver = __nccwpck_require__(3161); +var configResolver = __nccwpck_require__(3098); -var _validate = _interopRequireDefault(__nccwpck_require__(6992)); +const getAwsRegionExtensionConfiguration = (runtimeConfig) => { + return { + setRegion(region) { + runtimeConfig.region = region; + }, + region() { + return runtimeConfig.region; + }, + }; +}; +const resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => { + return { + region: awsRegionExtensionConfiguration.region(), + }; +}; -var _stringify = _interopRequireDefault(__nccwpck_require__(9618)); +exports.NODE_REGION_CONFIG_FILE_OPTIONS = configResolver.NODE_REGION_CONFIG_FILE_OPTIONS; +exports.NODE_REGION_CONFIG_OPTIONS = configResolver.NODE_REGION_CONFIG_OPTIONS; +exports.REGION_ENV_NAME = configResolver.REGION_ENV_NAME; +exports.REGION_INI_NAME = configResolver.REGION_INI_NAME; +exports.resolveRegionConfig = configResolver.resolveRegionConfig; +exports.getAwsRegionExtensionConfiguration = getAwsRegionExtensionConfiguration; +exports.resolveAwsRegionExtensionConfiguration = resolveAwsRegionExtensionConfiguration; +Object.prototype.hasOwnProperty.call(stsRegionDefaultResolver, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: stsRegionDefaultResolver['__proto__'] + }); -var _parse = _interopRequireDefault(__nccwpck_require__(86)); +Object.keys(stsRegionDefaultResolver).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = stsRegionDefaultResolver[k]; +}); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /***/ }), -/***/ 1380: +/***/ 3161: /***/ ((__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(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.warning = void 0; +exports.stsRegionDefaultResolver = stsRegionDefaultResolver; +const config_resolver_1 = __nccwpck_require__(3098); +const node_config_provider_1 = __nccwpck_require__(3461); +function stsRegionDefaultResolver(loaderConfig = {}) { + return (0, node_config_provider_1.loadConfig)({ + ...config_resolver_1.NODE_REGION_CONFIG_OPTIONS, + async default() { + if (!exports.warning.silence) { + console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly."); + } + return "us-east-1"; + }, + }, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }); } +exports.warning = { + silence: false, +}; -var _default = md5; -exports["default"] = _default; /***/ }), -/***/ 4672: +/***/ 3350: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; +var utilEndpoints = __nccwpck_require__(5473); +var urlParser = __nccwpck_require__(4681); -var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); +const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => { + if (allowSubDomains) { + for (const label of value.split(".")) { + if (!isVirtualHostableS3Bucket(label)) { + return false; + } + } + return true; + } + if (!utilEndpoints.isValidHostLabel(value)) { + return false; + } + if (value.length < 3 || value.length > 63) { + return false; + } + if (value !== value.toLowerCase()) { + return false; + } + if (utilEndpoints.isIpAddress(value)) { + return false; + } + return true; +}; -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +const ARN_DELIMITER = ":"; +const RESOURCE_DELIMITER = "/"; +const parseArn = (value) => { + const segments = value.split(ARN_DELIMITER); + if (segments.length < 6) + return null; + const [arn, partition, service, region, accountId, ...resourcePath] = segments; + if (arn !== "arn" || partition === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") + return null; + const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat(); + return { + partition, + service, + region, + accountId, + resourceId, + }; +}; -var _default = { - randomUUID: _crypto.default.randomUUID +var partitions = [ + { + id: "aws", + outputs: { + dnsSuffix: "amazonaws.com", + dualStackDnsSuffix: "api.aws", + implicitGlobalRegion: "us-east-1", + name: "aws", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$", + regions: { + "af-south-1": { + description: "Africa (Cape Town)" + }, + "ap-east-1": { + description: "Asia Pacific (Hong Kong)" + }, + "ap-east-2": { + description: "Asia Pacific (Taipei)" + }, + "ap-northeast-1": { + description: "Asia Pacific (Tokyo)" + }, + "ap-northeast-2": { + description: "Asia Pacific (Seoul)" + }, + "ap-northeast-3": { + description: "Asia Pacific (Osaka)" + }, + "ap-south-1": { + description: "Asia Pacific (Mumbai)" + }, + "ap-south-2": { + description: "Asia Pacific (Hyderabad)" + }, + "ap-southeast-1": { + description: "Asia Pacific (Singapore)" + }, + "ap-southeast-2": { + description: "Asia Pacific (Sydney)" + }, + "ap-southeast-3": { + description: "Asia Pacific (Jakarta)" + }, + "ap-southeast-4": { + description: "Asia Pacific (Melbourne)" + }, + "ap-southeast-5": { + description: "Asia Pacific (Malaysia)" + }, + "ap-southeast-6": { + description: "Asia Pacific (New Zealand)" + }, + "ap-southeast-7": { + description: "Asia Pacific (Thailand)" + }, + "aws-global": { + description: "aws 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)" + }, + "mx-central-1": { + description: "Mexico (Central)" + }, + "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-cn global region" + }, + "cn-north-1": { + description: "China (Beijing)" + }, + "cn-northwest-1": { + description: "China (Ningxia)" + } + } + }, + { + id: "aws-eusc", + outputs: { + dnsSuffix: "amazonaws.eu", + dualStackDnsSuffix: "api.amazonwebservices.eu", + implicitGlobalRegion: "eusc-de-east-1", + name: "aws-eusc", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^eusc\\-(de)\\-\\w+\\-\\d+$", + regions: { + "eusc-de-east-1": { + description: "AWS European Sovereign Cloud (Germany)" + } + } + }, + { + id: "aws-iso", + outputs: { + dnsSuffix: "c2s.ic.gov", + dualStackDnsSuffix: "api.aws.ic.gov", + implicitGlobalRegion: "us-iso-east-1", + name: "aws-iso", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^us\\-iso\\-\\w+\\-\\d+$", + regions: { + "aws-iso-global": { + description: "aws-iso 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: "api.aws.scloud", + implicitGlobalRegion: "us-isob-east-1", + name: "aws-iso-b", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^us\\-isob\\-\\w+\\-\\d+$", + regions: { + "aws-iso-b-global": { + description: "aws-iso-b global region" + }, + "us-isob-east-1": { + description: "US ISOB East (Ohio)" + }, + "us-isob-west-1": { + description: "US ISOB West" + } + } + }, + { + id: "aws-iso-e", + outputs: { + dnsSuffix: "cloud.adc-e.uk", + dualStackDnsSuffix: "api.cloud-aws.adc-e.uk", + implicitGlobalRegion: "eu-isoe-west-1", + name: "aws-iso-e", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^eu\\-isoe\\-\\w+\\-\\d+$", + regions: { + "aws-iso-e-global": { + description: "aws-iso-e global region" + }, + "eu-isoe-west-1": { + description: "EU ISOE West" + } + } + }, + { + id: "aws-iso-f", + outputs: { + dnsSuffix: "csp.hci.ic.gov", + dualStackDnsSuffix: "api.aws.hci.ic.gov", + implicitGlobalRegion: "us-isof-south-1", + name: "aws-iso-f", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^us\\-isof\\-\\w+\\-\\d+$", + regions: { + "aws-iso-f-global": { + description: "aws-iso-f global region" + }, + "us-isof-east-1": { + description: "US ISOF EAST" + }, + "us-isof-south-1": { + description: "US ISOF SOUTH" + } + } + }, + { + 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-us-gov global region" + }, + "us-gov-east-1": { + description: "AWS GovCloud (US-East)" + }, + "us-gov-west-1": { + description: "AWS GovCloud (US-West)" + } + } + } +]; +var version = "1.1"; +var partitionsInfo = { + partitions: partitions, + version: version +}; + +let selectedPartitionsInfo = partitionsInfo; +let selectedUserAgentPrefix = ""; +const partition = (value) => { + const { partitions } = selectedPartitionsInfo; + for (const partition of partitions) { + const { regions, outputs } = partition; + for (const [region, regionData] of Object.entries(regions)) { + if (region === value) { + return { + ...outputs, + ...regionData, + }; + } + } + } + for (const partition of partitions) { + const { regionRegex, outputs } = partition; + if (new RegExp(regionRegex).test(value)) { + return { + ...outputs, + }; + } + } + const DEFAULT_PARTITION = partitions.find((partition) => partition.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, + }; }; -exports["default"] = _default; +const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => { + selectedPartitionsInfo = partitionsInfo; + selectedUserAgentPrefix = userAgentPrefix; +}; +const useDefaultPartitionInfo = () => { + setPartitionInfo(partitionsInfo, ""); +}; +const getUserAgentPrefix = () => selectedUserAgentPrefix; + +const awsEndpointFunctions = { + isVirtualHostableS3Bucket: isVirtualHostableS3Bucket, + parseArn: parseArn, + partition: partition, +}; +utilEndpoints.customEndpointFunctions.aws = awsEndpointFunctions; + +const resolveDefaultAwsRegionalEndpointsConfig = (input) => { + if (typeof input.endpointProvider !== "function") { + throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client."); + } + const { endpoint } = input; + if (endpoint === undefined) { + input.endpoint = async () => { + return toEndpointV1(input.endpointProvider({ + Region: typeof input.region === "function" ? await input.region() : input.region, + UseDualStack: typeof input.useDualstackEndpoint === "function" + ? await input.useDualstackEndpoint() + : input.useDualstackEndpoint, + UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint, + Endpoint: undefined, + }, { logger: input.logger })); + }; + } + return input; +}; +const toEndpointV1 = (endpoint) => urlParser.parseUrl(endpoint.url); + +exports.EndpointError = utilEndpoints.EndpointError; +exports.isIpAddress = utilEndpoints.isIpAddress; +exports.resolveEndpoint = utilEndpoints.resolveEndpoint; +exports.awsEndpointFunctions = awsEndpointFunctions; +exports.getUserAgentPrefix = getUserAgentPrefix; +exports.partition = partition; +exports.resolveDefaultAwsRegionalEndpointsConfig = resolveDefaultAwsRegionalEndpointsConfig; +exports.setPartitionInfo = setPartitionInfo; +exports.toEndpointV1 = toEndpointV1; +exports.useDefaultPartitionInfo = useDefaultPartitionInfo; + /***/ }), -/***/ 3436: -/***/ ((__unused_webpack_module, exports) => { +/***/ 7053: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -var _default = '00000000-0000-0000-0000-000000000000'; -exports["default"] = _default; - -/***/ }), +var querystringBuilder = __nccwpck_require__(8031); -/***/ 86: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +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 ? querystringBuilder.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}`; +} -"use strict"; +exports.formatUrl = formatUrl; -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; +/***/ }), -var _validate = _interopRequireDefault(__nccwpck_require__(6992)); +/***/ 8095: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +"use strict"; -function parse(uuid) { - if (!(0, _validate.default)(uuid)) { - throw TypeError('Invalid UUID'); - } - let v; - const arr = new Uint8Array(16); // Parse ########-....-....-....-............ +var node_os = __nccwpck_require__(612); +var node_process = __nccwpck_require__(7742); +var utilConfigProvider = __nccwpck_require__(3375); +var promises = __nccwpck_require__(3977); +var node_path = __nccwpck_require__(9411); +var middlewareUserAgent = __nccwpck_require__(4688); - 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 ........-####-....-....-............ +const getRuntimeUserAgentPair = () => { + const runtimesToCheck = ["deno", "bun", "llrt"]; + for (const runtime of runtimesToCheck) { + if (node_process.versions[runtime]) { + return [`md/${runtime}`, node_process.versions[runtime]]; + } + } + return ["md/nodejs", node_process.versions.node]; +}; - arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8; - arr[5] = v & 0xff; // Parse ........-....-####-....-............ +const getNodeModulesParentDirs = (dirname) => { + const cwd = process.cwd(); + if (!dirname) { + return [cwd]; + } + const normalizedPath = node_path.normalize(dirname); + const parts = normalizedPath.split(node_path.sep); + const nodeModulesIndex = parts.indexOf("node_modules"); + const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(node_path.sep) : normalizedPath; + if (cwd === parentDir) { + return [cwd]; + } + return [parentDir, cwd]; +}; - arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8; - arr[7] = v & 0xff; // Parse ........-....-....-####-............ +const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/; +const getSanitizedTypeScriptVersion = (version = "") => { + const match = version.match(SEMVER_REGEX); + if (!match) { + return undefined; + } + const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]]; + return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`; +}; - 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) +const ALLOWED_PREFIXES = ["^", "~", ">=", "<=", ">", "<"]; +const ALLOWED_DIST_TAGS = ["latest", "beta", "dev", "rc", "insiders", "next"]; +const getSanitizedDevTypeScriptVersion = (version = "") => { + if (ALLOWED_DIST_TAGS.includes(version)) { + return version; + } + const prefix = ALLOWED_PREFIXES.find((p) => version.startsWith(p)) ?? ""; + const sanitizedTypeScriptVersion = getSanitizedTypeScriptVersion(version.slice(prefix.length)); + if (!sanitizedTypeScriptVersion) { + return undefined; + } + return `${prefix}${sanitizedTypeScriptVersion}`; +}; - 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; -} +let tscVersion; +const TS_PACKAGE_JSON = node_path.join("node_modules", "typescript", "package.json"); +const getTypeScriptUserAgentPair = async () => { + if (tscVersion === null) { + return undefined; + } + else if (typeof tscVersion === "string") { + return ["md/tsc", tscVersion]; + } + let isTypeScriptDetectionDisabled = false; + try { + isTypeScriptDetectionDisabled = + utilConfigProvider.booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", utilConfigProvider.SelectorType.ENV) || false; + } + catch { } + if (isTypeScriptDetectionDisabled) { + tscVersion = null; + return undefined; + } + const dirname = typeof __dirname !== "undefined" ? __dirname : undefined; + const nodeModulesParentDirs = getNodeModulesParentDirs(dirname); + let versionFromApp; + for (const nodeModulesParentDir of nodeModulesParentDirs) { + try { + const appPackageJsonPath = node_path.join(nodeModulesParentDir, "package.json"); + const packageJson = await promises.readFile(appPackageJsonPath, "utf-8"); + const { dependencies, devDependencies } = JSON.parse(packageJson); + const version = devDependencies?.typescript ?? dependencies?.typescript; + if (typeof version !== "string") { + continue; + } + versionFromApp = version; + break; + } + catch { + } + } + if (!versionFromApp) { + tscVersion = null; + return undefined; + } + let versionFromNodeModules; + for (const nodeModulesParentDir of nodeModulesParentDirs) { + try { + const tsPackageJsonPath = node_path.join(nodeModulesParentDir, TS_PACKAGE_JSON); + const packageJson = await promises.readFile(tsPackageJsonPath, "utf-8"); + const { version } = JSON.parse(packageJson); + const sanitizedVersion = getSanitizedTypeScriptVersion(version); + if (typeof sanitizedVersion !== "string") { + continue; + } + versionFromNodeModules = sanitizedVersion; + break; + } + catch { + } + } + if (versionFromNodeModules) { + tscVersion = versionFromNodeModules; + return ["md/tsc", tscVersion]; + } + const sanitizedVersion = getSanitizedDevTypeScriptVersion(versionFromApp); + if (typeof sanitizedVersion !== "string") { + tscVersion = null; + return undefined; + } + tscVersion = `dev_${sanitizedVersion}`; + return ["md/tsc", tscVersion]; +}; -var _default = parse; -exports["default"] = _default; +const crtAvailability = { + isCrtAvailable: false, +}; -/***/ }), +const isCrtAvailable = () => { + if (crtAvailability.isCrtAvailable) { + return ["md/crt-avail"]; + } + return null; +}; -/***/ 3194: -/***/ ((__unused_webpack_module, exports) => { +const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => { + const runtimeUserAgentPair = getRuntimeUserAgentPair(); + return async (config) => { + const sections = [ + ["aws-sdk-js", clientVersion], + ["ua", "2.1"], + [`os/${node_os.platform()}`, node_os.release()], + ["lang/js"], + runtimeUserAgentPair, + ]; + const typescriptUserAgentPair = await getTypeScriptUserAgentPair(); + if (typescriptUserAgentPair) { + sections.push(typescriptUserAgentPair); + } + const crtAvailable = isCrtAvailable(); + if (crtAvailable) { + sections.push(crtAvailable); + } + if (serviceId) { + sections.push([`api/${serviceId}`, clientVersion]); + } + if (node_process.env.AWS_EXECUTION_ENV) { + sections.push([`exec-env/${node_process.env.AWS_EXECUTION_ENV}`]); + } + const appId = await config?.userAgentAppId?.(); + const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections]; + return resolvedUserAgent; + }; +}; +const defaultUserAgent = createDefaultUserAgentProvider; -"use strict"; +const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; +const UA_APP_ID_INI_NAME = "sdk_ua_app_id"; +const UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id"; +const NODE_APP_ID_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME], + configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], + default: middlewareUserAgent.DEFAULT_UA_APP_ID, +}; +exports.NODE_APP_ID_CONFIG_OPTIONS = NODE_APP_ID_CONFIG_OPTIONS; +exports.UA_APP_ID_ENV_NAME = UA_APP_ID_ENV_NAME; +exports.UA_APP_ID_INI_NAME = UA_APP_ID_INI_NAME; +exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider; +exports.crtAvailability = crtAvailability; +exports.defaultUserAgent = defaultUserAgent; -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: +/***/ 2329: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = rng; - -var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); +var xmlParser = __nccwpck_require__(5015); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +const ATTR_ESCAPE_RE = /[&<>"]/g; +const ATTR_ESCAPE_MAP = { + "&": "&", + "<": "<", + ">": ">", + '"': """, +}; +function escapeAttribute(value) { + return value.replace(ATTR_ESCAPE_RE, (ch) => ATTR_ESCAPE_MAP[ch]); +} -const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate +const ELEMENT_ESCAPE_RE = /[&"'<>\r\n\u0085\u2028]/g; +const ELEMENT_ESCAPE_MAP = { + "&": "&", + '"': """, + "'": "'", + "<": "<", + ">": ">", + "\r": " ", + "\n": " ", + "\u0085": "…", + "\u2028": "
", +}; +function escapeElement(value) { + return value.replace(ELEMENT_ESCAPE_RE, (ch) => ELEMENT_ESCAPE_MAP[ch]); +} -let poolPtr = rnds8Pool.length; +class XmlText { + value; + constructor(value) { + this.value = value; + } + toString() { + return escapeElement("" + this.value); + } +} -function rng() { - if (poolPtr > rnds8Pool.length - 16) { - _crypto.default.randomFillSync(rnds8Pool); +class XmlNode { + name; + children; + attributes = {}; + static of(name, childText, withName) { + const node = new XmlNode(name); + if (childText !== undefined) { + node.addChildNode(new XmlText(childText)); + } + if (withName !== undefined) { + node.withName(withName); + } + return node; + } + constructor(name, children = []) { + this.name = name; + this.children = children; + } + withName(name) { + this.name = name; + return this; + } + addAttribute(name, value) { + this.attributes[name] = value; + return this; + } + addChildNode(child) { + this.children.push(child); + return this; + } + removeAttribute(name) { + delete this.attributes[name]; + return this; + } + n(name) { + this.name = name; + return this; + } + c(child) { + this.children.push(child); + return this; + } + a(name, value) { + if (value != null) { + this.attributes[name] = value; + } + return this; + } + cc(input, field, withName = field) { + if (input[field] != null) { + const node = XmlNode.of(field, input[field]).withName(withName); + this.c(node); + } + } + l(input, listName, memberName, valueProvider) { + if (input[listName] != null) { + const nodes = valueProvider(); + nodes.map((node) => { + node.withName(memberName); + this.c(node); + }); + } + } + lc(input, listName, memberName, valueProvider) { + if (input[listName] != null) { + const nodes = valueProvider(); + const containerNode = new XmlNode(memberName); + nodes.map((node) => { + containerNode.c(node); + }); + this.c(containerNode); + } + } + toString() { + const hasChildren = Boolean(this.children.length); + let xmlText = `<${this.name}`; + const attributes = this.attributes; + for (const attributeName of Object.keys(attributes)) { + const attribute = attributes[attributeName]; + if (attribute != null) { + xmlText += ` ${attributeName}="${escapeAttribute("" + attribute)}"`; + } + } + return (xmlText += !hasChildren ? "/>" : `>${this.children.map((c) => c.toString()).join("")}`); + } +} - poolPtr = 0; - } +exports.parseXML = xmlParser.parseXML; +exports.XmlNode = XmlNode; +exports.XmlText = XmlText; - return rnds8Pool.slice(poolPtr, poolPtr += 16); -} /***/ }), -/***/ 6679: +/***/ 5015: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseXML = parseXML; +const fast_xml_parser_1 = __nccwpck_require__(4577); +const parser = new fast_xml_parser_1.XMLParser({ + attributeNamePrefix: "", + processEntities: { + enabled: true, + maxTotalExpansions: Infinity, + }, + htmlEntities: true, + ignoreAttributes: false, + ignoreDeclaration: true, + parseTagValue: false, + trimValues: false, + tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined), + maxNestedTags: Infinity, +}); +parser.addEntity("#xD", "\r"); +parser.addEntity("#10", "\n"); +function parseXML(xmlString) { + return parser.parse(xmlString, true); +} -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 }; } +/***/ 2589: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -function sha1(bytes) { - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === 'string') { - bytes = Buffer.from(bytes, 'utf8'); - } +"use strict"; - return _crypto.default.createHash('sha1').update(bytes).digest(); + +const PROTECTED_KEYS = { + REQUEST_ID: Symbol.for("_AWS_LAMBDA_REQUEST_ID"), + X_RAY_TRACE_ID: Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"), + TENANT_ID: Symbol.for("_AWS_LAMBDA_TENANT_ID"), +}; +const NO_GLOBAL_AWS_LAMBDA = ["true", "1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA ?? ""); +if (!NO_GLOBAL_AWS_LAMBDA) { + globalThis.awslambda = globalThis.awslambda || {}; +} +class InvokeStoreBase { + static PROTECTED_KEYS = PROTECTED_KEYS; + isProtectedKey(key) { + return Object.values(PROTECTED_KEYS).includes(key); + } + getRequestId() { + return this.get(PROTECTED_KEYS.REQUEST_ID) ?? "-"; + } + getXRayTraceId() { + return this.get(PROTECTED_KEYS.X_RAY_TRACE_ID); + } + getTenantId() { + return this.get(PROTECTED_KEYS.TENANT_ID); + } +} +class InvokeStoreSingle extends InvokeStoreBase { + currentContext; + getContext() { + return this.currentContext; + } + hasContext() { + return this.currentContext !== undefined; + } + get(key) { + return this.currentContext?.[key]; + } + set(key, value) { + if (this.isProtectedKey(key)) { + throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`); + } + this.currentContext = this.currentContext || {}; + this.currentContext[key] = value; + } + run(context, fn) { + this.currentContext = context; + return fn(); + } } +class InvokeStoreMulti extends InvokeStoreBase { + als; + static async create() { + const instance = new InvokeStoreMulti(); + const asyncHooks = await Promise.resolve(/* import() */).then(__nccwpck_require__.t.bind(__nccwpck_require__, 2761, 23)); + instance.als = new asyncHooks.AsyncLocalStorage(); + return instance; + } + getContext() { + return this.als.getStore(); + } + hasContext() { + return this.als.getStore() !== undefined; + } + get(key) { + return this.als.getStore()?.[key]; + } + set(key, value) { + if (this.isProtectedKey(key)) { + throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`); + } + const store = this.als.getStore(); + if (!store) { + throw new Error("No context available"); + } + store[key] = value; + } + run(context, fn) { + return this.als.run(context, fn); + } +} +exports.InvokeStore = void 0; +(function (InvokeStore) { + let instance = null; + async function getInstanceAsync(forceInvokeStoreMulti) { + if (!instance) { + instance = (async () => { + const isMulti = forceInvokeStoreMulti === true || "AWS_LAMBDA_MAX_CONCURRENCY" in process.env; + const newInstance = isMulti + ? await InvokeStoreMulti.create() + : new InvokeStoreSingle(); + if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda?.InvokeStore) { + return globalThis.awslambda.InvokeStore; + } + else if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda) { + globalThis.awslambda.InvokeStore = newInstance; + return newInstance; + } + else { + return newInstance; + } + })(); + } + return instance; + } + InvokeStore.getInstanceAsync = getInstanceAsync; + InvokeStore._testing = process.env.AWS_LAMBDA_BENCHMARK_MODE === "1" + ? { + reset: () => { + instance = null; + if (globalThis.awslambda?.InvokeStore) { + delete globalThis.awslambda.InvokeStore; + } + globalThis.awslambda = { InvokeStore: undefined }; + }, + } + : undefined; +})(exports.InvokeStore || (exports.InvokeStore = {})); + +exports.InvokeStoreBase = InvokeStoreBase; -var _default = sha1; -exports["default"] = _default; /***/ }), -/***/ 9618: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 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); -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 }; } +// pkg/dist-src/index.js +var dist_src_exports = {}; +__export(dist_src_exports, { + createTokenAuth: () => createTokenAuth +}); +module.exports = __toCommonJS(dist_src_exports); -/** - * Convert array of 16 byte values to UUID string format of the form: - * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX - */ -const byteToHex = []; +// 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 + }; +} -for (let i = 0; i < 256; ++i) { - byteToHex.push((i + 0x100).toString(16).slice(1)); +// pkg/dist-src/with-authorization-prefix.js +function withAuthorizationPrefix(token) { + if (token.split(/\./).length === 3) { + return `bearer ${token}`; + } + return `token ${token}`; } -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]]; +// 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); } -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 +// 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); - if (!(0, _validate.default)(uuid)) { - throw TypeError('Stringified UUID is invalid'); + +/***/ }), + +/***/ 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); - return uuid; -} - -var _default = stringify; -exports["default"] = _default; /***/ }), -/***/ 6310: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 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); -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; +// pkg/dist-src/index.js +var dist_src_exports = {}; +__export(dist_src_exports, { + endpoint: () => endpoint +}); +module.exports = __toCommonJS(dist_src_exports); -let _clockseq; // Previous uuid creation time +// pkg/dist-src/defaults.js +var import_universal_user_agent = __nccwpck_require__(5030); +// pkg/dist-src/version.js +var VERSION = "9.0.6"; -let _lastMSecs = 0; -let _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details +// 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: "" + } +}; -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 +// 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; + }, {}); +} - if (node == null || clockseq == null) { - const seedBytes = options.random || (options.rng || _rng.default)(); +// 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); +} - 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]]; +// 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; +} - if (clockseq == null) { - // Per 4.2.2, randomize (14 bit) clockseq - clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff; +// pkg/dist-src/util/remove-undefined-properties.js +function removeUndefinedProperties(obj) { + for (const key in obj) { + if (obj[key] === void 0) { + delete obj[key]; } - } // 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 + } + return obj; +} - 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 +// 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("&"); +} - if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { - nsecs = 0; - } // Per 4.2.1.2 Throw error if too many uuids are requested +// 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; +} - if (nsecs >= 10000) { - throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); +// 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(/\/$/, ""); } +} - _lastMSecs = msecs; - _lastNSecs = nsecs; - _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch +// 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 + ); +} - msecs += 12219292800000; // `time_low` +// pkg/dist-src/endpoint-with-defaults.js +function endpointWithDefaults(defaults, route, options) { + return parse(merge(defaults, route, options)); +} - 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` +// 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 + }); +} - const tmh = msecs / 0x100000000 * 10000 & 0xfffffff; - b[i++] = tmh >>> 8 & 0xff; - b[i++] = tmh & 0xff; // `time_high_and_version` +// pkg/dist-src/index.js +var endpoint = withDefaults(null, DEFAULTS); +// Annotate the CommonJS export names for ESM import in node: +0 && (0); - 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` +/***/ 8467: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - b[i++] = clockseq & 0xff; // `node` +"use strict"; - for (let n = 0; n < 6; ++n) { - b[i + n] = node[n]; +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); - return buf || (0, _stringify.unsafeStringify)(b); -} - -var _default = v1; -exports["default"] = _default; - -/***/ }), +// 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); -/***/ 9465: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +// pkg/dist-src/version.js +var VERSION = "7.1.0"; -"use strict"; +// pkg/dist-src/with-defaults.js +var import_request2 = __nccwpck_require__(6234); +// pkg/dist-src/graphql.js +var import_request = __nccwpck_require__(6234); -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; +// 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); + } + } +}; -var _v = _interopRequireDefault(__nccwpck_require__(2568)); +// 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; + }); +} -var _md = _interopRequireDefault(__nccwpck_require__(1380)); +// 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 + }); +} -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +// 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); -const v3 = (0, _v.default)('v3', 0x30, _md.default); -var _default = v3; -exports["default"] = _default; /***/ }), -/***/ 2568: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 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); -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports.URL = exports.DNS = void 0; -exports["default"] = v35; +// 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); -var _stringify = __nccwpck_require__(9618); +// pkg/dist-src/version.js +var VERSION = "9.2.2"; -var _parse = _interopRequireDefault(__nccwpck_require__(86)); +// 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; +} -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +// 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); + }); +} -function stringToBytes(str) { - str = unescape(encodeURIComponent(str)); // UTF8 escape +// pkg/dist-src/compose-paginate.js +var composePaginateRest = Object.assign(paginate, { + iterator +}); - const bytes = []; +// 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" +]; - for (let i = 0; i < str.length; ++i) { - bytes.push(str.charCodeAt(i)); +// pkg/dist-src/paginating-endpoints.js +function isPaginatingEndpoint(arg) { + if (typeof arg === "string") { + return paginatingEndpoints.includes(arg); + } else { + return false; } - - return bytes; } -const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; -exports.DNS = DNS; -const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; -exports.URL = URL; +// 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); -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); - } +/***/ 3044: +/***/ ((module) => { - 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])` +"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); - 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; +// pkg/dist-src/index.js +var dist_src_exports = {}; +__export(dist_src_exports, { + legacyRestEndpointMethods: () => legacyRestEndpointMethods, + restEndpointMethods: () => restEndpointMethods +}); +module.exports = __toCommonJS(dist_src_exports); - if (buf) { - offset = offset || 0; +// pkg/dist-src/version.js +var VERSION = "10.4.1"; - for (let i = 0; i < 16; ++i) { - buf[offset + i] = bytes[i]; +// 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" + ] } - - 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 }); + ], + 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"] } - 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); +var endpoints_default = Endpoints; -// 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); +// 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 { - response, - output: parsed + value: this.get(target, methodName), + // ensures method is in the cache + configurable: true, + writable: true, + enumerable: true }; - } 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; + }, + 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); } - 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."); + return requestWithDefaults(...args); } - const request = await serializer(args.input, { ...options, endpoint }); - return next({ - ...args, - request - }); -}, "serializerMiddleware"); + return Object.assign(withDecorations, requestWithDefaults); +} -// 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) { +// pkg/dist-src/index.js +function restEndpointMethods(octokit) { + const api = endpointsToMethods(octokit); return { - applyToStack: (commandStack) => { - commandStack.add(deserializerMiddleware(config, deserializer), deserializerMiddlewareOption); - commandStack.add(serializerMiddleware(config, serializer), serializerMiddlewareOption); - } + rest: api + }; +} +restEndpointMethods.VERSION = VERSION; +function legacyRestEndpointMethods(octokit) { + const api = endpointsToMethods(octokit); + return { + ...api, + rest: api }; } -__name(getSerdePlugin, "getSerdePlugin"); +legacyRestEndpointMethods.VERSION = VERSION; // Annotate the CommonJS export names for ESM import in node: - 0 && (0); - /***/ }), -/***/ 7911: -/***/ ((module) => { +/***/ 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 __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 }); @@ -95473,317 +58594,90 @@ var __copyProps = (to, from, except, desc) => { } 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, { - constructStack: () => constructStack +// pkg/dist-src/index.js +var dist_src_exports = {}; +__export(dist_src_exports, { + RequestError: () => RequestError }); -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; +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( + /(? { - 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); - } + Object.defineProperty(this, "headers", { + get() { + logOnceHeaders( + new import_deprecation.Deprecation( + "[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`." + ) + ); + return headers || {}; } }); - 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: +/***/ 6234: /***/ ((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 }); @@ -95798,26641 +58692,28508 @@ var __copyProps = (to, from, except, desc) => { }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -// src/index.ts -var src_exports = {}; -__export(src_exports, { - loadConfig: () => loadConfig +// pkg/dist-src/index.js +var dist_src_exports = {}; +__export(dist_src_exports, { + request: () => request }); -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); +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); -/***/ 258: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +// pkg/dist-src/get-buffer-response.js +function getBufferResponse(response) { + return response.arrayBuffer(); +} -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 }); +// 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); } - 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; + let headers = {}; + let status; + let url; + let { fetch } = globalThis; + if ((_b = requestOptions.request) == null ? void 0 : _b.fetch) { + fetch = requestOptions.request.fetch; } - const timeoutId = setTimeout(() => { - request.destroy(); - reject( - Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), { - name: "TimeoutError" - }) + 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" ); - }, 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; + 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]; } - 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; + 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}` : ""}` + ); } - 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(); - } - } + if (status === 204 || status === 205) { + return; } - 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); + if (requestOptions.method === "HEAD") { + if (status < 400) { 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); - } + throw new import_request_error.RequestError(response.statusText, status, { + response: { + url, + status, + headers, + data: void 0 + }, + request: requestOptions }); - 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() - ); - } + if (status === 304) { + throw new import_request_error.RequestError("Not modified", status, { + response: { + url, + status, + headers, + data: await getResponseData(response) + }, + request: requestOptions }); } - 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; + 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; } - 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); + 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; } - 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); + 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(() => ""); } - updateHttpClientConfig(key, value) { - this.config = void 0; - this.configProvider = this.configProvider.then((config) => { - return { - ...config, - [key]: value - }; - }); + if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { + return response.text(); } - httpHandlerConfigs() { - return this.config ?? {}; + 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 = ""; } - /** - * Destroys a session. - * @param session The session to destroy. - */ - destroySession(session) { - if (!session.destroyed) { - session.destroy(); + if ("message" in data) { + if (Array.isArray(data.errors)) { + return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}${suffix}`; } + return `${data.message}${suffix}`; } -}; -__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; + return `Unknown error: ${JSON.stringify(data)}`; +} -// 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); +// 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) }); -}), "streamCollector"); -// Annotate the CommonJS export names for ESM import in node: +} +// 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); - /***/ }), -/***/ 9721: -/***/ ((module) => { +/***/ 3098: +/***/ ((__unused_webpack_module, 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); +"use strict"; -// 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); - } +var utilConfigProvider = __nccwpck_require__(3375); +var utilMiddleware = __nccwpck_require__(2390); +var utilEndpoints = __nccwpck_require__(5473); + +const ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT"; +const CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint"; +const DEFAULT_USE_DUALSTACK_ENDPOINT = false; +const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.ENV), + configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG), + default: false, +}; +const nodeDualstackConfigSelectors = { + environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.ENV), + configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG), + default: undefined, }; -__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); - } +const ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT"; +const CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint"; +const DEFAULT_USE_FIPS_ENDPOINT = false; +const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.ENV), + configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG), + default: false, +}; +const nodeFipsConfigSelectors = { + environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.ENV), + configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG), + default: undefined, }; -__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); - } +const resolveCustomEndpointsConfig = (input) => { + const { tls, endpoint, urlParser, useDualstackEndpoint } = input; + return Object.assign(input, { + tls: tls ?? true, + endpoint: utilMiddleware.normalizeProvider(typeof endpoint === "string" ? urlParser(endpoint) : endpoint), + isCustomEndpoint: true, + useDualstackEndpoint: utilMiddleware.normalizeProvider(useDualstackEndpoint ?? false), + }); }; -__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; +const getEndpointFromRegion = 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"); } - } - throw lastProviderError; -}, "chain"); + 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}`); +}; -// src/fromStatic.ts -var fromStatic = /* @__PURE__ */ __name((staticValue) => () => Promise.resolve(staticValue), "fromStatic"); +const resolveEndpointsConfig = (input) => { + const useDualstackEndpoint = utilMiddleware.normalizeProvider(input.useDualstackEndpoint ?? false); + const { endpoint, useFipsEndpoint, urlParser, tls } = input; + return Object.assign(input, { + tls: tls ?? true, + endpoint: endpoint + ? utilMiddleware.normalizeProvider(typeof endpoint === "string" ? urlParser(endpoint) : endpoint) + : () => getEndpointFromRegion({ ...input, useDualstackEndpoint, useFipsEndpoint }), + isCustomEndpoint: !!endpoint, + useDualstackEndpoint, + }); +}; -// 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; +const REGION_ENV_NAME = "AWS_REGION"; +const REGION_INI_NAME = "region"; +const NODE_REGION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[REGION_ENV_NAME], + configFileSelector: (profile) => profile[REGION_INI_NAME], + default: () => { + throw new Error("Region is missing"); + }, +}; +const NODE_REGION_CONFIG_FILE_OPTIONS = { + preferredFile: "credentials", +}; + +const validRegions = new Set(); +const checkRegion = (region, check = utilEndpoints.isValidHostLabel) => { + if (!validRegions.has(region) && !check(region)) { + if (region === "*") { + console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`); + } + else { + throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`); + } } - if (isExpired(resolved)) { - await coalesceProvider(); - return resolved; + else { + validRegions.add(region); } - return resolved; - }; -}, "memoize"); -// Annotate the CommonJS export names for ESM import in node: - -0 && (0); +}; +const isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips")); +const getRealRegion = (region) => isFipsRegion(region) + ? ["fips-aws-global", "aws-fips"].includes(region) + ? "us-east-1" + : region.replace(/fips-(dkr-|prod-)?|-fips/, "") + : region; -/***/ }), +const resolveRegionConfig = (input) => { + const { region, useFipsEndpoint } = input; + if (!region) { + throw new Error("Region is missing"); + } + return Object.assign(input, { + region: async () => { + const providedRegion = typeof region === "function" ? await region() : region; + const realRegion = getRealRegion(providedRegion); + checkRegion(realRegion); + return realRegion; + }, + useFipsEndpoint: async () => { + const providedRegion = typeof region === "string" ? region : await region(); + if (isFipsRegion(providedRegion)) { + return true; + } + return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint(); + }, + }); +}; -/***/ 4418: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +const getHostnameFromVariants = (variants = [], { useFipsEndpoint, useDualstackEndpoint }) => variants.find(({ tags }) => useFipsEndpoint === tags.includes("fips") && useDualstackEndpoint === tags.includes("dualstack"))?.hostname; -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); +const getResolvedHostname = (resolvedRegion, { regionHostname, partitionHostname }) => regionHostname + ? regionHostname + : partitionHostname + ? partitionHostname.replace("{region}", resolvedRegion) + : undefined; -// 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); +const getResolvedPartition = (region, { partitionHash }) => Object.keys(partitionHash || {}).find((key) => partitionHash[key].regions.includes(region)) ?? "aws"; -// 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(); +const getResolvedSigningRegion = (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); + } } - }; -}, "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 } +const getRegionInfo = (region, { useFipsEndpoint = false, useDualstackEndpoint = false, signingService, regionHash, partitionHash, }) => { + const partition = getResolvedPartition(region, { partitionHash }); + const resolvedRegion = region in regionHash ? region : partitionHash[partition]?.endpoint ?? region; + const hostnameOptions = { useFipsEndpoint, useDualstackEndpoint }; + const regionHostname = getHostnameFromVariants(regionHash[resolvedRegion]?.variants, hostnameOptions); + const partitionHostname = getHostnameFromVariants(partitionHash[partition]?.variants, hostnameOptions); + const hostname = getResolvedHostname(resolvedRegion, { regionHostname, partitionHostname }); + if (hostname === undefined) { + throw new Error(`Endpoint resolution failed for: ${{ resolvedRegion, useFipsEndpoint, useDualstackEndpoint }}`); + } + const signingRegion = getResolvedSigningRegion(hostname, { + signingRegion: regionHash[resolvedRegion]?.signingRegion, + regionRegex: partitionHash[partition].regionRegex, + useFipsEndpoint, }); - 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 + partition, + signingService, + hostname, + ...(signingRegion && { signingRegion }), + ...(regionHash[resolvedRegion]?.signingService && { + signingService: regionHash[resolvedRegion].signingService, + }), }; - }, {}); -} -__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: +exports.CONFIG_USE_DUALSTACK_ENDPOINT = CONFIG_USE_DUALSTACK_ENDPOINT; +exports.CONFIG_USE_FIPS_ENDPOINT = CONFIG_USE_FIPS_ENDPOINT; +exports.DEFAULT_USE_DUALSTACK_ENDPOINT = DEFAULT_USE_DUALSTACK_ENDPOINT; +exports.DEFAULT_USE_FIPS_ENDPOINT = DEFAULT_USE_FIPS_ENDPOINT; +exports.ENV_USE_DUALSTACK_ENDPOINT = ENV_USE_DUALSTACK_ENDPOINT; +exports.ENV_USE_FIPS_ENDPOINT = ENV_USE_FIPS_ENDPOINT; +exports.NODE_REGION_CONFIG_FILE_OPTIONS = NODE_REGION_CONFIG_FILE_OPTIONS; +exports.NODE_REGION_CONFIG_OPTIONS = NODE_REGION_CONFIG_OPTIONS; +exports.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS; +exports.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS; +exports.REGION_ENV_NAME = REGION_ENV_NAME; +exports.REGION_INI_NAME = REGION_INI_NAME; +exports.getRegionInfo = getRegionInfo; +exports.nodeDualstackConfigSelectors = nodeDualstackConfigSelectors; +exports.nodeFipsConfigSelectors = nodeFipsConfigSelectors; +exports.resolveCustomEndpointsConfig = resolveCustomEndpointsConfig; +exports.resolveEndpointsConfig = resolveEndpointsConfig; +exports.resolveRegionConfig = resolveRegionConfig; -0 && (0); +/***/ }), +/***/ 5829: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -/***/ }), +"use strict"; -/***/ 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); +var types = __nccwpck_require__(5756); +var protocolHttp = __nccwpck_require__(4418); +var utilMiddleware = __nccwpck_require__(2390); +var protocols = __nccwpck_require__(2241); -// 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); +const getSmithyContext = (context) => context[types.SMITHY_CONTEXT_KEY] || (context[types.SMITHY_CONTEXT_KEY] = {}); + +const resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => { + if (!authSchemePreference || authSchemePreference.length === 0) { + return candidateAuthOptions; } - } - return parts.join("&"); -} -__name(buildQueryString, "buildQueryString"); -// Annotate the CommonJS export names for ESM import in node: + const preferredAuthOptions = []; + for (const preferredSchemeName of authSchemePreference) { + for (const candidateAuthOption of candidateAuthOptions) { + const candidateAuthSchemeName = candidateAuthOption.schemeId.split("#")[1]; + if (candidateAuthSchemeName === preferredSchemeName) { + preferredAuthOptions.push(candidateAuthOption); + } + } + } + for (const candidateAuthOption of candidateAuthOptions) { + if (!preferredAuthOptions.find(({ schemeId }) => schemeId === candidateAuthOption.schemeId)) { + preferredAuthOptions.push(candidateAuthOption); + } + } + return preferredAuthOptions; +}; -0 && (0); +function convertHttpAuthSchemesToMap(httpAuthSchemes) { + const map = new Map(); + for (const scheme of httpAuthSchemes) { + map.set(scheme.schemeId, scheme); + } + return map; +} +const httpAuthSchemeMiddleware = (config, mwOptions) => (next, context) => async (args) => { + const options = config.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input)); + const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : []; + const resolvedOptions = resolveAuthOptions(options, authSchemePreference); + const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes); + const smithyContext = utilMiddleware.getSmithyContext(context); + const failureReasons = []; + for (const option of resolvedOptions) { + 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 = {} } = option.propertiesExtractor?.(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); +}; +const httpAuthSchemeEndpointRuleSetMiddlewareOptions = { + step: "serialize", + tags: ["HTTP_AUTH_SCHEME"], + name: "httpAuthSchemeMiddleware", + override: true, + relation: "before", + toMiddleware: "endpointV2Middleware", +}; +const getHttpAuthSchemeEndpointRuleSetPlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(httpAuthSchemeMiddleware(config, { + httpAuthSchemeParametersProvider, + identityProviderConfigProvider, + }), httpAuthSchemeEndpointRuleSetMiddlewareOptions); + }, +}); +const httpAuthSchemeMiddlewareOptions = { + step: "serialize", + tags: ["HTTP_AUTH_SCHEME"], + name: "httpAuthSchemeMiddleware", + override: true, + relation: "before", + toMiddleware: "serializerMiddleware", +}; +const getHttpAuthSchemePlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(httpAuthSchemeMiddleware(config, { + httpAuthSchemeParametersProvider, + identityProviderConfigProvider, + }), httpAuthSchemeMiddlewareOptions); + }, +}); -/***/ }), +const defaultErrorHandler = (signingProperties) => (error) => { + throw error; +}; +const defaultSuccessHandler = (httpResponse, signingProperties) => { }; +const httpSigningMiddleware = (config) => (next, context) => async (args) => { + if (!protocolHttp.HttpRequest.isInstance(args.request)) { + return next(args); + } + const smithyContext = utilMiddleware.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; +}; + +const httpSigningMiddlewareOptions = { + step: "finalizeRequest", + tags: ["HTTP_SIGNING"], + name: "httpSigningMiddleware", + aliases: ["apiKeyMiddleware", "tokenMiddleware", "awsAuthMiddleware"], + override: true, + relation: "after", + toMiddleware: "retryMiddleware", +}; +const getHttpSigningPlugin = (config) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(httpSigningMiddleware(), httpSigningMiddlewareOptions); + }, +}); -/***/ 4769: -/***/ ((module) => { +const normalizeProvider = (input) => { + if (typeof input === "function") + return input; + const promisified = Promise.resolve(input); + return () => promisified; +}; -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 }); +const makePagedClientRequest = async (CommandCtor, client, input, withCommand = (_) => _, ...args) => { + let command = new CommandCtor(input); + command = withCommand(command) ?? command; + return await client.send(command, ...args); }; -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; +function createPaginator(ClientCtor, CommandCtor, inputTokenName, outputTokenName, pageSizeTokenName) { + return async function* paginateOperation(config, input, ...additionalArguments) { + const _input = input; + let token = config.startingToken ?? _input[inputTokenName]; + 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, config.withCommand, ...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 undefined; + }; +} +const get = (fromObject, path) => { + let cursor = fromObject; + const pathComponents = path.split("."); + for (const step of pathComponents) { + if (!cursor || typeof cursor !== "object") { + return undefined; + } + cursor = cursor[step]; + } + return cursor; }; -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]; - } +function setFeature(context, feature, value) { + if (!context.__smithy_context) { + context.__smithy_context = { + features: {}, + }; } - } - return query; + else if (!context.__smithy_context.features) { + context.__smithy_context.features = {}; + } + context.__smithy_context.features[feature] = value; } -__name(parseQueryString, "parseQueryString"); -// Annotate the CommonJS export names for ESM import in node: - -0 && (0); +class DefaultIdentityProviderConfig { + authSchemes = new Map(); + constructor(config) { + for (const [key, value] of Object.entries(config)) { + if (value !== undefined) { + this.authSchemes.set(key, value); + } + } + } + getIdentityProvider(schemeId) { + return this.authSchemes.get(schemeId); + } +} +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 = protocolHttp.HttpRequest.clone(httpRequest); + if (signingProperties.in === types.HttpApiKeyAuthLocation.QUERY) { + clonedRequest.query[signingProperties.name] = identity.apiKey; + } + else if (signingProperties.in === 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; + } +} -/***/ }), +class HttpBearerAuthSigner { + async sign(httpRequest, identity, signingProperties) { + const clonedRequest = protocolHttp.HttpRequest.clone(httpRequest); + if (!identity.token) { + throw new Error("request could not be signed with `token` since the `token` is not defined"); + } + clonedRequest.headers["Authorization"] = `Bearer ${identity.token}`; + return clonedRequest; + } +} -/***/ 6375: -/***/ ((module) => { +class NoAuthSigner { + async sign(httpRequest, identity, signingProperties) { + return httpRequest; + } +} -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; +const createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired(identity) { + return doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs; }; -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; +const EXPIRATION_MS = 300_000; +const isIdentityExpired = createIsIdentityExpiredFunction(EXPIRATION_MS); +const doesIdentityRequireRefresh = (identity) => identity.expiration !== undefined; +const memoizeIdentityProvider = (provider, isExpired, requiresRefresh) => { + if (provider === undefined) { + return undefined; } - return false; - } - return false; -}, "isServerError"); -// Annotate the CommonJS export names for ESM import in node: - -0 && (0); + const normalizedProvider = typeof provider !== "function" ? async () => Promise.resolve(provider) : provider; + let resolved; + let pending; + let hasResult; + let isConstant = false; + const coalesceProvider = async (options) => { + if (!pending) { + pending = normalizedProvider(options); + } + try { + resolved = await pending; + hasResult = true; + isConstant = false; + } + finally { + pending = undefined; + } + return resolved; + }; + if (isExpired === undefined) { + return async (options) => { + if (!hasResult || options?.forceRefresh) { + resolved = await coalesceProvider(options); + } + return resolved; + }; + } + return async (options) => { + if (!hasResult || 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; + }; +}; +exports.requestBuilder = protocols.requestBuilder; +exports.DefaultIdentityProviderConfig = DefaultIdentityProviderConfig; +exports.EXPIRATION_MS = EXPIRATION_MS; +exports.HttpApiKeyAuthSigner = HttpApiKeyAuthSigner; +exports.HttpBearerAuthSigner = HttpBearerAuthSigner; +exports.NoAuthSigner = NoAuthSigner; +exports.createIsIdentityExpiredFunction = createIsIdentityExpiredFunction; +exports.createPaginator = createPaginator; +exports.doesIdentityRequireRefresh = doesIdentityRequireRefresh; +exports.getHttpAuthSchemeEndpointRuleSetPlugin = getHttpAuthSchemeEndpointRuleSetPlugin; +exports.getHttpAuthSchemePlugin = getHttpAuthSchemePlugin; +exports.getHttpSigningPlugin = getHttpSigningPlugin; +exports.getSmithyContext = getSmithyContext; +exports.httpAuthSchemeEndpointRuleSetMiddlewareOptions = httpAuthSchemeEndpointRuleSetMiddlewareOptions; +exports.httpAuthSchemeMiddleware = httpAuthSchemeMiddleware; +exports.httpAuthSchemeMiddlewareOptions = httpAuthSchemeMiddlewareOptions; +exports.httpSigningMiddleware = httpSigningMiddleware; +exports.httpSigningMiddlewareOptions = httpSigningMiddlewareOptions; +exports.isIdentityExpired = isIdentityExpired; +exports.memoizeIdentityProvider = memoizeIdentityProvider; +exports.normalizeProvider = normalizeProvider; +exports.setFeature = setFeature; /***/ }), -/***/ 8340: +/***/ 804: /***/ ((__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()}`; + +var serde = __nccwpck_require__(7669); +var utilUtf8 = __nccwpck_require__(1895); +var protocols = __nccwpck_require__(2241); +var protocolHttp = __nccwpck_require__(4418); +var utilBodyLengthBrowser = __nccwpck_require__(713); +var schema = __nccwpck_require__(9826); +var utilMiddleware = __nccwpck_require__(2390); +var utilBase64 = __nccwpck_require__(5600); + +const majorUint64 = 0; +const majorNegativeInt64 = 1; +const majorUnstructuredByteString = 2; +const majorUtf8String = 3; +const majorList = 4; +const majorMap = 5; +const majorTag = 6; +const majorSpecial = 7; +const specialFalse = 20; +const specialTrue = 21; +const specialNull = 22; +const specialUndefined = 23; +const extendedOneByte = 24; +const extendedFloat16 = 25; +const extendedFloat32 = 26; +const extendedFloat64 = 27; +const minorIndefinite = 31; +function alloc(size) { + return typeof Buffer !== "undefined" ? Buffer.alloc(size) : new Uint8Array(size); +} +const tagSymbol = Symbol("@smithy/core/cbor::tagSymbol"); +function tag(data) { + data[tagSymbol] = true; + return data; +} + +const USE_TEXT_DECODER = typeof TextDecoder !== "undefined"; +const USE_BUFFER$1 = typeof Buffer !== "undefined"; +let payload = alloc(0); +let dataView$1 = new DataView(payload.buffer, payload.byteOffset, payload.byteLength); +const textDecoder = USE_TEXT_DECODER ? new TextDecoder() : null; +let _offset = 0; +function setPayload(bytes) { + payload = bytes; + dataView$1 = new DataView(payload.buffer, payload.byteOffset, payload.byteLength); +} +function decode(at, to) { + if (at >= to) { + throw new Error("unexpected end of (decode) payload."); + } + const major = (payload[at] & 0b1110_0000) >> 5; + const minor = payload[at] & 0b0001_1111; + switch (major) { + case majorUint64: + case majorNegativeInt64: + case majorTag: + let unsignedInt; + let offset; + if (minor < 24) { + unsignedInt = minor; + offset = 1; + } + else { + switch (minor) { + case extendedOneByte: + case extendedFloat16: + case extendedFloat32: + case extendedFloat64: + const countLength = minorValueToArgumentLength[minor]; + const countOffset = (countLength + 1); + offset = countOffset; + if (to - at < countOffset) { + throw new Error(`countLength ${countLength} greater than remaining buf len.`); + } + const countIndex = at + 1; + if (countLength === 1) { + unsignedInt = payload[countIndex]; + } + else if (countLength === 2) { + unsignedInt = dataView$1.getUint16(countIndex); + } + else if (countLength === 4) { + unsignedInt = dataView$1.getUint32(countIndex); + } + else { + unsignedInt = dataView$1.getBigUint64(countIndex); + } + break; + default: + throw new Error(`unexpected minor value ${minor}.`); + } + } + if (major === majorUint64) { + _offset = offset; + return castBigInt(unsignedInt); + } + else if (major === majorNegativeInt64) { + let negativeInt; + if (typeof unsignedInt === "bigint") { + negativeInt = BigInt(-1) - unsignedInt; + } + else { + negativeInt = -1 - unsignedInt; + } + _offset = offset; + return castBigInt(negativeInt); + } + else { + if (minor === 2 || minor === 3) { + const length = decodeCount(at + offset, to); + let b = BigInt(0); + const start = at + offset + _offset; + for (let i = start; i < start + length; ++i) { + b = (b << BigInt(8)) | BigInt(payload[i]); + } + _offset = offset + _offset + length; + return minor === 3 ? -b - BigInt(1) : b; + } + else if (minor === 4) { + const decimalFraction = decode(at + offset, to); + const [exponent, mantissa] = decimalFraction; + const normalizer = mantissa < 0 ? -1 : 1; + const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + String(BigInt(normalizer) * BigInt(mantissa)); + let numericString; + const sign = mantissa < 0 ? "-" : ""; + numericString = + exponent === 0 + ? mantissaStr + : mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent); + numericString = numericString.replace(/^0+/g, ""); + if (numericString === "") { + numericString = "0"; + } + if (numericString[0] === ".") { + numericString = "0" + numericString; + } + numericString = sign + numericString; + _offset = offset + _offset; + return serde.nv(numericString); + } + else { + const value = decode(at + offset, to); + const valueOffset = _offset; + _offset = offset + valueOffset; + return tag({ tag: castBigInt(unsignedInt), value }); + } + } + case majorUtf8String: + case majorMap: + case majorList: + case majorUnstructuredByteString: + if (minor === minorIndefinite) { + switch (major) { + case majorUtf8String: + return decodeUtf8StringIndefinite(at, to); + case majorMap: + return decodeMapIndefinite(at, to); + case majorList: + return decodeListIndefinite(at, to); + case majorUnstructuredByteString: + return decodeUnstructuredByteStringIndefinite(at, to); + } + } + else { + switch (major) { + case majorUtf8String: + return decodeUtf8String(at, to); + case majorMap: + return decodeMap(at, to); + case majorList: + return decodeList(at, to); + case majorUnstructuredByteString: + return decodeUnstructuredByteString(at, to); + } + } + default: + return decodeSpecial(at, to); + } +} +function bytesToUtf8(bytes, at, to) { + if (USE_BUFFER$1 && bytes.constructor?.name === "Buffer") { + return bytes.toString("utf-8", at, to); + } + if (textDecoder) { + return textDecoder.decode(bytes.subarray(at, to)); + } + return utilUtf8.toUtf8(bytes.subarray(at, to)); +} +function demote(bigInteger) { + const num = Number(bigInteger); + if (num < Number.MIN_SAFE_INTEGER || Number.MAX_SAFE_INTEGER < num) { + console.warn(new Error(`@smithy/core/cbor - truncating BigInt(${bigInteger}) to ${num} with loss of precision.`)); + } + return num; +} +const minorValueToArgumentLength = { + [extendedOneByte]: 1, + [extendedFloat16]: 2, + [extendedFloat32]: 4, + [extendedFloat64]: 8, +}; +function bytesToFloat16(a, b) { + const sign = a >> 7; + const exponent = (a & 0b0111_1100) >> 2; + const fraction = ((a & 0b0000_0011) << 8) | b; + const scalar = sign === 0 ? 1 : -1; + let exponentComponent; + let summation; + if (exponent === 0b00000) { + if (fraction === 0b00000_00000) { + return 0; + } + else { + exponentComponent = Math.pow(2, 1 - 15); + summation = 0; + } + } + else if (exponent === 0b11111) { + if (fraction === 0b00000_00000) { + return scalar * Infinity; + } + else { + return NaN; + } + } + else { + exponentComponent = Math.pow(2, exponent - 15); + summation = 1; + } + summation += fraction / 1024; + return scalar * (exponentComponent * summation); +} +function decodeCount(at, to) { + const minor = payload[at] & 0b0001_1111; + if (minor < 24) { + _offset = 1; + return minor; + } + if (minor === extendedOneByte || + minor === extendedFloat16 || + minor === extendedFloat32 || + minor === extendedFloat64) { + const countLength = minorValueToArgumentLength[minor]; + _offset = (countLength + 1); + if (to - at < _offset) { + throw new Error(`countLength ${countLength} greater than remaining buf len.`); + } + const countIndex = at + 1; + if (countLength === 1) { + return payload[countIndex]; + } + else if (countLength === 2) { + return dataView$1.getUint16(countIndex); + } + else if (countLength === 4) { + return dataView$1.getUint32(countIndex); + } + return demote(dataView$1.getBigUint64(countIndex)); + } + throw new Error(`unexpected minor value ${minor}.`); +} +function decodeUtf8String(at, to) { + const length = decodeCount(at, to); + const offset = _offset; + at += offset; + if (to - at < length) { + throw new Error(`string len ${length} greater than remaining buf len.`); + } + const value = bytesToUtf8(payload, at, at + length); + _offset = offset + length; + return value; +} +function decodeUtf8StringIndefinite(at, to) { + at += 1; + const vector = []; + for (const base = at; at < to;) { + if (payload[at] === 0b1111_1111) { + const data = alloc(vector.length); + data.set(vector, 0); + _offset = at - base + 2; + return bytesToUtf8(data, 0, data.length); + } + const major = (payload[at] & 0b1110_0000) >> 5; + const minor = payload[at] & 0b0001_1111; + if (major !== majorUtf8String) { + throw new Error(`unexpected major type ${major} in indefinite string.`); + } + if (minor === minorIndefinite) { + throw new Error("nested indefinite string."); + } + const bytes = decodeUnstructuredByteString(at, to); + const length = _offset; + at += length; + for (let i = 0; i < bytes.length; ++i) { + vector.push(bytes[i]); + } + } + throw new Error("expected break marker."); +} +function decodeUnstructuredByteString(at, to) { + const length = decodeCount(at, to); + const offset = _offset; + at += offset; + if (to - at < length) { + throw new Error(`unstructured byte string len ${length} greater than remaining buf len.`); + } + const value = payload.subarray(at, at + length); + _offset = offset + length; + return value; +} +function decodeUnstructuredByteStringIndefinite(at, to) { + at += 1; + const vector = []; + for (const base = at; at < to;) { + if (payload[at] === 0b1111_1111) { + const data = alloc(vector.length); + data.set(vector, 0); + _offset = at - base + 2; + return data; + } + const major = (payload[at] & 0b1110_0000) >> 5; + const minor = payload[at] & 0b0001_1111; + if (major !== majorUnstructuredByteString) { + throw new Error(`unexpected major type ${major} in indefinite string.`); + } + if (minor === minorIndefinite) { + throw new Error("nested indefinite string."); + } + const bytes = decodeUnstructuredByteString(at, to); + const length = _offset; + at += length; + for (let i = 0; i < bytes.length; ++i) { + vector.push(bytes[i]); + } + } + throw new Error("expected break marker."); +} +function decodeList(at, to) { + const listDataLength = decodeCount(at, to); + const offset = _offset; + at += offset; + const base = at; + const list = Array(listDataLength); + for (let i = 0; i < listDataLength; ++i) { + const item = decode(at, to); + const itemOffset = _offset; + list[i] = item; + at += itemOffset; + } + _offset = offset + (at - base); + return list; +} +function decodeListIndefinite(at, to) { + at += 1; + const list = []; + for (const base = at; at < to;) { + if (payload[at] === 0b1111_1111) { + _offset = at - base + 2; + return list; + } + const item = decode(at, to); + const n = _offset; + at += n; + list.push(item); + } + throw new Error("expected break marker."); +} +function decodeMap(at, to) { + const mapDataLength = decodeCount(at, to); + const offset = _offset; + at += offset; + const base = at; + const map = {}; + for (let i = 0; i < mapDataLength; ++i) { + if (at >= to) { + throw new Error("unexpected end of map payload."); + } + const major = (payload[at] & 0b1110_0000) >> 5; + if (major !== majorUtf8String) { + throw new Error(`unexpected major type ${major} for map key at index ${at}.`); + } + const key = decode(at, to); + at += _offset; + const value = decode(at, to); + at += _offset; + map[key] = value; + } + _offset = offset + (at - base); + return map; +} +function decodeMapIndefinite(at, to) { + at += 1; + const base = at; + const map = {}; + for (; at < to;) { + if (at >= to) { + throw new Error("unexpected end of map payload."); + } + if (payload[at] === 0b1111_1111) { + _offset = at - base + 2; + return map; + } + const major = (payload[at] & 0b1110_0000) >> 5; + if (major !== majorUtf8String) { + throw new Error(`unexpected major type ${major} for map key.`); + } + const key = decode(at, to); + at += _offset; + const value = decode(at, to); + at += _offset; + map[key] = value; + } + throw new Error("expected break marker."); +} +function decodeSpecial(at, to) { + const minor = payload[at] & 0b0001_1111; + switch (minor) { + case specialTrue: + case specialFalse: + _offset = 1; + return minor === specialTrue; + case specialNull: + _offset = 1; + return null; + case specialUndefined: + _offset = 1; + return null; + case extendedFloat16: + if (to - at < 3) { + throw new Error("incomplete float16 at end of buf."); + } + _offset = 3; + return bytesToFloat16(payload[at + 1], payload[at + 2]); + case extendedFloat32: + if (to - at < 5) { + throw new Error("incomplete float32 at end of buf."); + } + _offset = 5; + return dataView$1.getFloat32(at + 1); + case extendedFloat64: + if (to - at < 9) { + throw new Error("incomplete float64 at end of buf."); + } + _offset = 9; + return dataView$1.getFloat64(at + 1); + default: + throw new Error(`unexpected minor value ${minor}.`); + } +} +function castBigInt(bigInt) { + if (typeof bigInt === "number") { + return bigInt; + } + const num = Number(bigInt); + if (Number.MIN_SAFE_INTEGER <= num && num <= Number.MAX_SAFE_INTEGER) { + return num; + } + return bigInt; +} + +const USE_BUFFER = typeof Buffer !== "undefined"; +const initialSize = 2048; +let data = alloc(initialSize); +let dataView = new DataView(data.buffer, data.byteOffset, data.byteLength); +let cursor = 0; +function ensureSpace(bytes) { + const remaining = data.byteLength - cursor; + if (remaining < bytes) { + if (cursor < 16_000_000) { + resize(Math.max(data.byteLength * 4, data.byteLength + bytes)); + } + else { + resize(data.byteLength + bytes + 16_000_000); + } + } +} +function toUint8Array() { + const out = alloc(cursor); + out.set(data.subarray(0, cursor), 0); + cursor = 0; + return out; +} +function resize(size) { + const old = data; + data = alloc(size); + if (old) { + if (old.copy) { + old.copy(data, 0, 0, old.byteLength); + } + else { + data.set(old, 0); + } + } + dataView = new DataView(data.buffer, data.byteOffset, data.byteLength); +} +function encodeHeader(major, value) { + if (value < 24) { + data[cursor++] = (major << 5) | value; + } + else if (value < 1 << 8) { + data[cursor++] = (major << 5) | 24; + data[cursor++] = value; + } + else if (value < 1 << 16) { + data[cursor++] = (major << 5) | extendedFloat16; + dataView.setUint16(cursor, value); + cursor += 2; + } + else if (value < 2 ** 32) { + data[cursor++] = (major << 5) | extendedFloat32; + dataView.setUint32(cursor, value); + cursor += 4; + } + else { + data[cursor++] = (major << 5) | extendedFloat64; + dataView.setBigUint64(cursor, typeof value === "bigint" ? value : BigInt(value)); + cursor += 8; + } +} +function encode(_input) { + const encodeStack = [_input]; + while (encodeStack.length) { + const input = encodeStack.pop(); + ensureSpace(typeof input === "string" ? input.length * 4 : 64); + if (typeof input === "string") { + if (USE_BUFFER) { + encodeHeader(majorUtf8String, Buffer.byteLength(input)); + cursor += data.write(input, cursor); + } + else { + const bytes = utilUtf8.fromUtf8(input); + encodeHeader(majorUtf8String, bytes.byteLength); + data.set(bytes, cursor); + cursor += bytes.byteLength; + } + continue; + } + else if (typeof input === "number") { + if (Number.isInteger(input)) { + const nonNegative = input >= 0; + const major = nonNegative ? majorUint64 : majorNegativeInt64; + const value = nonNegative ? input : -input - 1; + if (value < 24) { + data[cursor++] = (major << 5) | value; + } + else if (value < 256) { + data[cursor++] = (major << 5) | 24; + data[cursor++] = value; + } + else if (value < 65536) { + data[cursor++] = (major << 5) | extendedFloat16; + data[cursor++] = value >> 8; + data[cursor++] = value; + } + else if (value < 4294967296) { + data[cursor++] = (major << 5) | extendedFloat32; + dataView.setUint32(cursor, value); + cursor += 4; + } + else { + data[cursor++] = (major << 5) | extendedFloat64; + dataView.setBigUint64(cursor, BigInt(value)); + cursor += 8; + } + continue; + } + data[cursor++] = (majorSpecial << 5) | extendedFloat64; + dataView.setFloat64(cursor, input); + cursor += 8; + continue; + } + else if (typeof input === "bigint") { + const nonNegative = input >= 0; + const major = nonNegative ? majorUint64 : majorNegativeInt64; + const value = nonNegative ? input : -input - BigInt(1); + const n = Number(value); + if (n < 24) { + data[cursor++] = (major << 5) | n; + } + else if (n < 256) { + data[cursor++] = (major << 5) | 24; + data[cursor++] = n; + } + else if (n < 65536) { + data[cursor++] = (major << 5) | extendedFloat16; + data[cursor++] = n >> 8; + data[cursor++] = n & 0b1111_1111; + } + else if (n < 4294967296) { + data[cursor++] = (major << 5) | extendedFloat32; + dataView.setUint32(cursor, n); + cursor += 4; + } + else if (value < BigInt("18446744073709551616")) { + data[cursor++] = (major << 5) | extendedFloat64; + dataView.setBigUint64(cursor, value); + cursor += 8; + } + else { + const binaryBigInt = value.toString(2); + const bigIntBytes = new Uint8Array(Math.ceil(binaryBigInt.length / 8)); + let b = value; + let i = 0; + while (bigIntBytes.byteLength - ++i >= 0) { + bigIntBytes[bigIntBytes.byteLength - i] = Number(b & BigInt(255)); + b >>= BigInt(8); + } + ensureSpace(bigIntBytes.byteLength * 2); + data[cursor++] = nonNegative ? 0b110_00010 : 0b110_00011; + if (USE_BUFFER) { + encodeHeader(majorUnstructuredByteString, Buffer.byteLength(bigIntBytes)); + } + else { + encodeHeader(majorUnstructuredByteString, bigIntBytes.byteLength); + } + data.set(bigIntBytes, cursor); + cursor += bigIntBytes.byteLength; + } + continue; + } + else if (input === null) { + data[cursor++] = (majorSpecial << 5) | specialNull; + continue; + } + else if (typeof input === "boolean") { + data[cursor++] = (majorSpecial << 5) | (input ? specialTrue : specialFalse); + continue; + } + else if (typeof input === "undefined") { + throw new Error("@smithy/core/cbor: client may not serialize undefined value."); + } + else if (Array.isArray(input)) { + for (let i = input.length - 1; i >= 0; --i) { + encodeStack.push(input[i]); + } + encodeHeader(majorList, input.length); + continue; + } + else if (typeof input.byteLength === "number") { + ensureSpace(input.length * 2); + encodeHeader(majorUnstructuredByteString, input.length); + data.set(input, cursor); + cursor += input.byteLength; + continue; + } + else if (typeof input === "object") { + if (input instanceof serde.NumericValue) { + const decimalIndex = input.string.indexOf("."); + const exponent = decimalIndex === -1 ? 0 : decimalIndex - input.string.length + 1; + const mantissa = BigInt(input.string.replace(".", "")); + data[cursor++] = 0b110_00100; + encodeStack.push(mantissa); + encodeStack.push(exponent); + encodeHeader(majorList, 2); + continue; + } + if (input[tagSymbol]) { + if ("tag" in input && "value" in input) { + encodeStack.push(input.value); + encodeHeader(majorTag, input.tag); + continue; + } + else { + throw new Error("tag encountered with missing fields, need 'tag' and 'value', found: " + JSON.stringify(input)); + } + } + const keys = Object.keys(input); + for (let i = keys.length - 1; i >= 0; --i) { + const key = keys[i]; + encodeStack.push(input[key]); + encodeStack.push(key); + } + encodeHeader(majorMap, keys.length); + continue; + } + throw new Error(`data type ${input?.constructor?.name ?? typeof input} not compatible for encoding.`); + } +} + +const cbor = { + deserialize(payload) { + setPayload(payload); + return decode(0, payload.length); + }, + serialize(input) { + try { + encode(input); + return toUint8Array(); + } + catch (e) { + toUint8Array(); + throw e; + } + }, + resizeEncodingBuffer(size) { + resize(size); + }, +}; + +const parseCborBody = (streamBody, context) => { + return protocols.collectBody(streamBody, context).then(async (bytes) => { + if (bytes.length) { + try { + return cbor.deserialize(bytes); + } + catch (e) { + Object.defineProperty(e, "$responseBodyText", { + value: context.utf8Encoder(bytes), + }); + throw e; + } + } + return {}; + }); +}; +const dateToTag = (date) => { + return tag({ + tag: 1, + value: date.getTime() / 1000, + }); +}; +const parseCborErrorBody = async (errorBody, context) => { + const value = await parseCborBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; +}; +const loadSmithyRpcV2CborErrorCode = (output, data) => { + const sanitizeErrorCode = (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; + }; + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } + const codeKey = Object.keys(data).find((key) => key.toLowerCase() === "code"); + if (codeKey && data[codeKey] !== undefined) { + return sanitizeErrorCode(data[codeKey]); } - 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]; +const checkCborResponse = (response) => { + if (String(response.headers["smithy-protocol"]).toLowerCase() !== "rpc-v2-cbor") { + throw new Error("Malformed RPCv2 CBOR response, status: " + response.statusCode); + } +}; +const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => { + const endpoint = await context.endpoint(); + const { hostname, protocol = "https", port, path: basePath } = endpoint; + const contents = { + protocol, + hostname, + port, + method: "POST", + path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, + headers: { + ...headers, + }, + }; + if (resolvedHostname !== undefined) { + contents.hostname = resolvedHostname; + } + if (endpoint.headers) { + for (const [name, value] of Object.entries(endpoint.headers)) { + contents.headers[name] = value; + } + } + if (body !== undefined) { + contents.body = body; + try { + contents.headers["content-length"] = String(utilBodyLengthBrowser.calculateBodyLength(body)); + } + catch (e) { } + } + return new protocolHttp.HttpRequest(contents); }; -exports.getHomeDir = getHomeDir; - - -/***/ }), -/***/ 4740: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +class CborCodec extends protocols.SerdeContext { + createSerializer() { + const serializer = new CborShapeSerializer(); + serializer.setSerdeContext(this.serdeContext); + return serializer; + } + createDeserializer() { + const deserializer = new CborShapeDeserializer(); + deserializer.setSerdeContext(this.serdeContext); + return deserializer; + } +} +class CborShapeSerializer extends protocols.SerdeContext { + value; + write(schema, value) { + this.value = this.serialize(schema, value); + } + serialize(schema$1, source) { + const ns = schema.NormalizedSchema.of(schema$1); + if (source == null) { + if (ns.isIdempotencyToken()) { + return serde.generateIdempotencyToken(); + } + return source; + } + if (ns.isBlobSchema()) { + if (typeof source === "string") { + return (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(source); + } + return source; + } + if (ns.isTimestampSchema()) { + if (typeof source === "number" || typeof source === "bigint") { + return dateToTag(new Date((Number(source) / 1000) | 0)); + } + return dateToTag(source); + } + if (typeof source === "function" || typeof source === "object") { + const sourceObject = source; + if (ns.isListSchema() && Array.isArray(sourceObject)) { + const sparse = !!ns.getMergedTraits().sparse; + const newArray = []; + let i = 0; + for (const item of sourceObject) { + const value = this.serialize(ns.getValueSchema(), item); + if (value != null || sparse) { + newArray[i++] = value; + } + } + return newArray; + } + if (sourceObject instanceof Date) { + return dateToTag(sourceObject); + } + const newObject = {}; + if (ns.isMapSchema()) { + const sparse = !!ns.getMergedTraits().sparse; + for (const key of Object.keys(sourceObject)) { + const value = this.serialize(ns.getValueSchema(), sourceObject[key]); + if (value != null || sparse) { + newObject[key] = value; + } + } + } + else if (ns.isStructSchema()) { + for (const [key, memberSchema] of ns.structIterator()) { + const value = this.serialize(memberSchema, sourceObject[key]); + if (value != null) { + newObject[key] = value; + } + } + const isUnion = ns.isUnionSchema(); + if (isUnion && Array.isArray(sourceObject.$unknown)) { + const [k, v] = sourceObject.$unknown; + newObject[k] = v; + } + else if (typeof sourceObject.__type === "string") { + for (const [k, v] of Object.entries(sourceObject)) { + if (!(k in newObject)) { + newObject[k] = this.serialize(15, v); + } + } + } + } + else if (ns.isDocumentSchema()) { + for (const key of Object.keys(sourceObject)) { + newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]); + } + } + else if (ns.isBigDecimalSchema()) { + return sourceObject; + } + return newObject; + } + return source; + } + flush() { + const buffer = cbor.serialize(this.value); + this.value = undefined; + return buffer; + } +} +class CborShapeDeserializer extends protocols.SerdeContext { + read(schema, bytes) { + const data = cbor.deserialize(bytes); + return this.readValue(schema, data); + } + readValue(_schema, value) { + const ns = schema.NormalizedSchema.of(_schema); + if (ns.isTimestampSchema()) { + if (typeof value === "number") { + return serde._parseEpochTimestamp(value); + } + if (typeof value === "object") { + if (value.tag === 1 && "value" in value) { + return serde._parseEpochTimestamp(value.value); + } + } + } + if (ns.isBlobSchema()) { + if (typeof value === "string") { + return (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(value); + } + return value; + } + if (typeof value === "undefined" || + typeof value === "boolean" || + typeof value === "number" || + typeof value === "string" || + typeof value === "bigint" || + typeof value === "symbol") { + return value; + } + else if (typeof value === "object") { + if (value === null) { + return null; + } + if ("byteLength" in value) { + return value; + } + if (value instanceof Date) { + return value; + } + if (ns.isDocumentSchema()) { + return value; + } + if (ns.isListSchema()) { + const newArray = []; + const memberSchema = ns.getValueSchema(); + for (const item of value) { + const itemValue = this.readValue(memberSchema, item); + newArray.push(itemValue); + } + return newArray; + } + const newObject = {}; + if (ns.isMapSchema()) { + const targetSchema = ns.getValueSchema(); + for (const key of Object.keys(value)) { + const itemValue = this.readValue(targetSchema, value[key]); + newObject[key] = itemValue; + } + } + else if (ns.isStructSchema()) { + const isUnion = ns.isUnionSchema(); + let keys; + if (isUnion) { + keys = new Set(Object.keys(value).filter((k) => k !== "__type")); + } + for (const [key, memberSchema] of ns.structIterator()) { + if (isUnion) { + keys.delete(key); + } + if (value[key] != null) { + newObject[key] = this.readValue(memberSchema, value[key]); + } + } + if (isUnion && keys?.size === 1 && Object.keys(newObject).length === 0) { + const k = keys.values().next().value; + newObject.$unknown = [k, value[k]]; + } + else if (typeof value.__type === "string") { + for (const [k, v] of Object.entries(value)) { + if (!(k in newObject)) { + newObject[k] = v; + } + } + } + } + else if (value instanceof serde.NumericValue) { + return value; + } + return newObject; + } + else { + return value; + } + } +} -"use strict"; +class SmithyRpcV2CborProtocol extends protocols.RpcProtocol { + codec = new CborCodec(); + serializer = this.codec.createSerializer(); + deserializer = this.codec.createDeserializer(); + constructor({ defaultNamespace, errorTypeRegistries, }) { + super({ defaultNamespace, errorTypeRegistries }); + } + getShapeId() { + return "smithy.protocols#rpcv2Cbor"; + } + getPayloadCodec() { + return this.codec; + } + async serializeRequest(operationSchema, input, context) { + const request = await super.serializeRequest(operationSchema, input, context); + Object.assign(request.headers, { + "content-type": this.getDefaultContentType(), + "smithy-protocol": "rpc-v2-cbor", + accept: this.getDefaultContentType(), + }); + if (schema.deref(operationSchema.input) === "unit") { + delete request.body; + delete request.headers["content-type"]; + } + else { + if (!request.body) { + this.serializer.write(15, {}); + request.body = this.serializer.flush(); + } + try { + request.headers["content-length"] = String(request.body.byteLength); + } + catch (e) { } + } + const { service, operation } = utilMiddleware.getSmithyContext(context); + const path = `/service/${service}/operation/${operation}`; + if (request.path.endsWith("/")) { + request.path += path.slice(1); + } + else { + request.path += path; + } + return request; + } + async deserializeResponse(operationSchema, context, response) { + return super.deserializeResponse(operationSchema, context, response); + } + async handleError(operationSchema, context, response, dataObject, metadata) { + const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown"; + const errorMetadata = { + $metadata: metadata, + $fault: response.statusCode <= 500 ? "client" : "server", + }; + let namespace = this.options.defaultNamespace; + if (errorName.includes("#")) { + [namespace] = errorName.split("#"); + } + const registry = this.compositeErrorRegistry; + const nsRegistry = schema.TypeRegistry.for(namespace); + registry.copyFrom(nsRegistry); + let errorSchema; + try { + errorSchema = registry.getSchema(errorName); + } + catch (e) { + if (dataObject.Message) { + dataObject.message = dataObject.Message; + } + const syntheticRegistry = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace); + registry.copyFrom(syntheticRegistry); + const baseExceptionSchema = registry.getBaseException(); + if (baseExceptionSchema) { + const ErrorCtor = registry.getErrorCtor(baseExceptionSchema); + throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject); + } + throw Object.assign(new Error(errorName), errorMetadata, dataObject); + } + const ns = schema.NormalizedSchema.of(errorSchema); + const ErrorCtor = registry.getErrorCtor(errorSchema); + const message = dataObject.message ?? dataObject.Message ?? "Unknown"; + const exception = new ErrorCtor(message); + const output = {}; + for (const [name, member] of ns.structIterator()) { + output[name] = this.deserializer.readValue(member, dataObject[name]); + } + throw Object.assign(exception, errorMetadata, { + $fault: ns.getMergedTraits().error, + message, + }, output); + } + getDefaultContentType() { + return "application/cbor"; + } +} -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; +exports.CborCodec = CborCodec; +exports.CborShapeDeserializer = CborShapeDeserializer; +exports.CborShapeSerializer = CborShapeSerializer; +exports.SmithyRpcV2CborProtocol = SmithyRpcV2CborProtocol; +exports.buildHttpRpcRequest = buildHttpRpcRequest; +exports.cbor = cbor; +exports.checkCborResponse = checkCborResponse; +exports.dateToTag = dateToTag; +exports.loadSmithyRpcV2CborErrorCode = loadSmithyRpcV2CborErrorCode; +exports.parseCborBody = parseCborBody; +exports.parseCborErrorBody = parseCborErrorBody; +exports.tag = tag; +exports.tagSymbol = tagSymbol; /***/ }), -/***/ 9678: +/***/ 9745: /***/ ((__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); +var urlParser = __nccwpck_require__(4681); -// 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; +const toEndpointV1 = (endpoint) => { + if (typeof endpoint === "object") { + if ("url" in endpoint) { + const v1Endpoint = urlParser.parseUrl(endpoint.url); + if (endpoint.headers) { + v1Endpoint.headers = {}; + for (const [name, values] of Object.entries(endpoint.headers)) { + v1Endpoint.headers[name.toLowerCase()] = values.join(", "); + } + } + return v1Endpoint; } - } - } - } - 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 endpoint; } - } - 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); + return urlParser.parseUrl(endpoint); +}; +exports.toEndpointV1 = toEndpointV1; /***/ }), -/***/ 9155: +/***/ 2241: /***/ ((__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; +var utilStream = __nccwpck_require__(6607); +var schema = __nccwpck_require__(9826); +var serde = __nccwpck_require__(7669); +var protocolHttp = __nccwpck_require__(4418); +var utilBase64 = __nccwpck_require__(5600); +var utilUtf8 = __nccwpck_require__(1895); -/***/ }), +const collectBody = async (streamBody = new Uint8Array(), context) => { + if (streamBody instanceof Uint8Array) { + return utilStream.Uint8ArrayBlobAdapter.mutate(streamBody); + } + if (!streamBody) { + return utilStream.Uint8ArrayBlobAdapter.mutate(new Uint8Array()); + } + const fromContext = context.streamCollector(streamBody); + return utilStream.Uint8ArrayBlobAdapter.mutate(await fromContext); +}; -/***/ 1528: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +function extendedEncodeURIComponent(str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { + return "%" + c.charCodeAt(0).toString(16).toUpperCase(); + }); +} -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); +class SerdeContext { + serdeContext; + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + } +} -// 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; +class HttpProtocol extends SerdeContext { + options; + compositeErrorRegistry; + constructor(options) { + super(); + this.options = options; + this.compositeErrorRegistry = schema.TypeRegistry.for(options.defaultNamespace); + for (const etr of options.errorTypeRegistries ?? []) { + this.compositeErrorRegistry.copyFrom(etr); + } } - 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; - } + getRequestType() { + return protocolHttp.HttpRequest; } - 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; + getResponseType() { + return protocolHttp.HttpResponse; } - 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("&"); + setSerdeContext(serdeContext) { + this.serdeContext = serdeContext; + this.serializer.setSerdeContext(serdeContext); + this.deserializer.setSerdeContext(serdeContext); + if (this.getPayloadCodec()) { + this.getPayloadCodec().setSerdeContext(serdeContext); + } } - } - 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]; + updateServiceEndpoint(request, endpoint) { + if ("url" in endpoint) { + request.protocol = endpoint.url.protocol; + request.hostname = endpoint.url.hostname; + request.port = endpoint.url.port ? Number(endpoint.url.port) : undefined; + request.path = endpoint.url.pathname; + request.fragment = endpoint.url.hash || void 0; + request.username = endpoint.url.username || void 0; + request.password = endpoint.url.password || void 0; + if (!request.query) { + request.query = {}; + } + for (const [k, v] of endpoint.url.searchParams.entries()) { + request.query[k] = v; + } + if (endpoint.headers) { + for (const [name, values] of Object.entries(endpoint.headers)) { + request.headers[name] = values.join(", "); + } + } + return request; + } + else { + request.protocol = endpoint.protocol; + request.hostname = endpoint.hostname; + request.port = endpoint.port ? Number(endpoint.port) : undefined; + request.path = endpoint.path; + request.query = { + ...endpoint.query, + }; + if (endpoint.headers) { + for (const [name, value] of Object.entries(endpoint.headers)) { + request.headers[name] = value; + } + } + return request; + } } - } - 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])); + setHostPrefix(request, operationSchema, input) { + if (this.serdeContext?.disableHostPrefix) { + return; + } + const inputNs = schema.NormalizedSchema.of(operationSchema.input); + const opTraits = schema.translateTraits(operationSchema.traits ?? {}); + if (opTraits.endpoint) { + let hostPrefix = opTraits.endpoint?.[0]; + if (typeof hostPrefix === "string") { + const hostLabelInputs = [...inputNs.structIterator()].filter(([, member]) => member.getMergedTraits().hostLabel); + for (const [name] of hostLabelInputs) { + const replacement = input[name]; + if (typeof replacement !== "string") { + throw new Error(`@smithy/core/schema - ${name} in input must be a string as hostLabel.`); + } + hostPrefix = hostPrefix.replace(`{${name}}`, replacement); + } + request.hostname = hostPrefix + request.hostname; + } + } } - 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; + deserializeMetadata(output) { + return { + 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"], + }; } - 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); + async serializeEventStream({ eventStream, requestSchema, initialRequest, }) { + const eventStreamSerde = await this.loadEventStreamCapability(); + return eventStreamSerde.serializeEventStream({ + eventStream, + requestSchema, + initialRequest, + }); } - 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; + async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) { + const eventStreamSerde = await this.loadEventStreamCapability(); + return eventStreamSerde.deserializeEventStream({ + response, + responseSchema, + initialResponseContainer, + }); } - } - 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]; + async loadEventStreamCapability() { + const { EventStreamSerde } = await __nccwpck_require__.e(/* import() */ 702).then(__nccwpck_require__.t.bind(__nccwpck_require__, 3702, 19)); + return new EventStreamSerde({ + marshaller: this.getEventStreamMarshaller(), + serializer: this.serializer, + deserializer: this.deserializer, + serdeContext: this.serdeContext, + defaultContentType: this.getDefaultContentType(), + }); } - } - 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" - ); + getDefaultContentType() { + throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`); } - 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); + async deserializeHttpMessage(schema, context, response, arg4, arg5) { + return []; + } + getEventStreamMarshaller() { + const context = this.serdeContext; + if (!context.eventStreamMarshaller) { + throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext."); + } + return context.eventStreamMarshaller; + } +} + +class HttpBindingProtocol extends HttpProtocol { + async serializeRequest(operationSchema, _input, context) { + const input = _input && typeof _input === "object" ? _input : {}; + const serializer = this.serializer; + const query = {}; + const headers = {}; + const endpoint = await context.endpoint(); + const ns = schema.NormalizedSchema.of(operationSchema?.input); + const payloadMemberNames = []; + const payloadMemberSchemas = []; + let hasNonHttpBindingMember = false; + let payload; + const request = new protocolHttp.HttpRequest({ + protocol: "", + hostname: "", + port: undefined, + path: "", + fragment: undefined, + query: query, + headers: headers, + body: undefined, + }); + if (endpoint) { + this.updateServiceEndpoint(request, endpoint); + this.setHostPrefix(request, operationSchema, input); + const opTraits = schema.translateTraits(operationSchema.traits); + if (opTraits.http) { + request.method = opTraits.http[0]; + const [path, search] = opTraits.http[1].split("?"); + if (request.path == "/") { + request.path = path; + } + else { + request.path += path; + } + const traitSearchParams = new URLSearchParams(search ?? ""); + Object.assign(query, Object.fromEntries(traitSearchParams)); + } + } + for (const [memberName, memberNs] of ns.structIterator()) { + const memberTraits = memberNs.getMergedTraits() ?? {}; + const inputMemberValue = input[memberName]; + if (inputMemberValue == null && !memberNs.isIdempotencyToken()) { + if (memberTraits.httpLabel) { + if (request.path.includes(`{${memberName}+}`) || request.path.includes(`{${memberName}}`)) { + throw new Error(`No value provided for input HTTP label: ${memberName}.`); + } + } + continue; + } + if (memberTraits.httpPayload) { + const isStreaming = memberNs.isStreaming(); + if (isStreaming) { + const isEventStream = memberNs.isStructSchema(); + if (isEventStream) { + if (input[memberName]) { + payload = await this.serializeEventStream({ + eventStream: input[memberName], + requestSchema: ns, + }); + } + } + else { + payload = inputMemberValue; + } + } + else { + serializer.write(memberNs, inputMemberValue); + payload = serializer.flush(); + } + } + else if (memberTraits.httpLabel) { + serializer.write(memberNs, inputMemberValue); + const replacement = serializer.flush(); + if (request.path.includes(`{${memberName}+}`)) { + request.path = request.path.replace(`{${memberName}+}`, replacement.split("/").map(extendedEncodeURIComponent).join("/")); + } + else if (request.path.includes(`{${memberName}}`)) { + request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement)); + } + } + else if (memberTraits.httpHeader) { + serializer.write(memberNs, inputMemberValue); + headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush()); + } + else if (typeof memberTraits.httpPrefixHeaders === "string") { + for (const [key, val] of Object.entries(inputMemberValue)) { + const amalgam = memberTraits.httpPrefixHeaders + key; + serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val); + headers[amalgam.toLowerCase()] = serializer.flush(); + } + } + else if (memberTraits.httpQuery || memberTraits.httpQueryParams) { + this.serializeQuery(memberNs, inputMemberValue, query); + } + else { + hasNonHttpBindingMember = true; + payloadMemberNames.push(memberName); + payloadMemberSchemas.push(memberNs); + } + } + if (hasNonHttpBindingMember && input) { + const [namespace, name] = (ns.getName(true) ?? "#Unknown").split("#"); + const requiredMembers = ns.getSchema()[6]; + const payloadSchema = [ + 3, + namespace, + name, + ns.getMergedTraits(), + payloadMemberNames, + payloadMemberSchemas, + undefined, + ]; + if (requiredMembers) { + payloadSchema[6] = requiredMembers; + } + else { + payloadSchema.pop(); + } + serializer.write(payloadSchema, input); + payload = serializer.flush(); + } + request.headers = headers; + request.query = query; + request.body = payload; + return request; + } + serializeQuery(ns, data, query) { + const serializer = this.serializer; + const traits = ns.getMergedTraits(); + if (traits.httpQueryParams) { + for (const [key, val] of Object.entries(data)) { + if (!(key in query)) { + const valueSchema = ns.getValueSchema(); + Object.assign(valueSchema.getMergedTraits(), { + ...traits, + httpQuery: key, + httpQueryParams: undefined, + }); + this.serializeQuery(valueSchema, val, query); + } + } + return; + } + if (ns.isListSchema()) { + const sparse = !!ns.getMergedTraits().sparse; + const buffer = []; + for (const item of data) { + serializer.write([ns.getValueSchema(), traits], item); + const serializable = serializer.flush(); + if (sparse || serializable !== undefined) { + buffer.push(serializable); + } + } + query[traits.httpQuery] = buffer; + } + else { + serializer.write([ns, traits], data); + query[traits.httpQuery] = serializer.flush(); } - } - 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"); + async deserializeResponse(operationSchema, context, response) { + const deserializer = this.deserializer; + const ns = schema.NormalizedSchema.of(operationSchema.output); + const dataObject = {}; + if (response.statusCode >= 300) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(15, bytes)); + } + await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response)); + throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw."); + } + for (const header in response.headers) { + const value = response.headers[header]; + delete response.headers[header]; + response.headers[header.toLowerCase()] = value; + } + const nonHttpBindingMembers = await this.deserializeHttpMessage(ns, context, response, dataObject); + if (nonHttpBindingMembers.length) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + const dataFromBody = await deserializer.read(ns, bytes); + for (const member of nonHttpBindingMembers) { + if (dataFromBody[member] != null) { + dataObject[member] = dataFromBody[member]; + } + } + } + } + else if (nonHttpBindingMembers.discardResponseBody) { + await collectBody(response.body, context); + } + dataObject.$metadata = this.deserializeMetadata(response); + return dataObject; } - } -}; -__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 - () => { + async deserializeHttpMessage(schema$1, context, response, arg4, arg5) { + let dataObject; + if (arg4 instanceof Set) { + dataObject = arg5; } - ); - } else { - return handler(command).then((result) => result.output); + else { + dataObject = arg4; + } + let discardResponseBody = true; + const deserializer = this.deserializer; + const ns = schema.NormalizedSchema.of(schema$1); + const nonHttpBindingMembers = []; + for (const [memberName, memberSchema] of ns.structIterator()) { + const memberTraits = memberSchema.getMemberTraits(); + if (memberTraits.httpPayload) { + discardResponseBody = false; + const isStreaming = memberSchema.isStreaming(); + if (isStreaming) { + const isEventStream = memberSchema.isStructSchema(); + if (isEventStream) { + dataObject[memberName] = await this.deserializeEventStream({ + response, + responseSchema: ns, + }); + } + else { + dataObject[memberName] = utilStream.sdkStreamMixin(response.body); + } + } + else if (response.body) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + dataObject[memberName] = await deserializer.read(memberSchema, bytes); + } + } + } + else if (memberTraits.httpHeader) { + const key = String(memberTraits.httpHeader).toLowerCase(); + const value = response.headers[key]; + if (null != value) { + if (memberSchema.isListSchema()) { + const headerListValueSchema = memberSchema.getValueSchema(); + headerListValueSchema.getMergedTraits().httpHeader = key; + let sections; + if (headerListValueSchema.isTimestampSchema() && + headerListValueSchema.getSchema() === 4) { + sections = serde.splitEvery(value, ",", 2); + } + else { + sections = serde.splitHeader(value); + } + const list = []; + for (const section of sections) { + list.push(await deserializer.read(headerListValueSchema, section.trim())); + } + dataObject[memberName] = list; + } + else { + dataObject[memberName] = await deserializer.read(memberSchema, value); + } + } + } + else if (memberTraits.httpPrefixHeaders !== undefined) { + dataObject[memberName] = {}; + for (const [header, value] of Object.entries(response.headers)) { + if (header.startsWith(memberTraits.httpPrefixHeaders)) { + const valueSchema = memberSchema.getValueSchema(); + valueSchema.getMergedTraits().httpHeader = header; + dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read(valueSchema, value); + } + } + } + else if (memberTraits.httpResponseCode) { + dataObject[memberName] = response.statusCode; + } + else { + nonHttpBindingMembers.push(memberName); + } + } + nonHttpBindingMembers.discardResponseBody = discardResponseBody; + return nonHttpBindingMembers; + } +} + +class RpcProtocol extends HttpProtocol { + async serializeRequest(operationSchema, _input, context) { + const serializer = this.serializer; + const query = {}; + const headers = {}; + const endpoint = await context.endpoint(); + const ns = schema.NormalizedSchema.of(operationSchema?.input); + const schema$1 = ns.getSchema(); + let payload; + const input = _input && typeof _input === "object" ? _input : {}; + const request = new protocolHttp.HttpRequest({ + protocol: "", + hostname: "", + port: undefined, + path: "/", + fragment: undefined, + query: query, + headers: headers, + body: undefined, + }); + if (endpoint) { + this.updateServiceEndpoint(request, endpoint); + this.setHostPrefix(request, operationSchema, input); + } + if (input) { + const eventStreamMember = ns.getEventStreamMember(); + if (eventStreamMember) { + if (input[eventStreamMember]) { + const initialRequest = {}; + for (const [memberName, memberSchema] of ns.structIterator()) { + if (memberName !== eventStreamMember && input[memberName]) { + serializer.write(memberSchema, input[memberName]); + initialRequest[memberName] = serializer.flush(); + } + } + payload = await this.serializeEventStream({ + eventStream: input[eventStreamMember], + requestSchema: ns, + initialRequest, + }); + } + } + else { + serializer.write(schema$1, input); + payload = serializer.flush(); + } + } + request.headers = Object.assign(request.headers, headers); + request.query = query; + request.body = payload; + request.method = "POST"; + return request; + } + async deserializeResponse(operationSchema, context, response) { + const deserializer = this.deserializer; + const ns = schema.NormalizedSchema.of(operationSchema.output); + const dataObject = {}; + if (response.statusCode >= 300) { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(15, bytes)); + } + await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response)); + throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw."); + } + for (const header in response.headers) { + const value = response.headers[header]; + delete response.headers[header]; + response.headers[header.toLowerCase()] = value; + } + const eventStreamMember = ns.getEventStreamMember(); + if (eventStreamMember) { + dataObject[eventStreamMember] = await this.deserializeEventStream({ + response, + responseSchema: ns, + initialResponseContainer: dataObject, + }); + } + else { + const bytes = await collectBody(response.body, context); + if (bytes.byteLength > 0) { + Object.assign(dataObject, await deserializer.read(ns, bytes)); + } + } + dataObject.$metadata = this.deserializeMetadata(response); + return dataObject; + } +} + +const resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => { + if (input != null && input[memberName] !== undefined) { + const labelValue = labelValueProvider(); + if (labelValue == null || labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: " + memberName + "."); + } + resolvedPath = resolvedPath.replace(uriLabel, isGreedyLabel + ? labelValue + .split("/") + .map((segment) => extendedEncodeURIComponent(segment)) + .join("/") + : extendedEncodeURIComponent(labelValue)); } - } - destroy() { - if (this.config.requestHandler.destroy) - this.config.requestHandler.destroy(); - } + else { + throw new Error("No value provided for input HTTP label: " + memberName + "."); + } + return resolvedPath; }; -__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 +function requestBuilder(input, context) { + return new RequestBuilder(input, context); +} +class RequestBuilder { + input; + context; + query = {}; + method = ""; + headers = {}; + path = ""; + body = null; + hostname = ""; + resolvePathStack = []; + constructor(input, context) { + this.input = input; + this.context = context; + } + 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 protocolHttp.HttpRequest({ + protocol, + hostname: this.hostname || hostname, + port, + method: this.method, + path: this.path, + query: this.query, + body: this.body, + headers: this.headers, }); - } - }, __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; + hn(hostname) { + this.hostname = hostname; + return this; } - if (value === 1) { - return true; + bp(uriLabel) { + this.resolvePathStack.push((basePath) => { + this.path = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + uriLabel; + }); + return this; } - } - if (typeof value === "string") { - const lower = value.toLowerCase(); - if (lower === "false" || lower === "true") { - logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)); + p(memberName, labelValueProvider, uriLabel, isGreedyLabel) { + this.resolvePathStack.push((path) => { + this.path = resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel); + }); + return this; } - if (lower === "false") { - return false; + h(headers) { + this.headers = headers; + return this; } - if (lower === "true") { - return true; + q(query) { + this.query = query; + return this; } - } - 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; + b(body) { + this.body = body; + return this; } - } - 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}`); + m(method) { + this.method = method; + return this; } - } - 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; +function determineTimestampFormat(ns, settings) { + if (settings.timestampFormat.useTrait) { + if (ns.isTimestampSchema() && + (ns.getSchema() === 5 || + ns.getSchema() === 6 || + ns.getSchema() === 7)) { + return ns.getSchema(); + } } - }); - 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 + const { httpLabel, httpPrefixHeaders, httpHeader, httpQuery } = ns.getMergedTraits(); + const bindingFormat = settings.httpBindings + ? typeof httpPrefixHeaders === "string" || Boolean(httpHeader) + ? 6 + : Boolean(httpQuery) || Boolean(httpLabel) + ? 5 + : undefined + : undefined; + return bindingFormat ?? settings.timestampFormat.default; +} -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; +class FromStringShapeDeserializer extends SerdeContext { + settings; + constructor(settings) { + super(); + this.settings = settings; } - checksumAlgorithms.push({ - algorithmId: () => algorithmId, - checksumConstructor: () => runtimeConfig[algorithmId] - }); - } - return { - _checksumAlgorithms: checksumAlgorithms, - addChecksumAlgorithm(algo) { - this._checksumAlgorithms.push(algo); - }, - checksumAlgorithms() { - return this._checksumAlgorithms; + read(_schema, data) { + const ns = schema.NormalizedSchema.of(_schema); + if (ns.isListSchema()) { + return serde.splitHeader(data).map((item) => this.read(ns.getValueSchema(), item)); + } + if (ns.isBlobSchema()) { + return (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(data); + } + if (ns.isTimestampSchema()) { + const format = determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + return serde._parseRfc3339DateTimeWithOffset(data); + case 6: + return serde._parseRfc7231DateTime(data); + case 7: + return serde._parseEpochTimestamp(data); + default: + console.warn("Missing timestamp format, parsing value with Date constructor:", data); + return new Date(data); + } + } + if (ns.isStringSchema()) { + const mediaType = ns.getMergedTraits().mediaType; + let intermediateValue = data; + if (mediaType) { + if (ns.getMergedTraits().httpHeader) { + intermediateValue = this.base64ToUtf8(intermediateValue); + } + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + intermediateValue = serde.LazyJsonString.from(intermediateValue); + } + return intermediateValue; + } + } + if (ns.isNumericSchema()) { + return Number(data); + } + if (ns.isBigIntegerSchema()) { + return BigInt(data); + } + if (ns.isBigDecimalSchema()) { + return new serde.NumericValue(data, "bigDecimal"); + } + if (ns.isBooleanSchema()) { + return String(data).toLowerCase() === "true"; + } + return data; } - }; -}, "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; + base64ToUtf8(base64String) { + return (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)((this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(base64String)); } - }; -}, "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"); +class HttpInterceptingShapeDeserializer extends SerdeContext { + codecDeserializer; + stringDeserializer; + constructor(codecDeserializer, codecSettings) { + super(); + this.codecDeserializer = codecDeserializer; + this.stringDeserializer = new FromStringShapeDeserializer(codecSettings); + } + setSerdeContext(serdeContext) { + this.stringDeserializer.setSerdeContext(serdeContext); + this.codecDeserializer.setSerdeContext(serdeContext); + this.serdeContext = serdeContext; + } + read(schema$1, data) { + const ns = schema.NormalizedSchema.of(schema$1); + const traits = ns.getMergedTraits(); + const toString = this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8; + if (traits.httpHeader || traits.httpResponseCode) { + return this.stringDeserializer.read(ns, toString(data)); + } + if (traits.httpPayload) { + if (ns.isBlobSchema()) { + const toBytes = this.serdeContext?.utf8Decoder ?? utilUtf8.fromUtf8; + if (typeof data === "string") { + return toBytes(data); + } + return data; + } + else if (ns.isStringSchema()) { + if ("byteLength" in data) { + return toString(data); + } + return data; + } + } + return this.codecDeserializer.read(ns, data); + } +} -// 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]); +class ToStringShapeSerializer extends SerdeContext { + settings; + stringBuffer = ""; + constructor(settings) { + super(); + this.settings = settings; + } + write(schema$1, value) { + const ns = schema.NormalizedSchema.of(schema$1); + switch (typeof value) { + case "object": + if (value === null) { + this.stringBuffer = "null"; + return; + } + if (ns.isTimestampSchema()) { + if (!(value instanceof Date)) { + throw new Error(`@smithy/core/protocols - received non-Date value ${value} when schema expected Date in ${ns.getName(true)}`); + } + const format = determineTimestampFormat(ns, this.settings); + switch (format) { + case 5: + this.stringBuffer = value.toISOString().replace(".000Z", "Z"); + break; + case 6: + this.stringBuffer = serde.dateToUtcString(value); + break; + case 7: + this.stringBuffer = String(value.getTime() / 1000); + break; + default: + console.warn("Missing timestamp format, using epoch seconds", value); + this.stringBuffer = String(value.getTime() / 1000); + } + return; + } + if (ns.isBlobSchema() && "byteLength" in value) { + this.stringBuffer = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value); + return; + } + if (ns.isListSchema() && Array.isArray(value)) { + let buffer = ""; + for (const item of value) { + this.write([ns.getValueSchema(), ns.getMergedTraits()], item); + const headerItem = this.flush(); + const serialized = ns.getValueSchema().isTimestampSchema() ? headerItem : serde.quoteHeader(headerItem); + if (buffer !== "") { + buffer += ", "; + } + buffer += serialized; + } + this.stringBuffer = buffer; + return; + } + this.stringBuffer = JSON.stringify(value, null, 2); + break; + case "string": + const mediaType = ns.getMergedTraits().mediaType; + let intermediateValue = value; + if (mediaType) { + const isJson = mediaType === "application/json" || mediaType.endsWith("+json"); + if (isJson) { + intermediateValue = serde.LazyJsonString.from(intermediateValue); + } + if (ns.getMergedTraits().httpHeader) { + this.stringBuffer = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(intermediateValue.toString()); + return; + } + } + this.stringBuffer = value; + break; + default: + if (ns.isIdempotencyToken()) { + this.stringBuffer = serde.generateIdempotencyToken(); + } + else { + this.stringBuffer = String(value); + } + } } - } - 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); + flush() { + const buffer = this.stringBuffer; + this.stringBuffer = ""; + return buffer; } - 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; +class HttpInterceptingShapeSerializer { + codecSerializer; + stringSerializer; + buffer; + constructor(codecSerializer, codecSettings, stringSerializer = new ToStringShapeSerializer(codecSettings)) { + this.codecSerializer = codecSerializer; + this.stringSerializer = stringSerializer; } - } - for (const key of Object.keys(instructions)) { - if (!Array.isArray(instructions[key])) { - target[key] = instructions[key]; - continue; + setSerdeContext(serdeContext) { + this.codecSerializer.setSerdeContext(serdeContext); + this.stringSerializer.setSerdeContext(serdeContext); } - 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]; - } + write(schema$1, value) { + const ns = schema.NormalizedSchema.of(schema$1); + const traits = ns.getMergedTraits(); + if (traits.httpHeader || traits.httpLabel || traits.httpQuery) { + this.stringSerializer.write(ns, value); + this.buffer = this.stringSerializer.flush(); + return; } - return _instructions; - }, - {} - ) - ); -}, "mapWithFilter"); -var applyInstruction = /* @__PURE__ */ __name((target, source, instructions, targetKey) => { - if (source !== null) { - let instruction = instructions[targetKey]; - if (typeof instruction === "function") { - instruction = [, instruction]; + return this.codecSerializer.write(ns, value); } - 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(); + flush() { + if (this.buffer !== undefined) { + const buffer = this.buffer; + this.buffer = undefined; + return buffer; + } + return this.codecSerializer.flush(); } - } 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"); +exports.FromStringShapeDeserializer = FromStringShapeDeserializer; +exports.HttpBindingProtocol = HttpBindingProtocol; +exports.HttpInterceptingShapeDeserializer = HttpInterceptingShapeDeserializer; +exports.HttpInterceptingShapeSerializer = HttpInterceptingShapeSerializer; +exports.HttpProtocol = HttpProtocol; +exports.RequestBuilder = RequestBuilder; +exports.RpcProtocol = RpcProtocol; +exports.SerdeContext = SerdeContext; +exports.ToStringShapeSerializer = ToStringShapeSerializer; +exports.collectBody = collectBody; +exports.determineTimestampFormat = determineTimestampFormat; +exports.extendedEncodeURIComponent = extendedEncodeURIComponent; +exports.requestBuilder = requestBuilder; +exports.resolvedPath = resolvedPath; -// 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); +/***/ 9826: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +"use strict"; -/***/ }), +var protocolHttp = __nccwpck_require__(4418); +var utilMiddleware = __nccwpck_require__(2390); +var endpoints = __nccwpck_require__(9745); -/***/ 5756: -/***/ ((module) => { +const deref = (schemaRef) => { + if (typeof schemaRef === "function") { + return schemaRef(); + } + return schemaRef; +}; -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 }); +const operation = (namespace, name, traits, input, output) => ({ + name, + namespace, + traits, + input, + output, +}); + +const schemaDeserializationMiddleware = (config) => (next, context) => async (args) => { + const { response } = await next(args); + const { operationSchema } = utilMiddleware.getSmithyContext(context); + const [, ns, n, t, i, o] = operationSchema ?? []; + try { + const parsed = await config.protocol.deserializeResponse(operation(ns, n, t, i, o), { + ...config, + ...context, + }, response); + return { + response, + output: parsed, + }; + } + catch (error) { + Object.defineProperty(error, "$response", { + value: response, + enumerable: false, + writable: false, + configurable: false, + }); + if (!("$metadata" in error)) { + const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`; + try { + error.message += "\n " + hint; + } + catch (e) { + if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") { + console.warn(hint); + } + else { + context.logger?.warn?.(hint); + } + } + if (typeof error.$responseBodyText !== "undefined") { + if (error.$response) { + error.$response.body = error.$responseBodyText; + } + } + try { + if (protocolHttp.HttpResponse.isInstance(response)) { + const { headers = {} } = response; + const headerEntries = Object.entries(headers); + error.$metadata = { + httpStatusCode: response.statusCode, + requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries), + extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries), + cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries), + }; + } + } + catch (e) { + } + } + throw error; + } }; -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; +const findHeader = (pattern, headers) => { + return (headers.find(([k]) => { + return k.match(pattern); + }) || [void 0, void 0])[1]; }; -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 +const schemaSerializationMiddleware = (config) => (next, context) => async (args) => { + const { operationSchema } = utilMiddleware.getSmithyContext(context); + const [, ns, n, t, i, o] = operationSchema ?? []; + const endpoint = context.endpointV2 + ? async () => endpoints.toEndpointV1(context.endpointV2) + : config.endpoint; + const request = await config.protocol.serializeRequest(operation(ns, n, t, i, o), args.input, { + ...config, + ...context, + endpoint, }); - } - if (runtimeConfig.md5 != void 0) { - checksumAlgorithms.push({ - algorithmId: () => "md5" /* MD5 */, - checksumConstructor: () => runtimeConfig.md5 + return next({ + ...args, + request, }); - } - 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 }); +const deserializerMiddlewareOption = { + name: "deserializerMiddleware", + step: "deserialize", + tags: ["DESERIALIZER"], + override: 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; +const serializerMiddlewareOption = { + name: "serializerMiddleware", + step: "serialize", + tags: ["SERIALIZER"], + override: true, }; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +function getSchemaSerdePlugin(config) { + return { + applyToStack: (commandStack) => { + commandStack.add(schemaSerializationMiddleware(config), serializerMiddlewareOption); + commandStack.add(schemaDeserializationMiddleware(config), deserializerMiddlewareOption); + config.protocol.setSerdeContext(config); + }, + }; +} + +class Schema { + name; + namespace; + traits; + static assign(instance, values) { + const schema = Object.assign(instance, values); + return schema; + } + static [Symbol.hasInstance](lhs) { + const isPrototype = this.prototype.isPrototypeOf(lhs); + if (!isPrototype && typeof lhs === "object" && lhs !== null) { + const list = lhs; + return list.symbol === this.symbol; + } + return isPrototype; + } + getName() { + return this.namespace + "#" + this.name; + } +} -// src/index.ts -var src_exports = {}; -__export(src_exports, { - parseUrl: () => parseUrl +class ListSchema extends Schema { + static symbol = Symbol.for("@smithy/lis"); + name; + traits; + valueSchema; + symbol = ListSchema.symbol; +} +const list = (namespace, name, traits, valueSchema) => Schema.assign(new ListSchema(), { + name, + namespace, + traits, + valueSchema, }); -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); +class MapSchema extends Schema { + static symbol = Symbol.for("@smithy/map"); + name; + traits; + keySchema; + valueSchema; + symbol = MapSchema.symbol; +} +const map = (namespace, name, traits, keySchema, valueSchema) => Schema.assign(new MapSchema(), { + name, + namespace, + traits, + keySchema, + valueSchema, +}); +class OperationSchema extends Schema { + static symbol = Symbol.for("@smithy/ope"); + name; + traits; + input; + output; + symbol = OperationSchema.symbol; +} +const op = (namespace, name, traits, input, output) => Schema.assign(new OperationSchema(), { + name, + namespace, + traits, + input, + output, +}); +class StructureSchema extends Schema { + static symbol = Symbol.for("@smithy/str"); + name; + traits; + memberNames; + memberList; + symbol = StructureSchema.symbol; +} +const struct = (namespace, name, traits, memberNames, memberList) => Schema.assign(new StructureSchema(), { + name, + namespace, + traits, + memberNames, + memberList, +}); -/***/ }), +class ErrorSchema extends StructureSchema { + static symbol = Symbol.for("@smithy/err"); + ctor; + symbol = ErrorSchema.symbol; +} +const error = (namespace, name, traits, memberNames, memberList, ctor) => Schema.assign(new ErrorSchema(), { + name, + namespace, + traits, + memberNames, + memberList, + ctor: null, +}); -/***/ 305: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +const traitsCache = []; +function translateTraits(indicator) { + if (typeof indicator === "object") { + return indicator; + } + indicator = indicator | 0; + if (traitsCache[indicator]) { + return traitsCache[indicator]; + } + const traits = {}; + let i = 0; + for (const trait of [ + "httpLabel", + "idempotent", + "idempotencyToken", + "sensitive", + "httpPayload", + "httpResponseCode", + "httpQueryParams", + ]) { + if (((indicator >> i++) & 1) === 1) { + traits[trait] = 1; + } + } + return (traitsCache[indicator] = traits); +} + +const anno = { + it: Symbol.for("@smithy/nor-struct-it"), + ns: Symbol.for("@smithy/ns"), +}; +const simpleSchemaCacheN = []; +const simpleSchemaCacheS = {}; +class NormalizedSchema { + ref; + memberName; + static symbol = Symbol.for("@smithy/nor"); + symbol = NormalizedSchema.symbol; + name; + schema; + _isMemberSchema; + traits; + memberTraits; + normalizedTraits; + constructor(ref, memberName) { + this.ref = ref; + this.memberName = memberName; + const traitStack = []; + let _ref = ref; + let schema = ref; + this._isMemberSchema = false; + while (isMemberSchema(_ref)) { + traitStack.push(_ref[1]); + _ref = _ref[0]; + schema = deref(_ref); + this._isMemberSchema = true; + } + if (traitStack.length > 0) { + this.memberTraits = {}; + for (let i = traitStack.length - 1; i >= 0; --i) { + const traitSet = traitStack[i]; + Object.assign(this.memberTraits, translateTraits(traitSet)); + } + } + else { + this.memberTraits = 0; + } + if (schema instanceof NormalizedSchema) { + const computedMemberTraits = this.memberTraits; + Object.assign(this, schema); + this.memberTraits = Object.assign({}, computedMemberTraits, schema.getMemberTraits(), this.getMemberTraits()); + this.normalizedTraits = void 0; + this.memberName = memberName ?? schema.memberName; + return; + } + this.schema = deref(schema); + if (isStaticSchema(this.schema)) { + this.name = `${this.schema[1]}#${this.schema[2]}`; + this.traits = this.schema[3]; + } + else { + this.name = this.memberName ?? String(schema); + this.traits = 0; + } + if (this._isMemberSchema && !memberName) { + throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(true)} missing member name.`); + } + } + static [Symbol.hasInstance](lhs) { + const isPrototype = this.prototype.isPrototypeOf(lhs); + if (!isPrototype && typeof lhs === "object" && lhs !== null) { + const ns = lhs; + return ns.symbol === this.symbol; + } + return isPrototype; + } + static of(ref) { + const keyAble = typeof ref === "function" || (typeof ref === "object" && ref !== null); + if (typeof ref === "number") { + if (simpleSchemaCacheN[ref]) { + return simpleSchemaCacheN[ref]; + } + } + else if (typeof ref === "string") { + if (simpleSchemaCacheS[ref]) { + return simpleSchemaCacheS[ref]; + } + } + else if (keyAble) { + if (ref[anno.ns]) { + return ref[anno.ns]; + } + } + const sc = deref(ref); + if (sc instanceof NormalizedSchema) { + return sc; + } + if (isMemberSchema(sc)) { + const [ns, traits] = sc; + if (ns instanceof NormalizedSchema) { + Object.assign(ns.getMergedTraits(), translateTraits(traits)); + return ns; + } + throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(ref, null, 2)}.`); + } + const ns = new NormalizedSchema(sc); + if (keyAble) { + return (ref[anno.ns] = ns); + } + if (typeof sc === "string") { + return (simpleSchemaCacheS[sc] = ns); + } + if (typeof sc === "number") { + return (simpleSchemaCacheN[sc] = ns); + } + return ns; + } + getSchema() { + const sc = this.schema; + if (Array.isArray(sc) && sc[0] === 0) { + return sc[4]; + } + return sc; + } + getName(withNamespace = false) { + const { name } = this; + const short = !withNamespace && name && name.includes("#"); + return short ? name.split("#")[1] : name || undefined; + } + getMemberName() { + return this.memberName; + } + isMemberSchema() { + return this._isMemberSchema; + } + isListSchema() { + const sc = this.getSchema(); + return typeof sc === "number" + ? sc >= 64 && sc < 128 + : sc[0] === 1; + } + isMapSchema() { + const sc = this.getSchema(); + return typeof sc === "number" + ? sc >= 128 && sc <= 0b1111_1111 + : sc[0] === 2; + } + isStructSchema() { + const sc = this.getSchema(); + if (typeof sc !== "object") { + return false; + } + const id = sc[0]; + return (id === 3 || + id === -3 || + id === 4); + } + isUnionSchema() { + const sc = this.getSchema(); + if (typeof sc !== "object") { + return false; + } + return sc[0] === 4; + } + isBlobSchema() { + const sc = this.getSchema(); + return sc === 21 || sc === 42; + } + isTimestampSchema() { + const sc = this.getSchema(); + return (typeof sc === "number" && + sc >= 4 && + sc <= 7); + } + isUnitSchema() { + return this.getSchema() === "unit"; + } + isDocumentSchema() { + return this.getSchema() === 15; + } + isStringSchema() { + return this.getSchema() === 0; + } + isBooleanSchema() { + return this.getSchema() === 2; + } + isNumericSchema() { + return this.getSchema() === 1; + } + isBigIntegerSchema() { + return this.getSchema() === 17; + } + isBigDecimalSchema() { + return this.getSchema() === 19; + } + isStreaming() { + const { streaming } = this.getMergedTraits(); + return !!streaming || this.getSchema() === 42; + } + isIdempotencyToken() { + return !!this.getMergedTraits().idempotencyToken; + } + getMergedTraits() { + return (this.normalizedTraits ?? + (this.normalizedTraits = { + ...this.getOwnTraits(), + ...this.getMemberTraits(), + })); + } + getMemberTraits() { + return translateTraits(this.memberTraits); + } + getOwnTraits() { + return translateTraits(this.traits); + } + getKeySchema() { + const [isDoc, isMap] = [this.isDocumentSchema(), this.isMapSchema()]; + if (!isDoc && !isMap) { + throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(true)}`); + } + const schema = this.getSchema(); + const memberSchema = isDoc + ? 15 + : schema[4] ?? 0; + return member([memberSchema, 0], "key"); + } + getValueSchema() { + const sc = this.getSchema(); + const [isDoc, isMap, isList] = [this.isDocumentSchema(), this.isMapSchema(), this.isListSchema()]; + const memberSchema = typeof sc === "number" + ? 0b0011_1111 & sc + : sc && typeof sc === "object" && (isMap || isList) + ? sc[3 + sc[0]] + : isDoc + ? 15 + : void 0; + if (memberSchema != null) { + return member([memberSchema, 0], isMap ? "value" : "member"); + } + throw new Error(`@smithy/core/schema - ${this.getName(true)} has no value member.`); + } + getMemberSchema(memberName) { + const struct = this.getSchema(); + if (this.isStructSchema() && struct[4].includes(memberName)) { + const i = struct[4].indexOf(memberName); + const memberSchema = struct[5][i]; + return member(isMemberSchema(memberSchema) ? memberSchema : [memberSchema, 0], memberName); + } + if (this.isDocumentSchema()) { + return member([15, 0], memberName); + } + throw new Error(`@smithy/core/schema - ${this.getName(true)} has no member=${memberName}.`); + } + getMemberSchemas() { + const buffer = {}; + try { + for (const [k, v] of this.structIterator()) { + buffer[k] = v; + } + } + catch (ignored) { } + return buffer; + } + getEventStreamMember() { + if (this.isStructSchema()) { + for (const [memberName, memberSchema] of this.structIterator()) { + if (memberSchema.isStreaming() && memberSchema.isStructSchema()) { + return memberName; + } + } + } + return ""; + } + *structIterator() { + if (this.isUnitSchema()) { + return; + } + if (!this.isStructSchema()) { + throw new Error("@smithy/core/schema - cannot iterate non-struct schema."); + } + const struct = this.getSchema(); + const z = struct[4].length; + let it = struct[anno.it]; + if (it && z === it.length) { + yield* it; + return; + } + it = Array(z); + for (let i = 0; i < z; ++i) { + const k = struct[4][i]; + const v = member([struct[5][i], 0], k); + yield (it[i] = [k, v]); + } + struct[anno.it] = it; + } +} +function member(memberSchema, memberName) { + if (memberSchema instanceof NormalizedSchema) { + return Object.assign(memberSchema, { + memberName, + _isMemberSchema: true, + }); + } + const internalCtorAccess = NormalizedSchema; + return new internalCtorAccess(memberSchema, memberName); +} +const isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2; +const isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5; -"use strict"; +class SimpleSchema extends Schema { + static symbol = Symbol.for("@smithy/sim"); + name; + schemaRef; + traits; + symbol = SimpleSchema.symbol; +} +const sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema(), { + name, + namespace, + traits, + schemaRef, +}); +const simAdapter = (namespace, name, traits, schemaRef) => Schema.assign(new SimpleSchema(), { + name, + namespace, + traits, + schemaRef, +}); -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.`); +const SCHEMA = { + BLOB: 0b0001_0101, + STREAMING_BLOB: 0b0010_1010, + BOOLEAN: 0b0000_0010, + STRING: 0b0000_0000, + NUMERIC: 0b0000_0001, + BIG_INTEGER: 0b0001_0001, + BIG_DECIMAL: 0b0001_0011, + DOCUMENT: 0b0000_1111, + TIMESTAMP_DEFAULT: 0b0000_0100, + TIMESTAMP_DATE_TIME: 0b0000_0101, + TIMESTAMP_HTTP_DATE: 0b0000_0110, + TIMESTAMP_EPOCH_SECONDS: 0b0000_0111, + LIST_MODIFIER: 0b0100_0000, + MAP_MODIFIER: 0b1000_0000, +}; + +class TypeRegistry { + namespace; + schemas; + exceptions; + static registries = new Map(); + constructor(namespace, schemas = new Map(), exceptions = new Map()) { + this.namespace = namespace; + this.schemas = schemas; + this.exceptions = exceptions; + } + static for(namespace) { + if (!TypeRegistry.registries.has(namespace)) { + TypeRegistry.registries.set(namespace, new TypeRegistry(namespace)); + } + return TypeRegistry.registries.get(namespace); } - if (!BASE64_REGEX.exec(input)) { - throw new TypeError(`Invalid base64 string.`); + copyFrom(other) { + const { schemas, exceptions } = this; + for (const [k, v] of other.schemas) { + if (!schemas.has(k)) { + schemas.set(k, v); + } + } + for (const [k, v] of other.exceptions) { + if (!exceptions.has(k)) { + exceptions.set(k, v); + } + } + } + register(shapeId, schema) { + const qualifiedName = this.normalizeShapeId(shapeId); + for (const r of [this, TypeRegistry.for(qualifiedName.split("#")[0])]) { + r.schemas.set(qualifiedName, schema); + } + } + getSchema(shapeId) { + const id = this.normalizeShapeId(shapeId); + if (!this.schemas.has(id)) { + throw new Error(`@smithy/core/schema - schema not found for ${id}`); + } + return this.schemas.get(id); + } + registerError(es, ctor) { + const $error = es; + const ns = $error[1]; + for (const r of [this, TypeRegistry.for(ns)]) { + r.schemas.set(ns + "#" + $error[2], $error); + r.exceptions.set($error, ctor); + } + } + getErrorCtor(es) { + const $error = es; + if (this.exceptions.has($error)) { + return this.exceptions.get($error); + } + const registry = TypeRegistry.for($error[1]); + return registry.exceptions.get($error); + } + getBaseException() { + for (const exceptionKey of this.exceptions.keys()) { + if (Array.isArray(exceptionKey)) { + const [, ns, name] = exceptionKey; + const id = ns + "#" + name; + if (id.startsWith("smithy.ts.sdk.synthetic.") && id.endsWith("ServiceException")) { + return exceptionKey; + } + } + } + return undefined; + } + find(predicate) { + return [...this.schemas.values()].find(predicate); + } + clear() { + this.schemas.clear(); + this.exceptions.clear(); } - const buffer = (0, util_buffer_from_1.fromString)(input, "base64"); - return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength); -}; -exports.fromBase64 = fromBase64; + normalizeShapeId(shapeId) { + if (shapeId.includes("#")) { + return shapeId; + } + return this.namespace + "#" + shapeId; + } +} + +exports.ErrorSchema = ErrorSchema; +exports.ListSchema = ListSchema; +exports.MapSchema = MapSchema; +exports.NormalizedSchema = NormalizedSchema; +exports.OperationSchema = OperationSchema; +exports.SCHEMA = SCHEMA; +exports.Schema = Schema; +exports.SimpleSchema = SimpleSchema; +exports.StructureSchema = StructureSchema; +exports.TypeRegistry = TypeRegistry; +exports.deref = deref; +exports.deserializerMiddlewareOption = deserializerMiddlewareOption; +exports.error = error; +exports.getSchemaSerdePlugin = getSchemaSerdePlugin; +exports.isStaticSchema = isStaticSchema; +exports.list = list; +exports.map = map; +exports.op = op; +exports.operation = operation; +exports.serializerMiddlewareOption = serializerMiddlewareOption; +exports.sim = sim; +exports.simAdapter = simAdapter; +exports.simpleSchemaCacheN = simpleSchemaCacheN; +exports.simpleSchemaCacheS = simpleSchemaCacheS; +exports.struct = struct; +exports.traitsCache = traitsCache; +exports.translateTraits = translateTraits; /***/ }), -/***/ 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); +/***/ 7669: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +"use strict"; -/***/ }), +var uuid = __nccwpck_require__(3634); -/***/ 4730: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +const copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source; -"use strict"; +const parseBoolean = (value) => { + switch (value) { + case "true": + return true; + case "false": + return false; + default: + throw new Error(`Unable to parse boolean value "${value}"`); + } +}; +const expectBoolean = (value) => { + if (value === null || value === undefined) { + return undefined; + } + 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}`); +}; +const expectNumber = (value) => { + if (value === null || value === undefined) { + return undefined; + } + 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}`); +}; +const MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23)); +const expectFloat32 = (value) => { + const expected = expectNumber(value); + if (expected !== undefined && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) { + if (Math.abs(expected) > MAX_FLOAT) { + throw new TypeError(`Expected 32-bit float, got ${value}`); + } + } + return expected; +}; +const expectLong = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (Number.isInteger(value) && !Number.isNaN(value)) { + return value; + } + throw new TypeError(`Expected integer, got ${typeof value}: ${value}`); +}; +const expectInt = expectLong; +const expectInt32 = (value) => expectSizedInt(value, 32); +const expectShort = (value) => expectSizedInt(value, 16); +const expectByte = (value) => expectSizedInt(value, 8); +const expectSizedInt = (value, size) => { + const expected = expectLong(value); + if (expected !== undefined && castInt(expected, size) !== expected) { + throw new TypeError(`Expected ${size}-bit integer, got ${value}`); + } + return expected; +}; +const castInt = (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]; + } +}; +const expectNonNull = (value, location) => { + if (value === null || value === undefined) { + if (location) { + throw new TypeError(`Expected a non-null value for ${location}`); + } + throw new TypeError("Expected a non-null value"); + } + return value; +}; +const expectObject = (value) => { + if (value === null || value === undefined) { + return undefined; + } + 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}`); +}; +const expectString = (value) => { + if (value === null || value === undefined) { + return undefined; + } + 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}`); +}; +const expectUnion = (value) => { + if (value === null || value === undefined) { + return undefined; + } + 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; +}; +const strictParseDouble = (value) => { + if (typeof value == "string") { + return expectNumber(parseNumber(value)); + } + return expectNumber(value); +}; +const strictParseFloat = strictParseDouble; +const strictParseFloat32 = (value) => { + if (typeof value == "string") { + return expectFloat32(parseNumber(value)); + } + return expectFloat32(value); +}; +const NUMBER_REGEX = /(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g; +const parseNumber = (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); +}; +const limitedParseDouble = (value) => { + if (typeof value == "string") { + return parseFloatString(value); + } + return expectNumber(value); +}; +const handleFloat = limitedParseDouble; +const limitedParseFloat = limitedParseDouble; +const limitedParseFloat32 = (value) => { + if (typeof value == "string") { + return parseFloatString(value); + } + return expectFloat32(value); +}; +const parseFloatString = (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}`); + } +}; +const strictParseLong = (value) => { + if (typeof value === "string") { + return expectLong(parseNumber(value)); + } + return expectLong(value); +}; +const strictParseInt = strictParseLong; +const strictParseInt32 = (value) => { + if (typeof value === "string") { + return expectInt32(parseNumber(value)); + } + return expectInt32(value); +}; +const strictParseShort = (value) => { + if (typeof value === "string") { + return expectShort(parseNumber(value)); + } + return expectShort(value); +}; +const strictParseByte = (value) => { + if (typeof value === "string") { + return expectByte(parseNumber(value)); + } + return expectByte(value); +}; +const stackTraceWarning = (message) => { + return String(new TypeError(message).stack || message) + .split("\n") + .slice(0, 5) + .filter((s) => !s.includes("stackTraceWarning")) + .join("\n"); +}; +const logger = { + warn: console.warn, +}; -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); +const DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; +const 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`; +} +const RFC3339 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/); +const parseRfc3339DateTime = (value) => { + if (value === null || value === undefined) { + return undefined; + } + 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 }); +}; +const RFC3339_WITH_OFFSET$1 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/); +const parseRfc3339DateTimeWithOffset = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value !== "string") { + throw new TypeError("RFC-3339 date-times must be expressed as strings"); + } + const match = RFC3339_WITH_OFFSET$1.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; +}; +const IMF_FIXDATE$1 = 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$/); +const RFC_850_DATE$1 = 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$/); +const ASC_TIME$1 = 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})$/); +const parseRfc7231DateTime = (value) => { + if (value === null || value === undefined) { + return undefined; + } + if (typeof value !== "string") { + throw new TypeError("RFC-7231 date-times must be expressed as strings"); + } + let match = IMF_FIXDATE$1.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$1.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$1.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"); +}; +const parseEpochTimestamp = (value) => { + if (value === null || value === undefined) { + return undefined; + } + let valueAsDouble; + if (typeof value === "number") { + valueAsDouble = value; + } + else if (typeof value === "string") { + valueAsDouble = strictParseDouble(value); + } + else if (typeof value === "object" && value.tag === 1) { + valueAsDouble = value.value; } else { - input = _input; + throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation"); } - 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."); + if (Number.isNaN(valueAsDouble) || valueAsDouble === Infinity || valueAsDouble === -Infinity) { + throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics"); } - return (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64"); + return new Date(Math.round(valueAsDouble * 1000)); }; -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 }); +const buildDate = (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), parseDateValue(time.seconds, "seconds", 0, 60), parseMilliseconds(time.fractionalMilliseconds))); }; -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; +const parseTwoDigitYear = (value) => { + const thisYear = new Date().getUTCFullYear(); + const valueInThisCentury = Math.floor(thisYear / 100) * 100 + strictParseShort(stripLeadingZeroes(value)); + if (valueInThisCentury < thisYear) { + return valueInThisCentury + 100; + } + return valueInThisCentury; }; -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 }); +const FIFTY_YEARS_IN_MILLIS = 50 * 365 * 24 * 60 * 60 * 1000; +const adjustRfc850Year = (input) => { + if (input.getTime() - 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; }; -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; +const parseMonthByShortName = (value) => { + const monthIdx = MONTHS.indexOf(value); + if (monthIdx < 0) { + throw new TypeError(`Invalid month: ${value}`); + } + return monthIdx + 1; }; -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 }); +const DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; +const validateDayOfMonth = (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}`); + } }; -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; +const isLeapYear = (year) => { + return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); }; -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 }); +const parseDateValue = (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; }; -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; +const parseMilliseconds = (value) => { + if (value === null || value === undefined) { + return 0; + } + return strictParseFloat32("0." + value) * 1000; }; -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"; +const parseOffsetToMilliseconds = (value) => { + const directionStr = value[0]; + let direction = 1; + if (directionStr == "+") { + direction = 1; } - if (resolvedRegion === inferredRegion) { - return "in-region"; - } else { - return "cross-region"; + else if (directionStr == "-") { + direction = -1; } - } - 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) { + else { + throw new TypeError(`Offset direction, ${directionStr}, must be "+" or "-"`); } - } -}, "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 }); + const hour = Number(value.substring(1, 3)); + const minute = Number(value.substring(4, 6)); + return direction * (hour * 60 + minute) * 60 * 1000; }; -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; +const stripLeadingZeroes = (value) => { + let idx = 0; + while (idx < value.length - 1 && value.charAt(idx) === "0") { + idx++; + } + if (idx === 0) { + return value; + } + return value.slice(idx); }; -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; +const LazyJsonString = function LazyJsonString(val) { + const str = Object.assign(new String(val), { + deserializeJSON() { + return JSON.parse(String(val)); + }, + toString() { + return String(val); + }, + toJSON() { + return String(val); + }, + }); + return str; +}; +LazyJsonString.from = (object) => { + if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) { + return object; } - } - return true; -}, "isValidHostLabel"); + else if (typeof object === "string" || Object.getPrototypeOf(object) === String.prototype) { + return LazyJsonString(String(object)); + } + return LazyJsonString(JSON.stringify(object)); +}; +LazyJsonString.fromObject = LazyJsonString.from; -// src/utils/customEndpointFunctions.ts -var customEndpointFunctions = {}; +function quoteHeader(part) { + if (part.includes(",") || part.includes('"')) { + part = `"${part.replace(/"/g, '\\"')}"`; + } + return part; +} -// src/debug/debugId.ts -var debugId = "endpoints"; +const ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`; +const mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`; +const time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`; +const date = `(\\d?\\d)`; +const year = `(\\d{4})`; +const RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/); +const IMF_FIXDATE = new RegExp(`^${ddd}, ${date} ${mmm} ${year} ${time} GMT$`); +const RFC_850_DATE = new RegExp(`^${ddd}, ${date}-${mmm}-(\\d\\d) ${time} GMT$`); +const ASC_TIME = new RegExp(`^${ddd} ${mmm} ( [1-9]|\\d\\d) ${time} ${year}$`); +const months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; +const _parseEpochTimestamp = (value) => { + if (value == null) { + return void 0; + } + let num = NaN; + if (typeof value === "number") { + num = value; + } + else if (typeof value === "string") { + if (!/^-?\d*\.?\d+$/.test(value)) { + throw new TypeError(`parseEpochTimestamp - numeric string invalid.`); + } + num = Number.parseFloat(value); + } + else if (typeof value === "object" && value.tag === 1) { + num = value.value; + } + if (isNaN(num) || Math.abs(num) === Infinity) { + throw new TypeError("Epoch timestamps must be valid finite numbers."); + } + return new Date(Math.round(num * 1000)); +}; +const _parseRfc3339DateTimeWithOffset = (value) => { + if (value == null) { + return void 0; + } + if (typeof value !== "string") { + throw new TypeError("RFC3339 timestamps must be strings"); + } + const matches = RFC3339_WITH_OFFSET.exec(value); + if (!matches) { + throw new TypeError(`Invalid RFC3339 timestamp format ${value}`); + } + const [, yearStr, monthStr, dayStr, hours, minutes, seconds, , ms, offsetStr] = matches; + range(monthStr, 1, 12); + range(dayStr, 1, 31); + range(hours, 0, 23); + range(minutes, 0, 59); + range(seconds, 0, 60); + const date = new Date(Date.UTC(Number(yearStr), Number(monthStr) - 1, Number(dayStr), Number(hours), Number(minutes), Number(seconds), Number(ms) ? Math.round(parseFloat(`0.${ms}`) * 1000) : 0)); + date.setUTCFullYear(Number(yearStr)); + if (offsetStr.toUpperCase() != "Z") { + const [, sign, offsetH, offsetM] = /([+-])(\d\d):(\d\d)/.exec(offsetStr) || [void 0, "+", 0, 0]; + const scalar = sign === "-" ? 1 : -1; + date.setTime(date.getTime() + scalar * (Number(offsetH) * 60 * 60 * 1000 + Number(offsetM) * 60 * 1000)); + } + return date; +}; +const _parseRfc7231DateTime = (value) => { + if (value == null) { + return void 0; + } + if (typeof value !== "string") { + throw new TypeError("RFC7231 timestamps must be strings."); + } + let day; + let month; + let year; + let hour; + let minute; + let second; + let fraction; + let matches; + if ((matches = IMF_FIXDATE.exec(value))) { + [, day, month, year, hour, minute, second, fraction] = matches; + } + else if ((matches = RFC_850_DATE.exec(value))) { + [, day, month, year, hour, minute, second, fraction] = matches; + year = (Number(year) + 1900).toString(); + } + else if ((matches = ASC_TIME.exec(value))) { + [, month, day, hour, minute, second, fraction, year] = matches; + } + if (year && second) { + const timestamp = Date.UTC(Number(year), months.indexOf(month), Number(day), Number(hour), Number(minute), Number(second), fraction ? Math.round(parseFloat(`0.${fraction}`) * 1000) : 0); + range(day, 1, 31); + range(hour, 0, 23); + range(minute, 0, 59); + range(second, 0, 60); + const date = new Date(timestamp); + date.setUTCFullYear(Number(year)); + return date; + } + throw new TypeError(`Invalid RFC7231 date-time value ${value}.`); +}; +function range(v, min, max) { + const _v = Number(v); + if (_v < min || _v > max) { + throw new Error(`Value ${_v} out of range [${min}, ${max}]`); + } +} -// 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); +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(toDebugString, "toDebugString"); -// src/types/EndpointError.ts -var _EndpointError = class _EndpointError extends Error { - constructor(message) { - super(message); - this.name = "EndpointError"; - } +const splitHeader = (value) => { + const z = value.length; + const values = []; + let withinQuotes = false; + let prevChar = undefined; + let anchor = 0; + for (let i = 0; i < z; ++i) { + const char = value[i]; + switch (char) { + case `"`: + if (prevChar !== "\\") { + withinQuotes = !withinQuotes; + } + break; + case ",": + if (!withinQuotes) { + values.push(value.slice(anchor, i)); + anchor = i + 1; + } + break; + } + prevChar = char; + } + values.push(value.slice(anchor)); + return values.map((v) => { + v = v.trim(); + const z = v.length; + if (z < 2) { + return v; + } + if (v[0] === `"` && v[z - 1] === `"`) { + v = v.slice(1, z - 1); + } + return v.replace(/\\"/g, '"'); + }); }; -__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); +const format = /^-?\d*(\.\d+)?$/; +class NumericValue { + string; + type; + constructor(string, type) { + this.string = string; + this.type = type; + if (!format.test(string)) { + throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`); + } } - } - return pathList; -}, "getAttrPathList"); + toString() { + return this.string; + } + static [Symbol.hasInstance](object) { + if (!object || typeof object !== "object") { + return false; + } + const _nv = object; + return NumericValue.prototype.isPrototypeOf(object) || (_nv.type === "bigDecimal" && format.test(_nv.string)); + } +} +function nv(input) { + return new NumericValue(String(input), "bigDecimal"); +} + +exports.generateIdempotencyToken = uuid.v4; +exports.LazyJsonString = LazyJsonString; +exports.NumericValue = NumericValue; +exports._parseEpochTimestamp = _parseEpochTimestamp; +exports._parseRfc3339DateTimeWithOffset = _parseRfc3339DateTimeWithOffset; +exports._parseRfc7231DateTime = _parseRfc7231DateTime; +exports.copyDocumentWithTransform = copyDocumentWithTransform; +exports.dateToUtcString = dateToUtcString; +exports.expectBoolean = expectBoolean; +exports.expectByte = expectByte; +exports.expectFloat32 = expectFloat32; +exports.expectInt = expectInt; +exports.expectInt32 = expectInt32; +exports.expectLong = expectLong; +exports.expectNonNull = expectNonNull; +exports.expectNumber = expectNumber; +exports.expectObject = expectObject; +exports.expectShort = expectShort; +exports.expectString = expectString; +exports.expectUnion = expectUnion; +exports.handleFloat = handleFloat; +exports.limitedParseDouble = limitedParseDouble; +exports.limitedParseFloat = limitedParseFloat; +exports.limitedParseFloat32 = limitedParseFloat32; +exports.logger = logger; +exports.nv = nv; +exports.parseBoolean = parseBoolean; +exports.parseEpochTimestamp = parseEpochTimestamp; +exports.parseRfc3339DateTime = parseRfc3339DateTime; +exports.parseRfc3339DateTimeWithOffset = parseRfc3339DateTimeWithOffset; +exports.parseRfc7231DateTime = parseRfc7231DateTime; +exports.quoteHeader = quoteHeader; +exports.splitEvery = splitEvery; +exports.splitHeader = splitHeader; +exports.strictParseByte = strictParseByte; +exports.strictParseDouble = strictParseDouble; +exports.strictParseFloat = strictParseFloat; +exports.strictParseFloat32 = strictParseFloat32; +exports.strictParseInt = strictParseInt; +exports.strictParseInt32 = strictParseInt32; +exports.strictParseLong = strictParseLong; +exports.strictParseShort = strictParseShort; -// 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"); +/***/ 2687: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -// 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"); +"use strict"; -// 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"); +var protocolHttp = __nccwpck_require__(4418); +var querystringBuilder = __nccwpck_require__(8031); +var utilBase64 = __nccwpck_require__(5600); -// src/lib/uriEncode.ts -var uriEncode = /* @__PURE__ */ __name((value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`), "uriEncode"); +function createRequest(url, requestOptions) { + return new Request(url, requestOptions); +} -// src/utils/endpointFunctions.ts -var endpointFunctions = { - booleanEquals, - getAttr, - isSet, - isValidHostLabel, - not, - parseURL, - stringEquals, - substring, - uriEncode -}; +function requestTimeout(timeoutInMs = 0) { + return new Promise((resolve, reject) => { + if (timeoutInMs) { + setTimeout(() => { + const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`); + timeoutError.name = "TimeoutError"; + reject(timeoutError); + }, timeoutInMs); + } + }); +} -// 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]); +const keepAliveSupport = { + supported: undefined, +}; +class FetchHttpHandler { + config; + configProvider; + static create(instanceOrOptions) { + if (typeof instanceOrOptions?.handle === "function") { + return instanceOrOptions; + } + return new FetchHttpHandler(instanceOrOptions); } - 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 }; + constructor(options) { + if (typeof options === "function") { + this.configProvider = options().then((opts) => opts || {}); + } + else { + this.config = options ?? {}; + this.configProvider = Promise.resolve(this.config); + } + if (keepAliveSupport.supported === undefined) { + keepAliveSupport.supported = Boolean(typeof Request !== "undefined" && "keepalive" in createRequest("https://[::1]")); + } } - 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)}`); + destroy() { } - } - 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"); + async handle(request, { abortSignal, requestTimeout: requestTimeout$1 } = {}) { + if (!this.config) { + this.config = await this.configProvider; + } + const requestTimeoutInMs = requestTimeout$1 ?? this.config.requestTimeout; + const keepAlive = this.config.keepAlive === true; + const credentials = this.config.credentials; + if (abortSignal?.aborted) { + const abortError = buildAbortError(abortSignal); + return Promise.reject(abortError); + } + let path = request.path; + const queryString = querystringBuilder.buildQueryString(request.query || {}); + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + let auth = ""; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}@`; + } + const { port, method } = request; + const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`; + const body = method === "GET" || method === "HEAD" ? undefined : request.body; + const requestOptions = { + body, + headers: new Headers(request.headers), + method: method, + credentials, + }; + if (this.config?.cache) { + requestOptions.cache = this.config.cache; + } + if (body) { + requestOptions.duplex = "half"; + } + if (typeof AbortController !== "undefined") { + requestOptions.signal = abortSignal; + } + if (keepAliveSupport.supported) { + requestOptions.keepalive = keepAlive; + } + if (typeof this.config.requestInit === "function") { + Object.assign(requestOptions, this.config.requestInit(request)); + } + let removeSignalEventListener = () => { }; + const fetchRequest = createRequest(url, requestOptions); + const raceOfPromises = [ + fetch(fetchRequest).then((response) => { + const fetchHeaders = response.headers; + const transformedHeaders = {}; + for (const pair of fetchHeaders.entries()) { + transformedHeaders[pair[0]] = pair[1]; + } + const hasReadableStream = response.body != undefined; + if (!hasReadableStream) { + return response.blob().then((body) => ({ + response: new protocolHttp.HttpResponse({ + headers: transformedHeaders, + reason: response.statusText, + statusCode: response.status, + body, + }), + })); + } + return { + response: new protocolHttp.HttpResponse({ + headers: transformedHeaders, + reason: response.statusText, + statusCode: response.status, + body: response.body, + }), + }; + }), + requestTimeout(requestTimeoutInMs), + ]; + if (abortSignal) { + raceOfPromises.push(new Promise((resolve, reject) => { + const onAbort = () => { + const abortError = buildAbortError(abortSignal); + reject(abortError); + }; + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + removeSignalEventListener = () => signal.removeEventListener("abort", onAbort); + } + else { + abortSignal.onabort = onAbort; + } + })); + } + return Promise.race(raceOfPromises).finally(removeSignalEventListener); + } + updateHttpClientConfig(key, value) { + this.config = undefined; + this.configProvider = this.configProvider.then((config) => { + config[key] = value; + return config; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } +} +function buildAbortError(abortSignal) { + const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal + ? abortSignal.reason + : undefined; + if (reason) { + if (reason instanceof Error) { + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + abortError.cause = reason; + return abortError; + } + const abortError = new Error(String(reason)); + abortError.name = "AbortError"; + return abortError; + } + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + return abortError; +} -// 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; +const streamCollector = async (stream) => { + if ((typeof Blob === "function" && stream instanceof Blob) || stream.constructor?.name === "Blob") { + if (Blob.prototype.arrayBuffer !== undefined) { + return new Uint8Array(await stream.arrayBuffer()); + } + return collectBlob(stream); } - } - throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`); -}, "getEndpointUrl"); + return collectStream(stream); +}; +async function collectBlob(blob) { + const base64 = await readToBase64(blob); + const arrayBuffer = utilBase64.fromBase64(base64); + return new Uint8Array(arrayBuffer); +} +async function collectStream(stream) { + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + let length = 0; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + length += value.length; + } + isDone = done; + } + const collected = new Uint8Array(length); + let offset = 0; + for (const chunk of chunks) { + collected.set(chunk, offset); + offset += chunk.length; + } + return collected; +} +function readToBase64(blob) { + return new Promise((resolve, reject) => { + const reader = new FileReader(); + reader.onloadend = () => { + if (reader.readyState !== 2) { + return reject(new Error("Reader aborted too early")); + } + const result = (reader.result ?? ""); + const commaIndex = result.indexOf(","); + const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length; + resolve(result.substring(dataOffset)); + }; + reader.onabort = () => reject(new Error("Read aborted")); + reader.onerror = () => reject(reader.error); + reader.readAsDataURL(blob); + }); +} -// 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"); +exports.FetchHttpHandler = FetchHttpHandler; +exports.keepAliveSupport = keepAliveSupport; +exports.streamCollector = streamCollector; -// 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"); +/***/ }), + +/***/ 3081: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -// 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; +"use strict"; + + +var utilBufferFrom = __nccwpck_require__(1381); +var utilUtf8 = __nccwpck_require__(1895); +var buffer = __nccwpck_require__(4300); +var crypto = __nccwpck_require__(6113); + +class Hash { + algorithmIdentifier; + secret; + hash; + constructor(algorithmIdentifier, secret) { + this.algorithmIdentifier = algorithmIdentifier; + this.secret = secret; + this.reset(); } - } - 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}'`); + update(toHash, encoding) { + this.hash.update(utilUtf8.toUint8Array(castSourceData(toHash, encoding))); } - } - 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) { + digest() { + return Promise.resolve(this.hash.digest()); } - } - (_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); + reset() { + this.hash = this.secret + ? crypto.createHmac(this.algorithmIdentifier, castSourceData(this.secret)) + : crypto.createHash(this.algorithmIdentifier); + } +} +function castSourceData(toCast, encoding) { + if (buffer.Buffer.isBuffer(toCast)) { + return toCast; + } + if (typeof toCast === "string") { + return utilBufferFrom.fromString(toCast, encoding); + } + if (ArrayBuffer.isView(toCast)) { + return utilBufferFrom.fromArrayBuffer(toCast.buffer, toCast.byteOffset, toCast.byteLength); + } + return utilBufferFrom.fromArrayBuffer(toCast); +} +exports.Hash = Hash; /***/ }), -/***/ 5364: -/***/ ((module) => { +/***/ 780: +/***/ ((__unused_webpack_module, exports) => { -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); +"use strict"; -// 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); +const isArrayBuffer = (arg) => (typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer) || + Object.prototype.toString.call(arg) === "[object ArrayBuffer]"; +exports.isArrayBuffer = isArrayBuffer; /***/ }), -/***/ 2390: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ 2800: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __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 +var protocolHttp = __nccwpck_require__(4418); + +const CONTENT_LENGTH_HEADER = "content-length"; +function contentLengthMiddleware(bodyLengthChecker) { + return (next) => async (args) => { + const request = args.request; + if (protocolHttp.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, + }); + }; +} +const contentLengthMiddlewareOptions = { + step: "build", + tags: ["SET_CONTENT_LENGTH", "CONTENT_LENGTH"], + name: "contentLengthMiddleware", + override: true, +}; +const getContentLengthPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(contentLengthMiddleware(options.bodyLengthChecker), contentLengthMiddlewareOptions); + }, }); -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"); +exports.contentLengthMiddleware = contentLengthMiddleware; +exports.contentLengthMiddlewareOptions = contentLengthMiddlewareOptions; +exports.getContentLengthPlugin = getContentLengthPlugin; -// 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); +/***/ }), + +/***/ 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; /***/ }), -/***/ 4902: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ 7574: +/***/ ((__unused_webpack_module, 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); +"use strict"; -// 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 +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, }); -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)); +exports.getEndpointUrlConfig = getEndpointUrlConfig; + + +/***/ }), + +/***/ 2918: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +var core = __nccwpck_require__(5829); +var utilMiddleware = __nccwpck_require__(2390); +var getEndpointFromConfig = __nccwpck_require__(1518); +var urlParser = __nccwpck_require__(4681); +var middlewareSerde = __nccwpck_require__(1238); + +const resolveParamsForS3 = async (endpointParams) => { + const bucket = endpointParams?.Bucket || ""; + if (typeof endpointParams.Bucket === "string") { + endpointParams.Bucket = bucket.replace(/#/g, encodeURIComponent("#")).replace(/\?/g, encodeURIComponent("?")); } - this.currentCapacity = this.currentCapacity - amount; - } - refillTokenBucket() { - const timestamp = this.getCurrentTimeInSeconds(); - if (!this.lastTimestamp) { - this.lastTimestamp = timestamp; - return; + if (isArnBucketName(bucket)) { + if (endpointParams.ForcePathStyle === true) { + throw new Error("Path-style addressing cannot be used with ARN buckets"); + } } - 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()); + 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; +}; +const DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/; +const IP_ADDRESS_PATTERN = /(\d+\.){3}\d+/; +const DOTS_PATTERN = /\.\./; +const isDnsCompatibleBucketName = (bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName); +const isArnBucketName = (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; +}; + +const createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, isClientContextParam = false) => { + const configProvider = async () => { + let configValue; + if (isClientContextParam) { + const clientContextParams = config.clientContextParams; + const nestedValue = clientContextParams?.[configKey]; + configValue = nestedValue ?? config[configKey] ?? config[canonicalEndpointParamKey]; + } + else { + configValue = config[configKey] ?? config[canonicalEndpointParamKey]; + } + if (typeof configValue === "function") { + return configValue(); + } + return configValue; + }; + if (configKey === "credentialScope" || canonicalEndpointParamKey === "CredentialScope") { + return async () => { + const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials; + const configValue = credentials?.credentialScope ?? credentials?.CredentialScope; + return configValue; + }; } - 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 - }); + if (configKey === "accountId" || canonicalEndpointParamKey === "AccountId") { + return async () => { + const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials; + const configValue = credentials?.accountId ?? credentials?.AccountId; + return configValue; + }; } - 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; + if (configKey === "endpoint" || canonicalEndpointParamKey === "endpoint") { + return async () => { + if (config.isCustomEndpoint === false) { + return undefined; + } + 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; + }; } - } - 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"; - } + return configProvider; }; -__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); - } +const toEndpointV1 = (endpoint) => { + if (typeof endpoint === "object") { + if ("url" in endpoint) { + const v1Endpoint = urlParser.parseUrl(endpoint.url); + if (endpoint.headers) { + v1Endpoint.headers = {}; + for (const [name, values] of Object.entries(endpoint.headers)) { + v1Endpoint.headers[name.toLowerCase()] = values.join(", "); + } + } + return v1Endpoint; + } + return endpoint; + } + return urlParser.parseUrl(endpoint); }; -__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; +const getEndpointFromInstructions = async (commandInput, instructionsSupplier, clientConfig, context) => { + if (!clientConfig.isCustomEndpoint) { + let endpointFromConfig; + if (clientConfig.serviceConfiguredEndpoint) { + endpointFromConfig = await clientConfig.serviceConfiguredEndpoint(); + } + else { + endpointFromConfig = await getEndpointFromConfig.getEndpointFromConfig(clientConfig.serviceId); + } + if (endpointFromConfig) { + clientConfig.endpoint = () => Promise.resolve(toEndpointV1(endpointFromConfig)); + clientConfig.isCustomEndpoint = true; + } } - } - async refreshRetryTokenForRetry(tokenToRenew, errorInfo) { - const token = await super.refreshRetryTokenForRetry(tokenToRenew, errorInfo); - token.getRetryDelay = () => this.computeNextBackoffDelay(token.getRetryCount()); - return token; - } + 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); + if (clientConfig.isCustomEndpoint && clientConfig.endpoint) { + const customEndpoint = await clientConfig.endpoint(); + if (customEndpoint?.headers) { + endpoint.headers ??= {}; + for (const [name, value] of Object.entries(customEndpoint.headers)) { + endpoint.headers[name] = Array.isArray(value) ? value : [value]; + } + } + } + return endpoint; +}; +const resolveParams = async (commandInput, instructionsSupplier, clientConfig) => { + const endpointParams = {}; + const instructions = instructionsSupplier?.getEndpointParameterInstructions?.() || {}; + 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, instruction.type !== "builtInParams")(); + break; + case "operationContextParams": + endpointParams[name] = instruction.get(commandInput); + 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; }; -__name(_ConfiguredRetryStrategy, "ConfiguredRetryStrategy"); -var ConfiguredRetryStrategy = _ConfiguredRetryStrategy; -// Annotate the CommonJS export names for ESM import in node: -0 && (0); +const endpointMiddleware = ({ config, instructions, }) => { + return (next, context) => async (args) => { + if (config.isCustomEndpoint) { + core.setFeature(context, "ENDPOINT_OVERRIDE", "N"); + } + const endpoint = await getEndpointFromInstructions(args.input, { + getEndpointParameterInstructions() { + return instructions; + }, + }, { ...config }, context); + context.endpointV2 = endpoint; + context.authSchemes = endpoint.properties?.authSchemes; + const authScheme = context.authSchemes?.[0]; + if (authScheme) { + context["signing_region"] = authScheme.signingRegion; + context["signing_service"] = authScheme.signingName; + const smithyContext = utilMiddleware.getSmithyContext(context); + const httpAuthOption = smithyContext?.selectedHttpAuthScheme?.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, + }); + }; +}; + +const endpointMiddlewareOptions = { + step: "serialize", + tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"], + name: "endpointV2Middleware", + override: true, + relation: "before", + toMiddleware: middlewareSerde.serializerMiddlewareOption.name, +}; +const getEndpointPlugin = (config, instructions) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(endpointMiddleware({ + config, + instructions, + }), endpointMiddlewareOptions); + }, +}); + +const resolveEndpointConfig = (input) => { + const tls = input.tls ?? true; + const { endpoint, useDualstackEndpoint, useFipsEndpoint } = input; + const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await utilMiddleware.normalizeProvider(endpoint)()) : undefined; + const isCustomEndpoint = !!endpoint; + const resolvedConfig = Object.assign(input, { + endpoint: customEndpointProvider, + tls, + isCustomEndpoint, + useDualstackEndpoint: utilMiddleware.normalizeProvider(useDualstackEndpoint ?? false), + useFipsEndpoint: utilMiddleware.normalizeProvider(useFipsEndpoint ?? false), + }); + let configuredEndpointPromise = undefined; + resolvedConfig.serviceConfiguredEndpoint = async () => { + if (input.serviceId && !configuredEndpointPromise) { + configuredEndpointPromise = getEndpointFromConfig.getEndpointFromConfig(input.serviceId); + } + return configuredEndpointPromise; + }; + return resolvedConfig; +}; + +const resolveEndpointRequiredConfig = (input) => { + const { endpoint } = input; + if (endpoint === undefined) { + input.endpoint = async () => { + throw new Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint."); + }; + } + return input; +}; +exports.endpointMiddleware = endpointMiddleware; +exports.endpointMiddlewareOptions = endpointMiddlewareOptions; +exports.getEndpointFromInstructions = getEndpointFromInstructions; +exports.getEndpointPlugin = getEndpointPlugin; +exports.resolveEndpointConfig = resolveEndpointConfig; +exports.resolveEndpointRequiredConfig = resolveEndpointRequiredConfig; +exports.resolveParams = resolveParams; +exports.toEndpointV1 = toEndpointV1; /***/ }), -/***/ 3636: +/***/ 6039: /***/ ((__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`); + +var utilRetry = __nccwpck_require__(4902); +var protocolHttp = __nccwpck_require__(4418); +var serviceErrorClassification = __nccwpck_require__(6375); +var uuid = __nccwpck_require__(3634); +var utilMiddleware = __nccwpck_require__(2390); +var smithyClient = __nccwpck_require__(3570); +var isStreamingPayload = __nccwpck_require__(8977); +var serde = __nccwpck_require__(7669); + +const asSdkError = (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}`); +}; + +const getDefaultRetryQuota = (initialRetryTokens, options) => { + const MAX_CAPACITY = initialRetryTokens; + const noRetryIncrement = utilRetry.NO_RETRY_INCREMENT; + const retryCost = utilRetry.RETRY_COST; + const timeoutRetryCost = utilRetry.TIMEOUT_RETRY_COST; + let availableCapacity = initialRetryTokens; + const getCapacityAmount = (error) => (error.name === "TimeoutError" ? timeoutRetryCost : retryCost); + const hasRetryTokens = (error) => getCapacityAmount(error) <= availableCapacity; + const retrieveRetryTokens = (error) => { + if (!hasRetryTokens(error)) { + throw new Error("No retry token available"); } - awsChunkedEncodingStream.push(null); + const capacityAmount = getCapacityAmount(error); + availableCapacity -= capacityAmount; + return capacityAmount; + }; + const releaseRetryTokens = (capacityReleaseAmount) => { + availableCapacity += capacityReleaseAmount ?? noRetryIncrement; + availableCapacity = Math.min(availableCapacity, MAX_CAPACITY); + }; + return Object.freeze({ + hasRetryTokens, + retrieveRetryTokens, + releaseRetryTokens, }); - return awsChunkedEncodingStream; }; -exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream; +const defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(utilRetry.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)); -/***/ }), +const defaultRetryDecider = (error) => { + if (!error) { + return false; + } + return serviceErrorClassification.isRetryableByTrait(error) || serviceErrorClassification.isClockSkewError(error) || serviceErrorClassification.isThrottlingError(error) || serviceErrorClassification.isTransientError(error); +}; -/***/ 6607: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +class StandardRetryStrategy { + maxAttemptsProvider; + retryDecider; + delayDecider; + retryQuota; + mode = utilRetry.RETRY_MODES.STANDARD; + constructor(maxAttemptsProvider, options) { + this.maxAttemptsProvider = maxAttemptsProvider; + this.retryDecider = options?.retryDecider ?? defaultRetryDecider; + this.delayDecider = options?.delayDecider ?? defaultDelayDecider; + this.retryQuota = options?.retryQuota ?? getDefaultRetryQuota(utilRetry.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 = utilRetry.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 (protocolHttp.HttpRequest.isInstance(request)) { + request.headers[utilRetry.INVOCATION_ID_HEADER] = uuid.v4(); + } + while (true) { + try { + if (protocolHttp.HttpRequest.isInstance(request)) { + request.headers[utilRetry.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`; + } + if (options?.beforeRequest) { + await options.beforeRequest(); + } + const { response, output } = await next(args); + if (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(serviceErrorClassification.isThrottlingError(err) ? utilRetry.THROTTLING_RETRY_DELAY_BASE : utilRetry.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; + } + } + } +} +const getDelayFromRetryAfterHeader = (response) => { + if (!protocolHttp.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 * 1000; + const retryAfterDate = new Date(retryAfter); + return retryAfterDate.getTime() - Date.now(); +}; + +class AdaptiveRetryStrategy extends StandardRetryStrategy { + rateLimiter; + constructor(maxAttemptsProvider, options) { + const { rateLimiter, ...superOptions } = options ?? {}; + super(maxAttemptsProvider, superOptions); + this.rateLimiter = rateLimiter ?? new utilRetry.DefaultRateLimiter(); + this.mode = utilRetry.RETRY_MODES.ADAPTIVE; + } + async retry(next, args) { + return super.retry(next, args, { + beforeRequest: async () => { + return this.rateLimiter.getSendToken(); + }, + afterRequest: (response) => { + this.rateLimiter.updateClientSendingRate(response); + }, + }); + } +} -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 }); +const ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS"; +const CONFIG_MAX_ATTEMPTS = "max_attempts"; +const NODE_MAX_ATTEMPT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + const value = env[ENV_MAX_ATTEMPTS]; + if (!value) + return undefined; + 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 undefined; + 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: utilRetry.DEFAULT_MAX_ATTEMPTS, }; -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; +const resolveRetryConfig = (input) => { + const { retryStrategy, retryMode } = input; + const maxAttempts = utilMiddleware.normalizeProvider(input.maxAttempts ?? utilRetry.DEFAULT_MAX_ATTEMPTS); + let controller = retryStrategy + ? Promise.resolve(retryStrategy) + : undefined; + const getDefault = async () => (await utilMiddleware.normalizeProvider(retryMode)()) === utilRetry.RETRY_MODES.ADAPTIVE + ? new utilRetry.AdaptiveRetryStrategy(maxAttempts) + : new utilRetry.StandardRetryStrategy(maxAttempts); + return Object.assign(input, { + maxAttempts, + retryStrategy: () => (controller ??= getDefault()), + }); +}; +const ENV_RETRY_MODE = "AWS_RETRY_MODE"; +const CONFIG_RETRY_MODE = "retry_mode"; +const NODE_RETRY_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_RETRY_MODE], + configFileSelector: (profile) => profile[CONFIG_RETRY_MODE], + default: utilRetry.DEFAULT_RETRY_MODE, }; -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 +const omitRetryHeadersMiddleware = () => (next) => async (args) => { + const { request } = args; + if (protocolHttp.HttpRequest.isInstance(request)) { + delete request.headers[utilRetry.INVOCATION_ID_HEADER]; + delete request.headers[utilRetry.REQUEST_HEADER]; + } + return next(args); +}; +const omitRetryHeadersMiddlewareOptions = { + name: "omitRetryHeadersMiddleware", + tags: ["RETRY", "HEADERS", "OMIT_RETRY_HEADERS"], + relation: "before", + toMiddleware: "awsAuthMiddleware", + override: true, +}; +const getOmitRetryHeadersPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(omitRetryHeadersMiddleware(), omitRetryHeadersMiddlewareOptions); + }, }); -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); +function parseRetryAfterHeader(response, logger) { + if (!protocolHttp.HttpResponse.isInstance(response)) { + return; + } + for (const header of Object.keys(response.headers)) { + const h = header.toLowerCase(); + if (h === "retry-after") { + const retryAfter = response.headers[header]; + let retryAfterSeconds = NaN; + if (retryAfter.endsWith("GMT")) { + try { + const date = serde.parseRfc7231DateTime(retryAfter); + retryAfterSeconds = (date.getTime() - Date.now()) / 1000; + } + catch (e) { + logger?.trace?.("Failed to parse retry-after header"); + logger?.trace?.(e); + } + } + else if (retryAfter.match(/ GMT, ((\d+)|(\d+\.\d+))$/)) { + retryAfterSeconds = Number(retryAfter.match(/ GMT, ([\d.]+)$/)?.[1]); + } + else if (retryAfter.match(/^((\d+)|(\d+\.\d+))$/)) { + retryAfterSeconds = Number(retryAfter); + } + else if (Date.parse(retryAfter) >= Date.now()) { + retryAfterSeconds = (Date.parse(retryAfter) - Date.now()) / 1000; + } + if (isNaN(retryAfterSeconds)) { + return; + } + return new Date(Date.now() + retryAfterSeconds * 1000); + } + else if (h === "x-amz-retry-after") { + const v = response.headers[header]; + const backoffMilliseconds = Number(v); + if (isNaN(backoffMilliseconds)) { + logger?.trace?.(`Failed to parse x-amz-retry-after=${v}`); + return; + } + return new Date(Date.now() + backoffMilliseconds); + } + } } -__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)); +function getRetryAfterHint(response, logger) { + return parseRetryAfterHeader(response, logger); } -__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.`); +const retryMiddleware = (options) => (next, context) => async (args) => { + let retryStrategy = await options.retryStrategy(); + const maxAttempts = await options.maxAttempts(); + if (isRetryStrategyV2(retryStrategy)) { + retryStrategy = retryStrategy; + let retryToken = await retryStrategy.acquireInitialRetryToken((context["partition_id"] ?? "") + (context.__retryLongPoll ? ":longpoll" : "")); + let lastError = new Error(); + let attempts = 0; + let totalRetryDelay = 0; + const { request } = args; + const isRequest = protocolHttp.HttpRequest.isInstance(request); + if (isRequest) { + request.headers[utilRetry.INVOCATION_ID_HEADER] = uuid.v4(); + } + while (true) { + try { + if (isRequest) { + request.headers[utilRetry.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, options.logger); + lastError = asSdkError(e); + if (isRequest && isStreamingPayload.isStreamingPayload(request)) { + (context.logger instanceof smithyClient.NoOpLogger ? console : context.logger)?.warn("An error was encountered in a non-retryable streaming request."); + throw lastError; + } + try { + retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo); + } + catch (refreshError) { + if (typeof refreshError.$backoff === "number") { + await cooldown(refreshError.$backoff); + } + 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 cooldown(delay); + } + } + } + else { + retryStrategy = retryStrategy; + if (retryStrategy?.mode) { + context.userAgent = [...(context.userAgent || []), ["cfg/retry-mode", retryStrategy.mode]]; + } + return retryStrategy.retry(next, args); } - } - /** - * @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); +const cooldown = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); +const isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" && + typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" && + typeof retryStrategy.recordSuccess !== "undefined"; +const getRetryErrorInfo = (error, logger) => { + const errorInfo = { + error, + errorType: getRetryErrorType(error), + }; + const retryAfterHint = parseRetryAfterHeader(error.$response, logger); + if (retryAfterHint) { + errorInfo.retryAfterHint = retryAfterHint; + } + return errorInfo; +}; +const getRetryErrorType = (error) => { + if (serviceErrorClassification.isThrottlingError(error)) + return "THROTTLING"; + if (serviceErrorClassification.isTransientError(error)) + return "TRANSIENT"; + if (serviceErrorClassification.isServerError(error)) + return "SERVER_ERROR"; + return "CLIENT_ERROR"; +}; +const retryMiddlewareOptions = { + name: "retryMiddleware", + tags: ["RETRY"], + step: "finalizeRequest", + priority: "high", + override: true, +}; +const getRetryPlugin = (options) => ({ + applyToStack: (clientStack) => { + clientStack.add(retryMiddleware(options), retryMiddlewareOptions); + }, +}); +exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy; +exports.CONFIG_MAX_ATTEMPTS = CONFIG_MAX_ATTEMPTS; +exports.CONFIG_RETRY_MODE = CONFIG_RETRY_MODE; +exports.ENV_MAX_ATTEMPTS = ENV_MAX_ATTEMPTS; +exports.ENV_RETRY_MODE = ENV_RETRY_MODE; +exports.NODE_MAX_ATTEMPT_CONFIG_OPTIONS = NODE_MAX_ATTEMPT_CONFIG_OPTIONS; +exports.NODE_RETRY_MODE_CONFIG_OPTIONS = NODE_RETRY_MODE_CONFIG_OPTIONS; +exports.StandardRetryStrategy = StandardRetryStrategy; +exports.defaultDelayDecider = defaultDelayDecider; +exports.defaultRetryDecider = defaultRetryDecider; +exports.getOmitRetryHeadersPlugin = getOmitRetryHeadersPlugin; +exports.getRetryAfterHint = getRetryAfterHint; +exports.getRetryPlugin = getRetryPlugin; +exports.omitRetryHeadersMiddleware = omitRetryHeadersMiddleware; +exports.omitRetryHeadersMiddlewareOptions = omitRetryHeadersMiddlewareOptions; +exports.resolveRetryConfig = resolveRetryConfig; +exports.retryMiddleware = retryMiddleware; +exports.retryMiddlewareOptions = retryMiddlewareOptions; /***/ }), -/***/ 4515: +/***/ 8977: /***/ ((__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); +exports.isStreamingPayload = void 0; 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}`); +const isStreamingPayload = (request) => request?.body instanceof stream_1.Readable || + (typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream); +exports.isStreamingPayload = isStreamingPayload; + + +/***/ }), + +/***/ 1238: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +var protocolHttp = __nccwpck_require__(4418); +var endpoints = __nccwpck_require__(9745); + +const deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => { + const { response } = await next(args); + try { + const parsed = await deserializer(response, options); + return { + response, + output: parsed, + }; } - let transformed = false; - const transformToByteArray = async () => { - if (transformed) { - throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + catch (error) { + Object.defineProperty(error, "$response", { + value: response, + enumerable: false, + writable: false, + configurable: false, + }); + if (!("$metadata" in error)) { + const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`; + try { + error.message += "\n " + hint; + } + catch (e) { + if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") { + console.warn(hint); + } + else { + context.logger?.warn?.(hint); + } + } + if (typeof error.$responseBodyText !== "undefined") { + if (error.$response) { + error.$response.body = error.$responseBodyText; + } + } + try { + if (protocolHttp.HttpResponse.isInstance(response)) { + const { headers = {} } = response; + const headerEntries = Object.entries(headers); + error.$metadata = { + httpStatusCode: response.statusCode, + requestId: findHeader(/^x-[\w-]+-request-?id$/, headerEntries), + extendedRequestId: findHeader(/^x-[\w-]+-id-2$/, headerEntries), + cfId: findHeader(/^x-[\w-]+-cf-id$/, headerEntries), + }; + } + } + catch (e) { + } } - transformed = true; - return await (0, node_http_handler_1.streamCollector)(stream); + throw error; + } +}; +const findHeader = (pattern, headers) => { + return (headers.find(([k]) => { + return k.match(pattern); + }) || [void 0, void 0])[1]; +}; + +const serializerMiddleware = (options, serializer) => (next, context) => async (args) => { + const endpointConfig = options; + const endpoint = context.endpointV2 + ? async () => endpoints.toEndpointV1(context.endpointV2) + : endpointConfig.endpoint; + if (!endpoint) { + throw new Error("No valid endpoint provider available."); + } + const request = await serializer(args.input, { ...options, endpoint }); + return next({ + ...args, + request, + }); +}; + +const deserializerMiddlewareOption = { + name: "deserializerMiddleware", + step: "deserialize", + tags: ["DESERIALIZER"], + override: true, +}; +const 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); + }, }; - 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); +} + +exports.deserializerMiddleware = deserializerMiddleware; +exports.deserializerMiddlewareOption = deserializerMiddlewareOption; +exports.getSerdePlugin = getSerdePlugin; +exports.serializerMiddleware = serializerMiddleware; +exports.serializerMiddlewareOption = serializerMiddlewareOption; + + +/***/ }), + +/***/ 7911: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +const getAllAliases = (name, aliases) => { + const _aliases = []; + if (name) { + _aliases.push(name); + } + if (aliases) { + for (const alias of aliases) { + _aliases.push(alias); + } + } + return _aliases; +}; +const getMiddlewareNameWithAliases = (name, aliases) => { + return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`; +}; +const constructStack = () => { + let absoluteEntries = []; + let relativeEntries = []; + let identifyOnResolve = false; + const entriesNameSet = new Set(); + const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] || + priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]); + const removeByName = (toRemove) => { + let isRemoved = false; + const filterCb = (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; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }; + const removeByReference = (toRemove) => { + let isRemoved = false; + const filterCb = (entry) => { + if (entry.middleware === toRemove) { + isRemoved = true; + for (const alias of getAllAliases(entry.name, entry.aliases)) { + entriesNameSet.delete(alias); + } + return false; + } + return true; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }; + const cloneTo = (toStack) => { + absoluteEntries.forEach((entry) => { + toStack.add(entry.middleware, { ...entry }); + }); + relativeEntries.forEach((entry) => { + toStack.addRelativeTo(entry.middleware, { ...entry }); + }); + toStack.identifyOnResolve?.(stack.identifyOnResolve()); + return toStack; + }; + const expandRelativeMiddlewareList = (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; + }; + const getMiddlewareList = (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; } - else { - const decoder = new util_1.TextDecoder(encoding); - return decoder.decode(buf); + 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 === undefined) { + 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; + }; + 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((entry) => entry.name === alias || entry.aliases?.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); }, - transformToWebStream: () => { - if (transformed) { - throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + 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((entry) => entry.name === alias || entry.aliases?.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); + } } - if (stream.readableFlowing !== null) { - throw new Error("The stream has been consumed by other callbacks."); + 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 = (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; + }; + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }, + concat: (from) => { + const cloned = cloneTo(constructStack()); + cloned.use(from); + cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? 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 (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."); + if (identifyOnResolve) { + console.log(stack.identify()); } - transformed = true; - return stream_1.Readable.toWeb(stream); + return handler; }, - }); + }; + return stack; }; -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 }); +const stepWeights = { + initialize: 5, + serialize: 4, + build: 3, + finalizeRequest: 2, + deserialize: 1, }; -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; +const priorityWeights = { + high: 3, + normal: 2, + low: 1, }; -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); +exports.constructStack = constructStack; -// 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); +/***/ 3461: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +"use strict"; -/***/ }), +var propertyProvider = __nccwpck_require__(9721); +var sharedIniFileLoader = __nccwpck_require__(3507); -/***/ 1895: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +function getSelectorName(functionString) { + try { + const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? [])); + constants.delete("CONFIG"); + constants.delete("CONFIG_PREFIX_SEPARATOR"); + constants.delete("ENV"); + return [...constants].join(", "); + } + catch (e) { + return functionString; + } +} -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; +const fromEnv = (envVarSelector, options) => async () => { + try { + const config = envVarSelector(process.env, options); + if (config === undefined) { + throw new Error(); + } + return config; + } + catch (e) { + throw new propertyProvider.CredentialsProviderError(e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`, { logger: options?.logger }); + } }; -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"); +const fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => { + const profile = sharedIniFileLoader.getProfileName(init); + const { configFile, credentialsFile } = await sharedIniFileLoader.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 === undefined) { + throw new Error(); + } + return configValue; + } + catch (e) { + throw new propertyProvider.CredentialsProviderError(e.message || `Not found in config files w/ profile [${profile}]: ${getSelectorName(configSelector.toString())}`, { logger: init.logger }); + } +}; -// 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"); +const isFunction = (func) => typeof func === "function"; +const fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : propertyProvider.fromStatic(defaultValue); -// src/toUtf8.ts +const loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => { + const { signingName, logger } = configuration; + const envOptions = { signingName, logger }; + return propertyProvider.memoize(propertyProvider.chain(fromEnv(environmentVariableSelector, envOptions), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue))); +}; -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: +exports.loadConfig = loadConfig; -0 && (0); +/***/ }), +/***/ 258: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -/***/ }), +"use strict"; -/***/ 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); +var protocolHttp = __nccwpck_require__(4418); +var querystringBuilder = __nccwpck_require__(8031); +var node_https = __nccwpck_require__(2286); +var node_stream = __nccwpck_require__(4492); +var http2 = __nccwpck_require__(2725); -// 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" - })}` - ); +function buildAbortError(abortSignal) { + const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal + ? abortSignal.reason + : undefined; + if (reason) { + if (reason instanceof Error) { + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + abortError.cause = reason; + return abortError; + } + const abortError = new Error(String(reason)); + abortError.name = "AbortError"; + return abortError; + } + const abortError = new Error("Request 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: + return abortError; +} -0 && (0); +const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"]; +const getTransformedHeaders = (headers) => { + const transformedHeaders = {}; + for (const name of Object.keys(headers)) { + const headerValues = headers[name]; + transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues; + } + return transformedHeaders; +}; +const timing = { + setTimeout: (cb, ms) => setTimeout(cb, ms), + clearTimeout: (timeoutId) => clearTimeout(timeoutId), +}; -/***/ }), +const DEFER_EVENT_LISTENER_TIME$2 = 1000; +const setConnectionTimeout = (request, reject, timeoutInMs = 0) => { + if (!timeoutInMs) { + return -1; + } + const registerTimeout = (offset) => { + const timeoutId = timing.setTimeout(() => { + request.destroy(); + reject(Object.assign(new Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${timeoutInMs} ms.`), { + name: "TimeoutError", + })); + }, timeoutInMs - offset); + const doWithSocket = (socket) => { + if (socket?.connecting) { + socket.on("connect", () => { + timing.clearTimeout(timeoutId); + }); + } + else { + timing.clearTimeout(timeoutId); + } + }; + if (request.socket) { + doWithSocket(request.socket); + } + else { + request.on("socket", doWithSocket); + } + }; + if (timeoutInMs < 2000) { + registerTimeout(0); + return 0; + } + return timing.setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME$2), DEFER_EVENT_LISTENER_TIME$2); +}; -/***/ 3682: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +const setRequestTimeout = (req, reject, timeoutInMs = 0, throwOnRequestTimeout, logger) => { + if (timeoutInMs) { + return timing.setTimeout(() => { + let msg = `@smithy/node-http-handler - [${throwOnRequestTimeout ? "ERROR" : "WARN"}] a request has exceeded the configured ${timeoutInMs} ms requestTimeout.`; + if (throwOnRequestTimeout) { + const error = Object.assign(new Error(msg), { + name: "TimeoutError", + code: "ETIMEDOUT", + }); + req.destroy(error); + reject(error); + } + else { + msg += ` Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.`; + logger?.warn?.(msg); + } + }, timeoutInMs); + } + return -1; +}; -var register = __nccwpck_require__(4670); -var addHook = __nccwpck_require__(5549); -var removeHook = __nccwpck_require__(6819); +const DEFER_EVENT_LISTENER_TIME$1 = 3000; +const setSocketKeepAlive = (request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME$1) => { + if (keepAlive !== true) { + return -1; + } + const registerListener = () => { + if (request.socket) { + request.socket.setKeepAlive(keepAlive, keepAliveMsecs || 0); + } + else { + request.on("socket", (socket) => { + socket.setKeepAlive(keepAlive, keepAliveMsecs || 0); + }); + } + }; + if (deferTimeMs === 0) { + registerListener(); + return 0; + } + return timing.setTimeout(registerListener, deferTimeMs); +}; -// bind with array of arguments: https://stackoverflow.com/a/21792913 -var bind = Function.bind; -var bindable = bind.bind(bind); +const DEFER_EVENT_LISTENER_TIME = 3000; +const setSocketTimeout = (request, reject, timeoutInMs = 0) => { + const registerTimeout = (offset) => { + const timeout = timeoutInMs - offset; + const onTimeout = () => { + request.destroy(); + reject(Object.assign(new Error(`@smithy/node-http-handler - the request socket timed out after ${timeoutInMs} ms of inactivity (configured by client requestHandler).`), { name: "TimeoutError" })); + }; + if (request.socket) { + request.socket.setTimeout(timeout, onTimeout); + request.on("close", () => request.socket?.removeListener("timeout", onTimeout)); + } + else { + request.setTimeout(timeout, onTimeout); + } + }; + if (0 < timeoutInMs && timeoutInMs < 6000) { + registerTimeout(0); + return 0; + } + return timing.setTimeout(registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME); +}; -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); - }); +const MIN_WAIT_TIME = 6_000; +async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME, externalAgent = false) { + const headers = request.headers ?? {}; + const expect = headers.Expect || headers.expect; + let timeoutId = -1; + let sendBody = true; + if (!externalAgent && expect === "100-continue") { + sendBody = await Promise.race([ + new Promise((resolve) => { + timeoutId = Number(timing.setTimeout(() => resolve(true), Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs))); + }), + new Promise((resolve) => { + httpRequest.on("continue", () => { + timing.clearTimeout(timeoutId); + resolve(true); + }); + httpRequest.on("response", () => { + timing.clearTimeout(timeoutId); + resolve(false); + }); + httpRequest.on("error", () => { + timing.clearTimeout(timeoutId); + resolve(false); + }); + }), + ]); + } + if (sendBody) { + writeBody(httpRequest, request.body); + } } - -function HookSingular() { - var singularHookName = "h"; - var singularHookState = { - registry: {}, - }; - var singularHook = register.bind(null, singularHookState, singularHookName); - bindApi(singularHook, singularHookState, singularHookName); - return singularHook; +function writeBody(httpRequest, body) { + if (body instanceof node_stream.Readable) { + body.pipe(httpRequest); + return; + } + if (body) { + const isBuffer = Buffer.isBuffer(body); + const isString = typeof body === "string"; + if (isBuffer || isString) { + if (isBuffer && body.byteLength === 0) { + httpRequest.end(); + } + else { + 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(); +} + +const DEFAULT_REQUEST_TIMEOUT = 0; +let hAgent = undefined; +let hRequest = undefined; +class NodeHttpHandler { + config; + configProvider; + socketWarningTimestamp = 0; + externalAgent = false; + metadata = { handlerProtocol: "http/1.1" }; + static create(instanceOrOptions) { + if (typeof instanceOrOptions?.handle === "function") { + return instanceOrOptions; + } + return new NodeHttpHandler(instanceOrOptions); + } + static checkSocketUsage(agent, socketWarningTimestamp, logger = console) { + const { sockets, requests, maxSockets } = agent; + if (typeof maxSockets !== "number" || maxSockets === Infinity) { + return socketWarningTimestamp; + } + const interval = 15_000; + if (Date.now() - interval < socketWarningTimestamp) { + return socketWarningTimestamp; + } + if (sockets && requests) { + for (const origin in sockets) { + const socketsInUse = sockets[origin]?.length ?? 0; + const requestsEnqueued = requests[origin]?.length ?? 0; + if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) { + logger?.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; + } + constructor(options) { + this.configProvider = new Promise((resolve, reject) => { + if (typeof options === "function") { + options() + .then((_options) => { + resolve(this.resolveDefaultConfig(_options)); + }) + .catch(reject); + } + else { + resolve(this.resolveDefaultConfig(options)); + } + }); + } + destroy() { + this.config?.httpAgent?.destroy(); + this.config?.httpsAgent?.destroy(); + } + async handle(request, { abortSignal, requestTimeout } = {}) { + if (!this.config) { + this.config = await this.configProvider; + } + const config = this.config; + const isSSL = request.protocol === "https:"; + if (!isSSL && !this.config.httpAgent) { + this.config.httpAgent = await this.config.httpAgentProvider(); + } + return new Promise((_resolve, _reject) => { + let writeRequestBodyPromise = undefined; + const timeouts = []; + const resolve = async (arg) => { + await writeRequestBodyPromise; + timeouts.forEach(timing.clearTimeout); + _resolve(arg); + }; + const reject = async (arg) => { + await writeRequestBodyPromise; + timeouts.forEach(timing.clearTimeout); + _reject(arg); + }; + if (abortSignal?.aborted) { + const abortError = buildAbortError(abortSignal); + reject(abortError); + return; + } + const headers = request.headers ?? {}; + const expectContinue = (headers.Expect ?? headers.expect) === "100-continue"; + let agent = isSSL ? config.httpsAgent : config.httpAgent; + if (expectContinue && !this.externalAgent) { + agent = new (isSSL ? node_https.Agent : hAgent)({ + keepAlive: false, + maxSockets: Infinity, + }); + } + timeouts.push(timing.setTimeout(() => { + this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger); + }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000))); + const queryString = querystringBuilder.buildQueryString(request.query || {}); + let auth = undefined; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}`; + } + let path = request.path; + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + let hostname = request.hostname ?? ""; + if (hostname[0] === "[" && hostname.endsWith("]")) { + hostname = request.hostname.slice(1, -1); + } + else { + hostname = request.hostname; + } + const nodeHttpsOptions = { + headers: request.headers, + host: hostname, + method: request.method, + path, + port: request.port, + agent, + auth, + }; + const requestFunc = isSSL ? node_https.request : hRequest; + const req = requestFunc(nodeHttpsOptions, (res) => { + const httpResponse = new protocolHttp.HttpResponse({ + statusCode: res.statusCode || -1, + reason: res.statusMessage, + headers: getTransformedHeaders(res.headers), + body: res, + }); + resolve({ response: httpResponse }); + }); + req.on("error", (err) => { + if (NODEJS_TIMEOUT_ERROR_CODES.includes(err.code)) { + reject(Object.assign(err, { name: "TimeoutError" })); + } + else { + reject(err); + } + }); + if (abortSignal) { + const onAbort = () => { + req.destroy(); + const abortError = buildAbortError(abortSignal); + reject(abortError); + }; + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + req.once("close", () => signal.removeEventListener("abort", onAbort)); + } + else { + abortSignal.onabort = onAbort; + } + } + const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout; + timeouts.push(setConnectionTimeout(req, reject, config.connectionTimeout)); + timeouts.push(setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console)); + timeouts.push(setSocketTimeout(req, reject, config.socketTimeout)); + const httpAgent = nodeHttpsOptions.agent; + if (typeof httpAgent === "object" && "keepAlive" in httpAgent) { + timeouts.push(setSocketKeepAlive(req, { + keepAlive: httpAgent.keepAlive, + keepAliveMsecs: httpAgent.keepAliveMsecs, + })); + } + writeRequestBodyPromise = writeRequestBody(req, request, effectiveRequestTimeout, this.externalAgent).catch((e) => { + timeouts.forEach(timing.clearTimeout); + return _reject(e); + }); + }); + } + updateHttpClientConfig(key, value) { + this.config = undefined; + this.configProvider = this.configProvider.then((config) => { + return { + ...config, + [key]: value, + }; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } + resolveDefaultConfig(options) { + const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {}; + const keepAlive = true; + const maxSockets = 50; + return { + connectionTimeout, + requestTimeout, + socketTimeout, + socketAcquisitionWarningTimeout, + throwOnRequestTimeout, + httpAgentProvider: async () => { + const { Agent, request } = await Promise.resolve(/* import() */).then(__nccwpck_require__.t.bind(__nccwpck_require__, 8849, 23)); + hRequest = request; + hAgent = Agent; + if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") { + this.externalAgent = true; + return httpAgent; + } + return new hAgent({ keepAlive, maxSockets, ...httpAgent }); + }, + httpsAgent: (() => { + if (httpsAgent instanceof node_https.Agent || typeof httpsAgent?.destroy === "function") { + this.externalAgent = true; + return httpsAgent; + } + return new node_https.Agent({ keepAlive, maxSockets, ...httpsAgent }); + })(), + logger, + }; + } } -function HookCollection() { - var state = { - registry: {}, - }; +class NodeHttp2ConnectionPool { + sessions = []; + constructor(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(); + } + } + } + } +} - var hook = register.bind(null, state); - bindApi(hook, state); +class NodeHttp2ConnectionManager { + constructor(config) { + this.config = config; + if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) { + throw new RangeError("maxConcurrency must be greater than zero."); + } + } + config; + sessionCache = new Map(); + 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 = http2.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 = () => { + session.destroy(); + this.deleteSession(url, session); + }; + 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; + } + 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) { + const cacheKey = this.getUrlString(requestContext); + this.sessionCache.get(cacheKey)?.offerLast(session); + } + destroy() { + for (const [key, connectionPool] of this.sessionCache) { + for (const session of connectionPool) { + if (!session.destroyed) { + session.destroy(); + } + connectionPool.remove(session); + } + this.sessionCache.delete(key); + } + } + setMaxConcurrentStreams(maxConcurrentStreams) { + if (maxConcurrentStreams && maxConcurrentStreams <= 0) { + throw new RangeError("maxConcurrentStreams must be greater than zero."); + } + this.config.maxConcurrency = maxConcurrentStreams; + } + setDisableConcurrentStreams(disableConcurrentStreams) { + this.config.disableConcurrency = disableConcurrentStreams; + } + getUrlString(request) { + return request.destination.toString(); + } +} - return hook; +class NodeHttp2Handler { + config; + configProvider; + metadata = { handlerProtocol: "h2" }; + connectionManager = new NodeHttp2ConnectionManager({}); + static create(instanceOrOptions) { + if (typeof instanceOrOptions?.handle === "function") { + return instanceOrOptions; + } + return new NodeHttp2Handler(instanceOrOptions); + } + constructor(options) { + this.configProvider = new Promise((resolve, reject) => { + if (typeof options === "function") { + options() + .then((opts) => { + resolve(opts || {}); + }) + .catch(reject); + } + else { + resolve(options || {}); + } + }); + } + destroy() { + this.connectionManager.destroy(); + } + async handle(request, { abortSignal, requestTimeout } = {}) { + 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: configRequestTimeout, disableConcurrentStreams } = this.config; + const effectiveRequestTimeout = requestTimeout ?? configRequestTimeout; + return new Promise((_resolve, _reject) => { + let fulfilled = false; + let writeRequestBodyPromise = undefined; + const resolve = async (arg) => { + await writeRequestBodyPromise; + _resolve(arg); + }; + const reject = async (arg) => { + await writeRequestBodyPromise; + _reject(arg); + }; + if (abortSignal?.aborted) { + fulfilled = true; + const abortError = buildAbortError(abortSignal); + 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: this.config?.sessionTimeout, + disableConcurrentStreams: disableConcurrentStreams || false, + }); + const rejectWithDestroy = (err) => { + if (disableConcurrentStreams) { + this.destroySession(session); + } + fulfilled = true; + reject(err); + }; + const queryString = querystringBuilder.buildQueryString(query || {}); + let path = request.path; + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + const req = session.request({ + ...request.headers, + [http2.constants.HTTP2_HEADER_PATH]: path, + [http2.constants.HTTP2_HEADER_METHOD]: method, + }); + session.ref(); + req.on("response", (headers) => { + const httpResponse = new protocolHttp.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 (effectiveRequestTimeout) { + req.setTimeout(effectiveRequestTimeout, () => { + req.close(); + const timeoutError = new Error(`Stream timed out because of no activity for ${effectiveRequestTimeout} ms`); + timeoutError.name = "TimeoutError"; + rejectWithDestroy(timeoutError); + }); + } + if (abortSignal) { + const onAbort = () => { + req.close(); + const abortError = buildAbortError(abortSignal); + rejectWithDestroy(abortError); + }; + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + req.once("close", () => signal.removeEventListener("abort", onAbort)); + } + else { + abortSignal.onabort = onAbort; + } + } + req.on("frameError", (type, code, id) => { + rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`)); + }); + req.on("error", rejectWithDestroy); + req.on("aborted", () => { + rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${req.rstCode}.`)); + }); + req.on("close", () => { + session.unref(); + if (disableConcurrentStreams) { + session.destroy(); + } + if (!fulfilled) { + rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response")); + } + }); + writeRequestBodyPromise = writeRequestBody(req, request, effectiveRequestTimeout); + }); + } + updateHttpClientConfig(key, value) { + this.config = undefined; + this.configProvider = this.configProvider.then((config) => { + return { + ...config, + [key]: value, + }; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } + destroySession(session) { + if (!session.destroyed) { + session.destroy(); + } + } } -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(); +class Collector extends node_stream.Writable { + bufferedBytes = []; + _write(chunk, encoding, callback) { + this.bufferedBytes.push(chunk); + callback(); + } } -Hook.Singular = HookSingular.bind(); -Hook.Collection = HookCollection.bind(); +const streamCollector = (stream) => { + if (isReadableStreamInstance(stream)) { + return collectReadableStream(stream); + } + return new Promise((resolve, reject) => { + const collector = new Collector(); + stream.pipe(collector); + stream.on("error", (err) => { + collector.end(); + reject(err); + }); + collector.on("error", reject); + collector.on("finish", function () { + const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes)); + resolve(bytes); + }); + }); +}; +const isReadableStreamInstance = (stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream; +async function collectReadableStream(stream) { + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + let length = 0; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + length += value.length; + } + isDone = done; + } + const collected = new Uint8Array(length); + let offset = 0; + for (const chunk of chunks) { + collected.set(chunk, offset); + offset += chunk.length; + } + return collected; +} -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; +exports.DEFAULT_REQUEST_TIMEOUT = DEFAULT_REQUEST_TIMEOUT; +exports.NodeHttp2Handler = NodeHttp2Handler; +exports.NodeHttpHandler = NodeHttpHandler; +exports.streamCollector = streamCollector; /***/ }), -/***/ 5549: -/***/ ((module) => { +/***/ 9721: +/***/ ((__unused_webpack_module, exports) => { -module.exports = addHook; +"use strict"; -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)); - }; - } +class ProviderError extends Error { + name = "ProviderError"; + tryNextLink; + constructor(message, options = true) { + let logger; + let tryNextLink = true; + if (typeof options === "boolean") { + logger = undefined; + tryNextLink = options; + } + else if (options != null && typeof options === "object") { + logger = options.logger; + tryNextLink = options.tryNextLink ?? true; + } + super(message); + this.tryNextLink = tryNextLink; + Object.setPrototypeOf(this, ProviderError.prototype); + logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`); + } + static from(error, options = true) { + return Object.assign(new this(error.message, options), error); + } +} - 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; - }); - }; - } +class CredentialsProviderError extends ProviderError { + name = "CredentialsProviderError"; + constructor(message, options = true) { + super(message, options); + Object.setPrototypeOf(this, CredentialsProviderError.prototype); + } +} - if (kind === "error") { - hook = function (method, options) { - return Promise.resolve() - .then(method.bind(null, options)) - .catch(function (error) { - return orig(error, options); - }); +class TokenProviderError extends ProviderError { + name = "TokenProviderError"; + constructor(message, options = true) { + super(message, options); + Object.setPrototypeOf(this, TokenProviderError.prototype); + } +} + +const chain = (...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?.tryNextLink) { + continue; + } + throw err; + } + } + throw lastProviderError; +}; + +const fromStatic = (staticValue) => () => Promise.resolve(staticValue); + +const memoize = (provider, isExpired, requiresRefresh) => { + let resolved; + let pending; + let hasResult; + let isConstant = false; + const coalesceProvider = async () => { + if (!pending) { + pending = provider(); + } + try { + resolved = await pending; + hasResult = true; + isConstant = false; + } + finally { + pending = undefined; + } + return resolved; + }; + if (isExpired === undefined) { + return async (options) => { + if (!hasResult || options?.forceRefresh) { + resolved = await coalesceProvider(); + } + return resolved; + }; + } + return async (options) => { + if (!hasResult || 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; }; - } +}; - state.registry[name].push({ - hook: hook, - orig: orig, - }); -} +exports.CredentialsProviderError = CredentialsProviderError; +exports.ProviderError = ProviderError; +exports.TokenProviderError = TokenProviderError; +exports.chain = chain; +exports.fromStatic = fromStatic; +exports.memoize = memoize; /***/ }), -/***/ 4670: -/***/ ((module) => { +/***/ 4418: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -module.exports = register; +"use strict"; -function register(state, name, method, options) { - if (typeof method !== "function") { - throw new Error("method for before hook must be a function"); - } - if (!options) { - options = {}; - } +var types = __nccwpck_require__(5756); - if (Array.isArray(name)) { - return name.reverse().reduce(function (callback, name) { - return register.bind(null, state, name, callback, options); - }, method)(); - } +const getHttpHandlerExtensionConfiguration = (runtimeConfig) => { + return { + setHttpHandler(handler) { + runtimeConfig.httpHandler = handler; + }, + httpHandler() { + return runtimeConfig.httpHandler; + }, + updateHttpClientConfig(key, value) { + runtimeConfig.httpHandler?.updateHttpClientConfig(key, value); + }, + httpHandlerConfigs() { + return runtimeConfig.httpHandler.httpHandlerConfigs(); + }, + }; +}; +const resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => { + return { + httpHandler: httpHandlerExtensionConfiguration.httpHandler(), + }; +}; - return Promise.resolve().then(function () { - if (!state.registry[name]) { - return method(options); +class Field { + name; + kind; + values; + constructor({ name, kind = types.FieldPosition.HEADER, values = [] }) { + this.name = name; + this.kind = kind; + this.values = values; + } + add(value) { + this.values.push(value); + } + set(values) { + this.values = values; + } + remove(value) { + this.values = this.values.filter((v) => v !== value); + } + toString() { + return this.values.map((v) => (v.includes(",") || v.includes(" ") ? `"${v}"` : v)).join(", "); + } + get() { + return this.values; + } +} + +class Fields { + entries = {}; + encoding; + constructor({ fields = [], encoding = "utf-8" }) { + fields.forEach(this.setField.bind(this)); + this.encoding = encoding; + } + setField(field) { + this.entries[field.name.toLowerCase()] = field; + } + getField(name) { + return this.entries[name.toLowerCase()]; + } + removeField(name) { + delete this.entries[name.toLowerCase()]; + } + getByType(kind) { + return Object.values(this.entries).filter((field) => field.kind === kind); + } +} + +class HttpRequest { + method; + protocol; + hostname; + port; + path; + query; + headers; + username; + password; + fragment; + body; + 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 clone(request) { + const cloned = new HttpRequest({ + ...request, + headers: { ...request.headers }, + }); + if (cloned.query) { + cloned.query = cloneQuery(cloned.query); + } + return cloned; + } + 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() { + return HttpRequest.clone(this); + } +} +function cloneQuery(query) { + return Object.keys(query).reduce((carry, paramName) => { + const param = query[paramName]; + return { + ...carry, + [paramName]: Array.isArray(param) ? [...param] : param, + }; + }, {}); +} + +class HttpResponse { + statusCode; + reason; + headers; + body; + 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"; } +} - return state.registry[name].reduce(function (method, registered) { - return registered.hook.bind(null, method, options); - }, method)(); - }); +function isValidHostname(hostname) { + const hostPattern = /^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/; + return hostPattern.test(hostname); } +exports.Field = Field; +exports.Fields = Fields; +exports.HttpRequest = HttpRequest; +exports.HttpResponse = HttpResponse; +exports.getHttpHandlerExtensionConfiguration = getHttpHandlerExtensionConfiguration; +exports.isValidHostname = isValidHostname; +exports.resolveHttpHandlerRuntimeConfig = resolveHttpHandlerRuntimeConfig; -/***/ }), -/***/ 6819: -/***/ ((module) => { +/***/ }), -module.exports = removeHook; +/***/ 8031: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -function removeHook(state, name, method) { - if (!state.registry[name]) { - return; - } +"use strict"; - var index = state.registry[name] - .map(function (registered) { - return registered.orig; - }) - .indexOf(method); - if (index === -1) { - return; - } +var utilUriEscape = __nccwpck_require__(4197); - state.registry[name].splice(index, 1); +function buildQueryString(query) { + const parts = []; + for (let key of Object.keys(query).sort()) { + const value = query[key]; + key = utilUriEscape.escapeUri(key); + if (Array.isArray(value)) { + for (let i = 0, iLen = value.length; i < iLen; i++) { + parts.push(`${key}=${utilUriEscape.escapeUri(value[i])}`); + } + } + else { + let qsEntry = key; + if (value || typeof value === "string") { + qsEntry += `=${utilUriEscape.escapeUri(value)}`; + } + parts.push(qsEntry); + } + } + return parts.join("&"); } +exports.buildQueryString = buildQueryString; + /***/ }), -/***/ 8932: +/***/ 4769: /***/ ((__unused_webpack_module, exports) => { "use strict"; -Object.defineProperty(exports, "__esModule", ({ value: true })); +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; +} -class Deprecation extends Error { - constructor(message) { - super(message); // Maintains proper stack trace (only available on V8) +exports.parseQueryString = parseQueryString; - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); +/***/ }), + +/***/ 6375: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +const CLOCK_SKEW_ERROR_CODES = [ + "AuthFailure", + "InvalidSignatureException", + "RequestExpired", + "RequestInTheFuture", + "RequestTimeTooSkewed", + "SignatureDoesNotMatch", +]; +const THROTTLING_ERROR_CODES = [ + "BandwidthLimitExceeded", + "EC2ThrottledException", + "LimitExceededException", + "PriorRequestNotComplete", + "ProvisionedThroughputExceededException", + "RequestLimitExceeded", + "RequestThrottled", + "RequestThrottledException", + "SlowDown", + "ThrottledException", + "Throttling", + "ThrottlingException", + "TooManyRequestsException", + "TransactionInProgressException", +]; +const TRANSIENT_ERROR_CODES = ["TimeoutError", "RequestTimeout", "RequestTimeoutException"]; +const TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504]; +const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"]; +const NODEJS_NETWORK_ERROR_CODES = ["EHOSTUNREACH", "ENETUNREACH", "ENOTFOUND"]; + +const isRetryableByTrait = (error) => error?.$retryable !== undefined; +const isClockSkewError = (error) => CLOCK_SKEW_ERROR_CODES.includes(error.name); +const isClockSkewCorrectedError = (error) => error.$metadata?.clockSkewCorrected; +const isBrowserNetworkError = (error) => { + const errorMessages = new Set([ + "Failed to fetch", + "NetworkError when attempting to fetch resource", + "The Internet connection appears to be offline", + "Load failed", + "Network request failed", + ]); + const isValid = error && error instanceof TypeError; + if (!isValid) { + return false; + } + return errorMessages.has(error.message); +}; +const isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 || + THROTTLING_ERROR_CODES.includes(error.name) || + error.$retryable?.throttling == true; +const isTransientError = (error, depth = 0) => isRetryableByTrait(error) || + isClockSkewCorrectedError(error) || + TRANSIENT_ERROR_CODES.includes(error.name) || + NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || + NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || + TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || + isBrowserNetworkError(error) || + (error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1)); +const isServerError = (error) => { + if (error.$metadata?.httpStatusCode !== undefined) { + const statusCode = error.$metadata.httpStatusCode; + if (500 <= statusCode && statusCode <= 599 && !isTransientError(error)) { + return true; + } + return false; } + return false; +}; - this.name = 'Deprecation'; - } +exports.isBrowserNetworkError = isBrowserNetworkError; +exports.isClockSkewCorrectedError = isClockSkewCorrectedError; +exports.isClockSkewError = isClockSkewError; +exports.isRetryableByTrait = isRetryableByTrait; +exports.isServerError = isServerError; +exports.isThrottlingError = isThrottlingError; +exports.isTransientError = isTransientError; -} -exports.Deprecation = Deprecation; +/***/ }), + +/***/ 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; /***/ }), -/***/ 2603: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ 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; + -const validator = __nccwpck_require__(1739); -const XMLParser = __nccwpck_require__(2380); -const XMLBuilder = __nccwpck_require__(660); +/***/ }), + +/***/ 9678: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getSSOTokenFromFile = exports.tokenIntercept = void 0; +const promises_1 = __nccwpck_require__(3292); +const getSSOTokenFilepath_1 = __nccwpck_require__(4740); +exports.tokenIntercept = {}; +const getSSOTokenFromFile = async (id) => { + if (exports.tokenIntercept[id]) { + return exports.tokenIntercept[id]; + } + const ssoTokenFilepath = (0, getSSOTokenFilepath_1.getSSOTokenFilepath)(id); + const ssoTokenText = await (0, promises_1.readFile)(ssoTokenFilepath, "utf8"); + return JSON.parse(ssoTokenText); +}; +exports.getSSOTokenFromFile = getSSOTokenFromFile; -module.exports = { - XMLParser: XMLParser, - XMLValidator: validator, - XMLBuilder: XMLBuilder -} /***/ }), -/***/ 8280: -/***/ ((__unused_webpack_module, exports) => { +/***/ 3507: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "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 + '$'); +var getHomeDir = __nccwpck_require__(8340); +var getSSOTokenFilepath = __nccwpck_require__(4740); +var getSSOTokenFromFile = __nccwpck_require__(9678); +var path = __nccwpck_require__(1017); +var types = __nccwpck_require__(5756); +var readFile = __nccwpck_require__(1664); + +const ENV_PROFILE = "AWS_PROFILE"; +const DEFAULT_PROFILE = "default"; +const getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE; -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]); +const CONFIG_PREFIX_SEPARATOR = "."; + +const getConfigData = (data) => Object.entries(data) + .filter(([key]) => { + const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR); + if (indexOfSeparator === -1) { + return false; } - matches.push(allmatches); - match = regex.exec(string); - } - return matches; -}; + return Object.values(types.IniSectionType).includes(key.substring(0, indexOfSeparator)); +}) + .reduce((acc, [key, value]) => { + const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR); + const updatedKey = key.substring(0, indexOfSeparator) === types.IniSectionType.PROFILE ? key.substring(indexOfSeparator + 1) : key; + acc[updatedKey] = value; + return acc; +}, { + ...(data.default && { default: data.default }), +}); -const isName = function(string) { - const match = regexName.exec(string); - return !(match === null || typeof match === 'undefined'); +const ENV_CONFIG_PATH = "AWS_CONFIG_FILE"; +const getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || path.join(getHomeDir.getHomeDir(), ".aws", "config"); + +const ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE"; +const getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || path.join(getHomeDir.getHomeDir(), ".aws", "credentials"); + +const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/; +const profileNameBlockList = ["__proto__", "profile __proto__"]; +const parseIni = (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 = undefined; + currentSubSection = undefined; + const sectionName = trimmedLine.substring(1, trimmedLine.length - 1); + const matches = prefixKeyRegex.exec(sectionName); + if (matches) { + const [, prefix, , name] = matches; + if (Object.values(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 = undefined; + } + map[currentSection] = map[currentSection] || {}; + const key = currentSubSection ? [currentSubSection, name].join(CONFIG_PREFIX_SEPARATOR) : name; + map[currentSection][key] = value; + } + } + } + } + return map; }; -exports.isExist = function(v) { - return typeof v !== 'undefined'; +const swallowError$1 = () => ({}); +const loadSharedConfigFiles = async (init = {}) => { + const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init; + const homeDir = getHomeDir.getHomeDir(); + const relativeHomeDirPrefix = "~/"; + let resolvedFilepath = filepath; + if (filepath.startsWith(relativeHomeDirPrefix)) { + resolvedFilepath = path.join(homeDir, filepath.slice(2)); + } + let resolvedConfigFilepath = configFilepath; + if (configFilepath.startsWith(relativeHomeDirPrefix)) { + resolvedConfigFilepath = path.join(homeDir, configFilepath.slice(2)); + } + const parsedFiles = await Promise.all([ + readFile.readFile(resolvedConfigFilepath, { + ignoreCache: init.ignoreCache, + }) + .then(parseIni) + .then(getConfigData) + .catch(swallowError$1), + readFile.readFile(resolvedFilepath, { + ignoreCache: init.ignoreCache, + }) + .then(parseIni) + .catch(swallowError$1), + ]); + return { + configFile: parsedFiles[0], + credentialsFile: parsedFiles[1], + }; }; -exports.isEmptyObject = function(obj) { - return Object.keys(obj).length === 0; -}; +const getSsoSessionData = (data) => Object.entries(data) + .filter(([key]) => key.startsWith(types.IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR)) + .reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {}); -/** - * 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]]; - } +const swallowError = () => ({}); +const loadSsoSessionData = async (init = {}) => readFile.readFile(init.configFilepath ?? getConfigFilepath()) + .then(parseIni) + .then(getSsoSessionData) + .catch(swallowError); + +const mergeConfigFiles = (...files) => { + const merged = {}; + for (const file of files) { + for (const [key, values] of Object.entries(file)) { + if (merged[key] !== undefined) { + Object.assign(merged[key], values); + } + else { + merged[key] = values; + } + } } - } + return merged; }; -/* exports.merge =function (b,a){ - return Object.assign(b,a); -} */ -exports.getValue = function(v) { - if (exports.isExist(v)) { - return v; - } else { - return ''; - } +const parseKnownFiles = async (init) => { + const parsedFiles = await loadSharedConfigFiles(init); + return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile); +}; + +const externalDataInterceptor = { + getFileRecord() { + return readFile.fileIntercept; + }, + interceptFile(path, contents) { + readFile.fileIntercept[path] = Promise.resolve(contents); + }, + getTokenRecord() { + return getSSOTokenFromFile.tokenIntercept; + }, + interceptToken(id, contents) { + getSSOTokenFromFile.tokenIntercept[id] = contents; + }, }; -// const fakeCall = function(a) {return a;}; -// const fakeCallNoReturn = function() {}; +exports.getSSOTokenFromFile = getSSOTokenFromFile.getSSOTokenFromFile; +exports.readFile = readFile.readFile; +exports.CONFIG_PREFIX_SEPARATOR = CONFIG_PREFIX_SEPARATOR; +exports.DEFAULT_PROFILE = DEFAULT_PROFILE; +exports.ENV_PROFILE = ENV_PROFILE; +exports.externalDataInterceptor = externalDataInterceptor; +exports.getProfileName = getProfileName; +exports.loadSharedConfigFiles = loadSharedConfigFiles; +exports.loadSsoSessionData = loadSsoSessionData; +exports.parseKnownFiles = parseKnownFiles; +Object.prototype.hasOwnProperty.call(getHomeDir, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: getHomeDir['__proto__'] + }); + +Object.keys(getHomeDir).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = getHomeDir[k]; +}); +Object.prototype.hasOwnProperty.call(getSSOTokenFilepath, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: getSSOTokenFilepath['__proto__'] + }); -exports.isName = isName; -exports.getAllMatches = getAllMatches; -exports.nameRegexp = nameRegexp; +Object.keys(getSSOTokenFilepath).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = getSSOTokenFilepath[k]; +}); /***/ }), -/***/ 1739: +/***/ 1664: /***/ ((__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: [] +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.readFile = exports.fileIntercept = exports.filePromises = void 0; +const promises_1 = __nccwpck_require__(3977); +exports.filePromises = {}; +exports.fileIntercept = {}; +const readFile = (path, options) => { + if (exports.fileIntercept[path] !== undefined) { + return exports.fileIntercept[path]; + } + if (!exports.filePromises[path] || options?.ignoreCache) { + exports.filePromises[path] = (0, promises_1.readFile)(path, "utf8"); + } + return exports.filePromises[path]; }; +exports.readFile = readFile; -//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++) { +/***/ 1528: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - 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); +"use strict"; - 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)); +var utilHexEncoding = __nccwpck_require__(5364); +var utilUtf8 = __nccwpck_require__(1895); +var isArrayBuffer = __nccwpck_require__(780); +var protocolHttp = __nccwpck_require__(4418); +var utilMiddleware = __nccwpck_require__(2390); +var utilUriEscape = __nccwpck_require__(4197); + +const ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm"; +const CREDENTIAL_QUERY_PARAM = "X-Amz-Credential"; +const AMZ_DATE_QUERY_PARAM = "X-Amz-Date"; +const SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders"; +const EXPIRES_QUERY_PARAM = "X-Amz-Expires"; +const SIGNATURE_QUERY_PARAM = "X-Amz-Signature"; +const TOKEN_QUERY_PARAM = "X-Amz-Security-Token"; +const REGION_SET_PARAM = "X-Amz-Region-Set"; +const AUTH_HEADER = "authorization"; +const AMZ_DATE_HEADER = AMZ_DATE_QUERY_PARAM.toLowerCase(); +const DATE_HEADER = "date"; +const GENERATED_HEADERS = [AUTH_HEADER, AMZ_DATE_HEADER, DATE_HEADER]; +const SIGNATURE_HEADER = SIGNATURE_QUERY_PARAM.toLowerCase(); +const SHA256_HEADER = "x-amz-content-sha256"; +const TOKEN_HEADER = TOKEN_QUERY_PARAM.toLowerCase(); +const HOST_HEADER = "host"; +const 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, +}; +const PROXY_HEADER_PATTERN = /^proxy-/; +const SEC_HEADER_PATTERN = /^sec-/; +const UNSIGNABLE_PATTERNS = [/^proxy-/i, /^sec-/i]; +const ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256"; +const ALGORITHM_IDENTIFIER_V4A = "AWS4-ECDSA-P256-SHA256"; +const EVENT_ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256-PAYLOAD"; +const UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD"; +const MAX_CACHE_SIZE = 50; +const KEY_TYPE_IDENTIFIER = "aws4_request"; +const MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7; + +const signingKeyCache = {}; +const cacheQueue = []; +const createScope = (shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`; +const getSigningKey = async (sha256Constructor, credentials, shortDate, region, service) => { + const credsHash = await hmac(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId); + const cacheKey = `${shortDate}:${region}:${service}:${utilHexEncoding.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); +}; +const clearCredentialCache = () => { + cacheQueue.length = 0; + Object.keys(signingKeyCache).forEach((cacheKey) => { + delete signingKeyCache[cacheKey]; + }); +}; +const hmac = (ctor, secret, data) => { + const hash = new ctor(secret); + hash.update(utilUtf8.toUint8Array(data)); + return hash.digest(); +}; + +const getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => { + const canonical = {}; + for (const headerName of Object.keys(headers).sort()) { + if (headers[headerName] == undefined) { + continue; } - 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)); + const canonicalHeaderName = headerName.toLowerCase(); + if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS || + unsignableHeaders?.has(canonicalHeaderName) || + PROXY_HEADER_PATTERN.test(canonicalHeaderName) || + SEC_HEADER_PATTERN.test(canonicalHeaderName)) { + if (!signableHeaders || (signableHeaders && !signableHeaders.has(canonicalHeaderName))) { + continue; } - } - } //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)); + canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\s+/g, " "); } - } - - 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 canonical; +}; - return true; +const getPayloadHash = async ({ headers, body }, hashConstructor) => { + for (const headerName of Object.keys(headers)) { + if (headerName.toLowerCase() === SHA256_HEADER) { + return headers[headerName]; + } + } + if (body == undefined) { + return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"; + } + else if (typeof body === "string" || ArrayBuffer.isView(body) || isArrayBuffer.isArrayBuffer(body)) { + const hashCtor = new hashConstructor(); + hashCtor.update(utilUtf8.toUint8Array(body)); + return utilHexEncoding.toHex(await hashCtor.digest()); + } + return UNSIGNED_PAYLOAD; }; -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; - } +class HeaderFormatter { + format(headers) { + const chunks = []; + for (const headerName of Object.keys(headers)) { + const bytes = utilUtf8.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 : 1]); + case "byte": + return Uint8Array.from([2, header.value]); + case "short": + const shortView = new DataView(new ArrayBuffer(3)); + shortView.setUint8(0, 3); + shortView.setInt16(1, header.value, false); + return new Uint8Array(shortView.buffer); + case "integer": + const intView = new DataView(new ArrayBuffer(5)); + intView.setUint8(0, 4); + intView.setInt32(1, header.value, false); + return new Uint8Array(intView.buffer); + case "long": + const longBytes = new Uint8Array(9); + longBytes[0] = 5; + longBytes.set(header.value.bytes, 1); + return longBytes; + case "binary": + const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength)); + binView.setUint8(0, 6); + binView.setUint16(1, header.value.byteLength, false); + const binBytes = new Uint8Array(binView.buffer); + binBytes.set(header.value, 3); + return binBytes; + case "string": + const utf8Bytes = utilUtf8.fromUtf8(header.value); + const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength)); + strView.setUint8(0, 7); + 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; + 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; + uuidBytes.set(utilHexEncoding.fromHex(header.value.replace(/\-/g, "")), 1); + return uuidBytes; + } } - } - 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; - } +var HEADER_VALUE_TYPE; +(function (HEADER_VALUE_TYPE) { + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["boolTrue"] = 0] = "boolTrue"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["boolFalse"] = 1] = "boolFalse"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["byte"] = 2] = "byte"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["short"] = 3] = "short"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["integer"] = 4] = "integer"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["long"] = 5] = "long"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["byteArray"] = 6] = "byteArray"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["string"] = 7] = "string"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["timestamp"] = 8] = "timestamp"; + HEADER_VALUE_TYPE[HEADER_VALUE_TYPE["uuid"] = 9] = "uuid"; +})(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {})); +const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/; +class Int64 { + bytes; + constructor(bytes) { + this.bytes = bytes; + if (bytes.byteLength !== 8) { + throw new Error("Int64 buffers must be exactly 8 bytes"); + } } - } 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; + static fromNumber(number) { + if (number > 9_223_372_036_854_775_807 || 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); } - } 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; - } + valueOf() { + const bytes = this.bytes.slice(0); + const negative = bytes[0] & 0b10000000; + if (negative) { + negate(bytes); + } + return parseInt(utilHexEncoding.toHex(bytes), 16) * (negative ? -1 : 1); + } + toString() { + return String(this.valueOf()); + } +} +function negate(bytes) { + for (let i = 0; i < 8; i++) { + bytes[i] ^= 0xff; + } + for (let i = 7; i > -1; i--) { + bytes[i]++; + if (bytes[i] !== 0) + 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; - } +const hasHeader = (soughtHeader, headers) => { + soughtHeader = soughtHeader.toLowerCase(); + for (const headerName of Object.keys(headers)) { + if (soughtHeader === headerName.toLowerCase()) { + return true; + } } - attrStr += xmlData[i]; - } - if (startChar !== '') { return false; - } +}; - return { - value: attrStr, - index: i, - tagClosed: tagClosed - }; -} +const moveHeadersToQuery = (request, options = {}) => { + const { headers, query = {} } = protocolHttp.HttpRequest.clone(request); + for (const name of Object.keys(headers)) { + const lname = name.toLowerCase(); + if ((lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname)) || + options.hoistableHeaders?.has(lname)) { + query[name] = headers[name]; + delete headers[name]; + } + } + return { + ...request, + headers, + query, + }; +}; -/** - * 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])); +const prepareRequest = (request) => { + request = protocolHttp.HttpRequest.clone(request); + for (const headerName of Object.keys(request.headers)) { + if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) { + delete request.headers[headerName]; + } } - } + return request; +}; - return true; -} +const getCanonicalQuery = ({ query = {} }) => { + const keys = []; + const serialized = {}; + for (const key of Object.keys(query)) { + if (key.toLowerCase() === SIGNATURE_HEADER) { + continue; + } + const encodedKey = utilUriEscape.escapeUri(key); + keys.push(encodedKey); + const value = query[key]; + if (typeof value === "string") { + serialized[encodedKey] = `${encodedKey}=${utilUriEscape.escapeUri(value)}`; + } + else if (Array.isArray(value)) { + serialized[encodedKey] = value + .slice(0) + .reduce((encoded, value) => encoded.concat([`${encodedKey}=${utilUriEscape.escapeUri(value)}`]), []) + .sort() + .join("&"); + } + } + return keys + .sort() + .map((key) => serialized[key]) + .filter((serialized) => serialized) + .join("&"); +}; -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; -} +const iso8601 = (time) => toDate(time) + .toISOString() + .replace(/\.\d{3}Z$/, "Z"); +const toDate = (time) => { + if (typeof time === "number") { + return new Date(time * 1000); + } + if (typeof time === "string") { + if (Number(time)) { + return new Date(Number(time) * 1000); + } + return new Date(time); + } + return time; +}; + +class SignatureV4Base { + service; + regionProvider; + credentialProvider; + sha256; + uriEscapePath; + applyChecksum; + constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) { + this.service = service; + this.sha256 = sha256; + this.uriEscapePath = uriEscapePath; + this.applyChecksum = typeof applyChecksum === "boolean" ? applyChecksum : true; + this.regionProvider = utilMiddleware.normalizeProvider(region); + this.credentialProvider = utilMiddleware.normalizeProvider(credentials); + } + 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")} -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; +${sortedHeaders.join(";")} +${payloadHash}`; + } + async createStringToSign(longDate, credentialScope, canonicalRequest, algorithmIdentifier) { + const hash = new this.sha256(); + hash.update(utilUtf8.toUint8Array(canonicalRequest)); + const hashedRequest = await hash.digest(); + return `${algorithmIdentifier} +${longDate} +${credentialScope} +${utilHexEncoding.toHex(hashedRequest)}`; + } + getCanonicalPath({ path }) { + if (this.uriEscapePath) { + const normalizedPathSegments = []; + for (const pathSegment of path.split("/")) { + if (pathSegment?.length === 0) + continue; + if (pathSegment === ".") + continue; + if (pathSegment === "..") { + normalizedPathSegments.pop(); + } + else { + normalizedPathSegments.push(pathSegment); + } + } + const normalizedPath = `${path?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path?.endsWith("/") ? "/" : ""}`; + const doubleEncoded = utilUriEscape.escapeUri(normalizedPath); + return doubleEncoded.replace(/%2F/g, "/"); + } + return path; + } + validateResolvedCredentials(credentials) { + if (typeof credentials !== "object" || + typeof credentials.accessKeyId !== "string" || + typeof credentials.secretAccessKey !== "string") { + throw new Error("Resolved credential object is not valid"); + } + } + formatDate(now) { + const longDate = iso8601(now).replace(/[\-:]/g, ""); + return { + longDate, + shortDate: longDate.slice(0, 8), + }; + } + getCanonicalHeaderList(headers) { + return Object.keys(headers).sort().join(";"); + } } -function getErrorObject(code, message, lineNumber) { - return { - err: { - code: code, - msg: message, - line: lineNumber.line || lineNumber, - col: lineNumber.col, - }, - }; -} +class SignatureV4 extends SignatureV4Base { + headerFormatter = new HeaderFormatter(); + constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) { + super({ + applyChecksum, + credentials, + region, + service, + sha256, + uriEscapePath, + }); + } + async presign(originalRequest, options = {}) { + const { signingDate = new Date(), expiresIn = 3600, unsignableHeaders, unhoistableHeaders, signableHeaders, hoistableHeaders, signingRegion, signingService, } = options; + const credentials = await this.credentialProvider(); + this.validateResolvedCredentials(credentials); + const region = signingRegion ?? (await this.regionProvider()); + const { longDate, shortDate } = this.formatDate(signingDate); + if (expiresIn > MAX_PRESIGNED_TTL) { + return Promise.reject("Signature version 4 presigned URLs" + " must have an expiration date less than one week in" + " the future"); + } + const scope = createScope(shortDate, region, signingService ?? this.service); + const request = moveHeadersToQuery(prepareRequest(originalRequest), { unhoistableHeaders, hoistableHeaders }); + if (credentials.sessionToken) { + request.query[TOKEN_QUERY_PARAM] = credentials.sessionToken; + } + request.query[ALGORITHM_QUERY_PARAM] = ALGORITHM_IDENTIFIER; + request.query[CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`; + request.query[AMZ_DATE_QUERY_PARAM] = longDate; + request.query[EXPIRES_QUERY_PARAM] = expiresIn.toString(10); + const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders); + request.query[SIGNED_HEADERS_QUERY_PARAM] = this.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 = new Date(), priorSignature, signingRegion, signingService }) { + const region = signingRegion ?? (await this.regionProvider()); + const { shortDate, longDate } = this.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 = utilHexEncoding.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 = 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 = new Date(), signingRegion, signingService } = {}) { + const credentials = await this.credentialProvider(); + this.validateResolvedCredentials(credentials); + const region = signingRegion ?? (await this.regionProvider()); + const { shortDate } = this.formatDate(signingDate); + const hash = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService)); + hash.update(utilUtf8.toUint8Array(stringToSign)); + return utilHexEncoding.toHex(await hash.digest()); + } + async signRequest(requestToSign, { signingDate = 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 } = this.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=${this.getCanonicalHeaderList(canonicalHeaders)}, ` + + `Signature=${signature}`; + return request; + } + async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) { + const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest, ALGORITHM_IDENTIFIER); + const hash = new this.sha256(await keyPromise); + hash.update(utilUtf8.toUint8Array(stringToSign)); + return utilHexEncoding.toHex(await hash.digest()); + } + getSigningKey(credentials, region, shortDate, service) { + return getSigningKey(this.sha256, credentials, shortDate, region, service || this.service); + } +} + +const signatureV4aContainer = { + SignatureV4a: null, +}; + +exports.ALGORITHM_IDENTIFIER = ALGORITHM_IDENTIFIER; +exports.ALGORITHM_IDENTIFIER_V4A = ALGORITHM_IDENTIFIER_V4A; +exports.ALGORITHM_QUERY_PARAM = ALGORITHM_QUERY_PARAM; +exports.ALWAYS_UNSIGNABLE_HEADERS = ALWAYS_UNSIGNABLE_HEADERS; +exports.AMZ_DATE_HEADER = AMZ_DATE_HEADER; +exports.AMZ_DATE_QUERY_PARAM = AMZ_DATE_QUERY_PARAM; +exports.AUTH_HEADER = AUTH_HEADER; +exports.CREDENTIAL_QUERY_PARAM = CREDENTIAL_QUERY_PARAM; +exports.DATE_HEADER = DATE_HEADER; +exports.EVENT_ALGORITHM_IDENTIFIER = EVENT_ALGORITHM_IDENTIFIER; +exports.EXPIRES_QUERY_PARAM = EXPIRES_QUERY_PARAM; +exports.GENERATED_HEADERS = GENERATED_HEADERS; +exports.HOST_HEADER = HOST_HEADER; +exports.KEY_TYPE_IDENTIFIER = KEY_TYPE_IDENTIFIER; +exports.MAX_CACHE_SIZE = MAX_CACHE_SIZE; +exports.MAX_PRESIGNED_TTL = MAX_PRESIGNED_TTL; +exports.PROXY_HEADER_PATTERN = PROXY_HEADER_PATTERN; +exports.REGION_SET_PARAM = REGION_SET_PARAM; +exports.SEC_HEADER_PATTERN = SEC_HEADER_PATTERN; +exports.SHA256_HEADER = SHA256_HEADER; +exports.SIGNATURE_HEADER = SIGNATURE_HEADER; +exports.SIGNATURE_QUERY_PARAM = SIGNATURE_QUERY_PARAM; +exports.SIGNED_HEADERS_QUERY_PARAM = SIGNED_HEADERS_QUERY_PARAM; +exports.SignatureV4 = SignatureV4; +exports.SignatureV4Base = SignatureV4Base; +exports.TOKEN_HEADER = TOKEN_HEADER; +exports.TOKEN_QUERY_PARAM = TOKEN_QUERY_PARAM; +exports.UNSIGNABLE_PATTERNS = UNSIGNABLE_PATTERNS; +exports.UNSIGNED_PAYLOAD = UNSIGNED_PAYLOAD; +exports.clearCredentialCache = clearCredentialCache; +exports.createScope = createScope; +exports.getCanonicalHeaders = getCanonicalHeaders; +exports.getCanonicalQuery = getCanonicalQuery; +exports.getPayloadHash = getPayloadHash; +exports.getSigningKey = getSigningKey; +exports.hasHeader = hasHeader; +exports.moveHeadersToQuery = moveHeadersToQuery; +exports.prepareRequest = prepareRequest; +exports.signatureV4aContainer = signatureV4aContainer; -function validateAttrName(attrName) { - return util.isName(attrName); -} -// const startsWithXML = /^xml/i; +/***/ }), -function validateTagName(tagname) { - return util.isName(tagname) /* && !tagname.match(startsWithXML) */; -} +/***/ 3570: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -//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, +"use strict"; - // 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; +var middlewareStack = __nccwpck_require__(7911); +var types = __nccwpck_require__(5756); +var schema = __nccwpck_require__(9826); +var serde = __nccwpck_require__(7669); +var protocols = __nccwpck_require__(2241); + +class Client { + config; + middlewareStack = middlewareStack.constructStack(); + initConfig; + handlers; + constructor(config) { + this.config = config; + const { protocol, protocolSettings } = config; + if (protocolSettings) { + if (typeof protocol === "function") { + config.protocol = new protocol(protocolSettings); + } + } + } + send(command, optionsOrCb, cb) { + const options = typeof optionsOrCb !== "function" ? optionsOrCb : undefined; + const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb; + const useHandlerCache = options === undefined && this.config.cacheMiddleware === true; + let handler; + if (useHandlerCache) { + if (!this.handlers) { + this.handlers = new WeakMap(); + } + const handlers = this.handlers; + if (handlers.has(command.constructor)) { + handler = handlers.get(command.constructor); + } + else { + handler = command.resolveMiddleware(this.middlewareStack, this.config, options); + handlers.set(command.constructor, handler); + } + } + else { + delete this.handlers; + handler = command.resolveMiddleware(this.middlewareStack, this.config, options); + } + if (callback) { + handler(command) + .then((result) => callback(null, result.output), (err) => callback(err)) + .catch(() => { }); + } + else { + return handler(command).then((result) => result.output); + } + } + destroy() { + this.config?.requestHandler?.destroy?.(); + delete this.handlers; + } } +const SENSITIVE_STRING$1 = "***SensitiveInformation***"; +function schemaLogFilter(schema$1, data) { + if (data == null) { + return data; + } + const ns = schema.NormalizedSchema.of(schema$1); + if (ns.getMergedTraits().sensitive) { + return SENSITIVE_STRING$1; + } + if (ns.isListSchema()) { + const isSensitive = !!ns.getValueSchema().getMergedTraits().sensitive; + if (isSensitive) { + return SENSITIVE_STRING$1; + } + } + else if (ns.isMapSchema()) { + const isSensitive = !!ns.getKeySchema().getMergedTraits().sensitive || !!ns.getValueSchema().getMergedTraits().sensitive; + if (isSensitive) { + return SENSITIVE_STRING$1; + } + } + else if (ns.isStructSchema() && typeof data === "object") { + const object = data; + const newObject = {}; + for (const [member, memberNs] of ns.structIterator()) { + if (object[member] != null) { + newObject[member] = schemaLogFilter(memberNs, object[member]); + } + } + return newObject; + } + return data; +} -/***/ }), - -/***/ 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; - } +class Command { + middlewareStack = middlewareStack.constructStack(); + schema; + static classBuilder() { + return new ClassBuilder(); + } + 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 } = configuration; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog, + outputFilterSensitiveLog, + [types.SMITHY_CONTEXT_KEY]: { + commandInstance: this, + ...smithyContext, + }, + ...additionalContext, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } +} +class ClassBuilder { + _init = () => { }; + _ep = {}; + _middlewareFn = () => []; + _commandName = ""; + _clientName = ""; + _additionalContext = {}; + _smithyContext = {}; + _inputFilterSensitiveLog = undefined; + _outputFilterSensitiveLog = undefined; + _serializer = null; + _deserializer = null; + _operationSchema; + init(cb) { + this._init = cb; + } + ep(endpointParameterInstructions) { + this._ep = endpointParameterInstructions; + return this; + } + m(middlewareSupplier) { + this._middlewareFn = middlewareSupplier; + return this; + } + s(service, operation, smithyContext = {}) { + this._smithyContext = { + service, + operation, + ...smithyContext, + }; + return this; + } + c(additionalContext = {}) { + this._additionalContext = additionalContext; + return this; + } + n(clientName, commandName) { + this._clientName = clientName; + this._commandName = commandName; + return this; + } + f(inputFilter = (_) => _, outputFilter = (_) => _) { + this._inputFilterSensitiveLog = inputFilter; + this._outputFilterSensitiveLog = outputFilter; + return this; + } + ser(serializer) { + this._serializer = serializer; + return this; + } + de(deserializer) { + this._deserializer = deserializer; + return this; + } + sc(operation) { + this._operationSchema = operation; + this._smithyContext.operationSchema = operation; + return this; + } + build() { + const closure = this; + let CommandRef; + return (CommandRef = class extends Command { + input; + static getEndpointParameterInstructions() { + return closure._ep; + } + constructor(...[input]) { + super(); + this.input = input ?? {}; + closure._init(this); + this.schema = closure._operationSchema; + } + resolveMiddleware(stack, configuration, options) { + const op = closure._operationSchema; + const input = op?.[4] ?? op?.input; + const output = op?.[5] ?? op?.output; + return this.resolveMiddlewareWithContext(stack, configuration, options, { + CommandCtor: CommandRef, + middlewareFn: closure._middlewareFn, + clientName: closure._clientName, + commandName: closure._commandName, + inputFilterSensitiveLog: closure._inputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, input) : (_) => _), + outputFilterSensitiveLog: closure._outputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, output) : (_) => _), + smithyContext: closure._smithyContext, + additionalContext: closure._additionalContext, + }); + } + serialize = closure._serializer; + deserialize = closure._deserializer; + }); + } +} - this.processTextOrObjNode = processTextOrObjNode +const SENSITIVE_STRING = "***SensitiveInformation***"; - 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); +const createAggregatedClient = (commands, Client, options) => { + for (const [command, CommandCtor] of Object.entries(commands)) { + const methodImpl = async function (args, optionsOrCb, cb) { + const command = new CommandCtor(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } + else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") + throw new Error(`Expected http options but got ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } + else { + return this.send(command, optionsOrCb); + } + }; + const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, ""); + Client.prototype[methodName] = methodImpl; + } + const { paginators = {}, waiters = {} } = options ?? {}; + for (const [paginatorName, paginatorFn] of Object.entries(paginators)) { + if (Client.prototype[paginatorName] === void 0) { + Client.prototype[paginatorName] = function (commandInput = {}, paginationConfiguration, ...rest) { + return paginatorFn({ + ...paginationConfiguration, + client: this, + }, commandInput, ...rest); + }; } - } - 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]]); + } + for (const [waiterName, waiterFn] of Object.entries(waiters)) { + if (Client.prototype[waiterName] === void 0) { + Client.prototype[waiterName] = async function (commandInput = {}, waiterConfiguration, ...rest) { + let config = waiterConfiguration; + if (typeof waiterConfiguration === "number") { + config = { + maxWaitTime: waiterConfiguration, + }; + } + return waiterFn({ + ...config, + client: this, + }, commandInput, ...rest); + }; } - } 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; +class ServiceException extends Error { + $fault; + $response; + $retryable; + $metadata; + constructor(options) { + super(options.message); + Object.setPrototypeOf(this, Object.getPrototypeOf(this).constructor.prototype); + this.name = options.name; + this.$fault = options.$fault; + this.$metadata = options.$metadata; } - }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 ); + static isInstance(value) { + if (!value) + return false; + const candidate = value; + return (ServiceException.prototype.isPrototypeOf(candidate) || + (Boolean(candidate.$fault) && + Boolean(candidate.$metadata) && + (candidate.$fault === "client" || candidate.$fault === "server"))); + } + static [Symbol.hasInstance](instance) { + if (!instance) + return false; + const candidate = instance; + if (this === ServiceException) { + return ServiceException.isInstance(instance); + } + if (ServiceException.isInstance(instance)) { + if (candidate.name && this.name) { + return this.prototype.isPrototypeOf(instance) || candidate.name === this.name; + } + return this.prototype.isPrototypeOf(instance); + } + return false; } - } } +const decorateServiceException = (exception, additions = {}) => { + Object.entries(additions) + .filter(([, v]) => v !== undefined) + .forEach(([k, v]) => { + if (exception[k] == undefined || exception[k] === "") { + exception[k] = v; + } + }); + const message = exception.message || exception.Message || "UnknownError"; + exception.message = message; + delete exception.Message; + return exception; +}; -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 = `> { + const $metadata = deserializeMetadata(output); + const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined; + const response = new exceptionCtor({ + name: parsedBody?.code || parsedBody?.Code || errorCode || statusCode || "UnknownError", + $fault: "client", + $metadata, + }); + throw decorateServiceException(response, parsedBody); +}; +const withBaseException = (ExceptionCtor) => { + return ({ output, parsedBody, errorCode }) => { + throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode }); + }; +}; +const deserializeMetadata = (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"], +}); -function buildEmptyObjNode(val, key, attrStr, level) { - if (val !== '') { - return this.buildObjectNode(val, key, attrStr, level); - } else { - if(key[0] === "?") return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar; - else { - return this.indentate(level) + '<' + key + attrStr + '/' + this.tagEndChar; - // return this.buildTagStr(level,key, attrStr); +const loadConfigsForDefaultMode = (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: 30000, + }; + default: + return {}; } - } -} +}; -Builder.prototype.buildTextValNode = function(val, key, attrStr, level) { - if (this.options.cdataPropName !== false && key === this.options.cdataPropName) { - return this.indentate(level) + `` + 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 + - ' { + if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) { + warningEmitted = true; } - } -} +}; -Builder.prototype.replaceEntitiesValue = function(textValue){ - if(textValue && textValue.length > 0 && this.options.processEntities){ - for (let i=0; i { + const checksumAlgorithms = []; + for (const id in types.AlgorithmId) { + const algorithmId = types.AlgorithmId[id]; + if (runtimeConfig[algorithmId] === undefined) { + continue; + } + checksumAlgorithms.push({ + algorithmId: () => algorithmId, + checksumConstructor: () => runtimeConfig[algorithmId], + }); } - } - return textValue; -} - -function indentate(level) { - return this.options.indentBy.repeat(level); -} - -function isAttribute(name /*, options*/) { - if (name.startsWith(this.options.attributeNamePrefix)) { - return name.substr(this.attrPrefixLen); - } else { - return false; - } -} - -module.exports = Builder; - + for (const [id, ChecksumCtor] of Object.entries(runtimeConfig.checksumAlgorithms ?? {})) { + checksumAlgorithms.push({ + algorithmId: () => id, + checksumConstructor: () => ChecksumCtor, + }); + } + return { + addChecksumAlgorithm(algo) { + runtimeConfig.checksumAlgorithms = runtimeConfig.checksumAlgorithms ?? {}; + const id = algo.algorithmId(); + const ctor = algo.checksumConstructor(); + if (knownAlgorithms.includes(id)) { + runtimeConfig.checksumAlgorithms[id.toUpperCase()] = ctor; + } + else { + runtimeConfig.checksumAlgorithms[id] = ctor; + } + checksumAlgorithms.push(algo); + }, + checksumAlgorithms() { + return checksumAlgorithms; + }, + }; +}; +const resolveChecksumRuntimeConfig = (clientConfig) => { + const runtimeConfig = {}; + clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => { + const id = checksumAlgorithm.algorithmId(); + if (knownAlgorithms.includes(id)) { + runtimeConfig[id] = checksumAlgorithm.checksumConstructor(); + } + }); + return runtimeConfig; +}; -/***/ }), +const getRetryConfiguration = (runtimeConfig) => { + return { + setRetryStrategy(retryStrategy) { + runtimeConfig.retryStrategy = retryStrategy; + }, + retryStrategy() { + return runtimeConfig.retryStrategy; + }, + }; +}; +const resolveRetryRuntimeConfig = (retryStrategyConfiguration) => { + const runtimeConfig = {}; + runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy(); + return runtimeConfig; +}; -/***/ 2462: -/***/ ((module) => { +const getDefaultExtensionConfiguration = (runtimeConfig) => { + return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig)); +}; +const getDefaultClientConfiguration = getDefaultExtensionConfiguration; +const resolveDefaultRuntimeConfig = (config) => { + return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config)); +}; -const EOL = "\n"; +const getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray]; -/** - * - * @param {array} jArray - * @param {any} options - * @returns - */ -function toXml(jArray, options) { - let indentation = ""; - if (options.format && options.indentBy.length > 0) { - indentation = EOL; +const getValueFromTextNode = (obj) => { + const textNodeName = "#text"; + for (const key in obj) { + if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== undefined) { + obj[key] = obj[key][textNodeName]; + } + else if (typeof obj[key] === "object" && obj[key] !== null) { + obj[key] = getValueFromTextNode(obj[key]); + } } - return arrToStr(jArray, options, "", indentation); -} + return obj; +}; -function arrToStr(arr, options, jPath, indentation) { - let xmlStr = ""; - let isPreviousElementTag = false; +const isSerializableHeaderValue = (value) => { + return value != null; +}; - 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}`; +class NoOpLogger { + trace() { } + debug() { } + info() { } + warn() { } + error() { } +} - 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; +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); } - 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("`; + else { + instructions = arg1; } - 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; + for (const key of Object.keys(instructions)) { + if (!Array.isArray(instructions[key])) { + target[key] = instructions[key]; + continue; + } + applyInstruction(target, null, instructions, key); } + return target; } - -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}"`; +const convertMap = (target) => { + const output = {}; + for (const [k, v] of Object.entries(target || {})) { + output[k] = [, v]; + } + return output; +}; +const take = (source, instructions) => { + const out = {}; + for (const key in instructions) { + applyInstruction(out, source, instructions, key); + } + return out; +}; +const mapWithFilter = (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; + }, {})); +}; +const applyInstruction = (target, source, instructions, targetKey) => { + if (source !== null) { + let instruction = instructions[targetKey]; + if (typeof instruction === "function") { + instruction = [, instruction]; + } + const [filter = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction; + if ((typeof filter === "function" && filter(source[sourceKey])) || (typeof filter !== "function" && !!filter)) { + target[targetKey] = valueFn(source[sourceKey]); + } + return; } - 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; + let [filter, value] = instructions[targetKey]; + if (typeof value === "function") { + let _value; + const defaultFilterPassed = filter === undefined && (_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(); + } } - 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); + else { + const defaultFilterPassed = filter === undefined && value != null; + const customFilterPassed = (typeof filter === "function" && !!filter(value)) || (typeof filter !== "function" && !!filter); + if (defaultFilterPassed || customFilterPassed) { + target[targetKey] = value; } } - return textValue; -} -module.exports = toXml; - - -/***/ }), - -/***/ 6072: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +}; +const nonNullish = (_) => _ != null; +const pass = (_) => _; -const util = __nccwpck_require__(8280); +const serializeFloat = (value) => { + if (value !== value) { + return "NaN"; + } + switch (value) { + case Infinity: + return "Infinity"; + case -Infinity: + return "-Infinity"; + default: + return value; + } +}; +const serializeDateTime = (date) => date.toISOString().replace(".000Z", "Z"); -//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]; +const _json = (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]); } - if(angleBracketsCount !== 0){ - throw new Error(`Unclosed DOCTYPE`); - } - }else{ - throw new Error(`Invalid Tag instead of DOCTYPE`); + return target; } - return {entities, i}; -} + return obj; +}; -function readEntityExp(xmlData,i){ - //External entities are not supported - // +exports.collectBody = protocols.collectBody; +exports.extendedEncodeURIComponent = protocols.extendedEncodeURIComponent; +exports.resolvedPath = protocols.resolvedPath; +exports.Client = Client; +exports.Command = Command; +exports.NoOpLogger = NoOpLogger; +exports.SENSITIVE_STRING = SENSITIVE_STRING; +exports.ServiceException = ServiceException; +exports._json = _json; +exports.convertMap = convertMap; +exports.createAggregatedClient = createAggregatedClient; +exports.decorateServiceException = decorateServiceException; +exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion; +exports.getArrayIfSingleItem = getArrayIfSingleItem; +exports.getDefaultClientConfiguration = getDefaultClientConfiguration; +exports.getDefaultExtensionConfiguration = getDefaultExtensionConfiguration; +exports.getValueFromTextNode = getValueFromTextNode; +exports.isSerializableHeaderValue = isSerializableHeaderValue; +exports.loadConfigsForDefaultMode = loadConfigsForDefaultMode; +exports.map = map; +exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig; +exports.serializeDateTime = serializeDateTime; +exports.serializeFloat = serializeFloat; +exports.take = take; +exports.throwDefaultError = throwDefaultError; +exports.withBaseException = withBaseException; +Object.prototype.hasOwnProperty.call(serde, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: serde['__proto__'] + }); + +Object.keys(serde).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = serde[k]; +}); - //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]; -} +/***/ 5756: +/***/ ((__unused_webpack_module, exports) => { -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 -} +"use strict"; -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}`); -} +exports.HttpAuthLocation = void 0; +(function (HttpAuthLocation) { + HttpAuthLocation["HEADER"] = "header"; + HttpAuthLocation["QUERY"] = "query"; +})(exports.HttpAuthLocation || (exports.HttpAuthLocation = {})); + +exports.HttpApiKeyAuthLocation = void 0; +(function (HttpApiKeyAuthLocation) { + HttpApiKeyAuthLocation["HEADER"] = "header"; + HttpApiKeyAuthLocation["QUERY"] = "query"; +})(exports.HttpApiKeyAuthLocation || (exports.HttpApiKeyAuthLocation = {})); + +exports.EndpointURLScheme = void 0; +(function (EndpointURLScheme) { + EndpointURLScheme["HTTP"] = "http"; + EndpointURLScheme["HTTPS"] = "https"; +})(exports.EndpointURLScheme || (exports.EndpointURLScheme = {})); + +exports.AlgorithmId = void 0; +(function (AlgorithmId) { + AlgorithmId["MD5"] = "md5"; + AlgorithmId["CRC32"] = "crc32"; + AlgorithmId["CRC32C"] = "crc32c"; + AlgorithmId["SHA1"] = "sha1"; + AlgorithmId["SHA256"] = "sha256"; +})(exports.AlgorithmId || (exports.AlgorithmId = {})); +const getChecksumConfiguration = (runtimeConfig) => { + const checksumAlgorithms = []; + if (runtimeConfig.sha256 !== undefined) { + checksumAlgorithms.push({ + algorithmId: () => exports.AlgorithmId.SHA256, + checksumConstructor: () => runtimeConfig.sha256, + }); + } + if (runtimeConfig.md5 != undefined) { + checksumAlgorithms.push({ + algorithmId: () => exports.AlgorithmId.MD5, + checksumConstructor: () => runtimeConfig.md5, + }); + } + return { + addChecksumAlgorithm(algo) { + checksumAlgorithms.push(algo); + }, + checksumAlgorithms() { + return checksumAlgorithms; + }, + }; +}; +const resolveChecksumRuntimeConfig = (clientConfig) => { + const runtimeConfig = {}; + clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => { + runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor(); + }); + return runtimeConfig; +}; -module.exports = readDocType; +const getDefaultClientConfiguration = (runtimeConfig) => { + return getChecksumConfiguration(runtimeConfig); +}; +const resolveDefaultRuntimeConfig = (config) => { + return resolveChecksumRuntimeConfig(config); +}; +exports.FieldPosition = void 0; +(function (FieldPosition) { + FieldPosition[FieldPosition["HEADER"] = 0] = "HEADER"; + FieldPosition[FieldPosition["TRAILER"] = 1] = "TRAILER"; +})(exports.FieldPosition || (exports.FieldPosition = {})); -/***/ }), +const SMITHY_CONTEXT_KEY = "__smithy_context"; -/***/ 6993: -/***/ ((__unused_webpack_module, exports) => { +exports.IniSectionType = void 0; +(function (IniSectionType) { + IniSectionType["PROFILE"] = "profile"; + IniSectionType["SSO_SESSION"] = "sso-session"; + IniSectionType["SERVICES"] = "services"; +})(exports.IniSectionType || (exports.IniSectionType = {})); +exports.RequestHandlerProtocol = void 0; +(function (RequestHandlerProtocol) { + RequestHandlerProtocol["HTTP_0_9"] = "http/0.9"; + RequestHandlerProtocol["HTTP_1_0"] = "http/1.0"; + RequestHandlerProtocol["TDS_8_0"] = "tds/8.0"; +})(exports.RequestHandlerProtocol || (exports.RequestHandlerProtocol = {})); -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.SMITHY_CONTEXT_KEY = SMITHY_CONTEXT_KEY; +exports.getDefaultClientConfiguration = getDefaultClientConfiguration; +exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig; -exports.buildOptions = buildOptions; -exports.defaultOptions = defaultOptions; /***/ }), -/***/ 5832: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ 4681: +/***/ ((__unused_webpack_module, 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; - } -} +var querystringParser = __nccwpck_require__(4769); -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] +const parseUrl = (url) => { + if (typeof url === "string") { + return parseUrl(new URL(url)); } - } -} - -/** - * @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; - } - } + const { hostname, pathname, port, protocol, search } = url; + let query; + if (search) { + query = querystringParser.parseQueryString(search); } - } -} + return { + hostname, + port: port ? parseInt(port) : undefined, + protocol, + path: pathname, + query, + }; +}; -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; -} +exports.parseUrl = parseUrl; -//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); - } - } +/***/ 305: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - if(this.options.transformTagName) { - tagName = this.options.transformTagName(tagName); - } +"use strict"; - if(currentNode){ - textData = this.saveTextToParentTag(textData, currentNode, jPath); - } +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; - //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."); +/***/ 5600: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - textData = this.saveTextToParentTag(textData, currentNode, jPath); - if( (this.options.ignoreDeclaration && tagData.tagName === "?xml") || this.options.ignorePiTags){ +"use strict"; - }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; - } +var fromBase64 = __nccwpck_require__(305); +var toBase64 = __nccwpck_require__(4730); - 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){ +Object.prototype.hasOwnProperty.call(fromBase64, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: fromBase64['__proto__'] + }); - 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); +Object.keys(fromBase64).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = fromBase64[k]; +}); +Object.prototype.hasOwnProperty.call(toBase64, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: toBase64['__proto__'] + }); - if (textData !== undefined && textData !== "") - currentNode.add(this.options.textNodeName, textData); - textData = ""; - } - return textData; -} +Object.keys(toBase64).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = toBase64[k]; +}); -//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; - } -} +/***/ 4730: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -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); - } +"use strict"; - if(removeNSPrefix){ - const colonIndex = tagName.indexOf(":"); - if(colonIndex !== -1){ - tagName = tagName.substr(colonIndex+1); - attrExpPresent = tagName !== result.data.substr(colonIndex + 1); +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); } - } - - 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 ''; + else { + input = _input; } - } -} - - -module.exports = OrderedObjParser; + 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; /***/ }), -/***/ 2380: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ 713: +/***/ ((__unused_webpack_module, exports) => { -const { buildOptions} = __nccwpck_require__(6993); -const OrderedObjParser = __nccwpck_require__(5832); -const { prettify} = __nccwpck_require__(2882); -const validator = __nccwpck_require__(1739); +"use strict"; -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; +const TEXT_ENCODER = typeof TextEncoder == "function" ? new TextEncoder() : null; +const calculateBodyLength = (body) => { + if (typeof body === "string") { + if (TEXT_ENCODER) { + return TEXT_ENCODER.encode(body).byteLength; + } + let len = body.length; + for (let i = len - 1; i >= 0; i--) { + const code = body.charCodeAt(i); + if (code > 0x7f && code <= 0x7ff) + len++; + else if (code > 0x7ff && code <= 0xffff) + len += 2; + if (code >= 0xdc00 && code <= 0xdfff) + i--; } + return len; } -} + else if (typeof body.byteLength === "number") { + return body.byteLength; + } + else if (typeof body.size === "number") { + return body.size; + } + throw new Error(`Body Length computation failed for ${body}`); +}; + +exports.calculateBodyLength = calculateBodyLength; -module.exports = XMLParser; /***/ }), -/***/ 2882: -/***/ ((__unused_webpack_module, exports) => { +/***/ 8075: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "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 = ""; - } +var node_fs = __nccwpck_require__(7561); - if(compressedObj[property] !== undefined && compressedObj.hasOwnProperty(property)) { - if(!Array.isArray(compressedObj[property])) { - compressedObj[property] = [ compressedObj[property] ]; +const calculateBodyLength = (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 (body instanceof node_fs.ReadStream) { + if (body.path != null) { + return node_fs.lstatSync(body.path).size; } - 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; + else if (typeof body.fd === "number") { + return node_fs.fstatSync(body.fd).size; } - } - } - - } - // 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; - } + throw new Error(`Body Length computation failed for ${body}`); +}; - return false; -} -exports.prettify = prettify; +exports.calculateBodyLength = calculateBodyLength; /***/ }), -/***/ 7462: -/***/ ((module) => { +/***/ 1381: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "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 }); +var isArrayBuffer = __nccwpck_require__(780); +var buffer = __nccwpck_require__(4300); + +const fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => { + if (!isArrayBuffer.isArrayBuffer(input)) { + throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); } - }; + return buffer.Buffer.from(input, offset, length); +}; +const fromString = (input, encoding) => { + if (typeof input !== "string") { + throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`); + } + return encoding ? buffer.Buffer.from(input, encoding) : buffer.Buffer.from(input); }; +exports.fromArrayBuffer = fromArrayBuffer; +exports.fromString = fromString; -module.exports = XmlNode; /***/ }), -/***/ 3287: +/***/ 3375: /***/ ((__unused_webpack_module, exports) => { "use strict"; -Object.defineProperty(exports, "__esModule", ({ value: true })); +const booleanSelector = (obj, key, type) => { + if (!(key in obj)) + return undefined; + 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]}.`); +}; -/*! - * is-plain-object - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ +const numberSelector = (obj, key, type) => { + if (!(key in obj)) + return undefined; + const numberValue = parseInt(obj[key], 10); + if (Number.isNaN(numberValue)) { + throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`); + } + return numberValue; +}; -function isObject(o) { - return Object.prototype.toString.call(o) === '[object Object]'; -} +exports.SelectorType = void 0; +(function (SelectorType) { + SelectorType["ENV"] = "env"; + SelectorType["CONFIG"] = "shared config entry"; +})(exports.SelectorType || (exports.SelectorType = {})); -function isPlainObject(o) { - var ctor,prot; +exports.booleanSelector = booleanSelector; +exports.numberSelector = numberSelector; - if (isObject(o) === false) return false; - // If has modified constructor - ctor = o.constructor; - if (ctor === undefined) return true; +/***/ }), - // If has modified prototype - prot = ctor.prototype; - if (isObject(prot) === false) return false; +/***/ 2429: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - // If constructor does not have an Object-specific method - if (prot.hasOwnProperty('isPrototypeOf') === false) { - return false; - } +"use strict"; - // Most likely a plain Object - return true; -} -exports.isPlainObject = isPlainObject; +var configResolver = __nccwpck_require__(3098); +var nodeConfigProvider = __nccwpck_require__(3461); +var propertyProvider = __nccwpck_require__(9721); +const AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV"; +const AWS_REGION_ENV = "AWS_REGION"; +const AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION"; +const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +const DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"]; +const IMDS_REGION_PATH = "/latest/meta-data/placement/region"; -/***/ }), +const AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE"; +const AWS_DEFAULTS_MODE_CONFIG = "defaults_mode"; +const NODE_DEFAULTS_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + return env[AWS_DEFAULTS_MODE_ENV]; + }, + configFileSelector: (profile) => { + return profile[AWS_DEFAULTS_MODE_CONFIG]; + }, + default: "legacy", +}; + +const resolveDefaultsModeConfig = ({ region = nodeConfigProvider.loadConfig(configResolver.NODE_REGION_CONFIG_OPTIONS), defaultsMode = nodeConfigProvider.loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS), } = {}) => propertyProvider.memoize(async () => { + const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode; + switch (mode?.toLowerCase()) { + case "auto": + return resolveNodeDefaultsModeAuto(region); + case "in-region": + case "cross-region": + case "mobile": + case "standard": + case "legacy": + return Promise.resolve(mode?.toLocaleLowerCase()); + case undefined: + return Promise.resolve("legacy"); + default: + throw new Error(`Invalid parameter for "defaultsMode", expect ${DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`); + } +}); +const resolveNodeDefaultsModeAuto = 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"; +}; +const inferPhysicalRegion = 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 __nccwpck_require__.e(/* import() */ 477).then(__nccwpck_require__.t.bind(__nccwpck_require__, 7477, 19)); + const endpoint = await getInstanceMetadataEndpoint(); + return (await httpRequest({ ...endpoint, path: IMDS_REGION_PATH })).toString(); + } + catch (e) { + } + } +}; -/***/ 250: -/***/ (function(module, exports, __nccwpck_require__) { +exports.resolveDefaultsModeConfig = resolveDefaultsModeConfig; -/* 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'; +/***/ 5473: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - /** Used as the size to enable large array optimizations. */ - var LARGE_ARRAY_SIZE = 200; +"use strict"; - /** 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__'; +var types = __nccwpck_require__(5756); - /** Used as the maximum memoize cache size. */ - var MAX_MEMOIZE_SIZE = 500; +class EndpointCache { + capacity; + data = new Map(); + parameters = []; + constructor({ size, params }) { + this.capacity = size ?? 50; + if (params) { + this.parameters = params; + } + } + get(endpointParams, resolver) { + const key = this.hash(endpointParams); + if (key === false) { + return resolver(); + } + if (!this.data.has(key)) { + if (this.data.size > this.capacity + 10) { + const keys = this.data.keys(); + let i = 0; + while (true) { + const { value, done } = keys.next(); + this.data.delete(value); + if (done || ++i > 10) { + break; + } + } + } + this.data.set(key, resolver()); + } + return this.data.get(key); + } + size() { + return this.data.size; + } + hash(endpointParams) { + let buffer = ""; + const { parameters } = this; + if (parameters.length === 0) { + return false; + } + for (const param of parameters) { + const val = String(endpointParams[param] ?? ""); + if (val.includes("|;")) { + return false; + } + buffer += val + "|;"; + } + return buffer; + } +} - /** Used as the internal argument placeholder. */ - var PLACEHOLDER = '__lodash_placeholder__'; +const 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}$`); +const isIpAddress = (value) => IP_V4_REGEX.test(value) || (value.startsWith("[") && value.endsWith("]")); - /** Used to compose bitmasks for cloning. */ - var CLONE_DEEP_FLAG = 1, - CLONE_FLAT_FLAG = 2, - CLONE_SYMBOLS_FLAG = 4; +const VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`); +const isValidHostLabel = (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; +}; - /** Used to compose bitmasks for value comparisons. */ - var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; +const customEndpointFunctions = {}; - /** 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; +const debugId = "endpoints"; - /** Used as default options for `_.truncate`. */ - var DEFAULT_TRUNC_LENGTH = 30, - DEFAULT_TRUNC_OMISSION = '...'; +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); +} - /** Used to detect hot functions by number of calls within a span of milliseconds. */ - var HOT_COUNT = 800, - HOT_SPAN = 16; +class EndpointError extends Error { + constructor(message) { + super(message); + this.name = "EndpointError"; + } +} - /** Used to indicate the type of lazy iteratees. */ - var LAZY_FILTER_FLAG = 1, - LAZY_MAP_FLAG = 2, - LAZY_WHILE_FLAG = 3; +const booleanEquals = (value1, value2) => value1 === value2; - /** Used as references for various `Number` constants. */ - var INFINITY = 1 / 0, - MAX_SAFE_INTEGER = 9007199254740991, - MAX_INTEGER = 1.7976931348623157e+308, - NAN = 0 / 0; +const getAttrPathList = (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; +}; - /** 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; +const getAttr = (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); - /** 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] - ]; +const isSet = (value) => value != null; - /** `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]'; +const not = (value) => !value; - 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]'; +const DEFAULT_PORTS = { + [types.EndpointURLScheme.HTTP]: 80, + [types.EndpointURLScheme.HTTPS]: 443, +}; +const parseURL = (value) => { + const whatwgURL = (() => { + try { + if (value instanceof URL) { + return value; + } + if (typeof value === "object" && "hostname" in value) { + const { hostname, port, protocol = "", path = "", query = {} } = value; + const url = new URL(`${protocol}//${hostname}${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(types.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, + }; +}; - /** 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; +const stringEquals = (value1, value2) => value1 === value2; - /** 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); +const substring = (input, start, stop, reverse) => { + if (start >= stop || input.length < stop || /[^\u0000-\u007f]/.test(input)) { + return null; + } + if (!reverse) { + return input.substring(start, stop); + } + return input.substring(input.length - stop, input.length - start); +}; - /** Used to match template delimiters. */ - var reEscape = /<%-([\s\S]+?)%>/g, - reEvaluate = /<%([\s\S]+?)%>/g, - reInterpolate = /<%=([\s\S]+?)%>/g; +const uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`); - /** Used to match property names within property paths. */ - var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, - reIsPlainProp = /^\w*$/, - rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; +const endpointFunctions = { + booleanEquals, + getAttr, + isSet, + isValidHostLabel, + not, + parseURL, + stringEquals, + substring, + uriEncode, +}; - /** - * Used to match `RegExp` - * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). - */ - var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, - reHasRegExpChar = RegExp(reRegExpChar.source); +const evaluateTemplate = (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(""); +}; - /** Used to match leading whitespace. */ - var reTrimStart = /^\s+/; +const getReferenceValue = ({ ref }, options) => { + const referenceRecord = { + ...options.endpointParams, + ...options.referenceRecord, + }; + return referenceRecord[ref]; +}; - /** Used to match a single whitespace character. */ - var reWhitespace = /\s/; +const evaluateExpression = (obj, keyName, options) => { + if (typeof obj === "string") { + return evaluateTemplate(obj, options); + } + else if (obj["fn"]) { + return group$2.callFunction(obj, options); + } + else if (obj["ref"]) { + return getReferenceValue(obj, options); + } + throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`); +}; +const callFunction = ({ fn, argv }, options) => { + const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : group$2.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); +}; +const group$2 = { + evaluateExpression, + callFunction, +}; - /** Used to match wrap detail comments. */ - var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, - reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, - reSplitDetails = /,? & /; +const evaluateCondition = ({ assign, ...fnArgs }, options) => { + if (assign && assign in options.referenceRecord) { + throw new EndpointError(`'${assign}' is already defined in Reference Record.`); + } + const value = callFunction(fnArgs, options); + options.logger?.debug?.(`${debugId} evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`); + return { + result: value === "" ? true : !!value, + ...(assign != null && { toAssign: { name: assign, value } }), + }; +}; - /** Used to match words composed of alphanumeric characters. */ - var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; +const evaluateConditions = (conditions = [], options) => { + 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; + options.logger?.debug?.(`${debugId} assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`); + } + } + return { result: true, referenceRecord: conditionsReferenceRecord }; +}; - /** - * 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]/; +const getEndpointHeaders = (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; + }), +}), {}); - /** Used to match backslashes in property paths. */ - var reEscapeChar = /\\(\\)?/g; +const getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({ + ...acc, + [propertyKey]: group$1.getEndpointProperty(propertyVal, options), +}), {}); +const getEndpointProperty = (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 group$1.getEndpointProperties(property, options); + case "boolean": + return property; + default: + throw new EndpointError(`Unexpected endpoint property type: ${typeof property}`); + } +}; +const group$1 = { + getEndpointProperty, + getEndpointProperties, +}; - /** - * Used to match - * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components). - */ - var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g; +const getEndpointUrl = (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}`); +}; - /** Used to match `RegExp` flags from their coerced string values. */ - var reFlags = /\w*$/; +const evaluateEndpointRule = (endpointRule, options) => { + 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; + options.logger?.debug?.(`${debugId} Resolving endpoint from template: ${toDebugString(endpoint)}`); + return { + ...(headers != undefined && { + headers: getEndpointHeaders(headers, endpointRuleOptions), + }), + ...(properties != undefined && { + properties: getEndpointProperties(properties, endpointRuleOptions), + }), + url: getEndpointUrl(url, endpointRuleOptions), + }; +}; - /** Used to detect bad signed hexadecimal string values. */ - var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; +const evaluateErrorRule = (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 }, + })); +}; - /** Used to detect binary string values. */ - var reIsBinary = /^0b[01]+$/i; +const evaluateRules = (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 = group.evaluateTreeRule(rule, options); + if (endpointOrUndefined) { + return endpointOrUndefined; + } + } + else { + throw new EndpointError(`Unknown endpoint rule: ${rule}`); + } + } + throw new EndpointError(`Rules evaluation failed`); +}; +const evaluateTreeRule = (treeRule, options) => { + const { conditions, rules } = treeRule; + const { result, referenceRecord } = evaluateConditions(conditions, options); + if (!result) { + return; + } + return group.evaluateRules(rules, { + ...options, + referenceRecord: { ...options.referenceRecord, ...referenceRecord }, + }); +}; +const group = { + evaluateRules, + evaluateTreeRule, +}; - /** Used to detect host constructors (Safari). */ - var reIsHostCtor = /^\[object .+?Constructor\]$/; +const resolveEndpoint = (ruleSetObject, options) => { + const { endpointParams, logger } = options; + const { parameters, rules } = ruleSetObject; + options.logger?.debug?.(`${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: {} }); + options.logger?.debug?.(`${debugId} Resolved endpoint: ${toDebugString(endpoint)}`); + return endpoint; +}; - /** Used to detect octal string values. */ - var reIsOctal = /^0o[0-7]+$/i; +exports.EndpointCache = EndpointCache; +exports.EndpointError = EndpointError; +exports.customEndpointFunctions = customEndpointFunctions; +exports.isIpAddress = isIpAddress; +exports.isValidHostLabel = isValidHostLabel; +exports.resolveEndpoint = resolveEndpoint; - /** 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 = /($^)/; +/***/ 5364: +/***/ ((__unused_webpack_module, exports) => { - /** Used to match unescaped characters in compiled string literals. */ - var reUnescapedString = /['\n\r\u2028\u2029\\]/g; +"use strict"; - /** 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'; +const SHORT_TO_HEX = {}; +const 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; +} +function toHex(bytes) { + let out = ""; + for (let i = 0; i < bytes.byteLength; i++) { + out += SHORT_TO_HEX[bytes[i]]; + } + return out; +} - /** 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('|') + ')'; +exports.fromHex = fromHex; +exports.toHex = toHex; - /** 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'); +/***/ 2390: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - /** 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'); +"use strict"; - /** 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 ]/; +var types = __nccwpck_require__(5756); - /** 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' - ]; +const getSmithyContext = (context) => context[types.SMITHY_CONTEXT_KEY] || (context[types.SMITHY_CONTEXT_KEY] = {}); - /** Used to make template sourceURLs easier to identify. */ - var templateCounter = -1; +const normalizeProvider = (input) => { + if (typeof input === "function") + return input; + const promisified = Promise.resolve(input); + return () => promisified; +}; - /** 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; +exports.getSmithyContext = getSmithyContext; +exports.normalizeProvider = normalizeProvider; - /** 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 = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''' - }; +/***/ 4902: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - /** Used to map HTML entities to characters. */ - var htmlUnescapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - ''': "'" - }; +"use strict"; - /** 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; +var serviceErrorClassification = __nccwpck_require__(6375); + +exports.RETRY_MODES = void 0; +(function (RETRY_MODES) { + RETRY_MODES["STANDARD"] = "standard"; + RETRY_MODES["ADAPTIVE"] = "adaptive"; +})(exports.RETRY_MODES || (exports.RETRY_MODES = {})); +const DEFAULT_MAX_ATTEMPTS = 3; +const DEFAULT_RETRY_MODE = exports.RETRY_MODES.STANDARD; + +class DefaultRateLimiter { + static setTimeoutFn = setTimeout; + beta; + minCapacity; + minFillRate; + scaleConstant; + smooth; + enabled = false; + availableTokens = 0; + lastMaxRate = 0; + measuredTxRate = 0; + requestCount = 0; + fillRate; + lastThrottleTime; + lastTimestamp = 0; + lastTxRateBucket; + maxCapacity; + timeWindow = 0; + constructor(options) { + this.beta = options?.beta ?? 0.7; + this.minCapacity = options?.minCapacity ?? 1; + this.minFillRate = options?.minFillRate ?? 0.5; + this.scaleConstant = options?.scaleConstant ?? 0.4; + this.smooth = options?.smooth ?? 0.8; + this.lastThrottleTime = this.getCurrentTimeInSeconds(); + this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds()); + this.fillRate = this.minFillRate; + this.maxCapacity = this.minCapacity; + } + async getSendToken() { + return this.acquireTokenBucket(1); + } + updateClientSendingRate(response) { + let calculatedRate; + this.updateMeasuredRate(); + const retryErrorInfo = response; + const isThrottling = retryErrorInfo?.errorType === "THROTTLING" || serviceErrorClassification.isThrottlingError(retryErrorInfo?.error ?? response); + if (isThrottling) { + 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); + } + getCurrentTimeInSeconds() { + return Date.now() / 1000; + } + async acquireTokenBucket(amount) { + if (!this.enabled) { + return; + } + this.refillTokenBucket(); + if (amount > this.availableTokens) { + const delay = ((amount - this.availableTokens) / this.fillRate) * 1000; + await new Promise((resolve) => DefaultRateLimiter.setTimeoutFn(resolve, delay)); + } + this.availableTokens = this.availableTokens - amount; + } + refillTokenBucket() { + const timestamp = this.getCurrentTimeInSeconds(); + if (!this.lastTimestamp) { + this.lastTimestamp = timestamp; + return; + } + const fillAmount = (timestamp - this.lastTimestamp) * this.fillRate; + this.availableTokens = Math.min(this.maxCapacity, this.availableTokens + fillAmount); + this.lastTimestamp = timestamp; + } + 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.availableTokens = Math.min(this.availableTokens, 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)); + } +} - /** Detect free variable `global` from Node.js. */ - var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; +const DEFAULT_RETRY_DELAY_BASE = 100; +const MAXIMUM_RETRY_DELAY = 20 * 1000; +const THROTTLING_RETRY_DELAY_BASE = 500; +const INITIAL_RETRY_TOKENS = 500; +const RETRY_COST = 5; +const TIMEOUT_RETRY_COST = 10; +const NO_RETRY_INCREMENT = 1; +const INVOCATION_ID_HEADER = "amz-sdk-invocation-id"; +const REQUEST_HEADER = "amz-sdk-request"; - /** Detect free variable `self`. */ - var freeSelf = typeof self == 'object' && self && self.Object === Object && self; +class Retry { + static v2026 = typeof process !== "undefined" && process.env?.SMITHY_NEW_RETRIES_2026 === "true"; + static delay() { + return Retry.v2026 ? 50 : 100; + } + static throttlingDelay() { + return Retry.v2026 ? 1_000 : 500; + } + static cost() { + return Retry.v2026 ? 14 : 5; + } + static throttlingCost() { + return Retry.v2026 ? 5 : 10; + } + static modifiedCostType() { + return Retry.v2026 ? "THROTTLING" : "TRANSIENT"; + } +} - /** Used as a reference to the global object. */ - var root = freeGlobal || freeSelf || Function('return this')(); +class DefaultRetryBackoffStrategy { + x = Retry.delay(); + computeNextBackoffDelay(i) { + const b = Math.random(); + const r = 2; + const t_i = b * Math.min(this.x * r ** i, MAXIMUM_RETRY_DELAY); + return Math.floor(t_i); + } + setDelayBase(delay) { + this.x = delay; + } +} - /** Detect free variable `exports`. */ - var freeExports = true && exports && !exports.nodeType && exports; +class DefaultRetryToken { + delay; + count; + cost; + longPoll; + constructor(delay, count, cost, longPoll) { + this.delay = delay; + this.count = count; + this.cost = cost; + this.longPoll = longPoll; + } + getRetryCount() { + return this.count; + } + getRetryDelay() { + return Math.min(MAXIMUM_RETRY_DELAY, this.delay); + } + getRetryCost() { + return this.cost; + } + isLongPoll() { + return this.longPoll; + } +} - /** Detect free variable `module`. */ - var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module; +class StandardRetryStrategy { + mode = exports.RETRY_MODES.STANDARD; + capacity = INITIAL_RETRY_TOKENS; + retryBackoffStrategy; + maxAttemptsProvider; + baseDelay; + constructor(arg1) { + if (typeof arg1 === "number") { + this.maxAttemptsProvider = async () => arg1; + } + else if (typeof arg1 === "function") { + this.maxAttemptsProvider = arg1; + } + else if (arg1 && typeof arg1 === "object") { + this.maxAttemptsProvider = async () => arg1.maxAttempts; + this.baseDelay = arg1.baseDelay; + this.retryBackoffStrategy = arg1.backoff; + } + this.maxAttemptsProvider ??= async () => DEFAULT_MAX_ATTEMPTS; + this.baseDelay ??= Retry.delay(); + this.retryBackoffStrategy ??= new DefaultRetryBackoffStrategy(); + } + async acquireInitialRetryToken(retryTokenScope) { + return new DefaultRetryToken(Retry.delay(), 0, undefined, Retry.v2026 && retryTokenScope.includes(":longpoll")); + } + async refreshRetryTokenForRetry(token, errorInfo) { + const maxAttempts = await this.getMaxAttempts(); + const shouldRetry = this.shouldRetry(token, errorInfo, maxAttempts); + if (shouldRetry || token.isLongPoll?.()) { + const errorType = errorInfo.errorType; + this.retryBackoffStrategy.setDelayBase(errorType === "THROTTLING" ? Retry.throttlingDelay() : this.baseDelay); + const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount()); + let retryDelay = delayFromErrorType; + if (errorInfo.retryAfterHint instanceof Date) { + retryDelay = Math.max(delayFromErrorType, Math.min(errorInfo.retryAfterHint.getTime() - Date.now(), delayFromErrorType + 5_000)); + } + if (!shouldRetry) { + throw Object.assign(new Error("No retry token available"), { $backoff: Retry.v2026 ? retryDelay : 0 }); + } + else { + const capacityCost = this.getCapacityCost(errorType); + this.capacity -= capacityCost; + return new DefaultRetryToken(retryDelay, token.getRetryCount() + 1, capacityCost, token.isLongPoll?.() ?? false); + } + } + throw new Error("No retry token available"); + } + recordSuccess(token) { + this.capacity = Math.min(INITIAL_RETRY_TOKENS, this.capacity + (token.getRetryCost() ?? NO_RETRY_INCREMENT)); + } + 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 === Retry.modifiedCostType() ? Retry.throttlingCost() : Retry.cost(); + } + isRetryableError(errorType) { + return errorType === "THROTTLING" || errorType === "TRANSIENT"; + } + async maxAttempts() { + return this.maxAttemptsProvider(); + } +} - /** Detect the popular CommonJS extension `module.exports`. */ - var moduleExports = freeModule && freeModule.exports === freeExports; +class AdaptiveRetryStrategy { + mode = exports.RETRY_MODES.ADAPTIVE; + rateLimiter; + standardRetryStrategy; + constructor(maxAttemptsProvider, options) { + const { rateLimiter } = options ?? {}; + this.rateLimiter = rateLimiter ?? new DefaultRateLimiter(); + this.standardRetryStrategy = options + ? new StandardRetryStrategy({ + maxAttempts: typeof maxAttemptsProvider === "number" ? maxAttemptsProvider : 3, + ...options, + }) + : 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); + } + async maxAttemptsProvider() { + return this.standardRetryStrategy.maxAttempts(); + } +} - /** Detect free variable `process` from Node.js. */ - var freeProcess = moduleExports && freeGlobal.process; +class ConfiguredRetryStrategy extends StandardRetryStrategy { + computeNextBackoffDelay; + constructor(maxAttempts, computeNextBackoffDelay = Retry.delay()) { + 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; + } +} - /** 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; +exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy; +exports.ConfiguredRetryStrategy = ConfiguredRetryStrategy; +exports.DEFAULT_MAX_ATTEMPTS = DEFAULT_MAX_ATTEMPTS; +exports.DEFAULT_RETRY_DELAY_BASE = DEFAULT_RETRY_DELAY_BASE; +exports.DEFAULT_RETRY_MODE = DEFAULT_RETRY_MODE; +exports.DefaultRateLimiter = DefaultRateLimiter; +exports.INITIAL_RETRY_TOKENS = INITIAL_RETRY_TOKENS; +exports.INVOCATION_ID_HEADER = INVOCATION_ID_HEADER; +exports.MAXIMUM_RETRY_DELAY = MAXIMUM_RETRY_DELAY; +exports.NO_RETRY_INCREMENT = NO_RETRY_INCREMENT; +exports.REQUEST_HEADER = REQUEST_HEADER; +exports.RETRY_COST = RETRY_COST; +exports.Retry = Retry; +exports.StandardRetryStrategy = StandardRetryStrategy; +exports.THROTTLING_RETRY_DELAY_BASE = THROTTLING_RETRY_DELAY_BASE; +exports.TIMEOUT_RETRY_COST = TIMEOUT_RETRY_COST; - 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; +/***/ 9361: +/***/ ((__unused_webpack_module, exports) => { - /*--------------------------------------------------------------------------*/ +"use strict"; - /** - * 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]); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ByteArrayCollector = void 0; +class ByteArrayCollector { + allocByteArray; + byteLength = 0; + byteArrays = []; + constructor(allocByteArray) { + this.allocByteArray = allocByteArray; + } + push(byteArray) { + this.byteArrays.push(byteArray); + this.byteLength += byteArray.byteLength; + } + flush() { + if (this.byteArrays.length === 1) { + const bytes = this.byteArrays[0]; + this.reset(); + return bytes; + } + const aggregation = this.allocByteArray(this.byteLength); + let cursor = 0; + for (let i = 0; i < this.byteArrays.length; ++i) { + const bytes = this.byteArrays[i]; + aggregation.set(bytes, cursor); + cursor += bytes.byteLength; + } + this.reset(); + return aggregation; } - return func.apply(thisArg, args); - } + reset() { + this.byteArrays = []; + this.byteLength = 0; + } +} +exports.ByteArrayCollector = ByteArrayCollector; - /** - * 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; +/***/ 8551: +/***/ ((__unused_webpack_module, exports) => { - while (++index < length) { - if (iteratee(array[index], index, array) === false) { - break; - } - } - return array; - } +"use strict"; - /** - * 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; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ChecksumStream = void 0; +const ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function () { }; +class ChecksumStream extends ReadableStreamRef { +} +exports.ChecksumStream = ChecksumStream; - 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; - } +/***/ 6982: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - /** - * 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 = []; +"use strict"; - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result[resIndex++] = value; - } +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ChecksumStream = void 0; +const util_base64_1 = __nccwpck_require__(5600); +const stream_1 = __nccwpck_require__(2781); +class ChecksumStream extends stream_1.Duplex { + expectedChecksum; + checksumSourceLocation; + checksum; + source; + base64Encoder; + pendingCallback = null; + constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) { + super(); + if (typeof source.pipe === "function") { + this.source = source; + } + else { + throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`); + } + this.base64Encoder = base64Encoder ?? util_base64_1.toBase64; + this.expectedChecksum = expectedChecksum; + this.checksum = checksum; + this.checksumSourceLocation = checksumSourceLocation; + this.source.pipe(this); + } + _read(size) { + if (this.pendingCallback) { + const callback = this.pendingCallback; + this.pendingCallback = null; + callback(); + } } - return result; - } + _write(chunk, encoding, callback) { + try { + this.checksum.update(chunk); + const canPushMore = this.push(chunk); + if (!canPushMore) { + this.pendingCallback = callback; + return; + } + } + catch (e) { + return callback(e); + } + return callback(); + } + async _final(callback) { + try { + const digest = await this.checksum.digest(); + const received = this.base64Encoder(digest); + if (this.expectedChecksum !== received) { + return callback(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${received}"` + + ` in response header "${this.checksumSourceLocation}".`)); + } + } + catch (e) { + return callback(e); + } + this.push(null); + return callback(); + } +} +exports.ChecksumStream = ChecksumStream; - /** - * 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; - } +/***/ 2313: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - /** - * 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); +"use strict"; - while (++index < length) { - result[index] = iteratee(array[index], index, array); - } - return result; - } +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.createChecksumStream = void 0; +const util_base64_1 = __nccwpck_require__(5600); +const stream_type_check_1 = __nccwpck_require__(7578); +const ChecksumStream_browser_1 = __nccwpck_require__(8551); +const createChecksumStream = ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) => { + if (!(0, stream_type_check_1.isReadableStream)(source)) { + throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`); + } + const encoder = base64Encoder ?? util_base64_1.toBase64; + if (typeof TransformStream !== "function") { + throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream."); + } + const transform = new TransformStream({ + start() { }, + async transform(chunk, controller) { + checksum.update(chunk); + controller.enqueue(chunk); + }, + async flush(controller) { + const digest = await checksum.digest(); + const received = encoder(digest); + if (expectedChecksum !== received) { + const error = new Error(`Checksum mismatch: expected "${expectedChecksum}" but received "${received}"` + + ` in response header "${checksumSourceLocation}".`); + controller.error(error); + } + else { + controller.terminate(); + } + }, + }); + source.pipeThrough(transform); + const readable = transform.readable; + Object.setPrototypeOf(readable, ChecksumStream_browser_1.ChecksumStream.prototype); + return readable; +}; +exports.createChecksumStream = createChecksumStream; - /** - * 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; +/***/ 1927: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - if (initAccum && length) { - accumulator = array[++index]; - } - while (++index < length) { - accumulator = iteratee(accumulator, array[index], index, array); - } - return accumulator; - } +"use strict"; - /** - * 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); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.createChecksumStream = createChecksumStream; +const stream_type_check_1 = __nccwpck_require__(7578); +const ChecksumStream_1 = __nccwpck_require__(6982); +const createChecksumStream_browser_1 = __nccwpck_require__(2313); +function createChecksumStream(init) { + if (typeof ReadableStream === "function" && (0, stream_type_check_1.isReadableStream)(init.source)) { + return (0, createChecksumStream_browser_1.createChecksumStream)(init); } - return 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; + return new ChecksumStream_1.ChecksumStream(init); +} - 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(''); - } +/***/ 3259: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - /** - * 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) || []; - } +"use strict"; - /** - * 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; - } +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.createBufferedReadable = createBufferedReadable; +const node_stream_1 = __nccwpck_require__(4492); +const ByteArrayCollector_1 = __nccwpck_require__(9361); +const createBufferedReadableStream_1 = __nccwpck_require__(2558); +const stream_type_check_1 = __nccwpck_require__(7578); +function createBufferedReadable(upstream, size, logger) { + if ((0, stream_type_check_1.isReadableStream)(upstream)) { + return (0, createBufferedReadableStream_1.createBufferedReadableStream)(upstream, size, logger); + } + const downstream = new node_stream_1.Readable({ read() { } }); + let streamBufferingLoggedWarning = false; + let bytesSeen = 0; + const buffers = [ + "", + new ByteArrayCollector_1.ByteArrayCollector((size) => new Uint8Array(size)), + new ByteArrayCollector_1.ByteArrayCollector((size) => Buffer.from(new Uint8Array(size))), + ]; + let mode = -1; + upstream.on("data", (chunk) => { + const chunkMode = (0, createBufferedReadableStream_1.modeOf)(chunk, true); + if (mode !== chunkMode) { + if (mode >= 0) { + downstream.push((0, createBufferedReadableStream_1.flush)(buffers, mode)); + } + mode = chunkMode; + } + if (mode === -1) { + downstream.push(chunk); + return; + } + const chunkSize = (0, createBufferedReadableStream_1.sizeOf)(chunk); + bytesSeen += chunkSize; + const bufferSize = (0, createBufferedReadableStream_1.sizeOf)(buffers[mode]); + if (chunkSize >= size && bufferSize === 0) { + downstream.push(chunk); + } + else { + const newSize = (0, createBufferedReadableStream_1.merge)(buffers, mode, chunk); + if (!streamBufferingLoggedWarning && bytesSeen > size * 2) { + streamBufferingLoggedWarning = true; + logger?.warn(`@smithy/util-stream - stream chunk size ${chunkSize} is below threshold of ${size}, automatically buffering.`); + } + if (newSize >= size) { + downstream.push((0, createBufferedReadableStream_1.flush)(buffers, mode)); + } + } }); - return result; - } + upstream.on("end", () => { + if (mode !== -1) { + const remainder = (0, createBufferedReadableStream_1.flush)(buffers, mode); + if ((0, createBufferedReadableStream_1.sizeOf)(remainder) > 0) { + downstream.push(remainder); + } + } + downstream.push(null); + }); + return downstream; +} - /** - * 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); - } +/***/ 2558: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - /** - * 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; +"use strict"; - while (++index < length) { - if (comparator(array[index], value)) { - return index; - } +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.createBufferedReadable = void 0; +exports.createBufferedReadableStream = createBufferedReadableStream; +exports.merge = merge; +exports.flush = flush; +exports.sizeOf = sizeOf; +exports.modeOf = modeOf; +const ByteArrayCollector_1 = __nccwpck_require__(9361); +function createBufferedReadableStream(upstream, size, logger) { + const reader = upstream.getReader(); + let streamBufferingLoggedWarning = false; + let bytesSeen = 0; + const buffers = ["", new ByteArrayCollector_1.ByteArrayCollector((size) => new Uint8Array(size))]; + let mode = -1; + const pull = async (controller) => { + const { value, done } = await reader.read(); + const chunk = value; + if (done) { + if (mode !== -1) { + const remainder = flush(buffers, mode); + if (sizeOf(remainder) > 0) { + controller.enqueue(remainder); + } + } + controller.close(); + } + else { + const chunkMode = modeOf(chunk, false); + if (mode !== chunkMode) { + if (mode >= 0) { + controller.enqueue(flush(buffers, mode)); + } + mode = chunkMode; + } + if (mode === -1) { + controller.enqueue(chunk); + return; + } + const chunkSize = sizeOf(chunk); + bytesSeen += chunkSize; + const bufferSize = sizeOf(buffers[mode]); + if (chunkSize >= size && bufferSize === 0) { + controller.enqueue(chunk); + } + else { + const newSize = merge(buffers, mode, chunk); + if (!streamBufferingLoggedWarning && bytesSeen > size * 2) { + streamBufferingLoggedWarning = true; + logger?.warn(`@smithy/util-stream - stream chunk size ${chunkSize} is below threshold of ${size}, automatically buffering.`); + } + if (newSize >= size) { + controller.enqueue(flush(buffers, mode)); + } + else { + await pull(controller); + } + } + } + }; + return new ReadableStream({ + pull, + }); +} +exports.createBufferedReadable = createBufferedReadableStream; +function merge(buffers, mode, chunk) { + switch (mode) { + case 0: + buffers[0] += chunk; + return sizeOf(buffers[0]); + case 1: + case 2: + buffers[mode].push(chunk); + return sizeOf(buffers[mode]); + } +} +function flush(buffers, mode) { + switch (mode) { + case 0: + const s = buffers[0]; + buffers[0] = ""; + return s; + case 1: + case 2: + return buffers[mode].flush(); + } + throw new Error(`@smithy/util-stream - invalid index ${mode} given to flush()`); +} +function sizeOf(chunk) { + return chunk?.byteLength ?? chunk?.length ?? 0; +} +function modeOf(chunk, allowBuffer = true) { + if (allowBuffer && typeof Buffer !== "undefined" && chunk instanceof Buffer) { + return 2; + } + if (chunk instanceof Uint8Array) { + return 1; + } + if (typeof chunk === "string") { + return 0; } 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]; - }; - } +/***/ 1273: +/***/ ((__unused_webpack_module, exports) => { - /** - * 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]; - }; - } +"use strict"; - /** - * 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); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getAwsChunkedEncodingStream = void 0; +const getAwsChunkedEncodingStream = (readableStream, options) => { + const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options; + const checksumRequired = base64Encoder !== undefined && + bodyLengthChecker !== undefined && + checksumAlgorithmFn !== undefined && + checksumLocationName !== undefined && + streamHasher !== undefined; + const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined; + const reader = readableStream.getReader(); + return new ReadableStream({ + async pull(controller) { + const { value, done } = await reader.read(); + if (done) { + controller.enqueue(`0\r\n`); + if (checksumRequired) { + const checksum = base64Encoder(await digest); + controller.enqueue(`${checksumLocationName}:${checksum}\r\n`); + controller.enqueue(`\r\n`); + } + controller.close(); + } + else { + controller.enqueue(`${(bodyLengthChecker(value) || 0).toString(16)}\r\n${value}\r\n`); + } + }, }); - return accumulator; - } +}; +exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream; - /** - * 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; +/***/ 3636: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - while (++index < length) { - var current = iteratee(array[index]); - if (current !== undefined) { - result = result === undefined ? current : (result + current); - } +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream; +const node_stream_1 = __nccwpck_require__(4492); +const getAwsChunkedEncodingStream_browser_1 = __nccwpck_require__(1273); +const stream_type_check_1 = __nccwpck_require__(7578); +function getAwsChunkedEncodingStream(stream, options) { + const readable = stream; + const readableStream = stream; + if ((0, stream_type_check_1.isReadableStream)(readableStream)) { + return (0, getAwsChunkedEncodingStream_browser_1.getAwsChunkedEncodingStream)(readableStream, options); } - return result; - } + const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options; + const checksumRequired = base64Encoder !== undefined && + checksumAlgorithmFn !== undefined && + checksumLocationName !== undefined && + streamHasher !== undefined; + const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : undefined; + const awsChunkedEncodingStream = new node_stream_1.Readable({ + read: () => { }, + }); + readable.on("data", (data) => { + const length = bodyLengthChecker(data) || 0; + if (length === 0) { + return; + } + awsChunkedEncodingStream.push(`${length.toString(16)}\r\n`); + awsChunkedEncodingStream.push(data); + awsChunkedEncodingStream.push("\r\n"); + }); + readable.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; +} - /** - * 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); +/***/ }), + +/***/ 6711: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.headStream = headStream; +async function headStream(stream, bytes) { + let byteLengthCounter = 0; + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + byteLengthCounter += value?.byteLength ?? 0; + } + if (byteLengthCounter >= bytes) { + break; + } + isDone = done; } - return result; - } + reader.releaseLock(); + const collected = new Uint8Array(Math.min(bytes, byteLengthCounter)); + let offset = 0; + for (const chunk of chunks) { + if (chunk.byteLength > collected.byteLength - offset) { + collected.set(chunk.subarray(0, collected.byteLength - offset), offset); + break; + } + else { + collected.set(chunk, offset); + } + offset += chunk.length; + } + return collected; +} - /** - * 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); - }; - } +/***/ 6708: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - /** - * 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]; - }); - } +"use strict"; - /** - * 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); - } +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.headStream = void 0; +const stream_1 = __nccwpck_require__(2781); +const headStream_browser_1 = __nccwpck_require__(6711); +const stream_type_check_1 = __nccwpck_require__(7578); +const headStream = (stream, bytes) => { + if ((0, stream_type_check_1.isReadableStream)(stream)) { + return (0, headStream_browser_1.headStream)(stream, bytes); + } + return new Promise((resolve, reject) => { + const collector = new Collector(); + collector.limit = bytes; + stream.pipe(collector); + stream.on("error", (err) => { + collector.end(); + reject(err); + }); + collector.on("error", reject); + collector.on("finish", function () { + const bytes = new Uint8Array(Buffer.concat(this.buffers)); + resolve(bytes); + }); + }); +}; +exports.headStream = headStream; +class Collector extends stream_1.Writable { + buffers = []; + limit = Infinity; + bytesBuffered = 0; + _write(chunk, encoding, callback) { + this.buffers.push(chunk); + this.bytesBuffered += chunk.byteLength ?? 0; + if (this.bytesBuffered >= this.limit) { + const excess = this.bytesBuffered - this.limit; + const tailBuffer = this.buffers[this.buffers.length - 1]; + this.buffers[this.buffers.length - 1] = tailBuffer.subarray(0, tailBuffer.byteLength - excess); + this.emit("finish"); + } + callback(); + } +} - /** - * 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; +/***/ 6607: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} - return index; - } +"use strict"; - /** - * 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; - } +var utilBase64 = __nccwpck_require__(5600); +var utilUtf8 = __nccwpck_require__(1895); +var ChecksumStream = __nccwpck_require__(6982); +var createChecksumStream = __nccwpck_require__(1927); +var createBufferedReadable = __nccwpck_require__(3259); +var getAwsChunkedEncodingStream = __nccwpck_require__(3636); +var headStream = __nccwpck_require__(6708); +var sdkStreamMixin = __nccwpck_require__(4515); +var splitStream = __nccwpck_require__(8321); +var streamTypeCheck = __nccwpck_require__(7578); + +class Uint8ArrayBlobAdapter extends Uint8Array { + static fromString(source, encoding = "utf-8") { + if (typeof source === "string") { + if (encoding === "base64") { + return Uint8ArrayBlobAdapter.mutate(utilBase64.fromBase64(source)); + } + return Uint8ArrayBlobAdapter.mutate(utilUtf8.fromUtf8(source)); + } + throw new Error(`Unsupported conversion from ${typeof source} to Uint8ArrayBlobAdapter.`); } - return result; - } + static mutate(source) { + Object.setPrototypeOf(source, Uint8ArrayBlobAdapter.prototype); + return source; + } + transformToString(encoding = "utf-8") { + if (encoding === "base64") { + return utilBase64.toBase64(this); + } + return utilUtf8.toUtf8(this); + } +} - /** - * 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); +exports.isBlob = streamTypeCheck.isBlob; +exports.isReadableStream = streamTypeCheck.isReadableStream; +exports.Uint8ArrayBlobAdapter = Uint8ArrayBlobAdapter; +Object.prototype.hasOwnProperty.call(ChecksumStream, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: ChecksumStream['__proto__'] + }); - /** - * 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); +Object.keys(ChecksumStream).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = ChecksumStream[k]; +}); +Object.prototype.hasOwnProperty.call(createChecksumStream, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: createChecksumStream['__proto__'] + }); - /** - * 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]; - } +Object.keys(createChecksumStream).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = createChecksumStream[k]; +}); +Object.prototype.hasOwnProperty.call(createBufferedReadable, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: createBufferedReadable['__proto__'] + }); - /** - * 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]; - } +Object.keys(createBufferedReadable).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = createBufferedReadable[k]; +}); +Object.prototype.hasOwnProperty.call(getAwsChunkedEncodingStream, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: getAwsChunkedEncodingStream['__proto__'] + }); - /** - * 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); - } +Object.keys(getAwsChunkedEncodingStream).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = getAwsChunkedEncodingStream[k]; +}); +Object.prototype.hasOwnProperty.call(headStream, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: headStream['__proto__'] + }); - /** - * 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); - } +Object.keys(headStream).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = headStream[k]; +}); +Object.prototype.hasOwnProperty.call(sdkStreamMixin, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: sdkStreamMixin['__proto__'] + }); - /** - * 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 = []; +Object.keys(sdkStreamMixin).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = sdkStreamMixin[k]; +}); +Object.prototype.hasOwnProperty.call(splitStream, '__proto__') && + !Object.prototype.hasOwnProperty.call(exports, '__proto__') && + Object.defineProperty(exports, '__proto__', { + enumerable: true, + value: splitStream['__proto__'] + }); - while (!(data = iterator.next()).done) { - result.push(data.value); - } - return result; - } +Object.keys(splitStream).forEach(function (k) { + if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = splitStream[k]; +}); - /** - * 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)); +/***/ 2942: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.sdkStreamMixin = void 0; +const fetch_http_handler_1 = __nccwpck_require__(2687); +const util_base64_1 = __nccwpck_require__(5600); +const util_hex_encoding_1 = __nccwpck_require__(5364); +const util_utf8_1 = __nccwpck_require__(1895); +const stream_type_check_1 = __nccwpck_require__(7578); +const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed."; +const sdkStreamMixin = (stream) => { + if (!isBlobInstance(stream) && !(0, stream_type_check_1.isReadableStream)(stream)) { + const name = stream?.__proto__?.constructor?.name || stream; + throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${name}`); + } + let transformed = false; + const transformToByteArray = async () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + return await (0, fetch_http_handler_1.streamCollector)(stream); }; - } + const blobToWebStream = (blob) => { + if (typeof blob.stream !== "function") { + throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\n" + + "If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body"); + } + return blob.stream(); + }; + return Object.assign(stream, { + transformToByteArray: transformToByteArray, + transformToString: async (encoding) => { + const buf = await transformToByteArray(); + if (encoding === "base64") { + return (0, util_base64_1.toBase64)(buf); + } + else if (encoding === "hex") { + return (0, util_hex_encoding_1.toHex)(buf); + } + else if (encoding === undefined || encoding === "utf8" || encoding === "utf-8") { + return (0, util_utf8_1.toUtf8)(buf); + } + else if (typeof TextDecoder === "function") { + return new TextDecoder(encoding).decode(buf); + } + else { + throw new Error("TextDecoder is not available, please make sure polyfill is provided."); + } + }, + transformToWebStream: () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + if (isBlobInstance(stream)) { + return blobToWebStream(stream); + } + else if ((0, stream_type_check_1.isReadableStream)(stream)) { + return stream; + } + else { + throw new Error(`Cannot transform payload to web stream, got ${stream}`); + } + }, + }); +}; +exports.sdkStreamMixin = sdkStreamMixin; +const isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob; + - /** - * 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; - } +/***/ 4515: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - /** - * 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); +"use strict"; - set.forEach(function(value) { - result[++index] = value; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.sdkStreamMixin = void 0; +const node_http_handler_1 = __nccwpck_require__(258); +const util_buffer_from_1 = __nccwpck_require__(1381); +const stream_1 = __nccwpck_require__(2781); +const sdk_stream_mixin_browser_1 = __nccwpck_require__(2942); +const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed."; +const sdkStreamMixin = (stream) => { + if (!(stream instanceof stream_1.Readable)) { + try { + return (0, sdk_stream_mixin_browser_1.sdkStreamMixin)(stream); + } + catch (e) { + const name = stream?.__proto__?.constructor?.name || stream; + throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${name}`); + } + } + let transformed = false; + const transformToByteArray = async () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + return await (0, node_http_handler_1.streamCollector)(stream); + }; + return Object.assign(stream, { + transformToByteArray, + transformToString: async (encoding) => { + const buf = await transformToByteArray(); + if (encoding === undefined || Buffer.isEncoding(encoding)) { + return (0, util_buffer_from_1.fromArrayBuffer)(buf.buffer, buf.byteOffset, buf.byteLength).toString(encoding); + } + else { + const decoder = new TextDecoder(encoding); + return decoder.decode(buf); + } + }, + transformToWebStream: () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + if (stream.readableFlowing !== null) { + throw new Error("The stream has been consumed by other callbacks."); + } + if (typeof stream_1.Readable.toWeb !== "function") { + throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available."); + } + transformed = true; + return stream_1.Readable.toWeb(stream); + }, }); - return result; - } +}; +exports.sdkStreamMixin = sdkStreamMixin; - /** - * 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; +/***/ 4693: +/***/ ((__unused_webpack_module, exports) => { - while (++index < length) { - if (array[index] === value) { - return index; - } - } - return -1; - } +"use strict"; - /** - * 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; - } +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.splitStream = splitStream; +async function splitStream(stream) { + if (typeof stream.stream === "function") { + stream = stream.stream(); } - 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); - } + const readableStream = stream; + return readableStream.tee(); +} - /** - * 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; - } +/***/ 8321: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - /** - * 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); +"use strict"; - /** - * 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; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.splitStream = splitStream; +const stream_1 = __nccwpck_require__(2781); +const splitStream_browser_1 = __nccwpck_require__(4693); +const stream_type_check_1 = __nccwpck_require__(7578); +async function splitStream(stream) { + if ((0, stream_type_check_1.isReadableStream)(stream) || (0, stream_type_check_1.isBlob)(stream)) { + return (0, splitStream_browser_1.splitStream)(stream); } - return result; - } + const stream1 = new stream_1.PassThrough(); + const stream2 = new stream_1.PassThrough(); + stream.pipe(stream1); + stream.pipe(stream2); + return [stream1, stream2]; +} - /** - * 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) || []; - } +/***/ }), - /*--------------------------------------------------------------------------*/ +/***/ 7578: +/***/ ((__unused_webpack_module, exports) => { - /** - * 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)); +"use strict"; - /** 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; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isBlob = exports.isReadableStream = void 0; +const isReadableStream = (stream) => typeof ReadableStream === "function" && + (stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream); +exports.isReadableStream = isReadableStream; +const isBlob = (blob) => { + return typeof Blob === "function" && (blob?.constructor?.name === Blob.name || blob instanceof Blob); +}; +exports.isBlob = isBlob; - /** 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; +/***/ 4197: +/***/ ((__unused_webpack_module, exports) => { - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; +"use strict"; - /** 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) : ''; - }()); +const escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode); +const hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`; - /** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ - var nativeObjectToString = objectProto.toString; +const escapeUriPath = (uri) => uri.split("/").map(escapeUri).join("/"); - /** Used to infer the `Object` constructor. */ - var objectCtorString = funcToString.call(Object); +exports.escapeUri = escapeUri; +exports.escapeUriPath = escapeUriPath; - /** 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; +/***/ 1895: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - var defineProperty = (function() { - try { - var func = getNative(Object, 'defineProperty'); - func({}, '', {}); - return func; - } catch (e) {} - }()); +"use strict"; - /** Mocked built-ins. */ - var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, - ctxNow = Date && Date.now !== root.Date.now && Date.now, - ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout; - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeCeil = Math.ceil, - nativeFloor = Math.floor, - nativeGetSymbols = Object.getOwnPropertySymbols, - nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined, - nativeIsFinite = context.isFinite, - nativeJoin = arrayProto.join, - nativeKeys = overArg(Object.keys, Object), - nativeMax = Math.max, - nativeMin = Math.min, - nativeNow = Date.now, - nativeParseInt = context.parseInt, - nativeRandom = Math.random, - nativeReverse = arrayProto.reverse; +var utilBufferFrom = __nccwpck_require__(1381); - /* 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'); +const fromUtf8 = (input) => { + const buf = utilBufferFrom.fromString(input, "utf8"); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); +}; - /** Used to store function metadata. */ - var metaMap = WeakMap && new WeakMap; +const toUint8Array = (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); +}; - /** Used to lookup unminified function names. */ - var realNames = {}; +const toUtf8 = (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 utilBufferFrom.fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +}; - /** Used to detect maps, sets, and weakmaps. */ - var dataViewCtorString = toSource(DataView), - mapCtorString = toSource(Map), - promiseCtorString = toSource(Promise), - setCtorString = toSource(Set), - weakMapCtorString = toSource(WeakMap); +exports.fromUtf8 = fromUtf8; +exports.toUint8Array = toUint8Array; +exports.toUtf8 = toUtf8; - /** 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; +/***/ 8011: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +const getCircularReplacer = () => { + const seen = new WeakSet(); + return (key, value) => { + if (typeof value === "object" && value !== null) { + if (seen.has(value)) { + return "[Circular]"; + } + seen.add(value); } - if (hasOwnProperty.call(value, '__wrapped__')) { - return wrapperClone(value); + return value; + }; +}; + +const sleep = (seconds) => { + return new Promise((resolve) => setTimeout(resolve, seconds * 1000)); +}; + +const waiterServiceDefaults = { + minDelay: 2, + maxDelay: 120, +}; +exports.WaiterState = void 0; +(function (WaiterState) { + WaiterState["ABORTED"] = "ABORTED"; + WaiterState["FAILURE"] = "FAILURE"; + WaiterState["SUCCESS"] = "SUCCESS"; + WaiterState["RETRY"] = "RETRY"; + WaiterState["TIMEOUT"] = "TIMEOUT"; +})(exports.WaiterState || (exports.WaiterState = {})); +const checkExceptions = (result) => { + if (result.state === exports.WaiterState.ABORTED) { + const abortError = new Error(`${JSON.stringify({ + ...result, + reason: "Request was aborted", + }, getCircularReplacer())}`); + abortError.name = "AbortError"; + throw abortError; + } + else if (result.state === exports.WaiterState.TIMEOUT) { + const timeoutError = new Error(`${JSON.stringify({ + ...result, + reason: "Waiter has timed out", + }, getCircularReplacer())}`); + timeoutError.name = "TimeoutError"; + throw timeoutError; + } + else if (result.state !== exports.WaiterState.SUCCESS) { + throw new Error(`${JSON.stringify(result, getCircularReplacer())}`); + } + return result; +}; + +const exponentialBackoffWithJitter = (minDelay, maxDelay, attemptCeiling, attempt) => { + if (attempt > attemptCeiling) + return maxDelay; + const delay = minDelay * 2 ** (attempt - 1); + return randomInRange(minDelay, delay); +}; +const randomInRange = (min, max) => min + Math.random() * (max - min); +const runPolling = async ({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }, input, acceptorChecks) => { + const observedResponses = {}; + const { state, reason } = await acceptorChecks(client, input); + if (reason) { + const message = createMessageFromResponse(reason); + observedResponses[message] |= 0; + observedResponses[message] += 1; + } + if (state !== exports.WaiterState.RETRY) { + return { state, reason, observedResponses }; + } + let currentAttempt = 1; + const waitUntil = Date.now() + maxWaitTime * 1000; + const attemptCeiling = Math.log(maxDelay / minDelay) / Math.log(2) + 1; + while (true) { + if (abortController?.signal?.aborted || abortSignal?.aborted) { + const message = "AbortController signal aborted."; + observedResponses[message] |= 0; + observedResponses[message] += 1; + return { state: exports.WaiterState.ABORTED, observedResponses }; } - } - return new LodashWrapper(value); + const delay = exponentialBackoffWithJitter(minDelay, maxDelay, attemptCeiling, currentAttempt); + if (Date.now() + delay * 1000 > waitUntil) { + return { state: exports.WaiterState.TIMEOUT, observedResponses }; + } + await sleep(delay); + const { state, reason } = await acceptorChecks(client, input); + if (reason) { + const message = createMessageFromResponse(reason); + observedResponses[message] |= 0; + observedResponses[message] += 1; + } + if (state !== exports.WaiterState.RETRY) { + return { state, reason, observedResponses }; + } + currentAttempt += 1; + } +}; +const createMessageFromResponse = (reason) => { + if (reason?.$responseBodyText) { + return `Deserialization error for body: ${reason.$responseBodyText}`; + } + if (reason?.$metadata?.httpStatusCode) { + if (reason.$response || reason.message) { + return `${reason.$response?.statusCode ?? reason.$metadata.httpStatusCode ?? "Unknown"}: ${reason.message}`; + } + return `${reason.$metadata.httpStatusCode}: OK`; } + return String(reason?.message ?? JSON.stringify(reason, getCircularReplacer()) ?? "Unknown"); +}; - /** - * 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 {}; +const validateWaiterOptions = (options) => { + if (options.maxWaitTime <= 0) { + throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`); + } + else if (options.minDelay <= 0) { + throw new Error(`WaiterConfiguration.minDelay must be greater than 0`); + } + else if (options.maxDelay <= 0) { + 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`); + } +}; + +const abortTimeout = (abortSignal) => { + let onAbort; + const promise = new Promise((resolve) => { + onAbort = () => resolve({ state: exports.WaiterState.ABORTED }); + if (typeof abortSignal.addEventListener === "function") { + abortSignal.addEventListener("abort", onAbort); } - if (objectCreate) { - return objectCreate(proto); + else { + abortSignal.onabort = onAbort; + } + }); + return { + clearListener() { + if (typeof abortSignal.removeEventListener === "function") { + abortSignal.removeEventListener("abort", onAbort); + } + }, + aborted: promise, + }; +}; +const createWaiter = async (options, input, acceptorChecks) => { + const params = { + ...waiterServiceDefaults, + ...options, + }; + validateWaiterOptions(params); + const exitConditions = [runPolling(params, input, acceptorChecks)]; + const finalize = []; + if (options.abortSignal) { + const { aborted, clearListener } = abortTimeout(options.abortSignal); + finalize.push(clearListener); + exitConditions.push(aborted); + } + if (options.abortController?.signal) { + const { aborted, clearListener } = abortTimeout(options.abortController.signal); + finalize.push(clearListener); + exitConditions.push(aborted); + } + return Promise.race(exitConditions).then((result) => { + for (const fn of finalize) { + fn(); } - 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. - } +exports.checkExceptions = checkExceptions; +exports.createWaiter = createWaiter; +exports.waiterServiceDefaults = waiterServiceDefaults; - /** - * 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, +/***/ 3634: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { - /** - * Used to detect code to be evaluated. - * - * @memberOf _.templateSettings - * @type {RegExp} - */ - 'evaluate': reEvaluate, +"use strict"; - /** - * Used to detect `data` property values to inject. - * - * @memberOf _.templateSettings - * @type {RegExp} - */ - 'interpolate': reInterpolate, - /** - * Used to reference the data object in the template text. - * - * @memberOf _.templateSettings - * @type {string} - */ - 'variable': '', +var randomUUID = __nccwpck_require__(7448); + +const decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0")); +const v4 = () => { + if (randomUUID.randomUUID) { + return randomUUID.randomUUID(); + } + const rnds = new Uint8Array(16); + crypto.getRandomValues(rnds); + rnds[6] = (rnds[6] & 0x0f) | 0x40; + rnds[8] = (rnds[8] & 0x3f) | 0x80; + return (decimalToHex[rnds[0]] + + decimalToHex[rnds[1]] + + decimalToHex[rnds[2]] + + decimalToHex[rnds[3]] + + "-" + + decimalToHex[rnds[4]] + + decimalToHex[rnds[5]] + + "-" + + decimalToHex[rnds[6]] + + decimalToHex[rnds[7]] + + "-" + + decimalToHex[rnds[8]] + + decimalToHex[rnds[9]] + + "-" + + decimalToHex[rnds[10]] + + decimalToHex[rnds[11]] + + decimalToHex[rnds[12]] + + decimalToHex[rnds[13]] + + decimalToHex[rnds[14]] + + decimalToHex[rnds[15]]); +}; + +exports.v4 = v4; - /** - * 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 - } +/***/ }), + +/***/ 7448: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.randomUUID = void 0; +const tslib_1 = __nccwpck_require__(9679); +const crypto_1 = tslib_1.__importDefault(__nccwpck_require__(6113)); +exports.randomUUID = crypto_1.default.randomUUID.bind(crypto_1.default); + + +/***/ }), + +/***/ 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)); }; + } - // Ensure wrappers are instances of `baseLodash`. - lodash.prototype = baseLodash.prototype; - lodash.prototype.constructor = lodash; + 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; + }); + }; + } - LodashWrapper.prototype = baseCreate(baseLodash.prototype); - LodashWrapper.prototype.constructor = LodashWrapper; + 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, + }); +} - /** - * 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; +/***/ 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); } - /** - * 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__); + return state.registry[name].reduce(function (method, registered) { + return registered.hook.bind(null, method, options); + }, method)(); + }); +} - 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]; +/***/ 6819: +/***/ ((module) => { - while (++iterIndex < iterLength) { - var data = iteratees[iterIndex], - iteratee = data.iteratee, - type = data.type, - computed = iteratee(value); +module.exports = removeHook; - 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; - } +function removeHook(state, name, method) { + if (!state.registry[name]) { + return; + } - // Ensure `LazyWrapper` is an instance of `baseLodash`. - LazyWrapper.prototype = baseCreate(baseLodash.prototype); - LazyWrapper.prototype.constructor = LazyWrapper; + var index = state.registry[name] + .map(function (registered) { + return registered.orig; + }) + .indexOf(method); - /*------------------------------------------------------------------------*/ + if (index === -1) { + return; + } - /** - * 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; + state.registry[name].splice(index, 1); +} - 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; - } +/***/ 8932: +/***/ ((__unused_webpack_module, exports) => { - /** - * 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; - } +"use strict"; - /** - * 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; +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); } - // Add methods to `Hash`. - Hash.prototype.clear = hashClear; - Hash.prototype['delete'] = hashDelete; - Hash.prototype.get = hashGet; - Hash.prototype.has = hashHas; - Hash.prototype.set = hashSet; + this.name = 'Deprecation'; + } - /*------------------------------------------------------------------------*/ +} - /** - * 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; +exports.Deprecation = Deprecation; - 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); +/***/ 250: +/***/ (function(module, exports, __nccwpck_require__) { - 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; - } +/* 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() { - /** - * 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); + /** Used as a safe reference for `undefined` in pre-ES5 environments. */ + var undefined; - return index < 0 ? undefined : data[index][1]; - } + /** Used as the semantic version number. */ + var VERSION = '4.18.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; - } + /** Used as the size to enable large array optimizations. */ + var LARGE_ARRAY_SIZE = 200; - /** - * 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); + /** 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`', + INVALID_TEMPL_IMPORTS_ERROR_TEXT = 'Invalid `imports` option passed into `_.template`'; - if (index < 0) { - ++this.size; - data.push([key, value]); - } else { - data[index][1] = value; - } - return this; - } + /** Used to stand-in for `undefined` hash values. */ + var HASH_UNDEFINED = '__lodash_hash_undefined__'; - // Add methods to `ListCache`. - ListCache.prototype.clear = listCacheClear; - ListCache.prototype['delete'] = listCacheDelete; - ListCache.prototype.get = listCacheGet; - ListCache.prototype.has = listCacheHas; - ListCache.prototype.set = listCacheSet; + /** Used as the maximum memoize cache size. */ + var MAX_MEMOIZE_SIZE = 500; - /*------------------------------------------------------------------------*/ + /** Used as the internal argument placeholder. */ + var PLACEHOLDER = '__lodash_placeholder__'; - /** - * 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; + /** Used to compose bitmasks for cloning. */ + var CLONE_DEEP_FLAG = 1, + CLONE_FLAT_FLAG = 2, + CLONE_SYMBOLS_FLAG = 4; - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } + /** Used to compose bitmasks for value comparisons. */ + var COMPARE_PARTIAL_FLAG = 1, + COMPARE_UNORDERED_FLAG = 2; - /** - * 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 - }; - } + /** 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; - /** - * 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; - } + /** Used as default options for `_.truncate`. */ + var DEFAULT_TRUNC_LENGTH = 30, + DEFAULT_TRUNC_OMISSION = '...'; - /** - * 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); - } + /** Used to detect hot functions by number of calls within a span of milliseconds. */ + var HOT_COUNT = 800, + HOT_SPAN = 16; - /** - * 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); - } + /** Used to indicate the type of lazy iteratees. */ + var LAZY_FILTER_FLAG = 1, + LAZY_MAP_FLAG = 2, + LAZY_WHILE_FLAG = 3; - /** - * 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; + /** Used as references for various `Number` constants. */ + var INFINITY = 1 / 0, + MAX_SAFE_INTEGER = 9007199254740991, + MAX_INTEGER = 1.7976931348623157e+308, + NAN = 0 / 0; - data.set(key, value); - this.size += data.size == size ? 0 : 1; - return this; - } + /** 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; - // Add methods to `MapCache`. - MapCache.prototype.clear = mapCacheClear; - MapCache.prototype['delete'] = mapCacheDelete; - MapCache.prototype.get = mapCacheGet; - MapCache.prototype.has = mapCacheHas; - MapCache.prototype.set = mapCacheSet; + /** 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]'; - /** - * - * 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; + 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]'; - this.__data__ = new MapCache; - while (++index < length) { - this.add(values[index]); - } - } + /** 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; - /** - * 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; - } + /** 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); - /** - * 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); - } + /** Used to match template delimiters. */ + var reEscape = /<%-([\s\S]+?)%>/g, + reEvaluate = /<%([\s\S]+?)%>/g, + reInterpolate = /<%=([\s\S]+?)%>/g; - // Add methods to `SetCache`. - SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; - SetCache.prototype.has = setCacheHas; + /** 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); - /** - * 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; - } + /** Used to match leading whitespace. */ + var reTrimStart = /^\s+/; - /** - * Removes all key-value entries from the stack. - * - * @private - * @name clear - * @memberOf Stack - */ - function stackClear() { - this.__data__ = new ListCache; - this.size = 0; - } + /** Used to match a single whitespace character. */ + var reWhitespace = /\s/; - /** - * 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); + /** Used to match wrap detail comments. */ + var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, + reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, + reSplitDetails = /,? & /; - this.size = data.size; - return result; - } + /** Used to match words composed of alphanumeric characters. */ + var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; - /** - * 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); - } + /** + * 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]/; - /** - * 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); - } + /** 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; - /** - * 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; - } + /** Used to detect unsigned integer values. */ + var reIsUint = /^(?:0|[1-9]\d*)$/; - // Add methods to `Stack`. - Stack.prototype.clear = stackClear; - Stack.prototype['delete'] = stackDelete; - Stack.prototype.get = stackGet; - Stack.prototype.has = stackHas; - Stack.prototype.set = stackSet; + /** 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 = /($^)/; - /** - * 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; + /** Used to match unescaped characters in compiled string literals. */ + var reUnescapedString = /['\n\r\u2028\u2029\\]/g; - 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; - } + /** 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; - /** - * 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; - } + /** 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'; - /** - * 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)); - } + /** 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('|') + ')'; - /** - * 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)); - } + /** Used to match apostrophes. */ + var reApos = RegExp(rsApos, 'g'); - /** - * 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); - } - } + /** + * 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'); - /** - * 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); - } - } + /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */ + var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g'); - /** - * 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; - } + /** 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'); - /** - * 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; - } + /** 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 + ']'); - /** - * 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); - } + /** 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 ]/; - /** - * 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); - } + /** 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' + ]; - /** - * 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; - } - } + /** Used to make template sourceURLs easier to identify. */ + var templateCounter = -1; - /** - * 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; + /** 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; - while (++index < length) { - result[index] = skip ? undefined : get(object, paths[index]); - } - return result; - } + /** 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; - /** - * 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; - } + /** 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' + }; - /** - * 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; + /** Used to map characters to HTML entities. */ + var htmlEscapes = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + "'": ''' + }; - 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; + /** Used to map HTML entities to characters. */ + var htmlUnescapes = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + ''': "'" + }; - 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); + /** 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; - 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)); - }); - } + /** Detect free variable `global` from Node.js. */ + var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; - var keysFunc = isFull - ? (isFlat ? getAllKeysIn : getAllKeys) - : (isFlat ? keysIn : keys); + /** Detect free variable `self`. */ + var freeSelf = typeof self == 'object' && self && self.Object === Object && self; - 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; - } + /** Used as a reference to the global object. */ + var root = freeGlobal || freeSelf || Function('return this')(); - /** - * 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); - }; - } + /** Detect free variable `exports`. */ + var freeExports = true && exports && !exports.nodeType && exports; - /** - * 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]; + /** Detect free variable `module`. */ + var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module; - if ((value === undefined && !(key in object)) || !predicate(value)) { - return false; - } - } - return true; - } + /** Detect the popular CommonJS extension `module.exports`. */ + var moduleExports = freeModule && freeModule.exports === freeExports; - /** - * 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); - } + /** Detect free variable `process` from Node.js. */ + var freeProcess = moduleExports && freeGlobal.process; - /** - * 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; + /** 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 (!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); + if (types) { + return types; } - 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; - } + // Legacy `process.binding('util')` for Node.js < 10. + return freeProcess && freeProcess.binding && freeProcess.binding('util'); + } catch (e) {} + }()); - /** - * 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); + /* 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; - /** - * 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; + /** + * 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); + } - /** - * 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); + /** + * 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; - if (current != null && (computed === undefined - ? (current === current && !isSymbol(current)) - : comparator(current, computed) - )) { - var computed = current, - result = value; - } - } - return result; + while (++index < length) { + var value = array[index]; + setter(accumulator, value, iteratee(value), array); } + return accumulator; + } - /** - * 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; + /** + * 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; - 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; + while (++index < length) { + if (iteratee(array[index], index, array) === false) { + break; } - 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; } + return array; + } - /** - * 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 = []); + /** + * 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 (++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; - } + while (length--) { + if (iteratee(array[length], length, array) === false) { + break; } - 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); } + return array; + } - /** - * 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); - } + /** + * 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; - /** - * 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]); - }); + while (++index < length) { + if (!predicate(array[index], index, array)) { + return false; + } } + return true; + } - /** - * 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; + /** + * 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 (object != null && index < length) { - object = object[toKey(path[index++])]; + while (++index < length) { + var value = array[index]; + if (predicate(value, index, array)) { + result[resIndex++] = value; } - return (index && index == length) ? object : undefined; } + return result; + } - /** - * 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)); - } + /** + * 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; - /** - * 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; + while (++index < length) { + if (comparator(value, array[index])) { + return true; } - return (symToStringTag && symToStringTag in Object(value)) - ? getRawTag(value) - : objectToString(value); } + return false; + } - /** - * 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; + /** + * 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; + } - /** - * 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); + /** + * 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; + } - /** - * 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); + /** + * 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; + } - /** - * 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); + /** + * 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; + } - /** - * 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 = []; + /** + * 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 (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; + while (++index < length) { + if (predicate(array[index], index, array)) { + return true; } - array = arrays[0]; + } + return false; + } - var index = -1, - seen = caches[0]; + /** + * Gets the size of an ASCII `string`. + * + * @private + * @param {string} string The string inspect. + * @returns {number} Returns the string size. + */ + var asciiSize = baseProperty('length'); - outer: - while (++index < length && result.length < maxLength) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; + /** + * 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(''); + } - 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; - } + /** + * 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 `_.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 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 `_.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 `_.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); - /** - * 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; + while ((fromRight ? index-- : ++index < length)) { + if (predicate(array[index], index, array)) { + return index; + } } + return -1; + } - /** - * 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 `_.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); + } - /** - * 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; - } + /** + * 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; - /** - * 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; + while (++index < length) { + if (comparator(array[index], value)) { + return index; } - return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); } + return -1; + } - /** - * 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); + /** + * 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; + } - objTag = objTag == argsTag ? objectTag : objTag; - othTag = othTag == argsTag ? objectTag : othTag; + /** + * 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; + } - var objIsObj = objTag == objectTag, - othIsObj = othTag == objectTag, - isSameTag = objTag == othTag; + /** + * 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; - 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__'); + array.sort(comparer); + while (length--) { + array[length] = array[length].value; + } + return array; + } - if (objIsWrapped || othIsWrapped) { - var objUnwrapped = objIsWrapped ? object.value() : object, - othUnwrapped = othIsWrapped ? other.value() : other; + /** + * 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; - stack || (stack = new Stack); - return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); - } - } - if (!isSameTag) { - return false; + while (++index < length) { + var current = iteratee(array[index]); + if (current !== undefined) { + result = result === undefined ? current : (result + current); } - stack || (stack = new Stack); - return equalObjects(object, other, bitmask, customizer, equalFunc, stack); } + return result; + } - /** - * 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 `_.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 `_.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; + /** + * 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]]; + }); + } - 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]; + /** + * 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; + } - 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 `_.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 `_.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 `_.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]; + }); + } - /** - * 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; - } + /** + * 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); + } - /** - * 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; - } + /** + * 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; - /** - * 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)]; - } + while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} + return index; + } - /** - * 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); - } + /** + * 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; - /** - * 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; - } + while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} + return index; + } - /** - * 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 = []; + /** + * 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; - for (var key in object) { - if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { - result.push(key); - } + while (length--) { + if (array[length] === placeholder) { + ++result; } - return result; } + 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; - } + /** + * 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); - /** - * 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) : []; + /** + * 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); - baseEach(collection, function(value, key, collection) { - result[++index] = iteratee(value, key, collection); - }); - return result; - } + /** + * 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]; + } - /** - * 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); - }; - } + /** + * 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]; + } - /** - * 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); - }; + /** + * 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)); + }; + } - /** - * 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; + /** + * 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 = []; - if (newValue === undefined) { - newValue = srcValue; - } - assignMergeValue(object, key, newValue); - } - }, keysIn); + while (++index < length) { + var value = array[index]; + if (value === placeholder || value === PLACEHOLDER) { + array[index] = PLACEHOLDER; + result[resIndex++] = index; + } } + return result; + } - /** - * 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); + /** + * 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); - if (stacked) { - assignMergeValue(object, key, stacked); - return; - } - var newValue = customizer - ? customizer(objValue, srcValue, (key + ''), object, source, stack) - : undefined; + set.forEach(function(value) { + result[++index] = value; + }); + return result; + } - var isCommon = newValue === undefined; + /** + * 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); - if (isCommon) { - var isArr = isArray(srcValue), - isBuff = !isArr && isBuffer(srcValue), - isTyped = !isArr && !isBuff && isTypedArray(srcValue); + set.forEach(function(value) { + result[++index] = [value, value]; + }); + return result; + } - 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); - } + /** + * 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; - /** - * 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; + while (++index < length) { + if (array[index] === value) { + return index; } - n += n < 0 ? length : 0; - return isIndex(n, length) ? array[n] : undefined; } + return -1; + } - /** - * 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]; + /** + * A specialized version of `_.lastIndexOf` which performs strict equality + * comparisons of values, i.e. `===`. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} value The value to search for. + * @param {number} fromIndex The index to search from. + * @returns {number} Returns the index of the matched value, else `-1`. + */ + function strictLastIndexOf(array, value, fromIndex) { + var index = fromIndex + 1; + while (index--) { + if (array[index] === value) { + return index; } + } + return index; + } - var 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 }; - }); + /** + * 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); + } - return baseSortBy(result, function(object, other) { - return compareMultiple(object, other, orders); - }); - } + /** + * 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); + } - /** - * 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); - }); - } + /** + * 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; - /** - * 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-- && reWhitespace.test(string.charAt(index))) {} + return index; + } - while (++index < length) { - var path = paths[index], - value = baseGet(object, path); + /** + * 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); - if (predicate(value, path)) { - baseSet(result, castPath(path, object), value); - } - } - return result; + /** + * 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; + } - /** - * 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); - }; - } + /** + * 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) || []; + } - /** - * 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; + /** + * 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) || []; + } - 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; - } + /** + * 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)); - /** - * 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; + /** 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; - 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; - } + /** Used for built-in method references. */ + var arrayProto = Array.prototype, + funcProto = Function.prototype, + objectProto = Object.prototype; - /** - * 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)); - } + /** Used to detect overreaching core-js shims. */ + var coreJsData = context['__core-js_shared__']; - /** - * 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); + /** Used to resolve the decompiled source of functions. */ + var funcToString = funcProto.toString; - while (length--) { - result[fromRight ? length : ++index] = start; - start += step; - } - return result; - } + /** 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) : ''; + }()); /** - * 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. + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. */ - function baseRepeat(string, n) { - var result = ''; - if (!string || n < 1 || n > MAX_SAFE_INTEGER) { - return result; - } - // Leverage the exponentiation by squaring algorithm for a faster repeat. - // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details. - do { - if (n % 2) { - result += string; - } - n = nativeFloor(n / 2); - if (n) { - string += string; - } - } while (n); + var nativeObjectToString = objectProto.toString; - return result; - } + /** Used to infer the `Object` constructor. */ + var objectCtorString = funcToString.call(Object); - /** - * 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 + ''); - } + /** Used to restore the original `_` reference in `_.noConflict`. */ + var oldDash = root._; - /** - * 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)); - } + /** Used to detect if a method is native. */ + var reIsNative = RegExp('^' + + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') + .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' + ); - /** - * 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)); - } + /** 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; - /** - * 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 defineProperty = (function() { + try { + var func = getNative(Object, 'defineProperty'); + func({}, '', {}); + return func; + } catch (e) {} + }()); - var index = -1, - length = path.length, - lastIndex = length - 1, - nested = object; + /** 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; - while (nested != null && ++index < length) { - var key = toKey(path[index]), - newValue = value; + /* 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; - if (key === '__proto__' || key === 'constructor' || key === 'prototype') { - return object; - } + /* 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'); - 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; - } + /** Used to store function metadata. */ + var metaMap = WeakMap && new WeakMap; - /** - * 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; - }; + /** Used to lookup unminified function names. */ + var realNames = {}; - /** - * 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 - }); - }; + /** 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; + + /*------------------------------------------------------------------------*/ /** - * The base implementation of `_.shuffle`. + * 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`. * - * @private - * @param {Array|Object} collection The collection to shuffle. - * @returns {Array} Returns the new shuffled array. + * 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 baseShuffle(collection) { - return shuffleSelf(values(collection)); + 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 `_.slice` without an iteratee call guard. + * The base implementation of `_.create` without support for assigning + * properties to the created object. * * @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`. + * @param {Object} proto The object to inherit from. + * @returns {Object} Returns the new object. */ - function baseSlice(array, start, end) { - var index = -1, - length = array.length; - - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = end > length ? length : end; - if (end < 0) { - end += length; - } - length = start > end ? 0 : ((end - start) >>> 0); - start >>>= 0; - - var result = Array(length); - while (++index < length) { - result[index] = array[index + start]; - } - return result; - } + var 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 base implementation of `_.some` without support for iteratee shorthands. + * The function whose prototype chain sequence wrappers inherit from. * * @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; + function baseLodash() { + // No operation performed. } /** - * 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. + * The base constructor for creating `lodash` wrapper objects. * * @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`. + * @param {*} value The value to wrap. + * @param {boolean} [chainAll] Enable explicit method chain sequences. */ - 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); + function LodashWrapper(value, chainAll) { + this.__wrapped__ = value; + this.__actions__ = []; + this.__chain__ = !!chainAll; + this.__index__ = 0; + this.__values__ = undefined; } /** - * 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). + * 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. * - * @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`. + * **Security:** See + * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md) + * — `_.template` is insecure and will be removed in v5. + * + * @static + * @memberOf _ + * @type {Object} */ - function baseSortedIndexBy(array, value, iteratee, retHighest) { - var low = 0, - high = array == null ? 0 : array.length; - if (high === 0) { - return 0; - } + lodash.templateSettings = { - value = iteratee(value); - var valIsNaN = value !== value, - valIsNull = value === null, - valIsSymbol = isSymbol(value), - valIsUndefined = value === undefined; + /** + * Used to detect `data` property values to be HTML-escaped. + * + * @memberOf _.templateSettings + * @type {RegExp} + */ + 'escape': reEscape, - 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); + /** + * Used to detect code to be evaluated. + * + * @memberOf _.templateSettings + * @type {RegExp} + */ + 'evaluate': reEvaluate, - 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; - } + /** + * 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 } - return nativeMin(high, MAX_ARRAY_INDEX); - } + }; + + // Ensure wrappers are instances of `baseLodash`. + lodash.prototype = baseLodash.prototype; + lodash.prototype.constructor = lodash; + + LodashWrapper.prototype = baseCreate(baseLodash.prototype); + LodashWrapper.prototype.constructor = LodashWrapper; + + /*------------------------------------------------------------------------*/ /** - * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without - * support for iteratee shorthands. + * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation. * * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. + * @constructor + * @param {*} value The value to wrap. */ - 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; + function LazyWrapper(value) { + this.__wrapped__ = value; + this.__actions__ = []; + this.__dir__ = 1; + this.__filtered__ = false; + this.__iteratees__ = []; + this.__takeCount__ = MAX_ARRAY_LENGTH; + this.__views__ = []; } /** - * The base implementation of `_.toNumber` which doesn't ensure correct - * conversions of binary, hexadecimal, or octal string values. + * Creates a clone of the lazy wrapper object. * * @private - * @param {*} value The value to process. - * @returns {number} Returns the number. + * @name clone + * @memberOf LazyWrapper + * @returns {Object} Returns the cloned `LazyWrapper` object. */ - function baseToNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - return +value; + 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; } /** - * The base implementation of `_.toString` which doesn't convert nullish - * values to empty strings. + * Reverses the direction of lazy iteration. * * @private - * @param {*} value The value to process. - * @returns {string} Returns the string. + * @name reverse + * @memberOf LazyWrapper + * @returns {Object} Returns the new reversed `LazyWrapper` object. */ - 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) : ''; + function lazyReverse() { + if (this.__filtered__) { + var result = new LazyWrapper(this); + result.__dir__ = -1; + result.__filtered__ = true; + } else { + result = this.clone(); + result.__dir__ *= -1; } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; + return result; } /** - * The base implementation of `_.uniqBy` without support for iteratee shorthands. + * Extracts the unwrapped value from its lazy wrapper. * * @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. + * @name value + * @memberOf LazyWrapper + * @returns {*} Returns the unwrapped value. */ - function baseUniq(array, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - length = array.length, - isCommon = true, - result = [], - seen = result; + 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 (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; + if (!isArr || (!isRight && arrLength == length && takeCount == length)) { + return baseWrapperValue(array, this.__actions__); } + var result = []; + outer: - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; + while (length-- && resIndex < takeCount) { + index += dir; - value = (comparator || value !== 0) ? value : 0; - if (isCommon && computed === computed) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { + 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; } } - if (iteratee) { - seen.push(computed); - } - result.push(value); - } - else if (!includes(seen, computed, comparator)) { - if (seen !== result) { - seen.push(computed); - } - result.push(value); } + result[resIndex++] = value; } return result; } + // Ensure `LazyWrapper` is an instance of `baseLodash`. + LazyWrapper.prototype = baseCreate(baseLodash.prototype); + LazyWrapper.prototype.constructor = LazyWrapper; + + /*------------------------------------------------------------------------*/ + /** - * The base implementation of `_.unset`. + * Creates a hash object. * * @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`. + * @constructor + * @param {Array} [entries] The key-value pairs to cache. */ - function baseUnset(object, path) { - path = castPath(path, object); - object = parent(object, path); - return object == null || delete object[toKey(last(path))]; + 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]); + } } /** - * The base implementation of `_.update`. + * Removes all key-value entries from the hash. * * @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`. + * @name clear + * @memberOf Hash */ - function baseUpdate(object, path, updater, customizer) { - return baseSet(object, path, updater(baseGet(object, path)), customizer); + function hashClear() { + this.__data__ = nativeCreate ? nativeCreate(null) : {}; + this.size = 0; } /** - * The base implementation of methods like `_.dropWhile` and `_.takeWhile` - * without support for iteratee shorthands. + * Removes `key` and its value from the hash. * * @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`. + * @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 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)); + function hashDelete(key) { + var result = this.has(key) && delete this.__data__[key]; + this.size -= result ? 1 : 0; + return result; } /** - * 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. + * Gets the hash value for `key`. * * @private - * @param {*} value The unwrapped value. - * @param {Array} actions Actions to perform to resolve the unwrapped value. - * @returns {*} Returns the resolved value. + * @name get + * @memberOf Hash + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. */ - function baseWrapperValue(value, actions) { - var result = value; - if (result instanceof LazyWrapper) { - result = result.value(); + function hashGet(key) { + var data = this.__data__; + if (nativeCreate) { + var result = data[key]; + return result === HASH_UNDEFINED ? undefined : result; } - return arrayReduce(actions, function(result, action) { - return action.func.apply(action.thisArg, arrayPush([result], action.args)); - }, result); + return hasOwnProperty.call(data, key) ? data[key] : undefined; } /** - * The base implementation of methods like `_.xor`, without support for - * iteratee shorthands, that accepts an array of arrays to inspect. + * Checks if a hash value for `key` exists. * * @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. + * @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 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); + function hashHas(key) { + var data = this.__data__; + return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); } /** - * This base implementation of `_.zipObject` which assigns values using `assignFunc`. + * Sets the hash `key` to `value`. * * @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. + * @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 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; + 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; + + /*------------------------------------------------------------------------*/ + /** - * Casts `value` to an empty array if it's not an array like object. + * Creates an list cache object. * * @private - * @param {*} value The value to inspect. - * @returns {Array|Object} Returns the cast array-like object. + * @constructor + * @param {Array} [entries] The key-value pairs to cache. */ - function castArrayLikeObject(value) { - return isArrayLikeObject(value) ? value : []; + 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]); + } } /** - * Casts `value` to `identity` if it's not a function. + * Removes all key-value entries from the list cache. * * @private - * @param {*} value The value to inspect. - * @returns {Function} Returns cast function. + * @name clear + * @memberOf ListCache */ - function castFunction(value) { - return typeof value == 'function' ? value : identity; + function listCacheClear() { + this.__data__ = []; + this.size = 0; } /** - * Casts `value` to a path array if it's not one. + * Removes `key` and its value from the list cache. * * @private - * @param {*} value The value to inspect. - * @param {Object} [object] The object to query keys on. - * @returns {Array} Returns the cast property path array. + * @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 castPath(value, object) { - if (isArray(value)) { - return value; + function listCacheDelete(key) { + var data = this.__data__, + index = assocIndexOf(data, key); + + if (index < 0) { + return false; } - return isKey(value, object) ? [value] : stringToPath(toString(value)); + var lastIndex = data.length - 1; + if (index == lastIndex) { + data.pop(); + } else { + splice.call(data, index, 1); + } + --this.size; + return true; } /** - * A `baseRest` alias which can be replaced with `identity` by module - * replacement plugins. + * Gets the list cache value for `key`. * * @private - * @type {Function} - * @param {Function} func The function to apply a rest parameter to. - * @returns {Function} Returns the new function. + * @name get + * @memberOf ListCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. */ - var castRest = baseRest; + function listCacheGet(key) { + var data = this.__data__, + index = assocIndexOf(data, key); - /** - * 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); + return index < 0 ? undefined : data[index][1]; } /** - * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout). + * Checks if a list cache value for `key` exists. * * @private - * @param {number|Object} id The timer id or timeout object of the timer to clear. + * @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`. */ - var clearTimeout = ctxClearTimeout || function(id) { - return root.clearTimeout(id); - }; + function listCacheHas(key) { + return assocIndexOf(this.__data__, key) > -1; + } /** - * Creates a clone of `buffer`. + * Sets the list cache `key` to `value`. * * @private - * @param {Buffer} buffer The buffer to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Buffer} Returns the cloned buffer. + * @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 cloneBuffer(buffer, isDeep) { - if (isDeep) { - return buffer.slice(); - } - var length = buffer.length, - result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); + function listCacheSet(key, value) { + var data = this.__data__, + index = assocIndexOf(data, key); - buffer.copy(result); - return result; + 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 clone of `arrayBuffer`. + * Creates a map cache object to store key-value pairs. * * @private - * @param {ArrayBuffer} arrayBuffer The array buffer to clone. - * @returns {ArrayBuffer} Returns the cloned array buffer. + * @constructor + * @param {Array} [entries] The key-value pairs to cache. */ - function cloneArrayBuffer(arrayBuffer) { - var result = new arrayBuffer.constructor(arrayBuffer.byteLength); - new Uint8Array(result).set(new Uint8Array(arrayBuffer)); - return result; + 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]); + } } /** - * Creates a clone of `dataView`. + * Removes all key-value entries from the map. * * @private - * @param {Object} dataView The data view to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned data view. + * @name clear + * @memberOf MapCache */ - function cloneDataView(dataView, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer; - return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength); + function mapCacheClear() { + this.size = 0; + this.__data__ = { + 'hash': new Hash, + 'map': new (Map || ListCache), + 'string': new Hash + }; } /** - * Creates a clone of `regexp`. + * Removes `key` and its value from the map. * * @private - * @param {Object} regexp The regexp to clone. - * @returns {Object} Returns the cloned regexp. + * @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 cloneRegExp(regexp) { - var result = new regexp.constructor(regexp.source, reFlags.exec(regexp)); - result.lastIndex = regexp.lastIndex; + function mapCacheDelete(key) { + var result = getMapData(this, key)['delete'](key); + this.size -= result ? 1 : 0; return result; } /** - * Creates a clone of the `symbol` object. + * Gets the map value for `key`. * * @private - * @param {Object} symbol The symbol object to clone. - * @returns {Object} Returns the cloned symbol object. + * @name get + * @memberOf MapCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. */ - function cloneSymbol(symbol) { - return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {}; + function mapCacheGet(key) { + return getMapData(this, key).get(key); } /** - * Creates a clone of `typedArray`. + * Checks if a map value for `key` exists. * * @private - * @param {Object} typedArray The typed array to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned typed array. + * @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 cloneTypedArray(typedArray, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; - return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); + function mapCacheHas(key) { + return getMapData(this, key).has(key); } /** - * Compares values to sort them in ascending order. + * Sets the map `key` to `value`. * * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {number} Returns the sort order indicator for `value`. + * @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 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); + function mapCacheSet(key, value) { + var data = getMapData(this, key), + size = data.size; - 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; + 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; + + /*------------------------------------------------------------------------*/ + /** - * 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. + * Creates an array cache object to store unique 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`. + * @constructor + * @param {Array} [values] The values to cache. */ - function compareMultiple(object, other, orders) { + function SetCache(values) { var index = -1, - objCriteria = object.criteria, - othCriteria = other.criteria, - length = objCriteria.length, - ordersLength = orders.length; + length = values == null ? 0 : values.length; + this.__data__ = new MapCache; 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); - } + this.add(values[index]); } - // 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. + * Adds `value` to the array cache. * * @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. + * @name add + * @memberOf SetCache + * @alias push + * @param {*} value The value to cache. + * @returns {Object} Returns the cache instance. */ - 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; + function setCacheAdd(value) { + this.__data__.set(value, HASH_UNDEFINED); + return this; } /** - * This function is like `composeArgs` except that the arguments composition - * is tailored for `_.partialRight`. + * Checks if `value` is in the array cache. * * @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. + * @name has + * @memberOf SetCache + * @param {*} value The value to search for. + * @returns {boolean} Returns `true` if `value` is found, else `false`. */ - 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; + function setCacheHas(value) { + return this.__data__.has(value); } - /** - * 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; + // Add methods to `SetCache`. + SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; + SetCache.prototype.has = setCacheHas; - array || (array = Array(length)); - while (++index < length) { - array[index] = source[index]; - } - return array; - } + /*------------------------------------------------------------------------*/ /** - * Copies properties of `source` to `object`. + * Creates a stack cache object to store key-value pairs. * * @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`. + * @constructor + * @param {Array} [entries] The key-value pairs to cache. */ - 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; + function Stack(entries) { + var data = this.__data__ = new ListCache(entries); + this.size = data.size; } /** - * Copies own symbols of `source` to `object`. + * Removes all key-value entries from the stack. * * @private - * @param {Object} source The object to copy symbols from. - * @param {Object} [object={}] The object to copy symbols to. - * @returns {Object} Returns `object`. + * @name clear + * @memberOf Stack */ - function copySymbols(source, object) { - return copyObject(source, getSymbols(source), object); + function stackClear() { + this.__data__ = new ListCache; + this.size = 0; } /** - * Copies own and inherited symbols of `source` to `object`. + * Removes `key` and its value from the stack. * * @private - * @param {Object} source The object to copy symbols from. - * @param {Object} [object={}] The object to copy symbols to. - * @returns {Object} Returns `object`. + * @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 copySymbolsIn(source, object) { - return copyObject(source, getSymbolsIn(source), object); + function stackDelete(key) { + var data = this.__data__, + result = data['delete'](key); + + this.size = data.size; + return result; } /** - * Creates a function like `_.groupBy`. + * Gets the stack value for `key`. * * @private - * @param {Function} setter The function to set accumulator values. - * @param {Function} [initializer] The accumulator object initializer. - * @returns {Function} Returns the new aggregator function. + * @name get + * @memberOf Stack + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. */ - 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); - }; + function stackGet(key) { + return this.__data__.get(key); } /** - * Creates a function like `_.assign`. + * Checks if a stack value for `key` exists. * * @private - * @param {Function} assigner The function to assign values. - * @returns {Function} Returns the new assigner function. + * @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 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; - }); + function stackHas(key) { + return this.__data__.has(key); } /** - * Creates a `baseEach` or `baseEachRight` function. + * Sets the stack `key` to `value`. * * @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. + * @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 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; - } + 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; } - return collection; - }; + 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 a base function for methods like `_.forIn` and `_.forOwn`. + * Creates an array of the enumerable property names of the array-like `value`. * * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. + * @param {*} value The value to query. + * @param {boolean} inherited Specify returning inherited property names. + * @returns {Array} Returns the array of property names. */ - function createBaseFor(fromRight) { - return function(object, iteratee, keysFunc) { - var index = -1, - iterable = Object(object), - props = keysFunc(object), - length = props.length; + 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; - while (length--) { - var key = props[fromRight ? length : ++index]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } + 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 object; - }; + } + return result; } /** - * Creates a function that wraps `func` to invoke it with the optional `this` - * binding of `thisArg`. + * A specialized version of `_.sample` for arrays. * * @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. + * @param {Array} array The array to sample. + * @returns {*} Returns the random element. */ - 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; + function arraySample(array) { + var length = array.length; + return length ? array[baseRandom(0, length - 1)] : undefined; } /** - * Creates a function like `_.lowerFirst`. + * A specialized version of `_.sampleSize` for arrays. * * @private - * @param {string} methodName The name of the `String` case method to use. - * @returns {Function} Returns the new case function. + * @param {Array} array The array to sample. + * @param {number} n The number of elements to sample. + * @returns {Array} Returns the random elements. */ - 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; - }; + function arraySampleSize(array, n) { + return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length)); } /** - * Creates a function like `_.camelCase`. + * A specialized version of `_.shuffle` for arrays. * * @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, ''); - }; + * @param {Array} array The array to shuffle. + * @returns {Array} Returns the new shuffled array. + */ + function arrayShuffle(array) { + return shuffleSelf(copyArray(array)); } /** - * 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`. + * This function is like `assignValue` except that it doesn't assign + * `undefined` values. * * @private - * @param {Function} Ctor The constructor to wrap. - * @returns {Function} Returns the new wrapped function. + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. */ - 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; - }; + function assignMergeValue(object, key, value) { + if ((value !== undefined && !eq(object[key], value)) || + (value === undefined && !(key in object))) { + baseAssignValue(object, key, value); + } } /** - * Creates a function that wraps `func` to enable currying. + * 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 {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. + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. */ - 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); + 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); } - return wrapper; } /** - * Creates a `_.find` or `_.findLast` function. + * Gets the index at which the `key` is found in `array` of key-value pairs. * * @private - * @param {Function} findIndexFunc The function to find the collection index. - * @returns {Function} Returns the new find function. + * @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 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); }; + function assocIndexOf(array, key) { + var length = array.length; + while (length--) { + if (eq(array[length][0], key)) { + return length; } - var index = findIndexFunc(collection, predicate, fromIndex); - return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined; - }; + } + return -1; } /** - * Creates a `_.flow` or `_.flowRight` function. + * Aggregates elements of `collection` on `accumulator` with keys transformed + * by `iteratee` and values set by `setter`. * * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new flow function. + * @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 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; - }; + function baseAggregator(collection, setter, iteratee, accumulator) { + baseEach(collection, function(value, key, collection) { + setter(accumulator, value, iteratee(value), collection); }); + return accumulator; } /** - * Creates a function that wraps `func` to invoke it with optional `this` - * binding of `thisArg`, partial application, and currying. + * The base implementation of `_.assign` without support for multiple sources + * or `customizer` functions. * * @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. + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @returns {Object} Returns `object`. */ - 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; + function baseAssign(object, source) { + return object && copyObject(source, keys(source), object); } /** - * Creates a function like `_.invertBy`. + * The base implementation of `_.assignIn` without support for multiple sources + * or `customizer` functions. * * @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. + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @returns {Object} Returns `object`. */ - function createInverter(setter, toIteratee) { - return function(object, iteratee) { - return baseInverter(object, setter, toIteratee(iteratee), {}); - }; + function baseAssignIn(object, source) { + return object && copyObject(source, keysIn(source), object); } /** - * Creates a function that performs a mathematical operation on two values. + * The base implementation of `assignValue` and `assignMergeValue` without + * value checks. * * @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. + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. */ - 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; - }; + function baseAssignValue(object, key, value) { + if (key == '__proto__' && defineProperty) { + defineProperty(object, key, { + 'configurable': true, + 'enumerable': true, + 'value': value, + 'writable': true + }); + } else { + object[key] = value; + } } /** - * Creates a function like `_.over`. + * The base implementation of `_.at` without support for individual paths. * * @private - * @param {Function} arrayFunc The function to iterate over iteratees. - * @returns {Function} Returns the new over function. + * @param {Object} object The object to iterate over. + * @param {string[]} paths The property paths to pick. + * @returns {Array} Returns the picked elements. */ - 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); - }); - }); - }); + 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; } /** - * Creates the padding for `string` based on `length`. The `chars` string - * is truncated if the number of characters exceeds `length`. + * The base implementation of `_.clamp` which doesn't coerce arguments. * * @private - * @param {number} length The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the padding for `string`. + * @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 createPadding(length, chars) { - chars = chars === undefined ? ' ' : baseToString(chars); - - var charsLength = chars.length; - if (charsLength < 2) { - return charsLength ? baseRepeat(chars, length) : chars; + function baseClamp(number, lower, upper) { + if (number === number) { + if (upper !== undefined) { + number = number <= upper ? number : upper; + } + if (lower !== undefined) { + number = number >= lower ? number : lower; + } } - var result = baseRepeat(chars, nativeCeil(length / stringSize(chars))); - return hasUnicode(chars) - ? castSlice(stringToArray(result), 0, length).join('') - : result.slice(0, length); + return number; } /** - * Creates a function that wraps `func` to invoke it with the `this` binding - * of `thisArg` and `partials` prepended to the arguments it receives. + * The base implementation of `_.clone` and `_.cloneDeep` which tracks + * traversed objects. * * @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. + * @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 createPartial(func, bitmask, thisArg, partials) { - var isBind = bitmask & WRAP_BIND_FLAG, - Ctor = createCtor(func); + 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; - 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; + 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; - while (++leftIndex < leftLength) { - args[leftIndex] = partials[leftIndex]; + if (isBuffer(value)) { + return cloneBuffer(value, isDeep); } - while (argsLength--) { - args[leftIndex++] = arguments[++argsIndex]; + 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); } - return apply(fn, isBind ? thisArg : this, args); } - return wrapper; + // 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; } /** - * Creates a `_.range` or `_.rangeRight` function. + * The base implementation of `_.conforms` which doesn't clone `source`. * * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new range function. + * @param {Object} source The object of property predicates to conform to. + * @returns {Function} Returns the new spec 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); + function baseConforms(source) { + var props = keys(source); + return function(object) { + return baseConformsTo(object, source, props); }; } /** - * Creates a function that performs a relational operation on two values. + * 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} operator The function to perform the operation. - * @returns {Function} Returns the new relational operation function. + * @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 createRelationalOperation(operator) { - return function(value, other) { - if (!(typeof value == 'string' && typeof other == 'string')) { - value = toNumber(value); - other = toNumber(other); - } - return operator(value, other); - }; + function baseDelay(func, wait, args) { + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + return setTimeout(function() { func.apply(undefined, args); }, wait); } /** - * Creates a function that wraps `func` to continue currying. + * The base implementation of methods like `_.difference` without support + * for excluding multiple arrays or iteratee shorthands. * * @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. + * @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 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); + function baseDifference(array, values, iteratee, comparator) { + var index = -1, + includes = arrayIncludes, + isCommon = true, + length = array.length, + result = [], + valuesLength = values.length; - if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) { - bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG); + if (!length) { + return result; } - var newData = [ - func, bitmask, thisArg, newPartials, newHolders, newPartialsRight, - newHoldersRight, argPos, ary, arity - ]; + 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); - var result = wrapFunc.apply(undefined, newData); - if (isLaziable(func)) { - setData(result, newData); + 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); + } } - result.placeholder = placeholder; - return setWrapToString(result, func, bitmask); + return result; } /** - * Creates a function like `_.round`. + * The base implementation of `_.forEach` without support for iteratee shorthands. * * @private - * @param {string} methodName The name of the `Math` method to use when rounding. - * @returns {Function} Returns the new round function. + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. */ - 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); - }; - } + var baseEach = createBaseEach(baseForOwn); /** - * Creates a set object of `values`. + * The base implementation of `_.forEachRight` without support for iteratee shorthands. * * @private - * @param {Array} values The values to add to the set. - * @returns {Object} Returns the new set. + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. */ - var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) { - return new Set(values); - }; + var baseEachRight = createBaseEach(baseForOwnRight, true); /** - * Creates a `_.toPairs` or `_.toPairsIn` function. + * The base implementation of `_.every` without support for iteratee shorthands. * * @private - * @param {Function} keysFunc The function to get the keys of a given object. - * @returns {Function} Returns the new pairs function. + * @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 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)); - }; + function baseEvery(collection, predicate) { + var result = true; + baseEach(collection, function(value, index, collection) { + result = !!predicate(value, index, collection); + return result; + }); + return result; } /** - * Creates a function that either curries or invokes `func` with optional - * `this` binding and partially applied arguments. + * The base implementation of methods like `_.max` and `_.min` which accepts a + * `comparator` to determine the extremum value. * * @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. + * @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 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 - ]; + function baseExtremum(array, iteratee, comparator) { + var index = -1, + length = array.length; - 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); + while (++index < length) { + var value = array[index], + current = iteratee(value); - 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); + if (current != null && (computed === undefined + ? (current === current && !isSymbol(current)) + : comparator(current, computed) + )) { + var computed = current, + result = value; + } } - var setter = data ? baseSetData : setData; - return setWrapToString(setter(result, newData), func, bitmask); + return result; } /** - * 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`. + * The base implementation of `_.fill` without an iteratee call guard. * * @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. + * @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 customDefaultsAssignIn(objValue, srcValue, key, object) { - if (objValue === undefined || - (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) { - return srcValue; - } - return objValue; - } + function baseFill(array, value, start, end) { + var length = array.length; - /** - * 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); + start = toInteger(start); + if (start < 0) { + start = -start > length ? 0 : (length + start); } - return objValue; + 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; } /** - * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain - * objects. + * The base implementation of `_.filter` without support for iteratee shorthands. * * @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`. + * @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 customOmitClone(value) { - return isPlainObject(value) ? undefined : value; + function baseFilter(collection, predicate) { + var result = []; + baseEach(collection, function(value, index, collection) { + if (predicate(value, index, collection)) { + result.push(value); + } + }); + return result; } /** - * A specialized version of `baseIsEqualDeep` for arrays with support for - * partial deep comparisons. + * The base implementation of `_.flatten` with support for restricting flattening. * * @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`. + * @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 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; - } + function baseFlatten(array, depth, predicate, isStrict, result) { var index = -1, - result = true, - seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined; - - stack.set(array, other); - stack.set(other, array); + length = array.length; - // Ignore non-index properties. - while (++index < arrLength) { - var arrValue = array[index], - othValue = other[index]; + predicate || (predicate = isFlattenable); + result || (result = []); - 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; + 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 (!( - arrValue === othValue || - equalFunc(arrValue, othValue, bitmask, customizer, stack) - )) { - result = false; - break; + } else if (!isStrict) { + result[result.length] = value; } } - 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`. + * 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 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`. + * @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`. */ - 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; + var baseFor = createBaseFor(); - // 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; + /** + * 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); - case symbolTag: - if (symbolValueOf) { - return symbolValueOf.call(object) == symbolValueOf.call(other); - } - } - return false; + /** + * 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); } /** - * A specialized version of `baseIsEqualDeep` for objects with support for - * partial deep comparisons. + * The base implementation of `_.forOwnRight` without support for iteratee shorthands. * * @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`. + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Object} Returns `object`. */ - 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; + function baseForOwnRight(object, iteratee) { + return object && baseForRight(object, iteratee, keys); } /** - * A specialized version of `baseRest` which flattens the rest array. + * The base implementation of `_.functions` which creates an array of + * `object` function property names filtered from `props`. * * @private - * @param {Function} func The function to apply a rest parameter to. - * @returns {Function} Returns the new function. + * @param {Object} object The object to inspect. + * @param {Array} props The property names to filter. + * @returns {Array} Returns the function names. */ - function flatRest(func) { - return setToString(overRest(func, undefined, flatten), func + ''); + function baseFunctions(object, props) { + return arrayFilter(props, function(key) { + return isFunction(object[key]); + }); } /** - * Creates an array of own enumerable property names and symbols of `object`. + * The base implementation of `_.get` without support for default values. * * @private * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names and symbols. + * @param {Array|string} path The path of the property to get. + * @returns {*} Returns the resolved value. */ - function getAllKeys(object) { - return baseGetAllKeys(object, keys, getSymbols); + 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; } /** - * Creates an array of own and inherited enumerable property names and + * 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 getAllKeysIn(object) { - return baseGetAllKeys(object, keysIn, getSymbolsIn); + function baseGetAllKeys(object, keysFunc, symbolsFunc) { + var result = keysFunc(object); + return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); } /** - * Gets metadata for `func`. + * The base implementation of `getTag` without fallbacks for buggy environments. * * @private - * @param {Function} func The function to query. - * @returns {*} Returns the metadata for `func`. + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. */ - var getData = !metaMap ? noop : function(func) { - return metaMap.get(func); - }; + function baseGetTag(value) { + if (value == null) { + return value === undefined ? undefinedTag : nullTag; + } + return (symToStringTag && symToStringTag in Object(value)) + ? getRawTag(value) + : objectToString(value); + } /** - * Gets the name of `func`. + * The base implementation of `_.gt` which doesn't coerce arguments. * * @private - * @param {Function} func The function to query. - * @returns {string} Returns the function name. + * @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 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; + function baseGt(value, other) { + return value > other; } /** - * Gets the argument placeholder value for `func`. + * The base implementation of `_.has` without support for deep paths. * * @private - * @param {Function} func The function to inspect. - * @returns {*} Returns the placeholder value. + * @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 getHolder(func) { - var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func; - return object.placeholder; + function baseHas(object, key) { + return object != null && hasOwnProperty.call(object, key); } /** - * 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. + * The base implementation of `_.hasIn` without support for deep paths. * * @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. + * @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 getIteratee() { - var result = lodash.iteratee || iteratee; - result = result === iteratee ? baseIteratee : result; - return arguments.length ? result(arguments[0], arguments[1]) : result; + function baseHasIn(object, key) { + return object != null && key in Object(object); } /** - * Gets the data for `map`. + * The base implementation of `_.inRange` which doesn't coerce arguments. * * @private - * @param {Object} map The map to query. - * @param {string} key The reference key. - * @returns {*} Returns the map data. + * @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 getMapData(map, key) { - var data = map.__data__; - return isKeyable(key) - ? data[typeof key == 'string' ? 'string' : 'hash'] - : data.map; + function baseInRange(number, start, end) { + return number >= nativeMin(start, end) && number < nativeMax(start, end); } /** - * Gets the property names, values, and compare flags of `object`. + * The base implementation of methods like `_.intersection`, without support + * for iteratee shorthands, that accepts an array of arrays to inspect. * * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the match data of `object`. + * @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 getMatchData(object) { - var result = keys(object), - length = result.length; + 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 (length--) { - var key = result[length], - value = object[key]; + 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]; - result[length] = [key, value, isStrictComparable(value)]; + 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; } /** - * Gets the native function at `key` of `object`. + * 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 {string} key The key of the method to get. - * @returns {*} Returns the function if it's native, else `undefined`. + * @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 getNative(object, key) { - var value = getValue(object, key); - return baseIsNative(value) ? value : undefined; + 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); } /** - * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. + * The base implementation of `_.isArguments`. * * @private - * @param {*} value The value to query. - * @returns {string} Returns the raw `toStringTag`. + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, */ - function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; + function baseIsArguments(value) { + return isObjectLike(value) && baseGetTag(value) == argsTag; + } - try { - value[symToStringTag] = undefined; - var unmasked = true; - } catch (e) {} + /** + * 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; + } - var result = nativeObjectToString.call(value); - if (unmasked) { - if (isOwn) { - value[symToStringTag] = tag; - } else { - delete value[symToStringTag]; - } - } - return result; + /** + * 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; } /** - * Creates an array of the own enumerable symbols of `object`. + * The base implementation of `_.isEqual` which supports partial comparisons + * and tracks traversed objects. * * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of symbols. + * @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`. */ - var getSymbols = !nativeGetSymbols ? stubArray : function(object) { - if (object == null) { - return []; + function baseIsEqual(value, other, bitmask, customizer, stack) { + if (value === other) { + return true; } - object = Object(object); - return arrayFilter(nativeGetSymbols(object), function(symbol) { - return propertyIsEnumerable.call(object, symbol); - }); - }; + if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { + return value !== value && other !== other; + } + return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); + } /** - * Creates an array of the own and inherited enumerable symbols of `object`. + * 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 query. - * @returns {Array} Returns the array of symbols. + * @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`. */ - var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) { - var result = []; - while (object) { - arrayPush(result, getSymbols(object)); - object = getPrototype(object); + 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; } - return result; - }; + 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); + } /** - * Gets the `toStringTag` of `value`. + * The base implementation of `_.isMap` without Node.js optimizations. * * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a map, else `false`. */ - var getTag = baseGetTag; + function baseIsMap(value) { + return isObjectLike(value) && getTag(value) == mapTag; + } - // 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) : ''; + /** + * 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 (ctorString) { - switch (ctorString) { - case dataViewCtorString: return dataViewTag; - case mapCtorString: return mapTag; - case promiseCtorString: return promiseTag; - case setCtorString: return setTag; - case weakMapCtorString: return weakMapTag; + 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 result; - }; + } + return true; } /** - * Gets the view, applying any `transforms` to the `start` and `end` positions. + * The base implementation of `_.isNative` without bad shim checks. * * @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. + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a native function, + * else `false`. */ - 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; - } + function baseIsNative(value) { + if (!isObject(value) || isMasked(value)) { + return false; } - return { 'start': start, 'end': end }; + var pattern = isFunction(value) ? reIsNative : reIsHostCtor; + return pattern.test(toSource(value)); } /** - * Extracts wrapper details from the `source` body comment. + * The base implementation of `_.isRegExp` without Node.js optimizations. * * @private - * @param {string} source The source to inspect. - * @returns {Array} Returns the wrapper details. + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. */ - function getWrapDetails(source) { - var match = source.match(reWrapDetails); - return match ? match[1].split(reSplitDetails) : []; + function baseIsRegExp(value) { + return isObjectLike(value) && baseGetTag(value) == regexpTag; } /** - * Checks if `path` exists on `object`. + * The base implementation of `_.isSet` without Node.js optimizations. * * @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`. + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a set, 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)); + function baseIsSet(value) { + return isObjectLike(value) && getTag(value) == setTag; } /** - * Initializes an array clone. + * The base implementation of `_.isTypedArray` without Node.js optimizations. * * @private - * @param {Array} array The array to clone. - * @returns {Array} Returns the initialized clone. + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. */ - 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; + function baseIsTypedArray(value) { + return isObjectLike(value) && + isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; } /** - * Initializes an object clone. + * The base implementation of `_.iteratee`. * * @private - * @param {Object} object The object to clone. - * @returns {Object} Returns the initialized clone. + * @param {*} [value=_.identity] The value to convert to an iteratee. + * @returns {Function} Returns the iteratee. */ - function initCloneObject(object) { - return (typeof object.constructor == 'function' && !isPrototype(object)) - ? baseCreate(getPrototype(object)) - : {}; + 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); } /** - * 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`. + * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. * * @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. + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. */ - 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); + 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; } /** - * Inserts wrapper `details` in a comment at the top of the `source` body. + * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. * * @private - * @param {string} source The source to modify. - * @returns {Array} details The details to insert. - * @returns {string} Returns the modified source. + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. */ - function insertWrapDetails(source, details) { - var length = details.length; - if (!length) { - return source; + function baseKeysIn(object) { + if (!isObject(object)) { + return nativeKeysIn(object); } - var lastIndex = length - 1; - details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex]; - details = details.join(length > 2 ? ', ' : ' '); - return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n'); + var isProto = isPrototype(object), + result = []; + + for (var key in object) { + if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { + result.push(key); + } + } + return result; } /** - * Checks if `value` is a flattenable `arguments` object or array. + * The base implementation of `_.lt` which doesn't coerce arguments. * * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. + * @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 isFlattenable(value) { - return isArray(value) || isArguments(value) || - !!(spreadableSymbol && value && value[spreadableSymbol]); + function baseLt(value, other) { + return value < other; } /** - * Checks if `value` is a valid array-like index. + * The base implementation of `_.map` without support for iteratee shorthands. * * @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`. + * @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 isIndex(value, length) { - var type = typeof value; - length = length == null ? MAX_SAFE_INTEGER : length; + function baseMap(collection, iteratee) { + var index = -1, + result = isArrayLike(collection) ? Array(collection.length) : []; - return !!length && - (type == 'number' || - (type != 'symbol' && reIsUint.test(value))) && - (value > -1 && value % 1 == 0 && value < length); + baseEach(collection, function(value, key, collection) { + result[++index] = iteratee(value, key, collection); + }); + return result; } /** - * Checks if the given arguments are from an iteratee call. + * The base implementation of `_.matches` which doesn't clone `source`. * * @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`. + * @param {Object} source The object of property values to match. + * @returns {Function} Returns the new spec function. */ - 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); + function baseMatches(source) { + var matchData = getMatchData(source); + if (matchData.length == 1 && matchData[0][2]) { + return matchesStrictComparable(matchData[0][0], matchData[0][1]); } - return false; + return function(object) { + return object === source || baseIsMatch(object, source, matchData); + }; } /** - * Checks if `value` is a property name and not a property path. + * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. * * @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`. + * @param {string} path The path of the property to get. + * @param {*} srcValue The value to match. + * @returns {Function} Returns the new spec function. */ - 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; + function baseMatchesProperty(path, srcValue) { + if (isKey(path) && isStrictComparable(srcValue)) { + return matchesStrictComparable(toKey(path), srcValue); } - return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || - (object != null && value in Object(object)); + 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); + }; } /** - * Checks if `value` is suitable for use as unique object key. + * The base implementation of `_.merge` without support for multiple sources. * * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is suitable, else `false`. + * @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 isKeyable(value) { - var type = typeof value; - return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') - ? (value !== '__proto__') - : (value === null); + 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); } /** - * Checks if `func` has a lazy counterpart. + * 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 {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` has a lazy counterpart, - * else `false`. + * @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 isLaziable(func) { - var funcName = getFuncName(func), - other = lodash[funcName]; + function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { + var objValue = safeGet(object, key), + srcValue = safeGet(source, key), + stacked = stack.get(srcValue); - if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) { - return false; + if (stacked) { + assignMergeValue(object, key, stacked); + return; } - if (func === other) { - return true; + 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; + } } - var data = getData(other); - return !!data && func === data[0]; + 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); } /** - * Checks if `func` has its source masked. + * The base implementation of `_.nth` which doesn't coerce arguments. * * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is masked, else `false`. + * @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 isMasked(func) { - return !!maskSrcKey && (maskSrcKey in func); + function baseNth(array, n) { + var length = array.length; + if (!length) { + return; + } + n += n < 0 ? length : 0; + return isIndex(n, length) ? array[n] : undefined; } /** - * Checks if `func` is capable of being masked. + * The base implementation of `_.orderBy` without param guards. * * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `func` is maskable, else `false`. + * @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. */ - var isMaskable = coreJsData ? isFunction : stubFalse; + 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); + }); + } /** - * Checks if `value` is likely a prototype object. + * The base implementation of `_.pick` without support for individual + * property identifiers. * * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. + * @param {Object} object The source object. + * @param {string[]} paths The property paths to pick. + * @returns {Object} Returns the new object. */ - function isPrototype(value) { - var Ctor = value && value.constructor, - proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; - - return value === proto; + function basePick(object, paths) { + return basePickBy(object, paths, function(value, path) { + return hasIn(object, path); + }); } /** - * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. + * The base implementation of `_.pickBy` without support for iteratee shorthands. * * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` if suitable for strict - * equality comparisons, else `false`. + * @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 isStrictComparable(value) { - return value === value && !isObject(value); + 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 `matchesProperty` for source values suitable - * for strict equality comparisons, i.e. `===`. + * A specialized version of `baseProperty` which supports deep paths. * * @private - * @param {string} key The key of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. + * @param {Array|string} path The path of the property to get. + * @returns {Function} Returns the new accessor function. */ - function matchesStrictComparable(key, srcValue) { + function basePropertyDeep(path) { return function(object) { - if (object == null) { - return false; - } - return object[key] === srcValue && - (srcValue !== undefined || (key in Object(object))); + return baseGet(object, path); }; } /** - * A specialized version of `_.memoize` which clears the memoized function's - * cache when it exceeds `MAX_MEMOIZE_SIZE`. + * The base implementation of `_.pullAllBy` without support for iteratee + * shorthands. * * @private - * @param {Function} func The function to have its output memoized. - * @returns {Function} Returns the new memoized function. + * @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 memoizeCapped(func) { - var result = memoize(func, function(key) { - if (cache.size === MAX_MEMOIZE_SIZE) { - cache.clear(); - } - return key; - }); + function basePullAll(array, values, iteratee, comparator) { + var indexOf = comparator ? baseIndexOfWith : baseIndexOf, + index = -1, + length = values.length, + seen = array; - var cache = result.cache; - return result; + 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; } /** - * 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. + * The base implementation of `_.pullAt` without support for individual + * indexes or capturing the removed elements. * * @private - * @param {Array} data The destination metadata. - * @param {Array} source The source metadata. - * @returns {Array} Returns `data`. + * @param {Array} array The array to modify. + * @param {number[]} indexes The indexes of elements to remove. + * @returns {Array} Returns `array`. */ - 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)); + function basePullAt(array, indexes) { + var length = array ? indexes.length : 0, + lastIndex = length - 1; - // 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]; + 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); + } + } } - // Use source `func` and merge bitmasks. - data[0] = source[0]; - data[1] = newBitmask; + return array; + } - return data; + /** + * 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)); } /** - * This function is like - * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * except that it includes inherited enumerable properties. + * The base implementation of `_.range` and `_.rangeRight` which doesn't + * coerce arguments. * * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. + * @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 nativeKeysIn(object) { - var result = []; - if (object != null) { - for (var key in Object(object)) { - result.push(key); - } + 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; } /** - * Converts `value` to a string using `Object.prototype.toString`. + * The base implementation of `_.repeat` which doesn't coerce arguments. * * @private - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. + * @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 objectToString(value) { - return nativeObjectToString.call(value); + 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; } /** - * A specialized version of `baseRest` which transforms the rest array. + * 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. - * @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); - }; + function baseRest(func, start) { + return setToString(overRest(func, start, identity), func + ''); } /** - * Gets the parent value at `path` of `object`. + * The base implementation of `_.sample`. * * @private - * @param {Object} object The object to query. - * @param {Array} path The path to get the parent value of. - * @returns {*} Returns the parent value. + * @param {Array|Object} collection The collection to sample. + * @returns {*} Returns the random element. */ - function parent(object, path) { - return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1)); + function baseSample(collection) { + return arraySample(values(collection)); } /** - * 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. + * The base implementation of `_.sampleSize` without param guards. * * @private - * @param {Array} array The array to reorder. - * @param {Array} indexes The arranged array indexes. - * @returns {Array} Returns `array`. + * @param {Array|Object} collection The collection to sample. + * @param {number} n The number of elements to sample. + * @returns {Array} Returns the random elements. */ - 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; + function baseSampleSize(collection, n) { + var array = values(collection); + return shuffleSelf(array, baseClamp(n, 0, array.length)); } /** - * Gets the value at `key`, unless `key` is "__proto__" or "constructor". + * The base implementation of `_.set`. * * @private - * @param {Object} object The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. + * @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 safeGet(object, key) { - if (key === 'constructor' && typeof object[key] === 'function') { - return; + function baseSet(object, path, value, customizer) { + if (!isObject(object)) { + return object; } + path = castPath(path, object); - if (key == '__proto__') { - return; - } + var index = -1, + length = path.length, + lastIndex = length - 1, + nested = object; - return object[key]; + 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; } /** - * 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. + * 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 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); + var baseSetData = !metaMap ? identity : function(func, data) { + metaMap.set(func, data); + return func; }; /** - * Sets the `toString` method of `func` to return `string`. + * 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 setToString = shortOut(baseSetToString); + var baseSetToString = !defineProperty ? identity : function(func, string) { + return defineProperty(func, 'toString', { + 'configurable': true, + 'enumerable': false, + 'value': constant(string), + 'writable': true + }); + }; /** - * 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. + * The base implementation of `_.shuffle`. * * @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`. + * @param {Array|Object} collection The collection to shuffle. + * @returns {Array} Returns the new shuffled array. */ - function setWrapToString(wrapper, reference, bitmask) { - var source = (reference + ''); - return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask))); + function baseShuffle(collection) { + return shuffleSelf(values(collection)); } /** - * 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. + * The base implementation of `_.slice` without an iteratee call guard. * * @private - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new shortable function. + * @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 shortOut(func) { - var count = 0, - lastCalled = 0; + function baseSlice(array, start, end) { + var index = -1, + length = array.length; - return function() { - var stamp = nativeNow(), - remaining = HOT_SPAN - (stamp - lastCalled); + 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; - lastCalled = stamp; - if (remaining > 0) { - if (++count >= HOT_COUNT) { - return arguments[0]; - } - } else { - count = 0; - } - return func.apply(undefined, arguments); - }; + var result = Array(length); + while (++index < length) { + result[index] = array[index + start]; + } + return result; } /** - * A specialized version of `_.shuffle` which mutates and sets the size of `array`. + * The base implementation of `_.some` without support for iteratee shorthands. * * @private - * @param {Array} array The array to shuffle. - * @param {number} [size=array.length] The size of `array`. - * @returns {Array} Returns `array`. + * @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 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]; + function baseSome(collection, predicate) { + var result; - array[rand] = array[index]; - array[index] = value; - } - array.length = size; - return array; + baseEach(collection, function(value, index, collection) { + result = predicate(value, index, collection); + return !result; + }); + return !!result; } /** - * Converts `string` to a property path array. + * 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 {string} string The string to convert. - * @returns {Array} Returns the property path array. + * @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`. */ - var stringToPath = memoizeCapped(function(string) { - var result = []; - if (string.charCodeAt(0) === 46 /* . */) { - result.push(''); + 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; } - string.replace(rePropName, function(match, number, quote, subString) { - result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match)); - }); - return result; - }); + return baseSortedIndexBy(array, value, identity, retHighest); + } /** - * Converts `value` to a string key if it's not a string or symbol. + * 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 {*} value The value to inspect. - * @returns {string|symbol} Returns the key. + * @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 toKey(value) { - if (typeof value == 'string' || isSymbol(value)) { - return value; + 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; + } } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; + return nativeMin(high, MAX_ARRAY_INDEX); } /** - * Converts `func` to its source code. + * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without + * support for iteratee shorthands. * * @private - * @param {Function} func The function to convert. - * @returns {string} Returns the source code. + * @param {Array} array The array to inspect. + * @param {Function} [iteratee] The iteratee invoked per element. + * @returns {Array} Returns the new duplicate free array. */ - function toSource(func) { - if (func != null) { - try { - return funcToString.call(func); - } catch (e) {} - try { - return (func + ''); - } catch (e) {} + 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 ''; + return result; } /** - * Updates wrapper `details` based on `bitmask` flags. + * The base implementation of `_.toNumber` which doesn't ensure correct + * conversions of binary, hexadecimal, or octal string values. * * @private - * @returns {Array} details The details to modify. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @returns {Array} Returns `details`. + * @param {*} value The value to process. + * @returns {number} Returns the number. */ - 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(); + function baseToNumber(value) { + if (typeof value == 'number') { + return value; + } + if (isSymbol(value)) { + return NAN; + } + return +value; } /** - * Creates a clone of `wrapper`. + * The base implementation of `_.toString` which doesn't convert nullish + * values to empty strings. * * @private - * @param {Object} wrapper The wrapper to clone. - * @returns {Object} Returns the cloned wrapper. + * @param {*} value The value to process. + * @returns {string} Returns the string. */ - function wrapperClone(wrapper) { - if (wrapper instanceof LazyWrapper) { - return wrapper.clone(); + function baseToString(value) { + // Exit early for strings to avoid a performance hit in some environments. + if (typeof value == 'string') { + return value; } - var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__); - result.__actions__ = copyArray(wrapper.__actions__); - result.__index__ = wrapper.__index__; - result.__values__ = wrapper.__values__; - return result; + 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; } - /*------------------------------------------------------------------------*/ - /** - * 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']] + * The base implementation of `_.uniqBy` without support for iteratee shorthands. * - * _.chunk(['a', 'b', 'c', 'd'], 3); - * // => [['a', 'b', 'c'], ['d']] + * @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 chunk(array, size, guard) { - if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) { - size = 1; - } else { - size = nativeMax(toInteger(size), 0); + function baseUniq(array, iteratee, comparator) { + var index = -1, + includes = arrayIncludes, + length = array.length, + isCommon = true, + result = [], + seen = result; + + if (comparator) { + isCommon = false; + includes = arrayIncludesWith; } - var length = array == null ? 0 : array.length; - if (!length || size < 1) { - return []; + else if (length >= LARGE_ARRAY_SIZE) { + var set = iteratee ? null : createSet(array); + if (set) { + return setToArray(set); + } + isCommon = false; + includes = cacheHas; + seen = new SetCache; } - var index = 0, - resIndex = 0, - result = Array(nativeCeil(length / size)); + else { + seen = iteratee ? [] : result; + } + outer: + while (++index < length) { + var value = array[index], + computed = iteratee ? iteratee(value) : value; - while (index < length) { - result[resIndex++] = baseSlice(array, index, (index += size)); + 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; } /** - * 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 + * The base implementation of `_.unset`. * - * _.compact([0, 1, false, 2, '', 3]); - * // => [1, 2, 3] + * @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 compact(array) { + function baseUnset(object, path) { + path = castPath(path, object); + + // Prevent prototype pollution: + // https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg + // https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh var index = -1, - length = array == null ? 0 : array.length, - resIndex = 0, - result = []; + length = path.length; + + if (!length) { + return true; + } while (++index < length) { - var value = array[index]; - if (value) { - result[resIndex++] = value; + var key = toKey(path[index]); + + // Always block "__proto__" anywhere in the path if it's not expected + if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) { + return false; + } + + // Block constructor/prototype as non-terminal traversal keys to prevent + // escaping the object graph into built-in constructors and prototypes. + if ((key === 'constructor' || key === 'prototype') && index < length - 1) { + return false; } } - return result; + + var obj = parent(object, path); + return obj == null || delete obj[toKey(last(path))]; } /** - * 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]] + * The base implementation of `_.update`. * - * console.log(array); - * // => [1] + * @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 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)); + function baseUpdate(object, path, updater, customizer) { + return baseSet(object, path, updater(baseGet(object, path)), customizer); } /** - * 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 + * The base implementation of methods like `_.dropWhile` and `_.takeWhile` + * without support for iteratee shorthands. * - * _.difference([2, 1], [2, 3]); - * // => [1] + * @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`. */ - var difference = baseRest(function(array, values) { - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true)) - : []; - }); + 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)); + } /** - * 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 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. * - * // The `_.property` iteratee shorthand. - * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] + * @private + * @param {*} value The unwrapped value. + * @param {Array} actions Actions to perform to resolve the unwrapped value. + * @returns {*} Returns the resolved value. */ - var differenceBy = baseRest(function(array, values) { - var iteratee = last(values); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; + function baseWrapperValue(value, actions) { + var result = value; + if (result instanceof LazyWrapper) { + result = result.value(); } - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)) - : []; - }); + return arrayReduce(actions, function(result, action) { + return action.func.apply(action.thisArg, arrayPush([result], action.args)); + }, result); + } /** - * 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. + * The base implementation of methods like `_.xor`, without support for + * iteratee shorthands, that accepts an array of arrays to inspect. * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. + * @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 filtered values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * - * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual); - * // => [{ 'x': 2, 'y': 1 }] + * @returns {Array} Returns the new array of values. */ - var differenceWith = baseRest(function(array, values) { - var comparator = last(values); - if (isArrayLikeObject(comparator)) { - comparator = undefined; + function baseXor(arrays, iteratee, comparator) { + var length = arrays.length; + if (length < 2) { + return length ? baseUniq(arrays[0]) : []; } - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator) - : []; - }); + var index = -1, + result = Array(length); - /** - * 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 []; + 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); + } + } } - n = (guard || n === undefined) ? 1 : toInteger(n); - return baseSlice(array, n < 0 ? 0 : n, length); + return baseUniq(baseFlatten(result, 1), iteratee, comparator); } /** - * 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); - * // => [] + * This base implementation of `_.zipObject` which assigns values using `assignFunc`. * - * _.dropRight([1, 2, 3], 0); - * // => [1, 2, 3] + * @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 dropRight(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; + 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); } - n = (guard || n === undefined) ? 1 : toInteger(n); - n = length - n; - return baseSlice(array, 0, n < 0 ? 0 : n); + return result; } /** - * 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'] + * Casts `value` to an empty array if it's not an array like object. * - * // The `_.property` iteratee shorthand. - * _.dropRightWhile(users, 'active'); - * // => objects for ['barney', 'fred', 'pebbles'] + * @private + * @param {*} value The value to inspect. + * @returns {Array|Object} Returns the cast array-like object. */ - function dropRightWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), true, true) - : []; + function castArrayLikeObject(value) { + return isArrayLikeObject(value) ? value : []; } /** - * 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'] + * Casts `value` to `identity` if it's not a function. * - * // The `_.property` iteratee shorthand. - * _.dropWhile(users, 'active'); - * // => objects for ['barney', 'fred', 'pebbles'] + * @private + * @param {*} value The value to inspect. + * @returns {Function} Returns cast function. */ - function dropWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), true) - : []; + function castFunction(value) { + return typeof value == 'function' ? value : identity; } /** - * 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] + * Casts `value` to a path array if it's not one. * - * _.fill([4, 6, 8, 10], '*', 1, 3); - * // => [4, '*', '*', 10] + * @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 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; + function castPath(value, object) { + if (isArray(value)) { + return value; } - return baseFill(array, value, start, end); + return isKey(value, object) ? [value] : stringToPath(toString(value)); } /** - * 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 + * A `baseRest` alias which can be replaced with `identity` by module + * replacement plugins. * - * // The `_.property` iteratee shorthand. - * _.findIndex(users, 'active'); - * // => 2 + * @private + * @type {Function} + * @param {Function} func The function to apply a rest parameter to. + * @returns {Function} Returns the new function. */ - 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); - } + var castRest = baseRest; /** - * This method is like `_.findIndex` except that it iterates over elements - * of `collection` from right to left. + * Casts `array` to a slice if it's needed. * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Array + * @private * @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 + * @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). * - * // The `_.matchesProperty` iteratee shorthand. - * _.findLastIndex(users, ['active', false]); - * // => 2 + * @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`. * - * // The `_.property` iteratee shorthand. - * _.findLastIndex(users, 'active'); - * // => 0 + * @private + * @param {Buffer} buffer The buffer to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Buffer} Returns the cloned buffer. */ - 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); + function cloneBuffer(buffer, isDeep) { + if (isDeep) { + return buffer.slice(); } - return baseFindIndex(array, getIteratee(predicate, 3), index, true); + var length = buffer.length, + result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); + + buffer.copy(result); + return result; } /** - * 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 + * Creates a clone of `arrayBuffer`. * - * _.flatten([1, [2, [3, [4]], 5]]); - * // => [1, 2, [3, [4]], 5] + * @private + * @param {ArrayBuffer} arrayBuffer The array buffer to clone. + * @returns {ArrayBuffer} Returns the cloned array buffer. */ - function flatten(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, 1) : []; + function cloneArrayBuffer(arrayBuffer) { + var result = new arrayBuffer.constructor(arrayBuffer.byteLength); + new Uint8Array(result).set(new Uint8Array(arrayBuffer)); + return result; } /** - * 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 + * Creates a clone of `dataView`. * - * _.flattenDeep([1, [2, [3, [4]], 5]]); - * // => [1, 2, 3, 4, 5] + * @private + * @param {Object} dataView The data view to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the cloned data view. */ - function flattenDeep(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, INFINITY) : []; + function cloneDataView(dataView, isDeep) { + var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer; + return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength); } /** - * Recursively flatten `array` up to `depth` times. + * Creates a clone of `regexp`. * - * @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 + * @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. * - * var array = [1, [2, [3, [4]], 5]]; + * @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`. * - * _.flattenDepth(array, 1); - * // => [1, 2, [3, [4]], 5] + * @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. * - * _.flattenDepth(array, 2); - * // => [1, 2, 3, [4], 5] + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {number} Returns the sort order indicator for `value`. */ - function flattenDepth(array, depth) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; + 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; + } } - depth = depth === undefined ? 1 : toInteger(depth); - return baseFlatten(array, depth); + return 0; } /** - * The inverse of `_.toPairs`; this method returns an object composed - * from key-value `pairs`. + * Used by `_.orderBy` to compare multiple properties of a value to another + * and stable sort them. * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} pairs The key-value pairs. - * @returns {Object} Returns the new object. - * @example + * 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. * - * _.fromPairs([['a', 1], ['b', 2]]); - * // => { 'a': 1, 'b': 2 } + * @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 fromPairs(pairs) { + function compareMultiple(object, other, orders) { var index = -1, - length = pairs == null ? 0 : pairs.length, - result = {}; + objCriteria = object.criteria, + othCriteria = other.criteria, + length = objCriteria.length, + ordersLength = orders.length; while (++index < length) { - var pair = pairs[index]; - result[pair[0]] = pair[1]; + var result = compareAscending(objCriteria[index], othCriteria[index]); + if (result) { + if (index >= ordersLength) { + return result; + } + var order = orders[index]; + return result * (order == 'desc' ? -1 : 1); + } } - return result; + // 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; } /** - * 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 + * Creates an array that is the composition of partially applied arguments, + * placeholders, and provided arguments into a single array of arguments. * - * _.head([]); - * // => undefined + * @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 head(array) { - return (array && array.length) ? array[0] : undefined; + 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; } /** - * 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`. + * This function is like `composeArgs` except that the arguments composition + * is tailored for `_.partialRight`. * - * @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 + * @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`. * - * _.indexOf([1, 2, 1, 2], 2); - * // => 1 + * @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`. * - * // Search from the `fromIndex`. - * _.indexOf([1, 2, 1, 2], 2, 2); - * // => 3 + * @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 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); + 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 baseIndexOf(array, value, index); + return object; } /** - * 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 + * Copies own symbols of `source` to `object`. * - * _.initial([1, 2, 3]); - * // => [1, 2] + * @private + * @param {Object} source The object to copy symbols from. + * @param {Object} [object={}] The object to copy symbols to. + * @returns {Object} Returns `object`. */ - function initial(array) { - var length = array == null ? 0 : array.length; - return length ? baseSlice(array, 0, -1) : []; + function copySymbols(source, object) { + return copyObject(source, getSymbols(source), object); } /** - * 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 + * Copies own and inherited symbols of `source` to `object`. * - * _.intersection([2, 1], [2, 3]); - * // => [2] + * @private + * @param {Object} source The object to copy symbols from. + * @param {Object} [object={}] The object to copy symbols to. + * @returns {Object} Returns `object`. */ - var intersection = baseRest(function(arrays) { - var mapped = arrayMap(arrays, castArrayLikeObject); - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped) - : []; - }); + function copySymbolsIn(source, object) { + return copyObject(source, getSymbolsIn(source), object); + } /** - * 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] + * Creates a function like `_.groupBy`. * - * // The `_.property` iteratee shorthand. - * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }] + * @private + * @param {Function} setter The function to set accumulator values. + * @param {Function} [initializer] The accumulator object initializer. + * @returns {Function} Returns the new aggregator function. */ - var intersectionBy = baseRest(function(arrays) { - var iteratee = last(arrays), - mapped = arrayMap(arrays, castArrayLikeObject); + function createAggregator(setter, initializer) { + return function(collection, iteratee) { + var func = isArray(collection) ? arrayAggregator : baseAggregator, + accumulator = initializer ? initializer() : {}; - if (iteratee === last(mapped)) { - iteratee = undefined; - } else { - mapped.pop(); - } - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped, getIteratee(iteratee, 2)) - : []; - }); + return func(collection, setter, getIteratee(iteratee, 2), accumulator); + }; + } /** - * 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 }]; + * Creates a function like `_.assign`. * - * _.intersectionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }] + * @private + * @param {Function} assigner The function to assign values. + * @returns {Function} Returns the new assigner function. */ - var intersectionWith = baseRest(function(arrays) { - var comparator = last(arrays), - mapped = arrayMap(arrays, castArrayLikeObject); + 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; - comparator = typeof comparator == 'function' ? comparator : undefined; - if (comparator) { - mapped.pop(); - } - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped, undefined, comparator) - : []; - }); + 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; + }); + } /** - * 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 + * Creates a `baseEach` or `baseEachRight` function. * - * _.join(['a', 'b', 'c'], '~'); - * // => 'a~b~c' + * @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 join(array, separator) { - return array == null ? '' : nativeJoin.call(array, separator); + 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; + }; } /** - * 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 + * Creates a base function for methods like `_.forIn` and `_.forOwn`. * - * _.last([1, 2, 3]); - * // => 3 + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new base function. */ - function last(array) { - var length = array == null ? 0 : array.length; - return length ? array[length - 1] : undefined; + 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; + }; } /** - * 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 + * Creates a function that wraps `func` to invoke it with the optional `this` + * binding of `thisArg`. * - * // Search from the `fromIndex`. - * _.lastIndexOf([1, 2, 1, 2], 2, 2); - * // => 1 + * @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 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); + 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 value === value - ? strictLastIndexOf(array, value, index) - : baseFindIndex(array, baseIsNaN, index, true); + return wrapper; } /** - * 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' + * Creates a function like `_.lowerFirst`. * - * _.nth(array, -2); - * // => 'c'; + * @private + * @param {string} methodName The name of the `String` case method to use. + * @returns {Function} Returns the new case function. */ - function nth(array, n) { - return (array && array.length) ? baseNth(array, toInteger(n)) : undefined; + 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; + }; } /** - * 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']; + * Creates a function like `_.camelCase`. * - * _.pull(array, 'a', 'c'); - * console.log(array); - * // => ['b', 'b'] + * @private + * @param {Function} callback The function to combine each word. + * @returns {Function} Returns the new compounder function. */ - var pull = baseRest(pullAll); + function createCompounder(callback) { + return function(string) { + return arrayReduce(words(deburr(string).replace(reApos, '')), callback, ''); + }; + } /** - * 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']; + * 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`. * - * _.pullAll(array, ['a', 'c']); - * console.log(array); - * // => ['b', 'b'] + * @private + * @param {Function} Ctor The constructor to wrap. + * @returns {Function} Returns the new wrapped function. */ - function pullAll(array, values) { - return (array && array.length && values && values.length) - ? basePullAll(array, values) - : array; + 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; + }; } /** - * 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 }]; + * Creates a function that wraps `func` to enable currying. * - * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); - * console.log(array); - * // => [{ 'x': 2 }] + * @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 pullAllBy(array, values, iteratee) { - return (array && array.length && values && values.length) - ? basePullAll(array, values, getIteratee(iteratee, 2)) - : array; + 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; } /** - * 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 }]; + * Creates a `_.find` or `_.findLast` function. * - * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual); - * console.log(array); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }] + * @private + * @param {Function} findIndexFunc The function to find the collection index. + * @returns {Function} Returns the new find function. */ - function pullAllWith(array, values, comparator) { - return (array && array.length && values && values.length) - ? basePullAll(array, values, undefined, comparator) - : array; + 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; + }; } /** - * 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'] + * Creates a `_.flow` or `_.flowRight` function. * - * console.log(pulled); - * // => ['b', 'd'] + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new flow function. */ - var pullAt = flatRest(function(array, indexes) { - var length = array == null ? 0 : array.length, - result = baseAt(array, indexes); + function createFlow(fromRight) { + return flatRest(function(funcs) { + var length = funcs.length, + index = length, + prereq = LodashWrapper.prototype.thru; - basePullAt(array, arrayMap(indexes, function(index) { - return isIndex(index, length) ? +index : index; - }).sort(compareAscending)); + 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]; - return result; - }); + 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; + }; + }); + } /** - * 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] + * Creates a function that wraps `func` to invoke it with optional `this` + * binding of `thisArg`, partial application, and currying. * - * console.log(evens); - * // => [2, 4] + * @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 remove(array, predicate) { - var result = []; - if (!(array && array.length)) { - return result; - } - var index = -1, - indexes = [], - length = array.length; + 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); - predicate = getIteratee(predicate, 3); - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result.push(value); - indexes.push(index); + 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); } - basePullAt(array, indexes); - return result; + return wrapper; } /** - * 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] + * Creates a function like `_.invertBy`. * - * console.log(array); - * // => [3, 2, 1] + * @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 reverse(array) { - return array == null ? array : nativeReverse.call(array); + function createInverter(setter, toIteratee) { + return function(object, iteratee) { + return baseInverter(object, setter, toIteratee(iteratee), {}); + }; } /** - * 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. + * Creates a function that performs a mathematical operation on two values. * - * @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`. + * @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 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); + 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; + }; } /** - * 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 + * Creates a function like `_.over`. * - * _.sortedIndex([30, 50], 40); - * // => 1 + * @private + * @param {Function} arrayFunc The function to iterate over iteratees. + * @returns {Function} Returns the new over function. */ - function sortedIndex(array, value) { - return baseSortedIndex(array, value); + 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); + }); + }); + }); } /** - * 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 + * Creates the padding for `string` based on `length`. The `chars` string + * is truncated if the number of characters exceeds `length`. * - * // The `_.property` iteratee shorthand. - * _.sortedIndexBy(objects, { 'x': 4 }, 'x'); - * // => 0 + * @private + * @param {number} length The padding length. + * @param {string} [chars=' '] The string used as padding. + * @returns {string} Returns the padding for `string`. */ - function sortedIndexBy(array, value, iteratee) { - return baseSortedIndexBy(array, value, getIteratee(iteratee, 2)); + 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); } /** - * 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 + * Creates a function that wraps `func` to invoke it with the `this` binding + * of `thisArg` and `partials` prepended to the arguments it receives. * - * _.sortedIndexOf([4, 5, 5, 5, 6], 5); - * // => 1 + * @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 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; + 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 -1; + return wrapper; } /** - * 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 + * Creates a `_.range` or `_.rangeRight` function. * - * _.sortedLastIndex([4, 5, 5, 5, 6], 5); - * // => 4 + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new range function. */ - function sortedLastIndex(array, value) { - return baseSortedIndex(array, value, true); + 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); + }; } /** - * 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 }]; + * Creates a function that performs a relational operation on two values. * - * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); - * // => 1 + * @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. * - * // The `_.property` iteratee shorthand. - * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x'); - * // => 1 + * @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 sortedLastIndexBy(array, value, iteratee) { - return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true); + 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); } /** - * 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 + * Creates a function like `_.round`. * - * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5); - * // => 3 + * @private + * @param {string} methodName The name of the `Math` method to use when rounding. + * @returns {Function} Returns the new round function. */ - 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; + 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 -1; + return func(number); + }; } /** - * 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 + * Creates a set object of `values`. * - * _.sortedUniq([1, 1, 2]); - * // => [1, 2] + * @private + * @param {Array} values The values to add to the set. + * @returns {Object} Returns the new set. */ - function sortedUniq(array) { - return (array && array.length) - ? baseSortedUniq(array) - : []; - } + var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) { + return new Set(values); + }; /** - * 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 + * Creates a `_.toPairs` or `_.toPairsIn` function. * - * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); - * // => [1.1, 2.3] + * @private + * @param {Function} keysFunc The function to get the keys of a given object. + * @returns {Function} Returns the new pairs function. */ - function sortedUniqBy(array, iteratee) { - return (array && array.length) - ? baseSortedUniq(array, getIteratee(iteratee, 2)) - : []; + 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)); + }; } /** - * 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 + * Creates a function that either curries or invokes `func` with optional + * `this` binding and partially applied arguments. * - * _.tail([1, 2, 3]); - * // => [2, 3] + * @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 tail(array) { - var length = array == null ? 0 : array.length; - return length ? baseSlice(array, 1, length) : []; - } + 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; - /** - * 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 []; + if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) { + var partialsRight = partials, + holdersRight = holders; + + partials = holders = undefined; } - n = (guard || n === undefined) ? 1 : toInteger(n); - return baseSlice(array, 0, n < 0 ? 0 : n); + 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); } /** - * 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] + * 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`. * - * _.takeRight([1, 2, 3], 0); - * // => [] + * @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 takeRight(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; + function customDefaultsAssignIn(objValue, srcValue, key, object) { + if (objValue === undefined || + (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) { + return srcValue; } - n = (guard || n === undefined) ? 1 : toInteger(n); - n = length - n; - return baseSlice(array, n < 0 ? 0 : n, length); + return objValue; } /** - * 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'] + * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source + * objects into destination objects that are passed thru. * - * // The `_.property` iteratee shorthand. - * _.takeRightWhile(users, 'active'); - * // => [] + * @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 takeRightWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), false, true) - : []; + 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; } /** - * 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'] + * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain + * objects. * - * // The `_.property` iteratee shorthand. - * _.takeWhile(users, 'active'); - * // => [] + * @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 takeWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3)) - : []; + function customOmitClone(value) { + return isPlainObject(value) ? undefined : value; } /** - * 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 + * A specialized version of `baseIsEqualDeep` for arrays with support for + * partial deep comparisons. * - * _.union([2], [1, 2]); - * // => [2, 1] + * @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`. */ - var union = baseRest(function(arrays) { - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true)); - }); + function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { + var isPartial = bitmask & COMPARE_PARTIAL_FLAG, + arrLength = array.length, + othLength = other.length; - /** - * 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; + if (arrLength != othLength && !(isPartial && othLength > arrLength)) { + return false; } - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)); - }); + // 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; - /** - * 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); - }); + stack.set(array, other); + stack.set(other, array); - /** - * 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) : []; + // 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; } /** - * 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 + * A specialized version of `baseIsEqualDeep` for comparing objects of + * the same `toStringTag`. * - * _.uniqBy([2.1, 1.2, 2.3], Math.floor); - * // => [2.1, 1.2] + * **Note:** This function only supports comparing values with tags of + * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. * - * // The `_.property` iteratee shorthand. - * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] + * @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 uniqBy(array, iteratee) { - return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : []; - } + 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; - /** - * 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) : []; + 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; } /** - * 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]] + * A specialized version of `baseIsEqualDeep` for objects with support for + * partial deep comparisons. * - * _.unzip(zipped); - * // => [['a', 'b'], [1, 2], [true, false]] + * @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 unzip(array) { - if (!(array && array.length)) { - return []; + 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 length = 0; - array = arrayFilter(array, function(group) { - if (isArrayLikeObject(group)) { - length = nativeMax(group.length, length); - return true; + var index = objLength; + while (index--) { + var key = objProps[index]; + if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { + return false; } - }); - return baseTimes(length, function(index) { - return arrayMap(array, baseProperty(index)); - }); - } + } + // 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); - /** - * 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 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'); } - var result = unzip(array); - if (iteratee == null) { - return result; + 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; + } } - return arrayMap(result, function(group) { - return apply(iteratee, undefined, group); - }); + stack['delete'](object); + stack['delete'](other); + return result; } /** - * 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 + * A specialized version of `baseRest` which flattens the rest array. * - * _.without([2, 1, 2, 3], 1, 2); - * // => [3] + * @private + * @param {Function} func The function to apply a rest parameter to. + * @returns {Function} Returns the new function. */ - var without = baseRest(function(array, values) { - return isArrayLikeObject(array) - ? baseDifference(array, values) - : []; - }); + function flatRest(func) { + return setToString(overRest(func, undefined, flatten), func + ''); + } /** - * 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 + * Creates an array of own enumerable property names and symbols of `object`. * - * _.xor([2, 1], [2, 3]); - * // => [1, 3] + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names and symbols. */ - var xor = baseRest(function(arrays) { - return baseXor(arrayFilter(arrays, isArrayLikeObject)); - }); + function getAllKeys(object) { + return baseGetAllKeys(object, keys, getSymbols); + } /** - * 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] + * Creates an array of own and inherited enumerable property names and + * symbols of `object`. * - * // The `_.property` iteratee shorthand. - * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names and symbols. */ - var xorBy = baseRest(function(arrays) { - var iteratee = last(arrays); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; - } - return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2)); - }); + function getAllKeysIn(object) { + return baseGetAllKeys(object, keysIn, getSymbolsIn); + } /** - * 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 }]; + * Gets metadata for `func`. * - * _.xorWith(objects, others, _.isEqual); - * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] + * @private + * @param {Function} func The function to query. + * @returns {*} Returns the metadata for `func`. */ - var xorWith = baseRest(function(arrays) { - var comparator = last(arrays); - comparator = typeof comparator == 'function' ? comparator : undefined; - return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator); - }); + var getData = !metaMap ? noop : function(func) { + return metaMap.get(func); + }; /** - * 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 + * Gets the name of `func`. * - * _.zip(['a', 'b'], [1, 2], [true, false]); - * // => [['a', 1, true], ['b', 2, false]] + * @private + * @param {Function} func The function to query. + * @returns {string} Returns the function name. */ - var zip = baseRest(unzip); + function getFuncName(func) { + var result = (func.name + ''), + array = realNames[result], + length = hasOwnProperty.call(realNames, result) ? array.length : 0; - /** - * 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); + while (length--) { + var data = array[length], + otherFunc = data.func; + if (otherFunc == null || otherFunc == func) { + return data.name; + } + } + return result; } /** - * 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 + * Gets the argument placeholder value for `func`. * - * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]); - * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } } + * @private + * @param {Function} func The function to inspect. + * @returns {*} Returns the placeholder value. */ - function zipObjectDeep(props, values) { - return baseZipObject(props || [], values || [], baseSet); + function getHolder(func) { + var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func; + return object.placeholder; } /** - * 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 + * 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. * - * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) { - * return a + b + c; - * }); - * // => [111, 222] + * @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. */ - 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); - }); - - /*------------------------------------------------------------------------*/ + function getIteratee() { + var result = lodash.iteratee || iteratee; + result = result === iteratee ? baseIteratee : result; + return arguments.length ? result(arguments[0], arguments[1]) : result; + } /** - * 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 } - * ]; + * Gets the data for `map`. * - * var youngest = _ - * .chain(users) - * .sortBy('age') - * .map(function(o) { - * return o.user + ' is ' + o.age; - * }) - * .head() - * .value(); - * // => 'pebbles is 1' + * @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 chain(value) { - var result = lodash(value); - result.__chain__ = true; + 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; } /** - * 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 + * Gets the native function at `key` of `object`. * - * _([1, 2, 3]) - * .tap(function(array) { - * // Mutate input array. - * array.pop(); - * }) - * .reverse() - * .value(); - * // => [2, 1] + * @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 tap(value, interceptor) { - interceptor(value); - return value; + function getNative(object, key) { + var value = getValue(object, key); + return baseIsNative(value) ? value : undefined; } /** - * 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 + * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. * - * _(' abc ') - * .chain() - * .trim() - * .thru(function(value) { - * return [value]; - * }) - * .value(); - * // => ['abc'] + * @private + * @param {*} value The value to query. + * @returns {string} Returns the raw `toStringTag`. */ - function thru(value, interceptor) { - return interceptor(value); + 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; } /** - * 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] }; + * Creates an array of the own enumerable symbols of `object`. * - * _(object).at(['a[0].b.c', 'a[1]']).value(); - * // => [3, 4] + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of symbols. */ - 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); + var getSymbols = !nativeGetSymbols ? stubArray : function(object) { + if (object == null) { + return []; } - 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; + object = Object(object); + return arrayFilter(nativeGetSymbols(object), function(symbol) { + return propertyIsEnumerable.call(object, symbol); }); - }); + }; /** - * 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 } + * Creates an array of the own and inherited enumerable symbols of `object`. * - * // A sequence with explicit chaining. - * _(users) - * .chain() - * .head() - * .pick('user') - * .value(); - * // => { 'user': 'barney' } + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of symbols. */ - function wrapperChain() { - return chain(this); - } + var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) { + var result = []; + while (object) { + arrayPush(result, getSymbols(object)); + object = getPrototype(object); + } + return result; + }; /** - * 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 + * Gets the `toStringTag` of `value`. * - * console.log(array); - * // => [1, 2, 3] + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. */ - function wrapperCommit() { - return new LodashWrapper(this.value(), this.__chain__); + 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 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 } + * Gets the view, applying any `transforms` to the `start` and `end` positions. * - * wrapped.next(); - * // => { 'done': true, 'value': undefined } + * @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 wrapperNext() { - if (this.__values__ === undefined) { - this.__values__ = toArray(this.value()); - } - var done = this.__index__ >= this.__values__.length, - value = done ? undefined : this.__values__[this.__index__++]; + function getView(start, end, transforms) { + var index = -1, + length = transforms.length; - return { 'done': done, 'value': value }; + 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 }; } /** - * 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 + * Extracts wrapper details from the `source` body comment. * - * Array.from(wrapped); - * // => [1, 2] + * @private + * @param {string} source The source to inspect. + * @returns {Array} Returns the wrapper details. */ - function wrapperToIterator() { - return this; + function getWrapDetails(source) { + var match = source.match(reWrapDetails); + return match ? match[1].split(reSplitDetails) : []; } /** - * 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] + * Checks if `path` exists on `object`. * - * wrapped.value(); - * // => [1, 4] + * @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 wrapperPlant(value) { - var result, - parent = this; + function hasPath(object, path, hasFunc) { + path = castPath(path, object); - while (parent instanceof baseLodash) { - var clone = wrapperClone(parent); - clone.__index__ = 0; - clone.__values__ = undefined; - if (result) { - previous.__wrapped__ = clone; - } else { - result = clone; + var index = -1, + length = path.length, + result = false; + + while (++index < length) { + var key = toKey(path[index]); + if (!(result = object != null && hasFunc(object, key))) { + break; } - var previous = clone; - parent = parent.__wrapped__; + object = object[key]; } - previous.__wrapped__ = value; - return result; + if (result || ++index != length) { + return result; + } + length = object == null ? 0 : object.length; + return !!length && isLength(length) && isIndex(key, length) && + (isArray(object) || isArguments(object)); } /** - * This method is the wrapper version of `_.reverse`. - * - * **Note:** This method mutates the wrapped array. + * Initializes an array clone. * - * @name reverse - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example + * @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. * - * var array = [1, 2, 3]; + * @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`. * - * _(array).reverse().value() - * // => [3, 2, 1] + * **Note:** This function only supports cloning values with tags of + * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`. * - * console.log(array); - * // => [3, 2, 1] + * @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 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__); + 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); } - 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 + * Inserts wrapper `details` in a comment at the top of the `source` body. * - * _([1, 2, 3]).value(); - * // => [1, 2, 3] + * @private + * @param {string} source The source to modify. + * @returns {Array} details The details to insert. + * @returns {string} Returns the modified source. */ - function wrapperValue() { - return baseWrapperValue(this.__wrapped__, this.__actions__); + 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'); } - /*------------------------------------------------------------------------*/ - /** - * 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 } + * Checks if `value` is a flattenable `arguments` object or array. * - * // The `_.property` iteratee shorthand. - * _.countBy(['one', 'two', 'three'], 'length'); - * // => { '3': 2, '5': 1 } + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. */ - var countBy = createAggregator(function(result, value, key) { - if (hasOwnProperty.call(result, key)) { - ++result[key]; - } else { - baseAssignValue(result, key, 1); - } - }); + function isFlattenable(value) { + return isArray(value) || isArguments(value) || + !!(spreadableSymbol && value && value[spreadableSymbol]); + } /** - * 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). + * Checks if `value` is a valid array-like index. * - * **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. + * @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. * - * @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, + * @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`. - * @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; + function isIterateeCall(value, index, object) { + if (!isObject(object)) { + return false; } - return func(collection, getIteratee(predicate, 3)); + 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; } /** - * 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'] + * Checks if `value` is a property name and not a property path. * - * // Combining several predicates using `_.overEvery` or `_.overSome`. - * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]])); - * // => objects for ['fred', 'barney'] + * @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 filter(collection, predicate) { - var func = isArray(collection) ? arrayFilter : baseFilter; - return func(collection, getIteratee(predicate, 3)); + 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)); } /** - * 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' + * Checks if `value` is suitable for use as unique object key. * - * // The `_.property` iteratee shorthand. - * _.find(users, 'active'); - * // => object for 'barney' + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is suitable, else `false`. */ - var find = createFind(findIndex); + function isKeyable(value) { + var type = typeof value; + return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') + ? (value !== '__proto__') + : (value === null); + } /** - * 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 + * Checks if `func` has a lazy counterpart. * - * _.findLast([1, 2, 3, 4], function(n) { - * return n % 2 == 1; - * }); - * // => 3 + * @private + * @param {Function} func The function to check. + * @returns {boolean} Returns `true` if `func` has a lazy counterpart, + * else `false`. */ - var findLast = createFind(findLastIndex); + 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]; + } /** - * 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]; - * } + * Checks if `func` has its source masked. * - * _.flatMap([1, 2], duplicate); - * // => [1, 1, 2, 2] + * @private + * @param {Function} func The function to check. + * @returns {boolean} Returns `true` if `func` is masked, else `false`. */ - function flatMap(collection, iteratee) { - return baseFlatten(map(collection, iteratee), 1); + function isMasked(func) { + return !!maskSrcKey && (maskSrcKey in func); } /** - * 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 + * Checks if `func` is capable of being masked. * - * function duplicate(n) { - * return [[[n, n]]]; - * } + * @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. * - * _.flatMapDeep([1, 2], duplicate); - * // => [1, 1, 2, 2] + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. */ - function flatMapDeep(collection, iteratee) { - return baseFlatten(map(collection, iteratee), INFINITY); + function isPrototype(value) { + var Ctor = value && value.constructor, + proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; + + return value === proto; } /** - * 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]]]; - * } + * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. * - * _.flatMapDepth([1, 2], duplicate, 2); - * // => [[1, 1], [2, 2]] + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` if suitable for strict + * equality comparisons, else `false`. */ - function flatMapDepth(collection, iteratee, depth) { - depth = depth === undefined ? 1 : toInteger(depth); - return baseFlatten(map(collection, iteratee), depth); + function isStrictComparable(value) { + return value === value && !isObject(value); } /** - * 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`. + * A specialized version of `matchesProperty` for source values suitable + * for strict equality comparisons, i.e. `===`. * - * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a' then 'b' (iteration order is not guaranteed). + * @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 forEach(collection, iteratee) { - var func = isArray(collection) ? arrayEach : baseEach; - return func(collection, getIteratee(iteratee, 3)); + function matchesStrictComparable(key, srcValue) { + return function(object) { + if (object == null) { + return false; + } + return object[key] === srcValue && + (srcValue !== undefined || (key in Object(object))); + }; } /** - * 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 + * A specialized version of `_.memoize` which clears the memoized function's + * cache when it exceeds `MAX_MEMOIZE_SIZE`. * - * _.forEachRight([1, 2], function(value) { - * console.log(value); - * }); - * // => Logs `2` then `1`. + * @private + * @param {Function} func The function to have its output memoized. + * @returns {Function} Returns the new memoized function. */ - function forEachRight(collection, iteratee) { - var func = isArray(collection) ? arrayEachRight : baseEachRight; - return func(collection, getIteratee(iteratee, 3)); + 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; } /** - * 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 + * Merges the function metadata of `source` into `data`. * - * _.groupBy([6.1, 4.2, 6.3], Math.floor); - * // => { '4': [4.2], '6': [6.1, 6.3] } + * 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. * - * // The `_.property` iteratee shorthand. - * _.groupBy(['one', 'two', 'three'], 'length'); - * // => { '3': ['one', 'two'], '5': ['three'] } + * @private + * @param {Array} data The destination metadata. + * @param {Array} source The source metadata. + * @returns {Array} Returns `data`. */ - var groupBy = createAggregator(function(result, value, key) { - if (hasOwnProperty.call(result, key)) { - result[key].push(value); - } else { - baseAssignValue(result, key, [value]); + 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; - /** - * 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 + 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. * - * _.includes('abcd', 'bc'); - * // => true + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. */ - 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); + function nativeKeysIn(object) { + var result = []; + if (object != null) { + for (var key in Object(object)) { + result.push(key); + } } - return isString(collection) - ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1) - : (!!length && baseIndexOf(collection, value, fromIndex) > -1); + return result; } /** - * 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 + * Converts `value` to a string using `Object.prototype.toString`. * - * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort'); - * // => [[1, 5, 7], [1, 2, 3]] + * @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. * - * _.invokeMap([123, 456], String.prototype.split, ''); - * // => [['1', '2', '3'], ['4', '5', '6']] + * @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. */ - var invokeMap = baseRest(function(collection, path, args) { - var index = -1, - isFunc = typeof path == 'function', - result = isArrayLike(collection) ? Array(collection.length) : []; + 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); - baseEach(collection, function(value) { - result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args); - }); - return result; - }); + 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); + }; + } /** - * 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 } } + * Gets the parent value at `path` of `object`. * - * _.keyBy(array, 'dir'); - * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } } + * @private + * @param {Object} object The object to query. + * @param {Array} path The path to get the parent value of. + * @returns {*} Returns the parent value. */ - var keyBy = createAggregator(function(result, value, key) { - baseAssignValue(result, key, value); - }); + function parent(object, path) { + return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1)); + } /** - * 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' } - * ]; + * 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. * - * // The `_.property` iteratee shorthand. - * _.map(users, 'user'); - * // => ['barney', 'fred'] + * @private + * @param {Array} array The array to reorder. + * @param {Array} indexes The arranged array indexes. + * @returns {Array} Returns `array`. */ - function map(collection, iteratee) { - var func = isArray(collection) ? arrayMap : baseMap; - return func(collection, getIteratee(iteratee, 3)); + 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; } /** - * 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 } - * ]; + * Gets the value at `key`, unless `key` is "__proto__" or "constructor". * - * // 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]] + * @private + * @param {Object} object The object to query. + * @param {string} key The key of the property to get. + * @returns {*} Returns the property value. */ - function orderBy(collection, iteratees, orders, guard) { - if (collection == null) { - return []; - } - if (!isArray(iteratees)) { - iteratees = iteratees == null ? [] : [iteratees]; + function safeGet(object, key) { + if (key === 'constructor' && typeof object[key] === 'function') { + return; } - orders = guard ? undefined : orders; - if (!isArray(orders)) { - orders = orders == null ? [] : [orders]; + + if (key == '__proto__') { + return; } - return baseOrderBy(collection, iteratees, orders); + + return object[key]; } /** - * 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']] + * Sets metadata for `func`. * - * // The `_.matchesProperty` iteratee shorthand. - * _.partition(users, ['active', false]); - * // => objects for [['barney', 'pebbles'], ['fred']] + * **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. * - * // The `_.property` iteratee shorthand. - * _.partition(users, 'active'); - * // => objects for [['fred'], ['barney', 'pebbles']] + * @private + * @param {Function} func The function to associate metadata with. + * @param {*} data The metadata. + * @returns {Function} Returns `func`. */ - var partition = createAggregator(function(result, value, key) { - result[key ? 0 : 1].push(value); - }, function() { return [[], []]; }); + var setData = shortOut(baseSetData); /** - * 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 + * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout). * - * _.reduce([1, 2], function(sum, n) { - * return sum + n; - * }, 0); - * // => 3 + * @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`. * - * _.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) + * @private + * @param {Function} func The function to modify. + * @param {Function} string The `toString` result. + * @returns {Function} Returns `func`. */ - function reduce(collection, iteratee, accumulator) { - var func = isArray(collection) ? arrayReduce : baseReduce, - initAccum = arguments.length < 3; + var setToString = shortOut(baseSetToString); - return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach); + /** + * 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))); } /** - * 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]]; + * 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. * - * _.reduceRight(array, function(flattened, other) { - * return flattened.concat(other); - * }, []); - * // => [4, 5, 2, 3, 0, 1] + * @private + * @param {Function} func The function to restrict. + * @returns {Function} Returns the new shortable function. */ - function reduceRight(collection, iteratee, accumulator) { - var func = isArray(collection) ? arrayReduceRight : baseReduce, - initAccum = arguments.length < 3; + function shortOut(func) { + var count = 0, + lastCalled = 0; - return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight); + 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); + }; } /** - * 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'] + * A specialized version of `_.shuffle` which mutates and sets the size of `array`. * - * // The `_.property` iteratee shorthand. - * _.reject(users, 'active'); - * // => objects for ['barney'] + * @private + * @param {Array} array The array to shuffle. + * @param {number} [size=array.length] The size of `array`. + * @returns {Array} Returns `array`. */ - function reject(collection, predicate) { - var func = isArray(collection) ? arrayFilter : baseFilter; - return func(collection, negate(getIteratee(predicate, 3))); + 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; } /** - * Gets a random element from `collection`. + * Converts `string` to a property path array. * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Collection - * @param {Array|Object} collection The collection to sample. - * @returns {*} Returns the random element. - * @example + * @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. * - * _.sample([1, 2, 3, 4]); - * // => 2 + * @private + * @param {*} value The value to inspect. + * @returns {string|symbol} Returns the key. */ - function sample(collection) { - var func = isArray(collection) ? arraySample : baseSample; - return func(collection); + function toKey(value) { + if (typeof value == 'string' || isSymbol(value)) { + return value; + } + var result = (value + ''); + return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; } /** - * 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] + * Converts `func` to its source code. * - * _.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); + * @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) {} } - var func = isArray(collection) ? arraySampleSize : baseSampleSize; - return func(collection, n); + return ''; } /** - * Creates an array of shuffled values, using a version of the - * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle). + * Updates wrapper `details` based on `bitmask` flags. * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to shuffle. - * @returns {Array} Returns the new shuffled array. - * @example + * @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`. * - * _.shuffle([1, 2, 3, 4]); - * // => [4, 1, 3, 2] + * @private + * @param {Object} wrapper The wrapper to clone. + * @returns {Object} Returns the cloned wrapper. */ - function shuffle(collection) { - var func = isArray(collection) ? arrayShuffle : baseShuffle; - return func(collection); + 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; } + /*------------------------------------------------------------------------*/ + /** - * Gets the size of `collection` by returning its length for array-like - * values or the number of own enumerable string keyed properties for objects. + * 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 0.1.0 - * @category Collection - * @param {Array|Object|string} collection The collection to inspect. - * @returns {number} Returns the collection size. + * @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 * - * _.size([1, 2, 3]); - * // => 3 - * - * _.size({ 'a': 1, 'b': 2 }); - * // => 2 + * _.chunk(['a', 'b', 'c', 'd'], 2); + * // => [['a', 'b'], ['c', 'd']] * - * _.size('pebbles'); - * // => 7 + * _.chunk(['a', 'b', 'c', 'd'], 3); + * // => [['a', 'b', 'c'], ['d']] */ - function size(collection) { - if (collection == null) { - return 0; + function chunk(array, size, guard) { + if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) { + size = 1; + } else { + size = nativeMax(toInteger(size), 0); } - if (isArrayLike(collection)) { - return isString(collection) ? stringSize(collection) : collection.length; + var length = array == null ? 0 : array.length; + if (!length || size < 1) { + return []; } - var tag = getTag(collection); - if (tag == mapTag || tag == setTag) { - return collection.size; + var index = 0, + resIndex = 0, + result = Array(nativeCeil(length / size)); + + while (index < length) { + result[resIndex++] = baseSlice(array, index, (index += size)); } - return baseKeys(collection).length; + return result; } /** - * 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). + * Creates an array with all falsey values removed. The values `false`, `null`, + * `0`, `-0`, `0n`, `""`, `undefined`, and `NaN` are falsy. * * @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`. + * @category Array + * @param {Array} array The array to compact. + * @returns {Array} Returns the new array of filtered values. * @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 + * _.compact([0, 1, false, 2, '', 3]); + * // => [1, 2, 3] */ - function some(collection, predicate, guard) { - var func = isArray(collection) ? arraySome : baseSome; - if (guard && isIterateeCall(collection, predicate, guard)) { - predicate = undefined; + 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 func(collection, getIteratee(predicate, 3)); + return result; } /** - * 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). + * Creates a new array concatenating `array` with any additional arrays + * and/or values. * * @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. + * @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 users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 30 }, - * { 'user': 'barney', 'age': 34 } - * ]; + * var array = [1]; + * var other = _.concat(array, 2, [3], [[4]]); * - * _.sortBy(users, [function(o) { return o.user; }]); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]] + * console.log(other); + * // => [1, 2, 3, [4]] * - * _.sortBy(users, ['user', 'age']); - * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]] + * console.log(array); + * // => [1] */ - var sortBy = baseRest(function(collection, iteratees) { - if (collection == null) { + function concat() { + var length = arguments.length; + if (!length) { 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), []); - }); + 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)); + } /** - * Gets the timestamp of the number of milliseconds that have elapsed since - * the Unix epoch (1 January 1970 00:00:00 UTC). + * 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 2.4.0 - * @category Date - * @returns {number} Returns the timestamp. + * @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 * - * _.defer(function(stamp) { - * console.log(_.now() - stamp); - * }, _.now()); - * // => Logs the number of milliseconds it took for the deferred invocation. + * _.difference([2, 1], [2, 3]); + * // => [1] */ - var now = ctxNow || function() { - return root.Date.now(); - }; - - /*------------------------------------------------------------------------*/ + var difference = baseRest(function(array, values) { + return isArrayLikeObject(array) + ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true)) + : []; + }); /** - * The opposite of `_.before`; this method creates a function that invokes - * `func` once it's called `n` or more times. + * 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 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. + * @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 * - * var saves = ['profile', 'settings']; - * - * var done = _.after(saves.length, function() { - * console.log('done saving!'); - * }); + * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor); + * // => [1.2] * - * _.forEach(saves, function(type) { - * asyncSave({ 'type': type, 'complete': done }); - * }); - * // => Logs 'done saving!' after the two async saves have completed. + * // The `_.property` iteratee shorthand. + * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x'); + * // => [{ 'x': 2 }] */ - function after(n, func) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); + var differenceBy = baseRest(function(array, values) { + var iteratee = last(values); + if (isArrayLikeObject(iteratee)) { + iteratee = undefined; } - n = toInteger(n); - return function() { - if (--n < 1) { - return func.apply(this, arguments); - } - }; - } + return isArrayLikeObject(array) + ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)) + : []; + }); /** - * 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 + * 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). * - * _.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. + * **Note:** Unlike `_.pullAllWith`, this method returns a new array. * * @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. + * @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 * - * jQuery(element).on('click', _.before(5, addContactToList)); - * // => Allows adding up to 4 contacts to the list. + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * + * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual); + * // => [{ 'x': 2, 'y': 1 }] */ - function before(n, func) { - var result; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); + var differenceWith = baseRest(function(array, values) { + var comparator = last(values); + if (isArrayLikeObject(comparator)) { + comparator = undefined; } - n = toInteger(n); - return function() { - if (--n > 0) { - result = func.apply(this, arguments); - } - if (n <= 1) { - func = undefined; - } - return result; - }; - } + return isArrayLikeObject(array) + ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator) + : []; + }); /** - * 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. + * Creates a slice of `array` with `n` elements dropped from the beginning. * * @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. + * @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 * - * function greet(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * } + * _.drop([1, 2, 3]); + * // => [2, 3] * - * var object = { 'user': 'fred' }; + * _.drop([1, 2, 3], 2); + * // => [3] * - * var bound = _.bind(greet, object, 'hi'); - * bound('!'); - * // => 'hi fred!' + * _.drop([1, 2, 3], 5); + * // => [] * - * // Bound with placeholders. - * var bound = _.bind(greet, object, _, '!'); - * bound('hi'); - * // => 'hi fred!' + * _.drop([1, 2, 3], 0); + * // => [1, 2, 3] */ - 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; + function drop(array, n, guard) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; } - return createWrap(func, bitmask, thisArg, partials, holders); - }); + n = (guard || n === undefined) ? 1 : toInteger(n); + return baseSlice(array, n < 0 ? 0 : n, length); + } /** - * 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. + * Creates a slice of `array` with `n` elements dropped from the end. * * @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. + * @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 * - * var object = { - * 'user': 'fred', - * 'greet': function(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * } - * }; - * - * var bound = _.bindKey(object, 'greet', 'hi'); - * bound('!'); - * // => 'hi fred!' + * _.dropRight([1, 2, 3]); + * // => [1, 2] * - * object.greet = function(greeting, punctuation) { - * return greeting + 'ya ' + this.user + punctuation; - * }; + * _.dropRight([1, 2, 3], 2); + * // => [1] * - * bound('!'); - * // => 'hiya fred!' + * _.dropRight([1, 2, 3], 5); + * // => [] * - * // Bound with placeholders. - * var bound = _.bindKey(object, 'greet', _, '!'); - * bound('hi'); - * // => 'hiya fred!' + * _.dropRight([1, 2, 3], 0); + * // => [1, 2, 3] */ - 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; + function dropRight(array, n, guard) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; } - return createWrap(key, bitmask, object, partials, holders); - }); + n = (guard || n === undefined) ? 1 : toInteger(n); + n = length - n; + return baseSlice(array, 0, n < 0 ? 0 : n); + } /** - * 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 + * 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). * - * var abc = function(a, b, c) { - * return [a, b, c]; - * }; + * @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 curried = _.curry(abc); + * var users = [ + * { 'user': 'barney', 'active': true }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': false } + * ]; * - * curried(1)(2)(3); - * // => [1, 2, 3] + * _.dropRightWhile(users, function(o) { return !o.active; }); + * // => objects for ['barney'] * - * curried(1, 2)(3); - * // => [1, 2, 3] + * // The `_.matches` iteratee shorthand. + * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false }); + * // => objects for ['barney', 'fred'] * - * curried(1, 2, 3); - * // => [1, 2, 3] + * // The `_.matchesProperty` iteratee shorthand. + * _.dropRightWhile(users, ['active', false]); + * // => objects for ['barney'] * - * // Curried with placeholders. - * curried(1)(_, 3)(2); - * // => [1, 2, 3] + * // The `_.property` iteratee shorthand. + * _.dropRightWhile(users, 'active'); + * // => objects for ['barney', 'fred', 'pebbles'] */ - 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; + function dropRightWhile(array, predicate) { + return (array && array.length) + ? baseWhile(array, getIteratee(predicate, 3), true, true) + : []; } /** - * 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. + * 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 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. + * @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 abc = function(a, b, c) { - * return [a, b, c]; - * }; - * - * var curried = _.curryRight(abc); + * var users = [ + * { 'user': 'barney', 'active': false }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': true } + * ]; * - * curried(3)(2)(1); - * // => [1, 2, 3] + * _.dropWhile(users, function(o) { return !o.active; }); + * // => objects for ['pebbles'] * - * curried(2, 3)(1); - * // => [1, 2, 3] + * // The `_.matches` iteratee shorthand. + * _.dropWhile(users, { 'user': 'barney', 'active': false }); + * // => objects for ['fred', 'pebbles'] * - * curried(1, 2, 3); - * // => [1, 2, 3] + * // The `_.matchesProperty` iteratee shorthand. + * _.dropWhile(users, ['active', false]); + * // => objects for ['pebbles'] * - * // Curried with placeholders. - * curried(3)(1, _)(2); - * // => [1, 2, 3] + * // The `_.property` iteratee shorthand. + * _.dropWhile(users, 'active'); + * // => objects for ['barney', 'fred', 'pebbles'] */ - 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; + function dropWhile(array, predicate) { + return (array && array.length) + ? baseWhile(array, getIteratee(predicate, 3), true) + : []; } /** - * 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`. + * Fills elements of `array` with `value` from `start` up to, but not + * including, `end`. * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.debounce` and `_.throttle`. + * **Note:** This method mutates `array`. * * @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. + * @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 * - * // Avoid costly calculations while the window size is in flux. - * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); + * var array = [1, 2, 3]; * - * // Invoke `sendMail` when clicked, debouncing subsequent calls. - * jQuery(element).on('click', _.debounce(sendMail, 300, { - * 'leading': true, - * 'trailing': false - * })); + * _.fill(array, 'a'); + * console.log(array); + * // => ['a', 'a', 'a'] * - * // 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); + * _.fill(Array(3), 2); + * // => [2, 2, 2] * - * // Cancel the trailing debounced invocation. - * jQuery(window).on('popstate', debounced.cancel); + * _.fill([4, 6, 8, 10], '*', 1, 3); + * // => [4, '*', '*', 10] */ - 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 fill(array, value, start, end) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; } - - 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; + if (start && typeof start != 'number' && isIterateeCall(array, value, start)) { + start = 0; + end = length; } - debounced.cancel = cancel; - debounced.flush = flush; - return debounced; + return baseFill(array, value, start, end); } /** - * Defers invoking the `func` until the current call stack has cleared. Any - * additional arguments are provided to `func` when it's invoked. + * 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 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. + * @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 * - * _.defer(function(text) { - * console.log(text); - * }, 'deferred'); - * // => Logs 'deferred' after one millisecond. + * 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 */ - var defer = baseRest(function(func, args) { - return baseDelay(func, 1, args); - }); + 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); + } /** - * Invokes `func` after `wait` milliseconds. Any additional arguments are - * provided to `func` when it's invoked. + * This method is like `_.findIndex` except that it iterates over elements + * of `collection` from right to left. * * @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. + * @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 * - * _.delay(function(text) { - * console.log(text); - * }, 1000, 'later'); - * // => Logs 'later' after one second. + * 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 */ - var delay = baseRest(function(func, wait, args) { - return baseDelay(func, toNumber(wait) || 0, args); - }); + 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); + } /** - * Creates a function that invokes `func` with arguments reversed. + * Flattens `array` a single level deep. * * @static * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to flip arguments for. - * @returns {Function} Returns the new flipped function. + * @since 0.1.0 + * @category Array + * @param {Array} array The array to flatten. + * @returns {Array} Returns the new flattened array. * @example * - * var flipped = _.flip(function() { - * return _.toArray(arguments); - * }); - * - * flipped('a', 'b', 'c', 'd'); - * // => ['d', 'c', 'b', 'a'] + * _.flatten([1, [2, [3, [4]], 5]]); + * // => [1, 2, [3, [4]], 5] */ - function flip(func) { - return createWrap(func, WRAP_FLIP_FLAG); + function flatten(array) { + var length = array == null ? 0 : array.length; + return length ? baseFlatten(array, 1) : []; } /** - * 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`. + * Recursively flattens `array`. * * @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. + * @since 3.0.0 + * @category Array + * @param {Array} array The array to flatten. + * @returns {Array} Returns the new flattened array. * @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; + * _.flattenDeep([1, [2, [3, [4]], 5]]); + * // => [1, 2, 3, 4, 5] */ - 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; + function flattenDeep(array) { + var length = array == null ? 0 : array.length; + return length ? baseFlatten(array, INFINITY) : []; } - // 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. + * Recursively flatten `array` up to `depth` times. * * @static * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} predicate The predicate to negate. - * @returns {Function} Returns the new negated function. + * @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 * - * function isEven(n) { - * return n % 2 == 0; - * } + * var array = [1, [2, [3, [4]], 5]]; * - * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven)); - * // => [1, 3, 5] + * _.flattenDepth(array, 1); + * // => [1, 2, [3, [4]], 5] + * + * _.flattenDepth(array, 2); + * // => [1, 2, 3, [4], 5] */ - function negate(predicate) { - if (typeof predicate != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); + function flattenDepth(array, depth) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; } - 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); - }; + depth = depth === undefined ? 1 : toInteger(depth); + return baseFlatten(array, depth); } /** - * 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. + * The inverse of `_.toPairs`; this method returns an object composed + * from key-value `pairs`. * * @static * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. + * @since 4.0.0 + * @category Array + * @param {Array} pairs The key-value pairs. + * @returns {Object} Returns the new object. * @example * - * var initialize = _.once(createApplication); - * initialize(); - * initialize(); - * // => `createApplication` is invoked once + * _.fromPairs([['a', 1], ['b', 2]]); + * // => { 'a': 1, 'b': 2 } */ - function once(func) { - return before(2, func); + function fromPairs(pairs) { + var index = -1, + length = pairs == null ? 0 : pairs.length, + result = {}; + + while (++index < length) { + var pair = pairs[index]; + baseAssignValue(result, pair[0], pair[1]); + } + return result; } /** - * Creates a function that invokes `func` with its arguments transformed. + * Gets the first element of `array`. * * @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. + * @since 0.1.0 + * @alias first + * @category Array + * @param {Array} array The array to query. + * @returns {*} Returns the first element of `array`. * @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] + * _.head([1, 2, 3]); + * // => 1 * - * func(10, 5); - * // => [100, 10] + * _.head([]); + * // => undefined */ - 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); - }); - }); + function head(array) { + return (array && array.length) ? array[0] : undefined; + } /** - * 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. + * 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.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. + * @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 * - * function greet(greeting, name) { - * return greeting + ' ' + name; - * } - * - * var sayHelloTo = _.partial(greet, 'hello'); - * sayHelloTo('fred'); - * // => 'hello fred' + * _.indexOf([1, 2, 1, 2], 2); + * // => 1 * - * // Partially applied with placeholders. - * var greetFred = _.partial(greet, _, 'fred'); - * greetFred('hi'); - * // => 'hi fred' + * // Search from the `fromIndex`. + * _.indexOf([1, 2, 1, 2], 2, 2); + * // => 3 */ - var partial = baseRest(function(func, partials) { - var holders = replaceHolders(partials, getHolder(partial)); - return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders); - }); + 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); + } /** - * 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. + * Gets all but the last element of `array`. * * @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. + * @since 0.1.0 + * @category Array + * @param {Array} array The array to query. + * @returns {Array} Returns the slice of `array`. * @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' + * _.initial([1, 2, 3]); + * // => [1, 2] */ - var partialRight = baseRest(function(func, partials) { - var holders = replaceHolders(partials, getHolder(partialRight)); - return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders); - }); + function initial(array) { + var length = array == null ? 0 : array.length; + return length ? baseSlice(array, 0, -1) : []; + } /** - * 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. + * 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 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. + * @since 0.1.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @returns {Array} Returns the new array of intersecting values. * @example * - * var rearged = _.rearg(function(a, b, c) { - * return [a, b, c]; - * }, [2, 0, 1]); - * - * rearged('b', 'c', 'a') - * // => ['a', 'b', 'c'] + * _.intersection([2, 1], [2, 3]); + * // => [2] */ - var rearg = flatRest(function(func, indexes) { - return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes); + var intersection = baseRest(function(arrays) { + var mapped = arrayMap(arrays, castArrayLikeObject); + return (mapped.length && mapped[0] === arrays[0]) + ? baseIntersection(mapped) + : []; }); /** - * 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). + * 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 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. + * @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 * - * var say = _.rest(function(what, names) { - * return what + ' ' + _.initial(names).join(', ') + - * (_.size(names) > 1 ? ', & ' : '') + _.last(names); - * }); + * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor); + * // => [2.1] * - * say('hello', 'fred', 'barney', 'pebbles'); - * // => 'hello fred, barney, & pebbles' + * // The `_.property` iteratee shorthand. + * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 1 }] */ - function rest(func, start) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); + var intersectionBy = baseRest(function(arrays) { + var iteratee = last(arrays), + mapped = arrayMap(arrays, castArrayLikeObject); + + if (iteratee === last(mapped)) { + iteratee = undefined; + } else { + mapped.pop(); } - start = start === undefined ? start : toInteger(start); - return baseRest(func, start); - } + return (mapped.length && mapped[0] === arrays[0]) + ? baseIntersection(mapped, getIteratee(iteratee, 2)) + : []; + }); /** - * 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). + * 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 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. + * @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 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) - * ]); + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; * - * numbers.then(_.spread(function(x, y) { - * return x + y; - * })); - * // => a Promise of 76 + * _.intersectionWith(objects, others, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }] */ - 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); + var intersectionWith = baseRest(function(arrays) { + var comparator = last(arrays), + mapped = arrayMap(arrays, castArrayLikeObject); - if (array) { - arrayPush(otherArgs, array); - } - return apply(func, this, otherArgs); - }); - } + comparator = typeof comparator == 'function' ? comparator : undefined; + if (comparator) { + mapped.pop(); + } + return (mapped.length && mapped[0] === arrays[0]) + ? baseIntersection(mapped, undefined, comparator) + : []; + }); /** - * 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`. + * Converts all elements in `array` into a string separated by `separator`. * * @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. + * @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 * - * // 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); + * _.join(['a', 'b', 'c'], '~'); + * // => 'a~b~c' */ - 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 - }); + function join(array, separator) { + return array == null ? '' : nativeJoin.call(array, separator); } /** - * Creates a function that accepts up to one argument, ignoring any - * additional arguments. + * Gets the last element of `array`. * * @static * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. + * @since 0.1.0 + * @category Array + * @param {Array} array The array to query. + * @returns {*} Returns the last element of `array`. * @example * - * _.map(['6', '8', '10'], _.unary(parseInt)); - * // => [6, 8, 10] + * _.last([1, 2, 3]); + * // => 3 */ - function unary(func) { - return ary(func, 1); + function last(array) { + var length = array == null ? 0 : array.length; + return length ? array[length - 1] : undefined; } /** - * 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. + * This method is like `_.indexOf` except that it iterates over elements of + * `array` from right to left. * * @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. + * @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 * - * var p = _.wrap(_.escape, function(func, text) { - * return '

' + func(text) + '

'; - * }); + * _.lastIndexOf([1, 2, 1, 2], 2); + * // => 3 * - * p('fred, barney, & pebbles'); - * // => '

fred, barney, & pebbles

' + * // Search from the `fromIndex`. + * _.lastIndexOf([1, 2, 1, 2], 2, 2); + * // => 1 */ - function wrap(value, wrapper) { - return partial(castFunction(wrapper), value); + 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); } - /*------------------------------------------------------------------------*/ - /** - * Casts `value` as an array if it's not one. + * Gets the element at index `n` of `array`. If `n` is negative, the nth + * element from the end is returned. * * @static * @memberOf _ - * @since 4.4.0 - * @category Lang - * @param {*} value The value to inspect. - * @returns {Array} Returns the cast array. + * @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 * - * _.castArray(1); - * // => [1] + * var array = ['a', 'b', 'c', 'd']; * - * _.castArray({ 'a': 1 }); - * // => [{ 'a': 1 }] + * _.nth(array, 1); + * // => 'b' * - * _.castArray('abc'); - * // => ['abc'] + * _.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. * - * _.castArray(null); - * // => [null] + * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove` + * to remove elements from an array by predicate. * - * _.castArray(undefined); - * // => [undefined] + * @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 * - * _.castArray(); - * // => [] + * var array = ['a', 'b', 'c', 'a', 'b', 'c']; * - * var array = [1, 2, 3]; - * console.log(_.castArray(array) === array); - * // => true + * _.pull(array, 'a', 'c'); + * console.log(array); + * // => ['b', 'b'] */ - function castArray() { - if (!arguments.length) { - return []; - } - var value = arguments[0]; - return isArray(value) ? value : [value]; - } + var pull = baseRest(pullAll); /** - * Creates a shallow clone of `value`. + * This method is like `_.pull` except that it accepts an array of values to remove. * - * **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. + * **Note:** Unlike `_.difference`, this method mutates `array`. * * @static * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to clone. - * @returns {*} Returns the cloned value. - * @see _.cloneDeep + * @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 objects = [{ 'a': 1 }, { 'b': 2 }]; + * var array = ['a', 'b', 'c', 'a', 'b', 'c']; * - * var shallow = _.clone(objects); - * console.log(shallow[0] === objects[0]); - * // => true + * _.pullAll(array, ['a', 'c']); + * console.log(array); + * // => ['b', 'b'] */ - function clone(value) { - return baseClone(value, CLONE_SYMBOLS_FLAG); + function pullAll(array, values) { + return (array && array.length && values && values.length) + ? basePullAll(array, values) + : array; } /** - * 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]). + * 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 Lang - * @param {*} value The value to clone. - * @param {Function} [customizer] The function to customize cloning. - * @returns {*} Returns the cloned value. - * @see _.cloneDeepWith + * @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 * - * function customizer(value) { - * if (_.isElement(value)) { - * return value.cloneNode(false); - * } - * } - * - * var el = _.cloneWith(document.body, customizer); + * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }]; * - * console.log(el === document.body); - * // => false - * console.log(el.nodeName); - * // => 'BODY' - * console.log(el.childNodes.length); - * // => 0 + * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); + * console.log(array); + * // => [{ 'x': 2 }] */ - function cloneWith(value, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseClone(value, CLONE_SYMBOLS_FLAG, customizer); + function pullAllBy(array, values, iteratee) { + return (array && array.length && values && values.length) + ? basePullAll(array, values, getIteratee(iteratee, 2)) + : array; } /** - * This method is like `_.clone` except that it recursively clones `value`. + * 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 1.0.0 - * @category Lang - * @param {*} value The value to recursively clone. - * @returns {*} Returns the deep cloned value. - * @see _.clone + * @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 objects = [{ 'a': 1 }, { 'b': 2 }]; + * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }]; * - * var deep = _.cloneDeep(objects); - * console.log(deep[0] === objects[0]); - * // => false + * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual); + * console.log(array); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }] */ - function cloneDeep(value) { - return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG); + function pullAllWith(array, values, comparator) { + return (array && array.length && values && values.length) + ? basePullAll(array, values, undefined, comparator) + : array; } /** - * This method is like `_.cloneWith` except that it recursively clones `value`. + * Removes elements from `array` corresponding to `indexes` and returns an + * array of removed elements. + * + * **Note:** Unlike `_.at`, this method mutates `array`. * * @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 + * @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 * - * function customizer(value) { - * if (_.isElement(value)) { - * return value.cloneNode(true); - * } - * } + * var array = ['a', 'b', 'c', 'd']; + * var pulled = _.pullAt(array, [1, 3]); * - * var el = _.cloneDeepWith(document.body, customizer); + * console.log(array); + * // => ['a', 'c'] * - * console.log(el === document.body); - * // => false - * console.log(el.nodeName); - * // => 'BODY' - * console.log(el.childNodes.length); - * // => 20 + * console.log(pulled); + * // => ['b', 'd'] */ - function cloneDeepWith(value, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer); - } + 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; + }); /** - * Checks if `object` conforms to `source` by invoking the predicate - * properties of `source` with the corresponding property values of `object`. + * 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:** This method is equivalent to `_.conforms` when `source` is - * partially applied. + * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull` + * to pull elements from an array by value. * * @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`. + * @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 object = { 'a': 1, 'b': 2 }; + * var array = [1, 2, 3, 4]; + * var evens = _.remove(array, function(n) { + * return n % 2 == 0; + * }); * - * _.conformsTo(object, { 'b': function(n) { return n > 1; } }); - * // => true + * console.log(array); + * // => [1, 3] * - * _.conformsTo(object, { 'b': function(n) { return n > 2; } }); - * // => false + * console.log(evens); + * // => [2, 4] */ - function conformsTo(object, source) { - return source == null || baseConformsTo(object, source, keys(source)); + 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; } /** - * Performs a - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. + * 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 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`. + * @category Array + * @param {Array} array The array to modify. + * @returns {Array} Returns `array`. * @example * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.eq(object, object); - * // => true + * var array = [1, 2, 3]; * - * _.eq(object, other); - * // => false + * _.reverse(array); + * // => [3, 2, 1] * - * _.eq('a', 'a'); - * // => true + * 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`. * - * _.eq('a', Object('a')); - * // => false + * **Note:** This method is used instead of + * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are + * returned. * - * _.eq(NaN, NaN); - * // => true + * @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 eq(value, other) { - return value === other || (value !== value && other !== other); + 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); } /** - * Checks if `value` is greater than `other`. + * 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 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 + * @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 * - * _.gt(3, 1); - * // => true - * - * _.gt(3, 3); - * // => false - * - * _.gt(1, 3); - * // => false + * _.sortedIndex([30, 50], 40); + * // => 1 */ - var gt = createRelationalOperation(baseGt); + function sortedIndex(array, value) { + return baseSortedIndex(array, value); + } /** - * Checks if `value` is greater than or equal to `other`. + * 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 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 + * @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 * - * _.gte(3, 1); - * // => true + * var objects = [{ 'x': 4 }, { 'x': 5 }]; * - * _.gte(3, 3); - * // => true + * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); + * // => 0 * - * _.gte(1, 3); - * // => false + * // The `_.property` iteratee shorthand. + * _.sortedIndexBy(objects, { 'x': 4 }, 'x'); + * // => 0 */ - var gte = createRelationalOperation(function(value, other) { - return value >= other; - }); + function sortedIndexBy(array, value, iteratee) { + return baseSortedIndexBy(array, value, getIteratee(iteratee, 2)); + } /** - * Checks if `value` is likely an `arguments` object. + * This method is like `_.indexOf` except that it performs a binary + * search on a sorted `array`. * * @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`. + * @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 * - * _.isArguments(function() { return arguments; }()); - * // => true - * - * _.isArguments([1, 2, 3]); - * // => false + * _.sortedIndexOf([4, 5, 5, 5, 6], 5); + * // => 1 */ - var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { - return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && - !propertyIsEnumerable.call(value, 'callee'); - }; + 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; + } /** - * Checks if `value` is classified as an `Array` object. + * 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 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array, else `false`. + * @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 * - * _.isArray([1, 2, 3]); - * // => true - * - * _.isArray(document.body.children); - * // => false - * - * _.isArray('abc'); - * // => false - * - * _.isArray(_.noop); - * // => false + * _.sortedLastIndex([4, 5, 5, 5, 6], 5); + * // => 4 */ - var isArray = Array.isArray; + function sortedLastIndex(array, value) { + return baseSortedIndex(array, value, true); + } /** - * Checks if `value` is classified as an `ArrayBuffer` object. + * 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.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. + * @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 * - * _.isArrayBuffer(new ArrayBuffer(2)); - * // => true + * var objects = [{ 'x': 4 }, { 'x': 5 }]; * - * _.isArrayBuffer(new Array(2)); - * // => false + * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); + * // => 1 + * + * // The `_.property` iteratee shorthand. + * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x'); + * // => 1 */ - var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer; + function sortedLastIndexBy(array, value, iteratee) { + return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true); + } /** - * 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`. + * This method is like `_.lastIndexOf` except that it performs a binary + * search on a sorted `array`. * * @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`. + * @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 * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true + * _.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. * - * _.isArrayLike('abc'); - * // => true + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @returns {Array} Returns the new duplicate free array. + * @example * - * _.isArrayLike(_.noop); - * // => false + * _.sortedUniq([1, 1, 2]); + * // => [1, 2] */ - function isArrayLike(value) { - return value != null && isLength(value.length) && !isFunction(value); + function sortedUniq(array) { + return (array && array.length) + ? baseSortedUniq(array) + : []; } /** - * This method is like `_.isArrayLike` except that it also checks if `value` - * is an object. + * This method is like `_.uniqBy` except that it's designed and optimized + * for sorted arrays. * * @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`. + * @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 * - * _.isArrayLikeObject([1, 2, 3]); - * // => true - * - * _.isArrayLikeObject(document.body.children); - * // => true - * - * _.isArrayLikeObject('abc'); - * // => false - * - * _.isArrayLikeObject(_.noop); - * // => false + * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); + * // => [1.1, 2.3] */ - function isArrayLikeObject(value) { - return isObjectLike(value) && isArrayLike(value); + function sortedUniqBy(array, iteratee) { + return (array && array.length) + ? baseSortedUniq(array, getIteratee(iteratee, 2)) + : []; } /** - * Checks if `value` is classified as a boolean primitive or object. + * Gets all but the first element of `array`. * * @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`. + * @since 4.0.0 + * @category Array + * @param {Array} array The array to query. + * @returns {Array} Returns the slice of `array`. * @example * - * _.isBoolean(false); - * // => true - * - * _.isBoolean(null); - * // => false + * _.tail([1, 2, 3]); + * // => [2, 3] */ - function isBoolean(value) { - return value === true || value === false || - (isObjectLike(value) && baseGetTag(value) == boolTag); + function tail(array) { + var length = array == null ? 0 : array.length; + return length ? baseSlice(array, 1, length) : []; } /** - * Checks if `value` is a buffer. + * Creates a slice of `array` with `n` elements taken from the beginning. * * @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`. + * @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 * - * _.isBuffer(new Buffer(2)); - * // => true + * _.take([1, 2, 3]); + * // => [1] * - * _.isBuffer(new Uint8Array(2)); - * // => false + * _.take([1, 2, 3], 2); + * // => [1, 2] + * + * _.take([1, 2, 3], 5); + * // => [1, 2, 3] + * + * _.take([1, 2, 3], 0); + * // => [] */ - var isBuffer = nativeIsBuffer || stubFalse; + 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); + } /** - * Checks if `value` is classified as a `Date` object. + * Creates a slice of `array` with `n` elements taken from the end. * * @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`. + * @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 * - * _.isDate(new Date); - * // => true + * _.takeRight([1, 2, 3]); + * // => [3] * - * _.isDate('Mon April 23 2012'); - * // => false + * _.takeRight([1, 2, 3], 2); + * // => [2, 3] + * + * _.takeRight([1, 2, 3], 5); + * // => [1, 2, 3] + * + * _.takeRight([1, 2, 3], 0); + * // => [] */ - var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate; + 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); + } /** - * Checks if `value` is likely a DOM element. + * 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 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`. + * @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 * - * _.isElement(document.body); - * // => true + * var users = [ + * { 'user': 'barney', 'active': true }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': false } + * ]; * - * _.isElement(''); - * // => 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 isElement(value) { - return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value); + function takeRightWhile(array, predicate) { + return (array && array.length) + ? baseWhile(array, getIteratee(predicate, 3), false, true) + : []; } /** - * 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`. + * 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 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is empty, else `false`. + * @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 * - * _.isEmpty(null); - * // => true + * var users = [ + * { 'user': 'barney', 'active': false }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': true } + * ]; * - * _.isEmpty(true); - * // => true + * _.takeWhile(users, function(o) { return !o.active; }); + * // => objects for ['barney', 'fred'] * - * _.isEmpty(1); - * // => true + * // The `_.matches` iteratee shorthand. + * _.takeWhile(users, { 'user': 'barney', 'active': false }); + * // => objects for ['barney'] * - * _.isEmpty([1, 2, 3]); - * // => false + * // The `_.matchesProperty` iteratee shorthand. + * _.takeWhile(users, ['active', false]); + * // => objects for ['barney', 'fred'] * - * _.isEmpty({ 'a': 1 }); - * // => false + * // The `_.property` iteratee shorthand. + * _.takeWhile(users, 'active'); + * // => [] */ - 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; + function takeWhile(array, predicate) { + return (array && array.length) + ? baseWhile(array, getIteratee(predicate, 3)) + : []; } /** - * 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. `===`. + * 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 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`. + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @returns {Array} Returns the new array of combined values. * @example * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.isEqual(object, other); - * // => true - * - * object === other; - * // => false + * _.union([2], [1, 2]); + * // => [2, 1] */ - function isEqual(value, other) { - return baseIsEqual(value, other); - } + var union = baseRest(function(arrays) { + return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true)); + }); /** - * 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]). + * 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 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`. + * @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 * - * 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']; + * _.unionBy([2.1], [1.2, 2.3], Math.floor); + * // => [2.1, 1.2] * - * _.isEqualWith(array, other, customizer); - * // => true + * // The `_.property` iteratee shorthand. + * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 1 }, { 'x': 2 }] */ - 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; - } + var unionBy = baseRest(function(arrays) { + var iteratee = last(arrays); + if (isArrayLikeObject(iteratee)) { + iteratee = undefined; + } + return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)); + }); /** - * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`, - * `SyntaxError`, `TypeError`, or `URIError` object. + * 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 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an error object, else `false`. + * @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 * - * _.isError(new Error); - * // => true + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; * - * _.isError(Error); - * // => false + * _.unionWith(objects, others, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] */ - 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)); - } + var unionWith = baseRest(function(arrays) { + var comparator = last(arrays); + comparator = typeof comparator == 'function' ? comparator : undefined; + return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator); + }); /** - * Checks if `value` is a finite primitive number. - * - * **Note:** This method is based on - * [`Number.isFinite`](https://mdn.io/Number/isFinite). + * 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 Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a finite number, else `false`. + * @category Array + * @param {Array} array The array to inspect. + * @returns {Array} Returns the new duplicate free array. * @example * - * _.isFinite(3); - * // => true - * - * _.isFinite(Number.MIN_VALUE); - * // => true - * - * _.isFinite(Infinity); - * // => false - * - * _.isFinite('3'); - * // => false + * _.uniq([2, 1, 2]); + * // => [2, 1] */ - function isFinite(value) { - return typeof value == 'number' && nativeIsFinite(value); + function uniq(array) { + return (array && array.length) ? baseUniq(array) : []; } /** - * Checks if `value` is classified as a `Function` object. + * 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 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a function, else `false`. + * @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 * - * _.isFunction(_); - * // => true + * _.uniqBy([2.1, 1.2, 2.3], Math.floor); + * // => [2.1, 1.2] * - * _.isFunction(/abc/); - * // => false + * // The `_.property` iteratee shorthand. + * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 1 }, { 'x': 2 }] */ - 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; + function uniqBy(array, iteratee) { + return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : []; } /** - * Checks if `value` is an integer. - * - * **Note:** This method is based on - * [`Number.isInteger`](https://mdn.io/Number/isInteger). + * 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 Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an integer, else `false`. + * @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 * - * _.isInteger(3); - * // => true - * - * _.isInteger(Number.MIN_VALUE); - * // => false - * - * _.isInteger(Infinity); - * // => false + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }]; * - * _.isInteger('3'); - * // => false + * _.uniqWith(objects, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }] */ - function isInteger(value) { - return typeof value == 'number' && value == toInteger(value); + function uniqWith(array, comparator) { + comparator = typeof comparator == 'function' ? comparator : undefined; + return (array && array.length) ? baseUniq(array, undefined, comparator) : []; } /** - * 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). + * 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 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. + * @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 * - * _.isLength(3); - * // => true + * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]); + * // => [['a', 1, true], ['b', 2, false]] * - * _.isLength(Number.MIN_VALUE); - * // => 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 * - * _.isLength(Infinity); - * // => false + * var zipped = _.zip([1, 2], [10, 20], [100, 200]); + * // => [[1, 10, 100], [2, 20, 200]] * - * _.isLength('3'); - * // => false + * _.unzipWith(zipped, _.add); + * // => [3, 30, 300] */ - function isLength(value) { - return typeof value == 'number' && - value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; + 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); + }); } /** - * 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('')`) + * 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 Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @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 * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false + * _.without([2, 1, 2, 3], 1, 2); + * // => [3] */ - function isObject(value) { - var type = typeof value; - return value != null && (type == 'object' || type == 'function'); - } + var without = baseRest(function(array, values) { + return isArrayLikeObject(array) + ? baseDifference(array, values) + : []; + }); /** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". + * 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 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @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 * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false + * _.xor([2, 1], [2, 3]); + * // => [1, 3] */ - function isObjectLike(value) { - return value != null && typeof value == 'object'; - } + var xor = baseRest(function(arrays) { + return baseXor(arrayFilter(arrays, isArrayLikeObject)); + }); /** - * Checks if `value` is classified as a `Map` object. + * 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.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a map, else `false`. + * @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 * - * _.isMap(new Map); - * // => true + * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor); + * // => [1.2, 3.4] * - * _.isMap(new WeakMap); - * // => false + * // The `_.property` iteratee shorthand. + * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 2 }] */ - var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap; + var xorBy = baseRest(function(arrays) { + var iteratee = last(arrays); + if (isArrayLikeObject(iteratee)) { + iteratee = undefined; + } + return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2)); + }); /** - * 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. + * 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 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`. + * @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 object = { 'a': 1, 'b': 2 }; - * - * _.isMatch(object, { 'b': 2 }); - * // => true + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; * - * _.isMatch(object, { 'b': 1 }); - * // => false + * _.xorWith(objects, others, _.isEqual); + * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] */ - function isMatch(object, source) { - return object === source || baseIsMatch(object, source, getMatchData(source)); - } + var xorWith = baseRest(function(arrays) { + var comparator = last(arrays); + comparator = typeof comparator == 'function' ? comparator : undefined; + return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator); + }); /** - * 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). + * 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 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`. + * @since 0.1.0 + * @category Array + * @param {...Array} [arrays] The arrays to process. + * @returns {Array} Returns the new array of grouped elements. * @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 + * _.zip(['a', 'b'], [1, 2], [true, false]); + * // => [['a', 1, true], ['b', 2, false]] */ - function isMatchWith(object, source, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseIsMatch(object, source, getMatchData(source), customizer); - } + var zip = baseRest(unzip); /** - * 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. + * This method is like `_.fromPairs` except that it accepts two arrays, + * one of property identifiers and one of corresponding 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`. + * @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 * - * _.isNaN(NaN); - * // => true - * - * _.isNaN(new Number(NaN)); - * // => true - * - * isNaN(undefined); - * // => true - * - * _.isNaN(undefined); - * // => false + * _.zipObject(['a', 'b'], [1, 2]); + * // => { 'a': 1, 'b': 2 } */ - 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; + function zipObject(props, values) { + return baseZipObject(props || [], values || [], assignValue); } /** - * 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. + * This method is like `_.zipObject` except that it supports property paths. * * @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`. + * @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 * - * _.isNative(Array.prototype.push); - * // => true - * - * _.isNative(_); - * // => false + * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]); + * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } } */ - function isNative(value) { - if (isMaskable(value)) { - throw new Error(CORE_ERROR_TEXT); - } - return baseIsNative(value); + function zipObjectDeep(props, values) { + return baseZipObject(props || [], values || [], baseSet); } /** - * Checks if `value` is `null`. + * 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 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `null`, else `false`. + * @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 * - * _.isNull(null); - * // => true - * - * _.isNull(void 0); - * // => false + * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) { + * return a + b + c; + * }); + * // => [111, 222] */ - function isNull(value) { - return value === null; - } + 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); + }); + + /*------------------------------------------------------------------------*/ /** - * Checks if `value` is `null` or `undefined`. + * 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 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is nullish, else `false`. + * @since 1.3.0 + * @category Seq + * @param {*} value The value to wrap. + * @returns {Object} Returns the new `lodash` wrapper instance. * @example * - * _.isNil(null); - * // => true - * - * _.isNil(void 0); - * // => true + * var users = [ + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 40 }, + * { 'user': 'pebbles', 'age': 1 } + * ]; * - * _.isNil(NaN); - * // => false + * var youngest = _ + * .chain(users) + * .sortBy('age') + * .map(function(o) { + * return o.user + ' is ' + o.age; + * }) + * .head() + * .value(); + * // => 'pebbles is 1' */ - function isNil(value) { - return value == null; + function chain(value) { + var result = lodash(value); + result.__chain__ = true; + return result; } /** - * 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. + * 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 Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a number, else `false`. + * @category Seq + * @param {*} value The value to provide to `interceptor`. + * @param {Function} interceptor The function to invoke. + * @returns {*} Returns `value`. * @example * - * _.isNumber(3); - * // => true - * - * _.isNumber(Number.MIN_VALUE); - * // => true - * - * _.isNumber(Infinity); - * // => true - * - * _.isNumber('3'); - * // => false + * _([1, 2, 3]) + * .tap(function(array) { + * // Mutate input array. + * array.pop(); + * }) + * .reverse() + * .value(); + * // => [2, 1] */ - function isNumber(value) { - return typeof value == 'number' || - (isObjectLike(value) && baseGetTag(value) == numberTag); + function tap(value, interceptor) { + interceptor(value); + return value; } /** - * Checks if `value` is a plain object, that is, an object created by the - * `Object` constructor or one with a `[[Prototype]]` of `null`. + * 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 0.8.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. + * @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 * - * 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 + * _(' abc ') + * .chain() + * .trim() + * .thru(function(value) { + * return [value]; + * }) + * .value(); + * // => ['abc'] */ - 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; + function thru(value, interceptor) { + return interceptor(value); } /** - * Checks if `value` is classified as a `RegExp` object. + * This method is the wrapper version of `_.at`. * - * @static + * @name at * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. + * @since 1.0.0 + * @category Seq + * @param {...(string|string[])} [paths] The property paths to pick. + * @returns {Object} Returns the new `lodash` wrapper instance. * @example * - * _.isRegExp(/abc/); - * // => true + * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] }; * - * _.isRegExp('/abc/'); - * // => false + * _(object).at(['a[0].b.c', 'a[1]']).value(); + * // => [3, 4] */ - var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp; + 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; + }); + }); /** - * 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). + * Creates a `lodash` wrapper instance with explicit method chain sequences enabled. * - * @static + * @name chain * @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`. + * @since 0.1.0 + * @category Seq + * @returns {Object} Returns the new `lodash` wrapper instance. * @example * - * _.isSafeInteger(3); - * // => true - * - * _.isSafeInteger(Number.MIN_VALUE); - * // => false + * var users = [ + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 40 } + * ]; * - * _.isSafeInteger(Infinity); - * // => false + * // A sequence without explicit chaining. + * _(users).head(); + * // => { 'user': 'barney', 'age': 36 } * - * _.isSafeInteger('3'); - * // => false + * // A sequence with explicit chaining. + * _(users) + * .chain() + * .head() + * .pick('user') + * .value(); + * // => { 'user': 'barney' } */ - function isSafeInteger(value) { - return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER; + function wrapperChain() { + return chain(this); } /** - * Checks if `value` is classified as a `Set` object. + * Executes the chain sequence and returns the wrapped result. * - * @static + * @name commit * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a set, else `false`. + * @since 3.2.0 + * @category Seq + * @returns {Object} Returns the new `lodash` wrapper instance. * @example * - * _.isSet(new Set); - * // => true + * var array = [1, 2]; + * var wrapped = _(array).push(3); * - * _.isSet(new WeakSet); - * // => false + * console.log(array); + * // => [1, 2] + * + * wrapped = wrapped.commit(); + * console.log(array); + * // => [1, 2, 3] + * + * wrapped.last(); + * // => 3 + * + * console.log(array); + * // => [1, 2, 3] */ - var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet; + function wrapperCommit() { + return new LodashWrapper(this.value(), this.__chain__); + } /** - * Checks if `value` is classified as a `String` primitive or object. + * Gets the next value on a wrapped object following the + * [iterator protocol](https://mdn.io/iteration_protocols#iterator). * - * @static - * @since 0.1.0 + * @name next * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a string, else `false`. + * @since 4.0.0 + * @category Seq + * @returns {Object} Returns the next iterator value. * @example * - * _.isString('abc'); - * // => true + * var wrapped = _([1, 2]); * - * _.isString(1); - * // => false + * wrapped.next(); + * // => { 'done': false, 'value': 1 } + * + * wrapped.next(); + * // => { 'done': false, 'value': 2 } + * + * wrapped.next(); + * // => { 'done': true, 'value': undefined } */ - function isString(value) { - return typeof value == 'string' || - (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag); + 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 }; } /** - * Checks if `value` is classified as a `Symbol` primitive or object. + * Enables the wrapper to be iterable. * - * @static + * @name Symbol.iterator * @memberOf _ * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. + * @category Seq + * @returns {Object} Returns the wrapper object. * @example * - * _.isSymbol(Symbol.iterator); + * var wrapped = _([1, 2]); + * + * wrapped[Symbol.iterator]() === wrapped; * // => true * - * _.isSymbol('abc'); - * // => false + * Array.from(wrapped); + * // => [1, 2] */ - function isSymbol(value) { - return typeof value == 'symbol' || - (isObjectLike(value) && baseGetTag(value) == symbolTag); + function wrapperToIterator() { + return this; } /** - * Checks if `value` is classified as a typed array. + * Creates a clone of the chain sequence planting `value` as the wrapped value. * - * @static + * @name plant * @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`. + * @since 3.2.0 + * @category Seq + * @param {*} value The value to plant. + * @returns {Object} Returns the new `lodash` wrapper instance. * @example * - * _.isTypedArray(new Uint8Array); - * // => true + * function square(n) { + * return n * n; + * } * - * _.isTypedArray([]); - * // => false + * var wrapped = _([1, 2]).map(square); + * var other = wrapped.plant([3, 4]); + * + * other.value(); + * // => [9, 16] + * + * wrapped.value(); + * // => [1, 4] */ - var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; + 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; + } /** - * Checks if `value` is `undefined`. + * This method is the wrapper version of `_.reverse`. * - * @static - * @since 0.1.0 + * **Note:** This method mutates the wrapped array. + * + * @name reverse * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. + * @since 0.1.0 + * @category Seq + * @returns {Object} Returns the new `lodash` wrapper instance. * @example * - * _.isUndefined(void 0); - * // => true + * var array = [1, 2, 3]; * - * _.isUndefined(null); - * // => false + * _(array).reverse().value() + * // => [3, 2, 1] + * + * console.log(array); + * // => [3, 2, 1] */ - function isUndefined(value) { - return value === undefined; + 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); } /** - * Checks if `value` is classified as a `WeakMap` object. + * Executes the chain sequence to resolve the unwrapped value. * - * @static + * @name value * @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`. + * @since 0.1.0 + * @alias toJSON, valueOf + * @category Seq + * @returns {*} Returns the resolved unwrapped value. * @example * - * _.isWeakMap(new WeakMap); - * // => true - * - * _.isWeakMap(new Map); - * // => false + * _([1, 2, 3]).value(); + * // => [1, 2, 3] */ - function isWeakMap(value) { - return isObjectLike(value) && getTag(value) == weakMapTag; + function wrapperValue() { + return baseWrapperValue(this.__wrapped__, this.__actions__); } + /*------------------------------------------------------------------------*/ + /** - * Checks if `value` is classified as a `WeakSet` object. + * 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 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a weak set, else `false`. + * @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 * - * _.isWeakSet(new WeakSet); - * // => true + * _.countBy([6.1, 4.2, 6.3], Math.floor); + * // => { '4': 1, '6': 2 } * - * _.isWeakSet(new Set); - * // => false + * // The `_.property` iteratee shorthand. + * _.countBy(['one', 'two', 'three'], 'length'); + * // => { '3': 2, '5': 1 } */ - function isWeakSet(value) { - return isObjectLike(value) && baseGetTag(value) == weakSetTag; - } + var countBy = createAggregator(function(result, value, key) { + if (hasOwnProperty.call(result, key)) { + ++result[key]; + } else { + baseAssignValue(result, key, 1); + } + }); /** - * Checks if `value` is less than `other`. + * 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 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`, + * @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`. - * @see _.gt * @example * - * _.lt(1, 3); - * // => true + * _.every([true, 1, null, 'yes'], Boolean); + * // => false * - * _.lt(3, 3); + * 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 * - * _.lt(3, 1); + * // The `_.matchesProperty` iteratee shorthand. + * _.every(users, ['active', false]); + * // => true + * + * // The `_.property` iteratee shorthand. + * _.every(users, 'active'); * // => false */ - var lt = createRelationalOperation(baseLt); + 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)); + } /** - * Checks if `value` is less than or equal to `other`. + * 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 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 + * @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 * - * _.lte(1, 3); - * // => true + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': true }, + * { 'user': 'fred', 'age': 40, 'active': false } + * ]; * - * _.lte(3, 3); - * // => true + * _.filter(users, function(o) { return !o.active; }); + * // => objects for ['fred'] * - * _.lte(3, 1); - * // => false + * // 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'] */ - var lte = createRelationalOperation(function(value, other) { - return value <= other; - }); + function filter(collection, predicate) { + var func = isArray(collection) ? arrayFilter : baseFilter; + return func(collection, getIteratee(predicate, 3)); + } /** - * Converts `value` to an array. + * 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 - * @since 0.1.0 * @memberOf _ - * @category Lang - * @param {*} value The value to convert. - * @returns {Array} Returns the converted array. + * @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 * - * _.toArray({ 'a': 1, 'b': 2 }); - * // => [1, 2] + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': true }, + * { 'user': 'fred', 'age': 40, 'active': false }, + * { 'user': 'pebbles', 'age': 1, 'active': true } + * ]; * - * _.toArray('abc'); - * // => ['a', 'b', 'c'] + * _.find(users, function(o) { return o.age < 40; }); + * // => object for 'barney' * - * _.toArray(1); - * // => [] + * // The `_.matches` iteratee shorthand. + * _.find(users, { 'age': 1, 'active': true }); + * // => object for 'pebbles' * - * _.toArray(null); - * // => [] + * // The `_.matchesProperty` iteratee shorthand. + * _.find(users, ['active', false]); + * // => object for 'fred' + * + * // The `_.property` iteratee shorthand. + * _.find(users, 'active'); + * // => object for 'barney' */ - 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); - } + var find = createFind(findIndex); /** - * Converts `value` to a finite number. + * This method is like `_.find` except that it iterates over elements of + * `collection` from right to left. * * @static * @memberOf _ - * @since 4.12.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted number. + * @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 * - * _.toFinite(3.2); - * // => 3.2 - * - * _.toFinite(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toFinite(Infinity); - * // => 1.7976931348623157e+308 - * - * _.toFinite('3.2'); - * // => 3.2 + * _.findLast([1, 2, 3, 4], function(n) { + * return n % 2 == 1; + * }); + * // => 3 */ - 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; - } + var findLast = createFind(findLastIndex); /** - * Converts `value` to an integer. - * - * **Note:** This method is loosely based on - * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger). + * 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 Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. + * @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 * - * _.toInteger(3.2); - * // => 3 - * - * _.toInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toInteger(Infinity); - * // => 1.7976931348623157e+308 + * function duplicate(n) { + * return [n, n]; + * } * - * _.toInteger('3.2'); - * // => 3 + * _.flatMap([1, 2], duplicate); + * // => [1, 1, 2, 2] */ - function toInteger(value) { - var result = toFinite(value), - remainder = result % 1; - - return result === result ? (remainder ? result - remainder : result) : 0; + function flatMap(collection, iteratee) { + return baseFlatten(map(collection, iteratee), 1); } /** - * 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). + * This method is like `_.flatMap` except that it recursively flattens the + * mapped results. * * @static * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. + * @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 * - * _.toLength(3.2); - * // => 3 - * - * _.toLength(Number.MIN_VALUE); - * // => 0 - * - * _.toLength(Infinity); - * // => 4294967295 + * function duplicate(n) { + * return [[[n, n]]]; + * } * - * _.toLength('3.2'); - * // => 3 + * _.flatMapDeep([1, 2], duplicate); + * // => [1, 1, 2, 2] */ - function toLength(value) { - return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0; + function flatMapDeep(collection, iteratee) { + return baseFlatten(map(collection, iteratee), INFINITY); } /** - * Converts `value` to a number. + * This method is like `_.flatMap` except that it recursively flattens the + * mapped results up to `depth` times. * * @static * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to process. - * @returns {number} Returns the number. + * @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 * - * _.toNumber(3.2); - * // => 3.2 - * - * _.toNumber(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toNumber(Infinity); - * // => Infinity + * function duplicate(n) { + * return [[[n, n]]]; + * } * - * _.toNumber('3.2'); - * // => 3.2 + * _.flatMapDepth([1, 2], duplicate, 2); + * // => [[1, 1], [2, 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); + function flatMapDepth(collection, iteratee, depth) { + depth = depth === undefined ? 1 : toInteger(depth); + return baseFlatten(map(collection, iteratee), depth); } /** - * Converts `value` to a plain object flattening inherited enumerable string - * keyed properties of `value` to own properties of the plain object. + * 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 3.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {Object} Returns the converted plain object. + * @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 * - * function Foo() { - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.assign({ 'a': 1 }, new Foo); - * // => { 'a': 1, 'b': 2 } + * _.forEach([1, 2], function(value) { + * console.log(value); + * }); + * // => Logs `1` then `2`. * - * _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); - * // => { 'a': 1, 'b': 2, 'c': 3 } + * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) { + * console.log(key); + * }); + * // => Logs 'a' then 'b' (iteration order is not guaranteed). */ - function toPlainObject(value) { - return copyObject(value, keysIn(value)); + function forEach(collection, iteratee) { + var func = isArray(collection) ? arrayEach : baseEach; + return func(collection, getIteratee(iteratee, 3)); } /** - * Converts `value` to a safe integer. A safe integer can be compared and - * represented correctly. + * This method is like `_.forEach` except that it iterates over elements of + * `collection` from right to left. * * @static * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. + * @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 * - * _.toSafeInteger(3.2); - * // => 3 - * - * _.toSafeInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toSafeInteger(Infinity); - * // => 9007199254740991 - * - * _.toSafeInteger('3.2'); - * // => 3 + * _.forEachRight([1, 2], function(value) { + * console.log(value); + * }); + * // => Logs `2` then `1`. */ - function toSafeInteger(value) { - return value - ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) - : (value === 0 ? value : 0); + function forEachRight(collection, iteratee) { + var func = isArray(collection) ? arrayEachRight : baseEachRight; + return func(collection, getIteratee(iteratee, 3)); } /** - * Converts `value` to a string. An empty string is returned for `null` - * and `undefined` values. The sign of `-0` is preserved. + * 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 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. + * @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 * - * _.toString(null); - * // => '' - * - * _.toString(-0); - * // => '-0' + * _.groupBy([6.1, 4.2, 6.3], Math.floor); + * // => { '4': [4.2], '6': [6.1, 6.3] } * - * _.toString([1, 2, 3]); - * // => '1,2,3' + * // The `_.property` iteratee shorthand. + * _.groupBy(['one', 'two', 'three'], 'length'); + * // => { '3': ['one', 'two'], '5': ['three'] } */ - function toString(value) { - return value == null ? '' : baseToString(value); - } - - /*------------------------------------------------------------------------*/ + var groupBy = createAggregator(function(result, value, key) { + if (hasOwnProperty.call(result, key)) { + result[key].push(value); + } else { + baseAssignValue(result, key, [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). + * 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.10.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.assignIn + * @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 * - * function Foo() { - * this.a = 1; - * } + * _.includes([1, 2, 3], 1); + * // => true * - * function Bar() { - * this.c = 3; - * } + * _.includes([1, 2, 3], 1, 2); + * // => false * - * Foo.prototype.b = 2; - * Bar.prototype.d = 4; + * _.includes({ 'a': 1, 'b': 2 }, 1); + * // => true * - * _.assign({ 'a': 0 }, new Foo, new Bar); - * // => { 'a': 1, 'c': 3 } + * _.includes('abcd', 'bc'); + * // => true */ - 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]); - } + 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); + } /** - * This method is like `_.assign` except that it iterates over own and - * inherited source properties. - * - * **Note:** This method mutates `object`. + * 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 - * @alias extend - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.assign + * @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 * - * function Foo() { - * this.a = 1; - * } - * - * function Bar() { - * this.c = 3; - * } - * - * Foo.prototype.b = 2; - * Bar.prototype.d = 4; + * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort'); + * // => [[1, 5, 7], [1, 2, 3]] * - * _.assignIn({ 'a': 0 }, new Foo, new Bar); - * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 } + * _.invokeMap([123, 456], String.prototype.split, ''); + * // => [['1', '2', '3'], ['4', '5', '6']] */ - var assignIn = createAssigner(function(object, source) { - copyObject(source, keysIn(source), object); + 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; }); /** - * 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`. + * 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 - * @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 + * @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 * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } + * var array = [ + * { 'dir': 'left', 'code': 97 }, + * { 'dir': 'right', 'code': 100 } + * ]; * - * var defaults = _.partialRight(_.assignInWith, customizer); + * _.keyBy(array, function(o) { + * return String.fromCharCode(o.code); + * }); + * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } } * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } + * _.keyBy(array, 'dir'); + * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } } */ - var assignInWith = createAssigner(function(object, source, srcIndex, customizer) { - copyObject(source, keysIn(source), object, customizer); + var keyBy = createAggregator(function(result, value, key) { + baseAssignValue(result, key, value); }); /** - * 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). + * Creates an array of values by running each element in `collection` thru + * `iteratee`. The iteratee is invoked with three arguments: + * (value, index|key, collection). * - * **Note:** This method mutates `object`. + * 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 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 + * @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 customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; + * function square(n) { + * return n * n; * } * - * var defaults = _.partialRight(_.assignWith, customizer); + * _.map([4, 8], square); + * // => [16, 64] * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } + * _.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'] */ - var assignWith = createAssigner(function(object, source, srcIndex, customizer) { - copyObject(source, keys(source), object, customizer); - }); + function map(collection, iteratee) { + var func = isArray(collection) ? arrayMap : baseMap; + return func(collection, getIteratee(iteratee, 3)); + } /** - * Creates an array of values corresponding to `paths` of `object`. + * 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 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. + * @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 object = { 'a': [{ 'b': { 'c': 3 } }, 4] }; + * var users = [ + * { 'user': 'fred', 'age': 48 }, + * { 'user': 'barney', 'age': 34 }, + * { 'user': 'fred', 'age': 40 }, + * { 'user': 'barney', 'age': 36 } + * ]; * - * _.at(object, ['a[0].b.c', 'a[1]']); - * // => [3, 4] + * // 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]] */ - var at = flatRest(baseAt); + 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 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. + * 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 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. + * @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 * - * function Shape() { - * this.x = 0; - * this.y = 0; - * } + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': false }, + * { 'user': 'fred', 'age': 40, 'active': true }, + * { 'user': 'pebbles', 'age': 1, 'active': false } + * ]; * - * function Circle() { - * Shape.call(this); - * } + * _.partition(users, function(o) { return o.active; }); + * // => objects for [['fred'], ['barney', 'pebbles']] * - * Circle.prototype = _.create(Shape.prototype, { - * 'constructor': Circle - * }); + * // The `_.matches` iteratee shorthand. + * _.partition(users, { 'age': 1, 'active': false }); + * // => objects for [['pebbles'], ['barney', 'fred']] * - * var circle = new Circle; - * circle instanceof Circle; - * // => true + * // The `_.matchesProperty` iteratee shorthand. + * _.partition(users, ['active', false]); + * // => objects for [['barney', 'pebbles'], ['fred']] * - * circle instanceof Shape; - * // => true + * // The `_.property` iteratee shorthand. + * _.partition(users, 'active'); + * // => objects for [['fred'], ['barney', 'pebbles']] */ - function create(prototype, properties) { - var result = baseCreate(prototype); - return properties == null ? result : baseAssign(result, properties); - } + var partition = createAggregator(function(result, value, key) { + result[key ? 0 : 1].push(value); + }, function() { return [[], []]; }); /** - * 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. + * 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). * - * **Note:** This method mutates `object`. + * 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 - * @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 + * @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 * - * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } + * _.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) */ - 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]; - } - } - } + function reduce(collection, iteratee, accumulator) { + var func = isArray(collection) ? arrayReduce : baseReduce, + initAccum = arguments.length < 3; - return object; - }); + return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach); + } /** - * This method is like `_.defaults` except that it recursively assigns - * default properties. - * - * **Note:** This method mutates `object`. + * This method is like `_.reduce` except that it iterates over elements of + * `collection` from right to left. * * @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 + * @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 * - * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } }); - * // => { 'a': { 'b': 2, 'c': 3 } } + * var array = [[0, 1], [2, 3], [4, 5]]; + * + * _.reduceRight(array, function(flattened, other) { + * return flattened.concat(other); + * }, []); + * // => [4, 5, 2, 3, 0, 1] */ - var defaultsDeep = baseRest(function(args) { - args.push(undefined, customDefaultsMerge); - return apply(mergeWith, undefined, args); - }); + function reduceRight(collection, iteratee, accumulator) { + var func = isArray(collection) ? arrayReduceRight : baseReduce, + initAccum = arguments.length < 3; + + return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight); + } /** - * This method is like `_.find` except that it returns the key of the first - * element `predicate` returns truthy for instead of the element itself. + * The opposite of `_.filter`; this method returns the elements of `collection` + * that `predicate` does **not** return truthy for. * * @static * @memberOf _ - * @since 1.1.0 - * @category Object - * @param {Object} object The object to inspect. + * @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 {string|undefined} Returns the key of the matched element, - * else `undefined`. + * @returns {Array} Returns the new filtered array. + * @see _.filter * @example * - * var users = { - * 'barney': { 'age': 36, 'active': true }, - * 'fred': { 'age': 40, 'active': false }, - * 'pebbles': { 'age': 1, 'active': true } - * }; + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': false }, + * { 'user': 'fred', 'age': 40, 'active': true } + * ]; * - * _.findKey(users, function(o) { return o.age < 40; }); - * // => 'barney' (iteration order is not guaranteed) + * _.reject(users, function(o) { return !o.active; }); + * // => objects for ['fred'] * * // The `_.matches` iteratee shorthand. - * _.findKey(users, { 'age': 1, 'active': true }); - * // => 'pebbles' + * _.reject(users, { 'age': 40, 'active': true }); + * // => objects for ['barney'] * * // The `_.matchesProperty` iteratee shorthand. - * _.findKey(users, ['active', false]); - * // => 'fred' + * _.reject(users, ['active', false]); + * // => objects for ['fred'] * * // The `_.property` iteratee shorthand. - * _.findKey(users, 'active'); - * // => 'barney' + * _.reject(users, 'active'); + * // => objects for ['barney'] */ - function findKey(object, predicate) { - return baseFindKey(object, getIteratee(predicate, 3), baseForOwn); + function reject(collection, predicate) { + var func = isArray(collection) ? arrayFilter : baseFilter; + return func(collection, negate(getIteratee(predicate, 3))); } /** - * This method is like `_.findKey` except that it iterates over elements of - * a collection in the opposite order. + * Gets a random element from `collection`. * * @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`. + * @category Collection + * @param {Array|Object} collection The collection to sample. + * @returns {*} Returns the random element. * @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' + * _.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`. * - * // The `_.matches` iteratee shorthand. - * _.findLastKey(users, { 'age': 36, 'active': true }); - * // => 'barney' + * @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 * - * // The `_.matchesProperty` iteratee shorthand. - * _.findLastKey(users, ['active', false]); - * // => 'fred' + * _.sampleSize([1, 2, 3], 2); + * // => [3, 1] * - * // The `_.property` iteratee shorthand. - * _.findLastKey(users, 'active'); - * // => 'pebbles' + * _.sampleSize([1, 2, 3], 4); + * // => [2, 3, 1] */ - function findLastKey(object, predicate) { - return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight); + 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); } /** - * 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`. + * 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.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 + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to shuffle. + * @returns {Array} Returns the new shuffled array. * @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). + * _.shuffle([1, 2, 3, 4]); + * // => [4, 1, 3, 2] */ - function forIn(object, iteratee) { - return object == null - ? object - : baseFor(object, getIteratee(iteratee, 3), keysIn); + function shuffle(collection) { + var func = isArray(collection) ? arrayShuffle : baseShuffle; + return func(collection); } /** - * This method is like `_.forIn` except that it iterates over properties of - * `object` in the opposite order. + * 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 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 + * @since 0.1.0 + * @category Collection + * @param {Array|Object|string} collection The collection to inspect. + * @returns {number} Returns the collection size. * @example * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } + * _.size([1, 2, 3]); + * // => 3 * - * Foo.prototype.c = 3; + * _.size({ 'a': 1, 'b': 2 }); + * // => 2 * - * _.forInRight(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'. + * _.size('pebbles'); + * // => 7 */ - function forInRight(object, iteratee) { - return object == null - ? object - : baseForRight(object, getIteratee(iteratee, 3), keysIn); + 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; } /** - * 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`. + * 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.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 + * @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 * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } + * _.some([null, 0, 'yes', false], Boolean); + * // => true * - * Foo.prototype.c = 3; + * var users = [ + * { 'user': 'barney', 'active': true }, + * { 'user': 'fred', 'active': false } + * ]; * - * _.forOwn(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a' then 'b' (iteration order is not guaranteed). + * // 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 forOwn(object, iteratee) { - return object && baseForOwn(object, getIteratee(iteratee, 3)); + 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)); } /** - * This method is like `_.forOwn` except that it iterates over properties of - * `object` in the opposite order. + * 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 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 + * @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 * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } + * var users = [ + * { 'user': 'fred', 'age': 48 }, + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 30 }, + * { 'user': 'barney', 'age': 34 } + * ]; * - * Foo.prototype.c = 3; + * _.sortBy(users, [function(o) { return o.user; }]); + * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]] * - * _.forOwnRight(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'. + * _.sortBy(users, ['user', 'age']); + * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]] */ - function forOwnRight(object, iteratee) { - return object && baseForOwnRight(object, getIteratee(iteratee, 3)); - } + 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), []); + }); + + /*------------------------------------------------------------------------*/ /** - * Creates an array of function property names from own enumerable properties - * of `object`. + * Gets the timestamp of the number of milliseconds that have elapsed since + * the Unix epoch (1 January 1970 00:00:00 UTC). * * @static - * @since 0.1.0 * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the function names. - * @see _.functionsIn + * @since 2.4.0 + * @category Date + * @returns {number} Returns the timestamp. * @example * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functions(new Foo); - * // => ['a', 'b'] + * _.defer(function(stamp) { + * console.log(_.now() - stamp); + * }, _.now()); + * // => Logs the number of milliseconds it took for the deferred invocation. */ - function functions(object) { - return object == null ? [] : baseFunctions(object, keys(object)); - } + var now = ctxNow || function() { + return root.Date.now(); + }; + + /*------------------------------------------------------------------------*/ /** - * Creates an array of function property names from own and inherited - * enumerable properties of `object`. + * The opposite of `_.before`; this method creates a function that invokes + * `func` once it's called `n` or more times. * * @static * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the function names. - * @see _.functions + * @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 * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } + * var saves = ['profile', 'settings']; * - * Foo.prototype.c = _.constant('c'); + * var done = _.after(saves.length, function() { + * console.log('done saving!'); + * }); * - * _.functionsIn(new Foo); - * // => ['a', 'b', 'c'] + * _.forEach(saves, function(type) { + * asyncSave({ 'type': type, 'complete': done }); + * }); + * // => Logs 'done saving!' after the two async saves have completed. */ - function functionsIn(object) { - return object == null ? [] : baseFunctions(object, keysIn(object)); + 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); + } + }; } /** - * Gets the value at `path` of `object`. If the resolved value is - * `undefined`, the `defaultValue` is returned in its place. + * Creates a function that invokes `func`, with up to `n` arguments, + * ignoring any additional arguments. * * @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. + * @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 * - * var object = { 'a': [{ 'b': { 'c': 3 } }] }; - * - * _.get(object, 'a[0].b.c'); - * // => 3 + * _.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. * - * _.get(object, ['a', '0', 'b', 'c']); - * // => 3 + * @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 * - * _.get(object, 'a.b.c', 'default'); - * // => 'default' + * jQuery(element).on('click', _.before(5, addContactToList)); + * // => Allows adding up to 4 contacts to the list. */ - function get(object, path, defaultValue) { - var result = object == null ? undefined : baseGet(object, path); - return result === undefined ? defaultValue : result; + 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; + }; } /** - * Checks if `path` is a direct property of `object`. + * 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 - * @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`. + * @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 * - * var object = { 'a': { 'b': 2 } }; - * var other = _.create({ 'a': _.create({ 'b': 2 }) }); - * - * _.has(object, 'a'); - * // => true + * function greet(greeting, punctuation) { + * return greeting + ' ' + this.user + punctuation; + * } * - * _.has(object, 'a.b'); - * // => true + * var object = { 'user': 'fred' }; * - * _.has(object, ['a', 'b']); - * // => true + * var bound = _.bind(greet, object, 'hi'); + * bound('!'); + * // => 'hi fred!' * - * _.has(other, 'a'); - * // => false + * // Bound with placeholders. + * var bound = _.bind(greet, object, _, '!'); + * bound('hi'); + * // => 'hi fred!' */ - function has(object, path) { - return object != null && hasPath(object, path, baseHas); - } + 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); + }); /** - * Checks if `path` is a direct or inherited property of `object`. + * 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 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`. + * @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 = _.create({ 'a': _.create({ 'b': 2 }) }); + * var object = { + * 'user': 'fred', + * 'greet': function(greeting, punctuation) { + * return greeting + ' ' + this.user + punctuation; + * } + * }; * - * _.hasIn(object, 'a'); - * // => true + * var bound = _.bindKey(object, 'greet', 'hi'); + * bound('!'); + * // => 'hi fred!' * - * _.hasIn(object, 'a.b'); - * // => true + * object.greet = function(greeting, punctuation) { + * return greeting + 'ya ' + this.user + punctuation; + * }; * - * _.hasIn(object, ['a', 'b']); - * // => true + * bound('!'); + * // => 'hiya fred!' * - * _.hasIn(object, 'b'); - * // => false + * // Bound with placeholders. + * var bound = _.bindKey(object, 'greet', _, '!'); + * bound('hi'); + * // => 'hiya fred!' */ - function hasIn(object, path) { - return object != null && hasPath(object, path, baseHasIn); - } + 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 an object composed of the inverted keys and values of `object`. - * If `object` contains duplicate values, subsequent values overwrite - * property assignments of previous values. + * 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 0.7.0 - * @category Object - * @param {Object} object The object to invert. - * @returns {Object} Returns the new inverted object. + * @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 object = { 'a': 1, 'b': 2, 'c': 1 }; + * var abc = function(a, b, c) { + * return [a, b, c]; + * }; * - * _.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). + * var curried = _.curry(abc); * - * @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 + * curried(1)(2)(3); + * // => [1, 2, 3] * - * var object = { 'a': 1, 'b': 2, 'c': 1 }; + * curried(1, 2)(3); + * // => [1, 2, 3] * - * _.invertBy(object); - * // => { '1': ['a', 'c'], '2': ['b'] } + * curried(1, 2, 3); + * // => [1, 2, 3] * - * _.invertBy(object, function(value) { - * return 'group' + value; - * }); - * // => { 'group1': ['a', 'c'], 'group2': ['b'] } + * // Curried with placeholders. + * curried(1)(_, 3)(2); + * // => [1, 2, 3] */ - 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); + 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; + } /** - * Invokes the method at `path` of `object`. + * 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 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. + * @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 object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] }; + * var abc = function(a, b, c) { + * return [a, b, c]; + * }; * - * _.invoke(object, 'a[0].b.c.slice', 1, 3); - * // => [2, 3] + * 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] */ - var invoke = baseRest(baseInvoke); + 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 an array of the own enumerable property names of `object`. + * 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:** 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. + * **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 - * @since 0.1.0 * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. + * @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 * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } + * // Avoid costly calculations while the window size is in flux. + * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); * - * Foo.prototype.c = 3; + * // Invoke `sendMail` when clicked, debouncing subsequent calls. + * jQuery(element).on('click', _.debounce(sendMail, 300, { + * 'leading': true, + * 'trailing': false + * })); * - * _.keys(new Foo); - * // => ['a', 'b'] (iteration order is not guaranteed) + * // 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); * - * _.keys('hi'); - * // => ['0', '1'] + * // Cancel the trailing debounced invocation. + * jQuery(window).on('popstate', debounced.cancel); */ - function keys(object) { - return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); + 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; } /** - * Creates an array of the own and inherited enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. + * 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 3.0.0 - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. + * @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 * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keysIn(new Foo); - * // => ['a', 'b', 'c'] (iteration order is not guaranteed) + * _.defer(function(text) { + * console.log(text); + * }, 'deferred'); + * // => Logs 'deferred' after one millisecond. */ - function keysIn(object) { - return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object); - } + var defer = baseRest(function(func, args) { + return baseDelay(func, 1, args); + }); /** - * 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). + * Invokes `func` after `wait` milliseconds. Any additional arguments are + * provided to `func` when it's invoked. * * @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 + * @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 * - * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) { - * return key + value; - * }); - * // => { 'a1': 1, 'b2': 2 } + * _.delay(function(text) { + * console.log(text); + * }, 1000, 'later'); + * // => Logs 'later' after one second. */ - 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; - } + var delay = baseRest(function(func, wait, args) { + return baseDelay(func, toNumber(wait) || 0, args); + }); - /** - * 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). + /** + * Creates a function that invokes `func` with arguments reversed. * * @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 + * @since 4.0.0 + * @category Function + * @param {Function} func The function to flip arguments for. + * @returns {Function} Returns the new flipped function. * @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) + * var flipped = _.flip(function() { + * return _.toArray(arguments); + * }); * - * // The `_.property` iteratee shorthand. - * _.mapValues(users, 'age'); - * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed) + * flipped('a', 'b', 'c', 'd'); + * // => ['d', 'c', 'b', 'a'] */ - 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; + function flip(func) { + return createWrap(func, WRAP_FLIP_FLAG); } /** - * 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. + * 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:** This method mutates `object`. + * **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.5.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. + * @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': [{ 'b': 2 }, { 'd': 4 }] - * }; + * var object = { 'a': 1, 'b': 2 }; + * var other = { 'c': 3, 'd': 4 }; * - * var other = { - * 'a': [{ 'c': 3 }, { 'e': 5 }] - * }; + * var values = _.memoize(_.values); + * values(object); + * // => [1, 2] * - * _.merge(object, other); - * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] } + * 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; */ - var merge = createAssigner(function(object, source, srcIndex) { - baseMerge(object, source, srcIndex); - }); + 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; /** - * 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`. + * 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 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`. + * @since 3.0.0 + * @category Function + * @param {Function} predicate The predicate to negate. + * @returns {Function} Returns the new negated function. * @example * - * function customizer(objValue, srcValue) { - * if (_.isArray(objValue)) { - * return objValue.concat(srcValue); - * } + * function isEven(n) { + * return n % 2 == 0; * } * - * var object = { 'a': [1], 'b': [2] }; - * var other = { 'a': [3], 'b': [4] }; - * - * _.mergeWith(object, other, customizer); - * // => { 'a': [1, 3], 'b': [2, 4] } + * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven)); + * // => [1, 3, 5] */ - var mergeWith = createAssigner(function(object, source, srcIndex, customizer) { - baseMerge(object, source, srcIndex, customizer); - }); + 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); + }; + } /** - * 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`. + * 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 - * @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. + * @since 0.1.0 + * @category Function + * @param {Function} func The function to restrict. + * @returns {Function} Returns the new restricted function. * @example * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.omit(object, ['a', 'c']); - * // => { 'b': '2' } + * var initialize = _.once(createApplication); + * initialize(); + * initialize(); + * // => `createApplication` is invoked once */ - 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; - }); + function once(func) { + return before(2, func); + } /** - * 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). + * Creates a function that invokes `func` with its arguments transformed. * * @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. + * @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 * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * function doubled(n) { + * return n * 2; + * } * - * _.omitBy(object, _.isNumber); - * // => { 'b': '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] */ - function omitBy(object, predicate) { - return pickBy(object, negate(getIteratee(predicate))); - } + 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 an object composed of the picked `object` properties. + * 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 - * @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. + * @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 * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * function greet(greeting, name) { + * return greeting + ' ' + name; + * } * - * _.pick(object, ['a', 'c']); - * // => { 'a': 1, 'c': 3 } + * var sayHelloTo = _.partial(greet, 'hello'); + * sayHelloTo('fred'); + * // => 'hello fred' + * + * // Partially applied with placeholders. + * var greetFred = _.partial(greet, _, 'fred'); + * greetFred('hi'); + * // => 'hi fred' */ - var pick = flatRest(function(object, paths) { - return object == null ? {} : basePick(object, paths); + var partial = baseRest(function(func, partials) { + var holders = replaceHolders(partials, getHolder(partial)); + return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders); }); /** - * Creates an object composed of the `object` properties `predicate` returns - * truthy for. The predicate is invoked with two arguments: (value, key). + * 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 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. + * @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 * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * function greet(greeting, name) { + * return greeting + ' ' + name; + * } * - * _.pickBy(object, _.isNumber); - * // => { 'a': 1, 'c': 3 } + * var greetFred = _.partialRight(greet, 'fred'); + * greetFred('hi'); + * // => 'hi fred' + * + * // Partially applied with placeholders. + * var sayHelloTo = _.partialRight(greet, 'hello', _); + * sayHelloTo('fred'); + * // => 'hello fred' */ - 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]); - }); - } + var partialRight = baseRest(function(func, partials) { + var holders = replaceHolders(partials, getHolder(partialRight)); + return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders); + }); /** - * 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. + * 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 - * @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. + * @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 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' + * var rearged = _.rearg(function(a, b, c) { + * return [a, b, c]; + * }, [2, 0, 1]); * - * _.result(object, 'a[0].b.c3', _.constant('default')); - * // => 'default' + * rearged('b', 'c', 'a') + * // => ['a', 'b', 'c'] */ - 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; - } + var rearg = flatRest(function(func, indexes) { + return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes); + }); /** - * 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. + * 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 mutates `object`. + * **Note:** This method is based on the + * [rest parameter](https://mdn.io/rest_parameters). * * @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`. + * @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 object = { 'a': [{ 'b': { 'c': 3 } }] }; - * - * _.set(object, 'a[0].b.c', 4); - * console.log(object.a[0].b.c); - * // => 4 + * var say = _.rest(function(what, names) { + * return what + ' ' + _.initial(names).join(', ') + + * (_.size(names) > 1 ? ', & ' : '') + _.last(names); + * }); * - * _.set(object, ['x', '0', 'y', 'z'], 5); - * console.log(object.x[0].y.z); - * // => 5 + * say('hello', 'fred', 'barney', 'pebbles'); + * // => 'hello fred, barney, & pebbles' */ - function set(object, path, value) { - return object == null ? object : baseSet(object, path, value); + function rest(func, start) { + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + start = start === undefined ? start : toInteger(start); + return baseRest(func, start); } /** - * 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). + * 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 mutates `object`. + * **Note:** This method is based on the + * [spread operator](https://mdn.io/spread_operator). * * @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`. + * @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 object = {}; + * var say = _.spread(function(who, what) { + * return who + ' says ' + what; + * }); * - * _.setWith(object, '[0][1]', 'a', Object); - * // => { '0': { '1': 'a' } } + * 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 setWith(object, path, value, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return object == null ? object : baseSet(object, path, value, customizer); + 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 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. + * 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 4.0.0 - * @alias entries - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the key-value pairs. + * @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 * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } + * // Avoid excessively updating the position while scrolling. + * jQuery(window).on('scroll', _.throttle(updatePosition, 100)); * - * Foo.prototype.c = 3; + * // 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); * - * _.toPairs(new Foo); - * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed) + * // Cancel the trailing throttled invocation. + * jQuery(window).on('popstate', throttled.cancel); */ - var toPairs = createToPairs(keys); + 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 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. + * Creates a function that accepts up to one argument, ignoring any + * additional arguments. * * @static * @memberOf _ * @since 4.0.0 - * @alias entriesIn - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the key-value pairs. + * @category Function + * @param {Function} func The function to cap arguments for. + * @returns {Function} Returns the new capped function. * @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) + * _.map(['6', '8', '10'], _.unary(parseInt)); + * // => [6, 8, 10] */ - var toPairsIn = createToPairs(keysIn); + function unary(func) { + return ary(func, 1); + } /** - * 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`. + * 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 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. + * @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 * - * _.transform([2, 3, 4], function(result, n) { - * result.push(n *= n); - * return n % 2 == 0; - * }, []); - * // => [4, 9] + * var p = _.wrap(_.escape, function(func, text) { + * return '

' + func(text) + '

'; + * }); * - * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) { - * (result[value] || (result[value] = [])).push(key); - * }, {}); - * // => { '1': ['a', 'c'], '2': ['b'] } + * p('fred, barney, & pebbles'); + * // => '

fred, barney, & pebbles

' */ - 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; + function wrap(value, wrapper) { + return partial(castFunction(wrapper), value); } + /*------------------------------------------------------------------------*/ + /** - * Removes the property at `path` of `object`. - * - * **Note:** This method mutates `object`. + * Casts `value` as an array if it's not one. * * @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`. + * @since 4.4.0 + * @category Lang + * @param {*} value The value to inspect. + * @returns {Array} Returns the cast array. * @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 + * _.castArray(1); + * // => [1] * - * 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). + * _.castArray({ 'a': 1 }); + * // => [{ 'a': 1 }] * - * **Note:** This method mutates `object`. + * _.castArray('abc'); + * // => ['abc'] * - * @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 + * _.castArray(null); + * // => [null] * - * var object = { 'a': [{ 'b': { 'c': 3 } }] }; + * _.castArray(undefined); + * // => [undefined] * - * _.update(object, 'a[0].b.c', function(n) { return n * n; }); - * console.log(object.a[0].b.c); - * // => 9 + * _.castArray(); + * // => [] * - * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; }); - * console.log(object.x[0].y.z); - * // => 0 + * var array = [1, 2, 3]; + * console.log(_.castArray(array) === array); + * // => true */ - function update(object, path, updater) { - return object == null ? object : baseUpdate(object, path, castFunction(updater)); + function castArray() { + if (!arguments.length) { + return []; + } + var value = arguments[0]; + return isArray(value) ? value : [value]; } /** - * 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). + * Creates a shallow clone of `value`. * - * **Note:** This method mutates `object`. + * **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 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`. + * @since 0.1.0 + * @category Lang + * @param {*} value The value to clone. + * @returns {*} Returns the cloned value. + * @see _.cloneDeep * @example * - * var object = {}; + * var objects = [{ 'a': 1 }, { 'b': 2 }]; * - * _.updateWith(object, '[0][1]', _.constant('a'), Object); - * // => { '0': { '1': 'a' } } + * var shallow = _.clone(objects); + * console.log(shallow[0] === objects[0]); + * // => true */ - function updateWith(object, path, updater, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer); + function clone(value) { + return baseClone(value, CLONE_SYMBOLS_FLAG); } /** - * Creates an array of the own enumerable string keyed property values of `object`. - * - * **Note:** Non-object values are coerced to objects. + * 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 - * @since 0.1.0 * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property values. + * @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 Foo() { - * this.a = 1; - * this.b = 2; + * function customizer(value) { + * if (_.isElement(value)) { + * return value.cloneNode(false); + * } * } * - * Foo.prototype.c = 3; - * - * _.values(new Foo); - * // => [1, 2] (iteration order is not guaranteed) + * var el = _.cloneWith(document.body, customizer); * - * _.values('hi'); - * // => ['h', 'i'] + * console.log(el === document.body); + * // => false + * console.log(el.nodeName); + * // => 'BODY' + * console.log(el.childNodes.length); + * // => 0 */ - function values(object) { - return object == null ? [] : baseValues(object, keys(object)); + function cloneWith(value, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + return baseClone(value, CLONE_SYMBOLS_FLAG, customizer); } /** - * Creates an array of the own and inherited enumerable string keyed property - * values of `object`. - * - * **Note:** Non-object values are coerced to objects. + * This method is like `_.clone` except that it recursively clones `value`. * * @static * @memberOf _ - * @since 3.0.0 - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property values. + * @since 1.0.0 + * @category Lang + * @param {*} value The value to recursively clone. + * @returns {*} Returns the deep cloned value. + * @see _.clone * @example * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; + * var objects = [{ 'a': 1 }, { 'b': 2 }]; * - * _.valuesIn(new Foo); - * // => [1, 2, 3] (iteration order is not guaranteed) + * var deep = _.cloneDeep(objects); + * console.log(deep[0] === objects[0]); + * // => false */ - function valuesIn(object) { - return object == null ? [] : baseValues(object, keysIn(object)); + function cloneDeep(value) { + return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG); } - /*------------------------------------------------------------------------*/ - /** - * Clamps `number` within the inclusive `lower` and `upper` bounds. + * This method is like `_.cloneWith` except that it recursively clones `value`. * * @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. + * @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 * - * _.clamp(-10, -5, 5); - * // => -5 + * function customizer(value) { + * if (_.isElement(value)) { + * return value.cloneNode(true); + * } + * } * - * _.clamp(10, -5, 5); - * // => 5 + * var el = _.cloneDeepWith(document.body, customizer); + * + * console.log(el === document.body); + * // => false + * console.log(el.nodeName); + * // => 'BODY' + * console.log(el.childNodes.length); + * // => 20 */ - 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); + function cloneDeepWith(value, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer); } /** - * 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. + * 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 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 + * @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 * - * _.inRange(3, 2, 4); - * // => true - * - * _.inRange(4, 8); - * // => true - * - * _.inRange(4, 2); - * // => false - * - * _.inRange(2, 2); - * // => false + * var object = { 'a': 1, 'b': 2 }; * - * _.inRange(1.2, 2); + * _.conformsTo(object, { 'b': function(n) { return n > 1; } }); * // => true * - * _.inRange(5.2, 4); + * _.conformsTo(object, { 'b': function(n) { return n > 2; } }); * // => 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); + function conformsTo(object, source) { + return source == null || baseConformsTo(object, source, keys(source)); } /** - * 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. + * 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 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); + * @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); } - /*------------------------------------------------------------------------*/ - /** - * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase). + * Checks if `value` is greater than `other`. * * @static * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the camel cased string. + * @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 * - * _.camelCase('Foo Bar'); - * // => 'fooBar' + * _.gt(3, 1); + * // => true * - * _.camelCase('--foo-bar--'); - * // => 'fooBar' + * _.gt(3, 3); + * // => false * - * _.camelCase('__FOO_BAR__'); - * // => 'fooBar' + * _.gt(1, 3); + * // => false */ - var camelCase = createCompounder(function(result, word, index) { - word = word.toLowerCase(); - return result + (index ? capitalize(word) : word); - }); + var gt = createRelationalOperation(baseGt); /** - * Converts the first character of `string` to upper case and the remaining - * to lower case. + * Checks if `value` is greater than or equal to `other`. * * @static * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to capitalize. - * @returns {string} Returns the capitalized string. + * @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 * - * _.capitalize('FRED'); - * // => 'Fred' + * _.gte(3, 1); + * // => true + * + * _.gte(3, 3); + * // => true + * + * _.gte(1, 3); + * // => false */ - function capitalize(string) { - return upperFirst(toString(string).toLowerCase()); - } + var gte = createRelationalOperation(function(value, other) { + return value >= other; + }); /** - * 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). + * Checks if `value` is likely an `arguments` object. * * @static * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to deburr. - * @returns {string} Returns the deburred string. + * @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 * - * _.deburr('déjà vu'); - * // => 'deja vu' + * _.isArguments(function() { return arguments; }()); + * // => true + * + * _.isArguments([1, 2, 3]); + * // => false */ - function deburr(string) { - string = toString(string); - return string && string.replace(reLatin, deburrLetter).replace(reComboMark, ''); - } + var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { + return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && + !propertyIsEnumerable.call(value, 'callee'); + }; /** - * Checks if `string` ends with the given target string. + * Checks if `value` is classified as an `Array` object. * * @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`. + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array, else `false`. * @example * - * _.endsWith('abc', 'c'); + * _.isArray([1, 2, 3]); * // => true * - * _.endsWith('abc', 'b'); + * _.isArray(document.body.children); * // => false * - * _.endsWith('abc', 'b', 2); - * // => true + * _.isArray('abc'); + * // => false + * + * _.isArray(_.noop); + * // => false */ - 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; - } + var isArray = Array.isArray; /** - * Converts the characters "&", "<", ">", '"', and "'" in `string` to their - * corresponding HTML entities. + * Checks if `value` is classified as an `ArrayBuffer` object. * - * **Note:** No other characters are escaped. To escape additional - * characters use a third-party library like [_he_](https://mths.be/he). + * @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 * - * 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. + * _.isArrayBuffer(new ArrayBuffer(2)); + * // => true * - * When working with HTML you should always - * [quote attribute values](http://wonko.com/post/html-escaping) to reduce - * XSS vectors. + * _.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 - * @since 0.1.0 * @memberOf _ - * @category String - * @param {string} [string=''] The string to escape. - * @returns {string} Returns the escaped string. + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is array-like, else `false`. * @example * - * _.escape('fred, barney, & pebbles'); - * // => 'fred, barney, & pebbles' + * _.isArrayLike([1, 2, 3]); + * // => true + * + * _.isArrayLike(document.body.children); + * // => true + * + * _.isArrayLike('abc'); + * // => true + * + * _.isArrayLike(_.noop); + * // => false */ - function escape(string) { - string = toString(string); - return (string && reHasUnescapedHtml.test(string)) - ? string.replace(reUnescapedHtml, escapeHtmlChar) - : string; + function isArrayLike(value) { + return value != null && isLength(value.length) && !isFunction(value); } /** - * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+", - * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`. + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. * * @static * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to escape. - * @returns {string} Returns the escaped string. + * @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 * - * _.escapeRegExp('[lodash](https://lodash.com/)'); - * // => '\[lodash\]\(https://lodash\.com/\)' + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false */ - function escapeRegExp(string) { - string = toString(string); - return (string && reHasRegExpChar.test(string)) - ? string.replace(reRegExpChar, '\\$&') - : string; + function isArrayLikeObject(value) { + return isObjectLike(value) && isArrayLike(value); } /** - * Converts `string` to - * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles). + * Checks if `value` is classified as a boolean primitive or object. * * @static * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the kebab cased string. + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a boolean, else `false`. * @example * - * _.kebabCase('Foo Bar'); - * // => 'foo-bar' - * - * _.kebabCase('fooBar'); - * // => 'foo-bar' + * _.isBoolean(false); + * // => true * - * _.kebabCase('__FOO_BAR__'); - * // => 'foo-bar' + * _.isBoolean(null); + * // => false */ - var kebabCase = createCompounder(function(result, word, index) { - return result + (index ? '-' : '') + word.toLowerCase(); - }); + function isBoolean(value) { + return value === true || value === false || + (isObjectLike(value) && baseGetTag(value) == boolTag); + } /** - * Converts `string`, as space separated words, to lower case. + * Checks if `value` is a buffer. * * @static * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the lower cased string. + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. * @example * - * _.lowerCase('--Foo-Bar--'); - * // => 'foo bar' - * - * _.lowerCase('fooBar'); - * // => 'foo bar' + * _.isBuffer(new Buffer(2)); + * // => true * - * _.lowerCase('__FOO_BAR__'); - * // => 'foo bar' + * _.isBuffer(new Uint8Array(2)); + * // => false */ - var lowerCase = createCompounder(function(result, word, index) { - return result + (index ? ' ' : '') + word.toLowerCase(); - }); + var isBuffer = nativeIsBuffer || stubFalse; /** - * Converts the first character of `string` to lower case. + * Checks if `value` is classified as a `Date` object. * * @static * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the converted string. + * @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 * - * _.lowerFirst('Fred'); - * // => 'fred' + * _.isDate(new Date); + * // => true * - * _.lowerFirst('FRED'); - * // => 'fRED' + * _.isDate('Mon April 23 2012'); + * // => false */ - var lowerFirst = createCaseFirst('toLowerCase'); + var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate; /** - * 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`. + * Checks if `value` is likely a DOM element. * * @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. + * @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 * - * _.pad('abc', 8); - * // => ' abc ' - * - * _.pad('abc', 8, '_-'); - * // => '_-abc_-_' + * _.isElement(document.body); + * // => true * - * _.pad('abc', 3); - * // => 'abc' + * _.isElement(''); + * // => false */ - 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) - ); + function isElement(value) { + return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value); } /** - * Pads `string` on the right side if it's shorter than `length`. Padding - * characters are truncated if they exceed `length`. + * 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 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. + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is empty, else `false`. * @example * - * _.padEnd('abc', 6); - * // => 'abc ' + * _.isEmpty(null); + * // => true * - * _.padEnd('abc', 6, '_-'); - * // => 'abc_-_' + * _.isEmpty(true); + * // => true * - * _.padEnd('abc', 3); - * // => 'abc' + * _.isEmpty(1); + * // => true + * + * _.isEmpty([1, 2, 3]); + * // => false + * + * _.isEmpty({ 'a': 1 }); + * // => false */ - 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; + 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; } /** - * Pads `string` on the left side if it's shorter than `length`. Padding - * characters are truncated if they exceed `length`. + * 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 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. + * @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 * - * _.padStart('abc', 6); - * // => ' abc' + * var object = { 'a': 1 }; + * var other = { 'a': 1 }; * - * _.padStart('abc', 6, '_-'); - * // => '_-_abc' + * _.isEqual(object, other); + * // => true * - * _.padStart('abc', 3); - * // => 'abc' + * object === other; + * // => false */ - 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; + function isEqual(value, other) { + return baseIsEqual(value, other); } /** - * 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`. + * 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 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. + * @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 * - * _.parseInt('08'); - * // => 8 + * function isGreeting(value) { + * return /^h(?:i|ello)$/.test(value); + * } * - * _.map(['6', '08', '10'], _.parseInt); - * // => [6, 8, 10] + * 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 parseInt(string, radix, guard) { - if (guard || radix == null) { - radix = 0; - } else if (radix) { - radix = +radix; - } - return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0); + 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; } /** - * Repeats the given string `n` times. + * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`, + * `SyntaxError`, `TypeError`, or `URIError` object. * * @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. + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an error object, else `false`. * @example * - * _.repeat('*', 3); - * // => '***' - * - * _.repeat('abc', 2); - * // => 'abcabc' + * _.isError(new Error); + * // => true * - * _.repeat('abc', 0); - * // => '' + * _.isError(Error); + * // => false */ - function repeat(string, n, guard) { - if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) { - n = 1; - } else { - n = toInteger(n); + function isError(value) { + if (!isObjectLike(value)) { + return false; } - return baseRepeat(toString(string), n); + var tag = baseGetTag(value); + return tag == errorTag || tag == domExcTag || + (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value)); } /** - * Replaces matches for `pattern` in `string` with `replacement`. + * Checks if `value` is a finite primitive number. * * **Note:** This method is based on - * [`String#replace`](https://mdn.io/String/replace). + * [`Number.isFinite`](https://mdn.io/Number/isFinite). * * @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. + * @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 * - * _.replace('Hi Fred', 'Fred', 'Barney'); - * // => 'Hi Barney' + * _.isFinite(3); + * // => true + * + * _.isFinite(Number.MIN_VALUE); + * // => true + * + * _.isFinite(Infinity); + * // => false + * + * _.isFinite('3'); + * // => false */ - function replace() { - var args = arguments, - string = toString(args[0]); - - return args.length < 3 ? string : string.replace(args[1], args[2]); + function isFinite(value) { + return typeof value == 'number' && nativeIsFinite(value); } /** - * Converts `string` to - * [snake case](https://en.wikipedia.org/wiki/Snake_case). + * Checks if `value` is classified as a `Function` object. * * @static * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the snake cased string. + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a function, else `false`. * @example * - * _.snakeCase('Foo Bar'); - * // => 'foo_bar' - * - * _.snakeCase('fooBar'); - * // => 'foo_bar' + * _.isFunction(_); + * // => true * - * _.snakeCase('--FOO-BAR--'); - * // => 'foo_bar' + * _.isFunction(/abc/); + * // => false */ - var snakeCase = createCompounder(function(result, word, index) { - return result + (index ? '_' : '') + word.toLowerCase(); - }); + 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; + } /** - * Splits `string` by `separator`. + * Checks if `value` is an integer. * * **Note:** This method is based on - * [`String#split`](https://mdn.io/String/split). + * [`Number.isInteger`](https://mdn.io/Number/isInteger). * * @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. + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an integer, else `false`. * @example * - * _.split('a-b-c', '-', 2); - * // => ['a', 'b'] + * _.isInteger(3); + * // => true + * + * _.isInteger(Number.MIN_VALUE); + * // => false + * + * _.isInteger(Infinity); + * // => false + * + * _.isInteger('3'); + * // => false */ - 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); + function isInteger(value) { + return typeof value == 'number' && value == toInteger(value); } /** - * Converts `string` to - * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage). + * 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 3.1.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the start cased string. + * @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 * - * _.startCase('--foo-bar--'); - * // => 'Foo Bar' + * _.isLength(3); + * // => true * - * _.startCase('fooBar'); - * // => 'Foo Bar' + * _.isLength(Number.MIN_VALUE); + * // => false * - * _.startCase('__FOO_BAR__'); - * // => 'FOO BAR' + * _.isLength(Infinity); + * // => false + * + * _.isLength('3'); + * // => false */ - var startCase = createCompounder(function(result, word, index) { - return result + (index ? ' ' : '') + upperFirst(word); - }); + function isLength(value) { + return typeof value == 'number' && + value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; + } /** - * Checks if `string` starts with the given target string. + * 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 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`. + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. * @example * - * _.startsWith('abc', 'a'); + * _.isObject({}); * // => true * - * _.startsWith('abc', 'b'); - * // => false + * _.isObject([1, 2, 3]); + * // => true * - * _.startsWith('abc', 'b', 1); + * _.isObject(_.noop); * // => true + * + * _.isObject(null); + * // => false */ - 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; + function isObject(value) { + var type = typeof value; + return value != null && (type == 'object' || type == 'function'); } /** - * 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). + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". * * @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. + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. * @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': '