diff --git a/README.md b/README.md
index e3b4e890..a06c9318 100644
--- a/README.md
+++ b/README.md
@@ -157,7 +157,7 @@ Use the following steps to prepare your workflow for running on your EC2 self-ho
For Amazon Linux 2, it looks like the following:
- ```
+ ```.shell
sudo yum update -y && \
sudo yum install docker -y && \
sudo yum install git -y && \
@@ -167,6 +167,22 @@ Use the following steps to prepare your workflow for running on your EC2 self-ho
For other Linux distributions, it could be slightly different.
+ For a Windows server instance, it looks like the following:
+
+ Note: This must be done over RDP since `choco install git` doesn't seem to install correctly over a session manager
+ connection
+
+ ```.ps1
+ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
+ choco install git
+
+ # Remove existing user data run once file (this is so that the user-data being set on instance start actually runs).
+ rm C:\ProgramData\Amazon\EC2Launch\state\.run-once
+ ```
+ Note: The `.run-once` file needs to be deleted with every start of the instance you are snapshotting.
+ If you stop and reboot the instance a few times please make sure you delete the `.run-once` file before creating the
+ AMI.
+
3. Install any other tools required for your workflow.
4. Create a new EC2 image (AMI) from the instance.
5. Remove the instance if not required anymore after the image is created.
@@ -193,11 +209,12 @@ 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 runner 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-os` | Optional. Used only with the `start` mode. | Base OS type of the EC2 image (AMI). This defaults to Linux. The new runner needs to be configured based on OS:
- `windows`
- `linux` |
| `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. |
@@ -205,6 +222,7 @@ Now you're ready to go!
| `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.
|
+| `aws-key-pair-name` | Optional. Used only with the `start` mode. | Specifies a key pair to add to the instance when launching it |
| `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
|
@@ -255,6 +273,7 @@ jobs:
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
ec2-image-id: ami-123
ec2-instance-type: t3.nano
+ ec2-base-os: linux-x64
subnet-id: subnet-123
security-group-id: sg-123
iam-role-name: my-role-name # optional, requires additional permissions
diff --git a/action.yml b/action.yml
index ea4aea71..e48aa21f 100644
--- a/action.yml
+++ b/action.yml
@@ -1,4 +1,4 @@
-name: On-demand self-hosted AWS EC2 runner for GitHub Actions
+name: On-demand self-hosted AWS EC2 runner for GitHub Actions with windows support
description: GitHub Action for automatic creation and registration AWS EC2 instance as a GitHub Actions self-hosted runner.
author: Volodymyr Machula
branding:
@@ -25,6 +25,13 @@ inputs:
EC2 Instance Type.
This input is required if you use the 'start' mode.
required: false
+ ec2-os:
+ description: >-
+ Base OS type of the EC2 image (AMI). The new runner needs to be configured based on OS and architecture:
+ - 'windows'
+ - 'linux'
+ required: false
+ default: linux
subnet-id:
description: >-
VPC Subnet Id. The subnet should belong to the same VPC as the specified security group.
@@ -43,6 +50,10 @@ inputs:
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
+ number-of-instances:
+ description: >-
+ The number of instances to be launched
+ required: false
ec2-instance-id:
description: >-
EC2 Instance Id of the created runner.
@@ -65,6 +76,10 @@ inputs:
description: >-
Directory that contains actions-runner software and scripts. E.g. /home/runner/actions-runner.
required: false
+ aws-key-pair-name:
+ description: >-
+ The AWS Key Pair Name to be associated to the instance
+ required: false
pre-runner-script:
description: >-
Specifies bash commands to run before the runner starts. It's useful for installing dependencies with apt-get, yum, dnf, etc.
diff --git a/dist/index.js b/dist/index.js
index a399f10c..3b489553 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -2,6 +2,38 @@ module.exports =
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
+/***/ 10575:
+/***/ ((module) => {
+
+"use strict";
+module.exports = JSON.parse("{\"name\":\"@aws-sdk/client-ec2\",\"description\":\"AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native\",\"version\":\"3.423.0\",\"scripts\":{\"build\":\"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'\",\"build:cjs\":\"tsc -p tsconfig.cjs.json\",\"build:docs\":\"typedoc\",\"build:es\":\"tsc -p tsconfig.es.json\",\"build:include:deps\":\"lerna run --scope $npm_package_name --include-dependencies build\",\"build:types\":\"tsc -p tsconfig.types.json\",\"build:types:downlevel\":\"downlevel-dts dist-types dist-types/ts3.4\",\"clean\":\"rimraf ./dist-* && rimraf *.tsbuildinfo\",\"extract:docs\":\"api-extractor run --local\",\"generate:client\":\"node ../../scripts/generate-clients/single-service --solo ec2\"},\"main\":\"./dist-cjs/index.js\",\"types\":\"./dist-types/index.d.ts\",\"module\":\"./dist-es/index.js\",\"sideEffects\":false,\"dependencies\":{\"@aws-crypto/sha256-browser\":\"3.0.0\",\"@aws-crypto/sha256-js\":\"3.0.0\",\"@aws-sdk/client-sts\":\"3.423.0\",\"@aws-sdk/credential-provider-node\":\"3.423.0\",\"@aws-sdk/middleware-host-header\":\"3.418.0\",\"@aws-sdk/middleware-logger\":\"3.418.0\",\"@aws-sdk/middleware-recursion-detection\":\"3.418.0\",\"@aws-sdk/middleware-sdk-ec2\":\"3.423.0\",\"@aws-sdk/middleware-signing\":\"3.418.0\",\"@aws-sdk/middleware-user-agent\":\"3.418.0\",\"@aws-sdk/region-config-resolver\":\"3.418.0\",\"@aws-sdk/types\":\"3.418.0\",\"@aws-sdk/util-endpoints\":\"3.418.0\",\"@aws-sdk/util-user-agent-browser\":\"3.418.0\",\"@aws-sdk/util-user-agent-node\":\"3.418.0\",\"@smithy/config-resolver\":\"^2.0.10\",\"@smithy/fetch-http-handler\":\"^2.1.5\",\"@smithy/hash-node\":\"^2.0.9\",\"@smithy/invalid-dependency\":\"^2.0.9\",\"@smithy/middleware-content-length\":\"^2.0.11\",\"@smithy/middleware-endpoint\":\"^2.0.9\",\"@smithy/middleware-retry\":\"^2.0.12\",\"@smithy/middleware-serde\":\"^2.0.9\",\"@smithy/middleware-stack\":\"^2.0.2\",\"@smithy/node-config-provider\":\"^2.0.12\",\"@smithy/node-http-handler\":\"^2.1.5\",\"@smithy/protocol-http\":\"^3.0.5\",\"@smithy/smithy-client\":\"^2.1.6\",\"@smithy/types\":\"^2.3.3\",\"@smithy/url-parser\":\"^2.0.9\",\"@smithy/util-base64\":\"^2.0.0\",\"@smithy/util-body-length-browser\":\"^2.0.0\",\"@smithy/util-body-length-node\":\"^2.1.0\",\"@smithy/util-defaults-mode-browser\":\"^2.0.10\",\"@smithy/util-defaults-mode-node\":\"^2.0.12\",\"@smithy/util-retry\":\"^2.0.2\",\"@smithy/util-utf8\":\"^2.0.0\",\"@smithy/util-waiter\":\"^2.0.9\",\"fast-xml-parser\":\"4.2.5\",\"tslib\":\"^2.5.0\",\"uuid\":\"^8.3.2\"},\"devDependencies\":{\"@smithy/service-client-documentation-generator\":\"^2.0.0\",\"@tsconfig/node14\":\"1.0.3\",\"@types/node\":\"^14.14.31\",\"@types/uuid\":\"^8.3.0\",\"concurrently\":\"7.0.0\",\"downlevel-dts\":\"0.10.1\",\"rimraf\":\"3.0.2\",\"typedoc\":\"0.23.23\",\"typescript\":\"~4.9.5\"},\"engines\":{\"node\":\">=14.0.0\"},\"typesVersions\":{\"<4.0\":{\"dist-types/*\":[\"dist-types/ts3.4/*\"]}},\"files\":[\"dist-*/**\"],\"author\":{\"name\":\"AWS SDK for JavaScript Team\",\"url\":\"https://aws.amazon.com/javascript/\"},\"license\":\"Apache-2.0\",\"browser\":{\"./dist-es/runtimeConfig\":\"./dist-es/runtimeConfig.browser\"},\"react-native\":{\"./dist-es/runtimeConfig\":\"./dist-es/runtimeConfig.native\"},\"homepage\":\"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/aws/aws-sdk-js-v3.git\",\"directory\":\"clients/client-ec2\"}}");
+
+/***/ }),
+
+/***/ 63966:
+/***/ ((module) => {
+
+"use strict";
+module.exports = JSON.parse("{\"name\":\"@aws-sdk/client-sso\",\"description\":\"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native\",\"version\":\"3.423.0\",\"scripts\":{\"build\":\"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'\",\"build:cjs\":\"tsc -p tsconfig.cjs.json\",\"build:docs\":\"typedoc\",\"build:es\":\"tsc -p tsconfig.es.json\",\"build:include:deps\":\"lerna run --scope $npm_package_name --include-dependencies build\",\"build:types\":\"tsc -p tsconfig.types.json\",\"build:types:downlevel\":\"downlevel-dts dist-types dist-types/ts3.4\",\"clean\":\"rimraf ./dist-* && rimraf *.tsbuildinfo\",\"extract:docs\":\"api-extractor run --local\",\"generate:client\":\"node ../../scripts/generate-clients/single-service --solo sso\"},\"main\":\"./dist-cjs/index.js\",\"types\":\"./dist-types/index.d.ts\",\"module\":\"./dist-es/index.js\",\"sideEffects\":false,\"dependencies\":{\"@aws-crypto/sha256-browser\":\"3.0.0\",\"@aws-crypto/sha256-js\":\"3.0.0\",\"@aws-sdk/middleware-host-header\":\"3.418.0\",\"@aws-sdk/middleware-logger\":\"3.418.0\",\"@aws-sdk/middleware-recursion-detection\":\"3.418.0\",\"@aws-sdk/middleware-user-agent\":\"3.418.0\",\"@aws-sdk/region-config-resolver\":\"3.418.0\",\"@aws-sdk/types\":\"3.418.0\",\"@aws-sdk/util-endpoints\":\"3.418.0\",\"@aws-sdk/util-user-agent-browser\":\"3.418.0\",\"@aws-sdk/util-user-agent-node\":\"3.418.0\",\"@smithy/config-resolver\":\"^2.0.10\",\"@smithy/fetch-http-handler\":\"^2.1.5\",\"@smithy/hash-node\":\"^2.0.9\",\"@smithy/invalid-dependency\":\"^2.0.9\",\"@smithy/middleware-content-length\":\"^2.0.11\",\"@smithy/middleware-endpoint\":\"^2.0.9\",\"@smithy/middleware-retry\":\"^2.0.12\",\"@smithy/middleware-serde\":\"^2.0.9\",\"@smithy/middleware-stack\":\"^2.0.2\",\"@smithy/node-config-provider\":\"^2.0.12\",\"@smithy/node-http-handler\":\"^2.1.5\",\"@smithy/protocol-http\":\"^3.0.5\",\"@smithy/smithy-client\":\"^2.1.6\",\"@smithy/types\":\"^2.3.3\",\"@smithy/url-parser\":\"^2.0.9\",\"@smithy/util-base64\":\"^2.0.0\",\"@smithy/util-body-length-browser\":\"^2.0.0\",\"@smithy/util-body-length-node\":\"^2.1.0\",\"@smithy/util-defaults-mode-browser\":\"^2.0.10\",\"@smithy/util-defaults-mode-node\":\"^2.0.12\",\"@smithy/util-retry\":\"^2.0.2\",\"@smithy/util-utf8\":\"^2.0.0\",\"tslib\":\"^2.5.0\"},\"devDependencies\":{\"@smithy/service-client-documentation-generator\":\"^2.0.0\",\"@tsconfig/node14\":\"1.0.3\",\"@types/node\":\"^14.14.31\",\"concurrently\":\"7.0.0\",\"downlevel-dts\":\"0.10.1\",\"rimraf\":\"3.0.2\",\"typedoc\":\"0.23.23\",\"typescript\":\"~4.9.5\"},\"engines\":{\"node\":\">=14.0.0\"},\"typesVersions\":{\"<4.0\":{\"dist-types/*\":[\"dist-types/ts3.4/*\"]}},\"files\":[\"dist-*/**\"],\"author\":{\"name\":\"AWS SDK for JavaScript Team\",\"url\":\"https://aws.amazon.com/javascript/\"},\"license\":\"Apache-2.0\",\"browser\":{\"./dist-es/runtimeConfig\":\"./dist-es/runtimeConfig.browser\"},\"react-native\":{\"./dist-es/runtimeConfig\":\"./dist-es/runtimeConfig.native\"},\"homepage\":\"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/aws/aws-sdk-js-v3.git\",\"directory\":\"clients/client-sso\"}}");
+
+/***/ }),
+
+/***/ 1121:
+/***/ ((module) => {
+
+"use strict";
+module.exports = JSON.parse("{\"name\":\"@aws-sdk/client-sts\",\"description\":\"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native\",\"version\":\"3.423.0\",\"scripts\":{\"build\":\"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'\",\"build:cjs\":\"tsc -p tsconfig.cjs.json\",\"build:docs\":\"typedoc\",\"build:es\":\"tsc -p tsconfig.es.json\",\"build:include:deps\":\"lerna run --scope $npm_package_name --include-dependencies build\",\"build:types\":\"tsc -p tsconfig.types.json\",\"build:types:downlevel\":\"downlevel-dts dist-types dist-types/ts3.4\",\"clean\":\"rimraf ./dist-* && rimraf *.tsbuildinfo\",\"extract:docs\":\"api-extractor run --local\",\"generate:client\":\"node ../../scripts/generate-clients/single-service --solo sts\",\"test\":\"yarn test:unit\",\"test:unit\":\"jest\"},\"main\":\"./dist-cjs/index.js\",\"types\":\"./dist-types/index.d.ts\",\"module\":\"./dist-es/index.js\",\"sideEffects\":false,\"dependencies\":{\"@aws-crypto/sha256-browser\":\"3.0.0\",\"@aws-crypto/sha256-js\":\"3.0.0\",\"@aws-sdk/credential-provider-node\":\"3.423.0\",\"@aws-sdk/middleware-host-header\":\"3.418.0\",\"@aws-sdk/middleware-logger\":\"3.418.0\",\"@aws-sdk/middleware-recursion-detection\":\"3.418.0\",\"@aws-sdk/middleware-sdk-sts\":\"3.418.0\",\"@aws-sdk/middleware-signing\":\"3.418.0\",\"@aws-sdk/middleware-user-agent\":\"3.418.0\",\"@aws-sdk/region-config-resolver\":\"3.418.0\",\"@aws-sdk/types\":\"3.418.0\",\"@aws-sdk/util-endpoints\":\"3.418.0\",\"@aws-sdk/util-user-agent-browser\":\"3.418.0\",\"@aws-sdk/util-user-agent-node\":\"3.418.0\",\"@smithy/config-resolver\":\"^2.0.10\",\"@smithy/fetch-http-handler\":\"^2.1.5\",\"@smithy/hash-node\":\"^2.0.9\",\"@smithy/invalid-dependency\":\"^2.0.9\",\"@smithy/middleware-content-length\":\"^2.0.11\",\"@smithy/middleware-endpoint\":\"^2.0.9\",\"@smithy/middleware-retry\":\"^2.0.12\",\"@smithy/middleware-serde\":\"^2.0.9\",\"@smithy/middleware-stack\":\"^2.0.2\",\"@smithy/node-config-provider\":\"^2.0.12\",\"@smithy/node-http-handler\":\"^2.1.5\",\"@smithy/protocol-http\":\"^3.0.5\",\"@smithy/smithy-client\":\"^2.1.6\",\"@smithy/types\":\"^2.3.3\",\"@smithy/url-parser\":\"^2.0.9\",\"@smithy/util-base64\":\"^2.0.0\",\"@smithy/util-body-length-browser\":\"^2.0.0\",\"@smithy/util-body-length-node\":\"^2.1.0\",\"@smithy/util-defaults-mode-browser\":\"^2.0.10\",\"@smithy/util-defaults-mode-node\":\"^2.0.12\",\"@smithy/util-retry\":\"^2.0.2\",\"@smithy/util-utf8\":\"^2.0.0\",\"fast-xml-parser\":\"4.2.5\",\"tslib\":\"^2.5.0\"},\"devDependencies\":{\"@smithy/service-client-documentation-generator\":\"^2.0.0\",\"@tsconfig/node14\":\"1.0.3\",\"@types/node\":\"^14.14.31\",\"concurrently\":\"7.0.0\",\"downlevel-dts\":\"0.10.1\",\"rimraf\":\"3.0.2\",\"typedoc\":\"0.23.23\",\"typescript\":\"~4.9.5\"},\"engines\":{\"node\":\">=14.0.0\"},\"typesVersions\":{\"<4.0\":{\"dist-types/*\":[\"dist-types/ts3.4/*\"]}},\"files\":[\"dist-*/**\"],\"author\":{\"name\":\"AWS SDK for JavaScript Team\",\"url\":\"https://aws.amazon.com/javascript/\"},\"license\":\"Apache-2.0\",\"browser\":{\"./dist-es/runtimeConfig\":\"./dist-es/runtimeConfig.browser\"},\"react-native\":{\"./dist-es/runtimeConfig\":\"./dist-es/runtimeConfig.native\"},\"homepage\":\"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/aws/aws-sdk-js-v3.git\",\"directory\":\"clients/client-sts\"}}");
+
+/***/ }),
+
+/***/ 51477:
+/***/ ((module) => {
+
+"use strict";
+module.exports = JSON.parse("{\"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)\"},\"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\"}");
+
+/***/ }),
+
/***/ 87351:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
@@ -2548,6 +2580,10 @@ function checkBypass(reqUrl) {
if (!reqUrl.hostname) {
return false;
}
+ const reqHost = reqUrl.hostname;
+ if (isLoopbackAddress(reqHost)) {
+ return true;
+ }
const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';
if (!noProxy) {
return false;
@@ -2573,69304 +2609,157433 @@ function checkBypass(reqUrl) {
.split(',')
.map(x => x.trim().toUpperCase())
.filter(x => x)) {
- if (upperReqHosts.some(x => x === upperNoProxyItem)) {
+ if (upperNoProxyItem === '*' ||
+ upperReqHosts.some(x => x === upperNoProxyItem ||
+ x.endsWith(`.${upperNoProxyItem}`) ||
+ (upperNoProxyItem.startsWith('.') &&
+ x.endsWith(`${upperNoProxyItem}`)))) {
return true;
}
}
return false;
}
exports.checkBypass = checkBypass;
+function isLoopbackAddress(host) {
+ const hostLower = host.toLowerCase();
+ return (hostLower === 'localhost' ||
+ hostLower.startsWith('127.') ||
+ hostLower.startsWith('[::1]') ||
+ hostLower.startsWith('[0:0:0:0:0:0:0:1]'));
+}
//# sourceMappingURL=proxy.js.map
/***/ }),
-/***/ 40334:
-/***/ ((__unused_webpack_module, exports) => {
+/***/ 32374:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
-
+// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
+// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AwsCrc32 = void 0;
+var tslib_1 = __webpack_require__(42140);
+var util_1 = __webpack_require__(41236);
+var index_1 = __webpack_require__(47327);
+var AwsCrc32 = /** @class */ (function () {
+ function AwsCrc32() {
+ this.crc32 = new index_1.Crc32();
+ }
+ AwsCrc32.prototype.update = function (toHash) {
+ if ((0, util_1.isEmptyData)(toHash))
+ return;
+ this.crc32.update((0, util_1.convertToBuffer)(toHash));
+ };
+ AwsCrc32.prototype.digest = function () {
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
+ return tslib_1.__generator(this, function (_a) {
+ return [2 /*return*/, (0, util_1.numToUint8)(this.crc32.digest())];
+ });
+ });
+ };
+ AwsCrc32.prototype.reset = function () {
+ this.crc32 = new index_1.Crc32();
+ };
+ return AwsCrc32;
+}());
+exports.AwsCrc32 = AwsCrc32;
+//# sourceMappingURL=aws_crc32.js.map
-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}`;
- }
+/***/ 47327:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- return `token ${token}`;
-}
+"use strict";
-async function hook(token, request, route, parameters) {
- const endpoint = request.endpoint.merge(route, parameters);
- endpoint.headers.authorization = withAuthorizationPrefix(token);
- return request(endpoint);
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AwsCrc32 = exports.Crc32 = exports.crc32 = void 0;
+var tslib_1 = __webpack_require__(42140);
+var util_1 = __webpack_require__(41236);
+function crc32(data) {
+ return new Crc32().update(data).digest();
}
+exports.crc32 = crc32;
+var Crc32 = /** @class */ (function () {
+ function Crc32() {
+ this.checksum = 0xffffffff;
+ }
+ Crc32.prototype.update = function (data) {
+ var e_1, _a;
+ try {
+ for (var data_1 = tslib_1.__values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {
+ var byte = data_1_1.value;
+ this.checksum =
+ (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff];
+ }
+ }
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
+ finally {
+ try {
+ if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1);
+ }
+ finally { if (e_1) throw e_1.error; }
+ }
+ return this;
+ };
+ Crc32.prototype.digest = function () {
+ return (this.checksum ^ 0xffffffff) >>> 0;
+ };
+ return Crc32;
+}());
+exports.Crc32 = Crc32;
+// prettier-ignore
+var a_lookUpTable = [
+ 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA,
+ 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,
+ 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,
+ 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,
+ 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,
+ 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,
+ 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC,
+ 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5,
+ 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,
+ 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,
+ 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940,
+ 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,
+ 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116,
+ 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F,
+ 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,
+ 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D,
+ 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A,
+ 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,
+ 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818,
+ 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,
+ 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,
+ 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457,
+ 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C,
+ 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,
+ 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,
+ 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB,
+ 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,
+ 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9,
+ 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086,
+ 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,
+ 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4,
+ 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD,
+ 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,
+ 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683,
+ 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,
+ 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,
+ 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE,
+ 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7,
+ 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,
+ 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,
+ 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252,
+ 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,
+ 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60,
+ 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79,
+ 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,
+ 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F,
+ 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04,
+ 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,
+ 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A,
+ 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,
+ 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,
+ 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21,
+ 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E,
+ 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,
+ 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,
+ 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45,
+ 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,
+ 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB,
+ 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0,
+ 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,
+ 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6,
+ 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF,
+ 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,
+ 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D,
+];
+var lookupTable = (0, util_1.uint32ArrayFrom)(a_lookUpTable);
+var aws_crc32_1 = __webpack_require__(32374);
+Object.defineProperty(exports, "AwsCrc32", ({ enumerable: true, get: function () { return aws_crc32_1.AwsCrc32; } }));
+//# sourceMappingURL=index.js.map
-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)
- });
-};
+/***/ 42140:
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-exports.createTokenAuth = createTokenAuth;
-//# sourceMappingURL=index.js.map
+"use strict";
+__webpack_require__.r(__webpack_exports__);
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ "__extends": () => /* binding */ __extends,
+/* harmony export */ "__assign": () => /* binding */ __assign,
+/* harmony export */ "__rest": () => /* binding */ __rest,
+/* harmony export */ "__decorate": () => /* binding */ __decorate,
+/* harmony export */ "__param": () => /* binding */ __param,
+/* harmony export */ "__metadata": () => /* binding */ __metadata,
+/* harmony export */ "__awaiter": () => /* binding */ __awaiter,
+/* harmony export */ "__generator": () => /* binding */ __generator,
+/* harmony export */ "__createBinding": () => /* binding */ __createBinding,
+/* harmony export */ "__exportStar": () => /* binding */ __exportStar,
+/* harmony export */ "__values": () => /* binding */ __values,
+/* harmony export */ "__read": () => /* binding */ __read,
+/* harmony export */ "__spread": () => /* binding */ __spread,
+/* harmony export */ "__spreadArrays": () => /* binding */ __spreadArrays,
+/* harmony export */ "__await": () => /* binding */ __await,
+/* harmony export */ "__asyncGenerator": () => /* binding */ __asyncGenerator,
+/* harmony export */ "__asyncDelegator": () => /* binding */ __asyncDelegator,
+/* harmony export */ "__asyncValues": () => /* binding */ __asyncValues,
+/* harmony export */ "__makeTemplateObject": () => /* binding */ __makeTemplateObject,
+/* harmony export */ "__importStar": () => /* binding */ __importStar,
+/* harmony export */ "__importDefault": () => /* binding */ __importDefault,
+/* harmony export */ "__classPrivateFieldGet": () => /* binding */ __classPrivateFieldGet,
+/* harmony export */ "__classPrivateFieldSet": () => /* binding */ __classPrivateFieldSet
+/* harmony export */ });
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+***************************************************************************** */
+/* global Reflect, Promise */
+
+var extendStatics = function(d, b) {
+ extendStatics = Object.setPrototypeOf ||
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+ return extendStatics(d, b);
+};
+
+function __extends(d, b) {
+ extendStatics(d, b);
+ function __() { this.constructor = d; }
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+}
+
+var __assign = function() {
+ __assign = Object.assign || function __assign(t) {
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
+ s = arguments[i];
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
+ }
+ return t;
+ }
+ return __assign.apply(this, arguments);
+}
+
+function __rest(s, e) {
+ var t = {};
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
+ t[p] = s[p];
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
+ t[p[i]] = s[p[i]];
+ }
+ return t;
+}
+
+function __decorate(decorators, target, key, desc) {
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
+}
+
+function __param(paramIndex, decorator) {
+ return function (target, key) { decorator(target, key, paramIndex); }
+}
+
+function __metadata(metadataKey, metadataValue) {
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
+}
+
+function __awaiter(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());
+ });
+}
+
+function __generator(thisArg, body) {
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+ function verb(n) { return function (v) { return step([n, v]); }; }
+ function step(op) {
+ if (f) throw new TypeError("Generator is already executing.");
+ while (_) try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+ if (y = 0, t) op = [op[0] & 2, t.value];
+ switch (op[0]) {
+ case 0: case 1: t = op; break;
+ case 4: _.label++; return { value: op[1], done: false };
+ case 5: _.label++; y = op[1]; op = [0]; continue;
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
+ default:
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+ if (t[2]) _.ops.pop();
+ _.trys.pop(); continue;
+ }
+ op = body.call(thisArg, _);
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+ }
+}
+
+function __createBinding(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}
+
+function __exportStar(m, exports) {
+ for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
+}
+
+function __values(o) {
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
+ if (m) return m.call(o);
+ if (o && typeof o.length === "number") return {
+ next: function () {
+ if (o && i >= o.length) o = void 0;
+ return { value: o && o[i++], done: !o };
+ }
+ };
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
+}
+
+function __read(o, n) {
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
+ if (!m) return o;
+ var i = m.call(o), r, ar = [], e;
+ try {
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
+ }
+ catch (error) { e = { error: error }; }
+ finally {
+ try {
+ if (r && !r.done && (m = i["return"])) m.call(i);
+ }
+ finally { if (e) throw e.error; }
+ }
+ return ar;
+}
+
+function __spread() {
+ for (var ar = [], i = 0; i < arguments.length; i++)
+ ar = ar.concat(__read(arguments[i]));
+ return ar;
+}
+
+function __spreadArrays() {
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
+ r[k] = a[j];
+ return r;
+};
+
+function __await(v) {
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
+}
+
+function __asyncGenerator(thisArg, _arguments, generator) {
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
+ function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
+ function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
+ function fulfill(value) { resume("next", value); }
+ function reject(value) { resume("throw", value); }
+ function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
+}
+
+function __asyncDelegator(o) {
+ var i, p;
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
+}
+
+function __asyncValues(o) {
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
+ var m = o[Symbol.asyncIterator], i;
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
+}
+
+function __makeTemplateObject(cooked, raw) {
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
+ return cooked;
+};
+
+function __importStar(mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
+ result.default = mod;
+ return result;
+}
+
+function __importDefault(mod) {
+ return (mod && mod.__esModule) ? mod : { default: mod };
+}
+
+function __classPrivateFieldGet(receiver, privateMap) {
+ if (!privateMap.has(receiver)) {
+ throw new TypeError("attempted to get private field on non-instance");
+ }
+ return privateMap.get(receiver);
+}
+
+function __classPrivateFieldSet(receiver, privateMap, value) {
+ if (!privateMap.has(receiver)) {
+ throw new TypeError("attempted to set private field on non-instance");
+ }
+ privateMap.set(receiver, value);
+ return value;
+}
/***/ }),
-/***/ 76762:
+/***/ 43228:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
-
+// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
+// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.convertToBuffer = void 0;
+var util_utf8_browser_1 = __webpack_require__(28172);
+// Quick polyfill
+var fromUtf8 = typeof Buffer !== "undefined" && Buffer.from
+ ? function (input) { return Buffer.from(input, "utf8"); }
+ : util_utf8_browser_1.fromUtf8;
+function convertToBuffer(data) {
+ // Already a Uint8, do nothing
+ if (data instanceof Uint8Array)
+ return 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);
+}
+exports.convertToBuffer = convertToBuffer;
+//# sourceMappingURL=convertToBuffer.js.map
-var universalUserAgent = __webpack_require__(45030);
-var beforeAfterHook = __webpack_require__(83682);
-var request = __webpack_require__(36234);
-var graphql = __webpack_require__(88467);
-var authToken = __webpack_require__(40334);
-
-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];
- }
+/***/ 41236:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- return target;
-}
+"use strict";
-function _objectWithoutProperties(source, excluded) {
- if (source == null) return {};
+// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
+// SPDX-License-Identifier: Apache-2.0
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.uint32ArrayFrom = exports.numToUint8 = exports.isEmptyData = exports.convertToBuffer = void 0;
+var convertToBuffer_1 = __webpack_require__(43228);
+Object.defineProperty(exports, "convertToBuffer", ({ enumerable: true, get: function () { return convertToBuffer_1.convertToBuffer; } }));
+var isEmptyData_1 = __webpack_require__(18275);
+Object.defineProperty(exports, "isEmptyData", ({ enumerable: true, get: function () { return isEmptyData_1.isEmptyData; } }));
+var numToUint8_1 = __webpack_require__(93775);
+Object.defineProperty(exports, "numToUint8", ({ enumerable: true, get: function () { return numToUint8_1.numToUint8; } }));
+var uint32ArrayFrom_1 = __webpack_require__(39404);
+Object.defineProperty(exports, "uint32ArrayFrom", ({ enumerable: true, get: function () { return uint32ArrayFrom_1.uint32ArrayFrom; } }));
+//# sourceMappingURL=index.js.map
- var target = _objectWithoutPropertiesLoose(source, excluded);
+/***/ }),
- var key, i;
+/***/ 18275:
+/***/ ((__unused_webpack_module, exports) => {
- if (Object.getOwnPropertySymbols) {
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
+"use strict";
- 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];
+// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
+// SPDX-License-Identifier: Apache-2.0
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.isEmptyData = void 0;
+function isEmptyData(data) {
+ if (typeof data === "string") {
+ return data.length === 0;
}
- }
+ return data.byteLength === 0;
+}
+exports.isEmptyData = isEmptyData;
+//# sourceMappingURL=isEmptyData.js.map
- return target;
+/***/ }),
+
+/***/ 93775:
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+
+// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
+// SPDX-License-Identifier: Apache-2.0
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.numToUint8 = void 0;
+function numToUint8(num) {
+ return new Uint8Array([
+ (num & 0xff000000) >> 24,
+ (num & 0x00ff0000) >> 16,
+ (num & 0x0000ff00) >> 8,
+ num & 0x000000ff,
+ ]);
}
+exports.numToUint8 = numToUint8;
+//# sourceMappingURL=numToUint8.js.map
-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
+/***/ 39404:
+/***/ ((__unused_webpack_module, exports) => {
- requestDefaults.headers["user-agent"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(" ");
+"use strict";
- if (options.baseUrl) {
- requestDefaults.baseUrl = options.baseUrl;
+// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
+// SPDX-License-Identifier: Apache-2.0
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.uint32ArrayFrom = void 0;
+// IE 11 does not support Array.from, so we do it manually
+function uint32ArrayFrom(a_lookUpTable) {
+ if (!Uint32Array.from) {
+ var return_array = new Uint32Array(a_lookUpTable.length);
+ var a_index = 0;
+ while (a_index < a_lookUpTable.length) {
+ return_array[a_index] = a_lookUpTable[a_index];
+ a_index += 1;
+ }
+ return return_array;
}
+ return Uint32Array.from(a_lookUpTable);
+}
+exports.uint32ArrayFrom = uint32ArrayFrom;
+//# sourceMappingURL=uint32ArrayFrom.js.map
- if (options.previews) {
- requestDefaults.mediaType.previews = options.previews;
- }
+/***/ }),
- if (options.timeZone) {
- requestDefaults.headers["time-zone"] = options.timeZone;
- }
+/***/ 44050:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- 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`.
+"use strict";
- if (!options.authStrategy) {
- if (!options.auth) {
- // (1)
- this.auth = async () => ({
- type: "unauthenticated"
- });
- } else {
- // (2)
- const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\_(ツ)_/¯
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.EC2 = void 0;
+const smithy_client_1 = __webpack_require__(63570);
+const AcceptAddressTransferCommand_1 = __webpack_require__(9100);
+const AcceptReservedInstancesExchangeQuoteCommand_1 = __webpack_require__(5239);
+const AcceptTransitGatewayMulticastDomainAssociationsCommand_1 = __webpack_require__(5111);
+const AcceptTransitGatewayPeeringAttachmentCommand_1 = __webpack_require__(32507);
+const AcceptTransitGatewayVpcAttachmentCommand_1 = __webpack_require__(73562);
+const AcceptVpcEndpointConnectionsCommand_1 = __webpack_require__(91636);
+const AcceptVpcPeeringConnectionCommand_1 = __webpack_require__(9818);
+const AdvertiseByoipCidrCommand_1 = __webpack_require__(38941);
+const AllocateAddressCommand_1 = __webpack_require__(39130);
+const AllocateHostsCommand_1 = __webpack_require__(15934);
+const AllocateIpamPoolCidrCommand_1 = __webpack_require__(47444);
+const ApplySecurityGroupsToClientVpnTargetNetworkCommand_1 = __webpack_require__(45383);
+const AssignIpv6AddressesCommand_1 = __webpack_require__(46867);
+const AssignPrivateIpAddressesCommand_1 = __webpack_require__(29028);
+const AssignPrivateNatGatewayAddressCommand_1 = __webpack_require__(31788);
+const AssociateAddressCommand_1 = __webpack_require__(57080);
+const AssociateClientVpnTargetNetworkCommand_1 = __webpack_require__(64226);
+const AssociateDhcpOptionsCommand_1 = __webpack_require__(19312);
+const AssociateEnclaveCertificateIamRoleCommand_1 = __webpack_require__(55687);
+const AssociateIamInstanceProfileCommand_1 = __webpack_require__(58782);
+const AssociateInstanceEventWindowCommand_1 = __webpack_require__(98920);
+const AssociateIpamResourceDiscoveryCommand_1 = __webpack_require__(54374);
+const AssociateNatGatewayAddressCommand_1 = __webpack_require__(2189);
+const AssociateRouteTableCommand_1 = __webpack_require__(76865);
+const AssociateSubnetCidrBlockCommand_1 = __webpack_require__(19832);
+const AssociateTransitGatewayMulticastDomainCommand_1 = __webpack_require__(85612);
+const AssociateTransitGatewayPolicyTableCommand_1 = __webpack_require__(67705);
+const AssociateTransitGatewayRouteTableCommand_1 = __webpack_require__(28987);
+const AssociateTrunkInterfaceCommand_1 = __webpack_require__(11571);
+const AssociateVpcCidrBlockCommand_1 = __webpack_require__(81804);
+const AttachClassicLinkVpcCommand_1 = __webpack_require__(3847);
+const AttachInternetGatewayCommand_1 = __webpack_require__(87450);
+const AttachNetworkInterfaceCommand_1 = __webpack_require__(69510);
+const AttachVerifiedAccessTrustProviderCommand_1 = __webpack_require__(81931);
+const AttachVolumeCommand_1 = __webpack_require__(77949);
+const AttachVpnGatewayCommand_1 = __webpack_require__(51929);
+const AuthorizeClientVpnIngressCommand_1 = __webpack_require__(30271);
+const AuthorizeSecurityGroupEgressCommand_1 = __webpack_require__(61384);
+const AuthorizeSecurityGroupIngressCommand_1 = __webpack_require__(64460);
+const BundleInstanceCommand_1 = __webpack_require__(77151);
+const CancelBundleTaskCommand_1 = __webpack_require__(65536);
+const CancelCapacityReservationCommand_1 = __webpack_require__(66578);
+const CancelCapacityReservationFleetsCommand_1 = __webpack_require__(20870);
+const CancelConversionTaskCommand_1 = __webpack_require__(30502);
+const CancelExportTaskCommand_1 = __webpack_require__(77211);
+const CancelImageLaunchPermissionCommand_1 = __webpack_require__(54829);
+const CancelImportTaskCommand_1 = __webpack_require__(93669);
+const CancelReservedInstancesListingCommand_1 = __webpack_require__(23658);
+const CancelSpotFleetRequestsCommand_1 = __webpack_require__(65683);
+const CancelSpotInstanceRequestsCommand_1 = __webpack_require__(44469);
+const ConfirmProductInstanceCommand_1 = __webpack_require__(13463);
+const CopyFpgaImageCommand_1 = __webpack_require__(60896);
+const CopyImageCommand_1 = __webpack_require__(38686);
+const CopySnapshotCommand_1 = __webpack_require__(57784);
+const CreateCapacityReservationCommand_1 = __webpack_require__(55126);
+const CreateCapacityReservationFleetCommand_1 = __webpack_require__(34605);
+const CreateCarrierGatewayCommand_1 = __webpack_require__(1321);
+const CreateClientVpnEndpointCommand_1 = __webpack_require__(10649);
+const CreateClientVpnRouteCommand_1 = __webpack_require__(14036);
+const CreateCoipCidrCommand_1 = __webpack_require__(48715);
+const CreateCoipPoolCommand_1 = __webpack_require__(34724);
+const CreateCustomerGatewayCommand_1 = __webpack_require__(39990);
+const CreateDefaultSubnetCommand_1 = __webpack_require__(94394);
+const CreateDefaultVpcCommand_1 = __webpack_require__(39196);
+const CreateDhcpOptionsCommand_1 = __webpack_require__(15678);
+const CreateEgressOnlyInternetGatewayCommand_1 = __webpack_require__(35804);
+const CreateFleetCommand_1 = __webpack_require__(97869);
+const CreateFlowLogsCommand_1 = __webpack_require__(15622);
+const CreateFpgaImageCommand_1 = __webpack_require__(84247);
+const CreateImageCommand_1 = __webpack_require__(36938);
+const CreateInstanceConnectEndpointCommand_1 = __webpack_require__(84506);
+const CreateInstanceEventWindowCommand_1 = __webpack_require__(11304);
+const CreateInstanceExportTaskCommand_1 = __webpack_require__(5142);
+const CreateInternetGatewayCommand_1 = __webpack_require__(67338);
+const CreateIpamCommand_1 = __webpack_require__(55700);
+const CreateIpamPoolCommand_1 = __webpack_require__(88195);
+const CreateIpamResourceDiscoveryCommand_1 = __webpack_require__(58475);
+const CreateIpamScopeCommand_1 = __webpack_require__(91568);
+const CreateKeyPairCommand_1 = __webpack_require__(70361);
+const CreateLaunchTemplateCommand_1 = __webpack_require__(49609);
+const CreateLaunchTemplateVersionCommand_1 = __webpack_require__(34248);
+const CreateLocalGatewayRouteCommand_1 = __webpack_require__(99788);
+const CreateLocalGatewayRouteTableCommand_1 = __webpack_require__(40855);
+const CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand_1 = __webpack_require__(43428);
+const CreateLocalGatewayRouteTableVpcAssociationCommand_1 = __webpack_require__(85022);
+const CreateManagedPrefixListCommand_1 = __webpack_require__(39161);
+const CreateNatGatewayCommand_1 = __webpack_require__(50199);
+const CreateNetworkAclCommand_1 = __webpack_require__(77615);
+const CreateNetworkAclEntryCommand_1 = __webpack_require__(32928);
+const CreateNetworkInsightsAccessScopeCommand_1 = __webpack_require__(20045);
+const CreateNetworkInsightsPathCommand_1 = __webpack_require__(69498);
+const CreateNetworkInterfaceCommand_1 = __webpack_require__(83573);
+const CreateNetworkInterfacePermissionCommand_1 = __webpack_require__(5223);
+const CreatePlacementGroupCommand_1 = __webpack_require__(54066);
+const CreatePublicIpv4PoolCommand_1 = __webpack_require__(88991);
+const CreateReplaceRootVolumeTaskCommand_1 = __webpack_require__(66752);
+const CreateReservedInstancesListingCommand_1 = __webpack_require__(89299);
+const CreateRestoreImageTaskCommand_1 = __webpack_require__(99070);
+const CreateRouteCommand_1 = __webpack_require__(3562);
+const CreateRouteTableCommand_1 = __webpack_require__(76896);
+const CreateSecurityGroupCommand_1 = __webpack_require__(64758);
+const CreateSnapshotCommand_1 = __webpack_require__(44065);
+const CreateSnapshotsCommand_1 = __webpack_require__(56920);
+const CreateSpotDatafeedSubscriptionCommand_1 = __webpack_require__(57491);
+const CreateStoreImageTaskCommand_1 = __webpack_require__(90213);
+const CreateSubnetCidrReservationCommand_1 = __webpack_require__(90647);
+const CreateSubnetCommand_1 = __webpack_require__(225);
+const CreateTagsCommand_1 = __webpack_require__(91639);
+const CreateTrafficMirrorFilterCommand_1 = __webpack_require__(40705);
+const CreateTrafficMirrorFilterRuleCommand_1 = __webpack_require__(84642);
+const CreateTrafficMirrorSessionCommand_1 = __webpack_require__(12438);
+const CreateTrafficMirrorTargetCommand_1 = __webpack_require__(83645);
+const CreateTransitGatewayCommand_1 = __webpack_require__(71204);
+const CreateTransitGatewayConnectCommand_1 = __webpack_require__(72860);
+const CreateTransitGatewayConnectPeerCommand_1 = __webpack_require__(2434);
+const CreateTransitGatewayMulticastDomainCommand_1 = __webpack_require__(15007);
+const CreateTransitGatewayPeeringAttachmentCommand_1 = __webpack_require__(97310);
+const CreateTransitGatewayPolicyTableCommand_1 = __webpack_require__(56863);
+const CreateTransitGatewayPrefixListReferenceCommand_1 = __webpack_require__(94589);
+const CreateTransitGatewayRouteCommand_1 = __webpack_require__(33881);
+const CreateTransitGatewayRouteTableAnnouncementCommand_1 = __webpack_require__(22938);
+const CreateTransitGatewayRouteTableCommand_1 = __webpack_require__(70891);
+const CreateTransitGatewayVpcAttachmentCommand_1 = __webpack_require__(82386);
+const CreateVerifiedAccessEndpointCommand_1 = __webpack_require__(39860);
+const CreateVerifiedAccessGroupCommand_1 = __webpack_require__(12985);
+const CreateVerifiedAccessInstanceCommand_1 = __webpack_require__(65355);
+const CreateVerifiedAccessTrustProviderCommand_1 = __webpack_require__(42124);
+const CreateVolumeCommand_1 = __webpack_require__(45121);
+const CreateVpcCommand_1 = __webpack_require__(36133);
+const CreateVpcEndpointCommand_1 = __webpack_require__(68961);
+const CreateVpcEndpointConnectionNotificationCommand_1 = __webpack_require__(86754);
+const CreateVpcEndpointServiceConfigurationCommand_1 = __webpack_require__(18892);
+const CreateVpcPeeringConnectionCommand_1 = __webpack_require__(80008);
+const CreateVpnConnectionCommand_1 = __webpack_require__(94);
+const CreateVpnConnectionRouteCommand_1 = __webpack_require__(62230);
+const CreateVpnGatewayCommand_1 = __webpack_require__(29103);
+const DeleteCarrierGatewayCommand_1 = __webpack_require__(20814);
+const DeleteClientVpnEndpointCommand_1 = __webpack_require__(26400);
+const DeleteClientVpnRouteCommand_1 = __webpack_require__(28701);
+const DeleteCoipCidrCommand_1 = __webpack_require__(95193);
+const DeleteCoipPoolCommand_1 = __webpack_require__(19362);
+const DeleteCustomerGatewayCommand_1 = __webpack_require__(13420);
+const DeleteDhcpOptionsCommand_1 = __webpack_require__(67492);
+const DeleteEgressOnlyInternetGatewayCommand_1 = __webpack_require__(98323);
+const DeleteFleetsCommand_1 = __webpack_require__(43996);
+const DeleteFlowLogsCommand_1 = __webpack_require__(9120);
+const DeleteFpgaImageCommand_1 = __webpack_require__(52211);
+const DeleteInstanceConnectEndpointCommand_1 = __webpack_require__(90900);
+const DeleteInstanceEventWindowCommand_1 = __webpack_require__(63279);
+const DeleteInternetGatewayCommand_1 = __webpack_require__(60710);
+const DeleteIpamCommand_1 = __webpack_require__(32629);
+const DeleteIpamPoolCommand_1 = __webpack_require__(63294);
+const DeleteIpamResourceDiscoveryCommand_1 = __webpack_require__(61274);
+const DeleteIpamScopeCommand_1 = __webpack_require__(33199);
+const DeleteKeyPairCommand_1 = __webpack_require__(714);
+const DeleteLaunchTemplateCommand_1 = __webpack_require__(89250);
+const DeleteLaunchTemplateVersionsCommand_1 = __webpack_require__(50551);
+const DeleteLocalGatewayRouteCommand_1 = __webpack_require__(10309);
+const DeleteLocalGatewayRouteTableCommand_1 = __webpack_require__(87634);
+const DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand_1 = __webpack_require__(47977);
+const DeleteLocalGatewayRouteTableVpcAssociationCommand_1 = __webpack_require__(74800);
+const DeleteManagedPrefixListCommand_1 = __webpack_require__(13362);
+const DeleteNatGatewayCommand_1 = __webpack_require__(51586);
+const DeleteNetworkAclCommand_1 = __webpack_require__(69453);
+const DeleteNetworkAclEntryCommand_1 = __webpack_require__(42173);
+const DeleteNetworkInsightsAccessScopeAnalysisCommand_1 = __webpack_require__(70359);
+const DeleteNetworkInsightsAccessScopeCommand_1 = __webpack_require__(84966);
+const DeleteNetworkInsightsAnalysisCommand_1 = __webpack_require__(21573);
+const DeleteNetworkInsightsPathCommand_1 = __webpack_require__(50561);
+const DeleteNetworkInterfaceCommand_1 = __webpack_require__(39125);
+const DeleteNetworkInterfacePermissionCommand_1 = __webpack_require__(95047);
+const DeletePlacementGroupCommand_1 = __webpack_require__(88537);
+const DeletePublicIpv4PoolCommand_1 = __webpack_require__(21915);
+const DeleteQueuedReservedInstancesCommand_1 = __webpack_require__(11741);
+const DeleteRouteCommand_1 = __webpack_require__(31557);
+const DeleteRouteTableCommand_1 = __webpack_require__(36781);
+const DeleteSecurityGroupCommand_1 = __webpack_require__(83720);
+const DeleteSnapshotCommand_1 = __webpack_require__(46964);
+const DeleteSpotDatafeedSubscriptionCommand_1 = __webpack_require__(93025);
+const DeleteSubnetCidrReservationCommand_1 = __webpack_require__(74636);
+const DeleteSubnetCommand_1 = __webpack_require__(48540);
+const DeleteTagsCommand_1 = __webpack_require__(30631);
+const DeleteTrafficMirrorFilterCommand_1 = __webpack_require__(95266);
+const DeleteTrafficMirrorFilterRuleCommand_1 = __webpack_require__(28084);
+const DeleteTrafficMirrorSessionCommand_1 = __webpack_require__(49783);
+const DeleteTrafficMirrorTargetCommand_1 = __webpack_require__(69246);
+const DeleteTransitGatewayCommand_1 = __webpack_require__(4872);
+const DeleteTransitGatewayConnectCommand_1 = __webpack_require__(39243);
+const DeleteTransitGatewayConnectPeerCommand_1 = __webpack_require__(22102);
+const DeleteTransitGatewayMulticastDomainCommand_1 = __webpack_require__(10391);
+const DeleteTransitGatewayPeeringAttachmentCommand_1 = __webpack_require__(43839);
+const DeleteTransitGatewayPolicyTableCommand_1 = __webpack_require__(21103);
+const DeleteTransitGatewayPrefixListReferenceCommand_1 = __webpack_require__(61043);
+const DeleteTransitGatewayRouteCommand_1 = __webpack_require__(85354);
+const DeleteTransitGatewayRouteTableAnnouncementCommand_1 = __webpack_require__(12721);
+const DeleteTransitGatewayRouteTableCommand_1 = __webpack_require__(44368);
+const DeleteTransitGatewayVpcAttachmentCommand_1 = __webpack_require__(54046);
+const DeleteVerifiedAccessEndpointCommand_1 = __webpack_require__(93249);
+const DeleteVerifiedAccessGroupCommand_1 = __webpack_require__(89423);
+const DeleteVerifiedAccessInstanceCommand_1 = __webpack_require__(2538);
+const DeleteVerifiedAccessTrustProviderCommand_1 = __webpack_require__(453);
+const DeleteVolumeCommand_1 = __webpack_require__(95919);
+const DeleteVpcCommand_1 = __webpack_require__(2242);
+const DeleteVpcEndpointConnectionNotificationsCommand_1 = __webpack_require__(78799);
+const DeleteVpcEndpointsCommand_1 = __webpack_require__(94798);
+const DeleteVpcEndpointServiceConfigurationsCommand_1 = __webpack_require__(58320);
+const DeleteVpcPeeringConnectionCommand_1 = __webpack_require__(49191);
+const DeleteVpnConnectionCommand_1 = __webpack_require__(53);
+const DeleteVpnConnectionRouteCommand_1 = __webpack_require__(32390);
+const DeleteVpnGatewayCommand_1 = __webpack_require__(51404);
+const DeprovisionByoipCidrCommand_1 = __webpack_require__(33483);
+const DeprovisionIpamPoolCidrCommand_1 = __webpack_require__(35073);
+const DeprovisionPublicIpv4PoolCidrCommand_1 = __webpack_require__(70726);
+const DeregisterImageCommand_1 = __webpack_require__(26898);
+const DeregisterInstanceEventNotificationAttributesCommand_1 = __webpack_require__(83562);
+const DeregisterTransitGatewayMulticastGroupMembersCommand_1 = __webpack_require__(6218);
+const DeregisterTransitGatewayMulticastGroupSourcesCommand_1 = __webpack_require__(97438);
+const DescribeAccountAttributesCommand_1 = __webpack_require__(78060);
+const DescribeAddressesAttributeCommand_1 = __webpack_require__(4545);
+const DescribeAddressesCommand_1 = __webpack_require__(63293);
+const DescribeAddressTransfersCommand_1 = __webpack_require__(50034);
+const DescribeAggregateIdFormatCommand_1 = __webpack_require__(4614);
+const DescribeAvailabilityZonesCommand_1 = __webpack_require__(90523);
+const DescribeAwsNetworkPerformanceMetricSubscriptionsCommand_1 = __webpack_require__(87530);
+const DescribeBundleTasksCommand_1 = __webpack_require__(94436);
+const DescribeByoipCidrsCommand_1 = __webpack_require__(10847);
+const DescribeCapacityReservationFleetsCommand_1 = __webpack_require__(91939);
+const DescribeCapacityReservationsCommand_1 = __webpack_require__(45505);
+const DescribeCarrierGatewaysCommand_1 = __webpack_require__(19609);
+const DescribeClassicLinkInstancesCommand_1 = __webpack_require__(54783);
+const DescribeClientVpnAuthorizationRulesCommand_1 = __webpack_require__(19210);
+const DescribeClientVpnConnectionsCommand_1 = __webpack_require__(90470);
+const DescribeClientVpnEndpointsCommand_1 = __webpack_require__(38693);
+const DescribeClientVpnRoutesCommand_1 = __webpack_require__(17563);
+const DescribeClientVpnTargetNetworksCommand_1 = __webpack_require__(16303);
+const DescribeCoipPoolsCommand_1 = __webpack_require__(15950);
+const DescribeConversionTasksCommand_1 = __webpack_require__(52320);
+const DescribeCustomerGatewaysCommand_1 = __webpack_require__(83702);
+const DescribeDhcpOptionsCommand_1 = __webpack_require__(45829);
+const DescribeEgressOnlyInternetGatewaysCommand_1 = __webpack_require__(75875);
+const DescribeElasticGpusCommand_1 = __webpack_require__(57605);
+const DescribeExportImageTasksCommand_1 = __webpack_require__(84878);
+const DescribeExportTasksCommand_1 = __webpack_require__(72652);
+const DescribeFastLaunchImagesCommand_1 = __webpack_require__(38468);
+const DescribeFastSnapshotRestoresCommand_1 = __webpack_require__(60246);
+const DescribeFleetHistoryCommand_1 = __webpack_require__(15247);
+const DescribeFleetInstancesCommand_1 = __webpack_require__(67697);
+const DescribeFleetsCommand_1 = __webpack_require__(2350);
+const DescribeFlowLogsCommand_1 = __webpack_require__(30786);
+const DescribeFpgaImageAttributeCommand_1 = __webpack_require__(58628);
+const DescribeFpgaImagesCommand_1 = __webpack_require__(96799);
+const DescribeHostReservationOfferingsCommand_1 = __webpack_require__(95108);
+const DescribeHostReservationsCommand_1 = __webpack_require__(53660);
+const DescribeHostsCommand_1 = __webpack_require__(89290);
+const DescribeIamInstanceProfileAssociationsCommand_1 = __webpack_require__(55679);
+const DescribeIdentityIdFormatCommand_1 = __webpack_require__(22160);
+const DescribeIdFormatCommand_1 = __webpack_require__(30455);
+const DescribeImageAttributeCommand_1 = __webpack_require__(30274);
+const DescribeImagesCommand_1 = __webpack_require__(66147);
+const DescribeImportImageTasksCommand_1 = __webpack_require__(78989);
+const DescribeImportSnapshotTasksCommand_1 = __webpack_require__(84769);
+const DescribeInstanceAttributeCommand_1 = __webpack_require__(70537);
+const DescribeInstanceConnectEndpointsCommand_1 = __webpack_require__(37265);
+const DescribeInstanceCreditSpecificationsCommand_1 = __webpack_require__(73984);
+const DescribeInstanceEventNotificationAttributesCommand_1 = __webpack_require__(94782);
+const DescribeInstanceEventWindowsCommand_1 = __webpack_require__(89266);
+const DescribeInstancesCommand_1 = __webpack_require__(70102);
+const DescribeInstanceStatusCommand_1 = __webpack_require__(87886);
+const DescribeInstanceTypeOfferingsCommand_1 = __webpack_require__(121);
+const DescribeInstanceTypesCommand_1 = __webpack_require__(64718);
+const DescribeInternetGatewaysCommand_1 = __webpack_require__(10940);
+const DescribeIpamPoolsCommand_1 = __webpack_require__(23001);
+const DescribeIpamResourceDiscoveriesCommand_1 = __webpack_require__(10098);
+const DescribeIpamResourceDiscoveryAssociationsCommand_1 = __webpack_require__(59153);
+const DescribeIpamsCommand_1 = __webpack_require__(45412);
+const DescribeIpamScopesCommand_1 = __webpack_require__(41967);
+const DescribeIpv6PoolsCommand_1 = __webpack_require__(66014);
+const DescribeKeyPairsCommand_1 = __webpack_require__(9035);
+const DescribeLaunchTemplatesCommand_1 = __webpack_require__(85489);
+const DescribeLaunchTemplateVersionsCommand_1 = __webpack_require__(89875);
+const DescribeLocalGatewayRouteTablesCommand_1 = __webpack_require__(72981);
+const DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand_1 = __webpack_require__(2841);
+const DescribeLocalGatewayRouteTableVpcAssociationsCommand_1 = __webpack_require__(94977);
+const DescribeLocalGatewaysCommand_1 = __webpack_require__(86520);
+const DescribeLocalGatewayVirtualInterfaceGroupsCommand_1 = __webpack_require__(89507);
+const DescribeLocalGatewayVirtualInterfacesCommand_1 = __webpack_require__(8912);
+const DescribeManagedPrefixListsCommand_1 = __webpack_require__(88505);
+const DescribeMovingAddressesCommand_1 = __webpack_require__(35374);
+const DescribeNatGatewaysCommand_1 = __webpack_require__(89495);
+const DescribeNetworkAclsCommand_1 = __webpack_require__(83010);
+const DescribeNetworkInsightsAccessScopeAnalysesCommand_1 = __webpack_require__(39336);
+const DescribeNetworkInsightsAccessScopesCommand_1 = __webpack_require__(99510);
+const DescribeNetworkInsightsAnalysesCommand_1 = __webpack_require__(55647);
+const DescribeNetworkInsightsPathsCommand_1 = __webpack_require__(84389);
+const DescribeNetworkInterfaceAttributeCommand_1 = __webpack_require__(72715);
+const DescribeNetworkInterfacePermissionsCommand_1 = __webpack_require__(22721);
+const DescribeNetworkInterfacesCommand_1 = __webpack_require__(64402);
+const DescribePlacementGroupsCommand_1 = __webpack_require__(64075);
+const DescribePrefixListsCommand_1 = __webpack_require__(3987);
+const DescribePrincipalIdFormatCommand_1 = __webpack_require__(90944);
+const DescribePublicIpv4PoolsCommand_1 = __webpack_require__(7942);
+const DescribeRegionsCommand_1 = __webpack_require__(50481);
+const DescribeReplaceRootVolumeTasksCommand_1 = __webpack_require__(51883);
+const DescribeReservedInstancesCommand_1 = __webpack_require__(3150);
+const DescribeReservedInstancesListingsCommand_1 = __webpack_require__(41429);
+const DescribeReservedInstancesModificationsCommand_1 = __webpack_require__(84789);
+const DescribeReservedInstancesOfferingsCommand_1 = __webpack_require__(12361);
+const DescribeRouteTablesCommand_1 = __webpack_require__(32628);
+const DescribeScheduledInstanceAvailabilityCommand_1 = __webpack_require__(82010);
+const DescribeScheduledInstancesCommand_1 = __webpack_require__(16770);
+const DescribeSecurityGroupReferencesCommand_1 = __webpack_require__(82031);
+const DescribeSecurityGroupRulesCommand_1 = __webpack_require__(11107);
+const DescribeSecurityGroupsCommand_1 = __webpack_require__(22908);
+const DescribeSnapshotAttributeCommand_1 = __webpack_require__(99476);
+const DescribeSnapshotsCommand_1 = __webpack_require__(46668);
+const DescribeSnapshotTierStatusCommand_1 = __webpack_require__(85605);
+const DescribeSpotDatafeedSubscriptionCommand_1 = __webpack_require__(25686);
+const DescribeSpotFleetInstancesCommand_1 = __webpack_require__(40052);
+const DescribeSpotFleetRequestHistoryCommand_1 = __webpack_require__(88486);
+const DescribeSpotFleetRequestsCommand_1 = __webpack_require__(31074);
+const DescribeSpotInstanceRequestsCommand_1 = __webpack_require__(98091);
+const DescribeSpotPriceHistoryCommand_1 = __webpack_require__(96278);
+const DescribeStaleSecurityGroupsCommand_1 = __webpack_require__(65152);
+const DescribeStoreImageTasksCommand_1 = __webpack_require__(74456);
+const DescribeSubnetsCommand_1 = __webpack_require__(28490);
+const DescribeTagsCommand_1 = __webpack_require__(22114);
+const DescribeTrafficMirrorFiltersCommand_1 = __webpack_require__(26695);
+const DescribeTrafficMirrorSessionsCommand_1 = __webpack_require__(57383);
+const DescribeTrafficMirrorTargetsCommand_1 = __webpack_require__(61963);
+const DescribeTransitGatewayAttachmentsCommand_1 = __webpack_require__(83975);
+const DescribeTransitGatewayConnectPeersCommand_1 = __webpack_require__(26454);
+const DescribeTransitGatewayConnectsCommand_1 = __webpack_require__(98680);
+const DescribeTransitGatewayMulticastDomainsCommand_1 = __webpack_require__(79725);
+const DescribeTransitGatewayPeeringAttachmentsCommand_1 = __webpack_require__(10744);
+const DescribeTransitGatewayPolicyTablesCommand_1 = __webpack_require__(33736);
+const DescribeTransitGatewayRouteTableAnnouncementsCommand_1 = __webpack_require__(17569);
+const DescribeTransitGatewayRouteTablesCommand_1 = __webpack_require__(58969);
+const DescribeTransitGatewaysCommand_1 = __webpack_require__(42524);
+const DescribeTransitGatewayVpcAttachmentsCommand_1 = __webpack_require__(41791);
+const DescribeTrunkInterfaceAssociationsCommand_1 = __webpack_require__(37846);
+const DescribeVerifiedAccessEndpointsCommand_1 = __webpack_require__(77599);
+const DescribeVerifiedAccessGroupsCommand_1 = __webpack_require__(18388);
+const DescribeVerifiedAccessInstanceLoggingConfigurationsCommand_1 = __webpack_require__(43950);
+const DescribeVerifiedAccessInstancesCommand_1 = __webpack_require__(49310);
+const DescribeVerifiedAccessTrustProvidersCommand_1 = __webpack_require__(36726);
+const DescribeVolumeAttributeCommand_1 = __webpack_require__(26022);
+const DescribeVolumesCommand_1 = __webpack_require__(89796);
+const DescribeVolumesModificationsCommand_1 = __webpack_require__(75452);
+const DescribeVolumeStatusCommand_1 = __webpack_require__(92818);
+const DescribeVpcAttributeCommand_1 = __webpack_require__(34129);
+const DescribeVpcClassicLinkCommand_1 = __webpack_require__(36655);
+const DescribeVpcClassicLinkDnsSupportCommand_1 = __webpack_require__(79957);
+const DescribeVpcEndpointConnectionNotificationsCommand_1 = __webpack_require__(80231);
+const DescribeVpcEndpointConnectionsCommand_1 = __webpack_require__(53974);
+const DescribeVpcEndpointsCommand_1 = __webpack_require__(18720);
+const DescribeVpcEndpointServiceConfigurationsCommand_1 = __webpack_require__(57934);
+const DescribeVpcEndpointServicePermissionsCommand_1 = __webpack_require__(1249);
+const DescribeVpcEndpointServicesCommand_1 = __webpack_require__(21931);
+const DescribeVpcPeeringConnectionsCommand_1 = __webpack_require__(57700);
+const DescribeVpcsCommand_1 = __webpack_require__(7266);
+const DescribeVpnConnectionsCommand_1 = __webpack_require__(22461);
+const DescribeVpnGatewaysCommand_1 = __webpack_require__(30953);
+const DetachClassicLinkVpcCommand_1 = __webpack_require__(75854);
+const DetachInternetGatewayCommand_1 = __webpack_require__(77988);
+const DetachNetworkInterfaceCommand_1 = __webpack_require__(67743);
+const DetachVerifiedAccessTrustProviderCommand_1 = __webpack_require__(31513);
+const DetachVolumeCommand_1 = __webpack_require__(48485);
+const DetachVpnGatewayCommand_1 = __webpack_require__(99361);
+const DisableAddressTransferCommand_1 = __webpack_require__(62680);
+const DisableAwsNetworkPerformanceMetricSubscriptionCommand_1 = __webpack_require__(8075);
+const DisableEbsEncryptionByDefaultCommand_1 = __webpack_require__(90631);
+const DisableFastLaunchCommand_1 = __webpack_require__(89493);
+const DisableFastSnapshotRestoresCommand_1 = __webpack_require__(90866);
+const DisableImageBlockPublicAccessCommand_1 = __webpack_require__(81685);
+const DisableImageDeprecationCommand_1 = __webpack_require__(45730);
+const DisableIpamOrganizationAdminAccountCommand_1 = __webpack_require__(39636);
+const DisableSerialConsoleAccessCommand_1 = __webpack_require__(93755);
+const DisableTransitGatewayRouteTablePropagationCommand_1 = __webpack_require__(27561);
+const DisableVgwRoutePropagationCommand_1 = __webpack_require__(38099);
+const DisableVpcClassicLinkCommand_1 = __webpack_require__(58208);
+const DisableVpcClassicLinkDnsSupportCommand_1 = __webpack_require__(48633);
+const DisassociateAddressCommand_1 = __webpack_require__(59678);
+const DisassociateClientVpnTargetNetworkCommand_1 = __webpack_require__(30061);
+const DisassociateEnclaveCertificateIamRoleCommand_1 = __webpack_require__(91284);
+const DisassociateIamInstanceProfileCommand_1 = __webpack_require__(70206);
+const DisassociateInstanceEventWindowCommand_1 = __webpack_require__(56709);
+const DisassociateIpamResourceDiscoveryCommand_1 = __webpack_require__(24717);
+const DisassociateNatGatewayAddressCommand_1 = __webpack_require__(39635);
+const DisassociateRouteTableCommand_1 = __webpack_require__(31457);
+const DisassociateSubnetCidrBlockCommand_1 = __webpack_require__(72813);
+const DisassociateTransitGatewayMulticastDomainCommand_1 = __webpack_require__(43614);
+const DisassociateTransitGatewayPolicyTableCommand_1 = __webpack_require__(91395);
+const DisassociateTransitGatewayRouteTableCommand_1 = __webpack_require__(98935);
+const DisassociateTrunkInterfaceCommand_1 = __webpack_require__(31001);
+const DisassociateVpcCidrBlockCommand_1 = __webpack_require__(86377);
+const EnableAddressTransferCommand_1 = __webpack_require__(36664);
+const EnableAwsNetworkPerformanceMetricSubscriptionCommand_1 = __webpack_require__(83523);
+const EnableEbsEncryptionByDefaultCommand_1 = __webpack_require__(11007);
+const EnableFastLaunchCommand_1 = __webpack_require__(8490);
+const EnableFastSnapshotRestoresCommand_1 = __webpack_require__(1160);
+const EnableImageBlockPublicAccessCommand_1 = __webpack_require__(55542);
+const EnableImageDeprecationCommand_1 = __webpack_require__(82188);
+const EnableIpamOrganizationAdminAccountCommand_1 = __webpack_require__(48798);
+const EnableReachabilityAnalyzerOrganizationSharingCommand_1 = __webpack_require__(20666);
+const EnableSerialConsoleAccessCommand_1 = __webpack_require__(9560);
+const EnableTransitGatewayRouteTablePropagationCommand_1 = __webpack_require__(96262);
+const EnableVgwRoutePropagationCommand_1 = __webpack_require__(80673);
+const EnableVolumeIOCommand_1 = __webpack_require__(78012);
+const EnableVpcClassicLinkCommand_1 = __webpack_require__(73687);
+const EnableVpcClassicLinkDnsSupportCommand_1 = __webpack_require__(56466);
+const ExportClientVpnClientCertificateRevocationListCommand_1 = __webpack_require__(75470);
+const ExportClientVpnClientConfigurationCommand_1 = __webpack_require__(2076);
+const ExportImageCommand_1 = __webpack_require__(10033);
+const ExportTransitGatewayRoutesCommand_1 = __webpack_require__(73081);
+const GetAssociatedEnclaveCertificateIamRolesCommand_1 = __webpack_require__(93439);
+const GetAssociatedIpv6PoolCidrsCommand_1 = __webpack_require__(99228);
+const GetAwsNetworkPerformanceDataCommand_1 = __webpack_require__(68273);
+const GetCapacityReservationUsageCommand_1 = __webpack_require__(24183);
+const GetCoipPoolUsageCommand_1 = __webpack_require__(45378);
+const GetConsoleOutputCommand_1 = __webpack_require__(52370);
+const GetConsoleScreenshotCommand_1 = __webpack_require__(29126);
+const GetDefaultCreditSpecificationCommand_1 = __webpack_require__(87518);
+const GetEbsDefaultKmsKeyIdCommand_1 = __webpack_require__(69273);
+const GetEbsEncryptionByDefaultCommand_1 = __webpack_require__(76729);
+const GetFlowLogsIntegrationTemplateCommand_1 = __webpack_require__(92571);
+const GetGroupsForCapacityReservationCommand_1 = __webpack_require__(50317);
+const GetHostReservationPurchasePreviewCommand_1 = __webpack_require__(66117);
+const GetImageBlockPublicAccessStateCommand_1 = __webpack_require__(83763);
+const GetInstanceTypesFromInstanceRequirementsCommand_1 = __webpack_require__(94280);
+const GetInstanceUefiDataCommand_1 = __webpack_require__(73415);
+const GetIpamAddressHistoryCommand_1 = __webpack_require__(6809);
+const GetIpamDiscoveredAccountsCommand_1 = __webpack_require__(26540);
+const GetIpamDiscoveredResourceCidrsCommand_1 = __webpack_require__(33125);
+const GetIpamPoolAllocationsCommand_1 = __webpack_require__(45744);
+const GetIpamPoolCidrsCommand_1 = __webpack_require__(40652);
+const GetIpamResourceCidrsCommand_1 = __webpack_require__(70288);
+const GetLaunchTemplateDataCommand_1 = __webpack_require__(68127);
+const GetManagedPrefixListAssociationsCommand_1 = __webpack_require__(61651);
+const GetManagedPrefixListEntriesCommand_1 = __webpack_require__(8648);
+const GetNetworkInsightsAccessScopeAnalysisFindingsCommand_1 = __webpack_require__(18176);
+const GetNetworkInsightsAccessScopeContentCommand_1 = __webpack_require__(25060);
+const GetPasswordDataCommand_1 = __webpack_require__(86346);
+const GetReservedInstancesExchangeQuoteCommand_1 = __webpack_require__(63418);
+const GetSerialConsoleAccessStatusCommand_1 = __webpack_require__(13298);
+const GetSpotPlacementScoresCommand_1 = __webpack_require__(30838);
+const GetSubnetCidrReservationsCommand_1 = __webpack_require__(6474);
+const GetTransitGatewayAttachmentPropagationsCommand_1 = __webpack_require__(67730);
+const GetTransitGatewayMulticastDomainAssociationsCommand_1 = __webpack_require__(42806);
+const GetTransitGatewayPolicyTableAssociationsCommand_1 = __webpack_require__(97987);
+const GetTransitGatewayPolicyTableEntriesCommand_1 = __webpack_require__(55826);
+const GetTransitGatewayPrefixListReferencesCommand_1 = __webpack_require__(68825);
+const GetTransitGatewayRouteTableAssociationsCommand_1 = __webpack_require__(13320);
+const GetTransitGatewayRouteTablePropagationsCommand_1 = __webpack_require__(43922);
+const GetVerifiedAccessEndpointPolicyCommand_1 = __webpack_require__(90746);
+const GetVerifiedAccessGroupPolicyCommand_1 = __webpack_require__(64691);
+const GetVpnConnectionDeviceSampleConfigurationCommand_1 = __webpack_require__(68458);
+const GetVpnConnectionDeviceTypesCommand_1 = __webpack_require__(96164);
+const GetVpnTunnelReplacementStatusCommand_1 = __webpack_require__(92663);
+const ImportClientVpnClientCertificateRevocationListCommand_1 = __webpack_require__(34768);
+const ImportImageCommand_1 = __webpack_require__(30077);
+const ImportInstanceCommand_1 = __webpack_require__(8921);
+const ImportKeyPairCommand_1 = __webpack_require__(87502);
+const ImportSnapshotCommand_1 = __webpack_require__(56915);
+const ImportVolumeCommand_1 = __webpack_require__(38023);
+const ListImagesInRecycleBinCommand_1 = __webpack_require__(39536);
+const ListSnapshotsInRecycleBinCommand_1 = __webpack_require__(41470);
+const ModifyAddressAttributeCommand_1 = __webpack_require__(15587);
+const ModifyAvailabilityZoneGroupCommand_1 = __webpack_require__(70043);
+const ModifyCapacityReservationCommand_1 = __webpack_require__(83802);
+const ModifyCapacityReservationFleetCommand_1 = __webpack_require__(24633);
+const ModifyClientVpnEndpointCommand_1 = __webpack_require__(78960);
+const ModifyDefaultCreditSpecificationCommand_1 = __webpack_require__(90171);
+const ModifyEbsDefaultKmsKeyIdCommand_1 = __webpack_require__(98139);
+const ModifyFleetCommand_1 = __webpack_require__(23182);
+const ModifyFpgaImageAttributeCommand_1 = __webpack_require__(11191);
+const ModifyHostsCommand_1 = __webpack_require__(17917);
+const ModifyIdentityIdFormatCommand_1 = __webpack_require__(82937);
+const ModifyIdFormatCommand_1 = __webpack_require__(33363);
+const ModifyImageAttributeCommand_1 = __webpack_require__(47736);
+const ModifyInstanceAttributeCommand_1 = __webpack_require__(96484);
+const ModifyInstanceCapacityReservationAttributesCommand_1 = __webpack_require__(5128);
+const ModifyInstanceCreditSpecificationCommand_1 = __webpack_require__(80808);
+const ModifyInstanceEventStartTimeCommand_1 = __webpack_require__(68481);
+const ModifyInstanceEventWindowCommand_1 = __webpack_require__(63440);
+const ModifyInstanceMaintenanceOptionsCommand_1 = __webpack_require__(49701);
+const ModifyInstanceMetadataOptionsCommand_1 = __webpack_require__(73922);
+const ModifyInstancePlacementCommand_1 = __webpack_require__(17329);
+const ModifyIpamCommand_1 = __webpack_require__(33157);
+const ModifyIpamPoolCommand_1 = __webpack_require__(59359);
+const ModifyIpamResourceCidrCommand_1 = __webpack_require__(91707);
+const ModifyIpamResourceDiscoveryCommand_1 = __webpack_require__(44792);
+const ModifyIpamScopeCommand_1 = __webpack_require__(99281);
+const ModifyLaunchTemplateCommand_1 = __webpack_require__(27747);
+const ModifyLocalGatewayRouteCommand_1 = __webpack_require__(21612);
+const ModifyManagedPrefixListCommand_1 = __webpack_require__(48440);
+const ModifyNetworkInterfaceAttributeCommand_1 = __webpack_require__(14034);
+const ModifyPrivateDnsNameOptionsCommand_1 = __webpack_require__(44562);
+const ModifyReservedInstancesCommand_1 = __webpack_require__(30606);
+const ModifySecurityGroupRulesCommand_1 = __webpack_require__(47299);
+const ModifySnapshotAttributeCommand_1 = __webpack_require__(62511);
+const ModifySnapshotTierCommand_1 = __webpack_require__(32168);
+const ModifySpotFleetRequestCommand_1 = __webpack_require__(41591);
+const ModifySubnetAttributeCommand_1 = __webpack_require__(8914);
+const ModifyTrafficMirrorFilterNetworkServicesCommand_1 = __webpack_require__(80346);
+const ModifyTrafficMirrorFilterRuleCommand_1 = __webpack_require__(44008);
+const ModifyTrafficMirrorSessionCommand_1 = __webpack_require__(23648);
+const ModifyTransitGatewayCommand_1 = __webpack_require__(90379);
+const ModifyTransitGatewayPrefixListReferenceCommand_1 = __webpack_require__(77531);
+const ModifyTransitGatewayVpcAttachmentCommand_1 = __webpack_require__(41269);
+const ModifyVerifiedAccessEndpointCommand_1 = __webpack_require__(80119);
+const ModifyVerifiedAccessEndpointPolicyCommand_1 = __webpack_require__(15425);
+const ModifyVerifiedAccessGroupCommand_1 = __webpack_require__(46851);
+const ModifyVerifiedAccessGroupPolicyCommand_1 = __webpack_require__(14801);
+const ModifyVerifiedAccessInstanceCommand_1 = __webpack_require__(30064);
+const ModifyVerifiedAccessInstanceLoggingConfigurationCommand_1 = __webpack_require__(51167);
+const ModifyVerifiedAccessTrustProviderCommand_1 = __webpack_require__(92334);
+const ModifyVolumeAttributeCommand_1 = __webpack_require__(94591);
+const ModifyVolumeCommand_1 = __webpack_require__(9508);
+const ModifyVpcAttributeCommand_1 = __webpack_require__(69578);
+const ModifyVpcEndpointCommand_1 = __webpack_require__(16555);
+const ModifyVpcEndpointConnectionNotificationCommand_1 = __webpack_require__(10451);
+const ModifyVpcEndpointServiceConfigurationCommand_1 = __webpack_require__(35857);
+const ModifyVpcEndpointServicePayerResponsibilityCommand_1 = __webpack_require__(21578);
+const ModifyVpcEndpointServicePermissionsCommand_1 = __webpack_require__(1655);
+const ModifyVpcPeeringConnectionOptionsCommand_1 = __webpack_require__(40719);
+const ModifyVpcTenancyCommand_1 = __webpack_require__(70207);
+const ModifyVpnConnectionCommand_1 = __webpack_require__(30921);
+const ModifyVpnConnectionOptionsCommand_1 = __webpack_require__(48750);
+const ModifyVpnTunnelCertificateCommand_1 = __webpack_require__(11190);
+const ModifyVpnTunnelOptionsCommand_1 = __webpack_require__(71517);
+const MonitorInstancesCommand_1 = __webpack_require__(36686);
+const MoveAddressToVpcCommand_1 = __webpack_require__(32014);
+const MoveByoipCidrToIpamCommand_1 = __webpack_require__(36106);
+const ProvisionByoipCidrCommand_1 = __webpack_require__(99678);
+const ProvisionIpamPoolCidrCommand_1 = __webpack_require__(96439);
+const ProvisionPublicIpv4PoolCidrCommand_1 = __webpack_require__(14725);
+const PurchaseHostReservationCommand_1 = __webpack_require__(262);
+const PurchaseReservedInstancesOfferingCommand_1 = __webpack_require__(13574);
+const PurchaseScheduledInstancesCommand_1 = __webpack_require__(7863);
+const RebootInstancesCommand_1 = __webpack_require__(34695);
+const RegisterImageCommand_1 = __webpack_require__(61780);
+const RegisterInstanceEventNotificationAttributesCommand_1 = __webpack_require__(95344);
+const RegisterTransitGatewayMulticastGroupMembersCommand_1 = __webpack_require__(13606);
+const RegisterTransitGatewayMulticastGroupSourcesCommand_1 = __webpack_require__(49827);
+const RejectTransitGatewayMulticastDomainAssociationsCommand_1 = __webpack_require__(32368);
+const RejectTransitGatewayPeeringAttachmentCommand_1 = __webpack_require__(67876);
+const RejectTransitGatewayVpcAttachmentCommand_1 = __webpack_require__(91723);
+const RejectVpcEndpointConnectionsCommand_1 = __webpack_require__(35271);
+const RejectVpcPeeringConnectionCommand_1 = __webpack_require__(56420);
+const ReleaseAddressCommand_1 = __webpack_require__(59502);
+const ReleaseHostsCommand_1 = __webpack_require__(96944);
+const ReleaseIpamPoolAllocationCommand_1 = __webpack_require__(25347);
+const ReplaceIamInstanceProfileAssociationCommand_1 = __webpack_require__(75890);
+const ReplaceNetworkAclAssociationCommand_1 = __webpack_require__(42385);
+const ReplaceNetworkAclEntryCommand_1 = __webpack_require__(88156);
+const ReplaceRouteCommand_1 = __webpack_require__(61553);
+const ReplaceRouteTableAssociationCommand_1 = __webpack_require__(43554);
+const ReplaceTransitGatewayRouteCommand_1 = __webpack_require__(67721);
+const ReplaceVpnTunnelCommand_1 = __webpack_require__(28472);
+const ReportInstanceStatusCommand_1 = __webpack_require__(33358);
+const RequestSpotFleetCommand_1 = __webpack_require__(75189);
+const RequestSpotInstancesCommand_1 = __webpack_require__(97379);
+const ResetAddressAttributeCommand_1 = __webpack_require__(77551);
+const ResetEbsDefaultKmsKeyIdCommand_1 = __webpack_require__(38106);
+const ResetFpgaImageAttributeCommand_1 = __webpack_require__(48992);
+const ResetImageAttributeCommand_1 = __webpack_require__(71018);
+const ResetInstanceAttributeCommand_1 = __webpack_require__(45934);
+const ResetNetworkInterfaceAttributeCommand_1 = __webpack_require__(6631);
+const ResetSnapshotAttributeCommand_1 = __webpack_require__(43525);
+const RestoreAddressToClassicCommand_1 = __webpack_require__(58804);
+const RestoreImageFromRecycleBinCommand_1 = __webpack_require__(708);
+const RestoreManagedPrefixListVersionCommand_1 = __webpack_require__(85023);
+const RestoreSnapshotFromRecycleBinCommand_1 = __webpack_require__(73101);
+const RestoreSnapshotTierCommand_1 = __webpack_require__(7393);
+const RevokeClientVpnIngressCommand_1 = __webpack_require__(13623);
+const RevokeSecurityGroupEgressCommand_1 = __webpack_require__(89788);
+const RevokeSecurityGroupIngressCommand_1 = __webpack_require__(36515);
+const RunInstancesCommand_1 = __webpack_require__(80375);
+const RunScheduledInstancesCommand_1 = __webpack_require__(64366);
+const SearchLocalGatewayRoutesCommand_1 = __webpack_require__(97500);
+const SearchTransitGatewayMulticastGroupsCommand_1 = __webpack_require__(14069);
+const SearchTransitGatewayRoutesCommand_1 = __webpack_require__(17010);
+const SendDiagnosticInterruptCommand_1 = __webpack_require__(66802);
+const StartInstancesCommand_1 = __webpack_require__(88579);
+const StartNetworkInsightsAccessScopeAnalysisCommand_1 = __webpack_require__(10735);
+const StartNetworkInsightsAnalysisCommand_1 = __webpack_require__(73098);
+const StartVpcEndpointServicePrivateDnsVerificationCommand_1 = __webpack_require__(23926);
+const StopInstancesCommand_1 = __webpack_require__(47715);
+const TerminateClientVpnConnectionsCommand_1 = __webpack_require__(51869);
+const TerminateInstancesCommand_1 = __webpack_require__(7070);
+const UnassignIpv6AddressesCommand_1 = __webpack_require__(66995);
+const UnassignPrivateIpAddressesCommand_1 = __webpack_require__(61928);
+const UnassignPrivateNatGatewayAddressCommand_1 = __webpack_require__(67388);
+const UnmonitorInstancesCommand_1 = __webpack_require__(39591);
+const UpdateSecurityGroupRuleDescriptionsEgressCommand_1 = __webpack_require__(15112);
+const UpdateSecurityGroupRuleDescriptionsIngressCommand_1 = __webpack_require__(88952);
+const WithdrawByoipCidrCommand_1 = __webpack_require__(24040);
+const EC2Client_1 = __webpack_require__(99677);
+const commands = {
+ AcceptAddressTransferCommand: AcceptAddressTransferCommand_1.AcceptAddressTransferCommand,
+ AcceptReservedInstancesExchangeQuoteCommand: AcceptReservedInstancesExchangeQuoteCommand_1.AcceptReservedInstancesExchangeQuoteCommand,
+ AcceptTransitGatewayMulticastDomainAssociationsCommand: AcceptTransitGatewayMulticastDomainAssociationsCommand_1.AcceptTransitGatewayMulticastDomainAssociationsCommand,
+ AcceptTransitGatewayPeeringAttachmentCommand: AcceptTransitGatewayPeeringAttachmentCommand_1.AcceptTransitGatewayPeeringAttachmentCommand,
+ AcceptTransitGatewayVpcAttachmentCommand: AcceptTransitGatewayVpcAttachmentCommand_1.AcceptTransitGatewayVpcAttachmentCommand,
+ AcceptVpcEndpointConnectionsCommand: AcceptVpcEndpointConnectionsCommand_1.AcceptVpcEndpointConnectionsCommand,
+ AcceptVpcPeeringConnectionCommand: AcceptVpcPeeringConnectionCommand_1.AcceptVpcPeeringConnectionCommand,
+ AdvertiseByoipCidrCommand: AdvertiseByoipCidrCommand_1.AdvertiseByoipCidrCommand,
+ AllocateAddressCommand: AllocateAddressCommand_1.AllocateAddressCommand,
+ AllocateHostsCommand: AllocateHostsCommand_1.AllocateHostsCommand,
+ AllocateIpamPoolCidrCommand: AllocateIpamPoolCidrCommand_1.AllocateIpamPoolCidrCommand,
+ ApplySecurityGroupsToClientVpnTargetNetworkCommand: ApplySecurityGroupsToClientVpnTargetNetworkCommand_1.ApplySecurityGroupsToClientVpnTargetNetworkCommand,
+ AssignIpv6AddressesCommand: AssignIpv6AddressesCommand_1.AssignIpv6AddressesCommand,
+ AssignPrivateIpAddressesCommand: AssignPrivateIpAddressesCommand_1.AssignPrivateIpAddressesCommand,
+ AssignPrivateNatGatewayAddressCommand: AssignPrivateNatGatewayAddressCommand_1.AssignPrivateNatGatewayAddressCommand,
+ AssociateAddressCommand: AssociateAddressCommand_1.AssociateAddressCommand,
+ AssociateClientVpnTargetNetworkCommand: AssociateClientVpnTargetNetworkCommand_1.AssociateClientVpnTargetNetworkCommand,
+ AssociateDhcpOptionsCommand: AssociateDhcpOptionsCommand_1.AssociateDhcpOptionsCommand,
+ AssociateEnclaveCertificateIamRoleCommand: AssociateEnclaveCertificateIamRoleCommand_1.AssociateEnclaveCertificateIamRoleCommand,
+ AssociateIamInstanceProfileCommand: AssociateIamInstanceProfileCommand_1.AssociateIamInstanceProfileCommand,
+ AssociateInstanceEventWindowCommand: AssociateInstanceEventWindowCommand_1.AssociateInstanceEventWindowCommand,
+ AssociateIpamResourceDiscoveryCommand: AssociateIpamResourceDiscoveryCommand_1.AssociateIpamResourceDiscoveryCommand,
+ AssociateNatGatewayAddressCommand: AssociateNatGatewayAddressCommand_1.AssociateNatGatewayAddressCommand,
+ AssociateRouteTableCommand: AssociateRouteTableCommand_1.AssociateRouteTableCommand,
+ AssociateSubnetCidrBlockCommand: AssociateSubnetCidrBlockCommand_1.AssociateSubnetCidrBlockCommand,
+ AssociateTransitGatewayMulticastDomainCommand: AssociateTransitGatewayMulticastDomainCommand_1.AssociateTransitGatewayMulticastDomainCommand,
+ AssociateTransitGatewayPolicyTableCommand: AssociateTransitGatewayPolicyTableCommand_1.AssociateTransitGatewayPolicyTableCommand,
+ AssociateTransitGatewayRouteTableCommand: AssociateTransitGatewayRouteTableCommand_1.AssociateTransitGatewayRouteTableCommand,
+ AssociateTrunkInterfaceCommand: AssociateTrunkInterfaceCommand_1.AssociateTrunkInterfaceCommand,
+ AssociateVpcCidrBlockCommand: AssociateVpcCidrBlockCommand_1.AssociateVpcCidrBlockCommand,
+ AttachClassicLinkVpcCommand: AttachClassicLinkVpcCommand_1.AttachClassicLinkVpcCommand,
+ AttachInternetGatewayCommand: AttachInternetGatewayCommand_1.AttachInternetGatewayCommand,
+ AttachNetworkInterfaceCommand: AttachNetworkInterfaceCommand_1.AttachNetworkInterfaceCommand,
+ AttachVerifiedAccessTrustProviderCommand: AttachVerifiedAccessTrustProviderCommand_1.AttachVerifiedAccessTrustProviderCommand,
+ AttachVolumeCommand: AttachVolumeCommand_1.AttachVolumeCommand,
+ AttachVpnGatewayCommand: AttachVpnGatewayCommand_1.AttachVpnGatewayCommand,
+ AuthorizeClientVpnIngressCommand: AuthorizeClientVpnIngressCommand_1.AuthorizeClientVpnIngressCommand,
+ AuthorizeSecurityGroupEgressCommand: AuthorizeSecurityGroupEgressCommand_1.AuthorizeSecurityGroupEgressCommand,
+ AuthorizeSecurityGroupIngressCommand: AuthorizeSecurityGroupIngressCommand_1.AuthorizeSecurityGroupIngressCommand,
+ BundleInstanceCommand: BundleInstanceCommand_1.BundleInstanceCommand,
+ CancelBundleTaskCommand: CancelBundleTaskCommand_1.CancelBundleTaskCommand,
+ CancelCapacityReservationCommand: CancelCapacityReservationCommand_1.CancelCapacityReservationCommand,
+ CancelCapacityReservationFleetsCommand: CancelCapacityReservationFleetsCommand_1.CancelCapacityReservationFleetsCommand,
+ CancelConversionTaskCommand: CancelConversionTaskCommand_1.CancelConversionTaskCommand,
+ CancelExportTaskCommand: CancelExportTaskCommand_1.CancelExportTaskCommand,
+ CancelImageLaunchPermissionCommand: CancelImageLaunchPermissionCommand_1.CancelImageLaunchPermissionCommand,
+ CancelImportTaskCommand: CancelImportTaskCommand_1.CancelImportTaskCommand,
+ CancelReservedInstancesListingCommand: CancelReservedInstancesListingCommand_1.CancelReservedInstancesListingCommand,
+ CancelSpotFleetRequestsCommand: CancelSpotFleetRequestsCommand_1.CancelSpotFleetRequestsCommand,
+ CancelSpotInstanceRequestsCommand: CancelSpotInstanceRequestsCommand_1.CancelSpotInstanceRequestsCommand,
+ ConfirmProductInstanceCommand: ConfirmProductInstanceCommand_1.ConfirmProductInstanceCommand,
+ CopyFpgaImageCommand: CopyFpgaImageCommand_1.CopyFpgaImageCommand,
+ CopyImageCommand: CopyImageCommand_1.CopyImageCommand,
+ CopySnapshotCommand: CopySnapshotCommand_1.CopySnapshotCommand,
+ CreateCapacityReservationCommand: CreateCapacityReservationCommand_1.CreateCapacityReservationCommand,
+ CreateCapacityReservationFleetCommand: CreateCapacityReservationFleetCommand_1.CreateCapacityReservationFleetCommand,
+ CreateCarrierGatewayCommand: CreateCarrierGatewayCommand_1.CreateCarrierGatewayCommand,
+ CreateClientVpnEndpointCommand: CreateClientVpnEndpointCommand_1.CreateClientVpnEndpointCommand,
+ CreateClientVpnRouteCommand: CreateClientVpnRouteCommand_1.CreateClientVpnRouteCommand,
+ CreateCoipCidrCommand: CreateCoipCidrCommand_1.CreateCoipCidrCommand,
+ CreateCoipPoolCommand: CreateCoipPoolCommand_1.CreateCoipPoolCommand,
+ CreateCustomerGatewayCommand: CreateCustomerGatewayCommand_1.CreateCustomerGatewayCommand,
+ CreateDefaultSubnetCommand: CreateDefaultSubnetCommand_1.CreateDefaultSubnetCommand,
+ CreateDefaultVpcCommand: CreateDefaultVpcCommand_1.CreateDefaultVpcCommand,
+ CreateDhcpOptionsCommand: CreateDhcpOptionsCommand_1.CreateDhcpOptionsCommand,
+ CreateEgressOnlyInternetGatewayCommand: CreateEgressOnlyInternetGatewayCommand_1.CreateEgressOnlyInternetGatewayCommand,
+ CreateFleetCommand: CreateFleetCommand_1.CreateFleetCommand,
+ CreateFlowLogsCommand: CreateFlowLogsCommand_1.CreateFlowLogsCommand,
+ CreateFpgaImageCommand: CreateFpgaImageCommand_1.CreateFpgaImageCommand,
+ CreateImageCommand: CreateImageCommand_1.CreateImageCommand,
+ CreateInstanceConnectEndpointCommand: CreateInstanceConnectEndpointCommand_1.CreateInstanceConnectEndpointCommand,
+ CreateInstanceEventWindowCommand: CreateInstanceEventWindowCommand_1.CreateInstanceEventWindowCommand,
+ CreateInstanceExportTaskCommand: CreateInstanceExportTaskCommand_1.CreateInstanceExportTaskCommand,
+ CreateInternetGatewayCommand: CreateInternetGatewayCommand_1.CreateInternetGatewayCommand,
+ CreateIpamCommand: CreateIpamCommand_1.CreateIpamCommand,
+ CreateIpamPoolCommand: CreateIpamPoolCommand_1.CreateIpamPoolCommand,
+ CreateIpamResourceDiscoveryCommand: CreateIpamResourceDiscoveryCommand_1.CreateIpamResourceDiscoveryCommand,
+ CreateIpamScopeCommand: CreateIpamScopeCommand_1.CreateIpamScopeCommand,
+ CreateKeyPairCommand: CreateKeyPairCommand_1.CreateKeyPairCommand,
+ CreateLaunchTemplateCommand: CreateLaunchTemplateCommand_1.CreateLaunchTemplateCommand,
+ CreateLaunchTemplateVersionCommand: CreateLaunchTemplateVersionCommand_1.CreateLaunchTemplateVersionCommand,
+ CreateLocalGatewayRouteCommand: CreateLocalGatewayRouteCommand_1.CreateLocalGatewayRouteCommand,
+ CreateLocalGatewayRouteTableCommand: CreateLocalGatewayRouteTableCommand_1.CreateLocalGatewayRouteTableCommand,
+ CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand: CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand_1.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,
+ CreateLocalGatewayRouteTableVpcAssociationCommand: CreateLocalGatewayRouteTableVpcAssociationCommand_1.CreateLocalGatewayRouteTableVpcAssociationCommand,
+ CreateManagedPrefixListCommand: CreateManagedPrefixListCommand_1.CreateManagedPrefixListCommand,
+ CreateNatGatewayCommand: CreateNatGatewayCommand_1.CreateNatGatewayCommand,
+ CreateNetworkAclCommand: CreateNetworkAclCommand_1.CreateNetworkAclCommand,
+ CreateNetworkAclEntryCommand: CreateNetworkAclEntryCommand_1.CreateNetworkAclEntryCommand,
+ CreateNetworkInsightsAccessScopeCommand: CreateNetworkInsightsAccessScopeCommand_1.CreateNetworkInsightsAccessScopeCommand,
+ CreateNetworkInsightsPathCommand: CreateNetworkInsightsPathCommand_1.CreateNetworkInsightsPathCommand,
+ CreateNetworkInterfaceCommand: CreateNetworkInterfaceCommand_1.CreateNetworkInterfaceCommand,
+ CreateNetworkInterfacePermissionCommand: CreateNetworkInterfacePermissionCommand_1.CreateNetworkInterfacePermissionCommand,
+ CreatePlacementGroupCommand: CreatePlacementGroupCommand_1.CreatePlacementGroupCommand,
+ CreatePublicIpv4PoolCommand: CreatePublicIpv4PoolCommand_1.CreatePublicIpv4PoolCommand,
+ CreateReplaceRootVolumeTaskCommand: CreateReplaceRootVolumeTaskCommand_1.CreateReplaceRootVolumeTaskCommand,
+ CreateReservedInstancesListingCommand: CreateReservedInstancesListingCommand_1.CreateReservedInstancesListingCommand,
+ CreateRestoreImageTaskCommand: CreateRestoreImageTaskCommand_1.CreateRestoreImageTaskCommand,
+ CreateRouteCommand: CreateRouteCommand_1.CreateRouteCommand,
+ CreateRouteTableCommand: CreateRouteTableCommand_1.CreateRouteTableCommand,
+ CreateSecurityGroupCommand: CreateSecurityGroupCommand_1.CreateSecurityGroupCommand,
+ CreateSnapshotCommand: CreateSnapshotCommand_1.CreateSnapshotCommand,
+ CreateSnapshotsCommand: CreateSnapshotsCommand_1.CreateSnapshotsCommand,
+ CreateSpotDatafeedSubscriptionCommand: CreateSpotDatafeedSubscriptionCommand_1.CreateSpotDatafeedSubscriptionCommand,
+ CreateStoreImageTaskCommand: CreateStoreImageTaskCommand_1.CreateStoreImageTaskCommand,
+ CreateSubnetCommand: CreateSubnetCommand_1.CreateSubnetCommand,
+ CreateSubnetCidrReservationCommand: CreateSubnetCidrReservationCommand_1.CreateSubnetCidrReservationCommand,
+ CreateTagsCommand: CreateTagsCommand_1.CreateTagsCommand,
+ CreateTrafficMirrorFilterCommand: CreateTrafficMirrorFilterCommand_1.CreateTrafficMirrorFilterCommand,
+ CreateTrafficMirrorFilterRuleCommand: CreateTrafficMirrorFilterRuleCommand_1.CreateTrafficMirrorFilterRuleCommand,
+ CreateTrafficMirrorSessionCommand: CreateTrafficMirrorSessionCommand_1.CreateTrafficMirrorSessionCommand,
+ CreateTrafficMirrorTargetCommand: CreateTrafficMirrorTargetCommand_1.CreateTrafficMirrorTargetCommand,
+ CreateTransitGatewayCommand: CreateTransitGatewayCommand_1.CreateTransitGatewayCommand,
+ CreateTransitGatewayConnectCommand: CreateTransitGatewayConnectCommand_1.CreateTransitGatewayConnectCommand,
+ CreateTransitGatewayConnectPeerCommand: CreateTransitGatewayConnectPeerCommand_1.CreateTransitGatewayConnectPeerCommand,
+ CreateTransitGatewayMulticastDomainCommand: CreateTransitGatewayMulticastDomainCommand_1.CreateTransitGatewayMulticastDomainCommand,
+ CreateTransitGatewayPeeringAttachmentCommand: CreateTransitGatewayPeeringAttachmentCommand_1.CreateTransitGatewayPeeringAttachmentCommand,
+ CreateTransitGatewayPolicyTableCommand: CreateTransitGatewayPolicyTableCommand_1.CreateTransitGatewayPolicyTableCommand,
+ CreateTransitGatewayPrefixListReferenceCommand: CreateTransitGatewayPrefixListReferenceCommand_1.CreateTransitGatewayPrefixListReferenceCommand,
+ CreateTransitGatewayRouteCommand: CreateTransitGatewayRouteCommand_1.CreateTransitGatewayRouteCommand,
+ CreateTransitGatewayRouteTableCommand: CreateTransitGatewayRouteTableCommand_1.CreateTransitGatewayRouteTableCommand,
+ CreateTransitGatewayRouteTableAnnouncementCommand: CreateTransitGatewayRouteTableAnnouncementCommand_1.CreateTransitGatewayRouteTableAnnouncementCommand,
+ CreateTransitGatewayVpcAttachmentCommand: CreateTransitGatewayVpcAttachmentCommand_1.CreateTransitGatewayVpcAttachmentCommand,
+ CreateVerifiedAccessEndpointCommand: CreateVerifiedAccessEndpointCommand_1.CreateVerifiedAccessEndpointCommand,
+ CreateVerifiedAccessGroupCommand: CreateVerifiedAccessGroupCommand_1.CreateVerifiedAccessGroupCommand,
+ CreateVerifiedAccessInstanceCommand: CreateVerifiedAccessInstanceCommand_1.CreateVerifiedAccessInstanceCommand,
+ CreateVerifiedAccessTrustProviderCommand: CreateVerifiedAccessTrustProviderCommand_1.CreateVerifiedAccessTrustProviderCommand,
+ CreateVolumeCommand: CreateVolumeCommand_1.CreateVolumeCommand,
+ CreateVpcCommand: CreateVpcCommand_1.CreateVpcCommand,
+ CreateVpcEndpointCommand: CreateVpcEndpointCommand_1.CreateVpcEndpointCommand,
+ CreateVpcEndpointConnectionNotificationCommand: CreateVpcEndpointConnectionNotificationCommand_1.CreateVpcEndpointConnectionNotificationCommand,
+ CreateVpcEndpointServiceConfigurationCommand: CreateVpcEndpointServiceConfigurationCommand_1.CreateVpcEndpointServiceConfigurationCommand,
+ CreateVpcPeeringConnectionCommand: CreateVpcPeeringConnectionCommand_1.CreateVpcPeeringConnectionCommand,
+ CreateVpnConnectionCommand: CreateVpnConnectionCommand_1.CreateVpnConnectionCommand,
+ CreateVpnConnectionRouteCommand: CreateVpnConnectionRouteCommand_1.CreateVpnConnectionRouteCommand,
+ CreateVpnGatewayCommand: CreateVpnGatewayCommand_1.CreateVpnGatewayCommand,
+ DeleteCarrierGatewayCommand: DeleteCarrierGatewayCommand_1.DeleteCarrierGatewayCommand,
+ DeleteClientVpnEndpointCommand: DeleteClientVpnEndpointCommand_1.DeleteClientVpnEndpointCommand,
+ DeleteClientVpnRouteCommand: DeleteClientVpnRouteCommand_1.DeleteClientVpnRouteCommand,
+ DeleteCoipCidrCommand: DeleteCoipCidrCommand_1.DeleteCoipCidrCommand,
+ DeleteCoipPoolCommand: DeleteCoipPoolCommand_1.DeleteCoipPoolCommand,
+ DeleteCustomerGatewayCommand: DeleteCustomerGatewayCommand_1.DeleteCustomerGatewayCommand,
+ DeleteDhcpOptionsCommand: DeleteDhcpOptionsCommand_1.DeleteDhcpOptionsCommand,
+ DeleteEgressOnlyInternetGatewayCommand: DeleteEgressOnlyInternetGatewayCommand_1.DeleteEgressOnlyInternetGatewayCommand,
+ DeleteFleetsCommand: DeleteFleetsCommand_1.DeleteFleetsCommand,
+ DeleteFlowLogsCommand: DeleteFlowLogsCommand_1.DeleteFlowLogsCommand,
+ DeleteFpgaImageCommand: DeleteFpgaImageCommand_1.DeleteFpgaImageCommand,
+ DeleteInstanceConnectEndpointCommand: DeleteInstanceConnectEndpointCommand_1.DeleteInstanceConnectEndpointCommand,
+ DeleteInstanceEventWindowCommand: DeleteInstanceEventWindowCommand_1.DeleteInstanceEventWindowCommand,
+ DeleteInternetGatewayCommand: DeleteInternetGatewayCommand_1.DeleteInternetGatewayCommand,
+ DeleteIpamCommand: DeleteIpamCommand_1.DeleteIpamCommand,
+ DeleteIpamPoolCommand: DeleteIpamPoolCommand_1.DeleteIpamPoolCommand,
+ DeleteIpamResourceDiscoveryCommand: DeleteIpamResourceDiscoveryCommand_1.DeleteIpamResourceDiscoveryCommand,
+ DeleteIpamScopeCommand: DeleteIpamScopeCommand_1.DeleteIpamScopeCommand,
+ DeleteKeyPairCommand: DeleteKeyPairCommand_1.DeleteKeyPairCommand,
+ DeleteLaunchTemplateCommand: DeleteLaunchTemplateCommand_1.DeleteLaunchTemplateCommand,
+ DeleteLaunchTemplateVersionsCommand: DeleteLaunchTemplateVersionsCommand_1.DeleteLaunchTemplateVersionsCommand,
+ DeleteLocalGatewayRouteCommand: DeleteLocalGatewayRouteCommand_1.DeleteLocalGatewayRouteCommand,
+ DeleteLocalGatewayRouteTableCommand: DeleteLocalGatewayRouteTableCommand_1.DeleteLocalGatewayRouteTableCommand,
+ DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand: DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand_1.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,
+ DeleteLocalGatewayRouteTableVpcAssociationCommand: DeleteLocalGatewayRouteTableVpcAssociationCommand_1.DeleteLocalGatewayRouteTableVpcAssociationCommand,
+ DeleteManagedPrefixListCommand: DeleteManagedPrefixListCommand_1.DeleteManagedPrefixListCommand,
+ DeleteNatGatewayCommand: DeleteNatGatewayCommand_1.DeleteNatGatewayCommand,
+ DeleteNetworkAclCommand: DeleteNetworkAclCommand_1.DeleteNetworkAclCommand,
+ DeleteNetworkAclEntryCommand: DeleteNetworkAclEntryCommand_1.DeleteNetworkAclEntryCommand,
+ DeleteNetworkInsightsAccessScopeCommand: DeleteNetworkInsightsAccessScopeCommand_1.DeleteNetworkInsightsAccessScopeCommand,
+ DeleteNetworkInsightsAccessScopeAnalysisCommand: DeleteNetworkInsightsAccessScopeAnalysisCommand_1.DeleteNetworkInsightsAccessScopeAnalysisCommand,
+ DeleteNetworkInsightsAnalysisCommand: DeleteNetworkInsightsAnalysisCommand_1.DeleteNetworkInsightsAnalysisCommand,
+ DeleteNetworkInsightsPathCommand: DeleteNetworkInsightsPathCommand_1.DeleteNetworkInsightsPathCommand,
+ DeleteNetworkInterfaceCommand: DeleteNetworkInterfaceCommand_1.DeleteNetworkInterfaceCommand,
+ DeleteNetworkInterfacePermissionCommand: DeleteNetworkInterfacePermissionCommand_1.DeleteNetworkInterfacePermissionCommand,
+ DeletePlacementGroupCommand: DeletePlacementGroupCommand_1.DeletePlacementGroupCommand,
+ DeletePublicIpv4PoolCommand: DeletePublicIpv4PoolCommand_1.DeletePublicIpv4PoolCommand,
+ DeleteQueuedReservedInstancesCommand: DeleteQueuedReservedInstancesCommand_1.DeleteQueuedReservedInstancesCommand,
+ DeleteRouteCommand: DeleteRouteCommand_1.DeleteRouteCommand,
+ DeleteRouteTableCommand: DeleteRouteTableCommand_1.DeleteRouteTableCommand,
+ DeleteSecurityGroupCommand: DeleteSecurityGroupCommand_1.DeleteSecurityGroupCommand,
+ DeleteSnapshotCommand: DeleteSnapshotCommand_1.DeleteSnapshotCommand,
+ DeleteSpotDatafeedSubscriptionCommand: DeleteSpotDatafeedSubscriptionCommand_1.DeleteSpotDatafeedSubscriptionCommand,
+ DeleteSubnetCommand: DeleteSubnetCommand_1.DeleteSubnetCommand,
+ DeleteSubnetCidrReservationCommand: DeleteSubnetCidrReservationCommand_1.DeleteSubnetCidrReservationCommand,
+ DeleteTagsCommand: DeleteTagsCommand_1.DeleteTagsCommand,
+ DeleteTrafficMirrorFilterCommand: DeleteTrafficMirrorFilterCommand_1.DeleteTrafficMirrorFilterCommand,
+ DeleteTrafficMirrorFilterRuleCommand: DeleteTrafficMirrorFilterRuleCommand_1.DeleteTrafficMirrorFilterRuleCommand,
+ DeleteTrafficMirrorSessionCommand: DeleteTrafficMirrorSessionCommand_1.DeleteTrafficMirrorSessionCommand,
+ DeleteTrafficMirrorTargetCommand: DeleteTrafficMirrorTargetCommand_1.DeleteTrafficMirrorTargetCommand,
+ DeleteTransitGatewayCommand: DeleteTransitGatewayCommand_1.DeleteTransitGatewayCommand,
+ DeleteTransitGatewayConnectCommand: DeleteTransitGatewayConnectCommand_1.DeleteTransitGatewayConnectCommand,
+ DeleteTransitGatewayConnectPeerCommand: DeleteTransitGatewayConnectPeerCommand_1.DeleteTransitGatewayConnectPeerCommand,
+ DeleteTransitGatewayMulticastDomainCommand: DeleteTransitGatewayMulticastDomainCommand_1.DeleteTransitGatewayMulticastDomainCommand,
+ DeleteTransitGatewayPeeringAttachmentCommand: DeleteTransitGatewayPeeringAttachmentCommand_1.DeleteTransitGatewayPeeringAttachmentCommand,
+ DeleteTransitGatewayPolicyTableCommand: DeleteTransitGatewayPolicyTableCommand_1.DeleteTransitGatewayPolicyTableCommand,
+ DeleteTransitGatewayPrefixListReferenceCommand: DeleteTransitGatewayPrefixListReferenceCommand_1.DeleteTransitGatewayPrefixListReferenceCommand,
+ DeleteTransitGatewayRouteCommand: DeleteTransitGatewayRouteCommand_1.DeleteTransitGatewayRouteCommand,
+ DeleteTransitGatewayRouteTableCommand: DeleteTransitGatewayRouteTableCommand_1.DeleteTransitGatewayRouteTableCommand,
+ DeleteTransitGatewayRouteTableAnnouncementCommand: DeleteTransitGatewayRouteTableAnnouncementCommand_1.DeleteTransitGatewayRouteTableAnnouncementCommand,
+ DeleteTransitGatewayVpcAttachmentCommand: DeleteTransitGatewayVpcAttachmentCommand_1.DeleteTransitGatewayVpcAttachmentCommand,
+ DeleteVerifiedAccessEndpointCommand: DeleteVerifiedAccessEndpointCommand_1.DeleteVerifiedAccessEndpointCommand,
+ DeleteVerifiedAccessGroupCommand: DeleteVerifiedAccessGroupCommand_1.DeleteVerifiedAccessGroupCommand,
+ DeleteVerifiedAccessInstanceCommand: DeleteVerifiedAccessInstanceCommand_1.DeleteVerifiedAccessInstanceCommand,
+ DeleteVerifiedAccessTrustProviderCommand: DeleteVerifiedAccessTrustProviderCommand_1.DeleteVerifiedAccessTrustProviderCommand,
+ DeleteVolumeCommand: DeleteVolumeCommand_1.DeleteVolumeCommand,
+ DeleteVpcCommand: DeleteVpcCommand_1.DeleteVpcCommand,
+ DeleteVpcEndpointConnectionNotificationsCommand: DeleteVpcEndpointConnectionNotificationsCommand_1.DeleteVpcEndpointConnectionNotificationsCommand,
+ DeleteVpcEndpointsCommand: DeleteVpcEndpointsCommand_1.DeleteVpcEndpointsCommand,
+ DeleteVpcEndpointServiceConfigurationsCommand: DeleteVpcEndpointServiceConfigurationsCommand_1.DeleteVpcEndpointServiceConfigurationsCommand,
+ DeleteVpcPeeringConnectionCommand: DeleteVpcPeeringConnectionCommand_1.DeleteVpcPeeringConnectionCommand,
+ DeleteVpnConnectionCommand: DeleteVpnConnectionCommand_1.DeleteVpnConnectionCommand,
+ DeleteVpnConnectionRouteCommand: DeleteVpnConnectionRouteCommand_1.DeleteVpnConnectionRouteCommand,
+ DeleteVpnGatewayCommand: DeleteVpnGatewayCommand_1.DeleteVpnGatewayCommand,
+ DeprovisionByoipCidrCommand: DeprovisionByoipCidrCommand_1.DeprovisionByoipCidrCommand,
+ DeprovisionIpamPoolCidrCommand: DeprovisionIpamPoolCidrCommand_1.DeprovisionIpamPoolCidrCommand,
+ DeprovisionPublicIpv4PoolCidrCommand: DeprovisionPublicIpv4PoolCidrCommand_1.DeprovisionPublicIpv4PoolCidrCommand,
+ DeregisterImageCommand: DeregisterImageCommand_1.DeregisterImageCommand,
+ DeregisterInstanceEventNotificationAttributesCommand: DeregisterInstanceEventNotificationAttributesCommand_1.DeregisterInstanceEventNotificationAttributesCommand,
+ DeregisterTransitGatewayMulticastGroupMembersCommand: DeregisterTransitGatewayMulticastGroupMembersCommand_1.DeregisterTransitGatewayMulticastGroupMembersCommand,
+ DeregisterTransitGatewayMulticastGroupSourcesCommand: DeregisterTransitGatewayMulticastGroupSourcesCommand_1.DeregisterTransitGatewayMulticastGroupSourcesCommand,
+ DescribeAccountAttributesCommand: DescribeAccountAttributesCommand_1.DescribeAccountAttributesCommand,
+ DescribeAddressesCommand: DescribeAddressesCommand_1.DescribeAddressesCommand,
+ DescribeAddressesAttributeCommand: DescribeAddressesAttributeCommand_1.DescribeAddressesAttributeCommand,
+ DescribeAddressTransfersCommand: DescribeAddressTransfersCommand_1.DescribeAddressTransfersCommand,
+ DescribeAggregateIdFormatCommand: DescribeAggregateIdFormatCommand_1.DescribeAggregateIdFormatCommand,
+ DescribeAvailabilityZonesCommand: DescribeAvailabilityZonesCommand_1.DescribeAvailabilityZonesCommand,
+ DescribeAwsNetworkPerformanceMetricSubscriptionsCommand: DescribeAwsNetworkPerformanceMetricSubscriptionsCommand_1.DescribeAwsNetworkPerformanceMetricSubscriptionsCommand,
+ DescribeBundleTasksCommand: DescribeBundleTasksCommand_1.DescribeBundleTasksCommand,
+ DescribeByoipCidrsCommand: DescribeByoipCidrsCommand_1.DescribeByoipCidrsCommand,
+ DescribeCapacityReservationFleetsCommand: DescribeCapacityReservationFleetsCommand_1.DescribeCapacityReservationFleetsCommand,
+ DescribeCapacityReservationsCommand: DescribeCapacityReservationsCommand_1.DescribeCapacityReservationsCommand,
+ DescribeCarrierGatewaysCommand: DescribeCarrierGatewaysCommand_1.DescribeCarrierGatewaysCommand,
+ DescribeClassicLinkInstancesCommand: DescribeClassicLinkInstancesCommand_1.DescribeClassicLinkInstancesCommand,
+ DescribeClientVpnAuthorizationRulesCommand: DescribeClientVpnAuthorizationRulesCommand_1.DescribeClientVpnAuthorizationRulesCommand,
+ DescribeClientVpnConnectionsCommand: DescribeClientVpnConnectionsCommand_1.DescribeClientVpnConnectionsCommand,
+ DescribeClientVpnEndpointsCommand: DescribeClientVpnEndpointsCommand_1.DescribeClientVpnEndpointsCommand,
+ DescribeClientVpnRoutesCommand: DescribeClientVpnRoutesCommand_1.DescribeClientVpnRoutesCommand,
+ DescribeClientVpnTargetNetworksCommand: DescribeClientVpnTargetNetworksCommand_1.DescribeClientVpnTargetNetworksCommand,
+ DescribeCoipPoolsCommand: DescribeCoipPoolsCommand_1.DescribeCoipPoolsCommand,
+ DescribeConversionTasksCommand: DescribeConversionTasksCommand_1.DescribeConversionTasksCommand,
+ DescribeCustomerGatewaysCommand: DescribeCustomerGatewaysCommand_1.DescribeCustomerGatewaysCommand,
+ DescribeDhcpOptionsCommand: DescribeDhcpOptionsCommand_1.DescribeDhcpOptionsCommand,
+ DescribeEgressOnlyInternetGatewaysCommand: DescribeEgressOnlyInternetGatewaysCommand_1.DescribeEgressOnlyInternetGatewaysCommand,
+ DescribeElasticGpusCommand: DescribeElasticGpusCommand_1.DescribeElasticGpusCommand,
+ DescribeExportImageTasksCommand: DescribeExportImageTasksCommand_1.DescribeExportImageTasksCommand,
+ DescribeExportTasksCommand: DescribeExportTasksCommand_1.DescribeExportTasksCommand,
+ DescribeFastLaunchImagesCommand: DescribeFastLaunchImagesCommand_1.DescribeFastLaunchImagesCommand,
+ DescribeFastSnapshotRestoresCommand: DescribeFastSnapshotRestoresCommand_1.DescribeFastSnapshotRestoresCommand,
+ DescribeFleetHistoryCommand: DescribeFleetHistoryCommand_1.DescribeFleetHistoryCommand,
+ DescribeFleetInstancesCommand: DescribeFleetInstancesCommand_1.DescribeFleetInstancesCommand,
+ DescribeFleetsCommand: DescribeFleetsCommand_1.DescribeFleetsCommand,
+ DescribeFlowLogsCommand: DescribeFlowLogsCommand_1.DescribeFlowLogsCommand,
+ DescribeFpgaImageAttributeCommand: DescribeFpgaImageAttributeCommand_1.DescribeFpgaImageAttributeCommand,
+ DescribeFpgaImagesCommand: DescribeFpgaImagesCommand_1.DescribeFpgaImagesCommand,
+ DescribeHostReservationOfferingsCommand: DescribeHostReservationOfferingsCommand_1.DescribeHostReservationOfferingsCommand,
+ DescribeHostReservationsCommand: DescribeHostReservationsCommand_1.DescribeHostReservationsCommand,
+ DescribeHostsCommand: DescribeHostsCommand_1.DescribeHostsCommand,
+ DescribeIamInstanceProfileAssociationsCommand: DescribeIamInstanceProfileAssociationsCommand_1.DescribeIamInstanceProfileAssociationsCommand,
+ DescribeIdentityIdFormatCommand: DescribeIdentityIdFormatCommand_1.DescribeIdentityIdFormatCommand,
+ DescribeIdFormatCommand: DescribeIdFormatCommand_1.DescribeIdFormatCommand,
+ DescribeImageAttributeCommand: DescribeImageAttributeCommand_1.DescribeImageAttributeCommand,
+ DescribeImagesCommand: DescribeImagesCommand_1.DescribeImagesCommand,
+ DescribeImportImageTasksCommand: DescribeImportImageTasksCommand_1.DescribeImportImageTasksCommand,
+ DescribeImportSnapshotTasksCommand: DescribeImportSnapshotTasksCommand_1.DescribeImportSnapshotTasksCommand,
+ DescribeInstanceAttributeCommand: DescribeInstanceAttributeCommand_1.DescribeInstanceAttributeCommand,
+ DescribeInstanceConnectEndpointsCommand: DescribeInstanceConnectEndpointsCommand_1.DescribeInstanceConnectEndpointsCommand,
+ DescribeInstanceCreditSpecificationsCommand: DescribeInstanceCreditSpecificationsCommand_1.DescribeInstanceCreditSpecificationsCommand,
+ DescribeInstanceEventNotificationAttributesCommand: DescribeInstanceEventNotificationAttributesCommand_1.DescribeInstanceEventNotificationAttributesCommand,
+ DescribeInstanceEventWindowsCommand: DescribeInstanceEventWindowsCommand_1.DescribeInstanceEventWindowsCommand,
+ DescribeInstancesCommand: DescribeInstancesCommand_1.DescribeInstancesCommand,
+ DescribeInstanceStatusCommand: DescribeInstanceStatusCommand_1.DescribeInstanceStatusCommand,
+ DescribeInstanceTypeOfferingsCommand: DescribeInstanceTypeOfferingsCommand_1.DescribeInstanceTypeOfferingsCommand,
+ DescribeInstanceTypesCommand: DescribeInstanceTypesCommand_1.DescribeInstanceTypesCommand,
+ DescribeInternetGatewaysCommand: DescribeInternetGatewaysCommand_1.DescribeInternetGatewaysCommand,
+ DescribeIpamPoolsCommand: DescribeIpamPoolsCommand_1.DescribeIpamPoolsCommand,
+ DescribeIpamResourceDiscoveriesCommand: DescribeIpamResourceDiscoveriesCommand_1.DescribeIpamResourceDiscoveriesCommand,
+ DescribeIpamResourceDiscoveryAssociationsCommand: DescribeIpamResourceDiscoveryAssociationsCommand_1.DescribeIpamResourceDiscoveryAssociationsCommand,
+ DescribeIpamsCommand: DescribeIpamsCommand_1.DescribeIpamsCommand,
+ DescribeIpamScopesCommand: DescribeIpamScopesCommand_1.DescribeIpamScopesCommand,
+ DescribeIpv6PoolsCommand: DescribeIpv6PoolsCommand_1.DescribeIpv6PoolsCommand,
+ DescribeKeyPairsCommand: DescribeKeyPairsCommand_1.DescribeKeyPairsCommand,
+ DescribeLaunchTemplatesCommand: DescribeLaunchTemplatesCommand_1.DescribeLaunchTemplatesCommand,
+ DescribeLaunchTemplateVersionsCommand: DescribeLaunchTemplateVersionsCommand_1.DescribeLaunchTemplateVersionsCommand,
+ DescribeLocalGatewayRouteTablesCommand: DescribeLocalGatewayRouteTablesCommand_1.DescribeLocalGatewayRouteTablesCommand,
+ DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand_1.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand,
+ DescribeLocalGatewayRouteTableVpcAssociationsCommand: DescribeLocalGatewayRouteTableVpcAssociationsCommand_1.DescribeLocalGatewayRouteTableVpcAssociationsCommand,
+ DescribeLocalGatewaysCommand: DescribeLocalGatewaysCommand_1.DescribeLocalGatewaysCommand,
+ DescribeLocalGatewayVirtualInterfaceGroupsCommand: DescribeLocalGatewayVirtualInterfaceGroupsCommand_1.DescribeLocalGatewayVirtualInterfaceGroupsCommand,
+ DescribeLocalGatewayVirtualInterfacesCommand: DescribeLocalGatewayVirtualInterfacesCommand_1.DescribeLocalGatewayVirtualInterfacesCommand,
+ DescribeManagedPrefixListsCommand: DescribeManagedPrefixListsCommand_1.DescribeManagedPrefixListsCommand,
+ DescribeMovingAddressesCommand: DescribeMovingAddressesCommand_1.DescribeMovingAddressesCommand,
+ DescribeNatGatewaysCommand: DescribeNatGatewaysCommand_1.DescribeNatGatewaysCommand,
+ DescribeNetworkAclsCommand: DescribeNetworkAclsCommand_1.DescribeNetworkAclsCommand,
+ DescribeNetworkInsightsAccessScopeAnalysesCommand: DescribeNetworkInsightsAccessScopeAnalysesCommand_1.DescribeNetworkInsightsAccessScopeAnalysesCommand,
+ DescribeNetworkInsightsAccessScopesCommand: DescribeNetworkInsightsAccessScopesCommand_1.DescribeNetworkInsightsAccessScopesCommand,
+ DescribeNetworkInsightsAnalysesCommand: DescribeNetworkInsightsAnalysesCommand_1.DescribeNetworkInsightsAnalysesCommand,
+ DescribeNetworkInsightsPathsCommand: DescribeNetworkInsightsPathsCommand_1.DescribeNetworkInsightsPathsCommand,
+ DescribeNetworkInterfaceAttributeCommand: DescribeNetworkInterfaceAttributeCommand_1.DescribeNetworkInterfaceAttributeCommand,
+ DescribeNetworkInterfacePermissionsCommand: DescribeNetworkInterfacePermissionsCommand_1.DescribeNetworkInterfacePermissionsCommand,
+ DescribeNetworkInterfacesCommand: DescribeNetworkInterfacesCommand_1.DescribeNetworkInterfacesCommand,
+ DescribePlacementGroupsCommand: DescribePlacementGroupsCommand_1.DescribePlacementGroupsCommand,
+ DescribePrefixListsCommand: DescribePrefixListsCommand_1.DescribePrefixListsCommand,
+ DescribePrincipalIdFormatCommand: DescribePrincipalIdFormatCommand_1.DescribePrincipalIdFormatCommand,
+ DescribePublicIpv4PoolsCommand: DescribePublicIpv4PoolsCommand_1.DescribePublicIpv4PoolsCommand,
+ DescribeRegionsCommand: DescribeRegionsCommand_1.DescribeRegionsCommand,
+ DescribeReplaceRootVolumeTasksCommand: DescribeReplaceRootVolumeTasksCommand_1.DescribeReplaceRootVolumeTasksCommand,
+ DescribeReservedInstancesCommand: DescribeReservedInstancesCommand_1.DescribeReservedInstancesCommand,
+ DescribeReservedInstancesListingsCommand: DescribeReservedInstancesListingsCommand_1.DescribeReservedInstancesListingsCommand,
+ DescribeReservedInstancesModificationsCommand: DescribeReservedInstancesModificationsCommand_1.DescribeReservedInstancesModificationsCommand,
+ DescribeReservedInstancesOfferingsCommand: DescribeReservedInstancesOfferingsCommand_1.DescribeReservedInstancesOfferingsCommand,
+ DescribeRouteTablesCommand: DescribeRouteTablesCommand_1.DescribeRouteTablesCommand,
+ DescribeScheduledInstanceAvailabilityCommand: DescribeScheduledInstanceAvailabilityCommand_1.DescribeScheduledInstanceAvailabilityCommand,
+ DescribeScheduledInstancesCommand: DescribeScheduledInstancesCommand_1.DescribeScheduledInstancesCommand,
+ DescribeSecurityGroupReferencesCommand: DescribeSecurityGroupReferencesCommand_1.DescribeSecurityGroupReferencesCommand,
+ DescribeSecurityGroupRulesCommand: DescribeSecurityGroupRulesCommand_1.DescribeSecurityGroupRulesCommand,
+ DescribeSecurityGroupsCommand: DescribeSecurityGroupsCommand_1.DescribeSecurityGroupsCommand,
+ DescribeSnapshotAttributeCommand: DescribeSnapshotAttributeCommand_1.DescribeSnapshotAttributeCommand,
+ DescribeSnapshotsCommand: DescribeSnapshotsCommand_1.DescribeSnapshotsCommand,
+ DescribeSnapshotTierStatusCommand: DescribeSnapshotTierStatusCommand_1.DescribeSnapshotTierStatusCommand,
+ DescribeSpotDatafeedSubscriptionCommand: DescribeSpotDatafeedSubscriptionCommand_1.DescribeSpotDatafeedSubscriptionCommand,
+ DescribeSpotFleetInstancesCommand: DescribeSpotFleetInstancesCommand_1.DescribeSpotFleetInstancesCommand,
+ DescribeSpotFleetRequestHistoryCommand: DescribeSpotFleetRequestHistoryCommand_1.DescribeSpotFleetRequestHistoryCommand,
+ DescribeSpotFleetRequestsCommand: DescribeSpotFleetRequestsCommand_1.DescribeSpotFleetRequestsCommand,
+ DescribeSpotInstanceRequestsCommand: DescribeSpotInstanceRequestsCommand_1.DescribeSpotInstanceRequestsCommand,
+ DescribeSpotPriceHistoryCommand: DescribeSpotPriceHistoryCommand_1.DescribeSpotPriceHistoryCommand,
+ DescribeStaleSecurityGroupsCommand: DescribeStaleSecurityGroupsCommand_1.DescribeStaleSecurityGroupsCommand,
+ DescribeStoreImageTasksCommand: DescribeStoreImageTasksCommand_1.DescribeStoreImageTasksCommand,
+ DescribeSubnetsCommand: DescribeSubnetsCommand_1.DescribeSubnetsCommand,
+ DescribeTagsCommand: DescribeTagsCommand_1.DescribeTagsCommand,
+ DescribeTrafficMirrorFiltersCommand: DescribeTrafficMirrorFiltersCommand_1.DescribeTrafficMirrorFiltersCommand,
+ DescribeTrafficMirrorSessionsCommand: DescribeTrafficMirrorSessionsCommand_1.DescribeTrafficMirrorSessionsCommand,
+ DescribeTrafficMirrorTargetsCommand: DescribeTrafficMirrorTargetsCommand_1.DescribeTrafficMirrorTargetsCommand,
+ DescribeTransitGatewayAttachmentsCommand: DescribeTransitGatewayAttachmentsCommand_1.DescribeTransitGatewayAttachmentsCommand,
+ DescribeTransitGatewayConnectPeersCommand: DescribeTransitGatewayConnectPeersCommand_1.DescribeTransitGatewayConnectPeersCommand,
+ DescribeTransitGatewayConnectsCommand: DescribeTransitGatewayConnectsCommand_1.DescribeTransitGatewayConnectsCommand,
+ DescribeTransitGatewayMulticastDomainsCommand: DescribeTransitGatewayMulticastDomainsCommand_1.DescribeTransitGatewayMulticastDomainsCommand,
+ DescribeTransitGatewayPeeringAttachmentsCommand: DescribeTransitGatewayPeeringAttachmentsCommand_1.DescribeTransitGatewayPeeringAttachmentsCommand,
+ DescribeTransitGatewayPolicyTablesCommand: DescribeTransitGatewayPolicyTablesCommand_1.DescribeTransitGatewayPolicyTablesCommand,
+ DescribeTransitGatewayRouteTableAnnouncementsCommand: DescribeTransitGatewayRouteTableAnnouncementsCommand_1.DescribeTransitGatewayRouteTableAnnouncementsCommand,
+ DescribeTransitGatewayRouteTablesCommand: DescribeTransitGatewayRouteTablesCommand_1.DescribeTransitGatewayRouteTablesCommand,
+ DescribeTransitGatewaysCommand: DescribeTransitGatewaysCommand_1.DescribeTransitGatewaysCommand,
+ DescribeTransitGatewayVpcAttachmentsCommand: DescribeTransitGatewayVpcAttachmentsCommand_1.DescribeTransitGatewayVpcAttachmentsCommand,
+ DescribeTrunkInterfaceAssociationsCommand: DescribeTrunkInterfaceAssociationsCommand_1.DescribeTrunkInterfaceAssociationsCommand,
+ DescribeVerifiedAccessEndpointsCommand: DescribeVerifiedAccessEndpointsCommand_1.DescribeVerifiedAccessEndpointsCommand,
+ DescribeVerifiedAccessGroupsCommand: DescribeVerifiedAccessGroupsCommand_1.DescribeVerifiedAccessGroupsCommand,
+ DescribeVerifiedAccessInstanceLoggingConfigurationsCommand: DescribeVerifiedAccessInstanceLoggingConfigurationsCommand_1.DescribeVerifiedAccessInstanceLoggingConfigurationsCommand,
+ DescribeVerifiedAccessInstancesCommand: DescribeVerifiedAccessInstancesCommand_1.DescribeVerifiedAccessInstancesCommand,
+ DescribeVerifiedAccessTrustProvidersCommand: DescribeVerifiedAccessTrustProvidersCommand_1.DescribeVerifiedAccessTrustProvidersCommand,
+ DescribeVolumeAttributeCommand: DescribeVolumeAttributeCommand_1.DescribeVolumeAttributeCommand,
+ DescribeVolumesCommand: DescribeVolumesCommand_1.DescribeVolumesCommand,
+ DescribeVolumesModificationsCommand: DescribeVolumesModificationsCommand_1.DescribeVolumesModificationsCommand,
+ DescribeVolumeStatusCommand: DescribeVolumeStatusCommand_1.DescribeVolumeStatusCommand,
+ DescribeVpcAttributeCommand: DescribeVpcAttributeCommand_1.DescribeVpcAttributeCommand,
+ DescribeVpcClassicLinkCommand: DescribeVpcClassicLinkCommand_1.DescribeVpcClassicLinkCommand,
+ DescribeVpcClassicLinkDnsSupportCommand: DescribeVpcClassicLinkDnsSupportCommand_1.DescribeVpcClassicLinkDnsSupportCommand,
+ DescribeVpcEndpointConnectionNotificationsCommand: DescribeVpcEndpointConnectionNotificationsCommand_1.DescribeVpcEndpointConnectionNotificationsCommand,
+ DescribeVpcEndpointConnectionsCommand: DescribeVpcEndpointConnectionsCommand_1.DescribeVpcEndpointConnectionsCommand,
+ DescribeVpcEndpointsCommand: DescribeVpcEndpointsCommand_1.DescribeVpcEndpointsCommand,
+ DescribeVpcEndpointServiceConfigurationsCommand: DescribeVpcEndpointServiceConfigurationsCommand_1.DescribeVpcEndpointServiceConfigurationsCommand,
+ DescribeVpcEndpointServicePermissionsCommand: DescribeVpcEndpointServicePermissionsCommand_1.DescribeVpcEndpointServicePermissionsCommand,
+ DescribeVpcEndpointServicesCommand: DescribeVpcEndpointServicesCommand_1.DescribeVpcEndpointServicesCommand,
+ DescribeVpcPeeringConnectionsCommand: DescribeVpcPeeringConnectionsCommand_1.DescribeVpcPeeringConnectionsCommand,
+ DescribeVpcsCommand: DescribeVpcsCommand_1.DescribeVpcsCommand,
+ DescribeVpnConnectionsCommand: DescribeVpnConnectionsCommand_1.DescribeVpnConnectionsCommand,
+ DescribeVpnGatewaysCommand: DescribeVpnGatewaysCommand_1.DescribeVpnGatewaysCommand,
+ DetachClassicLinkVpcCommand: DetachClassicLinkVpcCommand_1.DetachClassicLinkVpcCommand,
+ DetachInternetGatewayCommand: DetachInternetGatewayCommand_1.DetachInternetGatewayCommand,
+ DetachNetworkInterfaceCommand: DetachNetworkInterfaceCommand_1.DetachNetworkInterfaceCommand,
+ DetachVerifiedAccessTrustProviderCommand: DetachVerifiedAccessTrustProviderCommand_1.DetachVerifiedAccessTrustProviderCommand,
+ DetachVolumeCommand: DetachVolumeCommand_1.DetachVolumeCommand,
+ DetachVpnGatewayCommand: DetachVpnGatewayCommand_1.DetachVpnGatewayCommand,
+ DisableAddressTransferCommand: DisableAddressTransferCommand_1.DisableAddressTransferCommand,
+ DisableAwsNetworkPerformanceMetricSubscriptionCommand: DisableAwsNetworkPerformanceMetricSubscriptionCommand_1.DisableAwsNetworkPerformanceMetricSubscriptionCommand,
+ DisableEbsEncryptionByDefaultCommand: DisableEbsEncryptionByDefaultCommand_1.DisableEbsEncryptionByDefaultCommand,
+ DisableFastLaunchCommand: DisableFastLaunchCommand_1.DisableFastLaunchCommand,
+ DisableFastSnapshotRestoresCommand: DisableFastSnapshotRestoresCommand_1.DisableFastSnapshotRestoresCommand,
+ DisableImageBlockPublicAccessCommand: DisableImageBlockPublicAccessCommand_1.DisableImageBlockPublicAccessCommand,
+ DisableImageDeprecationCommand: DisableImageDeprecationCommand_1.DisableImageDeprecationCommand,
+ DisableIpamOrganizationAdminAccountCommand: DisableIpamOrganizationAdminAccountCommand_1.DisableIpamOrganizationAdminAccountCommand,
+ DisableSerialConsoleAccessCommand: DisableSerialConsoleAccessCommand_1.DisableSerialConsoleAccessCommand,
+ DisableTransitGatewayRouteTablePropagationCommand: DisableTransitGatewayRouteTablePropagationCommand_1.DisableTransitGatewayRouteTablePropagationCommand,
+ DisableVgwRoutePropagationCommand: DisableVgwRoutePropagationCommand_1.DisableVgwRoutePropagationCommand,
+ DisableVpcClassicLinkCommand: DisableVpcClassicLinkCommand_1.DisableVpcClassicLinkCommand,
+ DisableVpcClassicLinkDnsSupportCommand: DisableVpcClassicLinkDnsSupportCommand_1.DisableVpcClassicLinkDnsSupportCommand,
+ DisassociateAddressCommand: DisassociateAddressCommand_1.DisassociateAddressCommand,
+ DisassociateClientVpnTargetNetworkCommand: DisassociateClientVpnTargetNetworkCommand_1.DisassociateClientVpnTargetNetworkCommand,
+ DisassociateEnclaveCertificateIamRoleCommand: DisassociateEnclaveCertificateIamRoleCommand_1.DisassociateEnclaveCertificateIamRoleCommand,
+ DisassociateIamInstanceProfileCommand: DisassociateIamInstanceProfileCommand_1.DisassociateIamInstanceProfileCommand,
+ DisassociateInstanceEventWindowCommand: DisassociateInstanceEventWindowCommand_1.DisassociateInstanceEventWindowCommand,
+ DisassociateIpamResourceDiscoveryCommand: DisassociateIpamResourceDiscoveryCommand_1.DisassociateIpamResourceDiscoveryCommand,
+ DisassociateNatGatewayAddressCommand: DisassociateNatGatewayAddressCommand_1.DisassociateNatGatewayAddressCommand,
+ DisassociateRouteTableCommand: DisassociateRouteTableCommand_1.DisassociateRouteTableCommand,
+ DisassociateSubnetCidrBlockCommand: DisassociateSubnetCidrBlockCommand_1.DisassociateSubnetCidrBlockCommand,
+ DisassociateTransitGatewayMulticastDomainCommand: DisassociateTransitGatewayMulticastDomainCommand_1.DisassociateTransitGatewayMulticastDomainCommand,
+ DisassociateTransitGatewayPolicyTableCommand: DisassociateTransitGatewayPolicyTableCommand_1.DisassociateTransitGatewayPolicyTableCommand,
+ DisassociateTransitGatewayRouteTableCommand: DisassociateTransitGatewayRouteTableCommand_1.DisassociateTransitGatewayRouteTableCommand,
+ DisassociateTrunkInterfaceCommand: DisassociateTrunkInterfaceCommand_1.DisassociateTrunkInterfaceCommand,
+ DisassociateVpcCidrBlockCommand: DisassociateVpcCidrBlockCommand_1.DisassociateVpcCidrBlockCommand,
+ EnableAddressTransferCommand: EnableAddressTransferCommand_1.EnableAddressTransferCommand,
+ EnableAwsNetworkPerformanceMetricSubscriptionCommand: EnableAwsNetworkPerformanceMetricSubscriptionCommand_1.EnableAwsNetworkPerformanceMetricSubscriptionCommand,
+ EnableEbsEncryptionByDefaultCommand: EnableEbsEncryptionByDefaultCommand_1.EnableEbsEncryptionByDefaultCommand,
+ EnableFastLaunchCommand: EnableFastLaunchCommand_1.EnableFastLaunchCommand,
+ EnableFastSnapshotRestoresCommand: EnableFastSnapshotRestoresCommand_1.EnableFastSnapshotRestoresCommand,
+ EnableImageBlockPublicAccessCommand: EnableImageBlockPublicAccessCommand_1.EnableImageBlockPublicAccessCommand,
+ EnableImageDeprecationCommand: EnableImageDeprecationCommand_1.EnableImageDeprecationCommand,
+ EnableIpamOrganizationAdminAccountCommand: EnableIpamOrganizationAdminAccountCommand_1.EnableIpamOrganizationAdminAccountCommand,
+ EnableReachabilityAnalyzerOrganizationSharingCommand: EnableReachabilityAnalyzerOrganizationSharingCommand_1.EnableReachabilityAnalyzerOrganizationSharingCommand,
+ EnableSerialConsoleAccessCommand: EnableSerialConsoleAccessCommand_1.EnableSerialConsoleAccessCommand,
+ EnableTransitGatewayRouteTablePropagationCommand: EnableTransitGatewayRouteTablePropagationCommand_1.EnableTransitGatewayRouteTablePropagationCommand,
+ EnableVgwRoutePropagationCommand: EnableVgwRoutePropagationCommand_1.EnableVgwRoutePropagationCommand,
+ EnableVolumeIOCommand: EnableVolumeIOCommand_1.EnableVolumeIOCommand,
+ EnableVpcClassicLinkCommand: EnableVpcClassicLinkCommand_1.EnableVpcClassicLinkCommand,
+ EnableVpcClassicLinkDnsSupportCommand: EnableVpcClassicLinkDnsSupportCommand_1.EnableVpcClassicLinkDnsSupportCommand,
+ ExportClientVpnClientCertificateRevocationListCommand: ExportClientVpnClientCertificateRevocationListCommand_1.ExportClientVpnClientCertificateRevocationListCommand,
+ ExportClientVpnClientConfigurationCommand: ExportClientVpnClientConfigurationCommand_1.ExportClientVpnClientConfigurationCommand,
+ ExportImageCommand: ExportImageCommand_1.ExportImageCommand,
+ ExportTransitGatewayRoutesCommand: ExportTransitGatewayRoutesCommand_1.ExportTransitGatewayRoutesCommand,
+ GetAssociatedEnclaveCertificateIamRolesCommand: GetAssociatedEnclaveCertificateIamRolesCommand_1.GetAssociatedEnclaveCertificateIamRolesCommand,
+ GetAssociatedIpv6PoolCidrsCommand: GetAssociatedIpv6PoolCidrsCommand_1.GetAssociatedIpv6PoolCidrsCommand,
+ GetAwsNetworkPerformanceDataCommand: GetAwsNetworkPerformanceDataCommand_1.GetAwsNetworkPerformanceDataCommand,
+ GetCapacityReservationUsageCommand: GetCapacityReservationUsageCommand_1.GetCapacityReservationUsageCommand,
+ GetCoipPoolUsageCommand: GetCoipPoolUsageCommand_1.GetCoipPoolUsageCommand,
+ GetConsoleOutputCommand: GetConsoleOutputCommand_1.GetConsoleOutputCommand,
+ GetConsoleScreenshotCommand: GetConsoleScreenshotCommand_1.GetConsoleScreenshotCommand,
+ GetDefaultCreditSpecificationCommand: GetDefaultCreditSpecificationCommand_1.GetDefaultCreditSpecificationCommand,
+ GetEbsDefaultKmsKeyIdCommand: GetEbsDefaultKmsKeyIdCommand_1.GetEbsDefaultKmsKeyIdCommand,
+ GetEbsEncryptionByDefaultCommand: GetEbsEncryptionByDefaultCommand_1.GetEbsEncryptionByDefaultCommand,
+ GetFlowLogsIntegrationTemplateCommand: GetFlowLogsIntegrationTemplateCommand_1.GetFlowLogsIntegrationTemplateCommand,
+ GetGroupsForCapacityReservationCommand: GetGroupsForCapacityReservationCommand_1.GetGroupsForCapacityReservationCommand,
+ GetHostReservationPurchasePreviewCommand: GetHostReservationPurchasePreviewCommand_1.GetHostReservationPurchasePreviewCommand,
+ GetImageBlockPublicAccessStateCommand: GetImageBlockPublicAccessStateCommand_1.GetImageBlockPublicAccessStateCommand,
+ GetInstanceTypesFromInstanceRequirementsCommand: GetInstanceTypesFromInstanceRequirementsCommand_1.GetInstanceTypesFromInstanceRequirementsCommand,
+ GetInstanceUefiDataCommand: GetInstanceUefiDataCommand_1.GetInstanceUefiDataCommand,
+ GetIpamAddressHistoryCommand: GetIpamAddressHistoryCommand_1.GetIpamAddressHistoryCommand,
+ GetIpamDiscoveredAccountsCommand: GetIpamDiscoveredAccountsCommand_1.GetIpamDiscoveredAccountsCommand,
+ GetIpamDiscoveredResourceCidrsCommand: GetIpamDiscoveredResourceCidrsCommand_1.GetIpamDiscoveredResourceCidrsCommand,
+ GetIpamPoolAllocationsCommand: GetIpamPoolAllocationsCommand_1.GetIpamPoolAllocationsCommand,
+ GetIpamPoolCidrsCommand: GetIpamPoolCidrsCommand_1.GetIpamPoolCidrsCommand,
+ GetIpamResourceCidrsCommand: GetIpamResourceCidrsCommand_1.GetIpamResourceCidrsCommand,
+ GetLaunchTemplateDataCommand: GetLaunchTemplateDataCommand_1.GetLaunchTemplateDataCommand,
+ GetManagedPrefixListAssociationsCommand: GetManagedPrefixListAssociationsCommand_1.GetManagedPrefixListAssociationsCommand,
+ GetManagedPrefixListEntriesCommand: GetManagedPrefixListEntriesCommand_1.GetManagedPrefixListEntriesCommand,
+ GetNetworkInsightsAccessScopeAnalysisFindingsCommand: GetNetworkInsightsAccessScopeAnalysisFindingsCommand_1.GetNetworkInsightsAccessScopeAnalysisFindingsCommand,
+ GetNetworkInsightsAccessScopeContentCommand: GetNetworkInsightsAccessScopeContentCommand_1.GetNetworkInsightsAccessScopeContentCommand,
+ GetPasswordDataCommand: GetPasswordDataCommand_1.GetPasswordDataCommand,
+ GetReservedInstancesExchangeQuoteCommand: GetReservedInstancesExchangeQuoteCommand_1.GetReservedInstancesExchangeQuoteCommand,
+ GetSerialConsoleAccessStatusCommand: GetSerialConsoleAccessStatusCommand_1.GetSerialConsoleAccessStatusCommand,
+ GetSpotPlacementScoresCommand: GetSpotPlacementScoresCommand_1.GetSpotPlacementScoresCommand,
+ GetSubnetCidrReservationsCommand: GetSubnetCidrReservationsCommand_1.GetSubnetCidrReservationsCommand,
+ GetTransitGatewayAttachmentPropagationsCommand: GetTransitGatewayAttachmentPropagationsCommand_1.GetTransitGatewayAttachmentPropagationsCommand,
+ GetTransitGatewayMulticastDomainAssociationsCommand: GetTransitGatewayMulticastDomainAssociationsCommand_1.GetTransitGatewayMulticastDomainAssociationsCommand,
+ GetTransitGatewayPolicyTableAssociationsCommand: GetTransitGatewayPolicyTableAssociationsCommand_1.GetTransitGatewayPolicyTableAssociationsCommand,
+ GetTransitGatewayPolicyTableEntriesCommand: GetTransitGatewayPolicyTableEntriesCommand_1.GetTransitGatewayPolicyTableEntriesCommand,
+ GetTransitGatewayPrefixListReferencesCommand: GetTransitGatewayPrefixListReferencesCommand_1.GetTransitGatewayPrefixListReferencesCommand,
+ GetTransitGatewayRouteTableAssociationsCommand: GetTransitGatewayRouteTableAssociationsCommand_1.GetTransitGatewayRouteTableAssociationsCommand,
+ GetTransitGatewayRouteTablePropagationsCommand: GetTransitGatewayRouteTablePropagationsCommand_1.GetTransitGatewayRouteTablePropagationsCommand,
+ GetVerifiedAccessEndpointPolicyCommand: GetVerifiedAccessEndpointPolicyCommand_1.GetVerifiedAccessEndpointPolicyCommand,
+ GetVerifiedAccessGroupPolicyCommand: GetVerifiedAccessGroupPolicyCommand_1.GetVerifiedAccessGroupPolicyCommand,
+ GetVpnConnectionDeviceSampleConfigurationCommand: GetVpnConnectionDeviceSampleConfigurationCommand_1.GetVpnConnectionDeviceSampleConfigurationCommand,
+ GetVpnConnectionDeviceTypesCommand: GetVpnConnectionDeviceTypesCommand_1.GetVpnConnectionDeviceTypesCommand,
+ GetVpnTunnelReplacementStatusCommand: GetVpnTunnelReplacementStatusCommand_1.GetVpnTunnelReplacementStatusCommand,
+ ImportClientVpnClientCertificateRevocationListCommand: ImportClientVpnClientCertificateRevocationListCommand_1.ImportClientVpnClientCertificateRevocationListCommand,
+ ImportImageCommand: ImportImageCommand_1.ImportImageCommand,
+ ImportInstanceCommand: ImportInstanceCommand_1.ImportInstanceCommand,
+ ImportKeyPairCommand: ImportKeyPairCommand_1.ImportKeyPairCommand,
+ ImportSnapshotCommand: ImportSnapshotCommand_1.ImportSnapshotCommand,
+ ImportVolumeCommand: ImportVolumeCommand_1.ImportVolumeCommand,
+ ListImagesInRecycleBinCommand: ListImagesInRecycleBinCommand_1.ListImagesInRecycleBinCommand,
+ ListSnapshotsInRecycleBinCommand: ListSnapshotsInRecycleBinCommand_1.ListSnapshotsInRecycleBinCommand,
+ ModifyAddressAttributeCommand: ModifyAddressAttributeCommand_1.ModifyAddressAttributeCommand,
+ ModifyAvailabilityZoneGroupCommand: ModifyAvailabilityZoneGroupCommand_1.ModifyAvailabilityZoneGroupCommand,
+ ModifyCapacityReservationCommand: ModifyCapacityReservationCommand_1.ModifyCapacityReservationCommand,
+ ModifyCapacityReservationFleetCommand: ModifyCapacityReservationFleetCommand_1.ModifyCapacityReservationFleetCommand,
+ ModifyClientVpnEndpointCommand: ModifyClientVpnEndpointCommand_1.ModifyClientVpnEndpointCommand,
+ ModifyDefaultCreditSpecificationCommand: ModifyDefaultCreditSpecificationCommand_1.ModifyDefaultCreditSpecificationCommand,
+ ModifyEbsDefaultKmsKeyIdCommand: ModifyEbsDefaultKmsKeyIdCommand_1.ModifyEbsDefaultKmsKeyIdCommand,
+ ModifyFleetCommand: ModifyFleetCommand_1.ModifyFleetCommand,
+ ModifyFpgaImageAttributeCommand: ModifyFpgaImageAttributeCommand_1.ModifyFpgaImageAttributeCommand,
+ ModifyHostsCommand: ModifyHostsCommand_1.ModifyHostsCommand,
+ ModifyIdentityIdFormatCommand: ModifyIdentityIdFormatCommand_1.ModifyIdentityIdFormatCommand,
+ ModifyIdFormatCommand: ModifyIdFormatCommand_1.ModifyIdFormatCommand,
+ ModifyImageAttributeCommand: ModifyImageAttributeCommand_1.ModifyImageAttributeCommand,
+ ModifyInstanceAttributeCommand: ModifyInstanceAttributeCommand_1.ModifyInstanceAttributeCommand,
+ ModifyInstanceCapacityReservationAttributesCommand: ModifyInstanceCapacityReservationAttributesCommand_1.ModifyInstanceCapacityReservationAttributesCommand,
+ ModifyInstanceCreditSpecificationCommand: ModifyInstanceCreditSpecificationCommand_1.ModifyInstanceCreditSpecificationCommand,
+ ModifyInstanceEventStartTimeCommand: ModifyInstanceEventStartTimeCommand_1.ModifyInstanceEventStartTimeCommand,
+ ModifyInstanceEventWindowCommand: ModifyInstanceEventWindowCommand_1.ModifyInstanceEventWindowCommand,
+ ModifyInstanceMaintenanceOptionsCommand: ModifyInstanceMaintenanceOptionsCommand_1.ModifyInstanceMaintenanceOptionsCommand,
+ ModifyInstanceMetadataOptionsCommand: ModifyInstanceMetadataOptionsCommand_1.ModifyInstanceMetadataOptionsCommand,
+ ModifyInstancePlacementCommand: ModifyInstancePlacementCommand_1.ModifyInstancePlacementCommand,
+ ModifyIpamCommand: ModifyIpamCommand_1.ModifyIpamCommand,
+ ModifyIpamPoolCommand: ModifyIpamPoolCommand_1.ModifyIpamPoolCommand,
+ ModifyIpamResourceCidrCommand: ModifyIpamResourceCidrCommand_1.ModifyIpamResourceCidrCommand,
+ ModifyIpamResourceDiscoveryCommand: ModifyIpamResourceDiscoveryCommand_1.ModifyIpamResourceDiscoveryCommand,
+ ModifyIpamScopeCommand: ModifyIpamScopeCommand_1.ModifyIpamScopeCommand,
+ ModifyLaunchTemplateCommand: ModifyLaunchTemplateCommand_1.ModifyLaunchTemplateCommand,
+ ModifyLocalGatewayRouteCommand: ModifyLocalGatewayRouteCommand_1.ModifyLocalGatewayRouteCommand,
+ ModifyManagedPrefixListCommand: ModifyManagedPrefixListCommand_1.ModifyManagedPrefixListCommand,
+ ModifyNetworkInterfaceAttributeCommand: ModifyNetworkInterfaceAttributeCommand_1.ModifyNetworkInterfaceAttributeCommand,
+ ModifyPrivateDnsNameOptionsCommand: ModifyPrivateDnsNameOptionsCommand_1.ModifyPrivateDnsNameOptionsCommand,
+ ModifyReservedInstancesCommand: ModifyReservedInstancesCommand_1.ModifyReservedInstancesCommand,
+ ModifySecurityGroupRulesCommand: ModifySecurityGroupRulesCommand_1.ModifySecurityGroupRulesCommand,
+ ModifySnapshotAttributeCommand: ModifySnapshotAttributeCommand_1.ModifySnapshotAttributeCommand,
+ ModifySnapshotTierCommand: ModifySnapshotTierCommand_1.ModifySnapshotTierCommand,
+ ModifySpotFleetRequestCommand: ModifySpotFleetRequestCommand_1.ModifySpotFleetRequestCommand,
+ ModifySubnetAttributeCommand: ModifySubnetAttributeCommand_1.ModifySubnetAttributeCommand,
+ ModifyTrafficMirrorFilterNetworkServicesCommand: ModifyTrafficMirrorFilterNetworkServicesCommand_1.ModifyTrafficMirrorFilterNetworkServicesCommand,
+ ModifyTrafficMirrorFilterRuleCommand: ModifyTrafficMirrorFilterRuleCommand_1.ModifyTrafficMirrorFilterRuleCommand,
+ ModifyTrafficMirrorSessionCommand: ModifyTrafficMirrorSessionCommand_1.ModifyTrafficMirrorSessionCommand,
+ ModifyTransitGatewayCommand: ModifyTransitGatewayCommand_1.ModifyTransitGatewayCommand,
+ ModifyTransitGatewayPrefixListReferenceCommand: ModifyTransitGatewayPrefixListReferenceCommand_1.ModifyTransitGatewayPrefixListReferenceCommand,
+ ModifyTransitGatewayVpcAttachmentCommand: ModifyTransitGatewayVpcAttachmentCommand_1.ModifyTransitGatewayVpcAttachmentCommand,
+ ModifyVerifiedAccessEndpointCommand: ModifyVerifiedAccessEndpointCommand_1.ModifyVerifiedAccessEndpointCommand,
+ ModifyVerifiedAccessEndpointPolicyCommand: ModifyVerifiedAccessEndpointPolicyCommand_1.ModifyVerifiedAccessEndpointPolicyCommand,
+ ModifyVerifiedAccessGroupCommand: ModifyVerifiedAccessGroupCommand_1.ModifyVerifiedAccessGroupCommand,
+ ModifyVerifiedAccessGroupPolicyCommand: ModifyVerifiedAccessGroupPolicyCommand_1.ModifyVerifiedAccessGroupPolicyCommand,
+ ModifyVerifiedAccessInstanceCommand: ModifyVerifiedAccessInstanceCommand_1.ModifyVerifiedAccessInstanceCommand,
+ ModifyVerifiedAccessInstanceLoggingConfigurationCommand: ModifyVerifiedAccessInstanceLoggingConfigurationCommand_1.ModifyVerifiedAccessInstanceLoggingConfigurationCommand,
+ ModifyVerifiedAccessTrustProviderCommand: ModifyVerifiedAccessTrustProviderCommand_1.ModifyVerifiedAccessTrustProviderCommand,
+ ModifyVolumeCommand: ModifyVolumeCommand_1.ModifyVolumeCommand,
+ ModifyVolumeAttributeCommand: ModifyVolumeAttributeCommand_1.ModifyVolumeAttributeCommand,
+ ModifyVpcAttributeCommand: ModifyVpcAttributeCommand_1.ModifyVpcAttributeCommand,
+ ModifyVpcEndpointCommand: ModifyVpcEndpointCommand_1.ModifyVpcEndpointCommand,
+ ModifyVpcEndpointConnectionNotificationCommand: ModifyVpcEndpointConnectionNotificationCommand_1.ModifyVpcEndpointConnectionNotificationCommand,
+ ModifyVpcEndpointServiceConfigurationCommand: ModifyVpcEndpointServiceConfigurationCommand_1.ModifyVpcEndpointServiceConfigurationCommand,
+ ModifyVpcEndpointServicePayerResponsibilityCommand: ModifyVpcEndpointServicePayerResponsibilityCommand_1.ModifyVpcEndpointServicePayerResponsibilityCommand,
+ ModifyVpcEndpointServicePermissionsCommand: ModifyVpcEndpointServicePermissionsCommand_1.ModifyVpcEndpointServicePermissionsCommand,
+ ModifyVpcPeeringConnectionOptionsCommand: ModifyVpcPeeringConnectionOptionsCommand_1.ModifyVpcPeeringConnectionOptionsCommand,
+ ModifyVpcTenancyCommand: ModifyVpcTenancyCommand_1.ModifyVpcTenancyCommand,
+ ModifyVpnConnectionCommand: ModifyVpnConnectionCommand_1.ModifyVpnConnectionCommand,
+ ModifyVpnConnectionOptionsCommand: ModifyVpnConnectionOptionsCommand_1.ModifyVpnConnectionOptionsCommand,
+ ModifyVpnTunnelCertificateCommand: ModifyVpnTunnelCertificateCommand_1.ModifyVpnTunnelCertificateCommand,
+ ModifyVpnTunnelOptionsCommand: ModifyVpnTunnelOptionsCommand_1.ModifyVpnTunnelOptionsCommand,
+ MonitorInstancesCommand: MonitorInstancesCommand_1.MonitorInstancesCommand,
+ MoveAddressToVpcCommand: MoveAddressToVpcCommand_1.MoveAddressToVpcCommand,
+ MoveByoipCidrToIpamCommand: MoveByoipCidrToIpamCommand_1.MoveByoipCidrToIpamCommand,
+ ProvisionByoipCidrCommand: ProvisionByoipCidrCommand_1.ProvisionByoipCidrCommand,
+ ProvisionIpamPoolCidrCommand: ProvisionIpamPoolCidrCommand_1.ProvisionIpamPoolCidrCommand,
+ ProvisionPublicIpv4PoolCidrCommand: ProvisionPublicIpv4PoolCidrCommand_1.ProvisionPublicIpv4PoolCidrCommand,
+ PurchaseHostReservationCommand: PurchaseHostReservationCommand_1.PurchaseHostReservationCommand,
+ PurchaseReservedInstancesOfferingCommand: PurchaseReservedInstancesOfferingCommand_1.PurchaseReservedInstancesOfferingCommand,
+ PurchaseScheduledInstancesCommand: PurchaseScheduledInstancesCommand_1.PurchaseScheduledInstancesCommand,
+ RebootInstancesCommand: RebootInstancesCommand_1.RebootInstancesCommand,
+ RegisterImageCommand: RegisterImageCommand_1.RegisterImageCommand,
+ RegisterInstanceEventNotificationAttributesCommand: RegisterInstanceEventNotificationAttributesCommand_1.RegisterInstanceEventNotificationAttributesCommand,
+ RegisterTransitGatewayMulticastGroupMembersCommand: RegisterTransitGatewayMulticastGroupMembersCommand_1.RegisterTransitGatewayMulticastGroupMembersCommand,
+ RegisterTransitGatewayMulticastGroupSourcesCommand: RegisterTransitGatewayMulticastGroupSourcesCommand_1.RegisterTransitGatewayMulticastGroupSourcesCommand,
+ RejectTransitGatewayMulticastDomainAssociationsCommand: RejectTransitGatewayMulticastDomainAssociationsCommand_1.RejectTransitGatewayMulticastDomainAssociationsCommand,
+ RejectTransitGatewayPeeringAttachmentCommand: RejectTransitGatewayPeeringAttachmentCommand_1.RejectTransitGatewayPeeringAttachmentCommand,
+ RejectTransitGatewayVpcAttachmentCommand: RejectTransitGatewayVpcAttachmentCommand_1.RejectTransitGatewayVpcAttachmentCommand,
+ RejectVpcEndpointConnectionsCommand: RejectVpcEndpointConnectionsCommand_1.RejectVpcEndpointConnectionsCommand,
+ RejectVpcPeeringConnectionCommand: RejectVpcPeeringConnectionCommand_1.RejectVpcPeeringConnectionCommand,
+ ReleaseAddressCommand: ReleaseAddressCommand_1.ReleaseAddressCommand,
+ ReleaseHostsCommand: ReleaseHostsCommand_1.ReleaseHostsCommand,
+ ReleaseIpamPoolAllocationCommand: ReleaseIpamPoolAllocationCommand_1.ReleaseIpamPoolAllocationCommand,
+ ReplaceIamInstanceProfileAssociationCommand: ReplaceIamInstanceProfileAssociationCommand_1.ReplaceIamInstanceProfileAssociationCommand,
+ ReplaceNetworkAclAssociationCommand: ReplaceNetworkAclAssociationCommand_1.ReplaceNetworkAclAssociationCommand,
+ ReplaceNetworkAclEntryCommand: ReplaceNetworkAclEntryCommand_1.ReplaceNetworkAclEntryCommand,
+ ReplaceRouteCommand: ReplaceRouteCommand_1.ReplaceRouteCommand,
+ ReplaceRouteTableAssociationCommand: ReplaceRouteTableAssociationCommand_1.ReplaceRouteTableAssociationCommand,
+ ReplaceTransitGatewayRouteCommand: ReplaceTransitGatewayRouteCommand_1.ReplaceTransitGatewayRouteCommand,
+ ReplaceVpnTunnelCommand: ReplaceVpnTunnelCommand_1.ReplaceVpnTunnelCommand,
+ ReportInstanceStatusCommand: ReportInstanceStatusCommand_1.ReportInstanceStatusCommand,
+ RequestSpotFleetCommand: RequestSpotFleetCommand_1.RequestSpotFleetCommand,
+ RequestSpotInstancesCommand: RequestSpotInstancesCommand_1.RequestSpotInstancesCommand,
+ ResetAddressAttributeCommand: ResetAddressAttributeCommand_1.ResetAddressAttributeCommand,
+ ResetEbsDefaultKmsKeyIdCommand: ResetEbsDefaultKmsKeyIdCommand_1.ResetEbsDefaultKmsKeyIdCommand,
+ ResetFpgaImageAttributeCommand: ResetFpgaImageAttributeCommand_1.ResetFpgaImageAttributeCommand,
+ ResetImageAttributeCommand: ResetImageAttributeCommand_1.ResetImageAttributeCommand,
+ ResetInstanceAttributeCommand: ResetInstanceAttributeCommand_1.ResetInstanceAttributeCommand,
+ ResetNetworkInterfaceAttributeCommand: ResetNetworkInterfaceAttributeCommand_1.ResetNetworkInterfaceAttributeCommand,
+ ResetSnapshotAttributeCommand: ResetSnapshotAttributeCommand_1.ResetSnapshotAttributeCommand,
+ RestoreAddressToClassicCommand: RestoreAddressToClassicCommand_1.RestoreAddressToClassicCommand,
+ RestoreImageFromRecycleBinCommand: RestoreImageFromRecycleBinCommand_1.RestoreImageFromRecycleBinCommand,
+ RestoreManagedPrefixListVersionCommand: RestoreManagedPrefixListVersionCommand_1.RestoreManagedPrefixListVersionCommand,
+ RestoreSnapshotFromRecycleBinCommand: RestoreSnapshotFromRecycleBinCommand_1.RestoreSnapshotFromRecycleBinCommand,
+ RestoreSnapshotTierCommand: RestoreSnapshotTierCommand_1.RestoreSnapshotTierCommand,
+ RevokeClientVpnIngressCommand: RevokeClientVpnIngressCommand_1.RevokeClientVpnIngressCommand,
+ RevokeSecurityGroupEgressCommand: RevokeSecurityGroupEgressCommand_1.RevokeSecurityGroupEgressCommand,
+ RevokeSecurityGroupIngressCommand: RevokeSecurityGroupIngressCommand_1.RevokeSecurityGroupIngressCommand,
+ RunInstancesCommand: RunInstancesCommand_1.RunInstancesCommand,
+ RunScheduledInstancesCommand: RunScheduledInstancesCommand_1.RunScheduledInstancesCommand,
+ SearchLocalGatewayRoutesCommand: SearchLocalGatewayRoutesCommand_1.SearchLocalGatewayRoutesCommand,
+ SearchTransitGatewayMulticastGroupsCommand: SearchTransitGatewayMulticastGroupsCommand_1.SearchTransitGatewayMulticastGroupsCommand,
+ SearchTransitGatewayRoutesCommand: SearchTransitGatewayRoutesCommand_1.SearchTransitGatewayRoutesCommand,
+ SendDiagnosticInterruptCommand: SendDiagnosticInterruptCommand_1.SendDiagnosticInterruptCommand,
+ StartInstancesCommand: StartInstancesCommand_1.StartInstancesCommand,
+ StartNetworkInsightsAccessScopeAnalysisCommand: StartNetworkInsightsAccessScopeAnalysisCommand_1.StartNetworkInsightsAccessScopeAnalysisCommand,
+ StartNetworkInsightsAnalysisCommand: StartNetworkInsightsAnalysisCommand_1.StartNetworkInsightsAnalysisCommand,
+ StartVpcEndpointServicePrivateDnsVerificationCommand: StartVpcEndpointServicePrivateDnsVerificationCommand_1.StartVpcEndpointServicePrivateDnsVerificationCommand,
+ StopInstancesCommand: StopInstancesCommand_1.StopInstancesCommand,
+ TerminateClientVpnConnectionsCommand: TerminateClientVpnConnectionsCommand_1.TerminateClientVpnConnectionsCommand,
+ TerminateInstancesCommand: TerminateInstancesCommand_1.TerminateInstancesCommand,
+ UnassignIpv6AddressesCommand: UnassignIpv6AddressesCommand_1.UnassignIpv6AddressesCommand,
+ UnassignPrivateIpAddressesCommand: UnassignPrivateIpAddressesCommand_1.UnassignPrivateIpAddressesCommand,
+ UnassignPrivateNatGatewayAddressCommand: UnassignPrivateNatGatewayAddressCommand_1.UnassignPrivateNatGatewayAddressCommand,
+ UnmonitorInstancesCommand: UnmonitorInstancesCommand_1.UnmonitorInstancesCommand,
+ UpdateSecurityGroupRuleDescriptionsEgressCommand: UpdateSecurityGroupRuleDescriptionsEgressCommand_1.UpdateSecurityGroupRuleDescriptionsEgressCommand,
+ UpdateSecurityGroupRuleDescriptionsIngressCommand: UpdateSecurityGroupRuleDescriptionsIngressCommand_1.UpdateSecurityGroupRuleDescriptionsIngressCommand,
+ WithdrawByoipCidrCommand: WithdrawByoipCidrCommand_1.WithdrawByoipCidrCommand,
+};
+class EC2 extends EC2Client_1.EC2Client {
+}
+exports.EC2 = EC2;
+(0, smithy_client_1.createAggregatedClient)(commands, EC2);
- 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
+/***/ 99677:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+"use strict";
- const classConstructor = this.constructor;
- classConstructor.plugins.forEach(plugin => {
- Object.assign(this, plugin(this, options));
- });
- }
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.EC2Client = exports.__Client = void 0;
+const middleware_host_header_1 = __webpack_require__(22545);
+const middleware_logger_1 = __webpack_require__(20014);
+const middleware_recursion_detection_1 = __webpack_require__(85525);
+const middleware_signing_1 = __webpack_require__(14935);
+const middleware_user_agent_1 = __webpack_require__(64688);
+const config_resolver_1 = __webpack_require__(53098);
+const middleware_content_length_1 = __webpack_require__(82800);
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_retry_1 = __webpack_require__(96039);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "__Client", ({ enumerable: true, get: function () { return smithy_client_1.Client; } }));
+const EndpointParameters_1 = __webpack_require__(58774);
+const runtimeConfig_1 = __webpack_require__(84689);
+const runtimeExtensions_1 = __webpack_require__(44990);
+class EC2Client 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_signing_1.resolveAwsAuthConfig)(_config_5);
+ const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_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_signing_1.getAwsAuthPlugin)(this.config));
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
+ }
+ destroy() {
+ super.destroy();
+ }
+}
+exports.EC2Client = EC2Client;
- 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));
- }
+/***/ 9100:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- };
- return OctokitWithDefaults;
- }
- /**
- * Attach a plugin (or many) to your Octokit instance.
- *
- * @example
- * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)
- */
+"use strict";
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AcceptAddressTransferCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AcceptAddressTransferCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AcceptAddressTransferCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AcceptAddressTransferCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AcceptAddressTransfer",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AcceptAddressTransferCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AcceptAddressTransferCommand)(output, context);
+ }
+}
+exports.AcceptAddressTransferCommand = AcceptAddressTransferCommand;
- 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 = [];
+/***/ 5239:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
-exports.Octokit = Octokit;
-//# sourceMappingURL=index.js.map
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AcceptReservedInstancesExchangeQuoteCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AcceptReservedInstancesExchangeQuoteCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AcceptReservedInstancesExchangeQuoteCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AcceptReservedInstancesExchangeQuoteCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AcceptReservedInstancesExchangeQuote",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AcceptReservedInstancesExchangeQuoteCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AcceptReservedInstancesExchangeQuoteCommand)(output, context);
+ }
+}
+exports.AcceptReservedInstancesExchangeQuoteCommand = AcceptReservedInstancesExchangeQuoteCommand;
/***/ }),
-/***/ 59440:
+/***/ 5111:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AcceptTransitGatewayMulticastDomainAssociationsCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AcceptTransitGatewayMulticastDomainAssociationsCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AcceptTransitGatewayMulticastDomainAssociationsCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AcceptTransitGatewayMulticastDomainAssociationsCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AcceptTransitGatewayMulticastDomainAssociations",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AcceptTransitGatewayMulticastDomainAssociationsCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AcceptTransitGatewayMulticastDomainAssociationsCommand)(output, context);
+ }
+}
+exports.AcceptTransitGatewayMulticastDomainAssociationsCommand = AcceptTransitGatewayMulticastDomainAssociationsCommand;
-var isPlainObject = __webpack_require__(63287);
-var universalUserAgent = __webpack_require__(45030);
-function lowercaseKeys(object) {
- if (!object) {
- return {};
- }
+/***/ }),
- return Object.keys(object).reduce((newObj, key) => {
- newObj[key.toLowerCase()] = object[key];
- return newObj;
- }, {});
-}
+/***/ 32507:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
-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]
- });
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AcceptTransitGatewayPeeringAttachmentCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AcceptTransitGatewayPeeringAttachmentCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AcceptTransitGatewayPeeringAttachmentCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AcceptTransitGatewayPeeringAttachmentCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AcceptTransitGatewayPeeringAttachment",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AcceptTransitGatewayPeeringAttachmentCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AcceptTransitGatewayPeeringAttachmentCommand)(output, context);
}
- });
- return result;
}
+exports.AcceptTransitGatewayPeeringAttachmentCommand = AcceptTransitGatewayPeeringAttachmentCommand;
-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
+/***/ 73562:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+"use strict";
- options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AcceptTransitGatewayVpcAttachmentCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AcceptTransitGatewayVpcAttachmentCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AcceptTransitGatewayVpcAttachmentCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AcceptTransitGatewayVpcAttachmentCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AcceptTransitGatewayVpcAttachment",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AcceptTransitGatewayVpcAttachmentCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AcceptTransitGatewayVpcAttachmentCommand)(output, context);
+ }
+}
+exports.AcceptTransitGatewayVpcAttachmentCommand = AcceptTransitGatewayVpcAttachmentCommand;
- 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;
+/***/ 91636:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AcceptVpcEndpointConnectionsCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AcceptVpcEndpointConnectionsCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AcceptVpcEndpointConnectionsCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AcceptVpcEndpointConnectionsCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AcceptVpcEndpointConnections",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AcceptVpcEndpointConnectionsCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AcceptVpcEndpointConnectionsCommand)(output, context);
+ }
}
+exports.AcceptVpcEndpointConnectionsCommand = AcceptVpcEndpointConnectionsCommand;
-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("+");
- }
+/***/ 9818:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- return `${name}=${encodeURIComponent(parameters[name])}`;
- }).join("&");
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AcceptVpcPeeringConnectionCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AcceptVpcPeeringConnectionCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AcceptVpcPeeringConnectionCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AcceptVpcPeeringConnectionCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AcceptVpcPeeringConnection",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AcceptVpcPeeringConnectionCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AcceptVpcPeeringConnectionCommand)(output, context);
+ }
}
+exports.AcceptVpcPeeringConnectionCommand = AcceptVpcPeeringConnectionCommand;
-const urlVariableRegex = /\{[^}]+\}/g;
-function removeNonChars(variableName) {
- return variableName.replace(/^\W+|\W+$/g, "").split(/,/);
-}
+/***/ }),
-function extractUrlVariableNames(url) {
- const matches = url.match(urlVariableRegex);
+/***/ 38941:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- if (!matches) {
- return [];
- }
+"use strict";
- return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AdvertiseByoipCidrCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AdvertiseByoipCidrCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AdvertiseByoipCidrCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AdvertiseByoipCidrCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AdvertiseByoipCidr",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AdvertiseByoipCidrCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AdvertiseByoipCidrCommand)(output, context);
+ }
}
+exports.AdvertiseByoipCidrCommand = AdvertiseByoipCidrCommand;
-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, "]");
- }
+/***/ 39130:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- return part;
- }).join("");
-}
+"use strict";
-function encodeUnreserved(str) {
- return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
- return "%" + c.charCodeAt(0).toString(16).toUpperCase();
- });
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AllocateAddressCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AllocateAddressCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AllocateAddressCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AllocateAddressCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AllocateAddress",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AllocateAddressCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AllocateAddressCommand)(output, context);
+ }
}
+exports.AllocateAddressCommand = AllocateAddressCommand;
-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;
-}
+/***/ 15934:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
-function isKeyOperator(operator) {
- return operator === ";" || operator === "&" || operator === "?";
-}
+"use strict";
-function getValues(context, operator, key, modifier) {
- var value = context[key],
- result = [];
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AllocateHostsCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AllocateHostsCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AllocateHostsCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AllocateHostsCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AllocateHosts",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AllocateHostsCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AllocateHostsCommand)(output, context);
+ }
+}
+exports.AllocateHostsCommand = AllocateHostsCommand;
- 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 = [];
+/***/ 47444:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- 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()));
- }
- });
- }
+"use strict";
- if (isKeyOperator(operator)) {
- result.push(encodeUnreserved(key) + "=" + tmp.join(","));
- } else if (tmp.length !== 0) {
- result.push(tmp.join(","));
- }
- }
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AllocateIpamPoolCidrCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AllocateIpamPoolCidrCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
}
- } else {
- if (operator === ";") {
- if (isDefined(value)) {
- result.push(encodeUnreserved(key));
- }
- } else if (value === "" && (operator === "&" || operator === "?")) {
- result.push(encodeUnreserved(key) + "=");
- } else if (value === "") {
- result.push("");
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AllocateIpamPoolCidrCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AllocateIpamPoolCidrCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AllocateIpamPoolCidr",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AllocateIpamPoolCidrCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AllocateIpamPoolCidrCommand)(output, context);
}
- }
-
- return result;
-}
-
-function parseUrl(template) {
- return {
- expand: expand.bind(null, template)
- };
}
+exports.AllocateIpamPoolCidrCommand = AllocateIpamPoolCidrCommand;
-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 = ",";
+/***/ 45383:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- if (operator === "?") {
- separator = "&";
- } else if (operator !== "#") {
- separator = operator;
- }
+"use strict";
- return (values.length !== 0 ? operator : "") + values.join(separator);
- } else {
- return values.join(",");
- }
- } else {
- return encodeReserved(literal);
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.ApplySecurityGroupsToClientVpnTargetNetworkCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class ApplySecurityGroupsToClientVpnTargetNetworkCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ApplySecurityGroupsToClientVpnTargetNetworkCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "ApplySecurityGroupsToClientVpnTargetNetworkCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "ApplySecurityGroupsToClientVpnTargetNetwork",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_ApplySecurityGroupsToClientVpnTargetNetworkCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_ApplySecurityGroupsToClientVpnTargetNetworkCommand)(output, context);
}
- });
}
+exports.ApplySecurityGroupsToClientVpnTargetNetworkCommand = ApplySecurityGroupsToClientVpnTargetNetworkCommand;
-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;
- }
+/***/ 46867:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- 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);
+"use strict";
- 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(",");
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssignIpv6AddressesCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssignIpv6AddressesCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
}
-
- 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(",");
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssignIpv6AddressesCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssignIpv6AddressesCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssignIpv6Addresses",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
- } // for GET/HEAD requests, set URL query parameters from remaining parameters
- // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssignIpv6AddressesCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssignIpv6AddressesCommand)(output, context);
+ }
+}
+exports.AssignIpv6AddressesCommand = AssignIpv6AddressesCommand;
- 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
+/***/ }),
+/***/ 29028:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- 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
+"use strict";
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssignPrivateIpAddressesCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssignPrivateIpAddressesCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssignPrivateIpAddressesCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssignPrivateIpAddressesCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssignPrivateIpAddresses",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssignPrivateIpAddressesCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssignPrivateIpAddressesCommand)(output, context);
+ }
+}
+exports.AssignPrivateIpAddressesCommand = AssignPrivateIpAddressesCommand;
- 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);
-}
+/***/ 31788:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
-function endpointWithDefaults(defaults, route, options) {
- return parse(merge(defaults, route, options));
-}
+"use strict";
-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
- });
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssignPrivateNatGatewayAddressCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssignPrivateNatGatewayAddressCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssignPrivateNatGatewayAddressCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssignPrivateNatGatewayAddressCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssignPrivateNatGatewayAddress",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssignPrivateNatGatewayAddressCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssignPrivateNatGatewayAddressCommand)(output, context);
+ }
}
+exports.AssignPrivateNatGatewayAddressCommand = AssignPrivateNatGatewayAddressCommand;
-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: []
- }
-};
+/***/ 57080:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
-const endpoint = withDefaults(null, DEFAULTS);
+"use strict";
-exports.endpoint = endpoint;
-//# sourceMappingURL=index.js.map
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateAddressCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateAddressCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateAddressCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateAddressCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateAddress",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateAddressCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateAddressCommand)(output, context);
+ }
+}
+exports.AssociateAddressCommand = AssociateAddressCommand;
/***/ }),
-/***/ 88467:
+/***/ 64226:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateClientVpnTargetNetworkCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateClientVpnTargetNetworkCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateClientVpnTargetNetworkCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateClientVpnTargetNetworkCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateClientVpnTargetNetwork",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateClientVpnTargetNetworkCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateClientVpnTargetNetworkCommand)(output, context);
+ }
+}
+exports.AssociateClientVpnTargetNetworkCommand = AssociateClientVpnTargetNetworkCommand;
-var request = __webpack_require__(36234);
-var universalUserAgent = __webpack_require__(45030);
-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");
-}
+/***/ 19312:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
-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.
+"use strict";
- this.errors = response.errors;
- this.data = response.data; // Maintains proper stack trace (only available on V8)
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateDhcpOptionsCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateDhcpOptionsCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateDhcpOptionsCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateDhcpOptionsCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateDhcpOptions",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateDhcpOptionsCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateDhcpOptionsCommand)(output, context);
+ }
+}
+exports.AssociateDhcpOptionsCommand = AssociateDhcpOptionsCommand;
- /* istanbul ignore next */
- if (Error.captureStackTrace) {
- Error.captureStackTrace(this, this.constructor);
- }
- }
+/***/ }),
-}
+/***/ 55687:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
-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`));
- }
+"use strict";
- 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`));
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateEnclaveCertificateIamRoleCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateEnclaveCertificateIamRoleCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
}
- }
-
- 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;
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateEnclaveCertificateIamRoleCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateEnclaveCertificateIamRoleCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateEnclaveCertificateIamRole",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
-
- if (!result.variables) {
- result.variables = {};
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateEnclaveCertificateIamRoleCommand)(input, context);
}
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateEnclaveCertificateIamRoleCommand)(output, context);
+ }
+}
+exports.AssociateEnclaveCertificateIamRoleCommand = AssociateEnclaveCertificateIamRoleCommand;
- 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 = {};
+/***/ 58782:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- for (const key of Object.keys(response.headers)) {
- headers[key] = response.headers[key];
- }
+"use strict";
- throw new GraphqlResponseError(requestOptions, headers, response.data);
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateIamInstanceProfileCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateIamInstanceProfileCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateIamInstanceProfileCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateIamInstanceProfileCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateIamInstanceProfile",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateIamInstanceProfileCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateIamInstanceProfileCommand)(output, context);
}
-
- return response.data.data;
- });
}
+exports.AssociateIamInstanceProfileCommand = AssociateIamInstanceProfileCommand;
-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
- });
-}
+/***/ 98920:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
-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"
- });
-}
+"use strict";
-exports.GraphqlResponseError = GraphqlResponseError;
-exports.graphql = graphql$1;
-exports.withCustomRequest = withCustomRequest;
-//# sourceMappingURL=index.js.map
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateInstanceEventWindowCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateInstanceEventWindowCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateInstanceEventWindowCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateInstanceEventWindowCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateInstanceEventWindow",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateInstanceEventWindowCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateInstanceEventWindowCommand)(output, context);
+ }
+}
+exports.AssociateInstanceEventWindowCommand = AssociateInstanceEventWindowCommand;
/***/ }),
-/***/ 64193:
-/***/ ((__unused_webpack_module, exports) => {
+/***/ 54374:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateIpamResourceDiscoveryCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateIpamResourceDiscoveryCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateIpamResourceDiscoveryCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateIpamResourceDiscoveryCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateIpamResourceDiscovery",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateIpamResourceDiscoveryCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateIpamResourceDiscoveryCommand)(output, context);
+ }
+}
+exports.AssociateIpamResourceDiscoveryCommand = AssociateIpamResourceDiscoveryCommand;
-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);
- }
+/***/ 2189:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- return keys;
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateNatGatewayAddressCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateNatGatewayAddressCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateNatGatewayAddressCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateNatGatewayAddressCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateNatGatewayAddress",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateNatGatewayAddressCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateNatGatewayAddressCommand)(output, context);
+ }
}
+exports.AssociateNatGatewayAddressCommand = AssociateNatGatewayAddressCommand;
-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;
- }
+/***/ 76865:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- return obj;
-}
+"use strict";
-/**
- * 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: []
- });
- }
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateRouteTableCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateRouteTableCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateRouteTableCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateRouteTableCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateRouteTable",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateRouteTableCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateRouteTableCommand)(output, context);
+ }
+}
+exports.AssociateRouteTableCommand = AssociateRouteTableCommand;
- 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;
- }
+/***/ 19832:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
- if (typeof repositorySelection !== "undefined") {
- response.data.repository_selection = repositorySelection;
- }
+"use strict";
- response.data.total_count = totalCount;
- return response;
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateSubnetCidrBlockCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateSubnetCidrBlockCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateSubnetCidrBlockCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateSubnetCidrBlockCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateSubnetCidrBlock",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateSubnetCidrBlockCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateSubnetCidrBlockCommand)(output, context);
+ }
}
+exports.AssociateSubnetCidrBlockCommand = AssociateSubnetCidrBlockCommand;
-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
+
+/***/ }),
+
+/***/ 85612:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateTransitGatewayMulticastDomainCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateTransitGatewayMulticastDomainCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateTransitGatewayMulticastDomainCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateTransitGatewayMulticastDomainCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateTransitGatewayMulticastDomain",
+ },
};
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateTransitGatewayMulticastDomainCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateTransitGatewayMulticastDomainCommand)(output, context);
+ }
+}
+exports.AssociateTransitGatewayMulticastDomainCommand = AssociateTransitGatewayMulticastDomainCommand;
- 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: []
- }
- };
- }
- }
+/***/ }),
- })
- };
+/***/ 67705:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateTransitGatewayPolicyTableCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateTransitGatewayPolicyTableCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateTransitGatewayPolicyTableCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateTransitGatewayPolicyTableCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateTransitGatewayPolicyTable",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateTransitGatewayPolicyTableCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateTransitGatewayPolicyTableCommand)(output, context);
+ }
}
+exports.AssociateTransitGatewayPolicyTableCommand = AssociateTransitGatewayPolicyTableCommand;
-function paginate(octokit, route, parameters, mapFn) {
- if (typeof parameters === "function") {
- mapFn = parameters;
- parameters = undefined;
- }
- return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);
+/***/ }),
+
+/***/ 28987:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateTransitGatewayRouteTableCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateTransitGatewayRouteTableCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateTransitGatewayRouteTableCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateTransitGatewayRouteTableCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateTransitGatewayRouteTable",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateTransitGatewayRouteTableCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateTransitGatewayRouteTableCommand)(output, context);
+ }
}
+exports.AssociateTransitGatewayRouteTableCommand = AssociateTransitGatewayRouteTableCommand;
-function gather(octokit, results, iterator, mapFn) {
- return iterator.next().then(result => {
- if (result.done) {
- return results;
+
+/***/ }),
+
+/***/ 11571:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateTrunkInterfaceCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateTrunkInterfaceCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateTrunkInterfaceCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateTrunkInterfaceCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateTrunkInterface",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateTrunkInterfaceCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateTrunkInterfaceCommand)(output, context);
+ }
+}
+exports.AssociateTrunkInterfaceCommand = AssociateTrunkInterfaceCommand;
- let earlyExit = false;
- function done() {
- earlyExit = true;
+/***/ }),
+
+/***/ 81804:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AssociateVpcCidrBlockCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AssociateVpcCidrBlockCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateVpcCidrBlockCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AssociateVpcCidrBlockCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AssociateVpcCidrBlock",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AssociateVpcCidrBlockCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AssociateVpcCidrBlockCommand)(output, context);
+ }
+}
+exports.AssociateVpcCidrBlockCommand = AssociateVpcCidrBlockCommand;
- results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);
- if (earlyExit) {
- return results;
+/***/ }),
+
+/***/ 3847:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AttachClassicLinkVpcCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AttachClassicLinkVpcCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AttachClassicLinkVpcCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AttachClassicLinkVpcCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AttachClassicLinkVpc",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AttachClassicLinkVpcCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AttachClassicLinkVpcCommand)(output, context);
+ }
+}
+exports.AttachClassicLinkVpcCommand = AttachClassicLinkVpcCommand;
- return gather(octokit, results, iterator, mapFn);
- });
+
+/***/ }),
+
+/***/ 87450:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AttachInternetGatewayCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AttachInternetGatewayCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AttachInternetGatewayCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AttachInternetGatewayCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AttachInternetGateway",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AttachInternetGatewayCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AttachInternetGatewayCommand)(output, context);
+ }
}
+exports.AttachInternetGatewayCommand = AttachInternetGatewayCommand;
-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;
- }
+/***/ 69510:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AttachNetworkInterfaceCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AttachNetworkInterfaceCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AttachNetworkInterfaceCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AttachNetworkInterfaceCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AttachNetworkInterface",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AttachNetworkInterfaceCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AttachNetworkInterfaceCommand)(output, context);
+ }
}
+exports.AttachNetworkInterfaceCommand = AttachNetworkInterfaceCommand;
-/**
- * @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)
- })
- };
+/***/ }),
+
+/***/ 81931:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AttachVerifiedAccessTrustProviderCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const models_0_1 = __webpack_require__(61683);
+const Aws_ec2_1 = __webpack_require__(308);
+class AttachVerifiedAccessTrustProviderCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AttachVerifiedAccessTrustProviderCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AttachVerifiedAccessTrustProviderCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: models_0_1.AttachVerifiedAccessTrustProviderResultFilterSensitiveLog,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AttachVerifiedAccessTrustProvider",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AttachVerifiedAccessTrustProviderCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AttachVerifiedAccessTrustProviderCommand)(output, context);
+ }
}
-paginateRest.VERSION = VERSION;
+exports.AttachVerifiedAccessTrustProviderCommand = AttachVerifiedAccessTrustProviderCommand;
-exports.composePaginateRest = composePaginateRest;
-exports.isPaginatingEndpoint = isPaginatingEndpoint;
-exports.paginateRest = paginateRest;
-exports.paginatingEndpoints = paginatingEndpoints;
-//# sourceMappingURL=index.js.map
+
+/***/ }),
+
+/***/ 77949:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AttachVolumeCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AttachVolumeCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AttachVolumeCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AttachVolumeCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AttachVolume",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AttachVolumeCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AttachVolumeCommand)(output, context);
+ }
+}
+exports.AttachVolumeCommand = AttachVolumeCommand;
/***/ }),
-/***/ 83044:
-/***/ ((__unused_webpack_module, exports) => {
+/***/ 51929:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AttachVpnGatewayCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AttachVpnGatewayCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AttachVpnGatewayCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AttachVpnGatewayCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AttachVpnGateway",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AttachVpnGatewayCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AttachVpnGatewayCommand)(output, context);
+ }
+}
+exports.AttachVpnGatewayCommand = AttachVpnGatewayCommand;
+
+
+/***/ }),
+
+/***/ 30271:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AuthorizeClientVpnIngressCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AuthorizeClientVpnIngressCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AuthorizeClientVpnIngressCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AuthorizeClientVpnIngressCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AuthorizeClientVpnIngress",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AuthorizeClientVpnIngressCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AuthorizeClientVpnIngressCommand)(output, context);
+ }
+}
+exports.AuthorizeClientVpnIngressCommand = AuthorizeClientVpnIngressCommand;
-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;
+/***/ }),
+
+/***/ 61384:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AuthorizeSecurityGroupEgressCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AuthorizeSecurityGroupEgressCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AuthorizeSecurityGroupEgressCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AuthorizeSecurityGroupEgressCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AuthorizeSecurityGroupEgress",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AuthorizeSecurityGroupEgressCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AuthorizeSecurityGroupEgressCommand)(output, context);
+ }
}
+exports.AuthorizeSecurityGroupEgressCommand = AuthorizeSecurityGroupEgressCommand;
-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;
+/***/ 64460:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.AuthorizeSecurityGroupIngressCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const Aws_ec2_1 = __webpack_require__(308);
+class AuthorizeSecurityGroupIngressCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AuthorizeSecurityGroupIngressCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "AuthorizeSecurityGroupIngressCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: (_) => _,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "AuthorizeSecurityGroupIngress",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_AuthorizeSecurityGroupIngressCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_AuthorizeSecurityGroupIngressCommand)(output, context);
+ }
}
+exports.AuthorizeSecurityGroupIngressCommand = AuthorizeSecurityGroupIngressCommand;
-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));
- });
+/***/ }),
+
+/***/ 77151:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.BundleInstanceCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const models_0_1 = __webpack_require__(61683);
+const Aws_ec2_1 = __webpack_require__(308);
+class BundleInstanceCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
}
- }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BundleInstanceCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "BundleInstanceCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: models_0_1.BundleInstanceRequestFilterSensitiveLog,
+ outputFilterSensitiveLog: models_0_1.BundleInstanceResultFilterSensitiveLog,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "BundleInstance",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_BundleInstanceCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_BundleInstanceCommand)(output, context);
+ }
+}
+exports.BundleInstanceCommand = BundleInstanceCommand;
- return target;
+
+/***/ }),
+
+/***/ 65536:
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.CancelBundleTaskCommand = exports.$Command = void 0;
+const middleware_endpoint_1 = __webpack_require__(82918);
+const middleware_serde_1 = __webpack_require__(81238);
+const smithy_client_1 = __webpack_require__(63570);
+Object.defineProperty(exports, "$Command", ({ enumerable: true, get: function () { return smithy_client_1.Command; } }));
+const types_1 = __webpack_require__(55756);
+const models_0_1 = __webpack_require__(61683);
+const Aws_ec2_1 = __webpack_require__(308);
+class CancelBundleTaskCommand extends smithy_client_1.Command {
+ static getEndpointParameterInstructions() {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+ constructor(input) {
+ super();
+ this.input = input;
+ }
+ resolveMiddleware(clientStack, configuration, options) {
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelBundleTaskCommand.getEndpointParameterInstructions()));
+ const stack = clientStack.concat(this.middlewareStack);
+ const { logger } = configuration;
+ const clientName = "EC2Client";
+ const commandName = "CancelBundleTaskCommand";
+ const handlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_) => _,
+ outputFilterSensitiveLog: models_0_1.CancelBundleTaskResultFilterSensitiveLog,
+ [types_1.SMITHY_CONTEXT_KEY]: {
+ service: "AmazonEC2",
+ operation: "CancelBundleTask",
+ },
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
+ }
+ serialize(input, context) {
+ return (0, Aws_ec2_1.se_CancelBundleTaskCommand)(input, context);
+ }
+ deserialize(output, context) {
+ return (0, Aws_ec2_1.de_CancelBundleTaskCommand)(output, context);
+ }
}
+exports.CancelBundleTaskCommand = CancelBundleTaskCommand;
-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"]
- }
-};
-
-const VERSION = "4.15.1";
-
-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] = {};
- }
-
- const scopeMethods = newMethods[scope];
-
- if (decorations) {
- scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);
- continue;
- }
-
- scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);
- }
- }
-
- return newMethods;
-}
-
-function decorate(octokit, scope, methodName, defaults, decorations) {
- const requestWithDefaults = octokit.request.defaults(defaults);
- /* istanbul ignore next */
-
- 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`
-
- if (decorations.mapToData) {
- options = Object.assign({}, options, {
- data: options[decorations.mapToData],
- [decorations.mapToData]: undefined
- });
- 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) {
- // @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);
-}
-
-function restEndpointMethods(octokit) {
- const api = endpointsToMethods(octokit, Endpoints);
- return _objectSpread2(_objectSpread2({}, api), {}, {
- rest: api
- });
-}
-restEndpointMethods.VERSION = VERSION;
-
-exports.restEndpointMethods = restEndpointMethods;
-//# sourceMappingURL=index.js.map
-
-
-/***/ }),
-
-/***/ 10537:
-/***/ ((__unused_webpack_module, exports, __webpack_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 = __webpack_require__(58932);
-var once = _interopDefault(__webpack_require__(1223));
-
-const logOnceCode = once(deprecation => console.warn(deprecation));
-const logOnceHeaders = once(deprecation => console.warn(deprecation));
-/**
- * Error with extra properties to help with debugging
- */
-
-class RequestError extends Error {
- constructor(message, statusCode, options) {
- super(message); // Maintains proper stack trace (only available on V8)
-
- /* istanbul ignore next */
-
- 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;
- } // 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]")
- });
- }
-
- 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
-
- Object.defineProperty(this, "code", {
- get() {
- logOnceCode(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));
- return statusCode;
- }
-
- });
- Object.defineProperty(this, "headers", {
- get() {
- logOnceHeaders(new deprecation.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));
- return headers || {};
- }
-
- });
- }
-
-}
-
-exports.RequestError = RequestError;
-//# sourceMappingURL=index.js.map
-
-
-/***/ }),
-
-/***/ 36234:
-/***/ ((__unused_webpack_module, exports, __webpack_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 = __webpack_require__(59440);
-var universalUserAgent = __webpack_require__(45030);
-var isPlainObject = __webpack_require__(63287);
-var nodeFetch = _interopDefault(__webpack_require__(80467));
-var requestError = __webpack_require__(10537);
-
-const VERSION = "5.6.3";
-
-function getBufferResponse(response) {
- return response.arrayBuffer();
-}
-
-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;
-
- for (const keyAndValue of response.headers) {
- headers[keyAndValue[0]] = keyAndValue[1];
- }
-
- if ("deprecation" in headers) {
- const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/);
- const deprecationLink = matches && matches.pop();
- log.warn(`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`);
- }
-
- if (status === 204 || status === 205) {
- return;
- } // GitHub API returns 200 for HEAD requests
-
-
- if (requestOptions.method === "HEAD") {
- if (status < 400) {
- return;
- }
-
- throw new requestError.RequestError(response.statusText, status, {
- response: {
- url,
- status,
- headers,
- data: undefined
- },
- request: requestOptions
- });
- }
-
- if (status === 304) {
- throw new requestError.RequestError("Not modified", status, {
- response: {
- url,
- status,
- headers,
- data: await getResponseData(response)
- },
- request: requestOptions
- });
- }
-
- if (status >= 400) {
- const data = await getResponseData(response);
- const error = new requestError.RequestError(toErrorMessage(data), status, {
- response: {
- url,
- status,
- headers,
- data
- },
- request: requestOptions
- });
- throw error;
- }
-
- 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();
- }
-
- if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) {
- return response.text();
- }
-
- return getBufferResponse(response);
-}
-
-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(", ")}`;
- }
-
- 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));
- }
-
- 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
-
-
-/***/ }),
-
-/***/ 20940:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['accessanalyzer'] = {};
-AWS.AccessAnalyzer = Service.defineService('accessanalyzer', ['2019-11-01']);
-Object.defineProperty(apiLoader.services['accessanalyzer'], '2019-11-01', {
- get: function get() {
- var model = __webpack_require__(24955);
- model.paginators = __webpack_require__(7997)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AccessAnalyzer;
-
-
-/***/ }),
-
-/***/ 20234:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['account'] = {};
-AWS.Account = Service.defineService('account', ['2021-02-01']);
-Object.defineProperty(apiLoader.services['account'], '2021-02-01', {
- get: function get() {
- var model = __webpack_require__(25870);
- model.paginators = __webpack_require__(69544)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Account;
-
-
-/***/ }),
-
-/***/ 30838:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['acm'] = {};
-AWS.ACM = Service.defineService('acm', ['2015-12-08']);
-Object.defineProperty(apiLoader.services['acm'], '2015-12-08', {
- get: function get() {
- var model = __webpack_require__(22335);
- model.paginators = __webpack_require__(63763)/* .pagination */ .o;
- model.waiters = __webpack_require__(12336)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ACM;
-
-
-/***/ }),
-
-/***/ 18450:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['acmpca'] = {};
-AWS.ACMPCA = Service.defineService('acmpca', ['2017-08-22']);
-Object.defineProperty(apiLoader.services['acmpca'], '2017-08-22', {
- get: function get() {
- var model = __webpack_require__(2794);
- model.paginators = __webpack_require__(92031)/* .pagination */ .o;
- model.waiters = __webpack_require__(50728)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ACMPCA;
-
-
-/***/ }),
-
-/***/ 14578:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['alexaforbusiness'] = {};
-AWS.AlexaForBusiness = Service.defineService('alexaforbusiness', ['2017-11-09']);
-Object.defineProperty(apiLoader.services['alexaforbusiness'], '2017-11-09', {
- get: function get() {
- var model = __webpack_require__(4946);
- model.paginators = __webpack_require__(74967)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AlexaForBusiness;
-
-
-/***/ }),
-
-/***/ 26296:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-module.exports = {
- ACM: __webpack_require__(30838),
- APIGateway: __webpack_require__(91759),
- ApplicationAutoScaling: __webpack_require__(25598),
- AppStream: __webpack_require__(21730),
- AutoScaling: __webpack_require__(31652),
- Batch: __webpack_require__(10000),
- Budgets: __webpack_require__(43923),
- CloudDirectory: __webpack_require__(56231),
- CloudFormation: __webpack_require__(74643),
- CloudFront: __webpack_require__(48058),
- CloudHSM: __webpack_require__(10569),
- CloudSearch: __webpack_require__(72321),
- CloudSearchDomain: __webpack_require__(64072),
- CloudTrail: __webpack_require__(65512),
- CloudWatch: __webpack_require__(6763),
- CloudWatchEvents: __webpack_require__(38124),
- CloudWatchLogs: __webpack_require__(96693),
- CodeBuild: __webpack_require__(60450),
- CodeCommit: __webpack_require__(71323),
- CodeDeploy: __webpack_require__(54599),
- CodePipeline: __webpack_require__(22938),
- CognitoIdentity: __webpack_require__(58291),
- CognitoIdentityServiceProvider: __webpack_require__(31379),
- CognitoSync: __webpack_require__(74770),
- ConfigService: __webpack_require__(34061),
- CUR: __webpack_require__(5026),
- DataPipeline: __webpack_require__(65688),
- DeviceFarm: __webpack_require__(26272),
- DirectConnect: __webpack_require__(73783),
- DirectoryService: __webpack_require__(83908),
- Discovery: __webpack_require__(81690),
- DMS: __webpack_require__(69868),
- DynamoDB: __webpack_require__(14347),
- DynamoDBStreams: __webpack_require__(88090),
- EC2: __webpack_require__(7778),
- ECR: __webpack_require__(15211),
- ECS: __webpack_require__(16615),
- EFS: __webpack_require__(34375),
- ElastiCache: __webpack_require__(81065),
- ElasticBeanstalk: __webpack_require__(14897),
- ELB: __webpack_require__(10907),
- ELBv2: __webpack_require__(44311),
- EMR: __webpack_require__(50470),
- ES: __webpack_require__(84462),
- ElasticTranscoder: __webpack_require__(40745),
- Firehose: __webpack_require__(92831),
- GameLift: __webpack_require__(8085),
- Glacier: __webpack_require__(63249),
- Health: __webpack_require__(21834),
- IAM: __webpack_require__(50058),
- ImportExport: __webpack_require__(6769),
- Inspector: __webpack_require__(89439),
- Iot: __webpack_require__(98392),
- IotData: __webpack_require__(6564),
- Kinesis: __webpack_require__(49876),
- KinesisAnalytics: __webpack_require__(90042),
- KMS: __webpack_require__(56782),
- Lambda: __webpack_require__(13321),
- LexRuntime: __webpack_require__(62716),
- Lightsail: __webpack_require__(22718),
- MachineLearning: __webpack_require__(82907),
- MarketplaceCommerceAnalytics: __webpack_require__(4540),
- MarketplaceMetering: __webpack_require__(39297),
- MTurk: __webpack_require__(79954),
- MobileAnalytics: __webpack_require__(66690),
- OpsWorks: __webpack_require__(75691),
- OpsWorksCM: __webpack_require__(80388),
- Organizations: __webpack_require__(44670),
- Pinpoint: __webpack_require__(18388),
- Polly: __webpack_require__(97332),
- RDS: __webpack_require__(71578),
- Redshift: __webpack_require__(84853),
- Rekognition: __webpack_require__(65470),
- ResourceGroupsTaggingAPI: __webpack_require__(7385),
- Route53: __webpack_require__(44968),
- Route53Domains: __webpack_require__(51994),
- S3: __webpack_require__(83256),
- S3Control: __webpack_require__(99817),
- ServiceCatalog: __webpack_require__(822),
- SES: __webpack_require__(46816),
- Shield: __webpack_require__(20271),
- SimpleDB: __webpack_require__(10120),
- SMS: __webpack_require__(57719),
- Snowball: __webpack_require__(510),
- SNS: __webpack_require__(28581),
- SQS: __webpack_require__(63172),
- SSM: __webpack_require__(83380),
- StorageGateway: __webpack_require__(89190),
- StepFunctions: __webpack_require__(8136),
- STS: __webpack_require__(57513),
- Support: __webpack_require__(1099),
- SWF: __webpack_require__(32327),
- XRay: __webpack_require__(41548),
- WAF: __webpack_require__(72742),
- WAFRegional: __webpack_require__(23153),
- WorkDocs: __webpack_require__(38835),
- WorkSpaces: __webpack_require__(25513),
- CodeStar: __webpack_require__(98336),
- LexModelBuildingService: __webpack_require__(37397),
- MarketplaceEntitlementService: __webpack_require__(53707),
- Athena: __webpack_require__(29434),
- Greengrass: __webpack_require__(20690),
- DAX: __webpack_require__(71398),
- MigrationHub: __webpack_require__(14688),
- CloudHSMV2: __webpack_require__(70889),
- Glue: __webpack_require__(31658),
- Mobile: __webpack_require__(39782),
- Pricing: __webpack_require__(92765),
- CostExplorer: __webpack_require__(79523),
- MediaConvert: __webpack_require__(57220),
- MediaLive: __webpack_require__(7509),
- MediaPackage: __webpack_require__(91620),
- MediaStore: __webpack_require__(83748),
- MediaStoreData: __webpack_require__(98703),
- AppSync: __webpack_require__(12402),
- GuardDuty: __webpack_require__(40755),
- MQ: __webpack_require__(23093),
- Comprehend: __webpack_require__(62878),
- IoTJobsDataPlane: __webpack_require__(42332),
- KinesisVideoArchivedMedia: __webpack_require__(5580),
- KinesisVideoMedia: __webpack_require__(81308),
- KinesisVideo: __webpack_require__(89927),
- SageMakerRuntime: __webpack_require__(85044),
- SageMaker: __webpack_require__(77657),
- Translate: __webpack_require__(72544),
- ResourceGroups: __webpack_require__(58756),
- AlexaForBusiness: __webpack_require__(14578),
- Cloud9: __webpack_require__(85473),
- ServerlessApplicationRepository: __webpack_require__(62402),
- ServiceDiscovery: __webpack_require__(91569),
- WorkMail: __webpack_require__(38374),
- AutoScalingPlans: __webpack_require__(2554),
- TranscribeService: __webpack_require__(75811),
- Connect: __webpack_require__(13879),
- ACMPCA: __webpack_require__(18450),
- FMS: __webpack_require__(11316),
- SecretsManager: __webpack_require__(85131),
- IoTAnalytics: __webpack_require__(67409),
- IoT1ClickDevicesService: __webpack_require__(39474),
- IoT1ClickProjects: __webpack_require__(4686),
- PI: __webpack_require__(15505),
- Neptune: __webpack_require__(30047),
- MediaTailor: __webpack_require__(99658),
- EKS: __webpack_require__(23337),
- Macie: __webpack_require__(86427),
- DLM: __webpack_require__(24958),
- Signer: __webpack_require__(71596),
- Chime: __webpack_require__(84646),
- PinpointEmail: __webpack_require__(83060),
- RAM: __webpack_require__(94394),
- Route53Resolver: __webpack_require__(25894),
- PinpointSMSVoice: __webpack_require__(46605),
- QuickSight: __webpack_require__(29898),
- RDSDataService: __webpack_require__(30147),
- Amplify: __webpack_require__(38090),
- DataSync: __webpack_require__(15472),
- RoboMaker: __webpack_require__(18068),
- Transfer: __webpack_require__(51585),
- GlobalAccelerator: __webpack_require__(19306),
- ComprehendMedical: __webpack_require__(32349),
- KinesisAnalyticsV2: __webpack_require__(74631),
- MediaConnect: __webpack_require__(67639),
- FSx: __webpack_require__(60642),
- SecurityHub: __webpack_require__(21550),
- AppMesh: __webpack_require__(69226),
- LicenseManager: __webpack_require__(34693),
- Kafka: __webpack_require__(56775),
- ApiGatewayManagementApi: __webpack_require__(31762),
- ApiGatewayV2: __webpack_require__(44987),
- DocDB: __webpack_require__(55129),
- Backup: __webpack_require__(82455),
- WorkLink: __webpack_require__(48579),
- Textract: __webpack_require__(58523),
- ManagedBlockchain: __webpack_require__(85143),
- MediaPackageVod: __webpack_require__(14962),
- GroundStation: __webpack_require__(80494),
- IoTThingsGraph: __webpack_require__(58905),
- IoTEvents: __webpack_require__(88065),
- IoTEventsData: __webpack_require__(56973),
- Personalize: __webpack_require__(33696),
- PersonalizeEvents: __webpack_require__(88170),
- PersonalizeRuntime: __webpack_require__(66184),
- ApplicationInsights: __webpack_require__(83972),
- ServiceQuotas: __webpack_require__(57800),
- EC2InstanceConnect: __webpack_require__(92209),
- EventBridge: __webpack_require__(898),
- LakeFormation: __webpack_require__(6726),
- ForecastService: __webpack_require__(12942),
- ForecastQueryService: __webpack_require__(36822),
- QLDB: __webpack_require__(71266),
- QLDBSession: __webpack_require__(55423),
- WorkMailMessageFlow: __webpack_require__(67025),
- CodeStarNotifications: __webpack_require__(15141),
- SavingsPlans: __webpack_require__(62825),
- SSO: __webpack_require__(71096),
- SSOOIDC: __webpack_require__(49870),
- MarketplaceCatalog: __webpack_require__(2609),
- DataExchange: __webpack_require__(11024),
- SESV2: __webpack_require__(20142),
- MigrationHubConfig: __webpack_require__(62658),
- ConnectParticipant: __webpack_require__(94198),
- AppConfig: __webpack_require__(78606),
- IoTSecureTunneling: __webpack_require__(98562),
- WAFV2: __webpack_require__(50353),
- ElasticInference: __webpack_require__(37708),
- Imagebuilder: __webpack_require__(57511),
- Schemas: __webpack_require__(55713),
- AccessAnalyzer: __webpack_require__(20940),
- CodeGuruReviewer: __webpack_require__(60070),
- CodeGuruProfiler: __webpack_require__(65704),
- ComputeOptimizer: __webpack_require__(64459),
- FraudDetector: __webpack_require__(99830),
- Kendra: __webpack_require__(66122),
- NetworkManager: __webpack_require__(37610),
- Outposts: __webpack_require__(27551),
- AugmentedAIRuntime: __webpack_require__(33960),
- EBS: __webpack_require__(62837),
- KinesisVideoSignalingChannels: __webpack_require__(12710),
- Detective: __webpack_require__(60674),
- CodeStarconnections: __webpack_require__(78270),
- Synthetics: __webpack_require__(25910),
- IoTSiteWise: __webpack_require__(89690),
- Macie2: __webpack_require__(57330),
- CodeArtifact: __webpack_require__(91983),
- Honeycode: __webpack_require__(38889),
- IVS: __webpack_require__(67701),
- Braket: __webpack_require__(35429),
- IdentityStore: __webpack_require__(60222),
- Appflow: __webpack_require__(60844),
- RedshiftData: __webpack_require__(203),
- SSOAdmin: __webpack_require__(66644),
- TimestreamQuery: __webpack_require__(24529),
- TimestreamWrite: __webpack_require__(1573),
- S3Outposts: __webpack_require__(90493),
- DataBrew: __webpack_require__(35846),
- ServiceCatalogAppRegistry: __webpack_require__(79068),
- NetworkFirewall: __webpack_require__(84626),
- MWAA: __webpack_require__(32712),
- AmplifyBackend: __webpack_require__(2806),
- AppIntegrations: __webpack_require__(85479),
- ConnectContactLens: __webpack_require__(41847),
- DevOpsGuru: __webpack_require__(90673),
- ECRPUBLIC: __webpack_require__(90244),
- LookoutVision: __webpack_require__(65046),
- SageMakerFeatureStoreRuntime: __webpack_require__(67644),
- CustomerProfiles: __webpack_require__(28379),
- AuditManager: __webpack_require__(20472),
- EMRcontainers: __webpack_require__(49984),
- HealthLake: __webpack_require__(64254),
- SagemakerEdge: __webpack_require__(38966),
- Amp: __webpack_require__(96881),
- GreengrassV2: __webpack_require__(45126),
- IotDeviceAdvisor: __webpack_require__(97569),
- IoTFleetHub: __webpack_require__(42513),
- IoTWireless: __webpack_require__(8226),
- Location: __webpack_require__(44594),
- WellArchitected: __webpack_require__(86263),
- LexModelsV2: __webpack_require__(27254),
- LexRuntimeV2: __webpack_require__(33855),
- Fis: __webpack_require__(73003),
- LookoutMetrics: __webpack_require__(78708),
- Mgn: __webpack_require__(41339),
- LookoutEquipment: __webpack_require__(21843),
- Nimble: __webpack_require__(89428),
- Finspace: __webpack_require__(3052),
- Finspacedata: __webpack_require__(96869),
- SSMContacts: __webpack_require__(12577),
- SSMIncidents: __webpack_require__(20590),
- ApplicationCostProfiler: __webpack_require__(20887),
- AppRunner: __webpack_require__(75589),
- Proton: __webpack_require__(9275),
- Route53RecoveryCluster: __webpack_require__(35738),
- Route53RecoveryControlConfig: __webpack_require__(16063),
- Route53RecoveryReadiness: __webpack_require__(79106),
- ChimeSDKIdentity: __webpack_require__(55975),
- ChimeSDKMessaging: __webpack_require__(25255),
- SnowDeviceManagement: __webpack_require__(64655),
- MemoryDB: __webpack_require__(50782),
- OpenSearch: __webpack_require__(60358),
- KafkaConnect: __webpack_require__(61879),
- VoiceID: __webpack_require__(28747),
- Wisdom: __webpack_require__(85266),
- Account: __webpack_require__(20234),
- CloudControl: __webpack_require__(25630),
- Grafana: __webpack_require__(51050),
- Panorama: __webpack_require__(20368),
- ChimeSDKMeetings: __webpack_require__(80788),
- Resiliencehub: __webpack_require__(21173),
- MigrationHubStrategy: __webpack_require__(96533),
- AppConfigData: __webpack_require__(45282),
- Drs: __webpack_require__(41116),
- MigrationHubRefactorSpaces: __webpack_require__(2925),
- Evidently: __webpack_require__(21440),
- Inspector2: __webpack_require__(98650),
- Rbin: __webpack_require__(70145),
- RUM: __webpack_require__(53237),
- BackupGateway: __webpack_require__(68277),
- IoTTwinMaker: __webpack_require__(65010),
- WorkSpacesWeb: __webpack_require__(94124),
- AmplifyUIBuilder: __webpack_require__(89937),
- Keyspaces: __webpack_require__(24789),
- Billingconductor: __webpack_require__(38416),
- GameSparks: __webpack_require__(83025),
- PinpointSMSVoiceV2: __webpack_require__(478),
- Ivschat: __webpack_require__(17077),
- ChimeSDKMediaPipelines: __webpack_require__(18423),
- EMRServerless: __webpack_require__(219),
- M2: __webpack_require__(22482),
- ConnectCampaigns: __webpack_require__(42789),
- RedshiftServerless: __webpack_require__(29987),
- RolesAnywhere: __webpack_require__(83604),
- LicenseManagerUserSubscriptions: __webpack_require__(37725),
- BackupStorage: __webpack_require__(82304),
- PrivateNetworks: __webpack_require__(63088),
- SupportApp: __webpack_require__(51288),
- ControlTower: __webpack_require__(77574),
- IoTFleetWise: __webpack_require__(94329),
- MigrationHubOrchestrator: __webpack_require__(66120),
- ConnectCases: __webpack_require__(72223),
- ResourceExplorer2: __webpack_require__(74071),
- Scheduler: __webpack_require__(94840),
- ChimeSDKVoice: __webpack_require__(349),
- IoTRoboRunner: __webpack_require__(22163),
- SsmSap: __webpack_require__(44552),
- OAM: __webpack_require__(9319),
- ARCZonalShift: __webpack_require__(54280),
- Omics: __webpack_require__(75114),
- OpenSearchServerless: __webpack_require__(86277),
- SecurityLake: __webpack_require__(84296),
- SimSpaceWeaver: __webpack_require__(37090),
- DocDBElastic: __webpack_require__(20792),
- SageMakerGeospatial: __webpack_require__(4707),
- CodeCatalyst: __webpack_require__(19499),
- Pipes: __webpack_require__(14220),
- SageMakerMetrics: __webpack_require__(28199),
- KinesisVideoWebRTCStorage: __webpack_require__(52642),
- LicenseManagerLinuxSubscriptions: __webpack_require__(52687),
- KendraRanking: __webpack_require__(46255),
- CleanRooms: __webpack_require__(15130),
- CloudTrailData: __webpack_require__(31191),
- Tnb: __webpack_require__(15300),
- InternetMonitor: __webpack_require__(84099),
- IVSRealTime: __webpack_require__(51946),
- VPCLattice: __webpack_require__(78952)
-};
-
-/***/ }),
-
-/***/ 96881:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['amp'] = {};
-AWS.Amp = Service.defineService('amp', ['2020-08-01']);
-Object.defineProperty(apiLoader.services['amp'], '2020-08-01', {
- get: function get() {
- var model = __webpack_require__(36184);
- model.paginators = __webpack_require__(7850)/* .pagination */ .o;
- model.waiters = __webpack_require__(49041)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Amp;
-
-
-/***/ }),
-
-/***/ 38090:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['amplify'] = {};
-AWS.Amplify = Service.defineService('amplify', ['2017-07-25']);
-Object.defineProperty(apiLoader.services['amplify'], '2017-07-25', {
- get: function get() {
- var model = __webpack_require__(59237);
- model.paginators = __webpack_require__(89594)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Amplify;
-
-
-/***/ }),
-
-/***/ 2806:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['amplifybackend'] = {};
-AWS.AmplifyBackend = Service.defineService('amplifybackend', ['2020-08-11']);
-Object.defineProperty(apiLoader.services['amplifybackend'], '2020-08-11', {
- get: function get() {
- var model = __webpack_require__(70211);
- model.paginators = __webpack_require__(72426)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AmplifyBackend;
-
-
-/***/ }),
-
-/***/ 89937:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['amplifyuibuilder'] = {};
-AWS.AmplifyUIBuilder = Service.defineService('amplifyuibuilder', ['2021-08-11']);
-Object.defineProperty(apiLoader.services['amplifyuibuilder'], '2021-08-11', {
- get: function get() {
- var model = __webpack_require__(36902);
- model.paginators = __webpack_require__(90795)/* .pagination */ .o;
- model.waiters = __webpack_require__(58499)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AmplifyUIBuilder;
-
-
-/***/ }),
-
-/***/ 91759:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['apigateway'] = {};
-AWS.APIGateway = Service.defineService('apigateway', ['2015-07-09']);
-__webpack_require__(4338);
-Object.defineProperty(apiLoader.services['apigateway'], '2015-07-09', {
- get: function get() {
- var model = __webpack_require__(33895);
- model.paginators = __webpack_require__(61271)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.APIGateway;
-
-
-/***/ }),
-
-/***/ 31762:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['apigatewaymanagementapi'] = {};
-AWS.ApiGatewayManagementApi = Service.defineService('apigatewaymanagementapi', ['2018-11-29']);
-Object.defineProperty(apiLoader.services['apigatewaymanagementapi'], '2018-11-29', {
- get: function get() {
- var model = __webpack_require__(31775);
- model.paginators = __webpack_require__(19890)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ApiGatewayManagementApi;
-
-
-/***/ }),
-
-/***/ 44987:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['apigatewayv2'] = {};
-AWS.ApiGatewayV2 = Service.defineService('apigatewayv2', ['2018-11-29']);
-Object.defineProperty(apiLoader.services['apigatewayv2'], '2018-11-29', {
- get: function get() {
- var model = __webpack_require__(18767);
- model.paginators = __webpack_require__(96828)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ApiGatewayV2;
-
-
-/***/ }),
-
-/***/ 78606:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['appconfig'] = {};
-AWS.AppConfig = Service.defineService('appconfig', ['2019-10-09']);
-Object.defineProperty(apiLoader.services['appconfig'], '2019-10-09', {
- get: function get() {
- var model = __webpack_require__(5832);
- model.paginators = __webpack_require__(38388)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AppConfig;
-
-
-/***/ }),
-
-/***/ 45282:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['appconfigdata'] = {};
-AWS.AppConfigData = Service.defineService('appconfigdata', ['2021-11-11']);
-Object.defineProperty(apiLoader.services['appconfigdata'], '2021-11-11', {
- get: function get() {
- var model = __webpack_require__(32619);
- model.paginators = __webpack_require__(44762)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AppConfigData;
-
-
-/***/ }),
-
-/***/ 60844:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['appflow'] = {};
-AWS.Appflow = Service.defineService('appflow', ['2020-08-23']);
-Object.defineProperty(apiLoader.services['appflow'], '2020-08-23', {
- get: function get() {
- var model = __webpack_require__(63769);
- model.paginators = __webpack_require__(3505)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Appflow;
-
-
-/***/ }),
-
-/***/ 85479:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['appintegrations'] = {};
-AWS.AppIntegrations = Service.defineService('appintegrations', ['2020-07-29']);
-Object.defineProperty(apiLoader.services['appintegrations'], '2020-07-29', {
- get: function get() {
- var model = __webpack_require__(26469);
- model.paginators = __webpack_require__(74824)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AppIntegrations;
-
-
-/***/ }),
-
-/***/ 25598:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['applicationautoscaling'] = {};
-AWS.ApplicationAutoScaling = Service.defineService('applicationautoscaling', ['2016-02-06']);
-Object.defineProperty(apiLoader.services['applicationautoscaling'], '2016-02-06', {
- get: function get() {
- var model = __webpack_require__(14452);
- model.paginators = __webpack_require__(11157)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ApplicationAutoScaling;
-
-
-/***/ }),
-
-/***/ 20887:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['applicationcostprofiler'] = {};
-AWS.ApplicationCostProfiler = Service.defineService('applicationcostprofiler', ['2020-09-10']);
-Object.defineProperty(apiLoader.services['applicationcostprofiler'], '2020-09-10', {
- get: function get() {
- var model = __webpack_require__(87634);
- model.paginators = __webpack_require__(47987)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ApplicationCostProfiler;
-
-
-/***/ }),
-
-/***/ 83972:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['applicationinsights'] = {};
-AWS.ApplicationInsights = Service.defineService('applicationinsights', ['2018-11-25']);
-Object.defineProperty(apiLoader.services['applicationinsights'], '2018-11-25', {
- get: function get() {
- var model = __webpack_require__(48728);
- model.paginators = __webpack_require__(9986)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ApplicationInsights;
-
-
-/***/ }),
-
-/***/ 69226:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['appmesh'] = {};
-AWS.AppMesh = Service.defineService('appmesh', ['2018-10-01', '2018-10-01*', '2019-01-25']);
-Object.defineProperty(apiLoader.services['appmesh'], '2018-10-01', {
- get: function get() {
- var model = __webpack_require__(4710);
- model.paginators = __webpack_require__(74196)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['appmesh'], '2019-01-25', {
- get: function get() {
- var model = __webpack_require__(99818);
- model.paginators = __webpack_require__(9865)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AppMesh;
-
-
-/***/ }),
-
-/***/ 75589:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['apprunner'] = {};
-AWS.AppRunner = Service.defineService('apprunner', ['2020-05-15']);
-Object.defineProperty(apiLoader.services['apprunner'], '2020-05-15', {
- get: function get() {
- var model = __webpack_require__(74076);
- model.paginators = __webpack_require__(81788)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AppRunner;
-
-
-/***/ }),
-
-/***/ 21730:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['appstream'] = {};
-AWS.AppStream = Service.defineService('appstream', ['2016-12-01']);
-Object.defineProperty(apiLoader.services['appstream'], '2016-12-01', {
- get: function get() {
- var model = __webpack_require__(12513);
- model.paginators = __webpack_require__(81915)/* .pagination */ .o;
- model.waiters = __webpack_require__(98407)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AppStream;
-
-
-/***/ }),
-
-/***/ 12402:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['appsync'] = {};
-AWS.AppSync = Service.defineService('appsync', ['2017-07-25']);
-Object.defineProperty(apiLoader.services['appsync'], '2017-07-25', {
- get: function get() {
- var model = __webpack_require__(3651);
- model.paginators = __webpack_require__(93930)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AppSync;
-
-
-/***/ }),
-
-/***/ 54280:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['arczonalshift'] = {};
-AWS.ARCZonalShift = Service.defineService('arczonalshift', ['2022-10-30']);
-Object.defineProperty(apiLoader.services['arczonalshift'], '2022-10-30', {
- get: function get() {
- var model = __webpack_require__(62850);
- model.paginators = __webpack_require__(37943)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ARCZonalShift;
-
-
-/***/ }),
-
-/***/ 29434:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['athena'] = {};
-AWS.Athena = Service.defineService('athena', ['2017-05-18']);
-Object.defineProperty(apiLoader.services['athena'], '2017-05-18', {
- get: function get() {
- var model = __webpack_require__(19898);
- model.paginators = __webpack_require__(23135)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Athena;
-
-
-/***/ }),
-
-/***/ 20472:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['auditmanager'] = {};
-AWS.AuditManager = Service.defineService('auditmanager', ['2017-07-25']);
-Object.defineProperty(apiLoader.services['auditmanager'], '2017-07-25', {
- get: function get() {
- var model = __webpack_require__(66702);
- model.paginators = __webpack_require__(99387)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AuditManager;
-
-
-/***/ }),
-
-/***/ 33960:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['augmentedairuntime'] = {};
-AWS.AugmentedAIRuntime = Service.defineService('augmentedairuntime', ['2019-11-07']);
-Object.defineProperty(apiLoader.services['augmentedairuntime'], '2019-11-07', {
- get: function get() {
- var model = __webpack_require__(60302);
- model.paginators = __webpack_require__(58181)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AugmentedAIRuntime;
-
-
-/***/ }),
-
-/***/ 31652:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['autoscaling'] = {};
-AWS.AutoScaling = Service.defineService('autoscaling', ['2011-01-01']);
-Object.defineProperty(apiLoader.services['autoscaling'], '2011-01-01', {
- get: function get() {
- var model = __webpack_require__(68489);
- model.paginators = __webpack_require__(38676)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AutoScaling;
-
-
-/***/ }),
-
-/***/ 2554:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['autoscalingplans'] = {};
-AWS.AutoScalingPlans = Service.defineService('autoscalingplans', ['2018-01-06']);
-Object.defineProperty(apiLoader.services['autoscalingplans'], '2018-01-06', {
- get: function get() {
- var model = __webpack_require__(95300);
- model.paginators = __webpack_require__(4511)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.AutoScalingPlans;
-
-
-/***/ }),
-
-/***/ 82455:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['backup'] = {};
-AWS.Backup = Service.defineService('backup', ['2018-11-15']);
-Object.defineProperty(apiLoader.services['backup'], '2018-11-15', {
- get: function get() {
- var model = __webpack_require__(65918);
- model.paginators = __webpack_require__(61080)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Backup;
-
-
-/***/ }),
-
-/***/ 68277:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['backupgateway'] = {};
-AWS.BackupGateway = Service.defineService('backupgateway', ['2021-01-01']);
-Object.defineProperty(apiLoader.services['backupgateway'], '2021-01-01', {
- get: function get() {
- var model = __webpack_require__(50816);
- model.paginators = __webpack_require__(42274)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.BackupGateway;
-
-
-/***/ }),
-
-/***/ 82304:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['backupstorage'] = {};
-AWS.BackupStorage = Service.defineService('backupstorage', ['2018-04-10']);
-Object.defineProperty(apiLoader.services['backupstorage'], '2018-04-10', {
- get: function get() {
- var model = __webpack_require__(52960);
- model.paginators = __webpack_require__(43627)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.BackupStorage;
-
-
-/***/ }),
-
-/***/ 10000:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['batch'] = {};
-AWS.Batch = Service.defineService('batch', ['2016-08-10']);
-Object.defineProperty(apiLoader.services['batch'], '2016-08-10', {
- get: function get() {
- var model = __webpack_require__(97171);
- model.paginators = __webpack_require__(27755)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Batch;
-
-
-/***/ }),
-
-/***/ 38416:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['billingconductor'] = {};
-AWS.Billingconductor = Service.defineService('billingconductor', ['2021-07-30']);
-Object.defineProperty(apiLoader.services['billingconductor'], '2021-07-30', {
- get: function get() {
- var model = __webpack_require__(92966);
- model.paginators = __webpack_require__(34646)/* .pagination */ .o;
- model.waiters = __webpack_require__(88376)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Billingconductor;
-
-
-/***/ }),
-
-/***/ 35429:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['braket'] = {};
-AWS.Braket = Service.defineService('braket', ['2019-09-01']);
-Object.defineProperty(apiLoader.services['braket'], '2019-09-01', {
- get: function get() {
- var model = __webpack_require__(44714);
- model.paginators = __webpack_require__(60058)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Braket;
-
-
-/***/ }),
-
-/***/ 43923:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['budgets'] = {};
-AWS.Budgets = Service.defineService('budgets', ['2016-10-20']);
-Object.defineProperty(apiLoader.services['budgets'], '2016-10-20', {
- get: function get() {
- var model = __webpack_require__(47942);
- model.paginators = __webpack_require__(64219)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Budgets;
-
-
-/***/ }),
-
-/***/ 84646:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['chime'] = {};
-AWS.Chime = Service.defineService('chime', ['2018-05-01']);
-Object.defineProperty(apiLoader.services['chime'], '2018-05-01', {
- get: function get() {
- var model = __webpack_require__(55823);
- model.paginators = __webpack_require__(6307)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Chime;
-
-
-/***/ }),
-
-/***/ 55975:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['chimesdkidentity'] = {};
-AWS.ChimeSDKIdentity = Service.defineService('chimesdkidentity', ['2021-04-20']);
-Object.defineProperty(apiLoader.services['chimesdkidentity'], '2021-04-20', {
- get: function get() {
- var model = __webpack_require__(62052);
- model.paginators = __webpack_require__(77523)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ChimeSDKIdentity;
-
-
-/***/ }),
-
-/***/ 18423:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['chimesdkmediapipelines'] = {};
-AWS.ChimeSDKMediaPipelines = Service.defineService('chimesdkmediapipelines', ['2021-07-15']);
-Object.defineProperty(apiLoader.services['chimesdkmediapipelines'], '2021-07-15', {
- get: function get() {
- var model = __webpack_require__(73501);
- model.paginators = __webpack_require__(1890)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ChimeSDKMediaPipelines;
-
-
-/***/ }),
-
-/***/ 80788:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['chimesdkmeetings'] = {};
-AWS.ChimeSDKMeetings = Service.defineService('chimesdkmeetings', ['2021-07-15']);
-Object.defineProperty(apiLoader.services['chimesdkmeetings'], '2021-07-15', {
- get: function get() {
- var model = __webpack_require__(15081);
- model.paginators = __webpack_require__(29537)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ChimeSDKMeetings;
-
-
-/***/ }),
-
-/***/ 25255:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['chimesdkmessaging'] = {};
-AWS.ChimeSDKMessaging = Service.defineService('chimesdkmessaging', ['2021-05-15']);
-Object.defineProperty(apiLoader.services['chimesdkmessaging'], '2021-05-15', {
- get: function get() {
- var model = __webpack_require__(4378);
- model.paginators = __webpack_require__(8921)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ChimeSDKMessaging;
-
-
-/***/ }),
-
-/***/ 349:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['chimesdkvoice'] = {};
-AWS.ChimeSDKVoice = Service.defineService('chimesdkvoice', ['2022-08-03']);
-Object.defineProperty(apiLoader.services['chimesdkvoice'], '2022-08-03', {
- get: function get() {
- var model = __webpack_require__(2407);
- model.paginators = __webpack_require__(40306)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ChimeSDKVoice;
-
-
-/***/ }),
-
-/***/ 15130:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cleanrooms'] = {};
-AWS.CleanRooms = Service.defineService('cleanrooms', ['2022-02-17']);
-Object.defineProperty(apiLoader.services['cleanrooms'], '2022-02-17', {
- get: function get() {
- var model = __webpack_require__(5615);
- model.paginators = __webpack_require__(48391)/* .pagination */ .o;
- model.waiters = __webpack_require__(58419)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CleanRooms;
-
-
-/***/ }),
-
-/***/ 85473:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloud9'] = {};
-AWS.Cloud9 = Service.defineService('cloud9', ['2017-09-23']);
-Object.defineProperty(apiLoader.services['cloud9'], '2017-09-23', {
- get: function get() {
- var model = __webpack_require__(90697);
- model.paginators = __webpack_require__(79426)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Cloud9;
-
-
-/***/ }),
-
-/***/ 25630:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudcontrol'] = {};
-AWS.CloudControl = Service.defineService('cloudcontrol', ['2021-09-30']);
-Object.defineProperty(apiLoader.services['cloudcontrol'], '2021-09-30', {
- get: function get() {
- var model = __webpack_require__(56373);
- model.paginators = __webpack_require__(86078)/* .pagination */ .o;
- model.waiters = __webpack_require__(50992)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudControl;
-
-
-/***/ }),
-
-/***/ 56231:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['clouddirectory'] = {};
-AWS.CloudDirectory = Service.defineService('clouddirectory', ['2016-05-10', '2016-05-10*', '2017-01-11']);
-Object.defineProperty(apiLoader.services['clouddirectory'], '2016-05-10', {
- get: function get() {
- var model = __webpack_require__(87301);
- model.paginators = __webpack_require__(72446)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['clouddirectory'], '2017-01-11', {
- get: function get() {
- var model = __webpack_require__(79943);
- model.paginators = __webpack_require__(20410)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudDirectory;
-
-
-/***/ }),
-
-/***/ 74643:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudformation'] = {};
-AWS.CloudFormation = Service.defineService('cloudformation', ['2010-05-15']);
-Object.defineProperty(apiLoader.services['cloudformation'], '2010-05-15', {
- get: function get() {
- var model = __webpack_require__(50980);
- model.paginators = __webpack_require__(43078)/* .pagination */ .o;
- model.waiters = __webpack_require__(11714)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudFormation;
-
-
-/***/ }),
-
-/***/ 48058:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudfront'] = {};
-AWS.CloudFront = Service.defineService('cloudfront', ['2013-05-12*', '2013-11-11*', '2014-05-31*', '2014-10-21*', '2014-11-06*', '2015-04-17*', '2015-07-27*', '2015-09-17*', '2016-01-13*', '2016-01-28*', '2016-08-01*', '2016-08-20*', '2016-09-07*', '2016-09-29*', '2016-11-25', '2016-11-25*', '2017-03-25', '2017-03-25*', '2017-10-30', '2017-10-30*', '2018-06-18', '2018-06-18*', '2018-11-05', '2018-11-05*', '2019-03-26', '2019-03-26*', '2020-05-31']);
-__webpack_require__(95483);
-Object.defineProperty(apiLoader.services['cloudfront'], '2016-11-25', {
- get: function get() {
- var model = __webpack_require__(81977);
- model.paginators = __webpack_require__(12819)/* .pagination */ .o;
- model.waiters = __webpack_require__(52832)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['cloudfront'], '2017-03-25', {
- get: function get() {
- var model = __webpack_require__(38288);
- model.paginators = __webpack_require__(19896)/* .pagination */ .o;
- model.waiters = __webpack_require__(43589)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['cloudfront'], '2017-10-30', {
- get: function get() {
- var model = __webpack_require__(62352);
- model.paginators = __webpack_require__(94430)/* .pagination */ .o;
- model.waiters = __webpack_require__(36502)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['cloudfront'], '2018-06-18', {
- get: function get() {
- var model = __webpack_require__(59976);
- model.paginators = __webpack_require__(43510)/* .pagination */ .o;
- model.waiters = __webpack_require__(67512)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['cloudfront'], '2018-11-05', {
- get: function get() {
- var model = __webpack_require__(2861);
- model.paginators = __webpack_require__(94484)/* .pagination */ .o;
- model.waiters = __webpack_require__(94992)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['cloudfront'], '2019-03-26', {
- get: function get() {
- var model = __webpack_require__(22621);
- model.paginators = __webpack_require__(49289)/* .pagination */ .o;
- model.waiters = __webpack_require__(89078)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['cloudfront'], '2020-05-31', {
- get: function get() {
- var model = __webpack_require__(44946);
- model.paginators = __webpack_require__(92022)/* .pagination */ .o;
- model.waiters = __webpack_require__(83035)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudFront;
-
-
-/***/ }),
-
-/***/ 10569:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudhsm'] = {};
-AWS.CloudHSM = Service.defineService('cloudhsm', ['2014-05-30']);
-Object.defineProperty(apiLoader.services['cloudhsm'], '2014-05-30', {
- get: function get() {
- var model = __webpack_require__(59717);
- model.paginators = __webpack_require__(26512)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudHSM;
-
-
-/***/ }),
-
-/***/ 70889:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudhsmv2'] = {};
-AWS.CloudHSMV2 = Service.defineService('cloudhsmv2', ['2017-04-28']);
-Object.defineProperty(apiLoader.services['cloudhsmv2'], '2017-04-28', {
- get: function get() {
- var model = __webpack_require__(19362);
- model.paginators = __webpack_require__(96674)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudHSMV2;
-
-
-/***/ }),
-
-/***/ 72321:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudsearch'] = {};
-AWS.CloudSearch = Service.defineService('cloudsearch', ['2011-02-01', '2013-01-01']);
-Object.defineProperty(apiLoader.services['cloudsearch'], '2011-02-01', {
- get: function get() {
- var model = __webpack_require__(4999);
- model.paginators = __webpack_require__(74483)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['cloudsearch'], '2013-01-01', {
- get: function get() {
- var model = __webpack_require__(93200);
- model.paginators = __webpack_require__(82352)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudSearch;
-
-
-/***/ }),
-
-/***/ 64072:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudsearchdomain'] = {};
-AWS.CloudSearchDomain = Service.defineService('cloudsearchdomain', ['2013-01-01']);
-__webpack_require__(48571);
-Object.defineProperty(apiLoader.services['cloudsearchdomain'], '2013-01-01', {
- get: function get() {
- var model = __webpack_require__(56588);
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudSearchDomain;
-
-
-/***/ }),
-
-/***/ 65512:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudtrail'] = {};
-AWS.CloudTrail = Service.defineService('cloudtrail', ['2013-11-01']);
-Object.defineProperty(apiLoader.services['cloudtrail'], '2013-11-01', {
- get: function get() {
- var model = __webpack_require__(90967);
- model.paginators = __webpack_require__(78414)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudTrail;
-
-
-/***/ }),
-
-/***/ 31191:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudtraildata'] = {};
-AWS.CloudTrailData = Service.defineService('cloudtraildata', ['2021-08-11']);
-Object.defineProperty(apiLoader.services['cloudtraildata'], '2021-08-11', {
- get: function get() {
- var model = __webpack_require__(9243);
- model.paginators = __webpack_require__(17139)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudTrailData;
-
-
-/***/ }),
-
-/***/ 6763:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudwatch'] = {};
-AWS.CloudWatch = Service.defineService('cloudwatch', ['2010-08-01']);
-Object.defineProperty(apiLoader.services['cloudwatch'], '2010-08-01', {
- get: function get() {
- var model = __webpack_require__(12505);
- model.paginators = __webpack_require__(16758)/* .pagination */ .o;
- model.waiters = __webpack_require__(4112)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudWatch;
-
-
-/***/ }),
-
-/***/ 38124:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudwatchevents'] = {};
-AWS.CloudWatchEvents = Service.defineService('cloudwatchevents', ['2014-02-03*', '2015-10-07']);
-Object.defineProperty(apiLoader.services['cloudwatchevents'], '2015-10-07', {
- get: function get() {
- var model = __webpack_require__(2845);
- model.paginators = __webpack_require__(96939)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudWatchEvents;
-
-
-/***/ }),
-
-/***/ 96693:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cloudwatchlogs'] = {};
-AWS.CloudWatchLogs = Service.defineService('cloudwatchlogs', ['2014-03-28']);
-Object.defineProperty(apiLoader.services['cloudwatchlogs'], '2014-03-28', {
- get: function get() {
- var model = __webpack_require__(69022);
- model.paginators = __webpack_require__(26273)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CloudWatchLogs;
-
-
-/***/ }),
-
-/***/ 91983:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['codeartifact'] = {};
-AWS.CodeArtifact = Service.defineService('codeartifact', ['2018-09-22']);
-Object.defineProperty(apiLoader.services['codeartifact'], '2018-09-22', {
- get: function get() {
- var model = __webpack_require__(26175);
- model.paginators = __webpack_require__(21307)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CodeArtifact;
-
-
-/***/ }),
-
-/***/ 60450:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['codebuild'] = {};
-AWS.CodeBuild = Service.defineService('codebuild', ['2016-10-06']);
-Object.defineProperty(apiLoader.services['codebuild'], '2016-10-06', {
- get: function get() {
- var model = __webpack_require__(32310);
- model.paginators = __webpack_require__(10589)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CodeBuild;
-
-
-/***/ }),
-
-/***/ 19499:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['codecatalyst'] = {};
-AWS.CodeCatalyst = Service.defineService('codecatalyst', ['2022-09-28']);
-Object.defineProperty(apiLoader.services['codecatalyst'], '2022-09-28', {
- get: function get() {
- var model = __webpack_require__(47456);
- model.paginators = __webpack_require__(39625)/* .pagination */ .o;
- model.waiters = __webpack_require__(19996)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CodeCatalyst;
-
-
-/***/ }),
-
-/***/ 71323:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['codecommit'] = {};
-AWS.CodeCommit = Service.defineService('codecommit', ['2015-04-13']);
-Object.defineProperty(apiLoader.services['codecommit'], '2015-04-13', {
- get: function get() {
- var model = __webpack_require__(2091);
- model.paginators = __webpack_require__(11742)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CodeCommit;
-
-
-/***/ }),
-
-/***/ 54599:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['codedeploy'] = {};
-AWS.CodeDeploy = Service.defineService('codedeploy', ['2014-10-06']);
-Object.defineProperty(apiLoader.services['codedeploy'], '2014-10-06', {
- get: function get() {
- var model = __webpack_require__(33531);
- model.paginators = __webpack_require__(63203)/* .pagination */ .o;
- model.waiters = __webpack_require__(56338)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CodeDeploy;
-
-
-/***/ }),
-
-/***/ 65704:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['codeguruprofiler'] = {};
-AWS.CodeGuruProfiler = Service.defineService('codeguruprofiler', ['2019-07-18']);
-Object.defineProperty(apiLoader.services['codeguruprofiler'], '2019-07-18', {
- get: function get() {
- var model = __webpack_require__(55790);
- model.paginators = __webpack_require__(14789)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CodeGuruProfiler;
-
-
-/***/ }),
-
-/***/ 60070:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['codegurureviewer'] = {};
-AWS.CodeGuruReviewer = Service.defineService('codegurureviewer', ['2019-09-19']);
-Object.defineProperty(apiLoader.services['codegurureviewer'], '2019-09-19', {
- get: function get() {
- var model = __webpack_require__(16420);
- model.paginators = __webpack_require__(89571)/* .pagination */ .o;
- model.waiters = __webpack_require__(12860)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CodeGuruReviewer;
-
-
-/***/ }),
-
-/***/ 22938:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['codepipeline'] = {};
-AWS.CodePipeline = Service.defineService('codepipeline', ['2015-07-09']);
-Object.defineProperty(apiLoader.services['codepipeline'], '2015-07-09', {
- get: function get() {
- var model = __webpack_require__(92486);
- model.paginators = __webpack_require__(38160)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CodePipeline;
-
-
-/***/ }),
-
-/***/ 98336:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['codestar'] = {};
-AWS.CodeStar = Service.defineService('codestar', ['2017-04-19']);
-Object.defineProperty(apiLoader.services['codestar'], '2017-04-19', {
- get: function get() {
- var model = __webpack_require__(71626);
- model.paginators = __webpack_require__(78653)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CodeStar;
-
-
-/***/ }),
-
-/***/ 78270:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['codestarconnections'] = {};
-AWS.CodeStarconnections = Service.defineService('codestarconnections', ['2019-12-01']);
-Object.defineProperty(apiLoader.services['codestarconnections'], '2019-12-01', {
- get: function get() {
- var model = __webpack_require__(81568);
- model.paginators = __webpack_require__(7656)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CodeStarconnections;
-
-
-/***/ }),
-
-/***/ 15141:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['codestarnotifications'] = {};
-AWS.CodeStarNotifications = Service.defineService('codestarnotifications', ['2019-10-15']);
-Object.defineProperty(apiLoader.services['codestarnotifications'], '2019-10-15', {
- get: function get() {
- var model = __webpack_require__(41964);
- model.paginators = __webpack_require__(5741)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CodeStarNotifications;
-
-
-/***/ }),
-
-/***/ 58291:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cognitoidentity'] = {};
-AWS.CognitoIdentity = Service.defineService('cognitoidentity', ['2014-06-30']);
-Object.defineProperty(apiLoader.services['cognitoidentity'], '2014-06-30', {
- get: function get() {
- var model = __webpack_require__(26102);
- model.paginators = __webpack_require__(80796)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CognitoIdentity;
-
-
-/***/ }),
-
-/***/ 31379:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cognitoidentityserviceprovider'] = {};
-AWS.CognitoIdentityServiceProvider = Service.defineService('cognitoidentityserviceprovider', ['2016-04-18']);
-Object.defineProperty(apiLoader.services['cognitoidentityserviceprovider'], '2016-04-18', {
- get: function get() {
- var model = __webpack_require__(60923);
- model.paginators = __webpack_require__(32568)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CognitoIdentityServiceProvider;
-
-
-/***/ }),
-
-/***/ 74770:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cognitosync'] = {};
-AWS.CognitoSync = Service.defineService('cognitosync', ['2014-06-30']);
-Object.defineProperty(apiLoader.services['cognitosync'], '2014-06-30', {
- get: function get() {
- var model = __webpack_require__(91406);
- model.paginators = __webpack_require__(23418)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CognitoSync;
-
-
-/***/ }),
-
-/***/ 62878:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['comprehend'] = {};
-AWS.Comprehend = Service.defineService('comprehend', ['2017-11-27']);
-Object.defineProperty(apiLoader.services['comprehend'], '2017-11-27', {
- get: function get() {
- var model = __webpack_require__(71004);
- model.paginators = __webpack_require__(70341)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Comprehend;
-
-
-/***/ }),
-
-/***/ 32349:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['comprehendmedical'] = {};
-AWS.ComprehendMedical = Service.defineService('comprehendmedical', ['2018-10-30']);
-Object.defineProperty(apiLoader.services['comprehendmedical'], '2018-10-30', {
- get: function get() {
- var model = __webpack_require__(65085);
- model.paginators = __webpack_require__(89772)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ComprehendMedical;
-
-
-/***/ }),
-
-/***/ 64459:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['computeoptimizer'] = {};
-AWS.ComputeOptimizer = Service.defineService('computeoptimizer', ['2019-11-01']);
-Object.defineProperty(apiLoader.services['computeoptimizer'], '2019-11-01', {
- get: function get() {
- var model = __webpack_require__(559);
- model.paginators = __webpack_require__(16060)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ComputeOptimizer;
-
-
-/***/ }),
-
-/***/ 34061:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['configservice'] = {};
-AWS.ConfigService = Service.defineService('configservice', ['2014-11-12']);
-Object.defineProperty(apiLoader.services['configservice'], '2014-11-12', {
- get: function get() {
- var model = __webpack_require__(85031);
- model.paginators = __webpack_require__(55050)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ConfigService;
-
-
-/***/ }),
-
-/***/ 13879:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['connect'] = {};
-AWS.Connect = Service.defineService('connect', ['2017-08-08']);
-Object.defineProperty(apiLoader.services['connect'], '2017-08-08', {
- get: function get() {
- var model = __webpack_require__(13649);
- model.paginators = __webpack_require__(35649)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Connect;
-
-
-/***/ }),
-
-/***/ 42789:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['connectcampaigns'] = {};
-AWS.ConnectCampaigns = Service.defineService('connectcampaigns', ['2021-01-30']);
-Object.defineProperty(apiLoader.services['connectcampaigns'], '2021-01-30', {
- get: function get() {
- var model = __webpack_require__(46240);
- model.paginators = __webpack_require__(27367)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ConnectCampaigns;
-
-
-/***/ }),
-
-/***/ 72223:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['connectcases'] = {};
-AWS.ConnectCases = Service.defineService('connectcases', ['2022-10-03']);
-Object.defineProperty(apiLoader.services['connectcases'], '2022-10-03', {
- get: function get() {
- var model = __webpack_require__(64583);
- model.paginators = __webpack_require__(64672)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ConnectCases;
-
-
-/***/ }),
-
-/***/ 41847:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['connectcontactlens'] = {};
-AWS.ConnectContactLens = Service.defineService('connectcontactlens', ['2020-08-21']);
-Object.defineProperty(apiLoader.services['connectcontactlens'], '2020-08-21', {
- get: function get() {
- var model = __webpack_require__(86739);
- model.paginators = __webpack_require__(49692)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ConnectContactLens;
-
-
-/***/ }),
-
-/***/ 94198:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['connectparticipant'] = {};
-AWS.ConnectParticipant = Service.defineService('connectparticipant', ['2018-09-07']);
-Object.defineProperty(apiLoader.services['connectparticipant'], '2018-09-07', {
- get: function get() {
- var model = __webpack_require__(46788);
- model.paginators = __webpack_require__(2813)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ConnectParticipant;
-
-
-/***/ }),
-
-/***/ 77574:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['controltower'] = {};
-AWS.ControlTower = Service.defineService('controltower', ['2018-05-10']);
-Object.defineProperty(apiLoader.services['controltower'], '2018-05-10', {
- get: function get() {
- var model = __webpack_require__(1066);
- model.paginators = __webpack_require__(55009)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ControlTower;
-
-
-/***/ }),
-
-/***/ 79523:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['costexplorer'] = {};
-AWS.CostExplorer = Service.defineService('costexplorer', ['2017-10-25']);
-Object.defineProperty(apiLoader.services['costexplorer'], '2017-10-25', {
- get: function get() {
- var model = __webpack_require__(86565);
- model.paginators = __webpack_require__(94382)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CostExplorer;
-
-
-/***/ }),
-
-/***/ 5026:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['cur'] = {};
-AWS.CUR = Service.defineService('cur', ['2017-01-06']);
-Object.defineProperty(apiLoader.services['cur'], '2017-01-06', {
- get: function get() {
- var model = __webpack_require__(4138);
- model.paginators = __webpack_require__(29271)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CUR;
-
-
-/***/ }),
-
-/***/ 28379:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['customerprofiles'] = {};
-AWS.CustomerProfiles = Service.defineService('customerprofiles', ['2020-08-15']);
-Object.defineProperty(apiLoader.services['customerprofiles'], '2020-08-15', {
- get: function get() {
- var model = __webpack_require__(39734);
- model.paginators = __webpack_require__(35003)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.CustomerProfiles;
-
-
-/***/ }),
-
-/***/ 35846:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['databrew'] = {};
-AWS.DataBrew = Service.defineService('databrew', ['2017-07-25']);
-Object.defineProperty(apiLoader.services['databrew'], '2017-07-25', {
- get: function get() {
- var model = __webpack_require__(42529);
- model.paginators = __webpack_require__(91224)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DataBrew;
-
-
-/***/ }),
-
-/***/ 11024:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['dataexchange'] = {};
-AWS.DataExchange = Service.defineService('dataexchange', ['2017-07-25']);
-Object.defineProperty(apiLoader.services['dataexchange'], '2017-07-25', {
- get: function get() {
- var model = __webpack_require__(25676);
- model.paginators = __webpack_require__(44399)/* .pagination */ .o;
- model.waiters = __webpack_require__(75202)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DataExchange;
-
-
-/***/ }),
-
-/***/ 65688:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['datapipeline'] = {};
-AWS.DataPipeline = Service.defineService('datapipeline', ['2012-10-29']);
-Object.defineProperty(apiLoader.services['datapipeline'], '2012-10-29', {
- get: function get() {
- var model = __webpack_require__(9547);
- model.paginators = __webpack_require__(48471)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DataPipeline;
-
-
-/***/ }),
-
-/***/ 15472:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['datasync'] = {};
-AWS.DataSync = Service.defineService('datasync', ['2018-11-09']);
-Object.defineProperty(apiLoader.services['datasync'], '2018-11-09', {
- get: function get() {
- var model = __webpack_require__(37374);
- model.paginators = __webpack_require__(18448)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DataSync;
-
-
-/***/ }),
-
-/***/ 71398:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['dax'] = {};
-AWS.DAX = Service.defineService('dax', ['2017-04-19']);
-Object.defineProperty(apiLoader.services['dax'], '2017-04-19', {
- get: function get() {
- var model = __webpack_require__(97287);
- model.paginators = __webpack_require__(15791)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DAX;
-
-
-/***/ }),
-
-/***/ 60674:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['detective'] = {};
-AWS.Detective = Service.defineService('detective', ['2018-10-26']);
-Object.defineProperty(apiLoader.services['detective'], '2018-10-26', {
- get: function get() {
- var model = __webpack_require__(38107);
- model.paginators = __webpack_require__(26554)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Detective;
-
-
-/***/ }),
-
-/***/ 26272:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['devicefarm'] = {};
-AWS.DeviceFarm = Service.defineService('devicefarm', ['2015-06-23']);
-Object.defineProperty(apiLoader.services['devicefarm'], '2015-06-23', {
- get: function get() {
- var model = __webpack_require__(87206);
- model.paginators = __webpack_require__(85524)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DeviceFarm;
-
-
-/***/ }),
-
-/***/ 90673:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['devopsguru'] = {};
-AWS.DevOpsGuru = Service.defineService('devopsguru', ['2020-12-01']);
-Object.defineProperty(apiLoader.services['devopsguru'], '2020-12-01', {
- get: function get() {
- var model = __webpack_require__(82176);
- model.paginators = __webpack_require__(91556)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DevOpsGuru;
-
-
-/***/ }),
-
-/***/ 73783:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['directconnect'] = {};
-AWS.DirectConnect = Service.defineService('directconnect', ['2012-10-25']);
-Object.defineProperty(apiLoader.services['directconnect'], '2012-10-25', {
- get: function get() {
- var model = __webpack_require__(49177);
- model.paginators = __webpack_require__(57373)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DirectConnect;
-
-
-/***/ }),
-
-/***/ 83908:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['directoryservice'] = {};
-AWS.DirectoryService = Service.defineService('directoryservice', ['2015-04-16']);
-Object.defineProperty(apiLoader.services['directoryservice'], '2015-04-16', {
- get: function get() {
- var model = __webpack_require__(3174);
- model.paginators = __webpack_require__(1714)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DirectoryService;
-
-
-/***/ }),
-
-/***/ 81690:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['discovery'] = {};
-AWS.Discovery = Service.defineService('discovery', ['2015-11-01']);
-Object.defineProperty(apiLoader.services['discovery'], '2015-11-01', {
- get: function get() {
- var model = __webpack_require__(32400);
- model.paginators = __webpack_require__(54052)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Discovery;
-
-
-/***/ }),
-
-/***/ 24958:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['dlm'] = {};
-AWS.DLM = Service.defineService('dlm', ['2018-01-12']);
-Object.defineProperty(apiLoader.services['dlm'], '2018-01-12', {
- get: function get() {
- var model = __webpack_require__(19210);
- model.paginators = __webpack_require__(69943)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DLM;
-
-
-/***/ }),
-
-/***/ 69868:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['dms'] = {};
-AWS.DMS = Service.defineService('dms', ['2016-01-01']);
-Object.defineProperty(apiLoader.services['dms'], '2016-01-01', {
- get: function get() {
- var model = __webpack_require__(85765);
- model.paginators = __webpack_require__(170)/* .pagination */ .o;
- model.waiters = __webpack_require__(31491)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DMS;
-
-
-/***/ }),
-
-/***/ 55129:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['docdb'] = {};
-AWS.DocDB = Service.defineService('docdb', ['2014-10-31']);
-__webpack_require__(59050);
-Object.defineProperty(apiLoader.services['docdb'], '2014-10-31', {
- get: function get() {
- var model = __webpack_require__(78804);
- model.paginators = __webpack_require__(97929)/* .pagination */ .o;
- model.waiters = __webpack_require__(61159)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DocDB;
-
-
-/***/ }),
-
-/***/ 20792:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['docdbelastic'] = {};
-AWS.DocDBElastic = Service.defineService('docdbelastic', ['2022-11-28']);
-Object.defineProperty(apiLoader.services['docdbelastic'], '2022-11-28', {
- get: function get() {
- var model = __webpack_require__(58413);
- model.paginators = __webpack_require__(68715)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DocDBElastic;
-
-
-/***/ }),
-
-/***/ 41116:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['drs'] = {};
-AWS.Drs = Service.defineService('drs', ['2020-02-26']);
-Object.defineProperty(apiLoader.services['drs'], '2020-02-26', {
- get: function get() {
- var model = __webpack_require__(15526);
- model.paginators = __webpack_require__(68795)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Drs;
-
-
-/***/ }),
-
-/***/ 14347:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['dynamodb'] = {};
-AWS.DynamoDB = Service.defineService('dynamodb', ['2011-12-05', '2012-08-10']);
-__webpack_require__(17101);
-Object.defineProperty(apiLoader.services['dynamodb'], '2011-12-05', {
- get: function get() {
- var model = __webpack_require__(59225);
- model.paginators = __webpack_require__(30867)/* .pagination */ .o;
- model.waiters = __webpack_require__(15606)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['dynamodb'], '2012-08-10', {
- get: function get() {
- var model = __webpack_require__(10198);
- model.paginators = __webpack_require__(79199)/* .pagination */ .o;
- model.waiters = __webpack_require__(13814)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DynamoDB;
-
-
-/***/ }),
-
-/***/ 88090:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['dynamodbstreams'] = {};
-AWS.DynamoDBStreams = Service.defineService('dynamodbstreams', ['2012-08-10']);
-Object.defineProperty(apiLoader.services['dynamodbstreams'], '2012-08-10', {
- get: function get() {
- var model = __webpack_require__(69705);
- model.paginators = __webpack_require__(18467)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.DynamoDBStreams;
-
-
-/***/ }),
-
-/***/ 62837:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ebs'] = {};
-AWS.EBS = Service.defineService('ebs', ['2019-11-02']);
-Object.defineProperty(apiLoader.services['ebs'], '2019-11-02', {
- get: function get() {
- var model = __webpack_require__(67263);
- model.paginators = __webpack_require__(94934)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.EBS;
-
-
-/***/ }),
-
-/***/ 7778:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ec2'] = {};
-AWS.EC2 = Service.defineService('ec2', ['2013-06-15*', '2013-10-15*', '2014-02-01*', '2014-05-01*', '2014-06-15*', '2014-09-01*', '2014-10-01*', '2015-03-01*', '2015-04-15*', '2015-10-01*', '2016-04-01*', '2016-09-15*', '2016-11-15']);
-__webpack_require__(92501);
-Object.defineProperty(apiLoader.services['ec2'], '2016-11-15', {
- get: function get() {
- var model = __webpack_require__(8893);
- model.paginators = __webpack_require__(32127)/* .pagination */ .o;
- model.waiters = __webpack_require__(90157)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.EC2;
-
-
-/***/ }),
-
-/***/ 92209:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ec2instanceconnect'] = {};
-AWS.EC2InstanceConnect = Service.defineService('ec2instanceconnect', ['2018-04-02']);
-Object.defineProperty(apiLoader.services['ec2instanceconnect'], '2018-04-02', {
- get: function get() {
- var model = __webpack_require__(14703);
- model.paginators = __webpack_require__(73353)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.EC2InstanceConnect;
-
-
-/***/ }),
-
-/***/ 15211:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ecr'] = {};
-AWS.ECR = Service.defineService('ecr', ['2015-09-21']);
-Object.defineProperty(apiLoader.services['ecr'], '2015-09-21', {
- get: function get() {
- var model = __webpack_require__(80948);
- model.paginators = __webpack_require__(66855)/* .pagination */ .o;
- model.waiters = __webpack_require__(69800)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ECR;
-
-
-/***/ }),
-
-/***/ 90244:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ecrpublic'] = {};
-AWS.ECRPUBLIC = Service.defineService('ecrpublic', ['2020-10-30']);
-Object.defineProperty(apiLoader.services['ecrpublic'], '2020-10-30', {
- get: function get() {
- var model = __webpack_require__(82416);
- model.paginators = __webpack_require__(41518)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ECRPUBLIC;
-
-
-/***/ }),
-
-/***/ 16615:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ecs'] = {};
-AWS.ECS = Service.defineService('ecs', ['2014-11-13']);
-Object.defineProperty(apiLoader.services['ecs'], '2014-11-13', {
- get: function get() {
- var model = __webpack_require__(68155);
- model.paginators = __webpack_require__(33629)/* .pagination */ .o;
- model.waiters = __webpack_require__(54199)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ECS;
-
-
-/***/ }),
-
-/***/ 34375:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['efs'] = {};
-AWS.EFS = Service.defineService('efs', ['2015-02-01']);
-Object.defineProperty(apiLoader.services['efs'], '2015-02-01', {
- get: function get() {
- var model = __webpack_require__(54989);
- model.paginators = __webpack_require__(73750)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.EFS;
-
-
-/***/ }),
-
-/***/ 23337:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['eks'] = {};
-AWS.EKS = Service.defineService('eks', ['2017-11-01']);
-Object.defineProperty(apiLoader.services['eks'], '2017-11-01', {
- get: function get() {
- var model = __webpack_require__(7766);
- model.paginators = __webpack_require__(17233)/* .pagination */ .o;
- model.waiters = __webpack_require__(11545)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.EKS;
-
-
-/***/ }),
-
-/***/ 81065:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['elasticache'] = {};
-AWS.ElastiCache = Service.defineService('elasticache', ['2012-11-15*', '2014-03-24*', '2014-07-15*', '2014-09-30*', '2015-02-02']);
-Object.defineProperty(apiLoader.services['elasticache'], '2015-02-02', {
- get: function get() {
- var model = __webpack_require__(78248);
- model.paginators = __webpack_require__(47954)/* .pagination */ .o;
- model.waiters = __webpack_require__(35402)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ElastiCache;
-
-
-/***/ }),
-
-/***/ 14897:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['elasticbeanstalk'] = {};
-AWS.ElasticBeanstalk = Service.defineService('elasticbeanstalk', ['2010-12-01']);
-Object.defineProperty(apiLoader.services['elasticbeanstalk'], '2010-12-01', {
- get: function get() {
- var model = __webpack_require__(26770);
- model.paginators = __webpack_require__(14282)/* .pagination */ .o;
- model.waiters = __webpack_require__(125)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ElasticBeanstalk;
-
-
-/***/ }),
-
-/***/ 37708:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['elasticinference'] = {};
-AWS.ElasticInference = Service.defineService('elasticinference', ['2017-07-25']);
-Object.defineProperty(apiLoader.services['elasticinference'], '2017-07-25', {
- get: function get() {
- var model = __webpack_require__(76263);
- model.paginators = __webpack_require__(73815)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ElasticInference;
-
-
-/***/ }),
-
-/***/ 40745:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['elastictranscoder'] = {};
-AWS.ElasticTranscoder = Service.defineService('elastictranscoder', ['2012-09-25']);
-Object.defineProperty(apiLoader.services['elastictranscoder'], '2012-09-25', {
- get: function get() {
- var model = __webpack_require__(45610);
- model.paginators = __webpack_require__(35370)/* .pagination */ .o;
- model.waiters = __webpack_require__(13314)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ElasticTranscoder;
-
-
-/***/ }),
-
-/***/ 10907:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['elb'] = {};
-AWS.ELB = Service.defineService('elb', ['2012-06-01']);
-Object.defineProperty(apiLoader.services['elb'], '2012-06-01', {
- get: function get() {
- var model = __webpack_require__(16234);
- model.paginators = __webpack_require__(87921)/* .pagination */ .o;
- model.waiters = __webpack_require__(41073)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ELB;
-
-
-/***/ }),
-
-/***/ 44311:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['elbv2'] = {};
-AWS.ELBv2 = Service.defineService('elbv2', ['2015-12-01']);
-Object.defineProperty(apiLoader.services['elbv2'], '2015-12-01', {
- get: function get() {
- var model = __webpack_require__(95067);
- model.paginators = __webpack_require__(49154)/* .pagination */ .o;
- model.waiters = __webpack_require__(14244)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ELBv2;
-
-
-/***/ }),
-
-/***/ 50470:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['emr'] = {};
-AWS.EMR = Service.defineService('emr', ['2009-03-31']);
-Object.defineProperty(apiLoader.services['emr'], '2009-03-31', {
- get: function get() {
- var model = __webpack_require__(61812);
- model.paginators = __webpack_require__(45852)/* .pagination */ .o;
- model.waiters = __webpack_require__(70234)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.EMR;
-
-
-/***/ }),
-
-/***/ 49984:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['emrcontainers'] = {};
-AWS.EMRcontainers = Service.defineService('emrcontainers', ['2020-10-01']);
-Object.defineProperty(apiLoader.services['emrcontainers'], '2020-10-01', {
- get: function get() {
- var model = __webpack_require__(96210);
- model.paginators = __webpack_require__(83173)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.EMRcontainers;
-
-
-/***/ }),
-
-/***/ 219:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['emrserverless'] = {};
-AWS.EMRServerless = Service.defineService('emrserverless', ['2021-07-13']);
-Object.defineProperty(apiLoader.services['emrserverless'], '2021-07-13', {
- get: function get() {
- var model = __webpack_require__(20914);
- model.paginators = __webpack_require__(12326)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.EMRServerless;
-
-
-/***/ }),
-
-/***/ 84462:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['es'] = {};
-AWS.ES = Service.defineService('es', ['2015-01-01']);
-Object.defineProperty(apiLoader.services['es'], '2015-01-01', {
- get: function get() {
- var model = __webpack_require__(69235);
- model.paginators = __webpack_require__(5589)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ES;
-
-
-/***/ }),
-
-/***/ 898:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['eventbridge'] = {};
-AWS.EventBridge = Service.defineService('eventbridge', ['2015-10-07']);
-__webpack_require__(3034);
-Object.defineProperty(apiLoader.services['eventbridge'], '2015-10-07', {
- get: function get() {
- var model = __webpack_require__(16181);
- model.paginators = __webpack_require__(41745)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.EventBridge;
-
-
-/***/ }),
-
-/***/ 21440:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['evidently'] = {};
-AWS.Evidently = Service.defineService('evidently', ['2021-02-01']);
-Object.defineProperty(apiLoader.services['evidently'], '2021-02-01', {
- get: function get() {
- var model = __webpack_require__(28544);
- model.paginators = __webpack_require__(54840)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Evidently;
-
-
-/***/ }),
-
-/***/ 3052:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['finspace'] = {};
-AWS.Finspace = Service.defineService('finspace', ['2021-03-12']);
-Object.defineProperty(apiLoader.services['finspace'], '2021-03-12', {
- get: function get() {
- var model = __webpack_require__(37103);
- model.paginators = __webpack_require__(57240)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Finspace;
-
-
-/***/ }),
-
-/***/ 96869:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['finspacedata'] = {};
-AWS.Finspacedata = Service.defineService('finspacedata', ['2020-07-13']);
-Object.defineProperty(apiLoader.services['finspacedata'], '2020-07-13', {
- get: function get() {
- var model = __webpack_require__(76667);
- model.paginators = __webpack_require__(92445)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Finspacedata;
-
-
-/***/ }),
-
-/***/ 92831:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['firehose'] = {};
-AWS.Firehose = Service.defineService('firehose', ['2015-08-04']);
-Object.defineProperty(apiLoader.services['firehose'], '2015-08-04', {
- get: function get() {
- var model = __webpack_require__(53370);
- model.paginators = __webpack_require__(16459)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Firehose;
-
-
-/***/ }),
-
-/***/ 73003:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['fis'] = {};
-AWS.Fis = Service.defineService('fis', ['2020-12-01']);
-Object.defineProperty(apiLoader.services['fis'], '2020-12-01', {
- get: function get() {
- var model = __webpack_require__(75416);
- model.paginators = __webpack_require__(703)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Fis;
-
-
-/***/ }),
-
-/***/ 11316:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['fms'] = {};
-AWS.FMS = Service.defineService('fms', ['2018-01-01']);
-Object.defineProperty(apiLoader.services['fms'], '2018-01-01', {
- get: function get() {
- var model = __webpack_require__(86359);
- model.paginators = __webpack_require__(47569)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.FMS;
-
-
-/***/ }),
-
-/***/ 36822:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['forecastqueryservice'] = {};
-AWS.ForecastQueryService = Service.defineService('forecastqueryservice', ['2018-06-26']);
-Object.defineProperty(apiLoader.services['forecastqueryservice'], '2018-06-26', {
- get: function get() {
- var model = __webpack_require__(6430);
- model.paginators = __webpack_require__(30372)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ForecastQueryService;
-
-
-/***/ }),
-
-/***/ 12942:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['forecastservice'] = {};
-AWS.ForecastService = Service.defineService('forecastservice', ['2018-06-26']);
-Object.defineProperty(apiLoader.services['forecastservice'], '2018-06-26', {
- get: function get() {
- var model = __webpack_require__(55586);
- model.paginators = __webpack_require__(83052)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ForecastService;
-
-
-/***/ }),
-
-/***/ 99830:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['frauddetector'] = {};
-AWS.FraudDetector = Service.defineService('frauddetector', ['2019-11-15']);
-Object.defineProperty(apiLoader.services['frauddetector'], '2019-11-15', {
- get: function get() {
- var model = __webpack_require__(93807);
- model.paginators = __webpack_require__(32681)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.FraudDetector;
-
-
-/***/ }),
-
-/***/ 60642:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['fsx'] = {};
-AWS.FSx = Service.defineService('fsx', ['2018-03-01']);
-Object.defineProperty(apiLoader.services['fsx'], '2018-03-01', {
- get: function get() {
- var model = __webpack_require__(85233);
- model.paginators = __webpack_require__(8719)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.FSx;
-
-
-/***/ }),
-
-/***/ 8085:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['gamelift'] = {};
-AWS.GameLift = Service.defineService('gamelift', ['2015-10-01']);
-Object.defineProperty(apiLoader.services['gamelift'], '2015-10-01', {
- get: function get() {
- var model = __webpack_require__(71658);
- model.paginators = __webpack_require__(32274)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.GameLift;
-
-
-/***/ }),
-
-/***/ 83025:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['gamesparks'] = {};
-AWS.GameSparks = Service.defineService('gamesparks', ['2021-08-17']);
-Object.defineProperty(apiLoader.services['gamesparks'], '2021-08-17', {
- get: function get() {
- var model = __webpack_require__(22116);
- model.paginators = __webpack_require__(66322)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.GameSparks;
-
-
-/***/ }),
-
-/***/ 63249:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['glacier'] = {};
-AWS.Glacier = Service.defineService('glacier', ['2012-06-01']);
-__webpack_require__(14472);
-Object.defineProperty(apiLoader.services['glacier'], '2012-06-01', {
- get: function get() {
- var model = __webpack_require__(47563);
- model.paginators = __webpack_require__(77100)/* .pagination */ .o;
- model.waiters = __webpack_require__(81219)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Glacier;
-
-
-/***/ }),
-
-/***/ 19306:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['globalaccelerator'] = {};
-AWS.GlobalAccelerator = Service.defineService('globalaccelerator', ['2018-08-08']);
-Object.defineProperty(apiLoader.services['globalaccelerator'], '2018-08-08', {
- get: function get() {
- var model = __webpack_require__(5157);
- model.paginators = __webpack_require__(9696)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.GlobalAccelerator;
-
-
-/***/ }),
-
-/***/ 31658:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['glue'] = {};
-AWS.Glue = Service.defineService('glue', ['2017-03-31']);
-Object.defineProperty(apiLoader.services['glue'], '2017-03-31', {
- get: function get() {
- var model = __webpack_require__(91789);
- model.paginators = __webpack_require__(14005)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Glue;
-
-
-/***/ }),
-
-/***/ 51050:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['grafana'] = {};
-AWS.Grafana = Service.defineService('grafana', ['2020-08-18']);
-Object.defineProperty(apiLoader.services['grafana'], '2020-08-18', {
- get: function get() {
- var model = __webpack_require__(1266);
- model.paginators = __webpack_require__(72877)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Grafana;
-
-
-/***/ }),
-
-/***/ 20690:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['greengrass'] = {};
-AWS.Greengrass = Service.defineService('greengrass', ['2017-06-07']);
-Object.defineProperty(apiLoader.services['greengrass'], '2017-06-07', {
- get: function get() {
- var model = __webpack_require__(25031);
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Greengrass;
-
-
-/***/ }),
-
-/***/ 45126:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['greengrassv2'] = {};
-AWS.GreengrassV2 = Service.defineService('greengrassv2', ['2020-11-30']);
-Object.defineProperty(apiLoader.services['greengrassv2'], '2020-11-30', {
- get: function get() {
- var model = __webpack_require__(22710);
- model.paginators = __webpack_require__(94180)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.GreengrassV2;
-
-
-/***/ }),
-
-/***/ 80494:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['groundstation'] = {};
-AWS.GroundStation = Service.defineService('groundstation', ['2019-05-23']);
-Object.defineProperty(apiLoader.services['groundstation'], '2019-05-23', {
- get: function get() {
- var model = __webpack_require__(78309);
- model.paginators = __webpack_require__(76938)/* .pagination */ .o;
- model.waiters = __webpack_require__(44525)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.GroundStation;
-
-
-/***/ }),
-
-/***/ 40755:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['guardduty'] = {};
-AWS.GuardDuty = Service.defineService('guardduty', ['2017-11-28']);
-Object.defineProperty(apiLoader.services['guardduty'], '2017-11-28', {
- get: function get() {
- var model = __webpack_require__(89297);
- model.paginators = __webpack_require__(69484)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.GuardDuty;
-
-
-/***/ }),
-
-/***/ 21834:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['health'] = {};
-AWS.Health = Service.defineService('health', ['2016-08-04']);
-Object.defineProperty(apiLoader.services['health'], '2016-08-04', {
- get: function get() {
- var model = __webpack_require__(48698);
- model.paginators = __webpack_require__(87844)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Health;
-
-
-/***/ }),
-
-/***/ 64254:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['healthlake'] = {};
-AWS.HealthLake = Service.defineService('healthlake', ['2017-07-01']);
-Object.defineProperty(apiLoader.services['healthlake'], '2017-07-01', {
- get: function get() {
- var model = __webpack_require__(78700);
- model.paginators = __webpack_require__(31590)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.HealthLake;
-
-
-/***/ }),
-
-/***/ 38889:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['honeycode'] = {};
-AWS.Honeycode = Service.defineService('honeycode', ['2020-03-01']);
-Object.defineProperty(apiLoader.services['honeycode'], '2020-03-01', {
- get: function get() {
- var model = __webpack_require__(77536);
- model.paginators = __webpack_require__(83349)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Honeycode;
-
-
-/***/ }),
-
-/***/ 50058:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iam'] = {};
-AWS.IAM = Service.defineService('iam', ['2010-05-08']);
-Object.defineProperty(apiLoader.services['iam'], '2010-05-08', {
- get: function get() {
- var model = __webpack_require__(46818);
- model.paginators = __webpack_require__(49015)/* .pagination */ .o;
- model.waiters = __webpack_require__(48986)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IAM;
-
-
-/***/ }),
-
-/***/ 60222:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['identitystore'] = {};
-AWS.IdentityStore = Service.defineService('identitystore', ['2020-06-15']);
-Object.defineProperty(apiLoader.services['identitystore'], '2020-06-15', {
- get: function get() {
- var model = __webpack_require__(14536);
- model.paginators = __webpack_require__(96554)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IdentityStore;
-
-
-/***/ }),
-
-/***/ 57511:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['imagebuilder'] = {};
-AWS.Imagebuilder = Service.defineService('imagebuilder', ['2019-12-02']);
-Object.defineProperty(apiLoader.services['imagebuilder'], '2019-12-02', {
- get: function get() {
- var model = __webpack_require__(79595);
- model.paginators = __webpack_require__(57060)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Imagebuilder;
-
-
-/***/ }),
-
-/***/ 6769:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['importexport'] = {};
-AWS.ImportExport = Service.defineService('importexport', ['2010-06-01']);
-Object.defineProperty(apiLoader.services['importexport'], '2010-06-01', {
- get: function get() {
- var model = __webpack_require__(85415);
- model.paginators = __webpack_require__(60069)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ImportExport;
-
-
-/***/ }),
-
-/***/ 89439:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['inspector'] = {};
-AWS.Inspector = Service.defineService('inspector', ['2015-08-18*', '2016-02-16']);
-Object.defineProperty(apiLoader.services['inspector'], '2016-02-16', {
- get: function get() {
- var model = __webpack_require__(92652);
- model.paginators = __webpack_require__(98432)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Inspector;
-
-
-/***/ }),
-
-/***/ 98650:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['inspector2'] = {};
-AWS.Inspector2 = Service.defineService('inspector2', ['2020-06-08']);
-Object.defineProperty(apiLoader.services['inspector2'], '2020-06-08', {
- get: function get() {
- var model = __webpack_require__(7545);
- model.paginators = __webpack_require__(55254)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Inspector2;
-
-
-/***/ }),
-
-/***/ 84099:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['internetmonitor'] = {};
-AWS.InternetMonitor = Service.defineService('internetmonitor', ['2021-06-03']);
-Object.defineProperty(apiLoader.services['internetmonitor'], '2021-06-03', {
- get: function get() {
- var model = __webpack_require__(69188);
- model.paginators = __webpack_require__(52112)/* .pagination */ .o;
- model.waiters = __webpack_require__(99172)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.InternetMonitor;
-
-
-/***/ }),
-
-/***/ 98392:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iot'] = {};
-AWS.Iot = Service.defineService('iot', ['2015-05-28']);
-Object.defineProperty(apiLoader.services['iot'], '2015-05-28', {
- get: function get() {
- var model = __webpack_require__(47091);
- model.paginators = __webpack_require__(39946)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Iot;
-
-
-/***/ }),
-
-/***/ 39474:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iot1clickdevicesservice'] = {};
-AWS.IoT1ClickDevicesService = Service.defineService('iot1clickdevicesservice', ['2018-05-14']);
-Object.defineProperty(apiLoader.services['iot1clickdevicesservice'], '2018-05-14', {
- get: function get() {
- var model = __webpack_require__(69668);
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoT1ClickDevicesService;
-
-
-/***/ }),
-
-/***/ 4686:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iot1clickprojects'] = {};
-AWS.IoT1ClickProjects = Service.defineService('iot1clickprojects', ['2018-05-14']);
-Object.defineProperty(apiLoader.services['iot1clickprojects'], '2018-05-14', {
- get: function get() {
- var model = __webpack_require__(66389);
- model.paginators = __webpack_require__(42078)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoT1ClickProjects;
-
-
-/***/ }),
-
-/***/ 67409:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotanalytics'] = {};
-AWS.IoTAnalytics = Service.defineService('iotanalytics', ['2017-11-27']);
-Object.defineProperty(apiLoader.services['iotanalytics'], '2017-11-27', {
- get: function get() {
- var model = __webpack_require__(87696);
- model.paginators = __webpack_require__(58536)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTAnalytics;
-
-
-/***/ }),
-
-/***/ 6564:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotdata'] = {};
-AWS.IotData = Service.defineService('iotdata', ['2015-05-28']);
-__webpack_require__(27062);
-Object.defineProperty(apiLoader.services['iotdata'], '2015-05-28', {
- get: function get() {
- var model = __webpack_require__(94126);
- model.paginators = __webpack_require__(6435)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IotData;
-
-
-/***/ }),
-
-/***/ 97569:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotdeviceadvisor'] = {};
-AWS.IotDeviceAdvisor = Service.defineService('iotdeviceadvisor', ['2020-09-18']);
-Object.defineProperty(apiLoader.services['iotdeviceadvisor'], '2020-09-18', {
- get: function get() {
- var model = __webpack_require__(19317);
- model.paginators = __webpack_require__(9465)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IotDeviceAdvisor;
-
-
-/***/ }),
-
-/***/ 88065:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotevents'] = {};
-AWS.IoTEvents = Service.defineService('iotevents', ['2018-07-27']);
-Object.defineProperty(apiLoader.services['iotevents'], '2018-07-27', {
- get: function get() {
- var model = __webpack_require__(55666);
- model.paginators = __webpack_require__(13523)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTEvents;
-
-
-/***/ }),
-
-/***/ 56973:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ioteventsdata'] = {};
-AWS.IoTEventsData = Service.defineService('ioteventsdata', ['2018-10-23']);
-Object.defineProperty(apiLoader.services['ioteventsdata'], '2018-10-23', {
- get: function get() {
- var model = __webpack_require__(14647);
- model.paginators = __webpack_require__(12541)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTEventsData;
-
-
-/***/ }),
-
-/***/ 42513:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotfleethub'] = {};
-AWS.IoTFleetHub = Service.defineService('iotfleethub', ['2020-11-03']);
-Object.defineProperty(apiLoader.services['iotfleethub'], '2020-11-03', {
- get: function get() {
- var model = __webpack_require__(53518);
- model.paginators = __webpack_require__(90350)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTFleetHub;
-
-
-/***/ }),
-
-/***/ 94329:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotfleetwise'] = {};
-AWS.IoTFleetWise = Service.defineService('iotfleetwise', ['2021-06-17']);
-Object.defineProperty(apiLoader.services['iotfleetwise'], '2021-06-17', {
- get: function get() {
- var model = __webpack_require__(71934);
- model.paginators = __webpack_require__(88597)/* .pagination */ .o;
- model.waiters = __webpack_require__(78067)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTFleetWise;
-
-
-/***/ }),
-
-/***/ 42332:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotjobsdataplane'] = {};
-AWS.IoTJobsDataPlane = Service.defineService('iotjobsdataplane', ['2017-09-29']);
-Object.defineProperty(apiLoader.services['iotjobsdataplane'], '2017-09-29', {
- get: function get() {
- var model = __webpack_require__(27052);
- model.paginators = __webpack_require__(87653)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTJobsDataPlane;
-
-
-/***/ }),
-
-/***/ 22163:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotroborunner'] = {};
-AWS.IoTRoboRunner = Service.defineService('iotroborunner', ['2018-05-10']);
-Object.defineProperty(apiLoader.services['iotroborunner'], '2018-05-10', {
- get: function get() {
- var model = __webpack_require__(88062);
- model.paginators = __webpack_require__(22288)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTRoboRunner;
-
-
-/***/ }),
-
-/***/ 98562:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotsecuretunneling'] = {};
-AWS.IoTSecureTunneling = Service.defineService('iotsecuretunneling', ['2018-10-05']);
-Object.defineProperty(apiLoader.services['iotsecuretunneling'], '2018-10-05', {
- get: function get() {
- var model = __webpack_require__(47810);
- model.paginators = __webpack_require__(16978)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTSecureTunneling;
-
-
-/***/ }),
-
-/***/ 89690:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotsitewise'] = {};
-AWS.IoTSiteWise = Service.defineService('iotsitewise', ['2019-12-02']);
-Object.defineProperty(apiLoader.services['iotsitewise'], '2019-12-02', {
- get: function get() {
- var model = __webpack_require__(94166);
- model.paginators = __webpack_require__(81755)/* .pagination */ .o;
- model.waiters = __webpack_require__(4197)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTSiteWise;
-
-
-/***/ }),
-
-/***/ 58905:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotthingsgraph'] = {};
-AWS.IoTThingsGraph = Service.defineService('iotthingsgraph', ['2018-09-06']);
-Object.defineProperty(apiLoader.services['iotthingsgraph'], '2018-09-06', {
- get: function get() {
- var model = __webpack_require__(6038);
- model.paginators = __webpack_require__(91296)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTThingsGraph;
-
-
-/***/ }),
-
-/***/ 65010:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iottwinmaker'] = {};
-AWS.IoTTwinMaker = Service.defineService('iottwinmaker', ['2021-11-29']);
-Object.defineProperty(apiLoader.services['iottwinmaker'], '2021-11-29', {
- get: function get() {
- var model = __webpack_require__(46721);
- model.paginators = __webpack_require__(18823)/* .pagination */ .o;
- model.waiters = __webpack_require__(2950)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTTwinMaker;
-
-
-/***/ }),
-
-/***/ 8226:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['iotwireless'] = {};
-AWS.IoTWireless = Service.defineService('iotwireless', ['2020-11-22']);
-Object.defineProperty(apiLoader.services['iotwireless'], '2020-11-22', {
- get: function get() {
- var model = __webpack_require__(44396);
- model.paginators = __webpack_require__(31164)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IoTWireless;
-
-
-/***/ }),
-
-/***/ 67701:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ivs'] = {};
-AWS.IVS = Service.defineService('ivs', ['2020-07-14']);
-Object.defineProperty(apiLoader.services['ivs'], '2020-07-14', {
- get: function get() {
- var model = __webpack_require__(41816);
- model.paginators = __webpack_require__(38184)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IVS;
-
-
-/***/ }),
-
-/***/ 17077:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ivschat'] = {};
-AWS.Ivschat = Service.defineService('ivschat', ['2020-07-14']);
-Object.defineProperty(apiLoader.services['ivschat'], '2020-07-14', {
- get: function get() {
- var model = __webpack_require__(70907);
- model.paginators = __webpack_require__(14120)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Ivschat;
-
-
-/***/ }),
-
-/***/ 51946:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ivsrealtime'] = {};
-AWS.IVSRealTime = Service.defineService('ivsrealtime', ['2020-07-14']);
-Object.defineProperty(apiLoader.services['ivsrealtime'], '2020-07-14', {
- get: function get() {
- var model = __webpack_require__(66206);
- model.paginators = __webpack_require__(26212)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.IVSRealTime;
-
-
-/***/ }),
-
-/***/ 56775:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kafka'] = {};
-AWS.Kafka = Service.defineService('kafka', ['2018-11-14']);
-Object.defineProperty(apiLoader.services['kafka'], '2018-11-14', {
- get: function get() {
- var model = __webpack_require__(52315);
- model.paginators = __webpack_require__(71066)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Kafka;
-
-
-/***/ }),
-
-/***/ 61879:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kafkaconnect'] = {};
-AWS.KafkaConnect = Service.defineService('kafkaconnect', ['2021-09-14']);
-Object.defineProperty(apiLoader.services['kafkaconnect'], '2021-09-14', {
- get: function get() {
- var model = __webpack_require__(37421);
- model.paginators = __webpack_require__(67736)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.KafkaConnect;
-
-
-/***/ }),
-
-/***/ 66122:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kendra'] = {};
-AWS.Kendra = Service.defineService('kendra', ['2019-02-03']);
-Object.defineProperty(apiLoader.services['kendra'], '2019-02-03', {
- get: function get() {
- var model = __webpack_require__(61785);
- model.paginators = __webpack_require__(31633)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Kendra;
-
-
-/***/ }),
-
-/***/ 46255:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kendraranking'] = {};
-AWS.KendraRanking = Service.defineService('kendraranking', ['2022-10-19']);
-Object.defineProperty(apiLoader.services['kendraranking'], '2022-10-19', {
- get: function get() {
- var model = __webpack_require__(76446);
- model.paginators = __webpack_require__(29802)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.KendraRanking;
-
-
-/***/ }),
-
-/***/ 24789:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['keyspaces'] = {};
-AWS.Keyspaces = Service.defineService('keyspaces', ['2022-02-10']);
-Object.defineProperty(apiLoader.services['keyspaces'], '2022-02-10', {
- get: function get() {
- var model = __webpack_require__(52836);
- model.paginators = __webpack_require__(39387)/* .pagination */ .o;
- model.waiters = __webpack_require__(86799)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Keyspaces;
-
-
-/***/ }),
-
-/***/ 49876:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kinesis'] = {};
-AWS.Kinesis = Service.defineService('kinesis', ['2013-12-02']);
-Object.defineProperty(apiLoader.services['kinesis'], '2013-12-02', {
- get: function get() {
- var model = __webpack_require__(74556);
- model.paginators = __webpack_require__(38540)/* .pagination */ .o;
- model.waiters = __webpack_require__(80745)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Kinesis;
-
-
-/***/ }),
-
-/***/ 90042:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kinesisanalytics'] = {};
-AWS.KinesisAnalytics = Service.defineService('kinesisanalytics', ['2015-08-14']);
-Object.defineProperty(apiLoader.services['kinesisanalytics'], '2015-08-14', {
- get: function get() {
- var model = __webpack_require__(91105);
- model.paginators = __webpack_require__(18363)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.KinesisAnalytics;
-
-
-/***/ }),
-
-/***/ 74631:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kinesisanalyticsv2'] = {};
-AWS.KinesisAnalyticsV2 = Service.defineService('kinesisanalyticsv2', ['2018-05-23']);
-Object.defineProperty(apiLoader.services['kinesisanalyticsv2'], '2018-05-23', {
- get: function get() {
- var model = __webpack_require__(70128);
- model.paginators = __webpack_require__(6842)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.KinesisAnalyticsV2;
-
-
-/***/ }),
-
-/***/ 89927:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kinesisvideo'] = {};
-AWS.KinesisVideo = Service.defineService('kinesisvideo', ['2017-09-30']);
-Object.defineProperty(apiLoader.services['kinesisvideo'], '2017-09-30', {
- get: function get() {
- var model = __webpack_require__(28189);
- model.paginators = __webpack_require__(15191)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.KinesisVideo;
-
-
-/***/ }),
-
-/***/ 5580:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kinesisvideoarchivedmedia'] = {};
-AWS.KinesisVideoArchivedMedia = Service.defineService('kinesisvideoarchivedmedia', ['2017-09-30']);
-Object.defineProperty(apiLoader.services['kinesisvideoarchivedmedia'], '2017-09-30', {
- get: function get() {
- var model = __webpack_require__(64288);
- model.paginators = __webpack_require__(78514)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.KinesisVideoArchivedMedia;
-
-
-/***/ }),
-
-/***/ 81308:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kinesisvideomedia'] = {};
-AWS.KinesisVideoMedia = Service.defineService('kinesisvideomedia', ['2017-09-30']);
-Object.defineProperty(apiLoader.services['kinesisvideomedia'], '2017-09-30', {
- get: function get() {
- var model = __webpack_require__(97818);
- model.paginators = __webpack_require__(16923)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.KinesisVideoMedia;
-
-
-/***/ }),
-
-/***/ 12710:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kinesisvideosignalingchannels'] = {};
-AWS.KinesisVideoSignalingChannels = Service.defineService('kinesisvideosignalingchannels', ['2019-12-04']);
-Object.defineProperty(apiLoader.services['kinesisvideosignalingchannels'], '2019-12-04', {
- get: function get() {
- var model = __webpack_require__(58849);
- model.paginators = __webpack_require__(10473)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.KinesisVideoSignalingChannels;
-
-
-/***/ }),
-
-/***/ 52642:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kinesisvideowebrtcstorage'] = {};
-AWS.KinesisVideoWebRTCStorage = Service.defineService('kinesisvideowebrtcstorage', ['2018-05-10']);
-Object.defineProperty(apiLoader.services['kinesisvideowebrtcstorage'], '2018-05-10', {
- get: function get() {
- var model = __webpack_require__(32334);
- model.paginators = __webpack_require__(26530)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.KinesisVideoWebRTCStorage;
-
-
-/***/ }),
-
-/***/ 56782:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['kms'] = {};
-AWS.KMS = Service.defineService('kms', ['2014-11-01']);
-Object.defineProperty(apiLoader.services['kms'], '2014-11-01', {
- get: function get() {
- var model = __webpack_require__(60611);
- model.paginators = __webpack_require__(97690)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.KMS;
-
-
-/***/ }),
-
-/***/ 6726:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['lakeformation'] = {};
-AWS.LakeFormation = Service.defineService('lakeformation', ['2017-03-31']);
-Object.defineProperty(apiLoader.services['lakeformation'], '2017-03-31', {
- get: function get() {
- var model = __webpack_require__(65408);
- model.paginators = __webpack_require__(89923)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.LakeFormation;
-
-
-/***/ }),
-
-/***/ 13321:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['lambda'] = {};
-AWS.Lambda = Service.defineService('lambda', ['2014-11-11', '2015-03-31']);
-__webpack_require__(8452);
-Object.defineProperty(apiLoader.services['lambda'], '2014-11-11', {
- get: function get() {
- var model = __webpack_require__(63935);
- model.paginators = __webpack_require__(86208)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['lambda'], '2015-03-31', {
- get: function get() {
- var model = __webpack_require__(50409);
- model.paginators = __webpack_require__(98920)/* .pagination */ .o;
- model.waiters = __webpack_require__(37582)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Lambda;
-
-
-/***/ }),
-
-/***/ 37397:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['lexmodelbuildingservice'] = {};
-AWS.LexModelBuildingService = Service.defineService('lexmodelbuildingservice', ['2017-04-19']);
-Object.defineProperty(apiLoader.services['lexmodelbuildingservice'], '2017-04-19', {
- get: function get() {
- var model = __webpack_require__(57942);
- model.paginators = __webpack_require__(34148)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.LexModelBuildingService;
-
-
-/***/ }),
-
-/***/ 27254:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['lexmodelsv2'] = {};
-AWS.LexModelsV2 = Service.defineService('lexmodelsv2', ['2020-08-07']);
-Object.defineProperty(apiLoader.services['lexmodelsv2'], '2020-08-07', {
- get: function get() {
- var model = __webpack_require__(28033);
- model.paginators = __webpack_require__(20751)/* .pagination */ .o;
- model.waiters = __webpack_require__(78897)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.LexModelsV2;
-
-
-/***/ }),
-
-/***/ 62716:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['lexruntime'] = {};
-AWS.LexRuntime = Service.defineService('lexruntime', ['2016-11-28']);
-Object.defineProperty(apiLoader.services['lexruntime'], '2016-11-28', {
- get: function get() {
- var model = __webpack_require__(28098);
- model.paginators = __webpack_require__(17108)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.LexRuntime;
-
-
-/***/ }),
-
-/***/ 33855:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['lexruntimev2'] = {};
-AWS.LexRuntimeV2 = Service.defineService('lexruntimev2', ['2020-08-07']);
-Object.defineProperty(apiLoader.services['lexruntimev2'], '2020-08-07', {
- get: function get() {
- var model = __webpack_require__(72007);
- model.paginators = __webpack_require__(88199)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.LexRuntimeV2;
-
-
-/***/ }),
-
-/***/ 34693:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['licensemanager'] = {};
-AWS.LicenseManager = Service.defineService('licensemanager', ['2018-08-01']);
-Object.defineProperty(apiLoader.services['licensemanager'], '2018-08-01', {
- get: function get() {
- var model = __webpack_require__(58445);
- model.paginators = __webpack_require__(73736)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.LicenseManager;
-
-
-/***/ }),
-
-/***/ 52687:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['licensemanagerlinuxsubscriptions'] = {};
-AWS.LicenseManagerLinuxSubscriptions = Service.defineService('licensemanagerlinuxsubscriptions', ['2018-05-10']);
-Object.defineProperty(apiLoader.services['licensemanagerlinuxsubscriptions'], '2018-05-10', {
- get: function get() {
- var model = __webpack_require__(18889);
- model.paginators = __webpack_require__(81840)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.LicenseManagerLinuxSubscriptions;
-
-
-/***/ }),
-
-/***/ 37725:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['licensemanagerusersubscriptions'] = {};
-AWS.LicenseManagerUserSubscriptions = Service.defineService('licensemanagerusersubscriptions', ['2018-05-10']);
-Object.defineProperty(apiLoader.services['licensemanagerusersubscriptions'], '2018-05-10', {
- get: function get() {
- var model = __webpack_require__(89032);
- model.paginators = __webpack_require__(71211)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.LicenseManagerUserSubscriptions;
-
-
-/***/ }),
-
-/***/ 22718:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['lightsail'] = {};
-AWS.Lightsail = Service.defineService('lightsail', ['2016-11-28']);
-Object.defineProperty(apiLoader.services['lightsail'], '2016-11-28', {
- get: function get() {
- var model = __webpack_require__(59034);
- model.paginators = __webpack_require__(96768)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Lightsail;
-
-
-/***/ }),
-
-/***/ 44594:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['location'] = {};
-AWS.Location = Service.defineService('location', ['2020-11-19']);
-Object.defineProperty(apiLoader.services['location'], '2020-11-19', {
- get: function get() {
- var model = __webpack_require__(77371);
- model.paginators = __webpack_require__(23890)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Location;
-
-
-/***/ }),
-
-/***/ 21843:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['lookoutequipment'] = {};
-AWS.LookoutEquipment = Service.defineService('lookoutequipment', ['2020-12-15']);
-Object.defineProperty(apiLoader.services['lookoutequipment'], '2020-12-15', {
- get: function get() {
- var model = __webpack_require__(31015);
- model.paginators = __webpack_require__(93065)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.LookoutEquipment;
-
-
-/***/ }),
-
-/***/ 78708:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['lookoutmetrics'] = {};
-AWS.LookoutMetrics = Service.defineService('lookoutmetrics', ['2017-07-25']);
-Object.defineProperty(apiLoader.services['lookoutmetrics'], '2017-07-25', {
- get: function get() {
- var model = __webpack_require__(99604);
- model.paginators = __webpack_require__(86272)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.LookoutMetrics;
-
-
-/***/ }),
-
-/***/ 65046:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['lookoutvision'] = {};
-AWS.LookoutVision = Service.defineService('lookoutvision', ['2020-11-20']);
-Object.defineProperty(apiLoader.services['lookoutvision'], '2020-11-20', {
- get: function get() {
- var model = __webpack_require__(43317);
- model.paginators = __webpack_require__(34273)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.LookoutVision;
-
-
-/***/ }),
-
-/***/ 22482:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['m2'] = {};
-AWS.M2 = Service.defineService('m2', ['2021-04-28']);
-Object.defineProperty(apiLoader.services['m2'], '2021-04-28', {
- get: function get() {
- var model = __webpack_require__(23833);
- model.paginators = __webpack_require__(63444)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.M2;
-
-
-/***/ }),
-
-/***/ 82907:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['machinelearning'] = {};
-AWS.MachineLearning = Service.defineService('machinelearning', ['2014-12-12']);
-__webpack_require__(19174);
-Object.defineProperty(apiLoader.services['machinelearning'], '2014-12-12', {
- get: function get() {
- var model = __webpack_require__(41946);
- model.paginators = __webpack_require__(11688)/* .pagination */ .o;
- model.waiters = __webpack_require__(92349)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MachineLearning;
-
-
-/***/ }),
-
-/***/ 86427:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['macie'] = {};
-AWS.Macie = Service.defineService('macie', ['2017-12-19']);
-Object.defineProperty(apiLoader.services['macie'], '2017-12-19', {
- get: function get() {
- var model = __webpack_require__(27101);
- model.paginators = __webpack_require__(9057)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Macie;
-
-
-/***/ }),
-
-/***/ 57330:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['macie2'] = {};
-AWS.Macie2 = Service.defineService('macie2', ['2020-01-01']);
-Object.defineProperty(apiLoader.services['macie2'], '2020-01-01', {
- get: function get() {
- var model = __webpack_require__(27105);
- model.paginators = __webpack_require__(93284)/* .pagination */ .o;
- model.waiters = __webpack_require__(70582)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Macie2;
-
-
-/***/ }),
-
-/***/ 85143:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['managedblockchain'] = {};
-AWS.ManagedBlockchain = Service.defineService('managedblockchain', ['2018-09-24']);
-Object.defineProperty(apiLoader.services['managedblockchain'], '2018-09-24', {
- get: function get() {
- var model = __webpack_require__(70690);
- model.paginators = __webpack_require__(45932)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ManagedBlockchain;
-
-
-/***/ }),
-
-/***/ 2609:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['marketplacecatalog'] = {};
-AWS.MarketplaceCatalog = Service.defineService('marketplacecatalog', ['2018-09-17']);
-Object.defineProperty(apiLoader.services['marketplacecatalog'], '2018-09-17', {
- get: function get() {
- var model = __webpack_require__(15560);
- model.paginators = __webpack_require__(23129)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MarketplaceCatalog;
-
-
-/***/ }),
-
-/***/ 4540:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['marketplacecommerceanalytics'] = {};
-AWS.MarketplaceCommerceAnalytics = Service.defineService('marketplacecommerceanalytics', ['2015-07-01']);
-Object.defineProperty(apiLoader.services['marketplacecommerceanalytics'], '2015-07-01', {
- get: function get() {
- var model = __webpack_require__(30768);
- model.paginators = __webpack_require__(88266)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MarketplaceCommerceAnalytics;
-
-
-/***/ }),
-
-/***/ 53707:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['marketplaceentitlementservice'] = {};
-AWS.MarketplaceEntitlementService = Service.defineService('marketplaceentitlementservice', ['2017-01-11']);
-Object.defineProperty(apiLoader.services['marketplaceentitlementservice'], '2017-01-11', {
- get: function get() {
- var model = __webpack_require__(23864);
- model.paginators = __webpack_require__(98218)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MarketplaceEntitlementService;
-
-
-/***/ }),
-
-/***/ 39297:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['marketplacemetering'] = {};
-AWS.MarketplaceMetering = Service.defineService('marketplacemetering', ['2016-01-14']);
-Object.defineProperty(apiLoader.services['marketplacemetering'], '2016-01-14', {
- get: function get() {
- var model = __webpack_require__(150);
- model.paginators = __webpack_require__(34742)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MarketplaceMetering;
-
-
-/***/ }),
-
-/***/ 67639:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mediaconnect'] = {};
-AWS.MediaConnect = Service.defineService('mediaconnect', ['2018-11-14']);
-Object.defineProperty(apiLoader.services['mediaconnect'], '2018-11-14', {
- get: function get() {
- var model = __webpack_require__(38828);
- model.paginators = __webpack_require__(52701)/* .pagination */ .o;
- model.waiters = __webpack_require__(69547)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MediaConnect;
-
-
-/***/ }),
-
-/***/ 57220:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mediaconvert'] = {};
-AWS.MediaConvert = Service.defineService('mediaconvert', ['2017-08-29']);
-Object.defineProperty(apiLoader.services['mediaconvert'], '2017-08-29', {
- get: function get() {
- var model = __webpack_require__(95103);
- model.paginators = __webpack_require__(12236)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MediaConvert;
-
-
-/***/ }),
-
-/***/ 7509:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['medialive'] = {};
-AWS.MediaLive = Service.defineService('medialive', ['2017-10-14']);
-Object.defineProperty(apiLoader.services['medialive'], '2017-10-14', {
- get: function get() {
- var model = __webpack_require__(71020);
- model.paginators = __webpack_require__(45939)/* .pagination */ .o;
- model.waiters = __webpack_require__(77702)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MediaLive;
-
-
-/***/ }),
-
-/***/ 91620:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mediapackage'] = {};
-AWS.MediaPackage = Service.defineService('mediapackage', ['2017-10-12']);
-Object.defineProperty(apiLoader.services['mediapackage'], '2017-10-12', {
- get: function get() {
- var model = __webpack_require__(3524);
- model.paginators = __webpack_require__(28168)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MediaPackage;
-
-
-/***/ }),
-
-/***/ 14962:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mediapackagevod'] = {};
-AWS.MediaPackageVod = Service.defineService('mediapackagevod', ['2018-11-07']);
-Object.defineProperty(apiLoader.services['mediapackagevod'], '2018-11-07', {
- get: function get() {
- var model = __webpack_require__(62182);
- model.paginators = __webpack_require__(9108)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MediaPackageVod;
-
-
-/***/ }),
-
-/***/ 83748:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mediastore'] = {};
-AWS.MediaStore = Service.defineService('mediastore', ['2017-09-01']);
-Object.defineProperty(apiLoader.services['mediastore'], '2017-09-01', {
- get: function get() {
- var model = __webpack_require__(86331);
- model.paginators = __webpack_require__(85011)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MediaStore;
-
-
-/***/ }),
-
-/***/ 98703:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mediastoredata'] = {};
-AWS.MediaStoreData = Service.defineService('mediastoredata', ['2017-09-01']);
-Object.defineProperty(apiLoader.services['mediastoredata'], '2017-09-01', {
- get: function get() {
- var model = __webpack_require__(78855);
- model.paginators = __webpack_require__(12340)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MediaStoreData;
-
-
-/***/ }),
-
-/***/ 99658:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mediatailor'] = {};
-AWS.MediaTailor = Service.defineService('mediatailor', ['2018-04-23']);
-Object.defineProperty(apiLoader.services['mediatailor'], '2018-04-23', {
- get: function get() {
- var model = __webpack_require__(32863);
- model.paginators = __webpack_require__(76134)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MediaTailor;
-
-
-/***/ }),
-
-/***/ 50782:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['memorydb'] = {};
-AWS.MemoryDB = Service.defineService('memorydb', ['2021-01-01']);
-Object.defineProperty(apiLoader.services['memorydb'], '2021-01-01', {
- get: function get() {
- var model = __webpack_require__(64138);
- model.paginators = __webpack_require__(50497)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MemoryDB;
-
-
-/***/ }),
-
-/***/ 41339:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mgn'] = {};
-AWS.Mgn = Service.defineService('mgn', ['2020-02-26']);
-Object.defineProperty(apiLoader.services['mgn'], '2020-02-26', {
- get: function get() {
- var model = __webpack_require__(96297);
- model.paginators = __webpack_require__(36566)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Mgn;
-
-
-/***/ }),
-
-/***/ 14688:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['migrationhub'] = {};
-AWS.MigrationHub = Service.defineService('migrationhub', ['2017-05-31']);
-Object.defineProperty(apiLoader.services['migrationhub'], '2017-05-31', {
- get: function get() {
- var model = __webpack_require__(51639);
- model.paginators = __webpack_require__(63013)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MigrationHub;
-
-
-/***/ }),
-
-/***/ 62658:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['migrationhubconfig'] = {};
-AWS.MigrationHubConfig = Service.defineService('migrationhubconfig', ['2019-06-30']);
-Object.defineProperty(apiLoader.services['migrationhubconfig'], '2019-06-30', {
- get: function get() {
- var model = __webpack_require__(89101);
- model.paginators = __webpack_require__(59977)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MigrationHubConfig;
-
-
-/***/ }),
-
-/***/ 66120:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['migrationhuborchestrator'] = {};
-AWS.MigrationHubOrchestrator = Service.defineService('migrationhuborchestrator', ['2021-08-28']);
-Object.defineProperty(apiLoader.services['migrationhuborchestrator'], '2021-08-28', {
- get: function get() {
- var model = __webpack_require__(47212);
- model.paginators = __webpack_require__(65613)/* .pagination */ .o;
- model.waiters = __webpack_require__(76842)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MigrationHubOrchestrator;
-
-
-/***/ }),
-
-/***/ 2925:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['migrationhubrefactorspaces'] = {};
-AWS.MigrationHubRefactorSpaces = Service.defineService('migrationhubrefactorspaces', ['2021-10-26']);
-Object.defineProperty(apiLoader.services['migrationhubrefactorspaces'], '2021-10-26', {
- get: function get() {
- var model = __webpack_require__(17685);
- model.paginators = __webpack_require__(38574)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MigrationHubRefactorSpaces;
-
-
-/***/ }),
-
-/***/ 96533:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['migrationhubstrategy'] = {};
-AWS.MigrationHubStrategy = Service.defineService('migrationhubstrategy', ['2020-02-19']);
-Object.defineProperty(apiLoader.services['migrationhubstrategy'], '2020-02-19', {
- get: function get() {
- var model = __webpack_require__(42549);
- model.paginators = __webpack_require__(37439)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MigrationHubStrategy;
-
-
-/***/ }),
-
-/***/ 39782:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mobile'] = {};
-AWS.Mobile = Service.defineService('mobile', ['2017-07-01']);
-Object.defineProperty(apiLoader.services['mobile'], '2017-07-01', {
- get: function get() {
- var model = __webpack_require__(44027);
- model.paginators = __webpack_require__(81940)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Mobile;
-
-
-/***/ }),
-
-/***/ 66690:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mobileanalytics'] = {};
-AWS.MobileAnalytics = Service.defineService('mobileanalytics', ['2014-06-05']);
-Object.defineProperty(apiLoader.services['mobileanalytics'], '2014-06-05', {
- get: function get() {
- var model = __webpack_require__(40634);
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MobileAnalytics;
-
-
-/***/ }),
-
-/***/ 23093:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mq'] = {};
-AWS.MQ = Service.defineService('mq', ['2017-11-27']);
-Object.defineProperty(apiLoader.services['mq'], '2017-11-27', {
- get: function get() {
- var model = __webpack_require__(73219);
- model.paginators = __webpack_require__(59835)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MQ;
-
-
-/***/ }),
-
-/***/ 79954:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mturk'] = {};
-AWS.MTurk = Service.defineService('mturk', ['2017-01-17']);
-Object.defineProperty(apiLoader.services['mturk'], '2017-01-17', {
- get: function get() {
- var model = __webpack_require__(55676);
- model.paginators = __webpack_require__(51396)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MTurk;
-
-
-/***/ }),
-
-/***/ 32712:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['mwaa'] = {};
-AWS.MWAA = Service.defineService('mwaa', ['2020-07-01']);
-Object.defineProperty(apiLoader.services['mwaa'], '2020-07-01', {
- get: function get() {
- var model = __webpack_require__(3499);
- model.paginators = __webpack_require__(30606)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.MWAA;
-
-
-/***/ }),
-
-/***/ 30047:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['neptune'] = {};
-AWS.Neptune = Service.defineService('neptune', ['2014-10-31']);
-__webpack_require__(73090);
-Object.defineProperty(apiLoader.services['neptune'], '2014-10-31', {
- get: function get() {
- var model = __webpack_require__(44749);
- model.paginators = __webpack_require__(36058)/* .pagination */ .o;
- model.waiters = __webpack_require__(83629)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Neptune;
-
-
-/***/ }),
-
-/***/ 84626:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['networkfirewall'] = {};
-AWS.NetworkFirewall = Service.defineService('networkfirewall', ['2020-11-12']);
-Object.defineProperty(apiLoader.services['networkfirewall'], '2020-11-12', {
- get: function get() {
- var model = __webpack_require__(71930);
- model.paginators = __webpack_require__(50334)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.NetworkFirewall;
-
-
-/***/ }),
-
-/***/ 37610:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['networkmanager'] = {};
-AWS.NetworkManager = Service.defineService('networkmanager', ['2019-07-05']);
-Object.defineProperty(apiLoader.services['networkmanager'], '2019-07-05', {
- get: function get() {
- var model = __webpack_require__(11902);
- model.paginators = __webpack_require__(91477)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.NetworkManager;
-
-
-/***/ }),
-
-/***/ 89428:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['nimble'] = {};
-AWS.Nimble = Service.defineService('nimble', ['2020-08-01']);
-Object.defineProperty(apiLoader.services['nimble'], '2020-08-01', {
- get: function get() {
- var model = __webpack_require__(95712);
- model.paginators = __webpack_require__(98909)/* .pagination */ .o;
- model.waiters = __webpack_require__(90597)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Nimble;
-
-
-/***/ }),
-
-/***/ 9319:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['oam'] = {};
-AWS.OAM = Service.defineService('oam', ['2022-06-10']);
-Object.defineProperty(apiLoader.services['oam'], '2022-06-10', {
- get: function get() {
- var model = __webpack_require__(28733);
- model.paginators = __webpack_require__(70628)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.OAM;
-
-
-/***/ }),
-
-/***/ 75114:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['omics'] = {};
-AWS.Omics = Service.defineService('omics', ['2022-11-28']);
-Object.defineProperty(apiLoader.services['omics'], '2022-11-28', {
- get: function get() {
- var model = __webpack_require__(51014);
- model.paginators = __webpack_require__(18353)/* .pagination */ .o;
- model.waiters = __webpack_require__(55063)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Omics;
-
-
-/***/ }),
-
-/***/ 60358:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['opensearch'] = {};
-AWS.OpenSearch = Service.defineService('opensearch', ['2021-01-01']);
-Object.defineProperty(apiLoader.services['opensearch'], '2021-01-01', {
- get: function get() {
- var model = __webpack_require__(19949);
- model.paginators = __webpack_require__(55508)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.OpenSearch;
-
-
-/***/ }),
-
-/***/ 86277:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['opensearchserverless'] = {};
-AWS.OpenSearchServerless = Service.defineService('opensearchserverless', ['2021-11-01']);
-Object.defineProperty(apiLoader.services['opensearchserverless'], '2021-11-01', {
- get: function get() {
- var model = __webpack_require__(55308);
- model.paginators = __webpack_require__(19374)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.OpenSearchServerless;
-
-
-/***/ }),
-
-/***/ 75691:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['opsworks'] = {};
-AWS.OpsWorks = Service.defineService('opsworks', ['2013-02-18']);
-Object.defineProperty(apiLoader.services['opsworks'], '2013-02-18', {
- get: function get() {
- var model = __webpack_require__(95315);
- model.paginators = __webpack_require__(63589)/* .pagination */ .o;
- model.waiters = __webpack_require__(8700)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.OpsWorks;
-
-
-/***/ }),
-
-/***/ 80388:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['opsworkscm'] = {};
-AWS.OpsWorksCM = Service.defineService('opsworkscm', ['2016-11-01']);
-Object.defineProperty(apiLoader.services['opsworkscm'], '2016-11-01', {
- get: function get() {
- var model = __webpack_require__(25033);
- model.paginators = __webpack_require__(68422)/* .pagination */ .o;
- model.waiters = __webpack_require__(89353)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.OpsWorksCM;
-
-
-/***/ }),
-
-/***/ 44670:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['organizations'] = {};
-AWS.Organizations = Service.defineService('organizations', ['2016-11-28']);
-Object.defineProperty(apiLoader.services['organizations'], '2016-11-28', {
- get: function get() {
- var model = __webpack_require__(28258);
- model.paginators = __webpack_require__(70916)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Organizations;
-
-
-/***/ }),
-
-/***/ 27551:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['outposts'] = {};
-AWS.Outposts = Service.defineService('outposts', ['2019-12-03']);
-Object.defineProperty(apiLoader.services['outposts'], '2019-12-03', {
- get: function get() {
- var model = __webpack_require__(79304);
- model.paginators = __webpack_require__(91740)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Outposts;
-
-
-/***/ }),
-
-/***/ 20368:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['panorama'] = {};
-AWS.Panorama = Service.defineService('panorama', ['2019-07-24']);
-Object.defineProperty(apiLoader.services['panorama'], '2019-07-24', {
- get: function get() {
- var model = __webpack_require__(11360);
- model.paginators = __webpack_require__(85327)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Panorama;
-
-
-/***/ }),
-
-/***/ 33696:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['personalize'] = {};
-AWS.Personalize = Service.defineService('personalize', ['2018-05-22']);
-Object.defineProperty(apiLoader.services['personalize'], '2018-05-22', {
- get: function get() {
- var model = __webpack_require__(16402);
- model.paginators = __webpack_require__(76828)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Personalize;
-
-
-/***/ }),
-
-/***/ 88170:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['personalizeevents'] = {};
-AWS.PersonalizeEvents = Service.defineService('personalizeevents', ['2018-03-22']);
-Object.defineProperty(apiLoader.services['personalizeevents'], '2018-03-22', {
- get: function get() {
- var model = __webpack_require__(8792);
- model.paginators = __webpack_require__(52110)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.PersonalizeEvents;
-
-
-/***/ }),
-
-/***/ 66184:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['personalizeruntime'] = {};
-AWS.PersonalizeRuntime = Service.defineService('personalizeruntime', ['2018-05-22']);
-Object.defineProperty(apiLoader.services['personalizeruntime'], '2018-05-22', {
- get: function get() {
- var model = __webpack_require__(86682);
- model.paginators = __webpack_require__(32049)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.PersonalizeRuntime;
-
-
-/***/ }),
-
-/***/ 15505:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['pi'] = {};
-AWS.PI = Service.defineService('pi', ['2018-02-27']);
-Object.defineProperty(apiLoader.services['pi'], '2018-02-27', {
- get: function get() {
- var model = __webpack_require__(38006);
- model.paginators = __webpack_require__(75147)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.PI;
-
-
-/***/ }),
-
-/***/ 18388:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['pinpoint'] = {};
-AWS.Pinpoint = Service.defineService('pinpoint', ['2016-12-01']);
-Object.defineProperty(apiLoader.services['pinpoint'], '2016-12-01', {
- get: function get() {
- var model = __webpack_require__(73536);
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Pinpoint;
-
-
-/***/ }),
-
-/***/ 83060:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['pinpointemail'] = {};
-AWS.PinpointEmail = Service.defineService('pinpointemail', ['2018-07-26']);
-Object.defineProperty(apiLoader.services['pinpointemail'], '2018-07-26', {
- get: function get() {
- var model = __webpack_require__(42680);
- model.paginators = __webpack_require__(58107)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.PinpointEmail;
-
-
-/***/ }),
-
-/***/ 46605:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['pinpointsmsvoice'] = {};
-AWS.PinpointSMSVoice = Service.defineService('pinpointsmsvoice', ['2018-09-05']);
-Object.defineProperty(apiLoader.services['pinpointsmsvoice'], '2018-09-05', {
- get: function get() {
- var model = __webpack_require__(6641);
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.PinpointSMSVoice;
-
-
-/***/ }),
-
-/***/ 478:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['pinpointsmsvoicev2'] = {};
-AWS.PinpointSMSVoiceV2 = Service.defineService('pinpointsmsvoicev2', ['2022-03-31']);
-Object.defineProperty(apiLoader.services['pinpointsmsvoicev2'], '2022-03-31', {
- get: function get() {
- var model = __webpack_require__(53129);
- model.paginators = __webpack_require__(75142)/* .pagination */ .o;
- model.waiters = __webpack_require__(51868)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.PinpointSMSVoiceV2;
-
-
-/***/ }),
-
-/***/ 14220:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['pipes'] = {};
-AWS.Pipes = Service.defineService('pipes', ['2015-10-07']);
-Object.defineProperty(apiLoader.services['pipes'], '2015-10-07', {
- get: function get() {
- var model = __webpack_require__(30885);
- model.paginators = __webpack_require__(89540)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Pipes;
-
-
-/***/ }),
-
-/***/ 97332:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['polly'] = {};
-AWS.Polly = Service.defineService('polly', ['2016-06-10']);
-__webpack_require__(53199);
-Object.defineProperty(apiLoader.services['polly'], '2016-06-10', {
- get: function get() {
- var model = __webpack_require__(58020);
- model.paginators = __webpack_require__(28573)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Polly;
-
-
-/***/ }),
-
-/***/ 92765:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['pricing'] = {};
-AWS.Pricing = Service.defineService('pricing', ['2017-10-15']);
-Object.defineProperty(apiLoader.services['pricing'], '2017-10-15', {
- get: function get() {
- var model = __webpack_require__(19792);
- model.paginators = __webpack_require__(45992)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Pricing;
-
-
-/***/ }),
-
-/***/ 63088:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['privatenetworks'] = {};
-AWS.PrivateNetworks = Service.defineService('privatenetworks', ['2021-12-03']);
-Object.defineProperty(apiLoader.services['privatenetworks'], '2021-12-03', {
- get: function get() {
- var model = __webpack_require__(65807);
- model.paginators = __webpack_require__(89557)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.PrivateNetworks;
-
-
-/***/ }),
-
-/***/ 9275:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['proton'] = {};
-AWS.Proton = Service.defineService('proton', ['2020-07-20']);
-Object.defineProperty(apiLoader.services['proton'], '2020-07-20', {
- get: function get() {
- var model = __webpack_require__(39939);
- model.paginators = __webpack_require__(18911)/* .pagination */ .o;
- model.waiters = __webpack_require__(64)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Proton;
-
-
-/***/ }),
-
-/***/ 71266:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['qldb'] = {};
-AWS.QLDB = Service.defineService('qldb', ['2019-01-02']);
-Object.defineProperty(apiLoader.services['qldb'], '2019-01-02', {
- get: function get() {
- var model = __webpack_require__(52675);
- model.paginators = __webpack_require__(4367)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.QLDB;
-
-
-/***/ }),
-
-/***/ 55423:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['qldbsession'] = {};
-AWS.QLDBSession = Service.defineService('qldbsession', ['2019-07-11']);
-Object.defineProperty(apiLoader.services['qldbsession'], '2019-07-11', {
- get: function get() {
- var model = __webpack_require__(67426);
- model.paginators = __webpack_require__(96527)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.QLDBSession;
-
-
-/***/ }),
-
-/***/ 29898:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['quicksight'] = {};
-AWS.QuickSight = Service.defineService('quicksight', ['2018-04-01']);
-Object.defineProperty(apiLoader.services['quicksight'], '2018-04-01', {
- get: function get() {
- var model = __webpack_require__(6807);
- model.paginators = __webpack_require__(81489)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.QuickSight;
-
-
-/***/ }),
-
-/***/ 94394:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ram'] = {};
-AWS.RAM = Service.defineService('ram', ['2018-01-04']);
-Object.defineProperty(apiLoader.services['ram'], '2018-01-04', {
- get: function get() {
- var model = __webpack_require__(83728);
- model.paginators = __webpack_require__(83147)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.RAM;
-
-
-/***/ }),
-
-/***/ 70145:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['rbin'] = {};
-AWS.Rbin = Service.defineService('rbin', ['2021-06-15']);
-Object.defineProperty(apiLoader.services['rbin'], '2021-06-15', {
- get: function get() {
- var model = __webpack_require__(95122);
- model.paginators = __webpack_require__(28107)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Rbin;
-
-
-/***/ }),
-
-/***/ 71578:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['rds'] = {};
-AWS.RDS = Service.defineService('rds', ['2013-01-10', '2013-02-12', '2013-09-09', '2014-09-01', '2014-09-01*', '2014-10-31']);
-__webpack_require__(71928);
-Object.defineProperty(apiLoader.services['rds'], '2013-01-10', {
- get: function get() {
- var model = __webpack_require__(56144);
- model.paginators = __webpack_require__(76660)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['rds'], '2013-02-12', {
- get: function get() {
- var model = __webpack_require__(15633);
- model.paginators = __webpack_require__(37654)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['rds'], '2013-09-09', {
- get: function get() {
- var model = __webpack_require__(53439);
- model.paginators = __webpack_require__(17223)/* .pagination */ .o;
- model.waiters = __webpack_require__(60967)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['rds'], '2014-09-01', {
- get: function get() {
- var model = __webpack_require__(72333);
- model.paginators = __webpack_require__(86022)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(apiLoader.services['rds'], '2014-10-31', {
- get: function get() {
- var model = __webpack_require__(6210);
- model.paginators = __webpack_require__(60972)/* .pagination */ .o;
- model.waiters = __webpack_require__(6606)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.RDS;
-
-
-/***/ }),
-
-/***/ 30147:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['rdsdataservice'] = {};
-AWS.RDSDataService = Service.defineService('rdsdataservice', ['2018-08-01']);
-__webpack_require__(64070);
-Object.defineProperty(apiLoader.services['rdsdataservice'], '2018-08-01', {
- get: function get() {
- var model = __webpack_require__(4983);
- model.paginators = __webpack_require__(1270)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.RDSDataService;
-
-
-/***/ }),
-
-/***/ 84853:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['redshift'] = {};
-AWS.Redshift = Service.defineService('redshift', ['2012-12-01']);
-Object.defineProperty(apiLoader.services['redshift'], '2012-12-01', {
- get: function get() {
- var model = __webpack_require__(17066);
- model.paginators = __webpack_require__(7755)/* .pagination */ .o;
- model.waiters = __webpack_require__(91400)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Redshift;
-
-
-/***/ }),
-
-/***/ 203:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['redshiftdata'] = {};
-AWS.RedshiftData = Service.defineService('redshiftdata', ['2019-12-20']);
-Object.defineProperty(apiLoader.services['redshiftdata'], '2019-12-20', {
- get: function get() {
- var model = __webpack_require__(34805);
- model.paginators = __webpack_require__(28484)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.RedshiftData;
-
-
-/***/ }),
-
-/***/ 29987:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['redshiftserverless'] = {};
-AWS.RedshiftServerless = Service.defineService('redshiftserverless', ['2021-04-21']);
-Object.defineProperty(apiLoader.services['redshiftserverless'], '2021-04-21', {
- get: function get() {
- var model = __webpack_require__(46395);
- model.paginators = __webpack_require__(97597)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.RedshiftServerless;
-
-
-/***/ }),
-
-/***/ 65470:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['rekognition'] = {};
-AWS.Rekognition = Service.defineService('rekognition', ['2016-06-27']);
-Object.defineProperty(apiLoader.services['rekognition'], '2016-06-27', {
- get: function get() {
- var model = __webpack_require__(65852);
- model.paginators = __webpack_require__(49860)/* .pagination */ .o;
- model.waiters = __webpack_require__(19491)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Rekognition;
-
-
-/***/ }),
-
-/***/ 21173:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['resiliencehub'] = {};
-AWS.Resiliencehub = Service.defineService('resiliencehub', ['2020-04-30']);
-Object.defineProperty(apiLoader.services['resiliencehub'], '2020-04-30', {
- get: function get() {
- var model = __webpack_require__(69249);
- model.paginators = __webpack_require__(56661)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Resiliencehub;
-
-
-/***/ }),
-
-/***/ 74071:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['resourceexplorer2'] = {};
-AWS.ResourceExplorer2 = Service.defineService('resourceexplorer2', ['2022-07-28']);
-Object.defineProperty(apiLoader.services['resourceexplorer2'], '2022-07-28', {
- get: function get() {
- var model = __webpack_require__(40912);
- model.paginators = __webpack_require__(36428)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ResourceExplorer2;
-
-
-/***/ }),
-
-/***/ 58756:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['resourcegroups'] = {};
-AWS.ResourceGroups = Service.defineService('resourcegroups', ['2017-11-27']);
-Object.defineProperty(apiLoader.services['resourcegroups'], '2017-11-27', {
- get: function get() {
- var model = __webpack_require__(28629);
- model.paginators = __webpack_require__(71378)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ResourceGroups;
-
-
-/***/ }),
-
-/***/ 7385:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['resourcegroupstaggingapi'] = {};
-AWS.ResourceGroupsTaggingAPI = Service.defineService('resourcegroupstaggingapi', ['2017-01-26']);
-Object.defineProperty(apiLoader.services['resourcegroupstaggingapi'], '2017-01-26', {
- get: function get() {
- var model = __webpack_require__(83914);
- model.paginators = __webpack_require__(64865)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ResourceGroupsTaggingAPI;
-
-
-/***/ }),
-
-/***/ 18068:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['robomaker'] = {};
-AWS.RoboMaker = Service.defineService('robomaker', ['2018-06-29']);
-Object.defineProperty(apiLoader.services['robomaker'], '2018-06-29', {
- get: function get() {
- var model = __webpack_require__(36854);
- model.paginators = __webpack_require__(52592)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.RoboMaker;
-
-
-/***/ }),
-
-/***/ 83604:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['rolesanywhere'] = {};
-AWS.RolesAnywhere = Service.defineService('rolesanywhere', ['2018-05-10']);
-Object.defineProperty(apiLoader.services['rolesanywhere'], '2018-05-10', {
- get: function get() {
- var model = __webpack_require__(58275);
- model.paginators = __webpack_require__(67346)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.RolesAnywhere;
-
-
-/***/ }),
-
-/***/ 44968:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['route53'] = {};
-AWS.Route53 = Service.defineService('route53', ['2013-04-01']);
-__webpack_require__(69627);
-Object.defineProperty(apiLoader.services['route53'], '2013-04-01', {
- get: function get() {
- var model = __webpack_require__(91499);
- model.paginators = __webpack_require__(54519)/* .pagination */ .o;
- model.waiters = __webpack_require__(4628)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Route53;
-
-
-/***/ }),
-
-/***/ 51994:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['route53domains'] = {};
-AWS.Route53Domains = Service.defineService('route53domains', ['2014-05-15']);
-Object.defineProperty(apiLoader.services['route53domains'], '2014-05-15', {
- get: function get() {
- var model = __webpack_require__(6535);
- model.paginators = __webpack_require__(26777)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Route53Domains;
-
-
-/***/ }),
-
-/***/ 35738:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['route53recoverycluster'] = {};
-AWS.Route53RecoveryCluster = Service.defineService('route53recoverycluster', ['2019-12-02']);
-Object.defineProperty(apiLoader.services['route53recoverycluster'], '2019-12-02', {
- get: function get() {
- var model = __webpack_require__(77257);
- model.paginators = __webpack_require__(33426)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Route53RecoveryCluster;
-
-
-/***/ }),
-
-/***/ 16063:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['route53recoverycontrolconfig'] = {};
-AWS.Route53RecoveryControlConfig = Service.defineService('route53recoverycontrolconfig', ['2020-11-02']);
-Object.defineProperty(apiLoader.services['route53recoverycontrolconfig'], '2020-11-02', {
- get: function get() {
- var model = __webpack_require__(29886);
- model.paginators = __webpack_require__(43116)/* .pagination */ .o;
- model.waiters = __webpack_require__(79230)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Route53RecoveryControlConfig;
-
-
-/***/ }),
-
-/***/ 79106:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['route53recoveryreadiness'] = {};
-AWS.Route53RecoveryReadiness = Service.defineService('route53recoveryreadiness', ['2019-12-02']);
-Object.defineProperty(apiLoader.services['route53recoveryreadiness'], '2019-12-02', {
- get: function get() {
- var model = __webpack_require__(41608);
- model.paginators = __webpack_require__(70416)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Route53RecoveryReadiness;
-
-
-/***/ }),
-
-/***/ 25894:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['route53resolver'] = {};
-AWS.Route53Resolver = Service.defineService('route53resolver', ['2018-04-01']);
-Object.defineProperty(apiLoader.services['route53resolver'], '2018-04-01', {
- get: function get() {
- var model = __webpack_require__(99309);
- model.paginators = __webpack_require__(21261)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Route53Resolver;
-
-
-/***/ }),
-
-/***/ 53237:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['rum'] = {};
-AWS.RUM = Service.defineService('rum', ['2018-05-10']);
-Object.defineProperty(apiLoader.services['rum'], '2018-05-10', {
- get: function get() {
- var model = __webpack_require__(22298);
- model.paginators = __webpack_require__(67053)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.RUM;
-
-
-/***/ }),
-
-/***/ 83256:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['s3'] = {};
-AWS.S3 = Service.defineService('s3', ['2006-03-01']);
-__webpack_require__(26543);
-Object.defineProperty(apiLoader.services['s3'], '2006-03-01', {
- get: function get() {
- var model = __webpack_require__(32581);
- model.paginators = __webpack_require__(53175)/* .pagination */ .o;
- model.waiters = __webpack_require__(44494)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.S3;
-
-
-/***/ }),
-
-/***/ 99817:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['s3control'] = {};
-AWS.S3Control = Service.defineService('s3control', ['2018-08-20']);
-__webpack_require__(71207);
-Object.defineProperty(apiLoader.services['s3control'], '2018-08-20', {
- get: function get() {
- var model = __webpack_require__(52092);
- model.paginators = __webpack_require__(62498)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.S3Control;
-
-
-/***/ }),
-
-/***/ 90493:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['s3outposts'] = {};
-AWS.S3Outposts = Service.defineService('s3outposts', ['2017-07-25']);
-Object.defineProperty(apiLoader.services['s3outposts'], '2017-07-25', {
- get: function get() {
- var model = __webpack_require__(90331);
- model.paginators = __webpack_require__(8746)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.S3Outposts;
-
-
-/***/ }),
-
-/***/ 77657:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sagemaker'] = {};
-AWS.SageMaker = Service.defineService('sagemaker', ['2017-07-24']);
-Object.defineProperty(apiLoader.services['sagemaker'], '2017-07-24', {
- get: function get() {
- var model = __webpack_require__(20227);
- model.paginators = __webpack_require__(44955)/* .pagination */ .o;
- model.waiters = __webpack_require__(50026)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SageMaker;
-
-
-/***/ }),
-
-/***/ 38966:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sagemakeredge'] = {};
-AWS.SagemakerEdge = Service.defineService('sagemakeredge', ['2020-09-23']);
-Object.defineProperty(apiLoader.services['sagemakeredge'], '2020-09-23', {
- get: function get() {
- var model = __webpack_require__(48750);
- model.paginators = __webpack_require__(2769)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SagemakerEdge;
-
-
-/***/ }),
-
-/***/ 67644:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sagemakerfeaturestoreruntime'] = {};
-AWS.SageMakerFeatureStoreRuntime = Service.defineService('sagemakerfeaturestoreruntime', ['2020-07-01']);
-Object.defineProperty(apiLoader.services['sagemakerfeaturestoreruntime'], '2020-07-01', {
- get: function get() {
- var model = __webpack_require__(98420);
- model.paginators = __webpack_require__(45590)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SageMakerFeatureStoreRuntime;
-
-
-/***/ }),
-
-/***/ 4707:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sagemakergeospatial'] = {};
-AWS.SageMakerGeospatial = Service.defineService('sagemakergeospatial', ['2020-05-27']);
-Object.defineProperty(apiLoader.services['sagemakergeospatial'], '2020-05-27', {
- get: function get() {
- var model = __webpack_require__(18376);
- model.paginators = __webpack_require__(21140)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SageMakerGeospatial;
-
-
-/***/ }),
-
-/***/ 28199:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sagemakermetrics'] = {};
-AWS.SageMakerMetrics = Service.defineService('sagemakermetrics', ['2022-09-30']);
-Object.defineProperty(apiLoader.services['sagemakermetrics'], '2022-09-30', {
- get: function get() {
- var model = __webpack_require__(93168);
- model.paginators = __webpack_require__(25939)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SageMakerMetrics;
-
-
-/***/ }),
-
-/***/ 85044:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sagemakerruntime'] = {};
-AWS.SageMakerRuntime = Service.defineService('sagemakerruntime', ['2017-05-13']);
-Object.defineProperty(apiLoader.services['sagemakerruntime'], '2017-05-13', {
- get: function get() {
- var model = __webpack_require__(82783);
- model.paginators = __webpack_require__(17272)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SageMakerRuntime;
-
-
-/***/ }),
-
-/***/ 62825:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['savingsplans'] = {};
-AWS.SavingsPlans = Service.defineService('savingsplans', ['2019-06-28']);
-Object.defineProperty(apiLoader.services['savingsplans'], '2019-06-28', {
- get: function get() {
- var model = __webpack_require__(2810);
- model.paginators = __webpack_require__(56794)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SavingsPlans;
-
-
-/***/ }),
-
-/***/ 94840:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['scheduler'] = {};
-AWS.Scheduler = Service.defineService('scheduler', ['2021-06-30']);
-Object.defineProperty(apiLoader.services['scheduler'], '2021-06-30', {
- get: function get() {
- var model = __webpack_require__(70409);
- model.paginators = __webpack_require__(45814)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Scheduler;
-
-
-/***/ }),
-
-/***/ 55713:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['schemas'] = {};
-AWS.Schemas = Service.defineService('schemas', ['2019-12-02']);
-Object.defineProperty(apiLoader.services['schemas'], '2019-12-02', {
- get: function get() {
- var model = __webpack_require__(85225);
- model.paginators = __webpack_require__(50738)/* .pagination */ .o;
- model.waiters = __webpack_require__(34671)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Schemas;
-
-
-/***/ }),
-
-/***/ 85131:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['secretsmanager'] = {};
-AWS.SecretsManager = Service.defineService('secretsmanager', ['2017-10-17']);
-Object.defineProperty(apiLoader.services['secretsmanager'], '2017-10-17', {
- get: function get() {
- var model = __webpack_require__(97209);
- model.paginators = __webpack_require__(38503)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SecretsManager;
-
-
-/***/ }),
-
-/***/ 21550:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['securityhub'] = {};
-AWS.SecurityHub = Service.defineService('securityhub', ['2018-10-26']);
-Object.defineProperty(apiLoader.services['securityhub'], '2018-10-26', {
- get: function get() {
- var model = __webpack_require__(40359);
- model.paginators = __webpack_require__(27612)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SecurityHub;
-
-
-/***/ }),
-
-/***/ 84296:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['securitylake'] = {};
-AWS.SecurityLake = Service.defineService('securitylake', ['2018-05-10']);
-Object.defineProperty(apiLoader.services['securitylake'], '2018-05-10', {
- get: function get() {
- var model = __webpack_require__(85661);
- model.paginators = __webpack_require__(24377)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SecurityLake;
-
-
-/***/ }),
-
-/***/ 62402:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['serverlessapplicationrepository'] = {};
-AWS.ServerlessApplicationRepository = Service.defineService('serverlessapplicationrepository', ['2017-09-08']);
-Object.defineProperty(apiLoader.services['serverlessapplicationrepository'], '2017-09-08', {
- get: function get() {
- var model = __webpack_require__(8591);
- model.paginators = __webpack_require__(96164)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ServerlessApplicationRepository;
-
-
-/***/ }),
-
-/***/ 822:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['servicecatalog'] = {};
-AWS.ServiceCatalog = Service.defineService('servicecatalog', ['2015-12-10']);
-Object.defineProperty(apiLoader.services['servicecatalog'], '2015-12-10', {
- get: function get() {
- var model = __webpack_require__(80503);
- model.paginators = __webpack_require__(71855)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ServiceCatalog;
-
-
-/***/ }),
-
-/***/ 79068:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['servicecatalogappregistry'] = {};
-AWS.ServiceCatalogAppRegistry = Service.defineService('servicecatalogappregistry', ['2020-06-24']);
-Object.defineProperty(apiLoader.services['servicecatalogappregistry'], '2020-06-24', {
- get: function get() {
- var model = __webpack_require__(47635);
- model.paginators = __webpack_require__(67278)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ServiceCatalogAppRegistry;
-
-
-/***/ }),
-
-/***/ 91569:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['servicediscovery'] = {};
-AWS.ServiceDiscovery = Service.defineService('servicediscovery', ['2017-03-14']);
-Object.defineProperty(apiLoader.services['servicediscovery'], '2017-03-14', {
- get: function get() {
- var model = __webpack_require__(20459);
- model.paginators = __webpack_require__(19834)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ServiceDiscovery;
-
-
-/***/ }),
-
-/***/ 57800:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['servicequotas'] = {};
-AWS.ServiceQuotas = Service.defineService('servicequotas', ['2019-06-24']);
-Object.defineProperty(apiLoader.services['servicequotas'], '2019-06-24', {
- get: function get() {
- var model = __webpack_require__(14304);
- model.paginators = __webpack_require__(90635)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.ServiceQuotas;
-
-
-/***/ }),
-
-/***/ 46816:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ses'] = {};
-AWS.SES = Service.defineService('ses', ['2010-12-01']);
-Object.defineProperty(apiLoader.services['ses'], '2010-12-01', {
- get: function get() {
- var model = __webpack_require__(87825);
- model.paginators = __webpack_require__(61348)/* .pagination */ .o;
- model.waiters = __webpack_require__(84476)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SES;
-
-
-/***/ }),
-
-/***/ 20142:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sesv2'] = {};
-AWS.SESV2 = Service.defineService('sesv2', ['2019-09-27']);
-Object.defineProperty(apiLoader.services['sesv2'], '2019-09-27', {
- get: function get() {
- var model = __webpack_require__(32530);
- model.paginators = __webpack_require__(39567)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SESV2;
-
-
-/***/ }),
-
-/***/ 20271:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['shield'] = {};
-AWS.Shield = Service.defineService('shield', ['2016-06-02']);
-Object.defineProperty(apiLoader.services['shield'], '2016-06-02', {
- get: function get() {
- var model = __webpack_require__(78621);
- model.paginators = __webpack_require__(75743)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Shield;
-
-
-/***/ }),
-
-/***/ 71596:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['signer'] = {};
-AWS.Signer = Service.defineService('signer', ['2017-08-25']);
-Object.defineProperty(apiLoader.services['signer'], '2017-08-25', {
- get: function get() {
- var model = __webpack_require__(21884);
- model.paginators = __webpack_require__(69839)/* .pagination */ .o;
- model.waiters = __webpack_require__(61331)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Signer;
-
-
-/***/ }),
-
-/***/ 10120:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['simpledb'] = {};
-AWS.SimpleDB = Service.defineService('simpledb', ['2009-04-15']);
-Object.defineProperty(apiLoader.services['simpledb'], '2009-04-15', {
- get: function get() {
- var model = __webpack_require__(96016);
- model.paginators = __webpack_require__(73820)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SimpleDB;
-
-
-/***/ }),
-
-/***/ 37090:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['simspaceweaver'] = {};
-AWS.SimSpaceWeaver = Service.defineService('simspaceweaver', ['2022-10-28']);
-Object.defineProperty(apiLoader.services['simspaceweaver'], '2022-10-28', {
- get: function get() {
- var model = __webpack_require__(92227);
- model.paginators = __webpack_require__(93682)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SimSpaceWeaver;
-
-
-/***/ }),
-
-/***/ 57719:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sms'] = {};
-AWS.SMS = Service.defineService('sms', ['2016-10-24']);
-Object.defineProperty(apiLoader.services['sms'], '2016-10-24', {
- get: function get() {
- var model = __webpack_require__(51530);
- model.paginators = __webpack_require__(72874)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SMS;
-
-
-/***/ }),
-
-/***/ 510:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['snowball'] = {};
-AWS.Snowball = Service.defineService('snowball', ['2016-06-30']);
-Object.defineProperty(apiLoader.services['snowball'], '2016-06-30', {
- get: function get() {
- var model = __webpack_require__(41624);
- model.paginators = __webpack_require__(14147)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Snowball;
-
-
-/***/ }),
-
-/***/ 64655:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['snowdevicemanagement'] = {};
-AWS.SnowDeviceManagement = Service.defineService('snowdevicemanagement', ['2021-08-04']);
-Object.defineProperty(apiLoader.services['snowdevicemanagement'], '2021-08-04', {
- get: function get() {
- var model = __webpack_require__(94140);
- model.paginators = __webpack_require__(20626)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SnowDeviceManagement;
-
-
-/***/ }),
-
-/***/ 28581:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sns'] = {};
-AWS.SNS = Service.defineService('sns', ['2010-03-31']);
-Object.defineProperty(apiLoader.services['sns'], '2010-03-31', {
- get: function get() {
- var model = __webpack_require__(22671);
- model.paginators = __webpack_require__(92788)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SNS;
-
-
-/***/ }),
-
-/***/ 63172:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sqs'] = {};
-AWS.SQS = Service.defineService('sqs', ['2012-11-05']);
-__webpack_require__(94571);
-Object.defineProperty(apiLoader.services['sqs'], '2012-11-05', {
- get: function get() {
- var model = __webpack_require__(31635);
- model.paginators = __webpack_require__(48324)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SQS;
-
-
-/***/ }),
-
-/***/ 83380:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ssm'] = {};
-AWS.SSM = Service.defineService('ssm', ['2014-11-06']);
-Object.defineProperty(apiLoader.services['ssm'], '2014-11-06', {
- get: function get() {
- var model = __webpack_require__(7667);
- model.paginators = __webpack_require__(84951)/* .pagination */ .o;
- model.waiters = __webpack_require__(80315)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SSM;
-
-
-/***/ }),
-
-/***/ 12577:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ssmcontacts'] = {};
-AWS.SSMContacts = Service.defineService('ssmcontacts', ['2021-05-03']);
-Object.defineProperty(apiLoader.services['ssmcontacts'], '2021-05-03', {
- get: function get() {
- var model = __webpack_require__(99205);
- model.paginators = __webpack_require__(49636)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SSMContacts;
-
-
-/***/ }),
-
-/***/ 20590:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ssmincidents'] = {};
-AWS.SSMIncidents = Service.defineService('ssmincidents', ['2018-05-10']);
-Object.defineProperty(apiLoader.services['ssmincidents'], '2018-05-10', {
- get: function get() {
- var model = __webpack_require__(16847);
- model.paginators = __webpack_require__(30464)/* .pagination */ .o;
- model.waiters = __webpack_require__(23020)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SSMIncidents;
-
-
-/***/ }),
-
-/***/ 44552:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ssmsap'] = {};
-AWS.SsmSap = Service.defineService('ssmsap', ['2018-05-10']);
-Object.defineProperty(apiLoader.services['ssmsap'], '2018-05-10', {
- get: function get() {
- var model = __webpack_require__(61571);
- model.paginators = __webpack_require__(3681)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SsmSap;
-
-
-/***/ }),
-
-/***/ 71096:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sso'] = {};
-AWS.SSO = Service.defineService('sso', ['2019-06-10']);
-Object.defineProperty(apiLoader.services['sso'], '2019-06-10', {
- get: function get() {
- var model = __webpack_require__(77888);
- model.paginators = __webpack_require__(18046)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SSO;
-
-
-/***/ }),
-
-/***/ 66644:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ssoadmin'] = {};
-AWS.SSOAdmin = Service.defineService('ssoadmin', ['2020-07-20']);
-Object.defineProperty(apiLoader.services['ssoadmin'], '2020-07-20', {
- get: function get() {
- var model = __webpack_require__(93165);
- model.paginators = __webpack_require__(61022)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SSOAdmin;
-
-
-/***/ }),
-
-/***/ 49870:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['ssooidc'] = {};
-AWS.SSOOIDC = Service.defineService('ssooidc', ['2019-06-10']);
-Object.defineProperty(apiLoader.services['ssooidc'], '2019-06-10', {
- get: function get() {
- var model = __webpack_require__(43979);
- model.paginators = __webpack_require__(16125)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SSOOIDC;
-
-
-/***/ }),
-
-/***/ 8136:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['stepfunctions'] = {};
-AWS.StepFunctions = Service.defineService('stepfunctions', ['2016-11-23']);
-Object.defineProperty(apiLoader.services['stepfunctions'], '2016-11-23', {
- get: function get() {
- var model = __webpack_require__(58492);
- model.paginators = __webpack_require__(95424)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.StepFunctions;
-
-
-/***/ }),
-
-/***/ 89190:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['storagegateway'] = {};
-AWS.StorageGateway = Service.defineService('storagegateway', ['2013-06-30']);
-Object.defineProperty(apiLoader.services['storagegateway'], '2013-06-30', {
- get: function get() {
- var model = __webpack_require__(33480);
- model.paginators = __webpack_require__(6062)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.StorageGateway;
-
-
-/***/ }),
-
-/***/ 57513:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['sts'] = {};
-AWS.STS = Service.defineService('sts', ['2011-06-15']);
-__webpack_require__(91055);
-Object.defineProperty(apiLoader.services['sts'], '2011-06-15', {
- get: function get() {
- var model = __webpack_require__(18976);
- model.paginators = __webpack_require__(82952)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.STS;
-
-
-/***/ }),
-
-/***/ 1099:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['support'] = {};
-AWS.Support = Service.defineService('support', ['2013-04-15']);
-Object.defineProperty(apiLoader.services['support'], '2013-04-15', {
- get: function get() {
- var model = __webpack_require__(77180);
- model.paginators = __webpack_require__(83878)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Support;
-
-
-/***/ }),
-
-/***/ 51288:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['supportapp'] = {};
-AWS.SupportApp = Service.defineService('supportapp', ['2021-08-20']);
-Object.defineProperty(apiLoader.services['supportapp'], '2021-08-20', {
- get: function get() {
- var model = __webpack_require__(57601);
- model.paginators = __webpack_require__(45691)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SupportApp;
-
-
-/***/ }),
-
-/***/ 32327:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['swf'] = {};
-AWS.SWF = Service.defineService('swf', ['2012-01-25']);
-__webpack_require__(31987);
-Object.defineProperty(apiLoader.services['swf'], '2012-01-25', {
- get: function get() {
- var model = __webpack_require__(4974);
- model.paginators = __webpack_require__(65798)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.SWF;
-
-
-/***/ }),
-
-/***/ 25910:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['synthetics'] = {};
-AWS.Synthetics = Service.defineService('synthetics', ['2017-10-11']);
-Object.defineProperty(apiLoader.services['synthetics'], '2017-10-11', {
- get: function get() {
- var model = __webpack_require__(82853);
- model.paginators = __webpack_require__(27742)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Synthetics;
-
-
-/***/ }),
-
-/***/ 58523:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['textract'] = {};
-AWS.Textract = Service.defineService('textract', ['2018-06-27']);
-Object.defineProperty(apiLoader.services['textract'], '2018-06-27', {
- get: function get() {
- var model = __webpack_require__(66368);
- model.paginators = __webpack_require__(75909)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Textract;
-
-
-/***/ }),
-
-/***/ 24529:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['timestreamquery'] = {};
-AWS.TimestreamQuery = Service.defineService('timestreamquery', ['2018-11-01']);
-Object.defineProperty(apiLoader.services['timestreamquery'], '2018-11-01', {
- get: function get() {
- var model = __webpack_require__(27578);
- model.paginators = __webpack_require__(99094)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.TimestreamQuery;
-
-
-/***/ }),
-
-/***/ 1573:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['timestreamwrite'] = {};
-AWS.TimestreamWrite = Service.defineService('timestreamwrite', ['2018-11-01']);
-Object.defineProperty(apiLoader.services['timestreamwrite'], '2018-11-01', {
- get: function get() {
- var model = __webpack_require__(79095);
- model.paginators = __webpack_require__(50262)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.TimestreamWrite;
-
-
-/***/ }),
-
-/***/ 15300:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['tnb'] = {};
-AWS.Tnb = Service.defineService('tnb', ['2008-10-21']);
-Object.defineProperty(apiLoader.services['tnb'], '2008-10-21', {
- get: function get() {
- var model = __webpack_require__(81778);
- model.paginators = __webpack_require__(88782)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Tnb;
-
-
-/***/ }),
-
-/***/ 75811:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['transcribeservice'] = {};
-AWS.TranscribeService = Service.defineService('transcribeservice', ['2017-10-26']);
-Object.defineProperty(apiLoader.services['transcribeservice'], '2017-10-26', {
- get: function get() {
- var model = __webpack_require__(10903);
- model.paginators = __webpack_require__(92036)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.TranscribeService;
-
-
-/***/ }),
-
-/***/ 51585:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['transfer'] = {};
-AWS.Transfer = Service.defineService('transfer', ['2018-11-05']);
-Object.defineProperty(apiLoader.services['transfer'], '2018-11-05', {
- get: function get() {
- var model = __webpack_require__(42419);
- model.paginators = __webpack_require__(70586)/* .pagination */ .o;
- model.waiters = __webpack_require__(73183)/* .waiters */ .V;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Transfer;
-
-
-/***/ }),
-
-/***/ 72544:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['translate'] = {};
-AWS.Translate = Service.defineService('translate', ['2017-07-01']);
-Object.defineProperty(apiLoader.services['translate'], '2017-07-01', {
- get: function get() {
- var model = __webpack_require__(12983);
- model.paginators = __webpack_require__(85886)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Translate;
-
-
-/***/ }),
-
-/***/ 28747:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['voiceid'] = {};
-AWS.VoiceID = Service.defineService('voiceid', ['2021-09-27']);
-Object.defineProperty(apiLoader.services['voiceid'], '2021-09-27', {
- get: function get() {
- var model = __webpack_require__(12372);
- model.paginators = __webpack_require__(89603)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.VoiceID;
-
-
-/***/ }),
-
-/***/ 78952:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['vpclattice'] = {};
-AWS.VPCLattice = Service.defineService('vpclattice', ['2022-11-30']);
-Object.defineProperty(apiLoader.services['vpclattice'], '2022-11-30', {
- get: function get() {
- var model = __webpack_require__(2066);
- model.paginators = __webpack_require__(48258)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.VPCLattice;
-
-
-/***/ }),
-
-/***/ 72742:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['waf'] = {};
-AWS.WAF = Service.defineService('waf', ['2015-08-24']);
-Object.defineProperty(apiLoader.services['waf'], '2015-08-24', {
- get: function get() {
- var model = __webpack_require__(93997);
- model.paginators = __webpack_require__(45770)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.WAF;
-
-
-/***/ }),
-
-/***/ 23153:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['wafregional'] = {};
-AWS.WAFRegional = Service.defineService('wafregional', ['2016-11-28']);
-Object.defineProperty(apiLoader.services['wafregional'], '2016-11-28', {
- get: function get() {
- var model = __webpack_require__(72867);
- model.paginators = __webpack_require__(68917)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.WAFRegional;
-
-
-/***/ }),
-
-/***/ 50353:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['wafv2'] = {};
-AWS.WAFV2 = Service.defineService('wafv2', ['2019-07-29']);
-Object.defineProperty(apiLoader.services['wafv2'], '2019-07-29', {
- get: function get() {
- var model = __webpack_require__(27916);
- model.paginators = __webpack_require__(51265)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.WAFV2;
-
-
-/***/ }),
-
-/***/ 86263:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['wellarchitected'] = {};
-AWS.WellArchitected = Service.defineService('wellarchitected', ['2020-03-31']);
-Object.defineProperty(apiLoader.services['wellarchitected'], '2020-03-31', {
- get: function get() {
- var model = __webpack_require__(5684);
- model.paginators = __webpack_require__(47645)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.WellArchitected;
-
-
-/***/ }),
-
-/***/ 85266:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['wisdom'] = {};
-AWS.Wisdom = Service.defineService('wisdom', ['2020-10-19']);
-Object.defineProperty(apiLoader.services['wisdom'], '2020-10-19', {
- get: function get() {
- var model = __webpack_require__(95090);
- model.paginators = __webpack_require__(52237)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.Wisdom;
-
-
-/***/ }),
-
-/***/ 38835:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['workdocs'] = {};
-AWS.WorkDocs = Service.defineService('workdocs', ['2016-05-01']);
-Object.defineProperty(apiLoader.services['workdocs'], '2016-05-01', {
- get: function get() {
- var model = __webpack_require__(12789);
- model.paginators = __webpack_require__(20074)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.WorkDocs;
-
-
-/***/ }),
-
-/***/ 48579:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['worklink'] = {};
-AWS.WorkLink = Service.defineService('worklink', ['2018-09-25']);
-Object.defineProperty(apiLoader.services['worklink'], '2018-09-25', {
- get: function get() {
- var model = __webpack_require__(44786);
- model.paginators = __webpack_require__(88012)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.WorkLink;
-
-
-/***/ }),
-
-/***/ 38374:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['workmail'] = {};
-AWS.WorkMail = Service.defineService('workmail', ['2017-10-01']);
-Object.defineProperty(apiLoader.services['workmail'], '2017-10-01', {
- get: function get() {
- var model = __webpack_require__(31611);
- model.paginators = __webpack_require__(64931)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.WorkMail;
-
-
-/***/ }),
-
-/***/ 67025:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['workmailmessageflow'] = {};
-AWS.WorkMailMessageFlow = Service.defineService('workmailmessageflow', ['2019-05-01']);
-Object.defineProperty(apiLoader.services['workmailmessageflow'], '2019-05-01', {
- get: function get() {
- var model = __webpack_require__(15648);
- model.paginators = __webpack_require__(88532)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.WorkMailMessageFlow;
-
-
-/***/ }),
-
-/***/ 25513:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['workspaces'] = {};
-AWS.WorkSpaces = Service.defineService('workspaces', ['2015-04-08']);
-Object.defineProperty(apiLoader.services['workspaces'], '2015-04-08', {
- get: function get() {
- var model = __webpack_require__(66372);
- model.paginators = __webpack_require__(37567)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.WorkSpaces;
-
-
-/***/ }),
-
-/***/ 94124:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['workspacesweb'] = {};
-AWS.WorkSpacesWeb = Service.defineService('workspacesweb', ['2020-07-08']);
-Object.defineProperty(apiLoader.services['workspacesweb'], '2020-07-08', {
- get: function get() {
- var model = __webpack_require__(53596);
- model.paginators = __webpack_require__(61133)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.WorkSpacesWeb;
-
-
-/***/ }),
-
-/***/ 41548:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-var AWS = __webpack_require__(28437);
-var Service = AWS.Service;
-var apiLoader = AWS.apiLoader;
-
-apiLoader.services['xray'] = {};
-AWS.XRay = Service.defineService('xray', ['2016-04-12']);
-Object.defineProperty(apiLoader.services['xray'], '2016-04-12', {
- get: function get() {
- var model = __webpack_require__(37289);
- model.paginators = __webpack_require__(83127)/* .pagination */ .o;
- return model;
- },
- enumerable: true,
- configurable: true
-});
-
-module.exports = AWS.XRay;
-
-
-/***/ }),
-
-/***/ 52793:
-/***/ ((module) => {
-
-function apiLoader(svc, version) {
- if (!apiLoader.services.hasOwnProperty(svc)) {
- throw new Error('InvalidService: Failed to load api for ' + svc);
- }
- return apiLoader.services[svc][version];
-}
-
-/**
- * @api private
- *
- * This member of AWS.apiLoader is private, but changing it will necessitate a
- * change to ../scripts/services-table-generator.ts
- */
-apiLoader.services = {};
-
-/**
- * @api private
- */
-module.exports = apiLoader;
-
-
-/***/ }),
-
-/***/ 71786:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-__webpack_require__(73639);
-
-var AWS = __webpack_require__(28437);
-
-// Load all service classes
-__webpack_require__(26296);
-
-/**
- * @api private
- */
-module.exports = AWS;
-
-
-/***/ }),
-
-/***/ 93260:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437),
- url = AWS.util.url,
- crypto = AWS.util.crypto.lib,
- base64Encode = AWS.util.base64.encode,
- inherit = AWS.util.inherit;
-
-var queryEncode = function (string) {
- var replacements = {
- '+': '-',
- '=': '_',
- '/': '~'
- };
- return string.replace(/[\+=\/]/g, function (match) {
- return replacements[match];
- });
-};
-
-var signPolicy = function (policy, privateKey) {
- var sign = crypto.createSign('RSA-SHA1');
- sign.write(policy);
- return queryEncode(sign.sign(privateKey, 'base64'));
-};
-
-var signWithCannedPolicy = function (url, expires, keyPairId, privateKey) {
- var policy = JSON.stringify({
- Statement: [
- {
- Resource: url,
- Condition: { DateLessThan: { 'AWS:EpochTime': expires } }
- }
- ]
- });
-
- return {
- Expires: expires,
- 'Key-Pair-Id': keyPairId,
- Signature: signPolicy(policy.toString(), privateKey)
- };
-};
-
-var signWithCustomPolicy = function (policy, keyPairId, privateKey) {
- policy = policy.replace(/\s/mg, '');
-
- return {
- Policy: queryEncode(base64Encode(policy)),
- 'Key-Pair-Id': keyPairId,
- Signature: signPolicy(policy, privateKey)
- };
-};
-
-var determineScheme = function (url) {
- var parts = url.split('://');
- if (parts.length < 2) {
- throw new Error('Invalid URL.');
- }
-
- return parts[0].replace('*', '');
-};
-
-var getRtmpUrl = function (rtmpUrl) {
- var parsed = url.parse(rtmpUrl);
- return parsed.path.replace(/^\//, '') + (parsed.hash || '');
-};
-
-var getResource = function (url) {
- switch (determineScheme(url)) {
- case 'http':
- case 'https':
- return url;
- case 'rtmp':
- return getRtmpUrl(url);
- default:
- throw new Error('Invalid URI scheme. Scheme must be one of'
- + ' http, https, or rtmp');
- }
-};
-
-var handleError = function (err, callback) {
- if (!callback || typeof callback !== 'function') {
- throw err;
- }
-
- callback(err);
-};
-
-var handleSuccess = function (result, callback) {
- if (!callback || typeof callback !== 'function') {
- return result;
- }
-
- callback(null, result);
-};
-
-AWS.CloudFront.Signer = inherit({
- /**
- * A signer object can be used to generate signed URLs and cookies for granting
- * access to content on restricted CloudFront distributions.
- *
- * @see http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html
- *
- * @param keyPairId [String] (Required) The ID of the CloudFront key pair
- * being used.
- * @param privateKey [String] (Required) A private key in RSA format.
- */
- constructor: function Signer(keyPairId, privateKey) {
- if (keyPairId === void 0 || privateKey === void 0) {
- throw new Error('A key pair ID and private key are required');
- }
-
- this.keyPairId = keyPairId;
- this.privateKey = privateKey;
- },
-
- /**
- * Create a signed Amazon CloudFront Cookie.
- *
- * @param options [Object] The options to create a signed cookie.
- * @option options url [String] The URL to which the signature will grant
- * access. Required unless you pass in a full
- * policy.
- * @option options expires [Number] A Unix UTC timestamp indicating when the
- * signature should expire. Required unless you
- * pass in a full policy.
- * @option options policy [String] A CloudFront JSON policy. Required unless
- * you pass in a url and an expiry time.
- *
- * @param cb [Function] if a callback is provided, this function will
- * pass the hash as the second parameter (after the error parameter) to
- * the callback function.
- *
- * @return [Object] if called synchronously (with no callback), returns the
- * signed cookie parameters.
- * @return [null] nothing is returned if a callback is provided.
- */
- getSignedCookie: function (options, cb) {
- var signatureHash = 'policy' in options
- ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey)
- : signWithCannedPolicy(options.url, options.expires, this.keyPairId, this.privateKey);
-
- var cookieHash = {};
- for (var key in signatureHash) {
- if (Object.prototype.hasOwnProperty.call(signatureHash, key)) {
- cookieHash['CloudFront-' + key] = signatureHash[key];
- }
- }
-
- return handleSuccess(cookieHash, cb);
- },
-
- /**
- * Create a signed Amazon CloudFront URL.
- *
- * Keep in mind that URLs meant for use in media/flash players may have
- * different requirements for URL formats (e.g. some require that the
- * extension be removed, some require the file name to be prefixed
- * - mp4:, some require you to add "/cfx/st" into your URL).
- *
- * @param options [Object] The options to create a signed URL.
- * @option options url [String] The URL to which the signature will grant
- * access. Any query params included with
- * the URL should be encoded. Required.
- * @option options expires [Number] A Unix UTC timestamp indicating when the
- * signature should expire. Required unless you
- * pass in a full policy.
- * @option options policy [String] A CloudFront JSON policy. Required unless
- * you pass in a url and an expiry time.
- *
- * @param cb [Function] if a callback is provided, this function will
- * pass the URL as the second parameter (after the error parameter) to
- * the callback function.
- *
- * @return [String] if called synchronously (with no callback), returns the
- * signed URL.
- * @return [null] nothing is returned if a callback is provided.
- */
- getSignedUrl: function (options, cb) {
- try {
- var resource = getResource(options.url);
- } catch (err) {
- return handleError(err, cb);
- }
-
- var parsedUrl = url.parse(options.url, true),
- signatureHash = Object.prototype.hasOwnProperty.call(options, 'policy')
- ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey)
- : signWithCannedPolicy(resource, options.expires, this.keyPairId, this.privateKey);
-
- parsedUrl.search = null;
- for (var key in signatureHash) {
- if (Object.prototype.hasOwnProperty.call(signatureHash, key)) {
- parsedUrl.query[key] = signatureHash[key];
- }
- }
-
- try {
- var signedUrl = determineScheme(options.url) === 'rtmp'
- ? getRtmpUrl(url.format(parsedUrl))
- : url.format(parsedUrl);
- } catch (err) {
- return handleError(err, cb);
- }
-
- return handleSuccess(signedUrl, cb);
- }
-});
-
-/**
- * @api private
- */
-module.exports = AWS.CloudFront.Signer;
-
-
-/***/ }),
-
-/***/ 38110:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-__webpack_require__(53819);
-__webpack_require__(36965);
-var PromisesDependency;
-
-/**
- * The main configuration class used by all service objects to set
- * the region, credentials, and other options for requests.
- *
- * By default, credentials and region settings are left unconfigured.
- * This should be configured by the application before using any
- * AWS service APIs.
- *
- * In order to set global configuration options, properties should
- * be assigned to the global {AWS.config} object.
- *
- * @see AWS.config
- *
- * @!group General Configuration Options
- *
- * @!attribute credentials
- * @return [AWS.Credentials] the AWS credentials to sign requests with.
- *
- * @!attribute region
- * @example Set the global region setting to us-west-2
- * AWS.config.update({region: 'us-west-2'});
- * @return [AWS.Credentials] The region to send service requests to.
- * @see http://docs.amazonwebservices.com/general/latest/gr/rande.html
- * A list of available endpoints for each AWS service
- *
- * @!attribute maxRetries
- * @return [Integer] the maximum amount of retries to perform for a
- * service request. By default this value is calculated by the specific
- * service object that the request is being made to.
- *
- * @!attribute maxRedirects
- * @return [Integer] the maximum amount of redirects to follow for a
- * service request. Defaults to 10.
- *
- * @!attribute paramValidation
- * @return [Boolean|map] whether input parameters should be validated against
- * the operation description before sending the request. Defaults to true.
- * Pass a map to enable any of the following specific validation features:
- *
- * * **min** [Boolean] — Validates that a value meets the min
- * constraint. This is enabled by default when paramValidation is set
- * to `true`.
- * * **max** [Boolean] — Validates that a value meets the max
- * constraint.
- * * **pattern** [Boolean] — Validates that a string value matches a
- * regular expression.
- * * **enum** [Boolean] — Validates that a string value matches one
- * of the allowable enum values.
- *
- * @!attribute computeChecksums
- * @return [Boolean] whether to compute checksums for payload bodies when
- * the service accepts it (currently supported in S3 and SQS only).
- *
- * @!attribute convertResponseTypes
- * @return [Boolean] whether types are converted when parsing response data.
- * Currently only supported for JSON based services. Turning this off may
- * improve performance on large response payloads. Defaults to `true`.
- *
- * @!attribute correctClockSkew
- * @return [Boolean] whether to apply a clock skew correction and retry
- * requests that fail because of an skewed client clock. Defaults to
- * `false`.
- *
- * @!attribute sslEnabled
- * @return [Boolean] whether SSL is enabled for requests
- *
- * @!attribute s3ForcePathStyle
- * @return [Boolean] whether to force path style URLs for S3 objects
- *
- * @!attribute s3BucketEndpoint
- * @note Setting this configuration option requires an `endpoint` to be
- * provided explicitly to the service constructor.
- * @return [Boolean] whether the provided endpoint addresses an individual
- * bucket (false if it addresses the root API endpoint).
- *
- * @!attribute s3DisableBodySigning
- * @return [Boolean] whether to disable S3 body signing when using signature version `v4`.
- * Body signing can only be disabled when using https. Defaults to `true`.
- *
- * @!attribute s3UsEast1RegionalEndpoint
- * @return ['legacy'|'regional'] when region is set to 'us-east-1', whether to send s3
- * request to global endpoints or 'us-east-1' regional endpoints. This config is only
- * applicable to S3 client;
- * Defaults to 'legacy'
- * @!attribute s3UseArnRegion
- * @return [Boolean] whether to override the request region with the region inferred
- * from requested resource's ARN. Only available for S3 buckets
- * Defaults to `true`
- *
- * @!attribute useAccelerateEndpoint
- * @note This configuration option is only compatible with S3 while accessing
- * dns-compatible buckets.
- * @return [Boolean] Whether to use the Accelerate endpoint with the S3 service.
- * Defaults to `false`.
- *
- * @!attribute retryDelayOptions
- * @example Set the base retry delay for all services to 300 ms
- * AWS.config.update({retryDelayOptions: {base: 300}});
- * // Delays with maxRetries = 3: 300, 600, 1200
- * @example Set a custom backoff function to provide delay values on retries
- * AWS.config.update({retryDelayOptions: {customBackoff: function(retryCount, err) {
- * // returns delay in ms
- * }}});
- * @return [map] A set of options to configure the retry delay on retryable errors.
- * Currently supported options are:
- *
- * * **base** [Integer] — The base number of milliseconds to use in the
- * exponential backoff for operation retries. Defaults to 100 ms for all services except
- * DynamoDB, where it defaults to 50ms.
- *
- * * **customBackoff ** [function] — A custom function that accepts a
- * retry count and error and returns the amount of time to delay in
- * milliseconds. If the result is a non-zero negative value, no further
- * retry attempts will be made. The `base` option will be ignored if this
- * option is supplied. The function is only called for retryable errors.
- *
- * @!attribute httpOptions
- * @return [map] A set of options to pass to the low-level HTTP request.
- * Currently supported options are:
- *
- * * **proxy** [String] — the URL to proxy requests through
- * * **agent** [http.Agent, https.Agent] — the Agent object to perform
- * HTTP requests with. Used for connection pooling. Note that for
- * SSL connections, a special Agent object is used in order to enable
- * peer certificate verification. This feature is only supported in the
- * Node.js environment.
- * * **connectTimeout** [Integer] — Sets the socket to timeout after
- * failing to establish a connection with the server after
- * `connectTimeout` milliseconds. This timeout has no effect once a socket
- * connection has been established.
- * * **timeout** [Integer] — The number of milliseconds a request can
- * take before automatically being terminated.
- * Defaults to two minutes (120000).
- * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous
- * HTTP requests. Used in the browser environment only. Set to false to
- * send requests synchronously. Defaults to true (async on).
- * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials"
- * property of an XMLHttpRequest object. Used in the browser environment
- * only. Defaults to false.
- * @!attribute logger
- * @return [#write,#log] an object that responds to .write() (like a stream)
- * or .log() (like the console object) in order to log information about
- * requests
- *
- * @!attribute systemClockOffset
- * @return [Number] an offset value in milliseconds to apply to all signing
- * times. Use this to compensate for clock skew when your system may be
- * out of sync with the service time. Note that this configuration option
- * can only be applied to the global `AWS.config` object and cannot be
- * overridden in service-specific configuration. Defaults to 0 milliseconds.
- *
- * @!attribute signatureVersion
- * @return [String] the signature version to sign requests with (overriding
- * the API configuration). Possible values are: 'v2', 'v3', 'v4'.
- *
- * @!attribute signatureCache
- * @return [Boolean] whether the signature to sign requests with (overriding
- * the API configuration) is cached. Only applies to the signature version 'v4'.
- * Defaults to `true`.
- *
- * @!attribute endpointDiscoveryEnabled
- * @return [Boolean|undefined] whether to call operations with endpoints
- * given by service dynamically. Setting this config to `true` will enable
- * endpoint discovery for all applicable operations. Setting it to `false`
- * will explicitly disable endpoint discovery even though operations that
- * require endpoint discovery will presumably fail. Leaving it to
- * `undefined` means SDK only do endpoint discovery when it's required.
- * Defaults to `undefined`
- *
- * @!attribute endpointCacheSize
- * @return [Number] the size of the global cache storing endpoints from endpoint
- * discovery operations. Once endpoint cache is created, updating this setting
- * cannot change existing cache size.
- * Defaults to 1000
- *
- * @!attribute hostPrefixEnabled
- * @return [Boolean] whether to marshal request parameters to the prefix of
- * hostname. Defaults to `true`.
- *
- * @!attribute stsRegionalEndpoints
- * @return ['legacy'|'regional'] whether to send sts request to global endpoints or
- * regional endpoints.
- * Defaults to 'legacy'.
- *
- * @!attribute useFipsEndpoint
- * @return [Boolean] Enables FIPS compatible endpoints. Defaults to `false`.
- *
- * @!attribute useDualstackEndpoint
- * @return [Boolean] Enables IPv6 dualstack endpoint. Defaults to `false`.
- */
-AWS.Config = AWS.util.inherit({
- /**
- * @!endgroup
- */
-
- /**
- * Creates a new configuration object. This is the object that passes
- * option data along to service requests, including credentials, security,
- * region information, and some service specific settings.
- *
- * @example Creating a new configuration object with credentials and region
- * var config = new AWS.Config({
- * accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-west-2'
- * });
- * @option options accessKeyId [String] your AWS access key ID.
- * @option options secretAccessKey [String] your AWS secret access key.
- * @option options sessionToken [AWS.Credentials] the optional AWS
- * session token to sign requests with.
- * @option options credentials [AWS.Credentials] the AWS credentials
- * to sign requests with. You can either specify this object, or
- * specify the accessKeyId and secretAccessKey options directly.
- * @option options credentialProvider [AWS.CredentialProviderChain] the
- * provider chain used to resolve credentials if no static `credentials`
- * property is set.
- * @option options region [String] the region to send service requests to.
- * See {region} for more information.
- * @option options maxRetries [Integer] the maximum amount of retries to
- * attempt with a request. See {maxRetries} for more information.
- * @option options maxRedirects [Integer] the maximum amount of redirects to
- * follow with a request. See {maxRedirects} for more information.
- * @option options sslEnabled [Boolean] whether to enable SSL for
- * requests.
- * @option options paramValidation [Boolean|map] whether input parameters
- * should be validated against the operation description before sending
- * the request. Defaults to true. Pass a map to enable any of the
- * following specific validation features:
- *
- * * **min** [Boolean] — Validates that a value meets the min
- * constraint. This is enabled by default when paramValidation is set
- * to `true`.
- * * **max** [Boolean] — Validates that a value meets the max
- * constraint.
- * * **pattern** [Boolean] — Validates that a string value matches a
- * regular expression.
- * * **enum** [Boolean] — Validates that a string value matches one
- * of the allowable enum values.
- * @option options computeChecksums [Boolean] whether to compute checksums
- * for payload bodies when the service accepts it (currently supported
- * in S3 only)
- * @option options convertResponseTypes [Boolean] whether types are converted
- * when parsing response data. Currently only supported for JSON based
- * services. Turning this off may improve performance on large response
- * payloads. Defaults to `true`.
- * @option options correctClockSkew [Boolean] whether to apply a clock skew
- * correction and retry requests that fail because of an skewed client
- * clock. Defaults to `false`.
- * @option options s3ForcePathStyle [Boolean] whether to force path
- * style URLs for S3 objects.
- * @option options s3BucketEndpoint [Boolean] whether the provided endpoint
- * addresses an individual bucket (false if it addresses the root API
- * endpoint). Note that setting this configuration option requires an
- * `endpoint` to be provided explicitly to the service constructor.
- * @option options s3DisableBodySigning [Boolean] whether S3 body signing
- * should be disabled when using signature version `v4`. Body signing
- * can only be disabled when using https. Defaults to `true`.
- * @option options s3UsEast1RegionalEndpoint ['legacy'|'regional'] when region
- * is set to 'us-east-1', whether to send s3 request to global endpoints or
- * 'us-east-1' regional endpoints. This config is only applicable to S3 client.
- * Defaults to `legacy`
- * @option options s3UseArnRegion [Boolean] whether to override the request region
- * with the region inferred from requested resource's ARN. Only available for S3 buckets
- * Defaults to `true`
- *
- * @option options retryDelayOptions [map] A set of options to configure
- * the retry delay on retryable errors. Currently supported options are:
- *
- * * **base** [Integer] — The base number of milliseconds to use in the
- * exponential backoff for operation retries. Defaults to 100 ms for all
- * services except DynamoDB, where it defaults to 50ms.
- * * **customBackoff ** [function] — A custom function that accepts a
- * retry count and error and returns the amount of time to delay in
- * milliseconds. If the result is a non-zero negative value, no further
- * retry attempts will be made. The `base` option will be ignored if this
- * option is supplied. The function is only called for retryable errors.
- * @option options httpOptions [map] A set of options to pass to the low-level
- * HTTP request. Currently supported options are:
- *
- * * **proxy** [String] — the URL to proxy requests through
- * * **agent** [http.Agent, https.Agent] — the Agent object to perform
- * HTTP requests with. Used for connection pooling. Defaults to the global
- * agent (`http.globalAgent`) for non-SSL connections. Note that for
- * SSL connections, a special Agent object is used in order to enable
- * peer certificate verification. This feature is only available in the
- * Node.js environment.
- * * **connectTimeout** [Integer] — Sets the socket to timeout after
- * failing to establish a connection with the server after
- * `connectTimeout` milliseconds. This timeout has no effect once a socket
- * connection has been established.
- * * **timeout** [Integer] — Sets the socket to timeout after timeout
- * milliseconds of inactivity on the socket. Defaults to two minutes
- * (120000).
- * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous
- * HTTP requests. Used in the browser environment only. Set to false to
- * send requests synchronously. Defaults to true (async on).
- * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials"
- * property of an XMLHttpRequest object. Used in the browser environment
- * only. Defaults to false.
- * @option options apiVersion [String, Date] a String in YYYY-MM-DD format
- * (or a date) that represents the latest possible API version that can be
- * used in all services (unless overridden by `apiVersions`). Specify
- * 'latest' to use the latest possible version.
- * @option options apiVersions [map] a map of service
- * identifiers (the lowercase service class name) with the API version to
- * use when instantiating a service. Specify 'latest' for each individual
- * that can use the latest available version.
- * @option options logger [#write,#log] an object that responds to .write()
- * (like a stream) or .log() (like the console object) in order to log
- * information about requests
- * @option options systemClockOffset [Number] an offset value in milliseconds
- * to apply to all signing times. Use this to compensate for clock skew
- * when your system may be out of sync with the service time. Note that
- * this configuration option can only be applied to the global `AWS.config`
- * object and cannot be overridden in service-specific configuration.
- * Defaults to 0 milliseconds.
- * @option options signatureVersion [String] the signature version to sign
- * requests with (overriding the API configuration). Possible values are:
- * 'v2', 'v3', 'v4'.
- * @option options signatureCache [Boolean] whether the signature to sign
- * requests with (overriding the API configuration) is cached. Only applies
- * to the signature version 'v4'. Defaults to `true`.
- * @option options dynamoDbCrc32 [Boolean] whether to validate the CRC32
- * checksum of HTTP response bodies returned by DynamoDB. Default: `true`.
- * @option options useAccelerateEndpoint [Boolean] Whether to use the
- * S3 Transfer Acceleration endpoint with the S3 service. Default: `false`.
- * @option options clientSideMonitoring [Boolean] whether to collect and
- * publish this client's performance metrics of all its API requests.
- * @option options endpointDiscoveryEnabled [Boolean|undefined] whether to
- * call operations with endpoints given by service dynamically. Setting this
- * config to `true` will enable endpoint discovery for all applicable operations.
- * Setting it to `false` will explicitly disable endpoint discovery even though
- * operations that require endpoint discovery will presumably fail. Leaving it
- * to `undefined` means SDK will only do endpoint discovery when it's required.
- * Defaults to `undefined`
- * @option options endpointCacheSize [Number] the size of the global cache storing
- * endpoints from endpoint discovery operations. Once endpoint cache is created,
- * updating this setting cannot change existing cache size.
- * Defaults to 1000
- * @option options hostPrefixEnabled [Boolean] whether to marshal request
- * parameters to the prefix of hostname.
- * Defaults to `true`.
- * @option options stsRegionalEndpoints ['legacy'|'regional'] whether to send sts request
- * to global endpoints or regional endpoints.
- * Defaults to 'legacy'.
- * @option options useFipsEndpoint [Boolean] Enables FIPS compatible endpoints.
- * Defaults to `false`.
- * @option options useDualstackEndpoint [Boolean] Enables IPv6 dualstack endpoint.
- * Defaults to `false`.
- */
- constructor: function Config(options) {
- if (options === undefined) options = {};
- options = this.extractCredentials(options);
-
- AWS.util.each.call(this, this.keys, function (key, value) {
- this.set(key, options[key], value);
- });
- },
-
- /**
- * @!group Managing Credentials
- */
-
- /**
- * Loads credentials from the configuration object. This is used internally
- * by the SDK to ensure that refreshable {Credentials} objects are properly
- * refreshed and loaded when sending a request. If you want to ensure that
- * your credentials are loaded prior to a request, you can use this method
- * directly to provide accurate credential data stored in the object.
- *
- * @note If you configure the SDK with static or environment credentials,
- * the credential data should already be present in {credentials} attribute.
- * This method is primarily necessary to load credentials from asynchronous
- * sources, or sources that can refresh credentials periodically.
- * @example Getting your access key
- * AWS.config.getCredentials(function(err) {
- * if (err) console.log(err.stack); // credentials not loaded
- * else console.log("Access Key:", AWS.config.credentials.accessKeyId);
- * })
- * @callback callback function(err)
- * Called when the {credentials} have been properly set on the configuration
- * object.
- *
- * @param err [Error] if this is set, credentials were not successfully
- * loaded and this error provides information why.
- * @see credentials
- * @see Credentials
- */
- getCredentials: function getCredentials(callback) {
- var self = this;
-
- function finish(err) {
- callback(err, err ? null : self.credentials);
- }
-
- function credError(msg, err) {
- return new AWS.util.error(err || new Error(), {
- code: 'CredentialsError',
- message: msg,
- name: 'CredentialsError'
- });
- }
-
- function getAsyncCredentials() {
- self.credentials.get(function(err) {
- if (err) {
- var msg = 'Could not load credentials from ' +
- self.credentials.constructor.name;
- err = credError(msg, err);
- }
- finish(err);
- });
- }
-
- function getStaticCredentials() {
- var err = null;
- if (!self.credentials.accessKeyId || !self.credentials.secretAccessKey) {
- err = credError('Missing credentials');
- }
- finish(err);
- }
-
- if (self.credentials) {
- if (typeof self.credentials.get === 'function') {
- getAsyncCredentials();
- } else { // static credentials
- getStaticCredentials();
- }
- } else if (self.credentialProvider) {
- self.credentialProvider.resolve(function(err, creds) {
- if (err) {
- err = credError('Could not load credentials from any providers', err);
- }
- self.credentials = creds;
- finish(err);
- });
- } else {
- finish(credError('No credentials to load'));
- }
- },
-
- /**
- * Loads token from the configuration object. This is used internally
- * by the SDK to ensure that refreshable {Token} objects are properly
- * refreshed and loaded when sending a request. If you want to ensure that
- * your token is loaded prior to a request, you can use this method
- * directly to provide accurate token data stored in the object.
- *
- * @note If you configure the SDK with static token, the token data should
- * already be present in {token} attribute. This method is primarily necessary
- * to load token from asynchronous sources, or sources that can refresh
- * token periodically.
- * @example Getting your access token
- * AWS.config.getToken(function(err) {
- * if (err) console.log(err.stack); // token not loaded
- * else console.log("Token:", AWS.config.token.token);
- * })
- * @callback callback function(err)
- * Called when the {token} have been properly set on the configuration object.
- *
- * @param err [Error] if this is set, token was not successfully loaded and
- * this error provides information why.
- * @see token
- */
- getToken: function getToken(callback) {
- var self = this;
-
- function finish(err) {
- callback(err, err ? null : self.token);
- }
-
- function tokenError(msg, err) {
- return new AWS.util.error(err || new Error(), {
- code: 'TokenError',
- message: msg,
- name: 'TokenError'
- });
- }
-
- function getAsyncToken() {
- self.token.get(function(err) {
- if (err) {
- var msg = 'Could not load token from ' +
- self.token.constructor.name;
- err = tokenError(msg, err);
- }
- finish(err);
- });
- }
-
- function getStaticToken() {
- var err = null;
- if (!self.token.token) {
- err = tokenError('Missing token');
- }
- finish(err);
- }
-
- if (self.token) {
- if (typeof self.token.get === 'function') {
- getAsyncToken();
- } else { // static token
- getStaticToken();
- }
- } else if (self.tokenProvider) {
- self.tokenProvider.resolve(function(err, token) {
- if (err) {
- err = tokenError('Could not load token from any providers', err);
- }
- self.token = token;
- finish(err);
- });
- } else {
- finish(tokenError('No token to load'));
- }
- },
-
- /**
- * @!group Loading and Setting Configuration Options
- */
-
- /**
- * @overload update(options, allowUnknownKeys = false)
- * Updates the current configuration object with new options.
- *
- * @example Update maxRetries property of a configuration object
- * config.update({maxRetries: 10});
- * @param [Object] options a map of option keys and values.
- * @param [Boolean] allowUnknownKeys whether unknown keys can be set on
- * the configuration object. Defaults to `false`.
- * @see constructor
- */
- update: function update(options, allowUnknownKeys) {
- allowUnknownKeys = allowUnknownKeys || false;
- options = this.extractCredentials(options);
- AWS.util.each.call(this, options, function (key, value) {
- if (allowUnknownKeys || Object.prototype.hasOwnProperty.call(this.keys, key) ||
- AWS.Service.hasService(key)) {
- this.set(key, value);
- }
- });
- },
-
- /**
- * Loads configuration data from a JSON file into this config object.
- * @note Loading configuration will reset all existing configuration
- * on the object.
- * @!macro nobrowser
- * @param path [String] the path relative to your process's current
- * working directory to load configuration from.
- * @return [AWS.Config] the same configuration object
- */
- loadFromPath: function loadFromPath(path) {
- this.clear();
-
- var options = JSON.parse(AWS.util.readFileSync(path));
- var fileSystemCreds = new AWS.FileSystemCredentials(path);
- var chain = new AWS.CredentialProviderChain();
- chain.providers.unshift(fileSystemCreds);
- chain.resolve(function (err, creds) {
- if (err) throw err;
- else options.credentials = creds;
- });
-
- this.constructor(options);
-
- return this;
- },
-
- /**
- * Clears configuration data on this object
- *
- * @api private
- */
- clear: function clear() {
- /*jshint forin:false */
- AWS.util.each.call(this, this.keys, function (key) {
- delete this[key];
- });
-
- // reset credential provider
- this.set('credentials', undefined);
- this.set('credentialProvider', undefined);
- },
-
- /**
- * Sets a property on the configuration object, allowing for a
- * default value
- * @api private
- */
- set: function set(property, value, defaultValue) {
- if (value === undefined) {
- if (defaultValue === undefined) {
- defaultValue = this.keys[property];
- }
- if (typeof defaultValue === 'function') {
- this[property] = defaultValue.call(this);
- } else {
- this[property] = defaultValue;
- }
- } else if (property === 'httpOptions' && this[property]) {
- // deep merge httpOptions
- this[property] = AWS.util.merge(this[property], value);
- } else {
- this[property] = value;
- }
- },
-
- /**
- * All of the keys with their default values.
- *
- * @constant
- * @api private
- */
- keys: {
- credentials: null,
- credentialProvider: null,
- region: null,
- logger: null,
- apiVersions: {},
- apiVersion: null,
- endpoint: undefined,
- httpOptions: {
- timeout: 120000
- },
- maxRetries: undefined,
- maxRedirects: 10,
- paramValidation: true,
- sslEnabled: true,
- s3ForcePathStyle: false,
- s3BucketEndpoint: false,
- s3DisableBodySigning: true,
- s3UsEast1RegionalEndpoint: 'legacy',
- s3UseArnRegion: undefined,
- computeChecksums: true,
- convertResponseTypes: true,
- correctClockSkew: false,
- customUserAgent: null,
- dynamoDbCrc32: true,
- systemClockOffset: 0,
- signatureVersion: null,
- signatureCache: true,
- retryDelayOptions: {},
- useAccelerateEndpoint: false,
- clientSideMonitoring: false,
- endpointDiscoveryEnabled: undefined,
- endpointCacheSize: 1000,
- hostPrefixEnabled: true,
- stsRegionalEndpoints: 'legacy',
- useFipsEndpoint: false,
- useDualstackEndpoint: false,
- token: null
- },
-
- /**
- * Extracts accessKeyId, secretAccessKey and sessionToken
- * from a configuration hash.
- *
- * @api private
- */
- extractCredentials: function extractCredentials(options) {
- if (options.accessKeyId && options.secretAccessKey) {
- options = AWS.util.copy(options);
- options.credentials = new AWS.Credentials(options);
- }
- return options;
- },
-
- /**
- * Sets the promise dependency the SDK will use wherever Promises are returned.
- * Passing `null` will force the SDK to use native Promises if they are available.
- * If native Promises are not available, passing `null` will have no effect.
- * @param [Constructor] dep A reference to a Promise constructor
- */
- setPromisesDependency: function setPromisesDependency(dep) {
- PromisesDependency = dep;
- // if null was passed in, we should try to use native promises
- if (dep === null && typeof Promise === 'function') {
- PromisesDependency = Promise;
- }
- var constructors = [AWS.Request, AWS.Credentials, AWS.CredentialProviderChain];
- if (AWS.S3) {
- constructors.push(AWS.S3);
- if (AWS.S3.ManagedUpload) {
- constructors.push(AWS.S3.ManagedUpload);
- }
- }
- AWS.util.addPromises(constructors, PromisesDependency);
- },
-
- /**
- * Gets the promise dependency set by `AWS.config.setPromisesDependency`.
- */
- getPromisesDependency: function getPromisesDependency() {
- return PromisesDependency;
- }
-});
-
-/**
- * @return [AWS.Config] The global configuration object singleton instance
- * @readonly
- * @see AWS.Config
- */
-AWS.config = new AWS.Config();
-
-
-/***/ }),
-
-/***/ 85566:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-/**
- * @api private
- */
-function validateRegionalEndpointsFlagValue(configValue, errorOptions) {
- if (typeof configValue !== 'string') return undefined;
- else if (['legacy', 'regional'].indexOf(configValue.toLowerCase()) >= 0) {
- return configValue.toLowerCase();
- } else {
- throw AWS.util.error(new Error(), errorOptions);
- }
-}
-
-/**
- * Resolve the configuration value for regional endpoint from difference sources: client
- * config, environmental variable, shared config file. Value can be case-insensitive
- * 'legacy' or 'reginal'.
- * @param originalConfig user-supplied config object to resolve
- * @param options a map of config property names from individual configuration source
- * - env: name of environmental variable that refers to the config
- * - sharedConfig: name of shared configuration file property that refers to the config
- * - clientConfig: name of client configuration property that refers to the config
- *
- * @api private
- */
-function resolveRegionalEndpointsFlag(originalConfig, options) {
- originalConfig = originalConfig || {};
- //validate config value
- var resolved;
- if (originalConfig[options.clientConfig]) {
- resolved = validateRegionalEndpointsFlagValue(originalConfig[options.clientConfig], {
- code: 'InvalidConfiguration',
- message: 'invalid "' + options.clientConfig + '" configuration. Expect "legacy" ' +
- ' or "regional". Got "' + originalConfig[options.clientConfig] + '".'
- });
- if (resolved) return resolved;
- }
- if (!AWS.util.isNode()) return resolved;
- //validate environmental variable
- if (Object.prototype.hasOwnProperty.call(process.env, options.env)) {
- var envFlag = process.env[options.env];
- resolved = validateRegionalEndpointsFlagValue(envFlag, {
- code: 'InvalidEnvironmentalVariable',
- message: 'invalid ' + options.env + ' environmental variable. Expect "legacy" ' +
- ' or "regional". Got "' + process.env[options.env] + '".'
- });
- if (resolved) return resolved;
- }
- //validate shared config file
- var profile = {};
- try {
- var profiles = AWS.util.getProfilesFromSharedConfig(AWS.util.iniLoader);
- profile = profiles[process.env.AWS_PROFILE || AWS.util.defaultProfile];
- } catch (e) {};
- if (profile && Object.prototype.hasOwnProperty.call(profile, options.sharedConfig)) {
- var fileFlag = profile[options.sharedConfig];
- resolved = validateRegionalEndpointsFlagValue(fileFlag, {
- code: 'InvalidConfiguration',
- message: 'invalid ' + options.sharedConfig + ' profile config. Expect "legacy" ' +
- ' or "regional". Got "' + profile[options.sharedConfig] + '".'
- });
- if (resolved) return resolved;
- }
- return resolved;
-}
-
-module.exports = resolveRegionalEndpointsFlag;
-
-
-/***/ }),
-
-/***/ 28437:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-/**
- * The main AWS namespace
- */
-var AWS = { util: __webpack_require__(77985) };
-
-/**
- * @api private
- * @!macro [new] nobrowser
- * @note This feature is not supported in the browser environment of the SDK.
- */
-var _hidden = {}; _hidden.toString(); // hack to parse macro
-
-/**
- * @api private
- */
-module.exports = AWS;
-
-AWS.util.update(AWS, {
-
- /**
- * @constant
- */
- VERSION: '2.1354.0',
-
- /**
- * @api private
- */
- Signers: {},
-
- /**
- * @api private
- */
- Protocol: {
- Json: __webpack_require__(30083),
- Query: __webpack_require__(90761),
- Rest: __webpack_require__(98200),
- RestJson: __webpack_require__(5883),
- RestXml: __webpack_require__(15143)
- },
-
- /**
- * @api private
- */
- XML: {
- Builder: __webpack_require__(23546),
- Parser: null // conditionally set based on environment
- },
-
- /**
- * @api private
- */
- JSON: {
- Builder: __webpack_require__(47495),
- Parser: __webpack_require__(5474)
- },
-
- /**
- * @api private
- */
- Model: {
- Api: __webpack_require__(17657),
- Operation: __webpack_require__(28083),
- Shape: __webpack_require__(71349),
- Paginator: __webpack_require__(45938),
- ResourceWaiter: __webpack_require__(41368)
- },
-
- /**
- * @api private
- */
- apiLoader: __webpack_require__(52793),
-
- /**
- * @api private
- */
- EndpointCache: __webpack_require__(96323)/* .EndpointCache */ .$
-});
-__webpack_require__(55948);
-__webpack_require__(68903);
-__webpack_require__(38110);
-__webpack_require__(1556);
-__webpack_require__(54995);
-__webpack_require__(78652);
-__webpack_require__(58743);
-__webpack_require__(39925);
-__webpack_require__(9897);
-__webpack_require__(99127);
-__webpack_require__(93985);
-
-/**
- * @readonly
- * @return [AWS.SequentialExecutor] a collection of global event listeners that
- * are attached to every sent request.
- * @see AWS.Request AWS.Request for a list of events to listen for
- * @example Logging the time taken to send a request
- * AWS.events.on('send', function startSend(resp) {
- * resp.startTime = new Date().getTime();
- * }).on('complete', function calculateTime(resp) {
- * var time = (new Date().getTime() - resp.startTime) / 1000;
- * console.log('Request took ' + time + ' seconds');
- * });
- *
- * new AWS.S3().listBuckets(); // prints 'Request took 0.285 seconds'
- */
-AWS.events = new AWS.SequentialExecutor();
-
-//create endpoint cache lazily
-AWS.util.memoizedProperty(AWS, 'endpointCache', function() {
- return new AWS.EndpointCache(AWS.config.endpointCacheSize);
-}, true);
-
-
-/***/ }),
-
-/***/ 53819:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-
-/**
- * Represents your AWS security credentials, specifically the
- * {accessKeyId}, {secretAccessKey}, and optional {sessionToken}.
- * Creating a `Credentials` object allows you to pass around your
- * security information to configuration and service objects.
- *
- * Note that this class typically does not need to be constructed manually,
- * as the {AWS.Config} and {AWS.Service} classes both accept simple
- * options hashes with the three keys. These structures will be converted
- * into Credentials objects automatically.
- *
- * ## Expiring and Refreshing Credentials
- *
- * Occasionally credentials can expire in the middle of a long-running
- * application. In this case, the SDK will automatically attempt to
- * refresh the credentials from the storage location if the Credentials
- * class implements the {refresh} method.
- *
- * If you are implementing a credential storage location, you
- * will want to create a subclass of the `Credentials` class and
- * override the {refresh} method. This method allows credentials to be
- * retrieved from the backing store, be it a file system, database, or
- * some network storage. The method should reset the credential attributes
- * on the object.
- *
- * @!attribute expired
- * @return [Boolean] whether the credentials have been expired and
- * require a refresh. Used in conjunction with {expireTime}.
- * @!attribute expireTime
- * @return [Date] a time when credentials should be considered expired. Used
- * in conjunction with {expired}.
- * @!attribute accessKeyId
- * @return [String] the AWS access key ID
- * @!attribute secretAccessKey
- * @return [String] the AWS secret access key
- * @!attribute sessionToken
- * @return [String] an optional AWS session token
- */
-AWS.Credentials = AWS.util.inherit({
- /**
- * A credentials object can be created using positional arguments or an options
- * hash.
- *
- * @overload AWS.Credentials(accessKeyId, secretAccessKey, sessionToken=null)
- * Creates a Credentials object with a given set of credential information
- * as positional arguments.
- * @param accessKeyId [String] the AWS access key ID
- * @param secretAccessKey [String] the AWS secret access key
- * @param sessionToken [String] the optional AWS session token
- * @example Create a credentials object with AWS credentials
- * var creds = new AWS.Credentials('akid', 'secret', 'session');
- * @overload AWS.Credentials(options)
- * Creates a Credentials object with a given set of credential information
- * as an options hash.
- * @option options accessKeyId [String] the AWS access key ID
- * @option options secretAccessKey [String] the AWS secret access key
- * @option options sessionToken [String] the optional AWS session token
- * @example Create a credentials object with AWS credentials
- * var creds = new AWS.Credentials({
- * accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'session'
- * });
- */
- constructor: function Credentials() {
- // hide secretAccessKey from being displayed with util.inspect
- AWS.util.hideProperties(this, ['secretAccessKey']);
-
- this.expired = false;
- this.expireTime = null;
- this.refreshCallbacks = [];
- if (arguments.length === 1 && typeof arguments[0] === 'object') {
- var creds = arguments[0].credentials || arguments[0];
- this.accessKeyId = creds.accessKeyId;
- this.secretAccessKey = creds.secretAccessKey;
- this.sessionToken = creds.sessionToken;
- } else {
- this.accessKeyId = arguments[0];
- this.secretAccessKey = arguments[1];
- this.sessionToken = arguments[2];
- }
- },
-
- /**
- * @return [Integer] the number of seconds before {expireTime} during which
- * the credentials will be considered expired.
- */
- expiryWindow: 15,
-
- /**
- * @return [Boolean] whether the credentials object should call {refresh}
- * @note Subclasses should override this method to provide custom refresh
- * logic.
- */
- needsRefresh: function needsRefresh() {
- var currentTime = AWS.util.date.getDate().getTime();
- var adjustedTime = new Date(currentTime + this.expiryWindow * 1000);
-
- if (this.expireTime && adjustedTime > this.expireTime) {
- return true;
- } else {
- return this.expired || !this.accessKeyId || !this.secretAccessKey;
- }
- },
-
- /**
- * Gets the existing credentials, refreshing them if they are not yet loaded
- * or have expired. Users should call this method before using {refresh},
- * as this will not attempt to reload credentials when they are already
- * loaded into the object.
- *
- * @callback callback function(err)
- * When this callback is called with no error, it means either credentials
- * do not need to be refreshed or refreshed credentials information has
- * been loaded into the object (as the `accessKeyId`, `secretAccessKey`,
- * and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- */
- get: function get(callback) {
- var self = this;
- if (this.needsRefresh()) {
- this.refresh(function(err) {
- if (!err) self.expired = false; // reset expired flag
- if (callback) callback(err);
- });
- } else if (callback) {
- callback();
- }
- },
-
- /**
- * @!method getPromise()
- * Returns a 'thenable' promise.
- * Gets the existing credentials, refreshing them if they are not yet loaded
- * or have expired. Users should call this method before using {refresh},
- * as this will not attempt to reload credentials when they are already
- * loaded into the object.
- *
- * Two callbacks can be provided to the `then` method on the returned promise.
- * The first callback will be called if the promise is fulfilled, and the second
- * callback will be called if the promise is rejected.
- * @callback fulfilledCallback function()
- * Called if the promise is fulfilled. When this callback is called, it
- * means either credentials do not need to be refreshed or refreshed
- * credentials information has been loaded into the object (as the
- * `accessKeyId`, `secretAccessKey`, and `sessionToken` properties).
- * @callback rejectedCallback function(err)
- * Called if the promise is rejected.
- * @param err [Error] if an error occurred, this value will be filled
- * @return [Promise] A promise that represents the state of the `get` call.
- * @example Calling the `getPromise` method.
- * var promise = credProvider.getPromise();
- * promise.then(function() { ... }, function(err) { ... });
- */
-
- /**
- * @!method refreshPromise()
- * Returns a 'thenable' promise.
- * Refreshes the credentials. Users should call {get} before attempting
- * to forcibly refresh credentials.
- *
- * Two callbacks can be provided to the `then` method on the returned promise.
- * The first callback will be called if the promise is fulfilled, and the second
- * callback will be called if the promise is rejected.
- * @callback fulfilledCallback function()
- * Called if the promise is fulfilled. When this callback is called, it
- * means refreshed credentials information has been loaded into the object
- * (as the `accessKeyId`, `secretAccessKey`, and `sessionToken` properties).
- * @callback rejectedCallback function(err)
- * Called if the promise is rejected.
- * @param err [Error] if an error occurred, this value will be filled
- * @return [Promise] A promise that represents the state of the `refresh` call.
- * @example Calling the `refreshPromise` method.
- * var promise = credProvider.refreshPromise();
- * promise.then(function() { ... }, function(err) { ... });
- */
-
- /**
- * Refreshes the credentials. Users should call {get} before attempting
- * to forcibly refresh credentials.
- *
- * @callback callback function(err)
- * When this callback is called with no error, it means refreshed
- * credentials information has been loaded into the object (as the
- * `accessKeyId`, `secretAccessKey`, and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @note Subclasses should override this class to reset the
- * {accessKeyId}, {secretAccessKey} and optional {sessionToken}
- * on the credentials object and then call the callback with
- * any error information.
- * @see get
- */
- refresh: function refresh(callback) {
- this.expired = false;
- callback();
- },
-
- /**
- * @api private
- * @param callback
- */
- coalesceRefresh: function coalesceRefresh(callback, sync) {
- var self = this;
- if (self.refreshCallbacks.push(callback) === 1) {
- self.load(function onLoad(err) {
- AWS.util.arrayEach(self.refreshCallbacks, function(callback) {
- if (sync) {
- callback(err);
- } else {
- // callback could throw, so defer to ensure all callbacks are notified
- AWS.util.defer(function () {
- callback(err);
- });
- }
- });
- self.refreshCallbacks.length = 0;
- });
- }
- },
-
- /**
- * @api private
- * @param callback
- */
- load: function load(callback) {
- callback();
- }
-});
-
-/**
- * @api private
- */
-AWS.Credentials.addPromisesToClass = function addPromisesToClass(PromiseDependency) {
- this.prototype.getPromise = AWS.util.promisifyMethod('get', PromiseDependency);
- this.prototype.refreshPromise = AWS.util.promisifyMethod('refresh', PromiseDependency);
-};
-
-/**
- * @api private
- */
-AWS.Credentials.deletePromisesFromClass = function deletePromisesFromClass() {
- delete this.prototype.getPromise;
- delete this.prototype.refreshPromise;
-};
-
-AWS.util.addPromises(AWS.Credentials);
-
-
-/***/ }),
-
-/***/ 57083:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var STS = __webpack_require__(57513);
-
-/**
- * Represents temporary credentials retrieved from {AWS.STS}. Without any
- * extra parameters, credentials will be fetched from the
- * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the
- * {AWS.STS.assumeRole} operation will be used to fetch credentials for the
- * role instead.
- *
- * AWS.ChainableTemporaryCredentials differs from AWS.TemporaryCredentials in
- * the way masterCredentials and refreshes are handled.
- * AWS.ChainableTemporaryCredentials refreshes expired credentials using the
- * masterCredentials passed by the user to support chaining of STS credentials.
- * However, AWS.TemporaryCredentials recursively collapses the masterCredentials
- * during instantiation, precluding the ability to refresh credentials which
- * require intermediate, temporary credentials.
- *
- * For example, if the application should use RoleA, which must be assumed from
- * RoleB, and the environment provides credentials which can assume RoleB, then
- * AWS.ChainableTemporaryCredentials must be used to support refreshing the
- * temporary credentials for RoleA:
- *
- * ```javascript
- * var roleACreds = new AWS.ChainableTemporaryCredentials({
- * params: {RoleArn: 'RoleA'},
- * masterCredentials: new AWS.ChainableTemporaryCredentials({
- * params: {RoleArn: 'RoleB'},
- * masterCredentials: new AWS.EnvironmentCredentials('AWS')
- * })
- * });
- * ```
- *
- * If AWS.TemporaryCredentials had been used in the previous example,
- * `roleACreds` would fail to refresh because `roleACreds` would
- * use the environment credentials for the AssumeRole request.
- *
- * Another difference is that AWS.ChainableTemporaryCredentials creates the STS
- * service instance during instantiation while AWS.TemporaryCredentials creates
- * the STS service instance during the first refresh. Creating the service
- * instance during instantiation effectively captures the master credentials
- * from the global config, so that subsequent changes to the global config do
- * not affect the master credentials used to refresh the temporary credentials.
- *
- * This allows an instance of AWS.ChainableTemporaryCredentials to be assigned
- * to AWS.config.credentials:
- *
- * ```javascript
- * var envCreds = new AWS.EnvironmentCredentials('AWS');
- * AWS.config.credentials = envCreds;
- * // masterCredentials will be envCreds
- * AWS.config.credentials = new AWS.ChainableTemporaryCredentials({
- * params: {RoleArn: '...'}
- * });
- * ```
- *
- * Similarly, to use the CredentialProviderChain's default providers as the
- * master credentials, simply create a new instance of
- * AWS.ChainableTemporaryCredentials:
- *
- * ```javascript
- * AWS.config.credentials = new ChainableTemporaryCredentials({
- * params: {RoleArn: '...'}
- * });
- * ```
- *
- * @!attribute service
- * @return [AWS.STS] the STS service instance used to
- * get and refresh temporary credentials from AWS STS.
- * @note (see constructor)
- */
-AWS.ChainableTemporaryCredentials = AWS.util.inherit(AWS.Credentials, {
- /**
- * Creates a new temporary credentials object.
- *
- * @param options [map] a set of options
- * @option options params [map] ({}) a map of options that are passed to the
- * {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations.
- * If a `RoleArn` parameter is passed in, credentials will be based on the
- * IAM role. If a `SerialNumber` parameter is passed in, {tokenCodeFn} must
- * also be passed in or an error will be thrown.
- * @option options masterCredentials [AWS.Credentials] the master credentials
- * used to get and refresh temporary credentials from AWS STS. By default,
- * AWS.config.credentials or AWS.config.credentialProvider will be used.
- * @option options tokenCodeFn [Function] (null) Function to provide
- * `TokenCode`, if `SerialNumber` is provided for profile in {params}. Function
- * is called with value of `SerialNumber` and `callback`, and should provide
- * the `TokenCode` or an error to the callback in the format
- * `callback(err, token)`.
- * @example Creating a new credentials object for generic temporary credentials
- * AWS.config.credentials = new AWS.ChainableTemporaryCredentials();
- * @example Creating a new credentials object for an IAM role
- * AWS.config.credentials = new AWS.ChainableTemporaryCredentials({
- * params: {
- * RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials'
- * }
- * });
- * @see AWS.STS.assumeRole
- * @see AWS.STS.getSessionToken
- */
- constructor: function ChainableTemporaryCredentials(options) {
- AWS.Credentials.call(this);
- options = options || {};
- this.errorCode = 'ChainableTemporaryCredentialsProviderFailure';
- this.expired = true;
- this.tokenCodeFn = null;
-
- var params = AWS.util.copy(options.params) || {};
- if (params.RoleArn) {
- params.RoleSessionName = params.RoleSessionName || 'temporary-credentials';
- }
- if (params.SerialNumber) {
- if (!options.tokenCodeFn || (typeof options.tokenCodeFn !== 'function')) {
- throw new AWS.util.error(
- new Error('tokenCodeFn must be a function when params.SerialNumber is given'),
- {code: this.errorCode}
- );
- } else {
- this.tokenCodeFn = options.tokenCodeFn;
- }
- }
- var config = AWS.util.merge(
- {
- params: params,
- credentials: options.masterCredentials || AWS.config.credentials
- },
- options.stsConfig || {}
- );
- this.service = new STS(config);
- },
-
- /**
- * Refreshes credentials using {AWS.STS.assumeRole} or
- * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed
- * to the credentials {constructor}.
- *
- * @callback callback function(err)
- * Called when the STS service responds (or fails). When
- * this callback is called with no error, it means that the credentials
- * information has been loaded into the object (as the `accessKeyId`,
- * `secretAccessKey`, and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see AWS.Credentials.get
- */
- refresh: function refresh(callback) {
- this.coalesceRefresh(callback || AWS.util.fn.callback);
- },
-
- /**
- * @api private
- * @param callback
- */
- load: function load(callback) {
- var self = this;
- var operation = self.service.config.params.RoleArn ? 'assumeRole' : 'getSessionToken';
- this.getTokenCode(function (err, tokenCode) {
- var params = {};
- if (err) {
- callback(err);
- return;
- }
- if (tokenCode) {
- params.TokenCode = tokenCode;
- }
- self.service[operation](params, function (err, data) {
- if (!err) {
- self.service.credentialsFrom(data, self);
- }
- callback(err);
- });
- });
- },
-
- /**
- * @api private
- */
- getTokenCode: function getTokenCode(callback) {
- var self = this;
- if (this.tokenCodeFn) {
- this.tokenCodeFn(this.service.config.params.SerialNumber, function (err, token) {
- if (err) {
- var message = err;
- if (err instanceof Error) {
- message = err.message;
- }
- callback(
- AWS.util.error(
- new Error('Error fetching MFA token: ' + message),
- { code: self.errorCode}
- )
- );
- return;
- }
- callback(null, token);
- });
- } else {
- callback(null);
- }
- }
-});
-
-
-/***/ }),
-
-/***/ 3498:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var CognitoIdentity = __webpack_require__(58291);
-var STS = __webpack_require__(57513);
-
-/**
- * Represents credentials retrieved from STS Web Identity Federation using
- * the Amazon Cognito Identity service.
- *
- * By default this provider gets credentials using the
- * {AWS.CognitoIdentity.getCredentialsForIdentity} service operation, which
- * requires either an `IdentityId` or an `IdentityPoolId` (Amazon Cognito
- * Identity Pool ID), which is used to call {AWS.CognitoIdentity.getId} to
- * obtain an `IdentityId`. If the identity or identity pool is not configured in
- * the Amazon Cognito Console to use IAM roles with the appropriate permissions,
- * then additionally a `RoleArn` is required containing the ARN of the IAM trust
- * policy for the Amazon Cognito role that the user will log into. If a `RoleArn`
- * is provided, then this provider gets credentials using the
- * {AWS.STS.assumeRoleWithWebIdentity} service operation, after first getting an
- * Open ID token from {AWS.CognitoIdentity.getOpenIdToken}.
- *
- * In addition, if this credential provider is used to provide authenticated
- * login, the `Logins` map may be set to the tokens provided by the respective
- * identity providers. See {constructor} for an example on creating a credentials
- * object with proper property values.
- *
- * ## Refreshing Credentials from Identity Service
- *
- * In addition to AWS credentials expiring after a given amount of time, the
- * login token from the identity provider will also expire. Once this token
- * expires, it will not be usable to refresh AWS credentials, and another
- * token will be needed. The SDK does not manage refreshing of the token value,
- * but this can be done through a "refresh token" supported by most identity
- * providers. Consult the documentation for the identity provider for refreshing
- * tokens. Once the refreshed token is acquired, you should make sure to update
- * this new token in the credentials object's {params} property. The following
- * code will update the WebIdentityToken, assuming you have retrieved an updated
- * token from the identity provider:
- *
- * ```javascript
- * AWS.config.credentials.params.Logins['graph.facebook.com'] = updatedToken;
- * ```
- *
- * Future calls to `credentials.refresh()` will now use the new token.
- *
- * @!attribute params
- * @return [map] the map of params passed to
- * {AWS.CognitoIdentity.getId},
- * {AWS.CognitoIdentity.getOpenIdToken}, and
- * {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the
- * `params.WebIdentityToken` property.
- * @!attribute data
- * @return [map] the raw data response from the call to
- * {AWS.CognitoIdentity.getCredentialsForIdentity}, or
- * {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get
- * access to other properties from the response.
- * @!attribute identityId
- * @return [String] the Cognito ID returned by the last call to
- * {AWS.CognitoIdentity.getOpenIdToken}. This ID represents the actual
- * final resolved identity ID from Amazon Cognito.
- */
-AWS.CognitoIdentityCredentials = AWS.util.inherit(AWS.Credentials, {
- /**
- * @api private
- */
- localStorageKey: {
- id: 'aws.cognito.identity-id.',
- providers: 'aws.cognito.identity-providers.'
- },
-
- /**
- * Creates a new credentials object.
- * @example Creating a new credentials object
- * AWS.config.credentials = new AWS.CognitoIdentityCredentials({
- *
- * // either IdentityPoolId or IdentityId is required
- * // See the IdentityPoolId param for AWS.CognitoIdentity.getID (linked below)
- * // See the IdentityId param for AWS.CognitoIdentity.getCredentialsForIdentity
- * // or AWS.CognitoIdentity.getOpenIdToken (linked below)
- * IdentityPoolId: 'us-east-1:1699ebc0-7900-4099-b910-2df94f52a030',
- * IdentityId: 'us-east-1:128d0a74-c82f-4553-916d-90053e4a8b0f'
- *
- * // optional, only necessary when the identity pool is not configured
- * // to use IAM roles in the Amazon Cognito Console
- * // See the RoleArn param for AWS.STS.assumeRoleWithWebIdentity (linked below)
- * RoleArn: 'arn:aws:iam::1234567890:role/MYAPP-CognitoIdentity',
- *
- * // optional tokens, used for authenticated login
- * // See the Logins param for AWS.CognitoIdentity.getID (linked below)
- * Logins: {
- * 'graph.facebook.com': 'FBTOKEN',
- * 'www.amazon.com': 'AMAZONTOKEN',
- * 'accounts.google.com': 'GOOGLETOKEN',
- * 'api.twitter.com': 'TWITTERTOKEN',
- * 'www.digits.com': 'DIGITSTOKEN'
- * },
- *
- * // optional name, defaults to web-identity
- * // See the RoleSessionName param for AWS.STS.assumeRoleWithWebIdentity (linked below)
- * RoleSessionName: 'web',
- *
- * // optional, only necessary when application runs in a browser
- * // and multiple users are signed in at once, used for caching
- * LoginId: 'example@gmail.com'
- *
- * }, {
- * // optionally provide configuration to apply to the underlying service clients
- * // if configuration is not provided, then configuration will be pulled from AWS.config
- *
- * // region should match the region your identity pool is located in
- * region: 'us-east-1',
- *
- * // specify timeout options
- * httpOptions: {
- * timeout: 100
- * }
- * });
- * @see AWS.CognitoIdentity.getId
- * @see AWS.CognitoIdentity.getCredentialsForIdentity
- * @see AWS.STS.assumeRoleWithWebIdentity
- * @see AWS.CognitoIdentity.getOpenIdToken
- * @see AWS.Config
- * @note If a region is not provided in the global AWS.config, or
- * specified in the `clientConfig` to the CognitoIdentityCredentials
- * constructor, you may encounter a 'Missing credentials in config' error
- * when calling making a service call.
- */
- constructor: function CognitoIdentityCredentials(params, clientConfig) {
- AWS.Credentials.call(this);
- this.expired = true;
- this.params = params;
- this.data = null;
- this._identityId = null;
- this._clientConfig = AWS.util.copy(clientConfig || {});
- this.loadCachedId();
- var self = this;
- Object.defineProperty(this, 'identityId', {
- get: function() {
- self.loadCachedId();
- return self._identityId || self.params.IdentityId;
- },
- set: function(identityId) {
- self._identityId = identityId;
- }
- });
- },
-
- /**
- * Refreshes credentials using {AWS.CognitoIdentity.getCredentialsForIdentity},
- * or {AWS.STS.assumeRoleWithWebIdentity}.
- *
- * @callback callback function(err)
- * Called when the STS service responds (or fails). When
- * this callback is called with no error, it means that the credentials
- * information has been loaded into the object (as the `accessKeyId`,
- * `secretAccessKey`, and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see AWS.Credentials.get
- */
- refresh: function refresh(callback) {
- this.coalesceRefresh(callback || AWS.util.fn.callback);
- },
-
- /**
- * @api private
- * @param callback
- */
- load: function load(callback) {
- var self = this;
- self.createClients();
- self.data = null;
- self._identityId = null;
- self.getId(function(err) {
- if (!err) {
- if (!self.params.RoleArn) {
- self.getCredentialsForIdentity(callback);
- } else {
- self.getCredentialsFromSTS(callback);
- }
- } else {
- self.clearIdOnNotAuthorized(err);
- callback(err);
- }
- });
- },
-
- /**
- * Clears the cached Cognito ID associated with the currently configured
- * identity pool ID. Use this to manually invalidate your cache if
- * the identity pool ID was deleted.
- */
- clearCachedId: function clearCache() {
- this._identityId = null;
- delete this.params.IdentityId;
-
- var poolId = this.params.IdentityPoolId;
- var loginId = this.params.LoginId || '';
- delete this.storage[this.localStorageKey.id + poolId + loginId];
- delete this.storage[this.localStorageKey.providers + poolId + loginId];
- },
-
- /**
- * @api private
- */
- clearIdOnNotAuthorized: function clearIdOnNotAuthorized(err) {
- var self = this;
- if (err.code == 'NotAuthorizedException') {
- self.clearCachedId();
- }
- },
-
- /**
- * Retrieves a Cognito ID, loading from cache if it was already retrieved
- * on this device.
- *
- * @callback callback function(err, identityId)
- * @param err [Error, null] an error object if the call failed or null if
- * it succeeded.
- * @param identityId [String, null] if successful, the callback will return
- * the Cognito ID.
- * @note If not loaded explicitly, the Cognito ID is loaded and stored in
- * localStorage in the browser environment of a device.
- * @api private
- */
- getId: function getId(callback) {
- var self = this;
- if (typeof self.params.IdentityId === 'string') {
- return callback(null, self.params.IdentityId);
- }
-
- self.cognito.getId(function(err, data) {
- if (!err && data.IdentityId) {
- self.params.IdentityId = data.IdentityId;
- callback(null, data.IdentityId);
- } else {
- callback(err);
- }
- });
- },
-
-
- /**
- * @api private
- */
- loadCredentials: function loadCredentials(data, credentials) {
- if (!data || !credentials) return;
- credentials.expired = false;
- credentials.accessKeyId = data.Credentials.AccessKeyId;
- credentials.secretAccessKey = data.Credentials.SecretKey;
- credentials.sessionToken = data.Credentials.SessionToken;
- credentials.expireTime = data.Credentials.Expiration;
- },
-
- /**
- * @api private
- */
- getCredentialsForIdentity: function getCredentialsForIdentity(callback) {
- var self = this;
- self.cognito.getCredentialsForIdentity(function(err, data) {
- if (!err) {
- self.cacheId(data);
- self.data = data;
- self.loadCredentials(self.data, self);
- } else {
- self.clearIdOnNotAuthorized(err);
- }
- callback(err);
- });
- },
-
- /**
- * @api private
- */
- getCredentialsFromSTS: function getCredentialsFromSTS(callback) {
- var self = this;
- self.cognito.getOpenIdToken(function(err, data) {
- if (!err) {
- self.cacheId(data);
- self.params.WebIdentityToken = data.Token;
- self.webIdentityCredentials.refresh(function(webErr) {
- if (!webErr) {
- self.data = self.webIdentityCredentials.data;
- self.sts.credentialsFrom(self.data, self);
- }
- callback(webErr);
- });
- } else {
- self.clearIdOnNotAuthorized(err);
- callback(err);
- }
- });
- },
-
- /**
- * @api private
- */
- loadCachedId: function loadCachedId() {
- var self = this;
-
- // in the browser we source default IdentityId from localStorage
- if (AWS.util.isBrowser() && !self.params.IdentityId) {
- var id = self.getStorage('id');
- if (id && self.params.Logins) {
- var actualProviders = Object.keys(self.params.Logins);
- var cachedProviders =
- (self.getStorage('providers') || '').split(',');
-
- // only load ID if at least one provider used this ID before
- var intersect = cachedProviders.filter(function(n) {
- return actualProviders.indexOf(n) !== -1;
- });
- if (intersect.length !== 0) {
- self.params.IdentityId = id;
- }
- } else if (id) {
- self.params.IdentityId = id;
- }
- }
- },
-
- /**
- * @api private
- */
- createClients: function() {
- var clientConfig = this._clientConfig;
- this.webIdentityCredentials = this.webIdentityCredentials ||
- new AWS.WebIdentityCredentials(this.params, clientConfig);
- if (!this.cognito) {
- var cognitoConfig = AWS.util.merge({}, clientConfig);
- cognitoConfig.params = this.params;
- this.cognito = new CognitoIdentity(cognitoConfig);
- }
- this.sts = this.sts || new STS(clientConfig);
- },
-
- /**
- * @api private
- */
- cacheId: function cacheId(data) {
- this._identityId = data.IdentityId;
- this.params.IdentityId = this._identityId;
-
- // cache this IdentityId in browser localStorage if possible
- if (AWS.util.isBrowser()) {
- this.setStorage('id', data.IdentityId);
-
- if (this.params.Logins) {
- this.setStorage('providers', Object.keys(this.params.Logins).join(','));
- }
- }
- },
-
- /**
- * @api private
- */
- getStorage: function getStorage(key) {
- return this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')];
- },
-
- /**
- * @api private
- */
- setStorage: function setStorage(key, val) {
- try {
- this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')] = val;
- } catch (_) {}
- },
-
- /**
- * @api private
- */
- storage: (function() {
- try {
- var storage = AWS.util.isBrowser() && window.localStorage !== null && typeof window.localStorage === 'object' ?
- window.localStorage : {};
-
- // Test set/remove which would throw an error in Safari's private browsing
- storage['aws.test-storage'] = 'foobar';
- delete storage['aws.test-storage'];
-
- return storage;
- } catch (_) {
- return {};
- }
- })()
-});
-
-
-/***/ }),
-
-/***/ 36965:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-
-/**
- * Creates a credential provider chain that searches for AWS credentials
- * in a list of credential providers specified by the {providers} property.
- *
- * By default, the chain will use the {defaultProviders} to resolve credentials.
- * These providers will look in the environment using the
- * {AWS.EnvironmentCredentials} class with the 'AWS' and 'AMAZON' prefixes.
- *
- * ## Setting Providers
- *
- * Each provider in the {providers} list should be a function that returns
- * a {AWS.Credentials} object, or a hardcoded credentials object. The function
- * form allows for delayed execution of the credential construction.
- *
- * ## Resolving Credentials from a Chain
- *
- * Call {resolve} to return the first valid credential object that can be
- * loaded by the provider chain.
- *
- * For example, to resolve a chain with a custom provider that checks a file
- * on disk after the set of {defaultProviders}:
- *
- * ```javascript
- * var diskProvider = new AWS.FileSystemCredentials('./creds.json');
- * var chain = new AWS.CredentialProviderChain();
- * chain.providers.push(diskProvider);
- * chain.resolve();
- * ```
- *
- * The above code will return the `diskProvider` object if the
- * file contains credentials and the `defaultProviders` do not contain
- * any credential settings.
- *
- * @!attribute providers
- * @return [Array]
- * a list of credentials objects or functions that return credentials
- * objects. If the provider is a function, the function will be
- * executed lazily when the provider needs to be checked for valid
- * credentials. By default, this object will be set to the
- * {defaultProviders}.
- * @see defaultProviders
- */
-AWS.CredentialProviderChain = AWS.util.inherit(AWS.Credentials, {
-
- /**
- * Creates a new CredentialProviderChain with a default set of providers
- * specified by {defaultProviders}.
- */
- constructor: function CredentialProviderChain(providers) {
- if (providers) {
- this.providers = providers;
- } else {
- this.providers = AWS.CredentialProviderChain.defaultProviders.slice(0);
- }
- this.resolveCallbacks = [];
- },
-
- /**
- * @!method resolvePromise()
- * Returns a 'thenable' promise.
- * Resolves the provider chain by searching for the first set of
- * credentials in {providers}.
- *
- * Two callbacks can be provided to the `then` method on the returned promise.
- * The first callback will be called if the promise is fulfilled, and the second
- * callback will be called if the promise is rejected.
- * @callback fulfilledCallback function(credentials)
- * Called if the promise is fulfilled and the provider resolves the chain
- * to a credentials object
- * @param credentials [AWS.Credentials] the credentials object resolved
- * by the provider chain.
- * @callback rejectedCallback function(error)
- * Called if the promise is rejected.
- * @param err [Error] the error object returned if no credentials are found.
- * @return [Promise] A promise that represents the state of the `resolve` method call.
- * @example Calling the `resolvePromise` method.
- * var promise = chain.resolvePromise();
- * promise.then(function(credentials) { ... }, function(err) { ... });
- */
-
- /**
- * Resolves the provider chain by searching for the first set of
- * credentials in {providers}.
- *
- * @callback callback function(err, credentials)
- * Called when the provider resolves the chain to a credentials object
- * or null if no credentials can be found.
- *
- * @param err [Error] the error object returned if no credentials are
- * found.
- * @param credentials [AWS.Credentials] the credentials object resolved
- * by the provider chain.
- * @return [AWS.CredentialProviderChain] the provider, for chaining.
- */
- resolve: function resolve(callback) {
- var self = this;
- if (self.providers.length === 0) {
- callback(new Error('No providers'));
- return self;
- }
-
- if (self.resolveCallbacks.push(callback) === 1) {
- var index = 0;
- var providers = self.providers.slice(0);
-
- function resolveNext(err, creds) {
- if ((!err && creds) || index === providers.length) {
- AWS.util.arrayEach(self.resolveCallbacks, function (callback) {
- callback(err, creds);
- });
- self.resolveCallbacks.length = 0;
- return;
- }
-
- var provider = providers[index++];
- if (typeof provider === 'function') {
- creds = provider.call();
- } else {
- creds = provider;
- }
-
- if (creds.get) {
- creds.get(function (getErr) {
- resolveNext(getErr, getErr ? null : creds);
- });
- } else {
- resolveNext(null, creds);
- }
- }
-
- resolveNext();
- }
-
- return self;
- }
-});
-
-/**
- * The default set of providers used by a vanilla CredentialProviderChain.
- *
- * In the browser:
- *
- * ```javascript
- * AWS.CredentialProviderChain.defaultProviders = []
- * ```
- *
- * In Node.js:
- *
- * ```javascript
- * AWS.CredentialProviderChain.defaultProviders = [
- * function () { return new AWS.EnvironmentCredentials('AWS'); },
- * function () { return new AWS.EnvironmentCredentials('AMAZON'); },
- * function () { return new AWS.SsoCredentials(); },
- * function () { return new AWS.SharedIniFileCredentials(); },
- * function () { return new AWS.ECSCredentials(); },
- * function () { return new AWS.ProcessCredentials(); },
- * function () { return new AWS.TokenFileWebIdentityCredentials(); },
- * function () { return new AWS.EC2MetadataCredentials() }
- * ]
- * ```
- */
-AWS.CredentialProviderChain.defaultProviders = [];
-
-/**
- * @api private
- */
-AWS.CredentialProviderChain.addPromisesToClass = function addPromisesToClass(PromiseDependency) {
- this.prototype.resolvePromise = AWS.util.promisifyMethod('resolve', PromiseDependency);
-};
-
-/**
- * @api private
- */
-AWS.CredentialProviderChain.deletePromisesFromClass = function deletePromisesFromClass() {
- delete this.prototype.resolvePromise;
-};
-
-AWS.util.addPromises(AWS.CredentialProviderChain);
-
-
-/***/ }),
-
-/***/ 73379:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-__webpack_require__(25768);
-
-/**
- * Represents credentials received from the metadata service on an EC2 instance.
- *
- * By default, this class will connect to the metadata service using
- * {AWS.MetadataService} and attempt to load any available credentials. If it
- * can connect, and credentials are available, these will be used with zero
- * configuration.
- *
- * This credentials class will by default timeout after 1 second of inactivity
- * and retry 3 times.
- * If your requests to the EC2 metadata service are timing out, you can increase
- * these values by configuring them directly:
- *
- * ```javascript
- * AWS.config.credentials = new AWS.EC2MetadataCredentials({
- * httpOptions: { timeout: 5000 }, // 5 second timeout
- * maxRetries: 10, // retry 10 times
- * retryDelayOptions: { base: 200 }, // see AWS.Config for information
- * logger: console // see AWS.Config for information
- * });
- * ```
- *
- * If your requests are timing out in connecting to the metadata service, such
- * as when testing on a development machine, you can use the connectTimeout
- * option, specified in milliseconds, which also defaults to 1 second.
- *
- * If the requests failed or returns expired credentials, it will
- * extend the expiration of current credential, with a warning message. For more
- * information, please go to:
- * https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html
- *
- * @!attribute originalExpiration
- * @return [Date] The optional original expiration of the current credential.
- * In case of AWS outage, the EC2 metadata will extend expiration of the
- * existing credential.
- *
- * @see AWS.Config.retryDelayOptions
- * @see AWS.Config.logger
- *
- * @!macro nobrowser
- */
-AWS.EC2MetadataCredentials = AWS.util.inherit(AWS.Credentials, {
- constructor: function EC2MetadataCredentials(options) {
- AWS.Credentials.call(this);
-
- options = options ? AWS.util.copy(options) : {};
- options = AWS.util.merge(
- {maxRetries: this.defaultMaxRetries}, options);
- if (!options.httpOptions) options.httpOptions = {};
- options.httpOptions = AWS.util.merge(
- {timeout: this.defaultTimeout,
- connectTimeout: this.defaultConnectTimeout},
- options.httpOptions);
-
- this.metadataService = new AWS.MetadataService(options);
- this.logger = options.logger || AWS.config && AWS.config.logger;
- },
-
- /**
- * @api private
- */
- defaultTimeout: 1000,
-
- /**
- * @api private
- */
- defaultConnectTimeout: 1000,
-
- /**
- * @api private
- */
- defaultMaxRetries: 3,
-
- /**
- * The original expiration of the current credential. In case of AWS
- * outage, the EC2 metadata will extend expiration of the existing
- * credential.
- */
- originalExpiration: undefined,
-
- /**
- * Loads the credentials from the instance metadata service
- *
- * @callback callback function(err)
- * Called when the instance metadata service responds (or fails). When
- * this callback is called with no error, it means that the credentials
- * information has been loaded into the object (as the `accessKeyId`,
- * `secretAccessKey`, and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see get
- */
- refresh: function refresh(callback) {
- this.coalesceRefresh(callback || AWS.util.fn.callback);
- },
-
- /**
- * @api private
- * @param callback
- */
- load: function load(callback) {
- var self = this;
- self.metadataService.loadCredentials(function(err, creds) {
- if (err) {
- if (self.hasLoadedCredentials()) {
- self.extendExpirationIfExpired();
- callback();
- } else {
- callback(err);
- }
- } else {
- self.setCredentials(creds);
- self.extendExpirationIfExpired();
- callback();
- }
- });
- },
-
- /**
- * Whether this credential has been loaded.
- * @api private
- */
- hasLoadedCredentials: function hasLoadedCredentials() {
- return this.AccessKeyId && this.secretAccessKey;
- },
-
- /**
- * if expired, extend the expiration by 15 minutes base plus a jitter of 5
- * minutes range.
- * @api private
- */
- extendExpirationIfExpired: function extendExpirationIfExpired() {
- if (this.needsRefresh()) {
- this.originalExpiration = this.originalExpiration || this.expireTime;
- this.expired = false;
- var nextTimeout = 15 * 60 + Math.floor(Math.random() * 5 * 60);
- var currentTime = AWS.util.date.getDate().getTime();
- this.expireTime = new Date(currentTime + nextTimeout * 1000);
- // TODO: add doc link;
- this.logger.warn('Attempting credential expiration extension due to a '
- + 'credential service availability issue. A refresh of these '
- + 'credentials will be attempted again at ' + this.expireTime
- + '\nFor more information, please visit: https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html');
- }
- },
-
- /**
- * Update the credential with new credential responded from EC2 metadata
- * service.
- * @api private
- */
- setCredentials: function setCredentials(creds) {
- var currentTime = AWS.util.date.getDate().getTime();
- var expireTime = new Date(creds.Expiration);
- this.expired = currentTime >= expireTime ? true : false;
- this.metadata = creds;
- this.accessKeyId = creds.AccessKeyId;
- this.secretAccessKey = creds.SecretAccessKey;
- this.sessionToken = creds.Token;
- this.expireTime = expireTime;
- }
-});
-
-
-/***/ }),
-
-/***/ 10645:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-
-/**
- * Represents credentials received from relative URI specified in the ECS container.
- *
- * This class will request refreshable credentials from the relative URI
- * specified by the AWS_CONTAINER_CREDENTIALS_RELATIVE_URI or the
- * AWS_CONTAINER_CREDENTIALS_FULL_URI environment variable. If valid credentials
- * are returned in the response, these will be used with zero configuration.
- *
- * This credentials class will by default timeout after 1 second of inactivity
- * and retry 3 times.
- * If your requests to the relative URI are timing out, you can increase
- * the value by configuring them directly:
- *
- * ```javascript
- * AWS.config.credentials = new AWS.ECSCredentials({
- * httpOptions: { timeout: 5000 }, // 5 second timeout
- * maxRetries: 10, // retry 10 times
- * retryDelayOptions: { base: 200 } // see AWS.Config for information
- * });
- * ```
- *
- * @see AWS.Config.retryDelayOptions
- *
- * @!macro nobrowser
- */
-AWS.ECSCredentials = AWS.RemoteCredentials;
-
-
-/***/ }),
-
-/***/ 57714:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-
-/**
- * Represents credentials from the environment.
- *
- * By default, this class will look for the matching environment variables
- * prefixed by a given {envPrefix}. The un-prefixed environment variable names
- * for each credential value is listed below:
- *
- * ```javascript
- * accessKeyId: ACCESS_KEY_ID
- * secretAccessKey: SECRET_ACCESS_KEY
- * sessionToken: SESSION_TOKEN
- * ```
- *
- * With the default prefix of 'AWS', the environment variables would be:
- *
- * AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN
- *
- * @!attribute envPrefix
- * @readonly
- * @return [String] the prefix for the environment variable names excluding
- * the separating underscore ('_').
- */
-AWS.EnvironmentCredentials = AWS.util.inherit(AWS.Credentials, {
-
- /**
- * Creates a new EnvironmentCredentials class with a given variable
- * prefix {envPrefix}. For example, to load credentials using the 'AWS'
- * prefix:
- *
- * ```javascript
- * var creds = new AWS.EnvironmentCredentials('AWS');
- * creds.accessKeyId == 'AKID' // from AWS_ACCESS_KEY_ID env var
- * ```
- *
- * @param envPrefix [String] the prefix to use (e.g., 'AWS') for environment
- * variables. Do not include the separating underscore.
- */
- constructor: function EnvironmentCredentials(envPrefix) {
- AWS.Credentials.call(this);
- this.envPrefix = envPrefix;
- this.get(function() {});
- },
-
- /**
- * Loads credentials from the environment using the prefixed
- * environment variables.
- *
- * @callback callback function(err)
- * Called after the (prefixed) ACCESS_KEY_ID, SECRET_ACCESS_KEY, and
- * SESSION_TOKEN environment variables are read. When this callback is
- * called with no error, it means that the credentials information has
- * been loaded into the object (as the `accessKeyId`, `secretAccessKey`,
- * and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see get
- */
- refresh: function refresh(callback) {
- if (!callback) callback = AWS.util.fn.callback;
-
- if (!process || !process.env) {
- callback(AWS.util.error(
- new Error('No process info or environment variables available'),
- { code: 'EnvironmentCredentialsProviderFailure' }
- ));
- return;
- }
-
- var keys = ['ACCESS_KEY_ID', 'SECRET_ACCESS_KEY', 'SESSION_TOKEN'];
- var values = [];
-
- for (var i = 0; i < keys.length; i++) {
- var prefix = '';
- if (this.envPrefix) prefix = this.envPrefix + '_';
- values[i] = process.env[prefix + keys[i]];
- if (!values[i] && keys[i] !== 'SESSION_TOKEN') {
- callback(AWS.util.error(
- new Error('Variable ' + prefix + keys[i] + ' not set.'),
- { code: 'EnvironmentCredentialsProviderFailure' }
- ));
- return;
- }
- }
-
- this.expired = false;
- AWS.Credentials.apply(this, values);
- callback();
- }
-
-});
-
-
-/***/ }),
-
-/***/ 27454:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-
-/**
- * Represents credentials from a JSON file on disk.
- * If the credentials expire, the SDK can {refresh} the credentials
- * from the file.
- *
- * The format of the file should be similar to the options passed to
- * {AWS.Config}:
- *
- * ```javascript
- * {accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'optional'}
- * ```
- *
- * @example Loading credentials from disk
- * var creds = new AWS.FileSystemCredentials('./configuration.json');
- * creds.accessKeyId == 'AKID'
- *
- * @!attribute filename
- * @readonly
- * @return [String] the path to the JSON file on disk containing the
- * credentials.
- * @!macro nobrowser
- */
-AWS.FileSystemCredentials = AWS.util.inherit(AWS.Credentials, {
-
- /**
- * @overload AWS.FileSystemCredentials(filename)
- * Creates a new FileSystemCredentials object from a filename
- *
- * @param filename [String] the path on disk to the JSON file to load.
- */
- constructor: function FileSystemCredentials(filename) {
- AWS.Credentials.call(this);
- this.filename = filename;
- this.get(function() {});
- },
-
- /**
- * Loads the credentials from the {filename} on disk.
- *
- * @callback callback function(err)
- * Called after the JSON file on disk is read and parsed. When this callback
- * is called with no error, it means that the credentials information
- * has been loaded into the object (as the `accessKeyId`, `secretAccessKey`,
- * and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see get
- */
- refresh: function refresh(callback) {
- if (!callback) callback = AWS.util.fn.callback;
- try {
- var creds = JSON.parse(AWS.util.readFileSync(this.filename));
- AWS.Credentials.call(this, creds);
- if (!this.accessKeyId || !this.secretAccessKey) {
- throw AWS.util.error(
- new Error('Credentials not set in ' + this.filename),
- { code: 'FileSystemCredentialsProviderFailure' }
- );
- }
- this.expired = false;
- callback();
- } catch (err) {
- callback(err);
- }
- }
-
-});
-
-
-/***/ }),
-
-/***/ 80371:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var proc = __webpack_require__(63129);
-var iniLoader = AWS.util.iniLoader;
-
-/**
- * Represents credentials loaded from shared credentials file
- * (defaulting to ~/.aws/credentials or defined by the
- * `AWS_SHARED_CREDENTIALS_FILE` environment variable).
- *
- * ## Using process credentials
- *
- * The credentials file can specify a credential provider that executes
- * a given process and attempts to read its stdout to recieve a JSON payload
- * containing the credentials:
- *
- * [default]
- * credential_process = /usr/bin/credential_proc
- *
- * Automatically handles refreshing credentials if an Expiration time is
- * provided in the credentials payload. Credentials supplied in the same profile
- * will take precedence over the credential_process.
- *
- * Sourcing credentials from an external process can potentially be dangerous,
- * so proceed with caution. Other credential providers should be preferred if
- * at all possible. If using this option, you should make sure that the shared
- * credentials file is as locked down as possible using security best practices
- * for your operating system.
- *
- * ## Using custom profiles
- *
- * The SDK supports loading credentials for separate profiles. This can be done
- * in two ways:
- *
- * 1. Set the `AWS_PROFILE` environment variable in your process prior to
- * loading the SDK.
- * 2. Directly load the AWS.ProcessCredentials provider:
- *
- * ```javascript
- * var creds = new AWS.ProcessCredentials({profile: 'myprofile'});
- * AWS.config.credentials = creds;
- * ```
- *
- * @!macro nobrowser
- */
-AWS.ProcessCredentials = AWS.util.inherit(AWS.Credentials, {
- /**
- * Creates a new ProcessCredentials object.
- *
- * @param options [map] a set of options
- * @option options profile [String] (AWS_PROFILE env var or 'default')
- * the name of the profile to load.
- * @option options filename [String] ('~/.aws/credentials' or defined by
- * AWS_SHARED_CREDENTIALS_FILE process env var)
- * the filename to use when loading credentials.
- * @option options callback [Function] (err) Credentials are eagerly loaded
- * by the constructor. When the callback is called with no error, the
- * credentials have been loaded successfully.
- */
- constructor: function ProcessCredentials(options) {
- AWS.Credentials.call(this);
-
- options = options || {};
-
- this.filename = options.filename;
- this.profile = options.profile || process.env.AWS_PROFILE || AWS.util.defaultProfile;
- this.get(options.callback || AWS.util.fn.noop);
- },
-
- /**
- * @api private
- */
- load: function load(callback) {
- var self = this;
- try {
- var profiles = AWS.util.getProfilesFromSharedConfig(iniLoader, this.filename);
- var profile = profiles[this.profile] || {};
-
- if (Object.keys(profile).length === 0) {
- throw AWS.util.error(
- new Error('Profile ' + this.profile + ' not found'),
- { code: 'ProcessCredentialsProviderFailure' }
- );
- }
-
- if (profile['credential_process']) {
- this.loadViaCredentialProcess(profile, function(err, data) {
- if (err) {
- callback(err, null);
- } else {
- self.expired = false;
- self.accessKeyId = data.AccessKeyId;
- self.secretAccessKey = data.SecretAccessKey;
- self.sessionToken = data.SessionToken;
- if (data.Expiration) {
- self.expireTime = new Date(data.Expiration);
- }
- callback(null);
- }
- });
- } else {
- throw AWS.util.error(
- new Error('Profile ' + this.profile + ' did not include credential process'),
- { code: 'ProcessCredentialsProviderFailure' }
- );
- }
- } catch (err) {
- callback(err);
- }
- },
-
- /**
- * Executes the credential_process and retrieves
- * credentials from the output
- * @api private
- * @param profile [map] credentials profile
- * @throws ProcessCredentialsProviderFailure
- */
- loadViaCredentialProcess: function loadViaCredentialProcess(profile, callback) {
- proc.exec(profile['credential_process'], { env: process.env }, function(err, stdOut, stdErr) {
- if (err) {
- callback(AWS.util.error(
- new Error('credential_process returned error'),
- { code: 'ProcessCredentialsProviderFailure'}
- ), null);
- } else {
- try {
- var credData = JSON.parse(stdOut);
- if (credData.Expiration) {
- var currentTime = AWS.util.date.getDate();
- var expireTime = new Date(credData.Expiration);
- if (expireTime < currentTime) {
- throw Error('credential_process returned expired credentials');
- }
- }
-
- if (credData.Version !== 1) {
- throw Error('credential_process does not return Version == 1');
- }
- callback(null, credData);
- } catch (err) {
- callback(AWS.util.error(
- new Error(err.message),
- { code: 'ProcessCredentialsProviderFailure'}
- ), null);
- }
- }
- });
- },
-
- /**
- * Loads the credentials from the credential process
- *
- * @callback callback function(err)
- * Called after the credential process has been executed. When this
- * callback is called with no error, it means that the credentials
- * information has been loaded into the object (as the `accessKeyId`,
- * `secretAccessKey`, and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see get
- */
- refresh: function refresh(callback) {
- iniLoader.clearCachedFiles();
- this.coalesceRefresh(callback || AWS.util.fn.callback);
- }
-});
-
-
-/***/ }),
-
-/***/ 88764:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437),
- ENV_RELATIVE_URI = 'AWS_CONTAINER_CREDENTIALS_RELATIVE_URI',
- ENV_FULL_URI = 'AWS_CONTAINER_CREDENTIALS_FULL_URI',
- ENV_AUTH_TOKEN = 'AWS_CONTAINER_AUTHORIZATION_TOKEN',
- FULL_URI_UNRESTRICTED_PROTOCOLS = ['https:'],
- FULL_URI_ALLOWED_PROTOCOLS = ['http:', 'https:'],
- FULL_URI_ALLOWED_HOSTNAMES = ['localhost', '127.0.0.1'],
- RELATIVE_URI_HOST = '169.254.170.2';
-
-/**
- * Represents credentials received from specified URI.
- *
- * This class will request refreshable credentials from the relative URI
- * specified by the AWS_CONTAINER_CREDENTIALS_RELATIVE_URI or the
- * AWS_CONTAINER_CREDENTIALS_FULL_URI environment variable. If valid credentials
- * are returned in the response, these will be used with zero configuration.
- *
- * This credentials class will by default timeout after 1 second of inactivity
- * and retry 3 times.
- * If your requests to the relative URI are timing out, you can increase
- * the value by configuring them directly:
- *
- * ```javascript
- * AWS.config.credentials = new AWS.RemoteCredentials({
- * httpOptions: { timeout: 5000 }, // 5 second timeout
- * maxRetries: 10, // retry 10 times
- * retryDelayOptions: { base: 200 } // see AWS.Config for information
- * });
- * ```
- *
- * @see AWS.Config.retryDelayOptions
- *
- * @!macro nobrowser
- */
-AWS.RemoteCredentials = AWS.util.inherit(AWS.Credentials, {
- constructor: function RemoteCredentials(options) {
- AWS.Credentials.call(this);
- options = options ? AWS.util.copy(options) : {};
- if (!options.httpOptions) options.httpOptions = {};
- options.httpOptions = AWS.util.merge(
- this.httpOptions, options.httpOptions);
- AWS.util.update(this, options);
- },
-
- /**
- * @api private
- */
- httpOptions: { timeout: 1000 },
-
- /**
- * @api private
- */
- maxRetries: 3,
-
- /**
- * @api private
- */
- isConfiguredForEcsCredentials: function isConfiguredForEcsCredentials() {
- return Boolean(
- process &&
- process.env &&
- (process.env[ENV_RELATIVE_URI] || process.env[ENV_FULL_URI])
- );
- },
-
- /**
- * @api private
- */
- getECSFullUri: function getECSFullUri() {
- if (process && process.env) {
- var relative = process.env[ENV_RELATIVE_URI],
- full = process.env[ENV_FULL_URI];
- if (relative) {
- return 'http://' + RELATIVE_URI_HOST + relative;
- } else if (full) {
- var parsed = AWS.util.urlParse(full);
- if (FULL_URI_ALLOWED_PROTOCOLS.indexOf(parsed.protocol) < 0) {
- throw AWS.util.error(
- new Error('Unsupported protocol: AWS.RemoteCredentials supports '
- + FULL_URI_ALLOWED_PROTOCOLS.join(',') + ' only; '
- + parsed.protocol + ' requested.'),
- { code: 'ECSCredentialsProviderFailure' }
- );
- }
-
- if (FULL_URI_UNRESTRICTED_PROTOCOLS.indexOf(parsed.protocol) < 0 &&
- FULL_URI_ALLOWED_HOSTNAMES.indexOf(parsed.hostname) < 0) {
- throw AWS.util.error(
- new Error('Unsupported hostname: AWS.RemoteCredentials only supports '
- + FULL_URI_ALLOWED_HOSTNAMES.join(',') + ' for ' + parsed.protocol + '; '
- + parsed.protocol + '//' + parsed.hostname + ' requested.'),
- { code: 'ECSCredentialsProviderFailure' }
- );
- }
-
- return full;
- } else {
- throw AWS.util.error(
- new Error('Variable ' + ENV_RELATIVE_URI + ' or ' + ENV_FULL_URI +
- ' must be set to use AWS.RemoteCredentials.'),
- { code: 'ECSCredentialsProviderFailure' }
- );
- }
- } else {
- throw AWS.util.error(
- new Error('No process info available'),
- { code: 'ECSCredentialsProviderFailure' }
- );
- }
- },
-
- /**
- * @api private
- */
- getECSAuthToken: function getECSAuthToken() {
- if (process && process.env && process.env[ENV_FULL_URI]) {
- return process.env[ENV_AUTH_TOKEN];
- }
- },
-
- /**
- * @api private
- */
- credsFormatIsValid: function credsFormatIsValid(credData) {
- return (!!credData.accessKeyId && !!credData.secretAccessKey &&
- !!credData.sessionToken && !!credData.expireTime);
- },
-
- /**
- * @api private
- */
- formatCreds: function formatCreds(credData) {
- if (!!credData.credentials) {
- credData = credData.credentials;
- }
-
- return {
- expired: false,
- accessKeyId: credData.accessKeyId || credData.AccessKeyId,
- secretAccessKey: credData.secretAccessKey || credData.SecretAccessKey,
- sessionToken: credData.sessionToken || credData.Token,
- expireTime: new Date(credData.expiration || credData.Expiration)
- };
- },
-
- /**
- * @api private
- */
- request: function request(url, callback) {
- var httpRequest = new AWS.HttpRequest(url);
- httpRequest.method = 'GET';
- httpRequest.headers.Accept = 'application/json';
- var token = this.getECSAuthToken();
- if (token) {
- httpRequest.headers.Authorization = token;
- }
- AWS.util.handleRequestWithRetries(httpRequest, this, callback);
- },
-
- /**
- * Loads the credentials from the relative URI specified by container
- *
- * @callback callback function(err)
- * Called when the request to the relative URI responds (or fails). When
- * this callback is called with no error, it means that the credentials
- * information has been loaded into the object (as the `accessKeyId`,
- * `secretAccessKey`, `sessionToken`, and `expireTime` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see get
- */
- refresh: function refresh(callback) {
- this.coalesceRefresh(callback || AWS.util.fn.callback);
- },
-
- /**
- * @api private
- */
- load: function load(callback) {
- var self = this;
- var fullUri;
-
- try {
- fullUri = this.getECSFullUri();
- } catch (err) {
- callback(err);
- return;
- }
-
- this.request(fullUri, function(err, data) {
- if (!err) {
- try {
- data = JSON.parse(data);
- var creds = self.formatCreds(data);
- if (!self.credsFormatIsValid(creds)) {
- throw AWS.util.error(
- new Error('Response data is not in valid format'),
- { code: 'ECSCredentialsProviderFailure' }
- );
- }
- AWS.util.update(self, creds);
- } catch (dataError) {
- err = dataError;
- }
- }
- callback(err, creds);
- });
- }
-});
-
-
-/***/ }),
-
-/***/ 15037:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var STS = __webpack_require__(57513);
-
-/**
- * Represents credentials retrieved from STS SAML support.
- *
- * By default this provider gets credentials using the
- * {AWS.STS.assumeRoleWithSAML} service operation. This operation
- * requires a `RoleArn` containing the ARN of the IAM trust policy for the
- * application for which credentials will be given, as well as a `PrincipalArn`
- * representing the ARN for the SAML identity provider. In addition, the
- * `SAMLAssertion` must be set to the token provided by the identity
- * provider. See {constructor} for an example on creating a credentials
- * object with proper `RoleArn`, `PrincipalArn`, and `SAMLAssertion` values.
- *
- * ## Refreshing Credentials from Identity Service
- *
- * In addition to AWS credentials expiring after a given amount of time, the
- * login token from the identity provider will also expire. Once this token
- * expires, it will not be usable to refresh AWS credentials, and another
- * token will be needed. The SDK does not manage refreshing of the token value,
- * but this can be done through a "refresh token" supported by most identity
- * providers. Consult the documentation for the identity provider for refreshing
- * tokens. Once the refreshed token is acquired, you should make sure to update
- * this new token in the credentials object's {params} property. The following
- * code will update the SAMLAssertion, assuming you have retrieved an updated
- * token from the identity provider:
- *
- * ```javascript
- * AWS.config.credentials.params.SAMLAssertion = updatedToken;
- * ```
- *
- * Future calls to `credentials.refresh()` will now use the new token.
- *
- * @!attribute params
- * @return [map] the map of params passed to
- * {AWS.STS.assumeRoleWithSAML}. To update the token, set the
- * `params.SAMLAssertion` property.
- */
-AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, {
- /**
- * Creates a new credentials object.
- * @param (see AWS.STS.assumeRoleWithSAML)
- * @example Creating a new credentials object
- * AWS.config.credentials = new AWS.SAMLCredentials({
- * RoleArn: 'arn:aws:iam::1234567890:role/SAMLRole',
- * PrincipalArn: 'arn:aws:iam::1234567890:role/SAMLPrincipal',
- * SAMLAssertion: 'base64-token', // base64-encoded token from IdP
- * });
- * @see AWS.STS.assumeRoleWithSAML
- */
- constructor: function SAMLCredentials(params) {
- AWS.Credentials.call(this);
- this.expired = true;
- this.params = params;
- },
-
- /**
- * Refreshes credentials using {AWS.STS.assumeRoleWithSAML}
- *
- * @callback callback function(err)
- * Called when the STS service responds (or fails). When
- * this callback is called with no error, it means that the credentials
- * information has been loaded into the object (as the `accessKeyId`,
- * `secretAccessKey`, and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see get
- */
- refresh: function refresh(callback) {
- this.coalesceRefresh(callback || AWS.util.fn.callback);
- },
-
- /**
- * @api private
- */
- load: function load(callback) {
- var self = this;
- self.createClients();
- self.service.assumeRoleWithSAML(function (err, data) {
- if (!err) {
- self.service.credentialsFrom(data, self);
- }
- callback(err);
- });
- },
-
- /**
- * @api private
- */
- createClients: function() {
- this.service = this.service || new STS({params: this.params});
- }
-
-});
-
-
-/***/ }),
-
-/***/ 13754:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var STS = __webpack_require__(57513);
-var iniLoader = AWS.util.iniLoader;
-
-var ASSUME_ROLE_DEFAULT_REGION = 'us-east-1';
-
-/**
- * Represents credentials loaded from shared credentials file
- * (defaulting to ~/.aws/credentials or defined by the
- * `AWS_SHARED_CREDENTIALS_FILE` environment variable).
- *
- * ## Using the shared credentials file
- *
- * This provider is checked by default in the Node.js environment. To use the
- * credentials file provider, simply add your access and secret keys to the
- * ~/.aws/credentials file in the following format:
- *
- * [default]
- * aws_access_key_id = AKID...
- * aws_secret_access_key = YOUR_SECRET_KEY
- *
- * ## Using custom profiles
- *
- * The SDK supports loading credentials for separate profiles. This can be done
- * in two ways:
- *
- * 1. Set the `AWS_PROFILE` environment variable in your process prior to
- * loading the SDK.
- * 2. Directly load the AWS.SharedIniFileCredentials provider:
- *
- * ```javascript
- * var creds = new AWS.SharedIniFileCredentials({profile: 'myprofile'});
- * AWS.config.credentials = creds;
- * ```
- *
- * @!macro nobrowser
- */
-AWS.SharedIniFileCredentials = AWS.util.inherit(AWS.Credentials, {
- /**
- * Creates a new SharedIniFileCredentials object.
- *
- * @param options [map] a set of options
- * @option options profile [String] (AWS_PROFILE env var or 'default')
- * the name of the profile to load.
- * @option options filename [String] ('~/.aws/credentials' or defined by
- * AWS_SHARED_CREDENTIALS_FILE process env var)
- * the filename to use when loading credentials.
- * @option options disableAssumeRole [Boolean] (false) True to disable
- * support for profiles that assume an IAM role. If true, and an assume
- * role profile is selected, an error is raised.
- * @option options preferStaticCredentials [Boolean] (false) True to
- * prefer static credentials to role_arn if both are present.
- * @option options tokenCodeFn [Function] (null) Function to provide
- * STS Assume Role TokenCode, if mfa_serial is provided for profile in ini
- * file. Function is called with value of mfa_serial and callback, and
- * should provide the TokenCode or an error to the callback in the format
- * callback(err, token)
- * @option options callback [Function] (err) Credentials are eagerly loaded
- * by the constructor. When the callback is called with no error, the
- * credentials have been loaded successfully.
- * @option options httpOptions [map] A set of options to pass to the low-level
- * HTTP request. Currently supported options are:
- * * **proxy** [String] — the URL to proxy requests through
- * * **agent** [http.Agent, https.Agent] — the Agent object to perform
- * HTTP requests with. Used for connection pooling. Defaults to the global
- * agent (`http.globalAgent`) for non-SSL connections. Note that for
- * SSL connections, a special Agent object is used in order to enable
- * peer certificate verification. This feature is only available in the
- * Node.js environment.
- * * **connectTimeout** [Integer] — Sets the socket to timeout after
- * failing to establish a connection with the server after
- * `connectTimeout` milliseconds. This timeout has no effect once a socket
- * connection has been established.
- * * **timeout** [Integer] — The number of milliseconds a request can
- * take before automatically being terminated.
- * Defaults to two minutes (120000).
- */
- constructor: function SharedIniFileCredentials(options) {
- AWS.Credentials.call(this);
-
- options = options || {};
-
- this.filename = options.filename;
- this.profile = options.profile || process.env.AWS_PROFILE || AWS.util.defaultProfile;
- this.disableAssumeRole = Boolean(options.disableAssumeRole);
- this.preferStaticCredentials = Boolean(options.preferStaticCredentials);
- this.tokenCodeFn = options.tokenCodeFn || null;
- this.httpOptions = options.httpOptions || null;
- this.get(options.callback || AWS.util.fn.noop);
- },
-
- /**
- * @api private
- */
- load: function load(callback) {
- var self = this;
- try {
- var profiles = AWS.util.getProfilesFromSharedConfig(iniLoader, this.filename);
- var profile = profiles[this.profile] || {};
-
- if (Object.keys(profile).length === 0) {
- throw AWS.util.error(
- new Error('Profile ' + this.profile + ' not found'),
- { code: 'SharedIniFileCredentialsProviderFailure' }
- );
- }
-
- /*
- In the CLI, the presence of both a role_arn and static credentials have
- different meanings depending on how many profiles have been visited. For
- the first profile processed, role_arn takes precedence over any static
- credentials, but for all subsequent profiles, static credentials are
- used if present, and only in their absence will the profile's
- source_profile and role_arn keys be used to load another set of
- credentials. This var is intended to yield compatible behaviour in this
- sdk.
- */
- var preferStaticCredentialsToRoleArn = Boolean(
- this.preferStaticCredentials
- && profile['aws_access_key_id']
- && profile['aws_secret_access_key']
- );
-
- if (profile['role_arn'] && !preferStaticCredentialsToRoleArn) {
- this.loadRoleProfile(profiles, profile, function(err, data) {
- if (err) {
- callback(err);
- } else {
- self.expired = false;
- self.accessKeyId = data.Credentials.AccessKeyId;
- self.secretAccessKey = data.Credentials.SecretAccessKey;
- self.sessionToken = data.Credentials.SessionToken;
- self.expireTime = data.Credentials.Expiration;
- callback(null);
- }
- });
- return;
- }
-
- this.accessKeyId = profile['aws_access_key_id'];
- this.secretAccessKey = profile['aws_secret_access_key'];
- this.sessionToken = profile['aws_session_token'];
-
- if (!this.accessKeyId || !this.secretAccessKey) {
- throw AWS.util.error(
- new Error('Credentials not set for profile ' + this.profile),
- { code: 'SharedIniFileCredentialsProviderFailure' }
- );
- }
- this.expired = false;
- callback(null);
- } catch (err) {
- callback(err);
- }
- },
-
- /**
- * Loads the credentials from the shared credentials file
- *
- * @callback callback function(err)
- * Called after the shared INI file on disk is read and parsed. When this
- * callback is called with no error, it means that the credentials
- * information has been loaded into the object (as the `accessKeyId`,
- * `secretAccessKey`, and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see get
- */
- refresh: function refresh(callback) {
- iniLoader.clearCachedFiles();
- this.coalesceRefresh(
- callback || AWS.util.fn.callback,
- this.disableAssumeRole
- );
- },
-
- /**
- * @api private
- */
- loadRoleProfile: function loadRoleProfile(creds, roleProfile, callback) {
- if (this.disableAssumeRole) {
- throw AWS.util.error(
- new Error('Role assumption profiles are disabled. ' +
- 'Failed to load profile ' + this.profile +
- ' from ' + creds.filename),
- { code: 'SharedIniFileCredentialsProviderFailure' }
- );
- }
-
- var self = this;
- var roleArn = roleProfile['role_arn'];
- var roleSessionName = roleProfile['role_session_name'];
- var externalId = roleProfile['external_id'];
- var mfaSerial = roleProfile['mfa_serial'];
- var sourceProfileName = roleProfile['source_profile'];
-
- // From experimentation, the following behavior mimics the AWS CLI:
- //
- // 1. Use region from the profile if present.
- // 2. Otherwise fall back to N. Virginia (global endpoint).
- //
- // It is necessary to do the fallback explicitly, because if
- // 'AWS_STS_REGIONAL_ENDPOINTS=regional', the underlying STS client will
- // otherwise throw an error if region is left 'undefined'.
- //
- // Experimentation shows that the AWS CLI (tested at version 1.18.136)
- // ignores the following potential sources of a region for the purposes of
- // this AssumeRole call:
- //
- // - The [default] profile
- // - The AWS_REGION environment variable
- //
- // Ignoring the [default] profile for the purposes of AssumeRole is arguably
- // a bug in the CLI since it does use the [default] region for service
- // calls... but right now we're matching behavior of the other tool.
- var profileRegion = roleProfile['region'] || ASSUME_ROLE_DEFAULT_REGION;
-
- if (!sourceProfileName) {
- throw AWS.util.error(
- new Error('source_profile is not set using profile ' + this.profile),
- { code: 'SharedIniFileCredentialsProviderFailure' }
- );
- }
-
- var sourceProfileExistanceTest = creds[sourceProfileName];
-
- if (typeof sourceProfileExistanceTest !== 'object') {
- throw AWS.util.error(
- new Error('source_profile ' + sourceProfileName + ' using profile '
- + this.profile + ' does not exist'),
- { code: 'SharedIniFileCredentialsProviderFailure' }
- );
- }
-
- var sourceCredentials = new AWS.SharedIniFileCredentials(
- AWS.util.merge(this.options || {}, {
- profile: sourceProfileName,
- preferStaticCredentials: true
- })
- );
-
- this.roleArn = roleArn;
- var sts = new STS({
- credentials: sourceCredentials,
- region: profileRegion,
- httpOptions: this.httpOptions
- });
-
- var roleParams = {
- RoleArn: roleArn,
- RoleSessionName: roleSessionName || 'aws-sdk-js-' + Date.now()
- };
-
- if (externalId) {
- roleParams.ExternalId = externalId;
- }
-
- if (mfaSerial && self.tokenCodeFn) {
- roleParams.SerialNumber = mfaSerial;
- self.tokenCodeFn(mfaSerial, function(err, token) {
- if (err) {
- var message;
- if (err instanceof Error) {
- message = err.message;
- } else {
- message = err;
- }
- callback(
- AWS.util.error(
- new Error('Error fetching MFA token: ' + message),
- { code: 'SharedIniFileCredentialsProviderFailure' }
- ));
- return;
- }
-
- roleParams.TokenCode = token;
- sts.assumeRole(roleParams, callback);
- });
- return;
- }
- sts.assumeRole(roleParams, callback);
- }
-});
-
-
-/***/ }),
-
-/***/ 68335:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var path = __webpack_require__(85622);
-var crypto = __webpack_require__(76417);
-var iniLoader = AWS.util.iniLoader;
-
-/**
- * Represents credentials from sso.getRoleCredentials API for
- * `sso_*` values defined in shared credentials file.
- *
- * ## Using SSO credentials
- *
- * The credentials file must specify the information below to use sso:
- *
- * [profile sso-profile]
- * sso_account_id = 012345678901
- * sso_region = **-****-*
- * sso_role_name = SampleRole
- * sso_start_url = https://d-******.awsapps.com/start
- *
- * or using the session format:
- *
- * [profile sso-token]
- * sso_session = prod
- * sso_account_id = 012345678901
- * sso_role_name = SampleRole
- *
- * [sso-session prod]
- * sso_region = **-****-*
- * sso_start_url = https://d-******.awsapps.com/start
- *
- * This information will be automatically added to your shared credentials file by running
- * `aws configure sso`.
- *
- * ## Using custom profiles
- *
- * The SDK supports loading credentials for separate profiles. This can be done
- * in two ways:
- *
- * 1. Set the `AWS_PROFILE` environment variable in your process prior to
- * loading the SDK.
- * 2. Directly load the AWS.SsoCredentials provider:
- *
- * ```javascript
- * var creds = new AWS.SsoCredentials({profile: 'myprofile'});
- * AWS.config.credentials = creds;
- * ```
- *
- * @!macro nobrowser
- */
-AWS.SsoCredentials = AWS.util.inherit(AWS.Credentials, {
- /**
- * Creates a new SsoCredentials object.
- *
- * @param options [map] a set of options
- * @option options profile [String] (AWS_PROFILE env var or 'default')
- * the name of the profile to load.
- * @option options filename [String] ('~/.aws/credentials' or defined by
- * AWS_SHARED_CREDENTIALS_FILE process env var)
- * the filename to use when loading credentials.
- * @option options callback [Function] (err) Credentials are eagerly loaded
- * by the constructor. When the callback is called with no error, the
- * credentials have been loaded successfully.
- */
- constructor: function SsoCredentials(options) {
- AWS.Credentials.call(this);
-
- options = options || {};
- this.errorCode = 'SsoCredentialsProviderFailure';
- this.expired = true;
-
- this.filename = options.filename;
- this.profile = options.profile || process.env.AWS_PROFILE || AWS.util.defaultProfile;
- this.service = options.ssoClient;
- this.httpOptions = options.httpOptions || null;
- this.get(options.callback || AWS.util.fn.noop);
- },
-
- /**
- * @api private
- */
- load: function load(callback) {
- var self = this;
-
- try {
- var profiles = AWS.util.getProfilesFromSharedConfig(iniLoader, this.filename);
- var profile = profiles[this.profile] || {};
-
- if (Object.keys(profile).length === 0) {
- throw AWS.util.error(
- new Error('Profile ' + this.profile + ' not found'),
- { code: self.errorCode }
- );
- }
-
- if (profile.sso_session) {
- if (!profile.sso_account_id || !profile.sso_role_name) {
- throw AWS.util.error(
- new Error('Profile ' + this.profile + ' with session ' + profile.sso_session +
- ' does not have valid SSO credentials. Required parameters "sso_account_id", "sso_session", ' +
- '"sso_role_name". Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html'),
- { code: self.errorCode }
- );
- }
- } else {
- if (!profile.sso_start_url || !profile.sso_account_id || !profile.sso_region || !profile.sso_role_name) {
- throw AWS.util.error(
- new Error('Profile ' + this.profile + ' does not have valid SSO credentials. Required parameters "sso_account_id", "sso_region", ' +
- '"sso_role_name", "sso_start_url". Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html'),
- { code: self.errorCode }
- );
- }
- }
-
- this.getToken(this.profile, profile, function (err, token) {
- if (err) {
- return callback(err);
- }
- var request = {
- accessToken: token,
- accountId: profile.sso_account_id,
- roleName: profile.sso_role_name,
- };
-
- if (!self.service || self.service.config.region !== profile.sso_region) {
- self.service = new AWS.SSO({
- region: profile.sso_region,
- httpOptions: self.httpOptions,
- });
- }
-
- self.service.getRoleCredentials(request, function(err, data) {
- if (err || !data || !data.roleCredentials) {
- callback(AWS.util.error(
- err || new Error('Please log in using "aws sso login"'),
- { code: self.errorCode }
- ), null);
- } else if (!data.roleCredentials.accessKeyId || !data.roleCredentials.secretAccessKey || !data.roleCredentials.sessionToken || !data.roleCredentials.expiration) {
- throw AWS.util.error(new Error(
- 'SSO returns an invalid temporary credential.'
- ));
- } else {
- self.expired = false;
- self.accessKeyId = data.roleCredentials.accessKeyId;
- self.secretAccessKey = data.roleCredentials.secretAccessKey;
- self.sessionToken = data.roleCredentials.sessionToken;
- self.expireTime = new Date(data.roleCredentials.expiration);
- callback(null);
- }
- });
- });
- } catch (err) {
- callback(err);
- }
- },
-
- /**
- * @private
- * Uses legacy file system retrieval or if sso-session is set,
- * use the SSOTokenProvider.
- *
- * @param {string} profileName - name of the profile.
- * @param {object} profile - profile data containing sso_session or sso_start_url etc.
- * @param {function} callback - called with (err, (string) token).
- *
- * @returns {void}
- */
- getToken: function getToken(profileName, profile, callback) {
- var self = this;
-
- if (profile.sso_session) {
- var _iniLoader = AWS.util.iniLoader;
- var ssoSessions = _iniLoader.loadSsoSessionsFrom();
- var ssoSession = ssoSessions[profile.sso_session];
- Object.assign(profile, ssoSession);
-
- var ssoTokenProvider = new AWS.SSOTokenProvider({
- profile: profileName,
- });
- ssoTokenProvider.load(function (err) {
- if (err) {
- return callback(err);
- }
- return callback(null, ssoTokenProvider.token);
- });
- return;
- }
-
- try {
- /**
- * The time window (15 mins) that SDK will treat the SSO token expires in before the defined expiration date in token.
- * This is needed because server side may have invalidated the token before the defined expiration date.
- */
- var EXPIRE_WINDOW_MS = 15 * 60 * 1000;
- var hasher = crypto.createHash('sha1');
- var fileName = hasher.update(profile.sso_start_url).digest('hex') + '.json';
- var cachePath = path.join(
- iniLoader.getHomeDir(),
- '.aws',
- 'sso',
- 'cache',
- fileName
- );
- var cacheFile = AWS.util.readFileSync(cachePath);
- var cacheContent = null;
- if (cacheFile) {
- cacheContent = JSON.parse(cacheFile);
- }
- if (!cacheContent) {
- throw AWS.util.error(
- new Error('Cached credentials not found under ' + this.profile + ' profile. Please make sure you log in with aws sso login first'),
- { code: self.errorCode }
- );
- }
-
- if (!cacheContent.startUrl || !cacheContent.region || !cacheContent.accessToken || !cacheContent.expiresAt) {
- throw AWS.util.error(
- new Error('Cached credentials are missing required properties. Try running aws sso login.')
- );
- }
-
- if (new Date(cacheContent.expiresAt).getTime() - Date.now() <= EXPIRE_WINDOW_MS) {
- throw AWS.util.error(new Error(
- 'The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.'
- ));
- }
-
- return callback(null, cacheContent.accessToken);
- } catch (err) {
- return callback(err, null);
- }
- },
-
- /**
- * Loads the credentials from the AWS SSO process
- *
- * @callback callback function(err)
- * Called after the AWS SSO process has been executed. When this
- * callback is called with no error, it means that the credentials
- * information has been loaded into the object (as the `accessKeyId`,
- * `secretAccessKey`, and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see get
- */
- refresh: function refresh(callback) {
- iniLoader.clearCachedFiles();
- this.coalesceRefresh(callback || AWS.util.fn.callback);
- },
-});
-
-
-/***/ }),
-
-/***/ 77360:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var STS = __webpack_require__(57513);
-
-/**
- * Represents temporary credentials retrieved from {AWS.STS}. Without any
- * extra parameters, credentials will be fetched from the
- * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the
- * {AWS.STS.assumeRole} operation will be used to fetch credentials for the
- * role instead.
- *
- * @note AWS.TemporaryCredentials is deprecated, but remains available for
- * backwards compatibility. {AWS.ChainableTemporaryCredentials} is the
- * preferred class for temporary credentials.
- *
- * To setup temporary credentials, configure a set of master credentials
- * using the standard credentials providers (environment, EC2 instance metadata,
- * or from the filesystem), then set the global credentials to a new
- * temporary credentials object:
- *
- * ```javascript
- * // Note that environment credentials are loaded by default,
- * // the following line is shown for clarity:
- * AWS.config.credentials = new AWS.EnvironmentCredentials('AWS');
- *
- * // Now set temporary credentials seeded from the master credentials
- * AWS.config.credentials = new AWS.TemporaryCredentials();
- *
- * // subsequent requests will now use temporary credentials from AWS STS.
- * new AWS.S3().listBucket(function(err, data) { ... });
- * ```
- *
- * @!attribute masterCredentials
- * @return [AWS.Credentials] the master (non-temporary) credentials used to
- * get and refresh temporary credentials from AWS STS.
- * @note (see constructor)
- */
-AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, {
- /**
- * Creates a new temporary credentials object.
- *
- * @note In order to create temporary credentials, you first need to have
- * "master" credentials configured in {AWS.Config.credentials}. These
- * master credentials are necessary to retrieve the temporary credentials,
- * as well as refresh the credentials when they expire.
- * @param params [map] a map of options that are passed to the
- * {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations.
- * If a `RoleArn` parameter is passed in, credentials will be based on the
- * IAM role.
- * @param masterCredentials [AWS.Credentials] the master (non-temporary) credentials
- * used to get and refresh temporary credentials from AWS STS.
- * @example Creating a new credentials object for generic temporary credentials
- * AWS.config.credentials = new AWS.TemporaryCredentials();
- * @example Creating a new credentials object for an IAM role
- * AWS.config.credentials = new AWS.TemporaryCredentials({
- * RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials',
- * });
- * @see AWS.STS.assumeRole
- * @see AWS.STS.getSessionToken
- */
- constructor: function TemporaryCredentials(params, masterCredentials) {
- AWS.Credentials.call(this);
- this.loadMasterCredentials(masterCredentials);
- this.expired = true;
-
- this.params = params || {};
- if (this.params.RoleArn) {
- this.params.RoleSessionName =
- this.params.RoleSessionName || 'temporary-credentials';
- }
- },
-
- /**
- * Refreshes credentials using {AWS.STS.assumeRole} or
- * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed
- * to the credentials {constructor}.
- *
- * @callback callback function(err)
- * Called when the STS service responds (or fails). When
- * this callback is called with no error, it means that the credentials
- * information has been loaded into the object (as the `accessKeyId`,
- * `secretAccessKey`, and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see get
- */
- refresh: function refresh (callback) {
- this.coalesceRefresh(callback || AWS.util.fn.callback);
- },
-
- /**
- * @api private
- */
- load: function load (callback) {
- var self = this;
- self.createClients();
- self.masterCredentials.get(function () {
- self.service.config.credentials = self.masterCredentials;
- var operation = self.params.RoleArn ?
- self.service.assumeRole : self.service.getSessionToken;
- operation.call(self.service, function (err, data) {
- if (!err) {
- self.service.credentialsFrom(data, self);
- }
- callback(err);
- });
- });
- },
-
- /**
- * @api private
- */
- loadMasterCredentials: function loadMasterCredentials (masterCredentials) {
- this.masterCredentials = masterCredentials || AWS.config.credentials;
- while (this.masterCredentials.masterCredentials) {
- this.masterCredentials = this.masterCredentials.masterCredentials;
- }
-
- if (typeof this.masterCredentials.get !== 'function') {
- this.masterCredentials = new AWS.Credentials(this.masterCredentials);
- }
- },
-
- /**
- * @api private
- */
- createClients: function () {
- this.service = this.service || new STS({params: this.params});
- }
-
-});
-
-
-/***/ }),
-
-/***/ 11017:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var fs = __webpack_require__(35747);
-var STS = __webpack_require__(57513);
-var iniLoader = AWS.util.iniLoader;
-
-/**
- * Represents OIDC credentials from a file on disk
- * If the credentials expire, the SDK can {refresh} the credentials
- * from the file.
- *
- * ## Using the web identity token file
- *
- * This provider is checked by default in the Node.js environment. To use
- * the provider simply add your OIDC token to a file (ASCII encoding) and
- * share the filename in either AWS_WEB_IDENTITY_TOKEN_FILE environment
- * variable or web_identity_token_file shared config variable
- *
- * The file contains encoded OIDC token and the characters are
- * ASCII encoded. OIDC tokens are JSON Web Tokens (JWT).
- * JWT's are 3 base64 encoded strings joined by the '.' character.
- *
- * This class will read filename from AWS_WEB_IDENTITY_TOKEN_FILE
- * environment variable or web_identity_token_file shared config variable,
- * and get the OIDC token from filename.
- * It will also read IAM role to be assumed from AWS_ROLE_ARN
- * environment variable or role_arn shared config variable.
- * This provider gets credetials using the {AWS.STS.assumeRoleWithWebIdentity}
- * service operation
- *
- * @!macro nobrowser
- */
-AWS.TokenFileWebIdentityCredentials = AWS.util.inherit(AWS.Credentials, {
-
- /**
- * @example Creating a new credentials object
- * AWS.config.credentials = new AWS.TokenFileWebIdentityCredentials(
- * // optionally provide configuration to apply to the underlying AWS.STS service client
- * // if configuration is not provided, then configuration will be pulled from AWS.config
- * {
- * // specify timeout options
- * httpOptions: {
- * timeout: 100
- * }
- * });
- * @see AWS.Config
- */
- constructor: function TokenFileWebIdentityCredentials(clientConfig) {
- AWS.Credentials.call(this);
- this.data = null;
- this.clientConfig = AWS.util.copy(clientConfig || {});
- },
-
- /**
- * Returns params from environment variables
- *
- * @api private
- */
- getParamsFromEnv: function getParamsFromEnv() {
- var ENV_TOKEN_FILE = 'AWS_WEB_IDENTITY_TOKEN_FILE',
- ENV_ROLE_ARN = 'AWS_ROLE_ARN';
- if (process.env[ENV_TOKEN_FILE] && process.env[ENV_ROLE_ARN]) {
- return [{
- envTokenFile: process.env[ENV_TOKEN_FILE],
- roleArn: process.env[ENV_ROLE_ARN],
- roleSessionName: process.env['AWS_ROLE_SESSION_NAME']
- }];
- }
- },
-
- /**
- * Returns params from shared config variables
- *
- * @api private
- */
- getParamsFromSharedConfig: function getParamsFromSharedConfig() {
- var profiles = AWS.util.getProfilesFromSharedConfig(iniLoader);
- var profileName = process.env.AWS_PROFILE || AWS.util.defaultProfile;
- var profile = profiles[profileName] || {};
-
- if (Object.keys(profile).length === 0) {
- throw AWS.util.error(
- new Error('Profile ' + profileName + ' not found'),
- { code: 'TokenFileWebIdentityCredentialsProviderFailure' }
- );
- }
-
- var paramsArray = [];
-
- while (!profile['web_identity_token_file'] && profile['source_profile']) {
- paramsArray.unshift({
- roleArn: profile['role_arn'],
- roleSessionName: profile['role_session_name']
- });
- var sourceProfile = profile['source_profile'];
- profile = profiles[sourceProfile];
- }
-
- paramsArray.unshift({
- envTokenFile: profile['web_identity_token_file'],
- roleArn: profile['role_arn'],
- roleSessionName: profile['role_session_name']
- });
-
- return paramsArray;
- },
-
- /**
- * Refreshes credentials using {AWS.STS.assumeRoleWithWebIdentity}
- *
- * @callback callback function(err)
- * Called when the STS service responds (or fails). When
- * this callback is called with no error, it means that the credentials
- * information has been loaded into the object (as the `accessKeyId`,
- * `secretAccessKey`, and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see AWS.Credentials.get
- */
- refresh: function refresh(callback) {
- this.coalesceRefresh(callback || AWS.util.fn.callback);
- },
-
- /**
- * @api private
- */
- assumeRoleChaining: function assumeRoleChaining(paramsArray, callback) {
- var self = this;
- if (paramsArray.length === 0) {
- self.service.credentialsFrom(self.data, self);
- callback();
- } else {
- var params = paramsArray.shift();
- self.service.config.credentials = self.service.credentialsFrom(self.data, self);
- self.service.assumeRole(
- {
- RoleArn: params.roleArn,
- RoleSessionName: params.roleSessionName || 'token-file-web-identity'
- },
- function (err, data) {
- self.data = null;
- if (err) {
- callback(err);
- } else {
- self.data = data;
- self.assumeRoleChaining(paramsArray, callback);
- }
- }
- );
- }
- },
-
- /**
- * @api private
- */
- load: function load(callback) {
- var self = this;
- try {
- var paramsArray = self.getParamsFromEnv();
- if (!paramsArray) {
- paramsArray = self.getParamsFromSharedConfig();
- }
- if (paramsArray) {
- var params = paramsArray.shift();
- var oidcToken = fs.readFileSync(params.envTokenFile, {encoding: 'ascii'});
- if (!self.service) {
- self.createClients();
- }
- self.service.assumeRoleWithWebIdentity(
- {
- WebIdentityToken: oidcToken,
- RoleArn: params.roleArn,
- RoleSessionName: params.roleSessionName || 'token-file-web-identity'
- },
- function (err, data) {
- self.data = null;
- if (err) {
- callback(err);
- } else {
- self.data = data;
- self.assumeRoleChaining(paramsArray, callback);
- }
- }
- );
- }
- } catch (err) {
- callback(err);
- }
- },
-
- /**
- * @api private
- */
- createClients: function() {
- if (!this.service) {
- var stsConfig = AWS.util.merge({}, this.clientConfig);
- this.service = new STS(stsConfig);
-
- // Retry in case of IDPCommunicationErrorException or InvalidIdentityToken
- this.service.retryableError = function(error) {
- if (error.code === 'IDPCommunicationErrorException' || error.code === 'InvalidIdentityToken') {
- return true;
- } else {
- return AWS.Service.prototype.retryableError.call(this, error);
- }
- };
- }
- }
-});
-
-
-/***/ }),
-
-/***/ 74998:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var STS = __webpack_require__(57513);
-
-/**
- * Represents credentials retrieved from STS Web Identity Federation support.
- *
- * By default this provider gets credentials using the
- * {AWS.STS.assumeRoleWithWebIdentity} service operation. This operation
- * requires a `RoleArn` containing the ARN of the IAM trust policy for the
- * application for which credentials will be given. In addition, the
- * `WebIdentityToken` must be set to the token provided by the identity
- * provider. See {constructor} for an example on creating a credentials
- * object with proper `RoleArn` and `WebIdentityToken` values.
- *
- * ## Refreshing Credentials from Identity Service
- *
- * In addition to AWS credentials expiring after a given amount of time, the
- * login token from the identity provider will also expire. Once this token
- * expires, it will not be usable to refresh AWS credentials, and another
- * token will be needed. The SDK does not manage refreshing of the token value,
- * but this can be done through a "refresh token" supported by most identity
- * providers. Consult the documentation for the identity provider for refreshing
- * tokens. Once the refreshed token is acquired, you should make sure to update
- * this new token in the credentials object's {params} property. The following
- * code will update the WebIdentityToken, assuming you have retrieved an updated
- * token from the identity provider:
- *
- * ```javascript
- * AWS.config.credentials.params.WebIdentityToken = updatedToken;
- * ```
- *
- * Future calls to `credentials.refresh()` will now use the new token.
- *
- * @!attribute params
- * @return [map] the map of params passed to
- * {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the
- * `params.WebIdentityToken` property.
- * @!attribute data
- * @return [map] the raw data response from the call to
- * {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get
- * access to other properties from the response.
- */
-AWS.WebIdentityCredentials = AWS.util.inherit(AWS.Credentials, {
- /**
- * Creates a new credentials object.
- * @param (see AWS.STS.assumeRoleWithWebIdentity)
- * @example Creating a new credentials object
- * AWS.config.credentials = new AWS.WebIdentityCredentials({
- * RoleArn: 'arn:aws:iam::1234567890:role/WebIdentity',
- * WebIdentityToken: 'ABCDEFGHIJKLMNOP', // token from identity service
- * RoleSessionName: 'web' // optional name, defaults to web-identity
- * }, {
- * // optionally provide configuration to apply to the underlying AWS.STS service client
- * // if configuration is not provided, then configuration will be pulled from AWS.config
- *
- * // specify timeout options
- * httpOptions: {
- * timeout: 100
- * }
- * });
- * @see AWS.STS.assumeRoleWithWebIdentity
- * @see AWS.Config
- */
- constructor: function WebIdentityCredentials(params, clientConfig) {
- AWS.Credentials.call(this);
- this.expired = true;
- this.params = params;
- this.params.RoleSessionName = this.params.RoleSessionName || 'web-identity';
- this.data = null;
- this._clientConfig = AWS.util.copy(clientConfig || {});
- },
-
- /**
- * Refreshes credentials using {AWS.STS.assumeRoleWithWebIdentity}
- *
- * @callback callback function(err)
- * Called when the STS service responds (or fails). When
- * this callback is called with no error, it means that the credentials
- * information has been loaded into the object (as the `accessKeyId`,
- * `secretAccessKey`, and `sessionToken` properties).
- * @param err [Error] if an error occurred, this value will be filled
- * @see get
- */
- refresh: function refresh(callback) {
- this.coalesceRefresh(callback || AWS.util.fn.callback);
- },
-
- /**
- * @api private
- */
- load: function load(callback) {
- var self = this;
- self.createClients();
- self.service.assumeRoleWithWebIdentity(function (err, data) {
- self.data = null;
- if (!err) {
- self.data = data;
- self.service.credentialsFrom(data, self);
- }
- callback(err);
- });
- },
-
- /**
- * @api private
- */
- createClients: function() {
- if (!this.service) {
- var stsConfig = AWS.util.merge({}, this._clientConfig);
- stsConfig.params = this.params;
- this.service = new STS(stsConfig);
- }
- }
-
-});
-
-
-/***/ }),
-
-/***/ 45313:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var util = __webpack_require__(77985);
-var endpointDiscoveryEnabledEnvs = ['AWS_ENABLE_ENDPOINT_DISCOVERY', 'AWS_ENDPOINT_DISCOVERY_ENABLED'];
-
-/**
- * Generate key (except resources and operation part) to index the endpoints in the cache
- * If input shape has endpointdiscoveryid trait then use
- * accessKey + operation + resources + region + service as cache key
- * If input shape doesn't have endpointdiscoveryid trait then use
- * accessKey + region + service as cache key
- * @return [map] object with keys to index endpoints.
- * @api private
- */
-function getCacheKey(request) {
- var service = request.service;
- var api = service.api || {};
- var operations = api.operations;
- var identifiers = {};
- if (service.config.region) {
- identifiers.region = service.config.region;
- }
- if (api.serviceId) {
- identifiers.serviceId = api.serviceId;
- }
- if (service.config.credentials.accessKeyId) {
- identifiers.accessKeyId = service.config.credentials.accessKeyId;
- }
- return identifiers;
-}
-
-/**
- * Recursive helper for marshallCustomIdentifiers().
- * Looks for required string input members that have 'endpointdiscoveryid' trait.
- * @api private
- */
-function marshallCustomIdentifiersHelper(result, params, shape) {
- if (!shape || params === undefined || params === null) return;
- if (shape.type === 'structure' && shape.required && shape.required.length > 0) {
- util.arrayEach(shape.required, function(name) {
- var memberShape = shape.members[name];
- if (memberShape.endpointDiscoveryId === true) {
- var locationName = memberShape.isLocationName ? memberShape.name : name;
- result[locationName] = String(params[name]);
- } else {
- marshallCustomIdentifiersHelper(result, params[name], memberShape);
- }
- });
- }
-}
-
-/**
- * Get custom identifiers for cache key.
- * Identifies custom identifiers by checking each shape's `endpointDiscoveryId` trait.
- * @param [object] request object
- * @param [object] input shape of the given operation's api
- * @api private
- */
-function marshallCustomIdentifiers(request, shape) {
- var identifiers = {};
- marshallCustomIdentifiersHelper(identifiers, request.params, shape);
- return identifiers;
-}
-
-/**
- * Call endpoint discovery operation when it's optional.
- * When endpoint is available in cache then use the cached endpoints. If endpoints
- * are unavailable then use regional endpoints and call endpoint discovery operation
- * asynchronously. This is turned off by default.
- * @param [object] request object
- * @api private
- */
-function optionalDiscoverEndpoint(request) {
- var service = request.service;
- var api = service.api;
- var operationModel = api.operations ? api.operations[request.operation] : undefined;
- var inputShape = operationModel ? operationModel.input : undefined;
-
- var identifiers = marshallCustomIdentifiers(request, inputShape);
- var cacheKey = getCacheKey(request);
- if (Object.keys(identifiers).length > 0) {
- cacheKey = util.update(cacheKey, identifiers);
- if (operationModel) cacheKey.operation = operationModel.name;
- }
- var endpoints = AWS.endpointCache.get(cacheKey);
- if (endpoints && endpoints.length === 1 && endpoints[0].Address === '') {
- //endpoint operation is being made but response not yet received
- //or endpoint operation just failed in 1 minute
- return;
- } else if (endpoints && endpoints.length > 0) {
- //found endpoint record from cache
- request.httpRequest.updateEndpoint(endpoints[0].Address);
- } else {
- //endpoint record not in cache or outdated. make discovery operation
- var endpointRequest = service.makeRequest(api.endpointOperation, {
- Operation: operationModel.name,
- Identifiers: identifiers,
- });
- addApiVersionHeader(endpointRequest);
- endpointRequest.removeListener('validate', AWS.EventListeners.Core.VALIDATE_PARAMETERS);
- endpointRequest.removeListener('retry', AWS.EventListeners.Core.RETRY_CHECK);
- //put in a placeholder for endpoints already requested, prevent
- //too much in-flight calls
- AWS.endpointCache.put(cacheKey, [{
- Address: '',
- CachePeriodInMinutes: 1
- }]);
- endpointRequest.send(function(err, data) {
- if (data && data.Endpoints) {
- AWS.endpointCache.put(cacheKey, data.Endpoints);
- } else if (err) {
- AWS.endpointCache.put(cacheKey, [{
- Address: '',
- CachePeriodInMinutes: 1 //not to make more endpoint operation in next 1 minute
- }]);
- }
- });
- }
-}
-
-var requestQueue = {};
-
-/**
- * Call endpoint discovery operation when it's required.
- * When endpoint is available in cache then use cached ones. If endpoints are
- * unavailable then SDK should call endpoint operation then use returned new
- * endpoint for the api call. SDK will automatically attempt to do endpoint
- * discovery. This is turned off by default
- * @param [object] request object
- * @api private
- */
-function requiredDiscoverEndpoint(request, done) {
- var service = request.service;
- var api = service.api;
- var operationModel = api.operations ? api.operations[request.operation] : undefined;
- var inputShape = operationModel ? operationModel.input : undefined;
-
- var identifiers = marshallCustomIdentifiers(request, inputShape);
- var cacheKey = getCacheKey(request);
- if (Object.keys(identifiers).length > 0) {
- cacheKey = util.update(cacheKey, identifiers);
- if (operationModel) cacheKey.operation = operationModel.name;
- }
- var cacheKeyStr = AWS.EndpointCache.getKeyString(cacheKey);
- var endpoints = AWS.endpointCache.get(cacheKeyStr); //endpoint cache also accepts string keys
- if (endpoints && endpoints.length === 1 && endpoints[0].Address === '') {
- //endpoint operation is being made but response not yet received
- //push request object to a pending queue
- if (!requestQueue[cacheKeyStr]) requestQueue[cacheKeyStr] = [];
- requestQueue[cacheKeyStr].push({request: request, callback: done});
- return;
- } else if (endpoints && endpoints.length > 0) {
- request.httpRequest.updateEndpoint(endpoints[0].Address);
- done();
- } else {
- var endpointRequest = service.makeRequest(api.endpointOperation, {
- Operation: operationModel.name,
- Identifiers: identifiers,
- });
- endpointRequest.removeListener('validate', AWS.EventListeners.Core.VALIDATE_PARAMETERS);
- addApiVersionHeader(endpointRequest);
-
- //put in a placeholder for endpoints already requested, prevent
- //too much in-flight calls
- AWS.endpointCache.put(cacheKeyStr, [{
- Address: '',
- CachePeriodInMinutes: 60 //long-live cache
- }]);
- endpointRequest.send(function(err, data) {
- if (err) {
- request.response.error = util.error(err, { retryable: false });
- AWS.endpointCache.remove(cacheKey);
-
- //fail all the pending requests in batch
- if (requestQueue[cacheKeyStr]) {
- var pendingRequests = requestQueue[cacheKeyStr];
- util.arrayEach(pendingRequests, function(requestContext) {
- requestContext.request.response.error = util.error(err, { retryable: false });
- requestContext.callback();
- });
- delete requestQueue[cacheKeyStr];
- }
- } else if (data) {
- AWS.endpointCache.put(cacheKeyStr, data.Endpoints);
- request.httpRequest.updateEndpoint(data.Endpoints[0].Address);
-
- //update the endpoint for all the pending requests in batch
- if (requestQueue[cacheKeyStr]) {
- var pendingRequests = requestQueue[cacheKeyStr];
- util.arrayEach(pendingRequests, function(requestContext) {
- requestContext.request.httpRequest.updateEndpoint(data.Endpoints[0].Address);
- requestContext.callback();
- });
- delete requestQueue[cacheKeyStr];
- }
- }
- done();
- });
- }
-}
-
-/**
- * add api version header to endpoint operation
- * @api private
- */
-function addApiVersionHeader(endpointRequest) {
- var api = endpointRequest.service.api;
- var apiVersion = api.apiVersion;
- if (apiVersion && !endpointRequest.httpRequest.headers['x-amz-api-version']) {
- endpointRequest.httpRequest.headers['x-amz-api-version'] = apiVersion;
- }
-}
-
-/**
- * If api call gets invalid endpoint exception, SDK should attempt to remove the invalid
- * endpoint from cache.
- * @api private
- */
-function invalidateCachedEndpoints(response) {
- var error = response.error;
- var httpResponse = response.httpResponse;
- if (error &&
- (error.code === 'InvalidEndpointException' || httpResponse.statusCode === 421)
- ) {
- var request = response.request;
- var operations = request.service.api.operations || {};
- var inputShape = operations[request.operation] ? operations[request.operation].input : undefined;
- var identifiers = marshallCustomIdentifiers(request, inputShape);
- var cacheKey = getCacheKey(request);
- if (Object.keys(identifiers).length > 0) {
- cacheKey = util.update(cacheKey, identifiers);
- if (operations[request.operation]) cacheKey.operation = operations[request.operation].name;
- }
- AWS.endpointCache.remove(cacheKey);
- }
-}
-
-/**
- * If endpoint is explicitly configured, SDK should not do endpoint discovery in anytime.
- * @param [object] client Service client object.
- * @api private
- */
-function hasCustomEndpoint(client) {
- //if set endpoint is set for specific client, enable endpoint discovery will raise an error.
- if (client._originalConfig && client._originalConfig.endpoint && client._originalConfig.endpointDiscoveryEnabled === true) {
- throw util.error(new Error(), {
- code: 'ConfigurationException',
- message: 'Custom endpoint is supplied; endpointDiscoveryEnabled must not be true.'
- });
- };
- var svcConfig = AWS.config[client.serviceIdentifier] || {};
- return Boolean(AWS.config.endpoint || svcConfig.endpoint || (client._originalConfig && client._originalConfig.endpoint));
-}
-
-/**
- * @api private
- */
-function isFalsy(value) {
- return ['false', '0'].indexOf(value) >= 0;
-}
-
-/**
- * If endpoint discovery should perform for this request when no operation requires endpoint
- * discovery for the given service.
- * SDK performs config resolution in order like below:
- * 1. If set in client configuration.
- * 2. If set in env AWS_ENABLE_ENDPOINT_DISCOVERY.
- * 3. If set in shared ini config file with key 'endpoint_discovery_enabled'.
- * @param [object] request request object.
- * @returns [boolean|undefined] if endpoint discovery config is not set in any source, this
- * function returns undefined
- * @api private
- */
-function resolveEndpointDiscoveryConfig(request) {
- var service = request.service || {};
- if (service.config.endpointDiscoveryEnabled !== undefined) {
- return service.config.endpointDiscoveryEnabled;
- }
-
- //shared ini file is only available in Node
- //not to check env in browser
- if (util.isBrowser()) return undefined;
-
- // If any of recognized endpoint discovery config env is set
- for (var i = 0; i < endpointDiscoveryEnabledEnvs.length; i++) {
- var env = endpointDiscoveryEnabledEnvs[i];
- if (Object.prototype.hasOwnProperty.call(process.env, env)) {
- if (process.env[env] === '' || process.env[env] === undefined) {
- throw util.error(new Error(), {
- code: 'ConfigurationException',
- message: 'environmental variable ' + env + ' cannot be set to nothing'
- });
- }
- return !isFalsy(process.env[env]);
- }
- }
-
- var configFile = {};
- try {
- configFile = AWS.util.iniLoader ? AWS.util.iniLoader.loadFrom({
- isConfig: true,
- filename: process.env[AWS.util.sharedConfigFileEnv]
- }) : {};
- } catch (e) {}
- var sharedFileConfig = configFile[
- process.env.AWS_PROFILE || AWS.util.defaultProfile
- ] || {};
- if (Object.prototype.hasOwnProperty.call(sharedFileConfig, 'endpoint_discovery_enabled')) {
- if (sharedFileConfig.endpoint_discovery_enabled === undefined) {
- throw util.error(new Error(), {
- code: 'ConfigurationException',
- message: 'config file entry \'endpoint_discovery_enabled\' cannot be set to nothing'
- });
- }
- return !isFalsy(sharedFileConfig.endpoint_discovery_enabled);
- }
- return undefined;
-}
-
-/**
- * attach endpoint discovery logic to request object
- * @param [object] request
- * @api private
- */
-function discoverEndpoint(request, done) {
- var service = request.service || {};
- if (hasCustomEndpoint(service) || request.isPresigned()) return done();
-
- var operations = service.api.operations || {};
- var operationModel = operations[request.operation];
- var isEndpointDiscoveryRequired = operationModel ? operationModel.endpointDiscoveryRequired : 'NULL';
- var isEnabled = resolveEndpointDiscoveryConfig(request);
- var hasRequiredEndpointDiscovery = service.api.hasRequiredEndpointDiscovery;
- if (isEnabled || hasRequiredEndpointDiscovery) {
- // Once a customer enables endpoint discovery, the SDK should start appending
- // the string endpoint-discovery to the user-agent on all requests.
- request.httpRequest.appendToUserAgent('endpoint-discovery');
- }
- switch (isEndpointDiscoveryRequired) {
- case 'OPTIONAL':
- if (isEnabled || hasRequiredEndpointDiscovery) {
- // For a given service; if at least one operation requires endpoint discovery then the SDK must enable endpoint discovery
- // by default for all operations of that service, including operations where endpoint discovery is optional.
- optionalDiscoverEndpoint(request);
- request.addNamedListener('INVALIDATE_CACHED_ENDPOINTS', 'extractError', invalidateCachedEndpoints);
- }
- done();
- break;
- case 'REQUIRED':
- if (isEnabled === false) {
- // For a given operation; if endpoint discovery is required and it has been disabled on the SDK client,
- // then the SDK must return a clear and actionable exception.
- request.response.error = util.error(new Error(), {
- code: 'ConfigurationException',
- message: 'Endpoint Discovery is disabled but ' + service.api.className + '.' + request.operation +
- '() requires it. Please check your configurations.'
- });
- done();
- break;
- }
- request.addNamedListener('INVALIDATE_CACHED_ENDPOINTS', 'extractError', invalidateCachedEndpoints);
- requiredDiscoverEndpoint(request, done);
- break;
- case 'NULL':
- default:
- done();
- break;
- }
-}
-
-module.exports = {
- discoverEndpoint: discoverEndpoint,
- requiredDiscoverEndpoint: requiredDiscoverEndpoint,
- optionalDiscoverEndpoint: optionalDiscoverEndpoint,
- marshallCustomIdentifiers: marshallCustomIdentifiers,
- getCacheKey: getCacheKey,
- invalidateCachedEndpoint: invalidateCachedEndpoints,
-};
-
-
-/***/ }),
-
-/***/ 76663:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var util = AWS.util;
-var typeOf = __webpack_require__(48084).typeOf;
-var DynamoDBSet = __webpack_require__(20304);
-var NumberValue = __webpack_require__(91593);
-
-AWS.DynamoDB.Converter = {
- /**
- * Convert a JavaScript value to its equivalent DynamoDB AttributeValue type
- *
- * @param data [any] The data to convert to a DynamoDB AttributeValue
- * @param options [map]
- * @option options convertEmptyValues [Boolean] Whether to automatically
- * convert empty strings, blobs,
- * and sets to `null`
- * @option options wrapNumbers [Boolean] Whether to return numbers as a
- * NumberValue object instead of
- * converting them to native JavaScript
- * numbers. This allows for the safe
- * round-trip transport of numbers of
- * arbitrary size.
- * @return [map] An object in the Amazon DynamoDB AttributeValue format
- *
- * @see AWS.DynamoDB.Converter.marshall AWS.DynamoDB.Converter.marshall to
- * convert entire records (rather than individual attributes)
- */
- input: function convertInput(data, options) {
- options = options || {};
- var type = typeOf(data);
- if (type === 'Object') {
- return formatMap(data, options);
- } else if (type === 'Array') {
- return formatList(data, options);
- } else if (type === 'Set') {
- return formatSet(data, options);
- } else if (type === 'String') {
- if (data.length === 0 && options.convertEmptyValues) {
- return convertInput(null);
- }
- return { S: data };
- } else if (type === 'Number' || type === 'NumberValue') {
- return { N: data.toString() };
- } else if (type === 'Binary') {
- if (data.length === 0 && options.convertEmptyValues) {
- return convertInput(null);
- }
- return { B: data };
- } else if (type === 'Boolean') {
- return { BOOL: data };
- } else if (type === 'null') {
- return { NULL: true };
- } else if (type !== 'undefined' && type !== 'Function') {
- // this value has a custom constructor
- return formatMap(data, options);
- }
- },
-
- /**
- * Convert a JavaScript object into a DynamoDB record.
- *
- * @param data [any] The data to convert to a DynamoDB record
- * @param options [map]
- * @option options convertEmptyValues [Boolean] Whether to automatically
- * convert empty strings, blobs,
- * and sets to `null`
- * @option options wrapNumbers [Boolean] Whether to return numbers as a
- * NumberValue object instead of
- * converting them to native JavaScript
- * numbers. This allows for the safe
- * round-trip transport of numbers of
- * arbitrary size.
- *
- * @return [map] An object in the DynamoDB record format.
- *
- * @example Convert a JavaScript object into a DynamoDB record
- * var marshalled = AWS.DynamoDB.Converter.marshall({
- * string: 'foo',
- * list: ['fizz', 'buzz', 'pop'],
- * map: {
- * nestedMap: {
- * key: 'value',
- * }
- * },
- * number: 123,
- * nullValue: null,
- * boolValue: true,
- * stringSet: new DynamoDBSet(['foo', 'bar', 'baz'])
- * });
- */
- marshall: function marshallItem(data, options) {
- return AWS.DynamoDB.Converter.input(data, options).M;
- },
-
- /**
- * Convert a DynamoDB AttributeValue object to its equivalent JavaScript type.
- *
- * @param data [map] An object in the Amazon DynamoDB AttributeValue format
- * @param options [map]
- * @option options convertEmptyValues [Boolean] Whether to automatically
- * convert empty strings, blobs,
- * and sets to `null`
- * @option options wrapNumbers [Boolean] Whether to return numbers as a
- * NumberValue object instead of
- * converting them to native JavaScript
- * numbers. This allows for the safe
- * round-trip transport of numbers of
- * arbitrary size.
- *
- * @return [Object|Array|String|Number|Boolean|null]
- *
- * @see AWS.DynamoDB.Converter.unmarshall AWS.DynamoDB.Converter.unmarshall to
- * convert entire records (rather than individual attributes)
- */
- output: function convertOutput(data, options) {
- options = options || {};
- var list, map, i;
- for (var type in data) {
- var values = data[type];
- if (type === 'M') {
- map = {};
- for (var key in values) {
- map[key] = convertOutput(values[key], options);
- }
- return map;
- } else if (type === 'L') {
- list = [];
- for (i = 0; i < values.length; i++) {
- list.push(convertOutput(values[i], options));
- }
- return list;
- } else if (type === 'SS') {
- list = [];
- for (i = 0; i < values.length; i++) {
- list.push(values[i] + '');
- }
- return new DynamoDBSet(list);
- } else if (type === 'NS') {
- list = [];
- for (i = 0; i < values.length; i++) {
- list.push(convertNumber(values[i], options.wrapNumbers));
- }
- return new DynamoDBSet(list);
- } else if (type === 'BS') {
- list = [];
- for (i = 0; i < values.length; i++) {
- list.push(AWS.util.buffer.toBuffer(values[i]));
- }
- return new DynamoDBSet(list);
- } else if (type === 'S') {
- return values + '';
- } else if (type === 'N') {
- return convertNumber(values, options.wrapNumbers);
- } else if (type === 'B') {
- return util.buffer.toBuffer(values);
- } else if (type === 'BOOL') {
- return (values === 'true' || values === 'TRUE' || values === true);
- } else if (type === 'NULL') {
- return null;
- }
- }
- },
-
- /**
- * Convert a DynamoDB record into a JavaScript object.
- *
- * @param data [any] The DynamoDB record
- * @param options [map]
- * @option options convertEmptyValues [Boolean] Whether to automatically
- * convert empty strings, blobs,
- * and sets to `null`
- * @option options wrapNumbers [Boolean] Whether to return numbers as a
- * NumberValue object instead of
- * converting them to native JavaScript
- * numbers. This allows for the safe
- * round-trip transport of numbers of
- * arbitrary size.
- *
- * @return [map] An object whose properties have been converted from
- * DynamoDB's AttributeValue format into their corresponding native
- * JavaScript types.
- *
- * @example Convert a record received from a DynamoDB stream
- * var unmarshalled = AWS.DynamoDB.Converter.unmarshall({
- * string: {S: 'foo'},
- * list: {L: [{S: 'fizz'}, {S: 'buzz'}, {S: 'pop'}]},
- * map: {
- * M: {
- * nestedMap: {
- * M: {
- * key: {S: 'value'}
- * }
- * }
- * }
- * },
- * number: {N: '123'},
- * nullValue: {NULL: true},
- * boolValue: {BOOL: true}
- * });
- */
- unmarshall: function unmarshall(data, options) {
- return AWS.DynamoDB.Converter.output({M: data}, options);
- }
-};
-
-/**
- * @api private
- * @param data [Array]
- * @param options [map]
- */
-function formatList(data, options) {
- var list = {L: []};
- for (var i = 0; i < data.length; i++) {
- list['L'].push(AWS.DynamoDB.Converter.input(data[i], options));
- }
- return list;
-}
-
-/**
- * @api private
- * @param value [String]
- * @param wrapNumbers [Boolean]
- */
-function convertNumber(value, wrapNumbers) {
- return wrapNumbers ? new NumberValue(value) : Number(value);
-}
-
-/**
- * @api private
- * @param data [map]
- * @param options [map]
- */
-function formatMap(data, options) {
- var map = {M: {}};
- for (var key in data) {
- var formatted = AWS.DynamoDB.Converter.input(data[key], options);
- if (formatted !== void 0) {
- map['M'][key] = formatted;
- }
- }
- return map;
-}
-
-/**
- * @api private
- */
-function formatSet(data, options) {
- options = options || {};
- var values = data.values;
- if (options.convertEmptyValues) {
- values = filterEmptySetValues(data);
- if (values.length === 0) {
- return AWS.DynamoDB.Converter.input(null);
- }
- }
-
- var map = {};
- switch (data.type) {
- case 'String': map['SS'] = values; break;
- case 'Binary': map['BS'] = values; break;
- case 'Number': map['NS'] = values.map(function (value) {
- return value.toString();
- });
- }
- return map;
-}
-
-/**
- * @api private
- */
-function filterEmptySetValues(set) {
- var nonEmptyValues = [];
- var potentiallyEmptyTypes = {
- String: true,
- Binary: true,
- Number: false
- };
- if (potentiallyEmptyTypes[set.type]) {
- for (var i = 0; i < set.values.length; i++) {
- if (set.values[i].length === 0) {
- continue;
- }
- nonEmptyValues.push(set.values[i]);
- }
-
- return nonEmptyValues;
- }
-
- return set.values;
-}
-
-/**
- * @api private
- */
-module.exports = AWS.DynamoDB.Converter;
-
-
-/***/ }),
-
-/***/ 90030:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var Translator = __webpack_require__(34222);
-var DynamoDBSet = __webpack_require__(20304);
-
-/**
- * The document client simplifies working with items in Amazon DynamoDB
- * by abstracting away the notion of attribute values. This abstraction
- * annotates native JavaScript types supplied as input parameters, as well
- * as converts annotated response data to native JavaScript types.
- *
- * ## Marshalling Input and Unmarshalling Response Data
- *
- * The document client affords developers the use of native JavaScript types
- * instead of `AttributeValue`s to simplify the JavaScript development
- * experience with Amazon DynamoDB. JavaScript objects passed in as parameters
- * are marshalled into `AttributeValue` shapes required by Amazon DynamoDB.
- * Responses from DynamoDB are unmarshalled into plain JavaScript objects
- * by the `DocumentClient`. The `DocumentClient`, does not accept
- * `AttributeValue`s in favor of native JavaScript types.
- *
- * | JavaScript Type | DynamoDB AttributeValue |
- * |:----------------------------------------------------------------------:|-------------------------|
- * | String | S |
- * | Number | N |
- * | Boolean | BOOL |
- * | null | NULL |
- * | Array | L |
- * | Object | M |
- * | Buffer, File, Blob, ArrayBuffer, DataView, and JavaScript typed arrays | B |
- *
- * ## Support for Sets
- *
- * The `DocumentClient` offers a convenient way to create sets from
- * JavaScript Arrays. The type of set is inferred from the first element
- * in the array. DynamoDB supports string, number, and binary sets. To
- * learn more about supported types see the
- * [Amazon DynamoDB Data Model Documentation](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html)
- * For more information see {AWS.DynamoDB.DocumentClient.createSet}
- *
- */
-AWS.DynamoDB.DocumentClient = AWS.util.inherit({
-
- /**
- * Creates a DynamoDB document client with a set of configuration options.
- *
- * @option options params [map] An optional map of parameters to bind to every
- * request sent by this service object.
- * @option options service [AWS.DynamoDB] An optional pre-configured instance
- * of the AWS.DynamoDB service object. This instance's config will be
- * copied to a new instance used by this client. You should not need to
- * retain a reference to the input object, and may destroy it or allow it
- * to be garbage collected.
- * @option options convertEmptyValues [Boolean] set to true if you would like
- * the document client to convert empty values (0-length strings, binary
- * buffers, and sets) to be converted to NULL types when persisting to
- * DynamoDB.
- * @option options wrapNumbers [Boolean] Set to true to return numbers as a
- * NumberValue object instead of converting them to native JavaScript numbers.
- * This allows for the safe round-trip transport of numbers of arbitrary size.
- * @see AWS.DynamoDB.constructor
- *
- */
- constructor: function DocumentClient(options) {
- var self = this;
- self.options = options || {};
- self.configure(self.options);
- },
-
- /**
- * @api private
- */
- configure: function configure(options) {
- var self = this;
- self.service = options.service;
- self.bindServiceObject(options);
- self.attrValue = options.attrValue =
- self.service.api.operations.putItem.input.members.Item.value.shape;
- },
-
- /**
- * @api private
- */
- bindServiceObject: function bindServiceObject(options) {
- var self = this;
- options = options || {};
-
- if (!self.service) {
- self.service = new AWS.DynamoDB(options);
- } else {
- var config = AWS.util.copy(self.service.config);
- self.service = new self.service.constructor.__super__(config);
- self.service.config.params =
- AWS.util.merge(self.service.config.params || {}, options.params);
- }
- },
-
- /**
- * @api private
- */
- makeServiceRequest: function(operation, params, callback) {
- var self = this;
- var request = self.service[operation](params);
- self.setupRequest(request);
- self.setupResponse(request);
- if (typeof callback === 'function') {
- request.send(callback);
- }
- return request;
- },
-
- /**
- * @api private
- */
- serviceClientOperationsMap: {
- batchGet: 'batchGetItem',
- batchWrite: 'batchWriteItem',
- delete: 'deleteItem',
- get: 'getItem',
- put: 'putItem',
- query: 'query',
- scan: 'scan',
- update: 'updateItem',
- transactGet: 'transactGetItems',
- transactWrite: 'transactWriteItems'
- },
-
- /**
- * Returns the attributes of one or more items from one or more tables
- * by delegating to `AWS.DynamoDB.batchGetItem()`.
- *
- * Supply the same parameters as {AWS.DynamoDB.batchGetItem} with
- * `AttributeValue`s substituted by native JavaScript types.
- *
- * @see AWS.DynamoDB.batchGetItem
- * @example Get items from multiple tables
- * var params = {
- * RequestItems: {
- * 'Table-1': {
- * Keys: [
- * {
- * HashKey: 'haskey',
- * NumberRangeKey: 1
- * }
- * ]
- * },
- * 'Table-2': {
- * Keys: [
- * { foo: 'bar' },
- * ]
- * }
- * }
- * };
- *
- * var documentClient = new AWS.DynamoDB.DocumentClient();
- *
- * documentClient.batchGet(params, function(err, data) {
- * if (err) console.log(err);
- * else console.log(data);
- * });
- *
- */
- batchGet: function(params, callback) {
- var operation = this.serviceClientOperationsMap['batchGet'];
- return this.makeServiceRequest(operation, params, callback);
- },
-
- /**
- * Puts or deletes multiple items in one or more tables by delegating
- * to `AWS.DynamoDB.batchWriteItem()`.
- *
- * Supply the same parameters as {AWS.DynamoDB.batchWriteItem} with
- * `AttributeValue`s substituted by native JavaScript types.
- *
- * @see AWS.DynamoDB.batchWriteItem
- * @example Write to and delete from a table
- * var params = {
- * RequestItems: {
- * 'Table-1': [
- * {
- * DeleteRequest: {
- * Key: { HashKey: 'someKey' }
- * }
- * },
- * {
- * PutRequest: {
- * Item: {
- * HashKey: 'anotherKey',
- * NumAttribute: 1,
- * BoolAttribute: true,
- * ListAttribute: [1, 'two', false],
- * MapAttribute: { foo: 'bar' }
- * }
- * }
- * }
- * ]
- * }
- * };
- *
- * var documentClient = new AWS.DynamoDB.DocumentClient();
- *
- * documentClient.batchWrite(params, function(err, data) {
- * if (err) console.log(err);
- * else console.log(data);
- * });
- *
- */
- batchWrite: function(params, callback) {
- var operation = this.serviceClientOperationsMap['batchWrite'];
- return this.makeServiceRequest(operation, params, callback);
- },
-
- /**
- * Deletes a single item in a table by primary key by delegating to
- * `AWS.DynamoDB.deleteItem()`
- *
- * Supply the same parameters as {AWS.DynamoDB.deleteItem} with
- * `AttributeValue`s substituted by native JavaScript types.
- *
- * @see AWS.DynamoDB.deleteItem
- * @example Delete an item from a table
- * var params = {
- * TableName : 'Table',
- * Key: {
- * HashKey: 'hashkey',
- * NumberRangeKey: 1
- * }
- * };
- *
- * var documentClient = new AWS.DynamoDB.DocumentClient();
- *
- * documentClient.delete(params, function(err, data) {
- * if (err) console.log(err);
- * else console.log(data);
- * });
- *
- */
- delete: function(params, callback) {
- var operation = this.serviceClientOperationsMap['delete'];
- return this.makeServiceRequest(operation, params, callback);
- },
-
- /**
- * Returns a set of attributes for the item with the given primary key
- * by delegating to `AWS.DynamoDB.getItem()`.
- *
- * Supply the same parameters as {AWS.DynamoDB.getItem} with
- * `AttributeValue`s substituted by native JavaScript types.
- *
- * @see AWS.DynamoDB.getItem
- * @example Get an item from a table
- * var params = {
- * TableName : 'Table',
- * Key: {
- * HashKey: 'hashkey'
- * }
- * };
- *
- * var documentClient = new AWS.DynamoDB.DocumentClient();
- *
- * documentClient.get(params, function(err, data) {
- * if (err) console.log(err);
- * else console.log(data);
- * });
- *
- */
- get: function(params, callback) {
- var operation = this.serviceClientOperationsMap['get'];
- return this.makeServiceRequest(operation, params, callback);
- },
-
- /**
- * Creates a new item, or replaces an old item with a new item by
- * delegating to `AWS.DynamoDB.putItem()`.
- *
- * Supply the same parameters as {AWS.DynamoDB.putItem} with
- * `AttributeValue`s substituted by native JavaScript types.
- *
- * @see AWS.DynamoDB.putItem
- * @example Create a new item in a table
- * var params = {
- * TableName : 'Table',
- * Item: {
- * HashKey: 'haskey',
- * NumAttribute: 1,
- * BoolAttribute: true,
- * ListAttribute: [1, 'two', false],
- * MapAttribute: { foo: 'bar'},
- * NullAttribute: null
- * }
- * };
- *
- * var documentClient = new AWS.DynamoDB.DocumentClient();
- *
- * documentClient.put(params, function(err, data) {
- * if (err) console.log(err);
- * else console.log(data);
- * });
- *
- */
- put: function(params, callback) {
- var operation = this.serviceClientOperationsMap['put'];
- return this.makeServiceRequest(operation, params, callback);
- },
-
- /**
- * Edits an existing item's attributes, or adds a new item to the table if
- * it does not already exist by delegating to `AWS.DynamoDB.updateItem()`.
- *
- * Supply the same parameters as {AWS.DynamoDB.updateItem} with
- * `AttributeValue`s substituted by native JavaScript types.
- *
- * @see AWS.DynamoDB.updateItem
- * @example Update an item with expressions
- * var params = {
- * TableName: 'Table',
- * Key: { HashKey : 'hashkey' },
- * UpdateExpression: 'set #a = :x + :y',
- * ConditionExpression: '#a < :MAX',
- * ExpressionAttributeNames: {'#a' : 'Sum'},
- * ExpressionAttributeValues: {
- * ':x' : 20,
- * ':y' : 45,
- * ':MAX' : 100,
- * }
- * };
- *
- * var documentClient = new AWS.DynamoDB.DocumentClient();
- *
- * documentClient.update(params, function(err, data) {
- * if (err) console.log(err);
- * else console.log(data);
- * });
- *
- */
- update: function(params, callback) {
- var operation = this.serviceClientOperationsMap['update'];
- return this.makeServiceRequest(operation, params, callback);
- },
-
- /**
- * Returns one or more items and item attributes by accessing every item
- * in a table or a secondary index.
- *
- * Supply the same parameters as {AWS.DynamoDB.scan} with
- * `AttributeValue`s substituted by native JavaScript types.
- *
- * @see AWS.DynamoDB.scan
- * @example Scan the table with a filter expression
- * var params = {
- * TableName : 'Table',
- * FilterExpression : 'Year = :this_year',
- * ExpressionAttributeValues : {':this_year' : 2015}
- * };
- *
- * var documentClient = new AWS.DynamoDB.DocumentClient();
- *
- * documentClient.scan(params, function(err, data) {
- * if (err) console.log(err);
- * else console.log(data);
- * });
- *
- */
- scan: function(params, callback) {
- var operation = this.serviceClientOperationsMap['scan'];
- return this.makeServiceRequest(operation, params, callback);
- },
-
- /**
- * Directly access items from a table by primary key or a secondary index.
- *
- * Supply the same parameters as {AWS.DynamoDB.query} with
- * `AttributeValue`s substituted by native JavaScript types.
- *
- * @see AWS.DynamoDB.query
- * @example Query an index
- * var params = {
- * TableName: 'Table',
- * IndexName: 'Index',
- * KeyConditionExpression: 'HashKey = :hkey and RangeKey > :rkey',
- * ExpressionAttributeValues: {
- * ':hkey': 'key',
- * ':rkey': 2015
- * }
- * };
- *
- * var documentClient = new AWS.DynamoDB.DocumentClient();
- *
- * documentClient.query(params, function(err, data) {
- * if (err) console.log(err);
- * else console.log(data);
- * });
- *
- */
- query: function(params, callback) {
- var operation = this.serviceClientOperationsMap['query'];
- return this.makeServiceRequest(operation, params, callback);
- },
-
- /**
- * Synchronous write operation that groups up to 25 action requests.
- *
- * Supply the same parameters as {AWS.DynamoDB.transactWriteItems} with
- * `AttributeValue`s substituted by native JavaScript types.
- *
- * @see AWS.DynamoDB.transactWriteItems
- * @example Get items from multiple tables
- * var params = {
- * TransactItems: [{
- * Put: {
- * TableName : 'Table0',
- * Item: {
- * HashKey: 'haskey',
- * NumAttribute: 1,
- * BoolAttribute: true,
- * ListAttribute: [1, 'two', false],
- * MapAttribute: { foo: 'bar'},
- * NullAttribute: null
- * }
- * }
- * }, {
- * Update: {
- * TableName: 'Table1',
- * Key: { HashKey : 'hashkey' },
- * UpdateExpression: 'set #a = :x + :y',
- * ConditionExpression: '#a < :MAX',
- * ExpressionAttributeNames: {'#a' : 'Sum'},
- * ExpressionAttributeValues: {
- * ':x' : 20,
- * ':y' : 45,
- * ':MAX' : 100,
- * }
- * }
- * }]
- * };
- *
- * documentClient.transactWrite(params, function(err, data) {
- * if (err) console.log(err);
- * else console.log(data);
- * });
- */
- transactWrite: function(params, callback) {
- var operation = this.serviceClientOperationsMap['transactWrite'];
- return this.makeServiceRequest(operation, params, callback);
- },
-
- /**
- * Atomically retrieves multiple items from one or more tables (but not from indexes)
- * in a single account and region.
- *
- * Supply the same parameters as {AWS.DynamoDB.transactGetItems} with
- * `AttributeValue`s substituted by native JavaScript types.
- *
- * @see AWS.DynamoDB.transactGetItems
- * @example Get items from multiple tables
- * var params = {
- * TransactItems: [{
- * Get: {
- * TableName : 'Table0',
- * Key: {
- * HashKey: 'hashkey0'
- * }
- * }
- * }, {
- * Get: {
- * TableName : 'Table1',
- * Key: {
- * HashKey: 'hashkey1'
- * }
- * }
- * }]
- * };
- *
- * documentClient.transactGet(params, function(err, data) {
- * if (err) console.log(err);
- * else console.log(data);
- * });
- */
- transactGet: function(params, callback) {
- var operation = this.serviceClientOperationsMap['transactGet'];
- return this.makeServiceRequest(operation, params, callback);
- },
-
- /**
- * Creates a set of elements inferring the type of set from
- * the type of the first element. Amazon DynamoDB currently supports
- * the number sets, string sets, and binary sets. For more information
- * about DynamoDB data types see the documentation on the
- * [Amazon DynamoDB Data Model](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModel.DataTypes).
- *
- * @param list [Array] Collection to represent your DynamoDB Set
- * @param options [map]
- * * **validate** [Boolean] set to true if you want to validate the type
- * of each element in the set. Defaults to `false`.
- * @example Creating a number set
- * var documentClient = new AWS.DynamoDB.DocumentClient();
- *
- * var params = {
- * Item: {
- * hashkey: 'hashkey'
- * numbers: documentClient.createSet([1, 2, 3]);
- * }
- * };
- *
- * documentClient.put(params, function(err, data) {
- * if (err) console.log(err);
- * else console.log(data);
- * });
- *
- */
- createSet: function(list, options) {
- options = options || {};
- return new DynamoDBSet(list, options);
- },
-
- /**
- * @api private
- */
- getTranslator: function() {
- return new Translator(this.options);
- },
-
- /**
- * @api private
- */
- setupRequest: function setupRequest(request) {
- var self = this;
- var translator = self.getTranslator();
- var operation = request.operation;
- var inputShape = request.service.api.operations[operation].input;
- request._events.validate.unshift(function(req) {
- req.rawParams = AWS.util.copy(req.params);
- req.params = translator.translateInput(req.rawParams, inputShape);
- });
- },
-
- /**
- * @api private
- */
- setupResponse: function setupResponse(request) {
- var self = this;
- var translator = self.getTranslator();
- var outputShape = self.service.api.operations[request.operation].output;
- request.on('extractData', function(response) {
- response.data = translator.translateOutput(response.data, outputShape);
- });
-
- var response = request.response;
- response.nextPage = function(cb) {
- var resp = this;
- var req = resp.request;
- var config;
- var service = req.service;
- var operation = req.operation;
- try {
- config = service.paginationConfig(operation, true);
- } catch (e) { resp.error = e; }
-
- if (!resp.hasNextPage()) {
- if (cb) cb(resp.error, null);
- else if (resp.error) throw resp.error;
- return null;
- }
-
- var params = AWS.util.copy(req.rawParams);
- if (!resp.nextPageTokens) {
- return cb ? cb(null, null) : null;
- } else {
- var inputTokens = config.inputToken;
- if (typeof inputTokens === 'string') inputTokens = [inputTokens];
- for (var i = 0; i < inputTokens.length; i++) {
- params[inputTokens[i]] = resp.nextPageTokens[i];
- }
- return self[operation](params, cb);
- }
- };
- }
-
-});
-
-/**
- * @api private
- */
-module.exports = AWS.DynamoDB.DocumentClient;
-
-
-/***/ }),
-
-/***/ 91593:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(28437).util;
-
-/**
- * An object recognizable as a numeric value that stores the underlying number
- * as a string.
- *
- * Intended to be a deserialization target for the DynamoDB Document Client when
- * the `wrapNumbers` flag is set. This allows for numeric values that lose
- * precision when converted to JavaScript's `number` type.
- */
-var DynamoDBNumberValue = util.inherit({
- constructor: function NumberValue(value) {
- this.wrapperName = 'NumberValue';
- this.value = value.toString();
- },
-
- /**
- * Render the underlying value as a number when converting to JSON.
- */
- toJSON: function () {
- return this.toNumber();
- },
-
- /**
- * Convert the underlying value to a JavaScript number.
- */
- toNumber: function () {
- return Number(this.value);
- },
-
- /**
- * Return a string representing the unaltered value provided to the
- * constructor.
- */
- toString: function () {
- return this.value;
- }
-});
-
-/**
- * @api private
- */
-module.exports = DynamoDBNumberValue;
-
-
-/***/ }),
-
-/***/ 20304:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(28437).util;
-var typeOf = __webpack_require__(48084).typeOf;
-
-/**
- * @api private
- */
-var memberTypeToSetType = {
- 'String': 'String',
- 'Number': 'Number',
- 'NumberValue': 'Number',
- 'Binary': 'Binary'
-};
-
-/**
- * @api private
- */
-var DynamoDBSet = util.inherit({
-
- constructor: function Set(list, options) {
- options = options || {};
- this.wrapperName = 'Set';
- this.initialize(list, options.validate);
- },
-
- initialize: function(list, validate) {
- var self = this;
- self.values = [].concat(list);
- self.detectType();
- if (validate) {
- self.validate();
- }
- },
-
- detectType: function() {
- this.type = memberTypeToSetType[typeOf(this.values[0])];
- if (!this.type) {
- throw util.error(new Error(), {
- code: 'InvalidSetType',
- message: 'Sets can contain string, number, or binary values'
- });
- }
- },
-
- validate: function() {
- var self = this;
- var length = self.values.length;
- var values = self.values;
- for (var i = 0; i < length; i++) {
- if (memberTypeToSetType[typeOf(values[i])] !== self.type) {
- throw util.error(new Error(), {
- code: 'InvalidType',
- message: self.type + ' Set contains ' + typeOf(values[i]) + ' value'
- });
- }
- }
- },
-
- /**
- * Render the underlying values only when converting to JSON.
- */
- toJSON: function() {
- var self = this;
- return self.values;
- }
-
-});
-
-/**
- * @api private
- */
-module.exports = DynamoDBSet;
-
-
-/***/ }),
-
-/***/ 34222:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(28437).util;
-var convert = __webpack_require__(76663);
-
-var Translator = function(options) {
- options = options || {};
- this.attrValue = options.attrValue;
- this.convertEmptyValues = Boolean(options.convertEmptyValues);
- this.wrapNumbers = Boolean(options.wrapNumbers);
-};
-
-Translator.prototype.translateInput = function(value, shape) {
- this.mode = 'input';
- return this.translate(value, shape);
-};
-
-Translator.prototype.translateOutput = function(value, shape) {
- this.mode = 'output';
- return this.translate(value, shape);
-};
-
-Translator.prototype.translate = function(value, shape) {
- var self = this;
- if (!shape || value === undefined) return undefined;
-
- if (shape.shape === self.attrValue) {
- return convert[self.mode](value, {
- convertEmptyValues: self.convertEmptyValues,
- wrapNumbers: self.wrapNumbers,
- });
- }
- switch (shape.type) {
- case 'structure': return self.translateStructure(value, shape);
- case 'map': return self.translateMap(value, shape);
- case 'list': return self.translateList(value, shape);
- default: return self.translateScalar(value, shape);
- }
-};
-
-Translator.prototype.translateStructure = function(structure, shape) {
- var self = this;
- if (structure == null) return undefined;
-
- var struct = {};
- util.each(structure, function(name, value) {
- var memberShape = shape.members[name];
- if (memberShape) {
- var result = self.translate(value, memberShape);
- if (result !== undefined) struct[name] = result;
- }
- });
- return struct;
-};
-
-Translator.prototype.translateList = function(list, shape) {
- var self = this;
- if (list == null) return undefined;
-
- var out = [];
- util.arrayEach(list, function(value) {
- var result = self.translate(value, shape.member);
- if (result === undefined) out.push(null);
- else out.push(result);
- });
- return out;
-};
-
-Translator.prototype.translateMap = function(map, shape) {
- var self = this;
- if (map == null) return undefined;
-
- var out = {};
- util.each(map, function(key, value) {
- var result = self.translate(value, shape.value);
- if (result === undefined) out[key] = null;
- else out[key] = result;
- });
- return out;
-};
-
-Translator.prototype.translateScalar = function(value, shape) {
- return shape.toType(value);
-};
-
-/**
- * @api private
- */
-module.exports = Translator;
-
-
-/***/ }),
-
-/***/ 48084:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(28437).util;
-
-function typeOf(data) {
- if (data === null && typeof data === 'object') {
- return 'null';
- } else if (data !== undefined && isBinary(data)) {
- return 'Binary';
- } else if (data !== undefined && data.constructor) {
- return data.wrapperName || util.typeName(data.constructor);
- } else if (data !== undefined && typeof data === 'object') {
- // this object is the result of Object.create(null), hence the absence of a
- // defined constructor
- return 'Object';
- } else {
- return 'undefined';
- }
-}
-
-function isBinary(data) {
- var types = [
- 'Buffer', 'File', 'Blob', 'ArrayBuffer', 'DataView',
- 'Int8Array', 'Uint8Array', 'Uint8ClampedArray',
- 'Int16Array', 'Uint16Array', 'Int32Array', 'Uint32Array',
- 'Float32Array', 'Float64Array'
- ];
- if (util.isNode()) {
- var Stream = util.stream.Stream;
- if (util.Buffer.isBuffer(data) || data instanceof Stream) {
- return true;
- }
- }
-
- for (var i = 0; i < types.length; i++) {
- if (data !== undefined && data.constructor) {
- if (util.isType(data, types[i])) return true;
- if (util.typeName(data.constructor) === types[i]) return true;
- }
- }
-
- return false;
-}
-
-/**
- * @api private
- */
-module.exports = {
- typeOf: typeOf,
- isBinary: isBinary
-};
-
-
-/***/ }),
-
-/***/ 63727:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var eventMessageChunker = __webpack_require__(73630).eventMessageChunker;
-var parseEvent = __webpack_require__(52123).parseEvent;
-
-function createEventStream(body, parser, model) {
- var eventMessages = eventMessageChunker(body);
-
- var events = [];
-
- for (var i = 0; i < eventMessages.length; i++) {
- events.push(parseEvent(parser, eventMessages[i], model));
- }
-
- return events;
-}
-
-/**
- * @api private
- */
-module.exports = {
- createEventStream: createEventStream
-};
-
-
-/***/ }),
-
-/***/ 18518:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(28437).util;
-var Transform = __webpack_require__(92413).Transform;
-var allocBuffer = util.buffer.alloc;
-
-/** @type {Transform} */
-function EventMessageChunkerStream(options) {
- Transform.call(this, options);
-
- this.currentMessageTotalLength = 0;
- this.currentMessagePendingLength = 0;
- /** @type {Buffer} */
- this.currentMessage = null;
-
- /** @type {Buffer} */
- this.messageLengthBuffer = null;
-}
-
-EventMessageChunkerStream.prototype = Object.create(Transform.prototype);
-
-/**
- *
- * @param {Buffer} chunk
- * @param {string} encoding
- * @param {*} callback
- */
-EventMessageChunkerStream.prototype._transform = function(chunk, encoding, callback) {
- var chunkLength = chunk.length;
- var currentOffset = 0;
-
- while (currentOffset < chunkLength) {
- // create new message if necessary
- if (!this.currentMessage) {
- // working on a new message, determine total length
- var bytesRemaining = chunkLength - currentOffset;
- // prevent edge case where total length spans 2 chunks
- if (!this.messageLengthBuffer) {
- this.messageLengthBuffer = allocBuffer(4);
- }
- var numBytesForTotal = Math.min(
- 4 - this.currentMessagePendingLength, // remaining bytes to fill the messageLengthBuffer
- bytesRemaining // bytes left in chunk
- );
-
- chunk.copy(
- this.messageLengthBuffer,
- this.currentMessagePendingLength,
- currentOffset,
- currentOffset + numBytesForTotal
- );
-
- this.currentMessagePendingLength += numBytesForTotal;
- currentOffset += numBytesForTotal;
-
- if (this.currentMessagePendingLength < 4) {
- // not enough information to create the current message
- break;
- }
- this.allocateMessage(this.messageLengthBuffer.readUInt32BE(0));
- this.messageLengthBuffer = null;
- }
-
- // write data into current message
- var numBytesToWrite = Math.min(
- this.currentMessageTotalLength - this.currentMessagePendingLength, // number of bytes left to complete message
- chunkLength - currentOffset // number of bytes left in the original chunk
- );
- chunk.copy(
- this.currentMessage, // target buffer
- this.currentMessagePendingLength, // target offset
- currentOffset, // chunk offset
- currentOffset + numBytesToWrite // chunk end to write
- );
- this.currentMessagePendingLength += numBytesToWrite;
- currentOffset += numBytesToWrite;
-
- // check if a message is ready to be pushed
- if (this.currentMessageTotalLength && this.currentMessageTotalLength === this.currentMessagePendingLength) {
- // push out the message
- this.push(this.currentMessage);
- // cleanup
- this.currentMessage = null;
- this.currentMessageTotalLength = 0;
- this.currentMessagePendingLength = 0;
- }
- }
-
- callback();
-};
-
-EventMessageChunkerStream.prototype._flush = function(callback) {
- if (this.currentMessageTotalLength) {
- if (this.currentMessageTotalLength === this.currentMessagePendingLength) {
- callback(null, this.currentMessage);
- } else {
- callback(new Error('Truncated event message received.'));
- }
- } else {
- callback();
- }
-};
-
-/**
- * @param {number} size Size of the message to be allocated.
- * @api private
- */
-EventMessageChunkerStream.prototype.allocateMessage = function(size) {
- if (typeof size !== 'number') {
- throw new Error('Attempted to allocate an event message where size was not a number: ' + size);
- }
- this.currentMessageTotalLength = size;
- this.currentMessagePendingLength = 4;
- this.currentMessage = allocBuffer(size);
- this.currentMessage.writeUInt32BE(size, 0);
-};
-
-/**
- * @api private
- */
-module.exports = {
- EventMessageChunkerStream: EventMessageChunkerStream
-};
-
-
-/***/ }),
-
-/***/ 73630:
-/***/ ((module) => {
-
-/**
- * Takes in a buffer of event messages and splits them into individual messages.
- * @param {Buffer} buffer
- * @api private
- */
-function eventMessageChunker(buffer) {
- /** @type Buffer[] */
- var messages = [];
- var offset = 0;
-
- while (offset < buffer.length) {
- var totalLength = buffer.readInt32BE(offset);
-
- // create new buffer for individual message (shares memory with original)
- var message = buffer.slice(offset, totalLength + offset);
- // increment offset to it starts at the next message
- offset += totalLength;
-
- messages.push(message);
- }
-
- return messages;
-}
-
-/**
- * @api private
- */
-module.exports = {
- eventMessageChunker: eventMessageChunker
-};
-
-
-/***/ }),
-
-/***/ 93773:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var Transform = __webpack_require__(92413).Transform;
-var parseEvent = __webpack_require__(52123).parseEvent;
-
-/** @type {Transform} */
-function EventUnmarshallerStream(options) {
- options = options || {};
- // set output to object mode
- options.readableObjectMode = true;
- Transform.call(this, options);
- this._readableState.objectMode = true;
-
- this.parser = options.parser;
- this.eventStreamModel = options.eventStreamModel;
-}
-
-EventUnmarshallerStream.prototype = Object.create(Transform.prototype);
-
-/**
- *
- * @param {Buffer} chunk
- * @param {string} encoding
- * @param {*} callback
- */
-EventUnmarshallerStream.prototype._transform = function(chunk, encoding, callback) {
- try {
- var event = parseEvent(this.parser, chunk, this.eventStreamModel);
- this.push(event);
- return callback();
- } catch (err) {
- callback(err);
- }
-};
-
-/**
- * @api private
- */
-module.exports = {
- EventUnmarshallerStream: EventUnmarshallerStream
-};
-
-
-/***/ }),
-
-/***/ 48583:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(28437).util;
-var toBuffer = util.buffer.toBuffer;
-
-/**
- * A lossless representation of a signed, 64-bit integer. Instances of this
- * class may be used in arithmetic expressions as if they were numeric
- * primitives, but the binary representation will be preserved unchanged as the
- * `bytes` property of the object. The bytes should be encoded as big-endian,
- * two's complement integers.
- * @param {Buffer} bytes
- *
- * @api private
- */
-function Int64(bytes) {
- if (bytes.length !== 8) {
- throw new Error('Int64 buffers must be exactly 8 bytes');
- }
- if (!util.Buffer.isBuffer(bytes)) bytes = toBuffer(bytes);
-
- this.bytes = bytes;
-}
-
-/**
- * @param {number} number
- * @returns {Int64}
- *
- * @api private
- */
-Int64.fromNumber = function(number) {
- if (number > 9223372036854775807 || number < -9223372036854775808) {
- throw new Error(
- number + ' is too large (or, if negative, too small) to represent as an Int64'
- );
- }
-
- var bytes = new Uint8Array(8);
- for (
- var i = 7, remaining = Math.abs(Math.round(number));
- i > -1 && remaining > 0;
- i--, remaining /= 256
- ) {
- bytes[i] = remaining;
- }
-
- if (number < 0) {
- negate(bytes);
- }
-
- return new Int64(bytes);
-};
-
-/**
- * @returns {number}
- *
- * @api private
- */
-Int64.prototype.valueOf = function() {
- var bytes = this.bytes.slice(0);
- var negative = bytes[0] & 128;
- if (negative) {
- negate(bytes);
- }
-
- return parseInt(bytes.toString('hex'), 16) * (negative ? -1 : 1);
-};
-
-Int64.prototype.toString = function() {
- return String(this.valueOf());
-};
-
-/**
- * @param {Buffer} bytes
- *
- * @api private
- */
-function negate(bytes) {
- for (var i = 0; i < 8; i++) {
- bytes[i] ^= 0xFF;
- }
- for (var i = 7; i > -1; i--) {
- bytes[i]++;
- if (bytes[i] !== 0) {
- break;
- }
- }
-}
-
-/**
- * @api private
- */
-module.exports = {
- Int64: Int64
-};
-
-
-/***/ }),
-
-/***/ 52123:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var parseMessage = __webpack_require__(30866).parseMessage;
-
-/**
- *
- * @param {*} parser
- * @param {Buffer} message
- * @param {*} shape
- * @api private
- */
-function parseEvent(parser, message, shape) {
- var parsedMessage = parseMessage(message);
-
- // check if message is an event or error
- var messageType = parsedMessage.headers[':message-type'];
- if (messageType) {
- if (messageType.value === 'error') {
- throw parseError(parsedMessage);
- } else if (messageType.value !== 'event') {
- // not sure how to parse non-events/non-errors, ignore for now
- return;
- }
- }
-
- // determine event type
- var eventType = parsedMessage.headers[':event-type'];
- // check that the event type is modeled
- var eventModel = shape.members[eventType.value];
- if (!eventModel) {
- return;
- }
-
- var result = {};
- // check if an event payload exists
- var eventPayloadMemberName = eventModel.eventPayloadMemberName;
- if (eventPayloadMemberName) {
- var payloadShape = eventModel.members[eventPayloadMemberName];
- // if the shape is binary, return the byte array
- if (payloadShape.type === 'binary') {
- result[eventPayloadMemberName] = parsedMessage.body;
- } else {
- result[eventPayloadMemberName] = parser.parse(parsedMessage.body.toString(), payloadShape);
- }
- }
-
- // read event headers
- var eventHeaderNames = eventModel.eventHeaderMemberNames;
- for (var i = 0; i < eventHeaderNames.length; i++) {
- var name = eventHeaderNames[i];
- if (parsedMessage.headers[name]) {
- // parse the header!
- result[name] = eventModel.members[name].toType(parsedMessage.headers[name].value);
- }
- }
-
- var output = {};
- output[eventType.value] = result;
- return output;
-}
-
-function parseError(message) {
- var errorCode = message.headers[':error-code'];
- var errorMessage = message.headers[':error-message'];
- var error = new Error(errorMessage.value || errorMessage);
- error.code = error.name = errorCode.value || errorCode;
- return error;
-}
-
-/**
- * @api private
- */
-module.exports = {
- parseEvent: parseEvent
-};
-
-
-/***/ }),
-
-/***/ 30866:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var Int64 = __webpack_require__(48583).Int64;
-
-var splitMessage = __webpack_require__(71765).splitMessage;
-
-var BOOLEAN_TAG = 'boolean';
-var BYTE_TAG = 'byte';
-var SHORT_TAG = 'short';
-var INT_TAG = 'integer';
-var LONG_TAG = 'long';
-var BINARY_TAG = 'binary';
-var STRING_TAG = 'string';
-var TIMESTAMP_TAG = 'timestamp';
-var UUID_TAG = 'uuid';
-
-/**
- * @api private
- *
- * @param {Buffer} headers
- */
-function parseHeaders(headers) {
- var out = {};
- var position = 0;
- while (position < headers.length) {
- var nameLength = headers.readUInt8(position++);
- var name = headers.slice(position, position + nameLength).toString();
- position += nameLength;
- switch (headers.readUInt8(position++)) {
- case 0 /* boolTrue */:
- out[name] = {
- type: BOOLEAN_TAG,
- value: true
- };
- break;
- case 1 /* boolFalse */:
- out[name] = {
- type: BOOLEAN_TAG,
- value: false
- };
- break;
- case 2 /* byte */:
- out[name] = {
- type: BYTE_TAG,
- value: headers.readInt8(position++)
- };
- break;
- case 3 /* short */:
- out[name] = {
- type: SHORT_TAG,
- value: headers.readInt16BE(position)
- };
- position += 2;
- break;
- case 4 /* integer */:
- out[name] = {
- type: INT_TAG,
- value: headers.readInt32BE(position)
- };
- position += 4;
- break;
- case 5 /* long */:
- out[name] = {
- type: LONG_TAG,
- value: new Int64(headers.slice(position, position + 8))
- };
- position += 8;
- break;
- case 6 /* byteArray */:
- var binaryLength = headers.readUInt16BE(position);
- position += 2;
- out[name] = {
- type: BINARY_TAG,
- value: headers.slice(position, position + binaryLength)
- };
- position += binaryLength;
- break;
- case 7 /* string */:
- var stringLength = headers.readUInt16BE(position);
- position += 2;
- out[name] = {
- type: STRING_TAG,
- value: headers.slice(
- position,
- position + stringLength
- ).toString()
- };
- position += stringLength;
- break;
- case 8 /* timestamp */:
- out[name] = {
- type: TIMESTAMP_TAG,
- value: new Date(
- new Int64(headers.slice(position, position + 8))
- .valueOf()
- )
- };
- position += 8;
- break;
- case 9 /* uuid */:
- var uuidChars = headers.slice(position, position + 16)
- .toString('hex');
- position += 16;
- out[name] = {
- type: UUID_TAG,
- value: uuidChars.substr(0, 8) + '-' +
- uuidChars.substr(8, 4) + '-' +
- uuidChars.substr(12, 4) + '-' +
- uuidChars.substr(16, 4) + '-' +
- uuidChars.substr(20)
- };
- break;
- default:
- throw new Error('Unrecognized header type tag');
- }
- }
- return out;
-}
-
-function parseMessage(message) {
- var parsed = splitMessage(message);
- return { headers: parseHeaders(parsed.headers), body: parsed.body };
-}
-
-/**
- * @api private
- */
-module.exports = {
- parseMessage: parseMessage
-};
-
-
-/***/ }),
-
-/***/ 71765:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(28437).util;
-var toBuffer = util.buffer.toBuffer;
-
-// All prelude components are unsigned, 32-bit integers
-var PRELUDE_MEMBER_LENGTH = 4;
-// The prelude consists of two components
-var PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
-// Checksums are always CRC32 hashes.
-var CHECKSUM_LENGTH = 4;
-// Messages must include a full prelude, a prelude checksum, and a message checksum
-var MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
-
-/**
- * @api private
- *
- * @param {Buffer} message
- */
-function splitMessage(message) {
- if (!util.Buffer.isBuffer(message)) message = toBuffer(message);
-
- if (message.length < MINIMUM_MESSAGE_LENGTH) {
- throw new Error('Provided message too short to accommodate event stream message overhead');
- }
-
- if (message.length !== message.readUInt32BE(0)) {
- throw new Error('Reported message length does not match received message length');
- }
-
- var expectedPreludeChecksum = message.readUInt32BE(PRELUDE_LENGTH);
-
- if (
- expectedPreludeChecksum !== util.crypto.crc32(
- message.slice(0, PRELUDE_LENGTH)
- )
- ) {
- throw new Error(
- 'The prelude checksum specified in the message (' +
- expectedPreludeChecksum +
- ') does not match the calculated CRC32 checksum.'
- );
- }
-
- var expectedMessageChecksum = message.readUInt32BE(message.length - CHECKSUM_LENGTH);
-
- if (
- expectedMessageChecksum !== util.crypto.crc32(
- message.slice(0, message.length - CHECKSUM_LENGTH)
- )
- ) {
- throw new Error(
- 'The message checksum did not match the expected value of ' +
- expectedMessageChecksum
- );
- }
-
- var headersStart = PRELUDE_LENGTH + CHECKSUM_LENGTH;
- var headersEnd = headersStart + message.readUInt32BE(PRELUDE_MEMBER_LENGTH);
-
- return {
- headers: message.slice(headersStart, headersEnd),
- body: message.slice(headersEnd, message.length - CHECKSUM_LENGTH),
- };
-}
-
-/**
- * @api private
- */
-module.exports = {
- splitMessage: splitMessage
-};
-
-
-/***/ }),
-
-/***/ 69643:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-/**
- * What is necessary to create an event stream in node?
- * - http response stream
- * - parser
- * - event stream model
- */
-
-var EventMessageChunkerStream = __webpack_require__(18518).EventMessageChunkerStream;
-var EventUnmarshallerStream = __webpack_require__(93773).EventUnmarshallerStream;
-
-function createEventStream(stream, parser, model) {
- var eventStream = new EventUnmarshallerStream({
- parser: parser,
- eventStreamModel: model
- });
-
- var eventMessageChunker = new EventMessageChunkerStream();
-
- stream.pipe(
- eventMessageChunker
- ).pipe(eventStream);
-
- stream.on('error', function(err) {
- eventMessageChunker.emit('error', err);
- });
-
- eventMessageChunker.on('error', function(err) {
- eventStream.emit('error', err);
- });
-
- return eventStream;
-}
-
-/**
- * @api private
- */
-module.exports = {
- createEventStream: createEventStream
-};
-
-
-/***/ }),
-
-/***/ 54995:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var SequentialExecutor = __webpack_require__(55948);
-var DISCOVER_ENDPOINT = __webpack_require__(45313).discoverEndpoint;
-/**
- * The namespace used to register global event listeners for request building
- * and sending.
- */
-AWS.EventListeners = {
- /**
- * @!attribute VALIDATE_CREDENTIALS
- * A request listener that validates whether the request is being
- * sent with credentials.
- * Handles the {AWS.Request~validate 'validate' Request event}
- * @example Sending a request without validating credentials
- * var listener = AWS.EventListeners.Core.VALIDATE_CREDENTIALS;
- * request.removeListener('validate', listener);
- * @readonly
- * @return [Function]
- * @!attribute VALIDATE_REGION
- * A request listener that validates whether the region is set
- * for a request.
- * Handles the {AWS.Request~validate 'validate' Request event}
- * @example Sending a request without validating region configuration
- * var listener = AWS.EventListeners.Core.VALIDATE_REGION;
- * request.removeListener('validate', listener);
- * @readonly
- * @return [Function]
- * @!attribute VALIDATE_PARAMETERS
- * A request listener that validates input parameters in a request.
- * Handles the {AWS.Request~validate 'validate' Request event}
- * @example Sending a request without validating parameters
- * var listener = AWS.EventListeners.Core.VALIDATE_PARAMETERS;
- * request.removeListener('validate', listener);
- * @example Disable parameter validation globally
- * AWS.EventListeners.Core.removeListener('validate',
- * AWS.EventListeners.Core.VALIDATE_REGION);
- * @readonly
- * @return [Function]
- * @!attribute SEND
- * A request listener that initiates the HTTP connection for a
- * request being sent. Handles the {AWS.Request~send 'send' Request event}
- * @example Replacing the HTTP handler
- * var listener = AWS.EventListeners.Core.SEND;
- * request.removeListener('send', listener);
- * request.on('send', function(response) {
- * customHandler.send(response);
- * });
- * @return [Function]
- * @readonly
- * @!attribute HTTP_DATA
- * A request listener that reads data from the HTTP connection in order
- * to build the response data.
- * Handles the {AWS.Request~httpData 'httpData' Request event}.
- * Remove this handler if you are overriding the 'httpData' event and
- * do not want extra data processing and buffering overhead.
- * @example Disabling default data processing
- * var listener = AWS.EventListeners.Core.HTTP_DATA;
- * request.removeListener('httpData', listener);
- * @return [Function]
- * @readonly
- */
- Core: {} /* doc hack */
-};
-
-/**
- * @api private
- */
-function getOperationAuthtype(req) {
- if (!req.service.api.operations) {
- return '';
- }
- var operation = req.service.api.operations[req.operation];
- return operation ? operation.authtype : '';
-}
-
-/**
- * @api private
- */
-function getIdentityType(req) {
- var service = req.service;
-
- if (service.config.signatureVersion) {
- return service.config.signatureVersion;
- }
-
- if (service.api.signatureVersion) {
- return service.api.signatureVersion;
- }
-
- return getOperationAuthtype(req);
-}
-
-AWS.EventListeners = {
- Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) {
- addAsync(
- 'VALIDATE_CREDENTIALS', 'validate',
- function VALIDATE_CREDENTIALS(req, done) {
- if (!req.service.api.signatureVersion && !req.service.config.signatureVersion) return done(); // none
-
- var identityType = getIdentityType(req);
- if (identityType === 'bearer') {
- req.service.config.getToken(function(err) {
- if (err) {
- req.response.error = AWS.util.error(err, {code: 'TokenError'});
- }
- done();
- });
- return;
- }
-
- req.service.config.getCredentials(function(err) {
- if (err) {
- req.response.error = AWS.util.error(err,
- {
- code: 'CredentialsError',
- message: 'Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1'
- }
- );
- }
- done();
- });
- });
-
- add('VALIDATE_REGION', 'validate', function VALIDATE_REGION(req) {
- if (!req.service.isGlobalEndpoint) {
- var dnsHostRegex = new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);
- if (!req.service.config.region) {
- req.response.error = AWS.util.error(new Error(),
- {code: 'ConfigError', message: 'Missing region in config'});
- } else if (!dnsHostRegex.test(req.service.config.region)) {
- req.response.error = AWS.util.error(new Error(),
- {code: 'ConfigError', message: 'Invalid region in config'});
- }
- }
- });
-
- add('BUILD_IDEMPOTENCY_TOKENS', 'validate', function BUILD_IDEMPOTENCY_TOKENS(req) {
- if (!req.service.api.operations) {
- return;
- }
- var operation = req.service.api.operations[req.operation];
- if (!operation) {
- return;
- }
- var idempotentMembers = operation.idempotentMembers;
- if (!idempotentMembers.length) {
- return;
- }
- // creates a copy of params so user's param object isn't mutated
- var params = AWS.util.copy(req.params);
- for (var i = 0, iLen = idempotentMembers.length; i < iLen; i++) {
- if (!params[idempotentMembers[i]]) {
- // add the member
- params[idempotentMembers[i]] = AWS.util.uuid.v4();
- }
- }
- req.params = params;
- });
-
- add('VALIDATE_PARAMETERS', 'validate', function VALIDATE_PARAMETERS(req) {
- if (!req.service.api.operations) {
- return;
- }
- var rules = req.service.api.operations[req.operation].input;
- var validation = req.service.config.paramValidation;
- new AWS.ParamValidator(validation).validate(rules, req.params);
- });
-
- add('COMPUTE_CHECKSUM', 'afterBuild', function COMPUTE_CHECKSUM(req) {
- if (!req.service.api.operations) {
- return;
- }
- var operation = req.service.api.operations[req.operation];
- if (!operation) {
- return;
- }
- var body = req.httpRequest.body;
- var isNonStreamingPayload = body && (AWS.util.Buffer.isBuffer(body) || typeof body === 'string');
- var headers = req.httpRequest.headers;
- if (
- operation.httpChecksumRequired &&
- req.service.config.computeChecksums &&
- isNonStreamingPayload &&
- !headers['Content-MD5']
- ) {
- var md5 = AWS.util.crypto.md5(body, 'base64');
- headers['Content-MD5'] = md5;
- }
- });
-
- addAsync('COMPUTE_SHA256', 'afterBuild', function COMPUTE_SHA256(req, done) {
- req.haltHandlersOnError();
- if (!req.service.api.operations) {
- return;
- }
- var operation = req.service.api.operations[req.operation];
- var authtype = operation ? operation.authtype : '';
- if (!req.service.api.signatureVersion && !authtype && !req.service.config.signatureVersion) return done(); // none
- if (req.service.getSignerClass(req) === AWS.Signers.V4) {
- var body = req.httpRequest.body || '';
- if (authtype.indexOf('unsigned-body') >= 0) {
- req.httpRequest.headers['X-Amz-Content-Sha256'] = 'UNSIGNED-PAYLOAD';
- return done();
- }
- AWS.util.computeSha256(body, function(err, sha) {
- if (err) {
- done(err);
- }
- else {
- req.httpRequest.headers['X-Amz-Content-Sha256'] = sha;
- done();
- }
- });
- } else {
- done();
- }
- });
-
- add('SET_CONTENT_LENGTH', 'afterBuild', function SET_CONTENT_LENGTH(req) {
- var authtype = getOperationAuthtype(req);
- var payloadMember = AWS.util.getRequestPayloadShape(req);
- if (req.httpRequest.headers['Content-Length'] === undefined) {
- try {
- var length = AWS.util.string.byteLength(req.httpRequest.body);
- req.httpRequest.headers['Content-Length'] = length;
- } catch (err) {
- if (payloadMember && payloadMember.isStreaming) {
- if (payloadMember.requiresLength) {
- //streaming payload requires length(s3, glacier)
- throw err;
- } else if (authtype.indexOf('unsigned-body') >= 0) {
- //unbounded streaming payload(lex, mediastore)
- req.httpRequest.headers['Transfer-Encoding'] = 'chunked';
- return;
- } else {
- throw err;
- }
- }
- throw err;
- }
- }
- });
-
- add('SET_HTTP_HOST', 'afterBuild', function SET_HTTP_HOST(req) {
- req.httpRequest.headers['Host'] = req.httpRequest.endpoint.host;
- });
-
- add('SET_TRACE_ID', 'afterBuild', function SET_TRACE_ID(req) {
- var traceIdHeaderName = 'X-Amzn-Trace-Id';
- if (AWS.util.isNode() && !Object.hasOwnProperty.call(req.httpRequest.headers, traceIdHeaderName)) {
- var ENV_LAMBDA_FUNCTION_NAME = 'AWS_LAMBDA_FUNCTION_NAME';
- var ENV_TRACE_ID = '_X_AMZN_TRACE_ID';
- var functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];
- var traceId = process.env[ENV_TRACE_ID];
- if (
- typeof functionName === 'string' &&
- functionName.length > 0 &&
- typeof traceId === 'string' &&
- traceId.length > 0
- ) {
- req.httpRequest.headers[traceIdHeaderName] = traceId;
- }
- }
- });
-
- add('RESTART', 'restart', function RESTART() {
- var err = this.response.error;
- if (!err || !err.retryable) return;
-
- this.httpRequest = new AWS.HttpRequest(
- this.service.endpoint,
- this.service.region
- );
-
- if (this.response.retryCount < this.service.config.maxRetries) {
- this.response.retryCount++;
- } else {
- this.response.error = null;
- }
- });
-
- var addToHead = true;
- addAsync('DISCOVER_ENDPOINT', 'sign', DISCOVER_ENDPOINT, addToHead);
-
- addAsync('SIGN', 'sign', function SIGN(req, done) {
- var service = req.service;
- var identityType = getIdentityType(req);
- if (!identityType || identityType.length === 0) return done(); // none
-
- if (identityType === 'bearer') {
- service.config.getToken(function (err, token) {
- if (err) {
- req.response.error = err;
- return done();
- }
-
- try {
- var SignerClass = service.getSignerClass(req);
- var signer = new SignerClass(req.httpRequest);
- signer.addAuthorization(token);
- } catch (e) {
- req.response.error = e;
- }
- done();
- });
- } else {
- service.config.getCredentials(function (err, credentials) {
- if (err) {
- req.response.error = err;
- return done();
- }
-
- try {
- var date = service.getSkewCorrectedDate();
- var SignerClass = service.getSignerClass(req);
- var operations = req.service.api.operations || {};
- var operation = operations[req.operation];
- var signer = new SignerClass(req.httpRequest,
- service.getSigningName(req),
- {
- signatureCache: service.config.signatureCache,
- operation: operation,
- signatureVersion: service.api.signatureVersion
- });
- signer.setServiceClientId(service._clientId);
-
- // clear old authorization headers
- delete req.httpRequest.headers['Authorization'];
- delete req.httpRequest.headers['Date'];
- delete req.httpRequest.headers['X-Amz-Date'];
-
- // add new authorization
- signer.addAuthorization(credentials, date);
- req.signedAt = date;
- } catch (e) {
- req.response.error = e;
- }
- done();
- });
-
- }
- });
-
- add('VALIDATE_RESPONSE', 'validateResponse', function VALIDATE_RESPONSE(resp) {
- if (this.service.successfulResponse(resp, this)) {
- resp.data = {};
- resp.error = null;
- } else {
- resp.data = null;
- resp.error = AWS.util.error(new Error(),
- {code: 'UnknownError', message: 'An unknown error occurred.'});
- }
- });
-
- add('ERROR', 'error', function ERROR(err, resp) {
- var awsQueryCompatible = resp.request.service.api.awsQueryCompatible;
- if (awsQueryCompatible) {
- var headers = resp.httpResponse.headers;
- var queryErrorCode = headers ? headers['x-amzn-query-error'] : undefined;
- if (queryErrorCode && queryErrorCode.includes(';')) {
- resp.error.code = queryErrorCode.split(';')[0];
- }
- }
- }, true);
-
- addAsync('SEND', 'send', function SEND(resp, done) {
- resp.httpResponse._abortCallback = done;
- resp.error = null;
- resp.data = null;
-
- function callback(httpResp) {
- resp.httpResponse.stream = httpResp;
- var stream = resp.request.httpRequest.stream;
- var service = resp.request.service;
- var api = service.api;
- var operationName = resp.request.operation;
- var operation = api.operations[operationName] || {};
-
- httpResp.on('headers', function onHeaders(statusCode, headers, statusMessage) {
- resp.request.emit(
- 'httpHeaders',
- [statusCode, headers, resp, statusMessage]
- );
-
- if (!resp.httpResponse.streaming) {
- if (AWS.HttpClient.streamsApiVersion === 2) { // streams2 API check
- // if we detect event streams, we're going to have to
- // return the stream immediately
- if (operation.hasEventOutput && service.successfulResponse(resp)) {
- // skip reading the IncomingStream
- resp.request.emit('httpDone');
- done();
- return;
- }
-
- httpResp.on('readable', function onReadable() {
- var data = httpResp.read();
- if (data !== null) {
- resp.request.emit('httpData', [data, resp]);
- }
- });
- } else { // legacy streams API
- httpResp.on('data', function onData(data) {
- resp.request.emit('httpData', [data, resp]);
- });
- }
- }
- });
-
- httpResp.on('end', function onEnd() {
- if (!stream || !stream.didCallback) {
- if (AWS.HttpClient.streamsApiVersion === 2 && (operation.hasEventOutput && service.successfulResponse(resp))) {
- // don't concatenate response chunks when streaming event stream data when response is successful
- return;
- }
- resp.request.emit('httpDone');
- done();
- }
- });
- }
-
- function progress(httpResp) {
- httpResp.on('sendProgress', function onSendProgress(value) {
- resp.request.emit('httpUploadProgress', [value, resp]);
- });
-
- httpResp.on('receiveProgress', function onReceiveProgress(value) {
- resp.request.emit('httpDownloadProgress', [value, resp]);
- });
- }
-
- function error(err) {
- if (err.code !== 'RequestAbortedError') {
- var errCode = err.code === 'TimeoutError' ? err.code : 'NetworkingError';
- err = AWS.util.error(err, {
- code: errCode,
- region: resp.request.httpRequest.region,
- hostname: resp.request.httpRequest.endpoint.hostname,
- retryable: true
- });
- }
- resp.error = err;
- resp.request.emit('httpError', [resp.error, resp], function() {
- done();
- });
- }
-
- function executeSend() {
- var http = AWS.HttpClient.getInstance();
- var httpOptions = resp.request.service.config.httpOptions || {};
- try {
- var stream = http.handleRequest(resp.request.httpRequest, httpOptions,
- callback, error);
- progress(stream);
- } catch (err) {
- error(err);
- }
- }
- var timeDiff = (resp.request.service.getSkewCorrectedDate() - this.signedAt) / 1000;
- if (timeDiff >= 60 * 10) { // if we signed 10min ago, re-sign
- this.emit('sign', [this], function(err) {
- if (err) done(err);
- else executeSend();
- });
- } else {
- executeSend();
- }
- });
-
- add('HTTP_HEADERS', 'httpHeaders',
- function HTTP_HEADERS(statusCode, headers, resp, statusMessage) {
- resp.httpResponse.statusCode = statusCode;
- resp.httpResponse.statusMessage = statusMessage;
- resp.httpResponse.headers = headers;
- resp.httpResponse.body = AWS.util.buffer.toBuffer('');
- resp.httpResponse.buffers = [];
- resp.httpResponse.numBytes = 0;
- var dateHeader = headers.date || headers.Date;
- var service = resp.request.service;
- if (dateHeader) {
- var serverTime = Date.parse(dateHeader);
- if (service.config.correctClockSkew
- && service.isClockSkewed(serverTime)) {
- service.applyClockOffset(serverTime);
- }
- }
- });
-
- add('HTTP_DATA', 'httpData', function HTTP_DATA(chunk, resp) {
- if (chunk) {
- if (AWS.util.isNode()) {
- resp.httpResponse.numBytes += chunk.length;
-
- var total = resp.httpResponse.headers['content-length'];
- var progress = { loaded: resp.httpResponse.numBytes, total: total };
- resp.request.emit('httpDownloadProgress', [progress, resp]);
- }
-
- resp.httpResponse.buffers.push(AWS.util.buffer.toBuffer(chunk));
- }
- });
-
- add('HTTP_DONE', 'httpDone', function HTTP_DONE(resp) {
- // convert buffers array into single buffer
- if (resp.httpResponse.buffers && resp.httpResponse.buffers.length > 0) {
- var body = AWS.util.buffer.concat(resp.httpResponse.buffers);
- resp.httpResponse.body = body;
- }
- delete resp.httpResponse.numBytes;
- delete resp.httpResponse.buffers;
- });
-
- add('FINALIZE_ERROR', 'retry', function FINALIZE_ERROR(resp) {
- if (resp.httpResponse.statusCode) {
- resp.error.statusCode = resp.httpResponse.statusCode;
- if (resp.error.retryable === undefined) {
- resp.error.retryable = this.service.retryableError(resp.error, this);
- }
- }
- });
-
- add('INVALIDATE_CREDENTIALS', 'retry', function INVALIDATE_CREDENTIALS(resp) {
- if (!resp.error) return;
- switch (resp.error.code) {
- case 'RequestExpired': // EC2 only
- case 'ExpiredTokenException':
- case 'ExpiredToken':
- resp.error.retryable = true;
- resp.request.service.config.credentials.expired = true;
- }
- });
-
- add('EXPIRED_SIGNATURE', 'retry', function EXPIRED_SIGNATURE(resp) {
- var err = resp.error;
- if (!err) return;
- if (typeof err.code === 'string' && typeof err.message === 'string') {
- if (err.code.match(/Signature/) && err.message.match(/expired/)) {
- resp.error.retryable = true;
- }
- }
- });
-
- add('CLOCK_SKEWED', 'retry', function CLOCK_SKEWED(resp) {
- if (!resp.error) return;
- if (this.service.clockSkewError(resp.error)
- && this.service.config.correctClockSkew) {
- resp.error.retryable = true;
- }
- });
-
- add('REDIRECT', 'retry', function REDIRECT(resp) {
- if (resp.error && resp.error.statusCode >= 300 &&
- resp.error.statusCode < 400 && resp.httpResponse.headers['location']) {
- this.httpRequest.endpoint =
- new AWS.Endpoint(resp.httpResponse.headers['location']);
- this.httpRequest.headers['Host'] = this.httpRequest.endpoint.host;
- resp.error.redirect = true;
- resp.error.retryable = true;
- }
- });
-
- add('RETRY_CHECK', 'retry', function RETRY_CHECK(resp) {
- if (resp.error) {
- if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) {
- resp.error.retryDelay = 0;
- } else if (resp.retryCount < resp.maxRetries) {
- resp.error.retryDelay = this.service.retryDelays(resp.retryCount, resp.error) || 0;
- }
- }
- });
-
- addAsync('RESET_RETRY_STATE', 'afterRetry', function RESET_RETRY_STATE(resp, done) {
- var delay, willRetry = false;
-
- if (resp.error) {
- delay = resp.error.retryDelay || 0;
- if (resp.error.retryable && resp.retryCount < resp.maxRetries) {
- resp.retryCount++;
- willRetry = true;
- } else if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) {
- resp.redirectCount++;
- willRetry = true;
- }
- }
-
- // delay < 0 is a signal from customBackoff to skip retries
- if (willRetry && delay >= 0) {
- resp.error = null;
- setTimeout(done, delay);
- } else {
- done();
- }
- });
- }),
-
- CorePost: new SequentialExecutor().addNamedListeners(function(add) {
- add('EXTRACT_REQUEST_ID', 'extractData', AWS.util.extractRequestId);
- add('EXTRACT_REQUEST_ID', 'extractError', AWS.util.extractRequestId);
-
- add('ENOTFOUND_ERROR', 'httpError', function ENOTFOUND_ERROR(err) {
- function isDNSError(err) {
- return err.errno === 'ENOTFOUND' ||
- typeof err.errno === 'number' &&
- typeof AWS.util.getSystemErrorName === 'function' &&
- ['EAI_NONAME', 'EAI_NODATA'].indexOf(AWS.util.getSystemErrorName(err.errno) >= 0);
- }
- if (err.code === 'NetworkingError' && isDNSError(err)) {
- var message = 'Inaccessible host: `' + err.hostname + '\' at port `' + err.port +
- '\'. This service may not be available in the `' + err.region +
- '\' region.';
- this.response.error = AWS.util.error(new Error(message), {
- code: 'UnknownEndpoint',
- region: err.region,
- hostname: err.hostname,
- retryable: true,
- originalError: err
- });
- }
- });
- }),
-
- Logger: new SequentialExecutor().addNamedListeners(function(add) {
- add('LOG_REQUEST', 'complete', function LOG_REQUEST(resp) {
- var req = resp.request;
- var logger = req.service.config.logger;
- if (!logger) return;
- function filterSensitiveLog(inputShape, shape) {
- if (!shape) {
- return shape;
- }
- if (inputShape.isSensitive) {
- return '***SensitiveInformation***';
- }
- switch (inputShape.type) {
- case 'structure':
- var struct = {};
- AWS.util.each(shape, function(subShapeName, subShape) {
- if (Object.prototype.hasOwnProperty.call(inputShape.members, subShapeName)) {
- struct[subShapeName] = filterSensitiveLog(inputShape.members[subShapeName], subShape);
- } else {
- struct[subShapeName] = subShape;
- }
- });
- return struct;
- case 'list':
- var list = [];
- AWS.util.arrayEach(shape, function(subShape, index) {
- list.push(filterSensitiveLog(inputShape.member, subShape));
- });
- return list;
- case 'map':
- var map = {};
- AWS.util.each(shape, function(key, value) {
- map[key] = filterSensitiveLog(inputShape.value, value);
- });
- return map;
- default:
- return shape;
- }
- }
-
- function buildMessage() {
- var time = resp.request.service.getSkewCorrectedDate().getTime();
- var delta = (time - req.startTime.getTime()) / 1000;
- var ansi = logger.isTTY ? true : false;
- var status = resp.httpResponse.statusCode;
- var censoredParams = req.params;
- if (
- req.service.api.operations &&
- req.service.api.operations[req.operation] &&
- req.service.api.operations[req.operation].input
- ) {
- var inputShape = req.service.api.operations[req.operation].input;
- censoredParams = filterSensitiveLog(inputShape, req.params);
- }
- var params = __webpack_require__(31669).inspect(censoredParams, true, null);
- var message = '';
- if (ansi) message += '\x1B[33m';
- message += '[AWS ' + req.service.serviceIdentifier + ' ' + status;
- message += ' ' + delta.toString() + 's ' + resp.retryCount + ' retries]';
- if (ansi) message += '\x1B[0;1m';
- message += ' ' + AWS.util.string.lowerFirst(req.operation);
- message += '(' + params + ')';
- if (ansi) message += '\x1B[0m';
- return message;
- }
-
- var line = buildMessage();
- if (typeof logger.log === 'function') {
- logger.log(line);
- } else if (typeof logger.write === 'function') {
- logger.write(line + '\n');
- }
- });
- }),
-
- Json: new SequentialExecutor().addNamedListeners(function(add) {
- var svc = __webpack_require__(30083);
- add('BUILD', 'build', svc.buildRequest);
- add('EXTRACT_DATA', 'extractData', svc.extractData);
- add('EXTRACT_ERROR', 'extractError', svc.extractError);
- }),
-
- Rest: new SequentialExecutor().addNamedListeners(function(add) {
- var svc = __webpack_require__(98200);
- add('BUILD', 'build', svc.buildRequest);
- add('EXTRACT_DATA', 'extractData', svc.extractData);
- add('EXTRACT_ERROR', 'extractError', svc.extractError);
- }),
-
- RestJson: new SequentialExecutor().addNamedListeners(function(add) {
- var svc = __webpack_require__(5883);
- add('BUILD', 'build', svc.buildRequest);
- add('EXTRACT_DATA', 'extractData', svc.extractData);
- add('EXTRACT_ERROR', 'extractError', svc.extractError);
- add('UNSET_CONTENT_LENGTH', 'afterBuild', svc.unsetContentLength);
- }),
-
- RestXml: new SequentialExecutor().addNamedListeners(function(add) {
- var svc = __webpack_require__(15143);
- add('BUILD', 'build', svc.buildRequest);
- add('EXTRACT_DATA', 'extractData', svc.extractData);
- add('EXTRACT_ERROR', 'extractError', svc.extractError);
- }),
-
- Query: new SequentialExecutor().addNamedListeners(function(add) {
- var svc = __webpack_require__(90761);
- add('BUILD', 'build', svc.buildRequest);
- add('EXTRACT_DATA', 'extractData', svc.extractData);
- add('EXTRACT_ERROR', 'extractError', svc.extractError);
- })
-};
-
-
-/***/ }),
-
-/***/ 1556:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var inherit = AWS.util.inherit;
-
-/**
- * The endpoint that a service will talk to, for example,
- * `'https://ec2.ap-southeast-1.amazonaws.com'`. If
- * you need to override an endpoint for a service, you can
- * set the endpoint on a service by passing the endpoint
- * object with the `endpoint` option key:
- *
- * ```javascript
- * var ep = new AWS.Endpoint('awsproxy.example.com');
- * var s3 = new AWS.S3({endpoint: ep});
- * s3.service.endpoint.hostname == 'awsproxy.example.com'
- * ```
- *
- * Note that if you do not specify a protocol, the protocol will
- * be selected based on your current {AWS.config} configuration.
- *
- * @!attribute protocol
- * @return [String] the protocol (http or https) of the endpoint
- * URL
- * @!attribute hostname
- * @return [String] the host portion of the endpoint, e.g.,
- * example.com
- * @!attribute host
- * @return [String] the host portion of the endpoint including
- * the port, e.g., example.com:80
- * @!attribute port
- * @return [Integer] the port of the endpoint
- * @!attribute href
- * @return [String] the full URL of the endpoint
- */
-AWS.Endpoint = inherit({
-
- /**
- * @overload Endpoint(endpoint)
- * Constructs a new endpoint given an endpoint URL. If the
- * URL omits a protocol (http or https), the default protocol
- * set in the global {AWS.config} will be used.
- * @param endpoint [String] the URL to construct an endpoint from
- */
- constructor: function Endpoint(endpoint, config) {
- AWS.util.hideProperties(this, ['slashes', 'auth', 'hash', 'search', 'query']);
-
- if (typeof endpoint === 'undefined' || endpoint === null) {
- throw new Error('Invalid endpoint: ' + endpoint);
- } else if (typeof endpoint !== 'string') {
- return AWS.util.copy(endpoint);
- }
-
- if (!endpoint.match(/^http/)) {
- var useSSL = config && config.sslEnabled !== undefined ?
- config.sslEnabled : AWS.config.sslEnabled;
- endpoint = (useSSL ? 'https' : 'http') + '://' + endpoint;
- }
-
- AWS.util.update(this, AWS.util.urlParse(endpoint));
-
- // Ensure the port property is set as an integer
- if (this.port) {
- this.port = parseInt(this.port, 10);
- } else {
- this.port = this.protocol === 'https:' ? 443 : 80;
- }
- }
-
-});
-
-/**
- * The low level HTTP request object, encapsulating all HTTP header
- * and body data sent by a service request.
- *
- * @!attribute method
- * @return [String] the HTTP method of the request
- * @!attribute path
- * @return [String] the path portion of the URI, e.g.,
- * "/list/?start=5&num=10"
- * @!attribute headers
- * @return [map]
- * a map of header keys and their respective values
- * @!attribute body
- * @return [String] the request body payload
- * @!attribute endpoint
- * @return [AWS.Endpoint] the endpoint for the request
- * @!attribute region
- * @api private
- * @return [String] the region, for signing purposes only.
- */
-AWS.HttpRequest = inherit({
-
- /**
- * @api private
- */
- constructor: function HttpRequest(endpoint, region) {
- endpoint = new AWS.Endpoint(endpoint);
- this.method = 'POST';
- this.path = endpoint.path || '/';
- this.headers = {};
- this.body = '';
- this.endpoint = endpoint;
- this.region = region;
- this._userAgent = '';
- this.setUserAgent();
- },
-
- /**
- * @api private
- */
- setUserAgent: function setUserAgent() {
- this._userAgent = this.headers[this.getUserAgentHeaderName()] = AWS.util.userAgent();
- },
-
- getUserAgentHeaderName: function getUserAgentHeaderName() {
- var prefix = AWS.util.isBrowser() ? 'X-Amz-' : '';
- return prefix + 'User-Agent';
- },
-
- /**
- * @api private
- */
- appendToUserAgent: function appendToUserAgent(agentPartial) {
- if (typeof agentPartial === 'string' && agentPartial) {
- this._userAgent += ' ' + agentPartial;
- }
- this.headers[this.getUserAgentHeaderName()] = this._userAgent;
- },
-
- /**
- * @api private
- */
- getUserAgent: function getUserAgent() {
- return this._userAgent;
- },
-
- /**
- * @return [String] the part of the {path} excluding the
- * query string
- */
- pathname: function pathname() {
- return this.path.split('?', 1)[0];
- },
-
- /**
- * @return [String] the query string portion of the {path}
- */
- search: function search() {
- var query = this.path.split('?', 2)[1];
- if (query) {
- query = AWS.util.queryStringParse(query);
- return AWS.util.queryParamsToString(query);
- }
- return '';
- },
-
- /**
- * @api private
- * update httpRequest endpoint with endpoint string
- */
- updateEndpoint: function updateEndpoint(endpointStr) {
- var newEndpoint = new AWS.Endpoint(endpointStr);
- this.endpoint = newEndpoint;
- this.path = newEndpoint.path || '/';
- if (this.headers['Host']) {
- this.headers['Host'] = newEndpoint.host;
- }
- }
-});
-
-/**
- * The low level HTTP response object, encapsulating all HTTP header
- * and body data returned from the request.
- *
- * @!attribute statusCode
- * @return [Integer] the HTTP status code of the response (e.g., 200, 404)
- * @!attribute headers
- * @return [map]
- * a map of response header keys and their respective values
- * @!attribute body
- * @return [String] the response body payload
- * @!attribute [r] streaming
- * @return [Boolean] whether this response is being streamed at a low-level.
- * Defaults to `false` (buffered reads). Do not modify this manually, use
- * {createUnbufferedStream} to convert the stream to unbuffered mode
- * instead.
- */
-AWS.HttpResponse = inherit({
-
- /**
- * @api private
- */
- constructor: function HttpResponse() {
- this.statusCode = undefined;
- this.headers = {};
- this.body = undefined;
- this.streaming = false;
- this.stream = null;
- },
-
- /**
- * Disables buffering on the HTTP response and returns the stream for reading.
- * @return [Stream, XMLHttpRequest, null] the underlying stream object.
- * Use this object to directly read data off of the stream.
- * @note This object is only available after the {AWS.Request~httpHeaders}
- * event has fired. This method must be called prior to
- * {AWS.Request~httpData}.
- * @example Taking control of a stream
- * request.on('httpHeaders', function(statusCode, headers) {
- * if (statusCode < 300) {
- * if (headers.etag === 'xyz') {
- * // pipe the stream, disabling buffering
- * var stream = this.response.httpResponse.createUnbufferedStream();
- * stream.pipe(process.stdout);
- * } else { // abort this request and set a better error message
- * this.abort();
- * this.response.error = new Error('Invalid ETag');
- * }
- * }
- * }).send(console.log);
- */
- createUnbufferedStream: function createUnbufferedStream() {
- this.streaming = true;
- return this.stream;
- }
-});
-
-
-AWS.HttpClient = inherit({});
-
-/**
- * @api private
- */
-AWS.HttpClient.getInstance = function getInstance() {
- if (this.singleton === undefined) {
- this.singleton = new this();
- }
- return this.singleton;
-};
-
-
-/***/ }),
-
-/***/ 2310:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var Stream = AWS.util.stream.Stream;
-var TransformStream = AWS.util.stream.Transform;
-var ReadableStream = AWS.util.stream.Readable;
-__webpack_require__(1556);
-var CONNECTION_REUSE_ENV_NAME = 'AWS_NODEJS_CONNECTION_REUSE_ENABLED';
-
-/**
- * @api private
- */
-AWS.NodeHttpClient = AWS.util.inherit({
- handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) {
- var self = this;
- var endpoint = httpRequest.endpoint;
- var pathPrefix = '';
- if (!httpOptions) httpOptions = {};
- if (httpOptions.proxy) {
- pathPrefix = endpoint.protocol + '//' + endpoint.hostname;
- if (endpoint.port !== 80 && endpoint.port !== 443) {
- pathPrefix += ':' + endpoint.port;
- }
- endpoint = new AWS.Endpoint(httpOptions.proxy);
- }
-
- var useSSL = endpoint.protocol === 'https:';
- var http = useSSL ? __webpack_require__(57211) : __webpack_require__(98605);
- var options = {
- host: endpoint.hostname,
- port: endpoint.port,
- method: httpRequest.method,
- headers: httpRequest.headers,
- path: pathPrefix + httpRequest.path
- };
-
- if (!httpOptions.agent) {
- options.agent = this.getAgent(useSSL, {
- keepAlive: process.env[CONNECTION_REUSE_ENV_NAME] === '1' ? true : false
- });
- }
-
- AWS.util.update(options, httpOptions);
- delete options.proxy; // proxy isn't an HTTP option
- delete options.timeout; // timeout isn't an HTTP option
-
- var stream = http.request(options, function (httpResp) {
- if (stream.didCallback) return;
-
- callback(httpResp);
- httpResp.emit(
- 'headers',
- httpResp.statusCode,
- httpResp.headers,
- httpResp.statusMessage
- );
- });
- httpRequest.stream = stream; // attach stream to httpRequest
- stream.didCallback = false;
-
- // connection timeout support
- if (httpOptions.connectTimeout) {
- var connectTimeoutId;
- stream.on('socket', function(socket) {
- if (socket.connecting) {
- connectTimeoutId = setTimeout(function connectTimeout() {
- if (stream.didCallback) return; stream.didCallback = true;
-
- stream.abort();
- errCallback(AWS.util.error(
- new Error('Socket timed out without establishing a connection'),
- {code: 'TimeoutError'}
- ));
- }, httpOptions.connectTimeout);
- socket.on('connect', function() {
- clearTimeout(connectTimeoutId);
- connectTimeoutId = null;
- });
- }
- });
- }
-
- // timeout support
- stream.setTimeout(httpOptions.timeout || 0, function() {
- if (stream.didCallback) return; stream.didCallback = true;
-
- var msg = 'Connection timed out after ' + httpOptions.timeout + 'ms';
- errCallback(AWS.util.error(new Error(msg), {code: 'TimeoutError'}));
- stream.abort();
- });
-
- stream.on('error', function(err) {
- if (connectTimeoutId) {
- clearTimeout(connectTimeoutId);
- connectTimeoutId = null;
- }
- if (stream.didCallback) return; stream.didCallback = true;
- if ('ECONNRESET' === err.code || 'EPIPE' === err.code || 'ETIMEDOUT' === err.code) {
- errCallback(AWS.util.error(err, {code: 'TimeoutError'}));
- } else {
- errCallback(err);
- }
- });
-
- var expect = httpRequest.headers.Expect || httpRequest.headers.expect;
- if (expect === '100-continue') {
- stream.once('continue', function() {
- self.writeBody(stream, httpRequest);
- });
- } else {
- this.writeBody(stream, httpRequest);
- }
-
- return stream;
- },
-
- writeBody: function writeBody(stream, httpRequest) {
- var body = httpRequest.body;
- var totalBytes = parseInt(httpRequest.headers['Content-Length'], 10);
-
- if (body instanceof Stream) {
- // For progress support of streaming content -
- // pipe the data through a transform stream to emit 'sendProgress' events
- var progressStream = this.progressStream(stream, totalBytes);
- if (progressStream) {
- body.pipe(progressStream).pipe(stream);
- } else {
- body.pipe(stream);
- }
- } else if (body) {
- // The provided body is a buffer/string and is already fully available in memory -
- // For performance it's best to send it as a whole by calling stream.end(body),
- // Callers expect a 'sendProgress' event which is best emitted once
- // the http request stream has been fully written and all data flushed.
- // The use of totalBytes is important over body.length for strings where
- // length is char length and not byte length.
- stream.once('finish', function() {
- stream.emit('sendProgress', {
- loaded: totalBytes,
- total: totalBytes
- });
- });
- stream.end(body);
- } else {
- // no request body
- stream.end();
- }
- },
-
- /**
- * Create the https.Agent or http.Agent according to the request schema.
- */
- getAgent: function getAgent(useSSL, agentOptions) {
- var http = useSSL ? __webpack_require__(57211) : __webpack_require__(98605);
- if (useSSL) {
- if (!AWS.NodeHttpClient.sslAgent) {
- AWS.NodeHttpClient.sslAgent = new http.Agent(AWS.util.merge({
- rejectUnauthorized: process.env.NODE_TLS_REJECT_UNAUTHORIZED === '0' ? false : true
- }, agentOptions || {}));
- AWS.NodeHttpClient.sslAgent.setMaxListeners(0);
-
- // delegate maxSockets to globalAgent, set a default limit of 50 if current value is Infinity.
- // Users can bypass this default by supplying their own Agent as part of SDK configuration.
- Object.defineProperty(AWS.NodeHttpClient.sslAgent, 'maxSockets', {
- enumerable: true,
- get: function() {
- var defaultMaxSockets = 50;
- var globalAgent = http.globalAgent;
- if (globalAgent && globalAgent.maxSockets !== Infinity && typeof globalAgent.maxSockets === 'number') {
- return globalAgent.maxSockets;
- }
- return defaultMaxSockets;
- }
- });
- }
- return AWS.NodeHttpClient.sslAgent;
- } else {
- if (!AWS.NodeHttpClient.agent) {
- AWS.NodeHttpClient.agent = new http.Agent(agentOptions);
- }
- return AWS.NodeHttpClient.agent;
- }
- },
-
- progressStream: function progressStream(stream, totalBytes) {
- if (typeof TransformStream === 'undefined') {
- // for node 0.8 there is no streaming progress
- return;
- }
- var loadedBytes = 0;
- var reporter = new TransformStream();
- reporter._transform = function(chunk, encoding, callback) {
- if (chunk) {
- loadedBytes += chunk.length;
- stream.emit('sendProgress', {
- loaded: loadedBytes,
- total: totalBytes
- });
- }
- callback(null, chunk);
- };
- return reporter;
- },
-
- emitter: null
-});
-
-/**
- * @!ignore
- */
-
-/**
- * @api private
- */
-AWS.HttpClient.prototype = AWS.NodeHttpClient.prototype;
-
-/**
- * @api private
- */
-AWS.HttpClient.streamsApiVersion = ReadableStream ? 2 : 1;
-
-
-/***/ }),
-
-/***/ 47495:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(77985);
-
-function JsonBuilder() { }
-
-JsonBuilder.prototype.build = function(value, shape) {
- return JSON.stringify(translate(value, shape));
-};
-
-function translate(value, shape) {
- if (!shape || value === undefined || value === null) return undefined;
-
- switch (shape.type) {
- case 'structure': return translateStructure(value, shape);
- case 'map': return translateMap(value, shape);
- case 'list': return translateList(value, shape);
- default: return translateScalar(value, shape);
- }
-}
-
-function translateStructure(structure, shape) {
- if (shape.isDocument) {
- return structure;
- }
- var struct = {};
- util.each(structure, function(name, value) {
- var memberShape = shape.members[name];
- if (memberShape) {
- if (memberShape.location !== 'body') return;
- var locationName = memberShape.isLocationName ? memberShape.name : name;
- var result = translate(value, memberShape);
- if (result !== undefined) struct[locationName] = result;
- }
- });
- return struct;
-}
-
-function translateList(list, shape) {
- var out = [];
- util.arrayEach(list, function(value) {
- var result = translate(value, shape.member);
- if (result !== undefined) out.push(result);
- });
- return out;
-}
-
-function translateMap(map, shape) {
- var out = {};
- util.each(map, function(key, value) {
- var result = translate(value, shape.value);
- if (result !== undefined) out[key] = result;
- });
- return out;
-}
-
-function translateScalar(value, shape) {
- return shape.toWireFormat(value);
-}
-
-/**
- * @api private
- */
-module.exports = JsonBuilder;
-
-
-/***/ }),
-
-/***/ 5474:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(77985);
-
-function JsonParser() { }
-
-JsonParser.prototype.parse = function(value, shape) {
- return translate(JSON.parse(value), shape);
-};
-
-function translate(value, shape) {
- if (!shape || value === undefined) return undefined;
-
- switch (shape.type) {
- case 'structure': return translateStructure(value, shape);
- case 'map': return translateMap(value, shape);
- case 'list': return translateList(value, shape);
- default: return translateScalar(value, shape);
- }
-}
-
-function translateStructure(structure, shape) {
- if (structure == null) return undefined;
- if (shape.isDocument) return structure;
-
- var struct = {};
- var shapeMembers = shape.members;
- util.each(shapeMembers, function(name, memberShape) {
- var locationName = memberShape.isLocationName ? memberShape.name : name;
- if (Object.prototype.hasOwnProperty.call(structure, locationName)) {
- var value = structure[locationName];
- var result = translate(value, memberShape);
- if (result !== undefined) struct[name] = result;
- }
- });
- return struct;
-}
-
-function translateList(list, shape) {
- if (list == null) return undefined;
-
- var out = [];
- util.arrayEach(list, function(value) {
- var result = translate(value, shape.member);
- if (result === undefined) out.push(null);
- else out.push(result);
- });
- return out;
-}
-
-function translateMap(map, shape) {
- if (map == null) return undefined;
-
- var out = {};
- util.each(map, function(key, value) {
- var result = translate(value, shape.value);
- if (result === undefined) out[key] = null;
- else out[key] = result;
- });
- return out;
-}
-
-function translateScalar(value, shape) {
- return shape.toType(value);
-}
-
-/**
- * @api private
- */
-module.exports = JsonParser;
-
-
-/***/ }),
-
-/***/ 93985:
-/***/ ((module) => {
-
-var warning = [
- 'We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n',
- 'Please migrate your code to use AWS SDK for JavaScript (v3).',
- 'For more information, check the migration guide at https://a.co/7PzMCcy'
-].join('\n');
-
-module.exports = {
- suppress: false
-};
-
-/**
- * To suppress this message:
- * @example
- * require('aws-sdk/lib/maintenance_mode_message').suppress = true;
- */
-function emitWarning() {
- if (typeof process === 'undefined')
- return;
-
- // Skip maintenance mode message in Lambda environments
- if (
- typeof process.env === 'object' &&
- typeof process.env.AWS_EXECUTION_ENV !== 'undefined' &&
- process.env.AWS_EXECUTION_ENV.indexOf('AWS_Lambda_') === 0
- ) {
- return;
- }
-
- if (
- typeof process.env === 'object' &&
- typeof process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE !== 'undefined'
- ) {
- return;
- }
-
- if (typeof process.emitWarning === 'function') {
- process.emitWarning(warning, {
- type: 'NOTE'
- });
- }
-}
-
-setTimeout(function () {
- if (!module.exports.suppress) {
- emitWarning();
- }
-}, 0);
-
-
-/***/ }),
-
-/***/ 25768:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-__webpack_require__(1556);
-var inherit = AWS.util.inherit;
-var getMetadataServiceEndpoint = __webpack_require__(608);
-var URL = __webpack_require__(78835).URL;
-
-/**
- * Represents a metadata service available on EC2 instances. Using the
- * {request} method, you can receieve metadata about any available resource
- * on the metadata service.
- *
- * You can disable the use of the IMDS by setting the AWS_EC2_METADATA_DISABLED
- * environment variable to a truthy value.
- *
- * @!attribute [r] httpOptions
- * @return [map] a map of options to pass to the underlying HTTP request:
- *
- * * **timeout** (Number) — a timeout value in milliseconds to wait
- * before aborting the connection. Set to 0 for no timeout.
- *
- * @!macro nobrowser
- */
-AWS.MetadataService = inherit({
- /**
- * @return [String] the endpoint of the instance metadata service
- */
- endpoint: getMetadataServiceEndpoint(),
-
- /**
- * @!ignore
- */
-
- /**
- * Default HTTP options. By default, the metadata service is set to not
- * timeout on long requests. This means that on non-EC2 machines, this
- * request will never return. If you are calling this operation from an
- * environment that may not always run on EC2, set a `timeout` value so
- * the SDK will abort the request after a given number of milliseconds.
- */
- httpOptions: { timeout: 0 },
-
- /**
- * when enabled, metadata service will not fetch token
- */
- disableFetchToken: false,
-
- /**
- * Creates a new MetadataService object with a given set of options.
- *
- * @option options host [String] the hostname of the instance metadata
- * service
- * @option options httpOptions [map] a map of options to pass to the
- * underlying HTTP request:
- *
- * * **timeout** (Number) — a timeout value in milliseconds to wait
- * before aborting the connection. Set to 0 for no timeout.
- * @option options maxRetries [Integer] the maximum number of retries to
- * perform for timeout errors
- * @option options retryDelayOptions [map] A set of options to configure the
- * retry delay on retryable errors. See AWS.Config for details.
- */
- constructor: function MetadataService(options) {
- if (options && options.host) {
- options.endpoint = 'http://' + options.host;
- delete options.host;
- }
- AWS.util.update(this, options);
- },
-
- /**
- * Sends a request to the instance metadata service for a given resource.
- *
- * @param path [String] the path of the resource to get
- *
- * @param options [map] an optional map used to make request
- *
- * * **method** (String) — HTTP request method
- *
- * * **headers** (map) — a map of response header keys and their respective values
- *
- * @callback callback function(err, data)
- * Called when a response is available from the service.
- * @param err [Error, null] if an error occurred, this value will be set
- * @param data [String, null] if the request was successful, the body of
- * the response
- */
- request: function request(path, options, callback) {
- if (arguments.length === 2) {
- callback = options;
- options = {};
- }
-
- if (process.env[AWS.util.imdsDisabledEnv]) {
- callback(new Error('EC2 Instance Metadata Service access disabled'));
- return;
- }
-
- path = path || '/';
-
- // Verify that host is a valid URL
- if (URL) { new URL(this.endpoint); }
-
- var httpRequest = new AWS.HttpRequest(this.endpoint + path);
- httpRequest.method = options.method || 'GET';
- if (options.headers) {
- httpRequest.headers = options.headers;
- }
- AWS.util.handleRequestWithRetries(httpRequest, this, callback);
- },
-
- /**
- * @api private
- */
- loadCredentialsCallbacks: [],
-
- /**
- * Fetches metadata token used for getting credentials
- *
- * @api private
- * @callback callback function(err, token)
- * Called when token is loaded from the resource
- */
- fetchMetadataToken: function fetchMetadataToken(callback) {
- var self = this;
- var tokenFetchPath = '/latest/api/token';
- self.request(
- tokenFetchPath,
- {
- 'method': 'PUT',
- 'headers': {
- 'x-aws-ec2-metadata-token-ttl-seconds': '21600'
- }
- },
- callback
- );
- },
-
- /**
- * Fetches credentials
- *
- * @api private
- * @callback cb function(err, creds)
- * Called when credentials are loaded from the resource
- */
- fetchCredentials: function fetchCredentials(options, cb) {
- var self = this;
- var basePath = '/latest/meta-data/iam/security-credentials/';
-
- self.request(basePath, options, function (err, roleName) {
- if (err) {
- self.disableFetchToken = !(err.statusCode === 401);
- cb(AWS.util.error(
- err,
- {
- message: 'EC2 Metadata roleName request returned error'
- }
- ));
- return;
- }
- roleName = roleName.split('\n')[0]; // grab first (and only) role
- self.request(basePath + roleName, options, function (credErr, credData) {
- if (credErr) {
- self.disableFetchToken = !(credErr.statusCode === 401);
- cb(AWS.util.error(
- credErr,
- {
- message: 'EC2 Metadata creds request returned error'
- }
- ));
- return;
- }
- try {
- var credentials = JSON.parse(credData);
- cb(null, credentials);
- } catch (parseError) {
- cb(parseError);
- }
- });
- });
- },
-
- /**
- * Loads a set of credentials stored in the instance metadata service
- *
- * @api private
- * @callback callback function(err, credentials)
- * Called when credentials are loaded from the resource
- * @param err [Error] if an error occurred, this value will be set
- * @param credentials [Object] the raw JSON object containing all
- * metadata from the credentials resource
- */
- loadCredentials: function loadCredentials(callback) {
- var self = this;
- self.loadCredentialsCallbacks.push(callback);
- if (self.loadCredentialsCallbacks.length > 1) { return; }
-
- function callbacks(err, creds) {
- var cb;
- while ((cb = self.loadCredentialsCallbacks.shift()) !== undefined) {
- cb(err, creds);
- }
- }
-
- if (self.disableFetchToken) {
- self.fetchCredentials({}, callbacks);
- } else {
- self.fetchMetadataToken(function(tokenError, token) {
- if (tokenError) {
- if (tokenError.code === 'TimeoutError') {
- self.disableFetchToken = true;
- } else if (tokenError.retryable === true) {
- callbacks(AWS.util.error(
- tokenError,
- {
- message: 'EC2 Metadata token request returned error'
- }
- ));
- return;
- } else if (tokenError.statusCode === 400) {
- callbacks(AWS.util.error(
- tokenError,
- {
- message: 'EC2 Metadata token request returned 400'
- }
- ));
- return;
- }
- }
- var options = {};
- if (token) {
- options.headers = {
- 'x-aws-ec2-metadata-token': token
- };
- }
- self.fetchCredentials(options, callbacks);
- });
-
- }
- }
-});
-
-/**
- * @api private
- */
-module.exports = AWS.MetadataService;
-
-
-/***/ }),
-
-/***/ 83205:
-/***/ ((module) => {
-
-var getEndpoint = function() {
- return {
- IPv4: 'http://169.254.169.254',
- IPv6: 'http://[fd00:ec2::254]',
- };
-};
-
-module.exports = getEndpoint;
-
-
-/***/ }),
-
-/***/ 95578:
-/***/ ((module) => {
-
-var ENV_ENDPOINT_NAME = 'AWS_EC2_METADATA_SERVICE_ENDPOINT';
-var CONFIG_ENDPOINT_NAME = 'ec2_metadata_service_endpoint';
-
-var getEndpointConfigOptions = function() {
- return {
- environmentVariableSelector: function(env) { return env[ENV_ENDPOINT_NAME]; },
- configFileSelector: function(profile) { return profile[CONFIG_ENDPOINT_NAME]; },
- default: undefined,
- };
-};
-
-module.exports = getEndpointConfigOptions;
-
-
-/***/ }),
-
-/***/ 37997:
-/***/ ((module) => {
-
-var getEndpointMode = function() {
- return {
- IPv4: 'IPv4',
- IPv6: 'IPv6',
- };
-};
-
-module.exports = getEndpointMode;
-
-
-/***/ }),
-
-/***/ 45509:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var EndpointMode = __webpack_require__(37997)();
-
-var ENV_ENDPOINT_MODE_NAME = 'AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE';
-var CONFIG_ENDPOINT_MODE_NAME = 'ec2_metadata_service_endpoint_mode';
-
-var getEndpointModeConfigOptions = function() {
- return {
- environmentVariableSelector: function(env) { return env[ENV_ENDPOINT_MODE_NAME]; },
- configFileSelector: function(profile) { return profile[CONFIG_ENDPOINT_MODE_NAME]; },
- default: EndpointMode.IPv4,
- };
-};
-
-module.exports = getEndpointModeConfigOptions;
-
-
-/***/ }),
-
-/***/ 608:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-
-var Endpoint = __webpack_require__(83205)();
-var EndpointMode = __webpack_require__(37997)();
-
-var ENDPOINT_CONFIG_OPTIONS = __webpack_require__(95578)();
-var ENDPOINT_MODE_CONFIG_OPTIONS = __webpack_require__(45509)();
-
-var getMetadataServiceEndpoint = function() {
- var endpoint = AWS.util.loadConfig(ENDPOINT_CONFIG_OPTIONS);
- if (endpoint !== undefined) return endpoint;
-
- var endpointMode = AWS.util.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS);
- switch (endpointMode) {
- case EndpointMode.IPv4:
- return Endpoint.IPv4;
- case EndpointMode.IPv6:
- return Endpoint.IPv6;
- default:
- throw new Error('Unsupported endpoint mode: ' + endpointMode);
- }
-};
-
-module.exports = getMetadataServiceEndpoint;
-
-
-/***/ }),
-
-/***/ 17657:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var Collection = __webpack_require__(71965);
-var Operation = __webpack_require__(28083);
-var Shape = __webpack_require__(71349);
-var Paginator = __webpack_require__(45938);
-var ResourceWaiter = __webpack_require__(41368);
-var metadata = __webpack_require__(49497);
-
-var util = __webpack_require__(77985);
-var property = util.property;
-var memoizedProperty = util.memoizedProperty;
-
-function Api(api, options) {
- var self = this;
- api = api || {};
- options = options || {};
- options.api = this;
-
- api.metadata = api.metadata || {};
-
- var serviceIdentifier = options.serviceIdentifier;
- delete options.serviceIdentifier;
-
- property(this, 'isApi', true, false);
- property(this, 'apiVersion', api.metadata.apiVersion);
- property(this, 'endpointPrefix', api.metadata.endpointPrefix);
- property(this, 'signingName', api.metadata.signingName);
- property(this, 'globalEndpoint', api.metadata.globalEndpoint);
- property(this, 'signatureVersion', api.metadata.signatureVersion);
- property(this, 'jsonVersion', api.metadata.jsonVersion);
- property(this, 'targetPrefix', api.metadata.targetPrefix);
- property(this, 'protocol', api.metadata.protocol);
- property(this, 'timestampFormat', api.metadata.timestampFormat);
- property(this, 'xmlNamespaceUri', api.metadata.xmlNamespace);
- property(this, 'abbreviation', api.metadata.serviceAbbreviation);
- property(this, 'fullName', api.metadata.serviceFullName);
- property(this, 'serviceId', api.metadata.serviceId);
- if (serviceIdentifier && metadata[serviceIdentifier]) {
- property(this, 'xmlNoDefaultLists', metadata[serviceIdentifier].xmlNoDefaultLists, false);
- }
-
- memoizedProperty(this, 'className', function() {
- var name = api.metadata.serviceAbbreviation || api.metadata.serviceFullName;
- if (!name) return null;
-
- name = name.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g, '');
- if (name === 'ElasticLoadBalancing') name = 'ELB';
- return name;
- });
-
- function addEndpointOperation(name, operation) {
- if (operation.endpointoperation === true) {
- property(self, 'endpointOperation', util.string.lowerFirst(name));
- }
- if (operation.endpointdiscovery && !self.hasRequiredEndpointDiscovery) {
- property(
- self,
- 'hasRequiredEndpointDiscovery',
- operation.endpointdiscovery.required === true
- );
- }
- }
-
- property(this, 'operations', new Collection(api.operations, options, function(name, operation) {
- return new Operation(name, operation, options);
- }, util.string.lowerFirst, addEndpointOperation));
-
- property(this, 'shapes', new Collection(api.shapes, options, function(name, shape) {
- return Shape.create(shape, options);
- }));
-
- property(this, 'paginators', new Collection(api.paginators, options, function(name, paginator) {
- return new Paginator(name, paginator, options);
- }));
-
- property(this, 'waiters', new Collection(api.waiters, options, function(name, waiter) {
- return new ResourceWaiter(name, waiter, options);
- }, util.string.lowerFirst));
-
- if (options.documentation) {
- property(this, 'documentation', api.documentation);
- property(this, 'documentationUrl', api.documentationUrl);
- }
- property(this, 'awsQueryCompatible', api.metadata.awsQueryCompatible);
-}
-
-/**
- * @api private
- */
-module.exports = Api;
-
-
-/***/ }),
-
-/***/ 71965:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var memoizedProperty = __webpack_require__(77985).memoizedProperty;
-
-function memoize(name, value, factory, nameTr) {
- memoizedProperty(this, nameTr(name), function() {
- return factory(name, value);
- });
-}
-
-function Collection(iterable, options, factory, nameTr, callback) {
- nameTr = nameTr || String;
- var self = this;
-
- for (var id in iterable) {
- if (Object.prototype.hasOwnProperty.call(iterable, id)) {
- memoize.call(self, id, iterable[id], factory, nameTr);
- if (callback) callback(id, iterable[id]);
- }
- }
-}
-
-/**
- * @api private
- */
-module.exports = Collection;
-
-
-/***/ }),
-
-/***/ 28083:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var Shape = __webpack_require__(71349);
-
-var util = __webpack_require__(77985);
-var property = util.property;
-var memoizedProperty = util.memoizedProperty;
-
-function Operation(name, operation, options) {
- var self = this;
- options = options || {};
-
- property(this, 'name', operation.name || name);
- property(this, 'api', options.api, false);
-
- operation.http = operation.http || {};
- property(this, 'endpoint', operation.endpoint);
- property(this, 'httpMethod', operation.http.method || 'POST');
- property(this, 'httpPath', operation.http.requestUri || '/');
- property(this, 'authtype', operation.authtype || '');
- property(
- this,
- 'endpointDiscoveryRequired',
- operation.endpointdiscovery ?
- (operation.endpointdiscovery.required ? 'REQUIRED' : 'OPTIONAL') :
- 'NULL'
- );
-
- // httpChecksum replaces usage of httpChecksumRequired, but some APIs
- // (s3control) still uses old trait.
- var httpChecksumRequired = operation.httpChecksumRequired
- || (operation.httpChecksum && operation.httpChecksum.requestChecksumRequired);
- property(this, 'httpChecksumRequired', httpChecksumRequired, false);
-
- memoizedProperty(this, 'input', function() {
- if (!operation.input) {
- return new Shape.create({type: 'structure'}, options);
- }
- return Shape.create(operation.input, options);
- });
-
- memoizedProperty(this, 'output', function() {
- if (!operation.output) {
- return new Shape.create({type: 'structure'}, options);
- }
- return Shape.create(operation.output, options);
- });
-
- memoizedProperty(this, 'errors', function() {
- var list = [];
- if (!operation.errors) return null;
-
- for (var i = 0; i < operation.errors.length; i++) {
- list.push(Shape.create(operation.errors[i], options));
- }
-
- return list;
- });
-
- memoizedProperty(this, 'paginator', function() {
- return options.api.paginators[name];
- });
-
- if (options.documentation) {
- property(this, 'documentation', operation.documentation);
- property(this, 'documentationUrl', operation.documentationUrl);
- }
-
- // idempotentMembers only tracks top-level input shapes
- memoizedProperty(this, 'idempotentMembers', function() {
- var idempotentMembers = [];
- var input = self.input;
- var members = input.members;
- if (!input.members) {
- return idempotentMembers;
- }
- for (var name in members) {
- if (!members.hasOwnProperty(name)) {
- continue;
- }
- if (members[name].isIdempotent === true) {
- idempotentMembers.push(name);
- }
- }
- return idempotentMembers;
- });
-
- memoizedProperty(this, 'hasEventOutput', function() {
- var output = self.output;
- return hasEventStream(output);
- });
-}
-
-function hasEventStream(topLevelShape) {
- var members = topLevelShape.members;
- var payload = topLevelShape.payload;
-
- if (!topLevelShape.members) {
- return false;
- }
-
- if (payload) {
- var payloadMember = members[payload];
- return payloadMember.isEventStream;
- }
-
- // check if any member is an event stream
- for (var name in members) {
- if (!members.hasOwnProperty(name)) {
- if (members[name].isEventStream === true) {
- return true;
- }
- }
- }
- return false;
-}
-
-/**
- * @api private
- */
-module.exports = Operation;
-
-
-/***/ }),
-
-/***/ 45938:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var property = __webpack_require__(77985).property;
-
-function Paginator(name, paginator) {
- property(this, 'inputToken', paginator.input_token);
- property(this, 'limitKey', paginator.limit_key);
- property(this, 'moreResults', paginator.more_results);
- property(this, 'outputToken', paginator.output_token);
- property(this, 'resultKey', paginator.result_key);
-}
-
-/**
- * @api private
- */
-module.exports = Paginator;
-
-
-/***/ }),
-
-/***/ 41368:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(77985);
-var property = util.property;
-
-function ResourceWaiter(name, waiter, options) {
- options = options || {};
- property(this, 'name', name);
- property(this, 'api', options.api, false);
-
- if (waiter.operation) {
- property(this, 'operation', util.string.lowerFirst(waiter.operation));
- }
-
- var self = this;
- var keys = [
- 'type',
- 'description',
- 'delay',
- 'maxAttempts',
- 'acceptors'
- ];
-
- keys.forEach(function(key) {
- var value = waiter[key];
- if (value) {
- property(self, key, value);
- }
- });
-}
-
-/**
- * @api private
- */
-module.exports = ResourceWaiter;
-
-
-/***/ }),
-
-/***/ 71349:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var Collection = __webpack_require__(71965);
-
-var util = __webpack_require__(77985);
-
-function property(obj, name, value) {
- if (value !== null && value !== undefined) {
- util.property.apply(this, arguments);
- }
-}
-
-function memoizedProperty(obj, name) {
- if (!obj.constructor.prototype[name]) {
- util.memoizedProperty.apply(this, arguments);
- }
-}
-
-function Shape(shape, options, memberName) {
- options = options || {};
-
- property(this, 'shape', shape.shape);
- property(this, 'api', options.api, false);
- property(this, 'type', shape.type);
- property(this, 'enum', shape.enum);
- property(this, 'min', shape.min);
- property(this, 'max', shape.max);
- property(this, 'pattern', shape.pattern);
- property(this, 'location', shape.location || this.location || 'body');
- property(this, 'name', this.name || shape.xmlName || shape.queryName ||
- shape.locationName || memberName);
- property(this, 'isStreaming', shape.streaming || this.isStreaming || false);
- property(this, 'requiresLength', shape.requiresLength, false);
- property(this, 'isComposite', shape.isComposite || false);
- property(this, 'isShape', true, false);
- property(this, 'isQueryName', Boolean(shape.queryName), false);
- property(this, 'isLocationName', Boolean(shape.locationName), false);
- property(this, 'isIdempotent', shape.idempotencyToken === true);
- property(this, 'isJsonValue', shape.jsonvalue === true);
- property(this, 'isSensitive', shape.sensitive === true || shape.prototype && shape.prototype.sensitive === true);
- property(this, 'isEventStream', Boolean(shape.eventstream), false);
- property(this, 'isEvent', Boolean(shape.event), false);
- property(this, 'isEventPayload', Boolean(shape.eventpayload), false);
- property(this, 'isEventHeader', Boolean(shape.eventheader), false);
- property(this, 'isTimestampFormatSet', Boolean(shape.timestampFormat) || shape.prototype && shape.prototype.isTimestampFormatSet === true, false);
- property(this, 'endpointDiscoveryId', Boolean(shape.endpointdiscoveryid), false);
- property(this, 'hostLabel', Boolean(shape.hostLabel), false);
-
- if (options.documentation) {
- property(this, 'documentation', shape.documentation);
- property(this, 'documentationUrl', shape.documentationUrl);
- }
-
- if (shape.xmlAttribute) {
- property(this, 'isXmlAttribute', shape.xmlAttribute || false);
- }
-
- // type conversion and parsing
- property(this, 'defaultValue', null);
- this.toWireFormat = function(value) {
- if (value === null || value === undefined) return '';
- return value;
- };
- this.toType = function(value) { return value; };
-}
-
-/**
- * @api private
- */
-Shape.normalizedTypes = {
- character: 'string',
- double: 'float',
- long: 'integer',
- short: 'integer',
- biginteger: 'integer',
- bigdecimal: 'float',
- blob: 'binary'
-};
-
-/**
- * @api private
- */
-Shape.types = {
- 'structure': StructureShape,
- 'list': ListShape,
- 'map': MapShape,
- 'boolean': BooleanShape,
- 'timestamp': TimestampShape,
- 'float': FloatShape,
- 'integer': IntegerShape,
- 'string': StringShape,
- 'base64': Base64Shape,
- 'binary': BinaryShape
-};
-
-Shape.resolve = function resolve(shape, options) {
- if (shape.shape) {
- var refShape = options.api.shapes[shape.shape];
- if (!refShape) {
- throw new Error('Cannot find shape reference: ' + shape.shape);
- }
-
- return refShape;
- } else {
- return null;
- }
-};
-
-Shape.create = function create(shape, options, memberName) {
- if (shape.isShape) return shape;
-
- var refShape = Shape.resolve(shape, options);
- if (refShape) {
- var filteredKeys = Object.keys(shape);
- if (!options.documentation) {
- filteredKeys = filteredKeys.filter(function(name) {
- return !name.match(/documentation/);
- });
- }
-
- // create an inline shape with extra members
- var InlineShape = function() {
- refShape.constructor.call(this, shape, options, memberName);
- };
- InlineShape.prototype = refShape;
- return new InlineShape();
- } else {
- // set type if not set
- if (!shape.type) {
- if (shape.members) shape.type = 'structure';
- else if (shape.member) shape.type = 'list';
- else if (shape.key) shape.type = 'map';
- else shape.type = 'string';
- }
-
- // normalize types
- var origType = shape.type;
- if (Shape.normalizedTypes[shape.type]) {
- shape.type = Shape.normalizedTypes[shape.type];
- }
-
- if (Shape.types[shape.type]) {
- return new Shape.types[shape.type](shape, options, memberName);
- } else {
- throw new Error('Unrecognized shape type: ' + origType);
- }
- }
-};
-
-function CompositeShape(shape) {
- Shape.apply(this, arguments);
- property(this, 'isComposite', true);
-
- if (shape.flattened) {
- property(this, 'flattened', shape.flattened || false);
- }
-}
-
-function StructureShape(shape, options) {
- var self = this;
- var requiredMap = null, firstInit = !this.isShape;
-
- CompositeShape.apply(this, arguments);
-
- if (firstInit) {
- property(this, 'defaultValue', function() { return {}; });
- property(this, 'members', {});
- property(this, 'memberNames', []);
- property(this, 'required', []);
- property(this, 'isRequired', function() { return false; });
- property(this, 'isDocument', Boolean(shape.document));
- }
-
- if (shape.members) {
- property(this, 'members', new Collection(shape.members, options, function(name, member) {
- return Shape.create(member, options, name);
- }));
- memoizedProperty(this, 'memberNames', function() {
- return shape.xmlOrder || Object.keys(shape.members);
- });
-
- if (shape.event) {
- memoizedProperty(this, 'eventPayloadMemberName', function() {
- var members = self.members;
- var memberNames = self.memberNames;
- // iterate over members to find ones that are event payloads
- for (var i = 0, iLen = memberNames.length; i < iLen; i++) {
- if (members[memberNames[i]].isEventPayload) {
- return memberNames[i];
- }
- }
- });
-
- memoizedProperty(this, 'eventHeaderMemberNames', function() {
- var members = self.members;
- var memberNames = self.memberNames;
- var eventHeaderMemberNames = [];
- // iterate over members to find ones that are event headers
- for (var i = 0, iLen = memberNames.length; i < iLen; i++) {
- if (members[memberNames[i]].isEventHeader) {
- eventHeaderMemberNames.push(memberNames[i]);
- }
- }
- return eventHeaderMemberNames;
- });
- }
- }
-
- if (shape.required) {
- property(this, 'required', shape.required);
- property(this, 'isRequired', function(name) {
- if (!requiredMap) {
- requiredMap = {};
- for (var i = 0; i < shape.required.length; i++) {
- requiredMap[shape.required[i]] = true;
- }
- }
-
- return requiredMap[name];
- }, false, true);
- }
-
- property(this, 'resultWrapper', shape.resultWrapper || null);
-
- if (shape.payload) {
- property(this, 'payload', shape.payload);
- }
-
- if (typeof shape.xmlNamespace === 'string') {
- property(this, 'xmlNamespaceUri', shape.xmlNamespace);
- } else if (typeof shape.xmlNamespace === 'object') {
- property(this, 'xmlNamespacePrefix', shape.xmlNamespace.prefix);
- property(this, 'xmlNamespaceUri', shape.xmlNamespace.uri);
- }
-}
-
-function ListShape(shape, options) {
- var self = this, firstInit = !this.isShape;
- CompositeShape.apply(this, arguments);
-
- if (firstInit) {
- property(this, 'defaultValue', function() { return []; });
- }
-
- if (shape.member) {
- memoizedProperty(this, 'member', function() {
- return Shape.create(shape.member, options);
- });
- }
-
- if (this.flattened) {
- var oldName = this.name;
- memoizedProperty(this, 'name', function() {
- return self.member.name || oldName;
- });
- }
-}
-
-function MapShape(shape, options) {
- var firstInit = !this.isShape;
- CompositeShape.apply(this, arguments);
-
- if (firstInit) {
- property(this, 'defaultValue', function() { return {}; });
- property(this, 'key', Shape.create({type: 'string'}, options));
- property(this, 'value', Shape.create({type: 'string'}, options));
- }
-
- if (shape.key) {
- memoizedProperty(this, 'key', function() {
- return Shape.create(shape.key, options);
- });
- }
- if (shape.value) {
- memoizedProperty(this, 'value', function() {
- return Shape.create(shape.value, options);
- });
- }
-}
-
-function TimestampShape(shape) {
- var self = this;
- Shape.apply(this, arguments);
-
- if (shape.timestampFormat) {
- property(this, 'timestampFormat', shape.timestampFormat);
- } else if (self.isTimestampFormatSet && this.timestampFormat) {
- property(this, 'timestampFormat', this.timestampFormat);
- } else if (this.location === 'header') {
- property(this, 'timestampFormat', 'rfc822');
- } else if (this.location === 'querystring') {
- property(this, 'timestampFormat', 'iso8601');
- } else if (this.api) {
- switch (this.api.protocol) {
- case 'json':
- case 'rest-json':
- property(this, 'timestampFormat', 'unixTimestamp');
- break;
- case 'rest-xml':
- case 'query':
- case 'ec2':
- property(this, 'timestampFormat', 'iso8601');
- break;
- }
- }
-
- this.toType = function(value) {
- if (value === null || value === undefined) return null;
- if (typeof value.toUTCString === 'function') return value;
- return typeof value === 'string' || typeof value === 'number' ?
- util.date.parseTimestamp(value) : null;
- };
-
- this.toWireFormat = function(value) {
- return util.date.format(value, self.timestampFormat);
- };
-}
-
-function StringShape() {
- Shape.apply(this, arguments);
-
- var nullLessProtocols = ['rest-xml', 'query', 'ec2'];
- this.toType = function(value) {
- value = this.api && nullLessProtocols.indexOf(this.api.protocol) > -1 ?
- value || '' : value;
- if (this.isJsonValue) {
- return JSON.parse(value);
- }
-
- return value && typeof value.toString === 'function' ?
- value.toString() : value;
- };
-
- this.toWireFormat = function(value) {
- return this.isJsonValue ? JSON.stringify(value) : value;
- };
-}
-
-function FloatShape() {
- Shape.apply(this, arguments);
-
- this.toType = function(value) {
- if (value === null || value === undefined) return null;
- return parseFloat(value);
- };
- this.toWireFormat = this.toType;
-}
-
-function IntegerShape() {
- Shape.apply(this, arguments);
-
- this.toType = function(value) {
- if (value === null || value === undefined) return null;
- return parseInt(value, 10);
- };
- this.toWireFormat = this.toType;
-}
-
-function BinaryShape() {
- Shape.apply(this, arguments);
- this.toType = function(value) {
- var buf = util.base64.decode(value);
- if (this.isSensitive && util.isNode() && typeof util.Buffer.alloc === 'function') {
- /* Node.js can create a Buffer that is not isolated.
- * i.e. buf.byteLength !== buf.buffer.byteLength
- * This means that the sensitive data is accessible to anyone with access to buf.buffer.
- * If this is the node shared Buffer, then other code within this process _could_ find this secret.
- * Copy sensitive data to an isolated Buffer and zero the sensitive data.
- * While this is safe to do here, copying this code somewhere else may produce unexpected results.
- */
- var secureBuf = util.Buffer.alloc(buf.length, buf);
- buf.fill(0);
- buf = secureBuf;
- }
- return buf;
- };
- this.toWireFormat = util.base64.encode;
-}
-
-function Base64Shape() {
- BinaryShape.apply(this, arguments);
-}
-
-function BooleanShape() {
- Shape.apply(this, arguments);
-
- this.toType = function(value) {
- if (typeof value === 'boolean') return value;
- if (value === null || value === undefined) return null;
- return value === 'true';
- };
-}
-
-/**
- * @api private
- */
-Shape.shapes = {
- StructureShape: StructureShape,
- ListShape: ListShape,
- MapShape: MapShape,
- StringShape: StringShape,
- BooleanShape: BooleanShape,
- Base64Shape: Base64Shape
-};
-
-/**
- * @api private
- */
-module.exports = Shape;
-
-
-/***/ }),
-
-/***/ 73639:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(77985);
-
-var region_utils = __webpack_require__(99517);
-var isFipsRegion = region_utils.isFipsRegion;
-var getRealRegion = region_utils.getRealRegion;
-
-util.isBrowser = function() { return false; };
-util.isNode = function() { return true; };
-
-// node.js specific modules
-util.crypto.lib = __webpack_require__(76417);
-util.Buffer = __webpack_require__(64293).Buffer;
-util.domain = __webpack_require__(85229);
-util.stream = __webpack_require__(92413);
-util.url = __webpack_require__(78835);
-util.querystring = __webpack_require__(71191);
-util.environment = 'nodejs';
-util.createEventStream = util.stream.Readable ?
- __webpack_require__(69643).createEventStream : __webpack_require__(63727).createEventStream;
-util.realClock = __webpack_require__(81370);
-util.clientSideMonitoring = {
- Publisher: __webpack_require__(66807).Publisher,
- configProvider: __webpack_require__(91822),
-};
-util.iniLoader = __webpack_require__(29697)/* .iniLoader */ .b;
-util.getSystemErrorName = __webpack_require__(31669).getSystemErrorName;
-
-util.loadConfig = function(options) {
- var envValue = options.environmentVariableSelector(process.env);
- if (envValue !== undefined) {
- return envValue;
- }
-
- var configFile = {};
- try {
- configFile = util.iniLoader ? util.iniLoader.loadFrom({
- isConfig: true,
- filename: process.env[util.sharedConfigFileEnv]
- }) : {};
- } catch (e) {}
- var sharedFileConfig = configFile[
- process.env.AWS_PROFILE || util.defaultProfile
- ] || {};
- var configValue = options.configFileSelector(sharedFileConfig);
- if (configValue !== undefined) {
- return configValue;
- }
-
- if (typeof options.default === 'function') {
- return options.default();
- }
- return options.default;
-};
-
-var AWS;
-
-/**
- * @api private
- */
-module.exports = AWS = __webpack_require__(28437);
-
-__webpack_require__(53819);
-__webpack_require__(36965);
-__webpack_require__(77360);
-__webpack_require__(57083);
-__webpack_require__(74998);
-__webpack_require__(3498);
-__webpack_require__(15037);
-__webpack_require__(80371);
-
-// Load the xml2js XML parser
-AWS.XML.Parser = __webpack_require__(96752);
-
-// Load Node HTTP client
-__webpack_require__(2310);
-
-__webpack_require__(95417);
-
-// Load custom credential providers
-__webpack_require__(11017);
-__webpack_require__(73379);
-__webpack_require__(88764);
-__webpack_require__(10645);
-__webpack_require__(57714);
-__webpack_require__(27454);
-__webpack_require__(13754);
-__webpack_require__(80371);
-__webpack_require__(68335);
-
-// Setup default providers for credentials chain
-// If this changes, please update documentation for
-// AWS.CredentialProviderChain.defaultProviders in
-// credentials/credential_provider_chain.js
-AWS.CredentialProviderChain.defaultProviders = [
- function () { return new AWS.EnvironmentCredentials('AWS'); },
- function () { return new AWS.EnvironmentCredentials('AMAZON'); },
- function () { return new AWS.SsoCredentials(); },
- function () { return new AWS.SharedIniFileCredentials(); },
- function () { return new AWS.ECSCredentials(); },
- function () { return new AWS.ProcessCredentials(); },
- function () { return new AWS.TokenFileWebIdentityCredentials(); },
- function () { return new AWS.EC2MetadataCredentials(); }
-];
-
-// Load custom token providers
-__webpack_require__(82647);
-__webpack_require__(50126);
-__webpack_require__(90327);
-
-// Setup default providers for token chain
-// If this changes, please update documentation for
-// AWS.TokenProviderChain.defaultProviders in
-// token/token_provider_chain.js
-AWS.TokenProviderChain.defaultProviders = [
- function () { return new AWS.SSOTokenProvider(); },
-];
-
-var getRegion = function() {
- var env = process.env;
- var region = env.AWS_REGION || env.AMAZON_REGION;
- if (env[AWS.util.configOptInEnv]) {
- var toCheck = [
- {filename: env[AWS.util.sharedCredentialsFileEnv]},
- {isConfig: true, filename: env[AWS.util.sharedConfigFileEnv]}
- ];
- var iniLoader = AWS.util.iniLoader;
- while (!region && toCheck.length) {
- var configFile = {};
- var fileInfo = toCheck.shift();
- try {
- configFile = iniLoader.loadFrom(fileInfo);
- } catch (err) {
- if (fileInfo.isConfig) throw err;
- }
- var profile = configFile[env.AWS_PROFILE || AWS.util.defaultProfile];
- region = profile && profile.region;
- }
- }
- return region;
-};
-
-var getBooleanValue = function(value) {
- return value === 'true' ? true: value === 'false' ? false: undefined;
-};
-
-var USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
- environmentVariableSelector: function(env) {
- return getBooleanValue(env['AWS_USE_FIPS_ENDPOINT']);
- },
- configFileSelector: function(profile) {
- return getBooleanValue(profile['use_fips_endpoint']);
- },
- default: false,
-};
-
-var USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
- environmentVariableSelector: function(env) {
- return getBooleanValue(env['AWS_USE_DUALSTACK_ENDPOINT']);
- },
- configFileSelector: function(profile) {
- return getBooleanValue(profile['use_dualstack_endpoint']);
- },
- default: false,
-};
-
-// Update configuration keys
-AWS.util.update(AWS.Config.prototype.keys, {
- credentials: function () {
- var credentials = null;
- new AWS.CredentialProviderChain([
- function () { return new AWS.EnvironmentCredentials('AWS'); },
- function () { return new AWS.EnvironmentCredentials('AMAZON'); },
- function () { return new AWS.SharedIniFileCredentials({ disableAssumeRole: true }); }
- ]).resolve(function(err, creds) {
- if (!err) credentials = creds;
- });
- return credentials;
- },
- credentialProvider: function() {
- return new AWS.CredentialProviderChain();
- },
- logger: function () {
- return process.env.AWSJS_DEBUG ? console : null;
- },
- region: function() {
- var region = getRegion();
- return region ? getRealRegion(region): undefined;
- },
- tokenProvider: function() {
- return new AWS.TokenProviderChain();
- },
- useFipsEndpoint: function() {
- var region = getRegion();
- return isFipsRegion(region)
- ? true
- : util.loadConfig(USE_FIPS_ENDPOINT_CONFIG_OPTIONS);
- },
- useDualstackEndpoint: function() {
- return util.loadConfig(USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS);
- }
-});
-
-// Reset configuration
-AWS.config = new AWS.Config();
-
-
-/***/ }),
-
-/***/ 99127:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-
-/**
- * @api private
- */
-AWS.ParamValidator = AWS.util.inherit({
- /**
- * Create a new validator object.
- *
- * @param validation [Boolean|map] whether input parameters should be
- * validated against the operation description before sending the
- * request. Pass a map to enable any of the following specific
- * validation features:
- *
- * * **min** [Boolean] — Validates that a value meets the min
- * constraint. This is enabled by default when paramValidation is set
- * to `true`.
- * * **max** [Boolean] — Validates that a value meets the max
- * constraint.
- * * **pattern** [Boolean] — Validates that a string value matches a
- * regular expression.
- * * **enum** [Boolean] — Validates that a string value matches one
- * of the allowable enum values.
- */
- constructor: function ParamValidator(validation) {
- if (validation === true || validation === undefined) {
- validation = {'min': true};
- }
- this.validation = validation;
- },
-
- validate: function validate(shape, params, context) {
- this.errors = [];
- this.validateMember(shape, params || {}, context || 'params');
-
- if (this.errors.length > 1) {
- var msg = this.errors.join('\n* ');
- msg = 'There were ' + this.errors.length +
- ' validation errors:\n* ' + msg;
- throw AWS.util.error(new Error(msg),
- {code: 'MultipleValidationErrors', errors: this.errors});
- } else if (this.errors.length === 1) {
- throw this.errors[0];
- } else {
- return true;
- }
- },
-
- fail: function fail(code, message) {
- this.errors.push(AWS.util.error(new Error(message), {code: code}));
- },
-
- validateStructure: function validateStructure(shape, params, context) {
- if (shape.isDocument) return true;
-
- this.validateType(params, context, ['object'], 'structure');
- var paramName;
- for (var i = 0; shape.required && i < shape.required.length; i++) {
- paramName = shape.required[i];
- var value = params[paramName];
- if (value === undefined || value === null) {
- this.fail('MissingRequiredParameter',
- 'Missing required key \'' + paramName + '\' in ' + context);
- }
- }
-
- // validate hash members
- for (paramName in params) {
- if (!Object.prototype.hasOwnProperty.call(params, paramName)) continue;
-
- var paramValue = params[paramName],
- memberShape = shape.members[paramName];
-
- if (memberShape !== undefined) {
- var memberContext = [context, paramName].join('.');
- this.validateMember(memberShape, paramValue, memberContext);
- } else if (paramValue !== undefined && paramValue !== null) {
- this.fail('UnexpectedParameter',
- 'Unexpected key \'' + paramName + '\' found in ' + context);
- }
- }
-
- return true;
- },
-
- validateMember: function validateMember(shape, param, context) {
- switch (shape.type) {
- case 'structure':
- return this.validateStructure(shape, param, context);
- case 'list':
- return this.validateList(shape, param, context);
- case 'map':
- return this.validateMap(shape, param, context);
- default:
- return this.validateScalar(shape, param, context);
- }
- },
-
- validateList: function validateList(shape, params, context) {
- if (this.validateType(params, context, [Array])) {
- this.validateRange(shape, params.length, context, 'list member count');
- // validate array members
- for (var i = 0; i < params.length; i++) {
- this.validateMember(shape.member, params[i], context + '[' + i + ']');
- }
- }
- },
-
- validateMap: function validateMap(shape, params, context) {
- if (this.validateType(params, context, ['object'], 'map')) {
- // Build up a count of map members to validate range traits.
- var mapCount = 0;
- for (var param in params) {
- if (!Object.prototype.hasOwnProperty.call(params, param)) continue;
- // Validate any map key trait constraints
- this.validateMember(shape.key, param,
- context + '[key=\'' + param + '\']');
- this.validateMember(shape.value, params[param],
- context + '[\'' + param + '\']');
- mapCount++;
- }
- this.validateRange(shape, mapCount, context, 'map member count');
- }
- },
-
- validateScalar: function validateScalar(shape, value, context) {
- switch (shape.type) {
- case null:
- case undefined:
- case 'string':
- return this.validateString(shape, value, context);
- case 'base64':
- case 'binary':
- return this.validatePayload(value, context);
- case 'integer':
- case 'float':
- return this.validateNumber(shape, value, context);
- case 'boolean':
- return this.validateType(value, context, ['boolean']);
- case 'timestamp':
- return this.validateType(value, context, [Date,
- /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/, 'number'],
- 'Date object, ISO-8601 string, or a UNIX timestamp');
- default:
- return this.fail('UnkownType', 'Unhandled type ' +
- shape.type + ' for ' + context);
- }
- },
-
- validateString: function validateString(shape, value, context) {
- var validTypes = ['string'];
- if (shape.isJsonValue) {
- validTypes = validTypes.concat(['number', 'object', 'boolean']);
- }
- if (value !== null && this.validateType(value, context, validTypes)) {
- this.validateEnum(shape, value, context);
- this.validateRange(shape, value.length, context, 'string length');
- this.validatePattern(shape, value, context);
- this.validateUri(shape, value, context);
- }
- },
-
- validateUri: function validateUri(shape, value, context) {
- if (shape['location'] === 'uri') {
- if (value.length === 0) {
- this.fail('UriParameterError', 'Expected uri parameter to have length >= 1,'
- + ' but found "' + value +'" for ' + context);
- }
- }
- },
-
- validatePattern: function validatePattern(shape, value, context) {
- if (this.validation['pattern'] && shape['pattern'] !== undefined) {
- if (!(new RegExp(shape['pattern'])).test(value)) {
- this.fail('PatternMatchError', 'Provided value "' + value + '" '
- + 'does not match regex pattern /' + shape['pattern'] + '/ for '
- + context);
- }
- }
- },
-
- validateRange: function validateRange(shape, value, context, descriptor) {
- if (this.validation['min']) {
- if (shape['min'] !== undefined && value < shape['min']) {
- this.fail('MinRangeError', 'Expected ' + descriptor + ' >= '
- + shape['min'] + ', but found ' + value + ' for ' + context);
- }
- }
- if (this.validation['max']) {
- if (shape['max'] !== undefined && value > shape['max']) {
- this.fail('MaxRangeError', 'Expected ' + descriptor + ' <= '
- + shape['max'] + ', but found ' + value + ' for ' + context);
- }
- }
- },
-
- validateEnum: function validateRange(shape, value, context) {
- if (this.validation['enum'] && shape['enum'] !== undefined) {
- // Fail if the string value is not present in the enum list
- if (shape['enum'].indexOf(value) === -1) {
- this.fail('EnumError', 'Found string value of ' + value + ', but '
- + 'expected ' + shape['enum'].join('|') + ' for ' + context);
- }
- }
- },
-
- validateType: function validateType(value, context, acceptedTypes, type) {
- // We will not log an error for null or undefined, but we will return
- // false so that callers know that the expected type was not strictly met.
- if (value === null || value === undefined) return false;
-
- var foundInvalidType = false;
- for (var i = 0; i < acceptedTypes.length; i++) {
- if (typeof acceptedTypes[i] === 'string') {
- if (typeof value === acceptedTypes[i]) return true;
- } else if (acceptedTypes[i] instanceof RegExp) {
- if ((value || '').toString().match(acceptedTypes[i])) return true;
- } else {
- if (value instanceof acceptedTypes[i]) return true;
- if (AWS.util.isType(value, acceptedTypes[i])) return true;
- if (!type && !foundInvalidType) acceptedTypes = acceptedTypes.slice();
- acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]);
- }
- foundInvalidType = true;
- }
-
- var acceptedType = type;
- if (!acceptedType) {
- acceptedType = acceptedTypes.join(', ').replace(/,([^,]+)$/, ', or$1');
- }
-
- var vowel = acceptedType.match(/^[aeiou]/i) ? 'n' : '';
- this.fail('InvalidParameterType', 'Expected ' + context + ' to be a' +
- vowel + ' ' + acceptedType);
- return false;
- },
-
- validateNumber: function validateNumber(shape, value, context) {
- if (value === null || value === undefined) return;
- if (typeof value === 'string') {
- var castedValue = parseFloat(value);
- if (castedValue.toString() === value) value = castedValue;
- }
- if (this.validateType(value, context, ['number'])) {
- this.validateRange(shape, value, context, 'numeric value');
- }
- },
-
- validatePayload: function validatePayload(value, context) {
- if (value === null || value === undefined) return;
- if (typeof value === 'string') return;
- if (value && typeof value.byteLength === 'number') return; // typed arrays
- if (AWS.util.isNode()) { // special check for buffer/stream in Node.js
- var Stream = AWS.util.stream.Stream;
- if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) return;
- } else {
- if (typeof Blob !== void 0 && value instanceof Blob) return;
- }
-
- var types = ['Buffer', 'Stream', 'File', 'Blob', 'ArrayBuffer', 'DataView'];
- if (value) {
- for (var i = 0; i < types.length; i++) {
- if (AWS.util.isType(value, types[i])) return;
- if (AWS.util.typeName(value.constructor) === types[i]) return;
- }
- }
-
- this.fail('InvalidParameterType', 'Expected ' + context + ' to be a ' +
- 'string, Buffer, Stream, Blob, or typed array object');
- }
-});
-
-
-/***/ }),
-
-/***/ 44086:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var rest = AWS.Protocol.Rest;
-
-/**
- * A presigner object can be used to generate presigned urls for the Polly service.
- */
-AWS.Polly.Presigner = AWS.util.inherit({
- /**
- * Creates a presigner object with a set of configuration options.
- *
- * @option options params [map] An optional map of parameters to bind to every
- * request sent by this service object.
- * @option options service [AWS.Polly] An optional pre-configured instance
- * of the AWS.Polly service object to use for requests. The object may
- * bound parameters used by the presigner.
- * @see AWS.Polly.constructor
- */
- constructor: function Signer(options) {
- options = options || {};
- this.options = options;
- this.service = options.service;
- this.bindServiceObject(options);
- this._operations = {};
- },
-
- /**
- * @api private
- */
- bindServiceObject: function bindServiceObject(options) {
- options = options || {};
- if (!this.service) {
- this.service = new AWS.Polly(options);
- } else {
- var config = AWS.util.copy(this.service.config);
- this.service = new this.service.constructor.__super__(config);
- this.service.config.params = AWS.util.merge(this.service.config.params || {}, options.params);
- }
- },
-
- /**
- * @api private
- */
- modifyInputMembers: function modifyInputMembers(input) {
- // make copies of the input so we don't overwrite the api
- // need to be careful to copy anything we access/modify
- var modifiedInput = AWS.util.copy(input);
- modifiedInput.members = AWS.util.copy(input.members);
- AWS.util.each(input.members, function(name, member) {
- modifiedInput.members[name] = AWS.util.copy(member);
- // update location and locationName
- if (!member.location || member.location === 'body') {
- modifiedInput.members[name].location = 'querystring';
- modifiedInput.members[name].locationName = name;
- }
- });
- return modifiedInput;
- },
-
- /**
- * @api private
- */
- convertPostToGet: function convertPostToGet(req) {
- // convert method
- req.httpRequest.method = 'GET';
-
- var operation = req.service.api.operations[req.operation];
- // get cached operation input first
- var input = this._operations[req.operation];
- if (!input) {
- // modify the original input
- this._operations[req.operation] = input = this.modifyInputMembers(operation.input);
- }
-
- var uri = rest.generateURI(req.httpRequest.endpoint.path, operation.httpPath, input, req.params);
-
- req.httpRequest.path = uri;
- req.httpRequest.body = '';
-
- // don't need these headers on a GET request
- delete req.httpRequest.headers['Content-Length'];
- delete req.httpRequest.headers['Content-Type'];
- },
-
- /**
- * @overload getSynthesizeSpeechUrl(params = {}, [expires = 3600], [callback])
- * Generate a presigned url for {AWS.Polly.synthesizeSpeech}.
- * @note You must ensure that you have static or previously resolved
- * credentials if you call this method synchronously (with no callback),
- * otherwise it may not properly sign the request. If you cannot guarantee
- * this (you are using an asynchronous credential provider, i.e., EC2
- * IAM roles), you should always call this method with an asynchronous
- * callback.
- * @param params [map] parameters to pass to the operation. See the {AWS.Polly.synthesizeSpeech}
- * operation for the expected operation parameters.
- * @param expires [Integer] (3600) the number of seconds to expire the pre-signed URL operation in.
- * Defaults to 1 hour.
- * @return [string] if called synchronously (with no callback), returns the signed URL.
- * @return [null] nothing is returned if a callback is provided.
- * @callback callback function (err, url)
- * If a callback is supplied, it is called when a signed URL has been generated.
- * @param err [Error] the error object returned from the presigner.
- * @param url [String] the signed URL.
- * @see AWS.Polly.synthesizeSpeech
- */
- getSynthesizeSpeechUrl: function getSynthesizeSpeechUrl(params, expires, callback) {
- var self = this;
- var request = this.service.makeRequest('synthesizeSpeech', params);
- // remove existing build listeners
- request.removeAllListeners('build');
- request.on('build', function(req) {
- self.convertPostToGet(req);
- });
- return request.presign(expires, callback);
- }
-});
-
-
-/***/ }),
-
-/***/ 97969:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(77985);
-var AWS = __webpack_require__(28437);
-
-/**
- * Prepend prefix defined by API model to endpoint that's already
- * constructed. This feature does not apply to operations using
- * endpoint discovery and can be disabled.
- * @api private
- */
-function populateHostPrefix(request) {
- var enabled = request.service.config.hostPrefixEnabled;
- if (!enabled) return request;
- var operationModel = request.service.api.operations[request.operation];
- //don't marshal host prefix when operation has endpoint discovery traits
- if (hasEndpointDiscover(request)) return request;
- if (operationModel.endpoint && operationModel.endpoint.hostPrefix) {
- var hostPrefixNotation = operationModel.endpoint.hostPrefix;
- var hostPrefix = expandHostPrefix(hostPrefixNotation, request.params, operationModel.input);
- prependEndpointPrefix(request.httpRequest.endpoint, hostPrefix);
- validateHostname(request.httpRequest.endpoint.hostname);
- }
- return request;
-}
-
-/**
- * @api private
- */
-function hasEndpointDiscover(request) {
- var api = request.service.api;
- var operationModel = api.operations[request.operation];
- var isEndpointOperation = api.endpointOperation && (api.endpointOperation === util.string.lowerFirst(operationModel.name));
- return (operationModel.endpointDiscoveryRequired !== 'NULL' || isEndpointOperation === true);
-}
-
-/**
- * @api private
- */
-function expandHostPrefix(hostPrefixNotation, params, shape) {
- util.each(shape.members, function(name, member) {
- if (member.hostLabel === true) {
- if (typeof params[name] !== 'string' || params[name] === '') {
- throw util.error(new Error(), {
- message: 'Parameter ' + name + ' should be a non-empty string.',
- code: 'InvalidParameter'
- });
- }
- var regex = new RegExp('\\{' + name + '\\}', 'g');
- hostPrefixNotation = hostPrefixNotation.replace(regex, params[name]);
- }
- });
- return hostPrefixNotation;
-}
-
-/**
- * @api private
- */
-function prependEndpointPrefix(endpoint, prefix) {
- if (endpoint.host) {
- endpoint.host = prefix + endpoint.host;
- }
- if (endpoint.hostname) {
- endpoint.hostname = prefix + endpoint.hostname;
- }
-}
-
-/**
- * @api private
- */
-function validateHostname(hostname) {
- var labels = hostname.split('.');
- //Reference: https://tools.ietf.org/html/rfc1123#section-2
- var hostPattern = /^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/;
- util.arrayEach(labels, function(label) {
- if (!label.length || label.length < 1 || label.length > 63) {
- throw util.error(new Error(), {
- code: 'ValidationError',
- message: 'Hostname label length should be between 1 to 63 characters, inclusive.'
- });
- }
- if (!hostPattern.test(label)) {
- throw AWS.util.error(new Error(),
- {code: 'ValidationError', message: label + ' is not hostname compatible.'});
- }
- });
-}
-
-module.exports = {
- populateHostPrefix: populateHostPrefix
-};
-
-
-/***/ }),
-
-/***/ 30083:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(77985);
-var JsonBuilder = __webpack_require__(47495);
-var JsonParser = __webpack_require__(5474);
-var populateHostPrefix = __webpack_require__(97969).populateHostPrefix;
-
-function buildRequest(req) {
- var httpRequest = req.httpRequest;
- var api = req.service.api;
- var target = api.targetPrefix + '.' + api.operations[req.operation].name;
- var version = api.jsonVersion || '1.0';
- var input = api.operations[req.operation].input;
- var builder = new JsonBuilder();
-
- if (version === 1) version = '1.0';
- httpRequest.body = builder.build(req.params || {}, input);
- httpRequest.headers['Content-Type'] = 'application/x-amz-json-' + version;
- httpRequest.headers['X-Amz-Target'] = target;
-
- populateHostPrefix(req);
-}
-
-function extractError(resp) {
- var error = {};
- var httpResponse = resp.httpResponse;
-
- error.code = httpResponse.headers['x-amzn-errortype'] || 'UnknownError';
- if (typeof error.code === 'string') {
- error.code = error.code.split(':')[0];
- }
-
- if (httpResponse.body.length > 0) {
- try {
- var e = JSON.parse(httpResponse.body.toString());
- var code = e.__type || e.code || e.Code;
- if (code) {
- error.code = code.split('#').pop();
- }
- if (error.code === 'RequestEntityTooLarge') {
- error.message = 'Request body must be less than 1 MB';
- } else {
- error.message = (e.message || e.Message || null);
- }
- } catch (e) {
- error.statusCode = httpResponse.statusCode;
- error.message = httpResponse.statusMessage;
- }
- } else {
- error.statusCode = httpResponse.statusCode;
- error.message = httpResponse.statusCode.toString();
- }
-
- resp.error = util.error(new Error(), error);
-}
-
-function extractData(resp) {
- var body = resp.httpResponse.body.toString() || '{}';
- if (resp.request.service.config.convertResponseTypes === false) {
- resp.data = JSON.parse(body);
- } else {
- var operation = resp.request.service.api.operations[resp.request.operation];
- var shape = operation.output || {};
- var parser = new JsonParser();
- resp.data = parser.parse(body, shape);
- }
-}
-
-/**
- * @api private
- */
-module.exports = {
- buildRequest: buildRequest,
- extractError: extractError,
- extractData: extractData
-};
-
-
-/***/ }),
-
-/***/ 90761:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var util = __webpack_require__(77985);
-var QueryParamSerializer = __webpack_require__(45175);
-var Shape = __webpack_require__(71349);
-var populateHostPrefix = __webpack_require__(97969).populateHostPrefix;
-
-function buildRequest(req) {
- var operation = req.service.api.operations[req.operation];
- var httpRequest = req.httpRequest;
- httpRequest.headers['Content-Type'] =
- 'application/x-www-form-urlencoded; charset=utf-8';
- httpRequest.params = {
- Version: req.service.api.apiVersion,
- Action: operation.name
- };
-
- // convert the request parameters into a list of query params,
- // e.g. Deeply.NestedParam.0.Name=value
- var builder = new QueryParamSerializer();
- builder.serialize(req.params, operation.input, function(name, value) {
- httpRequest.params[name] = value;
- });
- httpRequest.body = util.queryParamsToString(httpRequest.params);
-
- populateHostPrefix(req);
-}
-
-function extractError(resp) {
- var data, body = resp.httpResponse.body.toString();
- if (body.match(' {
-
-var util = __webpack_require__(77985);
-var populateHostPrefix = __webpack_require__(97969).populateHostPrefix;
-
-function populateMethod(req) {
- req.httpRequest.method = req.service.api.operations[req.operation].httpMethod;
-}
-
-function generateURI(endpointPath, operationPath, input, params) {
- var uri = [endpointPath, operationPath].join('/');
- uri = uri.replace(/\/+/g, '/');
-
- var queryString = {}, queryStringSet = false;
- util.each(input.members, function (name, member) {
- var paramValue = params[name];
- if (paramValue === null || paramValue === undefined) return;
- if (member.location === 'uri') {
- var regex = new RegExp('\\{' + member.name + '(\\+)?\\}');
- uri = uri.replace(regex, function(_, plus) {
- var fn = plus ? util.uriEscapePath : util.uriEscape;
- return fn(String(paramValue));
- });
- } else if (member.location === 'querystring') {
- queryStringSet = true;
-
- if (member.type === 'list') {
- queryString[member.name] = paramValue.map(function(val) {
- return util.uriEscape(member.member.toWireFormat(val).toString());
- });
- } else if (member.type === 'map') {
- util.each(paramValue, function(key, value) {
- if (Array.isArray(value)) {
- queryString[key] = value.map(function(val) {
- return util.uriEscape(String(val));
- });
- } else {
- queryString[key] = util.uriEscape(String(value));
- }
- });
- } else {
- queryString[member.name] = util.uriEscape(member.toWireFormat(paramValue).toString());
- }
- }
- });
-
- if (queryStringSet) {
- uri += (uri.indexOf('?') >= 0 ? '&' : '?');
- var parts = [];
- util.arrayEach(Object.keys(queryString).sort(), function(key) {
- if (!Array.isArray(queryString[key])) {
- queryString[key] = [queryString[key]];
- }
- for (var i = 0; i < queryString[key].length; i++) {
- parts.push(util.uriEscape(String(key)) + '=' + queryString[key][i]);
- }
- });
- uri += parts.join('&');
- }
-
- return uri;
-}
-
-function populateURI(req) {
- var operation = req.service.api.operations[req.operation];
- var input = operation.input;
-
- var uri = generateURI(req.httpRequest.endpoint.path, operation.httpPath, input, req.params);
- req.httpRequest.path = uri;
-}
-
-function populateHeaders(req) {
- var operation = req.service.api.operations[req.operation];
- util.each(operation.input.members, function (name, member) {
- var value = req.params[name];
- if (value === null || value === undefined) return;
-
- if (member.location === 'headers' && member.type === 'map') {
- util.each(value, function(key, memberValue) {
- req.httpRequest.headers[member.name + key] = memberValue;
- });
- } else if (member.location === 'header') {
- value = member.toWireFormat(value).toString();
- if (member.isJsonValue) {
- value = util.base64.encode(value);
- }
- req.httpRequest.headers[member.name] = value;
- }
- });
-}
-
-function buildRequest(req) {
- populateMethod(req);
- populateURI(req);
- populateHeaders(req);
- populateHostPrefix(req);
-}
-
-function extractError() {
-}
-
-function extractData(resp) {
- var req = resp.request;
- var data = {};
- var r = resp.httpResponse;
- var operation = req.service.api.operations[req.operation];
- var output = operation.output;
-
- // normalize headers names to lower-cased keys for matching
- var headers = {};
- util.each(r.headers, function (k, v) {
- headers[k.toLowerCase()] = v;
- });
-
- util.each(output.members, function(name, member) {
- var header = (member.name || name).toLowerCase();
- if (member.location === 'headers' && member.type === 'map') {
- data[name] = {};
- var location = member.isLocationName ? member.name : '';
- var pattern = new RegExp('^' + location + '(.+)', 'i');
- util.each(r.headers, function (k, v) {
- var result = k.match(pattern);
- if (result !== null) {
- data[name][result[1]] = v;
- }
- });
- } else if (member.location === 'header') {
- if (headers[header] !== undefined) {
- var value = member.isJsonValue ?
- util.base64.decode(headers[header]) :
- headers[header];
- data[name] = member.toType(value);
- }
- } else if (member.location === 'statusCode') {
- data[name] = parseInt(r.statusCode, 10);
- }
- });
-
- resp.data = data;
-}
-
-/**
- * @api private
- */
-module.exports = {
- buildRequest: buildRequest,
- extractError: extractError,
- extractData: extractData,
- generateURI: generateURI
-};
-
-
-/***/ }),
-
-/***/ 5883:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(77985);
-var Rest = __webpack_require__(98200);
-var Json = __webpack_require__(30083);
-var JsonBuilder = __webpack_require__(47495);
-var JsonParser = __webpack_require__(5474);
-
-var METHODS_WITHOUT_BODY = ['GET', 'HEAD', 'DELETE'];
-
-function unsetContentLength(req) {
- var payloadMember = util.getRequestPayloadShape(req);
- if (
- payloadMember === undefined &&
- METHODS_WITHOUT_BODY.indexOf(req.httpRequest.method) >= 0
- ) {
- delete req.httpRequest.headers['Content-Length'];
- }
-}
-
-function populateBody(req) {
- var builder = new JsonBuilder();
- var input = req.service.api.operations[req.operation].input;
-
- if (input.payload) {
- var params = {};
- var payloadShape = input.members[input.payload];
- params = req.params[input.payload];
-
- if (payloadShape.type === 'structure') {
- req.httpRequest.body = builder.build(params || {}, payloadShape);
- applyContentTypeHeader(req);
- } else if (params !== undefined) {
- // non-JSON payload
- req.httpRequest.body = params;
- if (payloadShape.type === 'binary' || payloadShape.isStreaming) {
- applyContentTypeHeader(req, true);
- }
- }
- } else {
- req.httpRequest.body = builder.build(req.params, input);
- applyContentTypeHeader(req);
- }
-}
-
-function applyContentTypeHeader(req, isBinary) {
- if (!req.httpRequest.headers['Content-Type']) {
- var type = isBinary ? 'binary/octet-stream' : 'application/json';
- req.httpRequest.headers['Content-Type'] = type;
- }
-}
-
-function buildRequest(req) {
- Rest.buildRequest(req);
-
- // never send body payload on GET/HEAD/DELETE
- if (METHODS_WITHOUT_BODY.indexOf(req.httpRequest.method) < 0) {
- populateBody(req);
- }
-}
-
-function extractError(resp) {
- Json.extractError(resp);
-}
-
-function extractData(resp) {
- Rest.extractData(resp);
-
- var req = resp.request;
- var operation = req.service.api.operations[req.operation];
- var rules = req.service.api.operations[req.operation].output || {};
- var parser;
- var hasEventOutput = operation.hasEventOutput;
-
- if (rules.payload) {
- var payloadMember = rules.members[rules.payload];
- var body = resp.httpResponse.body;
- if (payloadMember.isEventStream) {
- parser = new JsonParser();
- resp.data[payload] = util.createEventStream(
- AWS.HttpClient.streamsApiVersion === 2 ? resp.httpResponse.stream : body,
- parser,
- payloadMember
- );
- } else if (payloadMember.type === 'structure' || payloadMember.type === 'list') {
- var parser = new JsonParser();
- resp.data[rules.payload] = parser.parse(body, payloadMember);
- } else if (payloadMember.type === 'binary' || payloadMember.isStreaming) {
- resp.data[rules.payload] = body;
- } else {
- resp.data[rules.payload] = payloadMember.toType(body);
- }
- } else {
- var data = resp.data;
- Json.extractData(resp);
- resp.data = util.merge(data, resp.data);
- }
-}
-
-/**
- * @api private
- */
-module.exports = {
- buildRequest: buildRequest,
- extractError: extractError,
- extractData: extractData,
- unsetContentLength: unsetContentLength
-};
-
-
-/***/ }),
-
-/***/ 15143:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var util = __webpack_require__(77985);
-var Rest = __webpack_require__(98200);
-
-function populateBody(req) {
- var input = req.service.api.operations[req.operation].input;
- var builder = new AWS.XML.Builder();
- var params = req.params;
-
- var payload = input.payload;
- if (payload) {
- var payloadMember = input.members[payload];
- params = params[payload];
- if (params === undefined) return;
-
- if (payloadMember.type === 'structure') {
- var rootElement = payloadMember.name;
- req.httpRequest.body = builder.toXML(params, payloadMember, rootElement, true);
- } else { // non-xml payload
- req.httpRequest.body = params;
- }
- } else {
- req.httpRequest.body = builder.toXML(params, input, input.name ||
- input.shape || util.string.upperFirst(req.operation) + 'Request');
- }
-}
-
-function buildRequest(req) {
- Rest.buildRequest(req);
-
- // never send body payload on GET/HEAD
- if (['GET', 'HEAD'].indexOf(req.httpRequest.method) < 0) {
- populateBody(req);
- }
-}
-
-function extractError(resp) {
- Rest.extractError(resp);
-
- var data;
- try {
- data = new AWS.XML.Parser().parse(resp.httpResponse.body.toString());
- } catch (e) {
- data = {
- Code: resp.httpResponse.statusCode,
- Message: resp.httpResponse.statusMessage
- };
- }
-
- if (data.Errors) data = data.Errors;
- if (data.Error) data = data.Error;
- if (data.Code) {
- resp.error = util.error(new Error(), {
- code: data.Code,
- message: data.Message
- });
- } else {
- resp.error = util.error(new Error(), {
- code: resp.httpResponse.statusCode,
- message: null
- });
- }
-}
-
-function extractData(resp) {
- Rest.extractData(resp);
-
- var parser;
- var req = resp.request;
- var body = resp.httpResponse.body;
- var operation = req.service.api.operations[req.operation];
- var output = operation.output;
-
- var hasEventOutput = operation.hasEventOutput;
-
- var payload = output.payload;
- if (payload) {
- var payloadMember = output.members[payload];
- if (payloadMember.isEventStream) {
- parser = new AWS.XML.Parser();
- resp.data[payload] = util.createEventStream(
- AWS.HttpClient.streamsApiVersion === 2 ? resp.httpResponse.stream : resp.httpResponse.body,
- parser,
- payloadMember
- );
- } else if (payloadMember.type === 'structure') {
- parser = new AWS.XML.Parser();
- resp.data[payload] = parser.parse(body.toString(), payloadMember);
- } else if (payloadMember.type === 'binary' || payloadMember.isStreaming) {
- resp.data[payload] = body;
- } else {
- resp.data[payload] = payloadMember.toType(body);
- }
- } else if (body.length > 0) {
- parser = new AWS.XML.Parser();
- var data = parser.parse(body.toString(), output);
- util.update(resp.data, data);
- }
-}
-
-/**
- * @api private
- */
-module.exports = {
- buildRequest: buildRequest,
- extractError: extractError,
- extractData: extractData
-};
-
-
-/***/ }),
-
-/***/ 91822:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-
-/**
- * Resolve client-side monitoring configuration from either environmental variables
- * or shared config file. Configurations from environmental variables have higher priority
- * than those from shared config file. The resolver will try to read the shared config file
- * no matter whether the AWS_SDK_LOAD_CONFIG variable is set.
- * @api private
- */
-function resolveMonitoringConfig() {
- var config = {
- port: undefined,
- clientId: undefined,
- enabled: undefined,
- host: undefined
- };
- if (fromEnvironment(config) || fromConfigFile(config)) return toJSType(config);
- return toJSType(config);
-}
-
-/**
- * Resolve configurations from environmental variables.
- * @param {object} client side monitoring config object needs to be resolved
- * @returns {boolean} whether resolving configurations is done
- * @api private
- */
-function fromEnvironment(config) {
- config.port = config.port || process.env.AWS_CSM_PORT;
- config.enabled = config.enabled || process.env.AWS_CSM_ENABLED;
- config.clientId = config.clientId || process.env.AWS_CSM_CLIENT_ID;
- config.host = config.host || process.env.AWS_CSM_HOST;
- return config.port && config.enabled && config.clientId && config.host ||
- ['false', '0'].indexOf(config.enabled) >= 0; //no need to read shared config file if explicitely disabled
-}
-
-/**
- * Resolve cofigurations from shared config file with specified role name
- * @param {object} client side monitoring config object needs to be resolved
- * @returns {boolean} whether resolving configurations is done
- * @api private
- */
-function fromConfigFile(config) {
- var sharedFileConfig;
- try {
- var configFile = AWS.util.iniLoader.loadFrom({
- isConfig: true,
- filename: process.env[AWS.util.sharedConfigFileEnv]
- });
- var sharedFileConfig = configFile[
- process.env.AWS_PROFILE || AWS.util.defaultProfile
- ];
- } catch (err) {
- return false;
- }
- if (!sharedFileConfig) return config;
- config.port = config.port || sharedFileConfig.csm_port;
- config.enabled = config.enabled || sharedFileConfig.csm_enabled;
- config.clientId = config.clientId || sharedFileConfig.csm_client_id;
- config.host = config.host || sharedFileConfig.csm_host;
- return config.port && config.enabled && config.clientId && config.host;
-}
-
-/**
- * Transfer the resolved configuration value to proper types: port as number, enabled
- * as boolean and clientId as string. The 'enabled' flag is valued to false when set
- * to 'false' or '0'.
- * @param {object} resolved client side monitoring config
- * @api private
- */
-function toJSType(config) {
- //config.XXX is either undefined or string
- var falsyNotations = ['false', '0', undefined];
- if (!config.enabled || falsyNotations.indexOf(config.enabled.toLowerCase()) >= 0) {
- config.enabled = false;
- } else {
- config.enabled = true;
- }
- config.port = config.port ? parseInt(config.port, 10) : undefined;
- return config;
-}
-
-module.exports = resolveMonitoringConfig;
-
-
-/***/ }),
-
-/***/ 66807:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(28437).util;
-var dgram = __webpack_require__(76200);
-var stringToBuffer = util.buffer.toBuffer;
-
-var MAX_MESSAGE_SIZE = 1024 * 8; // 8 KB
-
-/**
- * Publishes metrics via udp.
- * @param {object} options Paramters for Publisher constructor
- * @param {number} [options.port = 31000] Port number
- * @param {string} [options.clientId = ''] Client Identifier
- * @param {boolean} [options.enabled = false] enable sending metrics datagram
- * @api private
- */
-function Publisher(options) {
- // handle configuration
- options = options || {};
- this.enabled = options.enabled || false;
- this.port = options.port || 31000;
- this.clientId = options.clientId || '';
- this.address = options.host || '127.0.0.1';
- if (this.clientId.length > 255) {
- // ClientId has a max length of 255
- this.clientId = this.clientId.substr(0, 255);
- }
- this.messagesInFlight = 0;
-}
-
-Publisher.prototype.fieldsToTrim = {
- UserAgent: 256,
- SdkException: 128,
- SdkExceptionMessage: 512,
- AwsException: 128,
- AwsExceptionMessage: 512,
- FinalSdkException: 128,
- FinalSdkExceptionMessage: 512,
- FinalAwsException: 128,
- FinalAwsExceptionMessage: 512
-
-};
-
-/**
- * Trims fields that have a specified max length.
- * @param {object} event ApiCall or ApiCallAttempt event.
- * @returns {object}
- * @api private
- */
-Publisher.prototype.trimFields = function(event) {
- var trimmableFields = Object.keys(this.fieldsToTrim);
- for (var i = 0, iLen = trimmableFields.length; i < iLen; i++) {
- var field = trimmableFields[i];
- if (event.hasOwnProperty(field)) {
- var maxLength = this.fieldsToTrim[field];
- var value = event[field];
- if (value && value.length > maxLength) {
- event[field] = value.substr(0, maxLength);
- }
- }
- }
- return event;
-};
-
-/**
- * Handles ApiCall and ApiCallAttempt events.
- * @param {Object} event apiCall or apiCallAttempt event.
- * @api private
- */
-Publisher.prototype.eventHandler = function(event) {
- // set the clientId
- event.ClientId = this.clientId;
-
- this.trimFields(event);
-
- var message = stringToBuffer(JSON.stringify(event));
- if (!this.enabled || message.length > MAX_MESSAGE_SIZE) {
- // drop the message if publisher not enabled or it is too large
- return;
- }
-
- this.publishDatagram(message);
-};
-
-/**
- * Publishes message to an agent.
- * @param {Buffer} message JSON message to send to agent.
- * @api private
- */
-Publisher.prototype.publishDatagram = function(message) {
- var self = this;
- var client = this.getClient();
-
- this.messagesInFlight++;
- this.client.send(message, 0, message.length, this.port, this.address, function(err, bytes) {
- if (--self.messagesInFlight <= 0) {
- // destroy existing client so the event loop isn't kept open
- self.destroyClient();
- }
- });
-};
-
-/**
- * Returns an existing udp socket, or creates one if it doesn't already exist.
- * @api private
- */
-Publisher.prototype.getClient = function() {
- if (!this.client) {
- this.client = dgram.createSocket('udp4');
- }
- return this.client;
-};
-
-/**
- * Destroys the udp socket.
- * @api private
- */
-Publisher.prototype.destroyClient = function() {
- if (this.client) {
- this.client.close();
- this.client = void 0;
- }
-};
-
-module.exports = {
- Publisher: Publisher
-};
-
-
-/***/ }),
-
-/***/ 45175:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(77985);
-
-function QueryParamSerializer() {
-}
-
-QueryParamSerializer.prototype.serialize = function(params, shape, fn) {
- serializeStructure('', params, shape, fn);
-};
-
-function ucfirst(shape) {
- if (shape.isQueryName || shape.api.protocol !== 'ec2') {
- return shape.name;
- } else {
- return shape.name[0].toUpperCase() + shape.name.substr(1);
- }
-}
-
-function serializeStructure(prefix, struct, rules, fn) {
- util.each(rules.members, function(name, member) {
- var value = struct[name];
- if (value === null || value === undefined) return;
-
- var memberName = ucfirst(member);
- memberName = prefix ? prefix + '.' + memberName : memberName;
- serializeMember(memberName, value, member, fn);
- });
-}
-
-function serializeMap(name, map, rules, fn) {
- var i = 1;
- util.each(map, function (key, value) {
- var prefix = rules.flattened ? '.' : '.entry.';
- var position = prefix + (i++) + '.';
- var keyName = position + (rules.key.name || 'key');
- var valueName = position + (rules.value.name || 'value');
- serializeMember(name + keyName, key, rules.key, fn);
- serializeMember(name + valueName, value, rules.value, fn);
- });
-}
-
-function serializeList(name, list, rules, fn) {
- var memberRules = rules.member || {};
-
- if (list.length === 0) {
- fn.call(this, name, null);
- return;
- }
-
- util.arrayEach(list, function (v, n) {
- var suffix = '.' + (n + 1);
- if (rules.api.protocol === 'ec2') {
- // Do nothing for EC2
- suffix = suffix + ''; // make linter happy
- } else if (rules.flattened) {
- if (memberRules.name) {
- var parts = name.split('.');
- parts.pop();
- parts.push(ucfirst(memberRules));
- name = parts.join('.');
- }
- } else {
- suffix = '.' + (memberRules.name ? memberRules.name : 'member') + suffix;
- }
- serializeMember(name + suffix, v, memberRules, fn);
- });
-}
-
-function serializeMember(name, value, rules, fn) {
- if (value === null || value === undefined) return;
- if (rules.type === 'structure') {
- serializeStructure(name, value, rules, fn);
- } else if (rules.type === 'list') {
- serializeList(name, value, rules, fn);
- } else if (rules.type === 'map') {
- serializeMap(name, value, rules, fn);
- } else {
- fn(name, rules.toWireFormat(value).toString());
- }
-}
-
-/**
- * @api private
- */
-module.exports = QueryParamSerializer;
-
-
-/***/ }),
-
-/***/ 16612:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-
-/**
- * @api private
- */
-var service = null;
-
-/**
- * @api private
- */
-var api = {
- signatureVersion: 'v4',
- signingName: 'rds-db',
- operations: {}
-};
-
-/**
- * @api private
- */
-var requiredAuthTokenOptions = {
- region: 'string',
- hostname: 'string',
- port: 'number',
- username: 'string'
-};
-
-/**
- * A signer object can be used to generate an auth token to a database.
- */
-AWS.RDS.Signer = AWS.util.inherit({
- /**
- * Creates a signer object can be used to generate an auth token.
- *
- * @option options credentials [AWS.Credentials] the AWS credentials
- * to sign requests with. Uses the default credential provider chain
- * if not specified.
- * @option options hostname [String] the hostname of the database to connect to.
- * @option options port [Number] the port number the database is listening on.
- * @option options region [String] the region the database is located in.
- * @option options username [String] the username to login as.
- * @example Passing in options to constructor
- * var signer = new AWS.RDS.Signer({
- * credentials: new AWS.SharedIniFileCredentials({profile: 'default'}),
- * region: 'us-east-1',
- * hostname: 'db.us-east-1.rds.amazonaws.com',
- * port: 8000,
- * username: 'name'
- * });
- */
- constructor: function Signer(options) {
- this.options = options || {};
- },
-
- /**
- * @api private
- * Strips the protocol from a url.
- */
- convertUrlToAuthToken: function convertUrlToAuthToken(url) {
- // we are always using https as the protocol
- var protocol = 'https://';
- if (url.indexOf(protocol) === 0) {
- return url.substring(protocol.length);
- }
- },
-
- /**
- * @overload getAuthToken(options = {}, [callback])
- * Generate an auth token to a database.
- * @note You must ensure that you have static or previously resolved
- * credentials if you call this method synchronously (with no callback),
- * otherwise it may not properly sign the request. If you cannot guarantee
- * this (you are using an asynchronous credential provider, i.e., EC2
- * IAM roles), you should always call this method with an asynchronous
- * callback.
- *
- * @param options [map] The fields to use when generating an auth token.
- * Any options specified here will be merged on top of any options passed
- * to AWS.RDS.Signer:
- *
- * * **credentials** (AWS.Credentials) — the AWS credentials
- * to sign requests with. Uses the default credential provider chain
- * if not specified.
- * * **hostname** (String) — the hostname of the database to connect to.
- * * **port** (Number) — the port number the database is listening on.
- * * **region** (String) — the region the database is located in.
- * * **username** (String) — the username to login as.
- * @return [String] if called synchronously (with no callback), returns the
- * auth token.
- * @return [null] nothing is returned if a callback is provided.
- * @callback callback function (err, token)
- * If a callback is supplied, it is called when an auth token has been generated.
- * @param err [Error] the error object returned from the signer.
- * @param token [String] the auth token.
- *
- * @example Generating an auth token synchronously
- * var signer = new AWS.RDS.Signer({
- * // configure options
- * region: 'us-east-1',
- * username: 'default',
- * hostname: 'db.us-east-1.amazonaws.com',
- * port: 8000
- * });
- * var token = signer.getAuthToken({
- * // these options are merged with those defined when creating the signer, overriding in the case of a duplicate option
- * // credentials are not specified here or when creating the signer, so default credential provider will be used
- * username: 'test' // overriding username
- * });
- * @example Generating an auth token asynchronously
- * var signer = new AWS.RDS.Signer({
- * // configure options
- * region: 'us-east-1',
- * username: 'default',
- * hostname: 'db.us-east-1.amazonaws.com',
- * port: 8000
- * });
- * signer.getAuthToken({
- * // these options are merged with those defined when creating the signer, overriding in the case of a duplicate option
- * // credentials are not specified here or when creating the signer, so default credential provider will be used
- * username: 'test' // overriding username
- * }, function(err, token) {
- * if (err) {
- * // handle error
- * } else {
- * // use token
- * }
- * });
- *
- */
- getAuthToken: function getAuthToken(options, callback) {
- if (typeof options === 'function' && callback === undefined) {
- callback = options;
- options = {};
- }
- var self = this;
- var hasCallback = typeof callback === 'function';
- // merge options with existing options
- options = AWS.util.merge(this.options, options);
- // validate options
- var optionsValidation = this.validateAuthTokenOptions(options);
- if (optionsValidation !== true) {
- if (hasCallback) {
- return callback(optionsValidation, null);
- }
- throw optionsValidation;
- }
-
- // 15 minutes
- var expires = 900;
- // create service to generate a request from
- var serviceOptions = {
- region: options.region,
- endpoint: new AWS.Endpoint(options.hostname + ':' + options.port),
- paramValidation: false,
- signatureVersion: 'v4'
- };
- if (options.credentials) {
- serviceOptions.credentials = options.credentials;
- }
- service = new AWS.Service(serviceOptions);
- // ensure the SDK is using sigv4 signing (config is not enough)
- service.api = api;
-
- var request = service.makeRequest();
- // add listeners to request to properly build auth token
- this.modifyRequestForAuthToken(request, options);
-
- if (hasCallback) {
- request.presign(expires, function(err, url) {
- if (url) {
- url = self.convertUrlToAuthToken(url);
- }
- callback(err, url);
- });
- } else {
- var url = request.presign(expires);
- return this.convertUrlToAuthToken(url);
- }
- },
-
- /**
- * @api private
- * Modifies a request to allow the presigner to generate an auth token.
- */
- modifyRequestForAuthToken: function modifyRequestForAuthToken(request, options) {
- request.on('build', request.buildAsGet);
- var httpRequest = request.httpRequest;
- httpRequest.body = AWS.util.queryParamsToString({
- Action: 'connect',
- DBUser: options.username
- });
- },
-
- /**
- * @api private
- * Validates that the options passed in contain all the keys with values of the correct type that
- * are needed to generate an auth token.
- */
- validateAuthTokenOptions: function validateAuthTokenOptions(options) {
- // iterate over all keys in options
- var message = '';
- options = options || {};
- for (var key in requiredAuthTokenOptions) {
- if (!Object.prototype.hasOwnProperty.call(requiredAuthTokenOptions, key)) {
- continue;
- }
- if (typeof options[key] !== requiredAuthTokenOptions[key]) {
- message += 'option \'' + key + '\' should have been type \'' + requiredAuthTokenOptions[key] + '\', was \'' + typeof options[key] + '\'.\n';
- }
- }
- if (message.length) {
- return AWS.util.error(new Error(), {
- code: 'InvalidParameter',
- message: message
- });
- }
- return true;
- }
-});
-
-
-/***/ }),
-
-/***/ 81370:
-/***/ ((module) => {
-
-module.exports = {
- //provide realtime clock for performance measurement
- now: function now() {
- var second = process.hrtime();
- return second[0] * 1000 + (second[1] / 1000000);
- }
-};
-
-
-/***/ }),
-
-/***/ 99517:
-/***/ ((module) => {
-
-function isFipsRegion(region) {
- return typeof region === 'string' && (region.startsWith('fips-') || region.endsWith('-fips'));
-}
-
-function isGlobalRegion(region) {
- return typeof region === 'string' && ['aws-global', 'aws-us-gov-global'].includes(region);
-}
-
-function getRealRegion(region) {
- return ['fips-aws-global', 'aws-fips', 'aws-global'].includes(region)
- ? 'us-east-1'
- : ['fips-aws-us-gov-global', 'aws-us-gov-global'].includes(region)
- ? 'us-gov-west-1'
- : region.replace(/fips-(dkr-|prod-)?|-fips/, '');
-}
-
-module.exports = {
- isFipsRegion: isFipsRegion,
- isGlobalRegion: isGlobalRegion,
- getRealRegion: getRealRegion
-};
-
-
-/***/ }),
-
-/***/ 18262:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var util = __webpack_require__(77985);
-var regionConfig = __webpack_require__(51765);
-
-function generateRegionPrefix(region) {
- if (!region) return null;
- var parts = region.split('-');
- if (parts.length < 3) return null;
- return parts.slice(0, parts.length - 2).join('-') + '-*';
-}
-
-function derivedKeys(service) {
- var region = service.config.region;
- var regionPrefix = generateRegionPrefix(region);
- var endpointPrefix = service.api.endpointPrefix;
-
- return [
- [region, endpointPrefix],
- [regionPrefix, endpointPrefix],
- [region, '*'],
- [regionPrefix, '*'],
- ['*', endpointPrefix],
- ['*', '*']
- ].map(function(item) {
- return item[0] && item[1] ? item.join('/') : null;
- });
-}
-
-function applyConfig(service, config) {
- util.each(config, function(key, value) {
- if (key === 'globalEndpoint') return;
- if (service.config[key] === undefined || service.config[key] === null) {
- service.config[key] = value;
- }
- });
-}
-
-function configureEndpoint(service) {
- var keys = derivedKeys(service);
- var useFipsEndpoint = service.config.useFipsEndpoint;
- var useDualstackEndpoint = service.config.useDualstackEndpoint;
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i];
- if (!key) continue;
-
- var rules = useFipsEndpoint
- ? useDualstackEndpoint
- ? regionConfig.dualstackFipsRules
- : regionConfig.fipsRules
- : useDualstackEndpoint
- ? regionConfig.dualstackRules
- : regionConfig.rules;
-
- if (Object.prototype.hasOwnProperty.call(rules, key)) {
- var config = rules[key];
- if (typeof config === 'string') {
- config = regionConfig.patterns[config];
- }
-
- // set global endpoint
- service.isGlobalEndpoint = !!config.globalEndpoint;
- if (config.signingRegion) {
- service.signingRegion = config.signingRegion;
- }
-
- // signature version
- if (!config.signatureVersion) {
- // Note: config is a global object and should not be mutated here.
- // However, we are retaining this line for backwards compatibility.
- // The non-v4 signatureVersion will be set in a copied object below.
- config.signatureVersion = 'v4';
- }
-
- var useBearer = (service.api && service.api.signatureVersion) === 'bearer';
-
- // merge config
- applyConfig(service, Object.assign(
- {},
- config,
- { signatureVersion: useBearer ? 'bearer' : config.signatureVersion }
- ));
- return;
- }
- }
-}
-
-function getEndpointSuffix(region) {
- var regionRegexes = {
- '^(us|eu|ap|sa|ca|me)\\-\\w+\\-\\d+$': 'amazonaws.com',
- '^cn\\-\\w+\\-\\d+$': 'amazonaws.com.cn',
- '^us\\-gov\\-\\w+\\-\\d+$': 'amazonaws.com',
- '^us\\-iso\\-\\w+\\-\\d+$': 'c2s.ic.gov',
- '^us\\-isob\\-\\w+\\-\\d+$': 'sc2s.sgov.gov'
- };
- var defaultSuffix = 'amazonaws.com';
- var regexes = Object.keys(regionRegexes);
- for (var i = 0; i < regexes.length; i++) {
- var regionPattern = RegExp(regexes[i]);
- var dnsSuffix = regionRegexes[regexes[i]];
- if (regionPattern.test(region)) return dnsSuffix;
- }
- return defaultSuffix;
-}
-
-/**
- * @api private
- */
-module.exports = {
- configureEndpoint: configureEndpoint,
- getEndpointSuffix: getEndpointSuffix,
-};
-
-
-/***/ }),
-
-/***/ 78652:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var AcceptorStateMachine = __webpack_require__(68118);
-var inherit = AWS.util.inherit;
-var domain = AWS.util.domain;
-var jmespath = __webpack_require__(87783);
-
-/**
- * @api private
- */
-var hardErrorStates = {success: 1, error: 1, complete: 1};
-
-function isTerminalState(machine) {
- return Object.prototype.hasOwnProperty.call(hardErrorStates, machine._asm.currentState);
-}
-
-var fsm = new AcceptorStateMachine();
-fsm.setupStates = function() {
- var transition = function(_, done) {
- var self = this;
- self._haltHandlersOnError = false;
-
- self.emit(self._asm.currentState, function(err) {
- if (err) {
- if (isTerminalState(self)) {
- if (domain && self.domain instanceof domain.Domain) {
- err.domainEmitter = self;
- err.domain = self.domain;
- err.domainThrown = false;
- self.domain.emit('error', err);
- } else {
- throw err;
- }
- } else {
- self.response.error = err;
- done(err);
- }
- } else {
- done(self.response.error);
- }
- });
-
- };
-
- this.addState('validate', 'build', 'error', transition);
- this.addState('build', 'afterBuild', 'restart', transition);
- this.addState('afterBuild', 'sign', 'restart', transition);
- this.addState('sign', 'send', 'retry', transition);
- this.addState('retry', 'afterRetry', 'afterRetry', transition);
- this.addState('afterRetry', 'sign', 'error', transition);
- this.addState('send', 'validateResponse', 'retry', transition);
- this.addState('validateResponse', 'extractData', 'extractError', transition);
- this.addState('extractError', 'extractData', 'retry', transition);
- this.addState('extractData', 'success', 'retry', transition);
- this.addState('restart', 'build', 'error', transition);
- this.addState('success', 'complete', 'complete', transition);
- this.addState('error', 'complete', 'complete', transition);
- this.addState('complete', null, null, transition);
-};
-fsm.setupStates();
-
-/**
- * ## Asynchronous Requests
- *
- * All requests made through the SDK are asynchronous and use a
- * callback interface. Each service method that kicks off a request
- * returns an `AWS.Request` object that you can use to register
- * callbacks.
- *
- * For example, the following service method returns the request
- * object as "request", which can be used to register callbacks:
- *
- * ```javascript
- * // request is an AWS.Request object
- * var request = ec2.describeInstances();
- *
- * // register callbacks on request to retrieve response data
- * request.on('success', function(response) {
- * console.log(response.data);
- * });
- * ```
- *
- * When a request is ready to be sent, the {send} method should
- * be called:
- *
- * ```javascript
- * request.send();
- * ```
- *
- * Since registered callbacks may or may not be idempotent, requests should only
- * be sent once. To perform the same operation multiple times, you will need to
- * create multiple request objects, each with its own registered callbacks.
- *
- * ## Removing Default Listeners for Events
- *
- * Request objects are built with default listeners for the various events,
- * depending on the service type. In some cases, you may want to remove
- * some built-in listeners to customize behaviour. Doing this requires
- * access to the built-in listener functions, which are exposed through
- * the {AWS.EventListeners.Core} namespace. For instance, you may
- * want to customize the HTTP handler used when sending a request. In this
- * case, you can remove the built-in listener associated with the 'send'
- * event, the {AWS.EventListeners.Core.SEND} listener and add your own.
- *
- * ## Multiple Callbacks and Chaining
- *
- * You can register multiple callbacks on any request object. The
- * callbacks can be registered for different events, or all for the
- * same event. In addition, you can chain callback registration, for
- * example:
- *
- * ```javascript
- * request.
- * on('success', function(response) {
- * console.log("Success!");
- * }).
- * on('error', function(error, response) {
- * console.log("Error!");
- * }).
- * on('complete', function(response) {
- * console.log("Always!");
- * }).
- * send();
- * ```
- *
- * The above example will print either "Success! Always!", or "Error! Always!",
- * depending on whether the request succeeded or not.
- *
- * @!attribute httpRequest
- * @readonly
- * @!group HTTP Properties
- * @return [AWS.HttpRequest] the raw HTTP request object
- * containing request headers and body information
- * sent by the service.
- *
- * @!attribute startTime
- * @readonly
- * @!group Operation Properties
- * @return [Date] the time that the request started
- *
- * @!group Request Building Events
- *
- * @!event validate(request)
- * Triggered when a request is being validated. Listeners
- * should throw an error if the request should not be sent.
- * @param request [Request] the request object being sent
- * @see AWS.EventListeners.Core.VALIDATE_CREDENTIALS
- * @see AWS.EventListeners.Core.VALIDATE_REGION
- * @example Ensuring that a certain parameter is set before sending a request
- * var req = s3.putObject(params);
- * req.on('validate', function() {
- * if (!req.params.Body.match(/^Hello\s/)) {
- * throw new Error('Body must start with "Hello "');
- * }
- * });
- * req.send(function(err, data) { ... });
- *
- * @!event build(request)
- * Triggered when the request payload is being built. Listeners
- * should fill the necessary information to send the request
- * over HTTP.
- * @param (see AWS.Request~validate)
- * @example Add a custom HTTP header to a request
- * var req = s3.putObject(params);
- * req.on('build', function() {
- * req.httpRequest.headers['Custom-Header'] = 'value';
- * });
- * req.send(function(err, data) { ... });
- *
- * @!event sign(request)
- * Triggered when the request is being signed. Listeners should
- * add the correct authentication headers and/or adjust the body,
- * depending on the authentication mechanism being used.
- * @param (see AWS.Request~validate)
- *
- * @!group Request Sending Events
- *
- * @!event send(response)
- * Triggered when the request is ready to be sent. Listeners
- * should call the underlying transport layer to initiate
- * the sending of the request.
- * @param response [Response] the response object
- * @context [Request] the request object that was sent
- * @see AWS.EventListeners.Core.SEND
- *
- * @!event retry(response)
- * Triggered when a request failed and might need to be retried or redirected.
- * If the response is retryable, the listener should set the
- * `response.error.retryable` property to `true`, and optionally set
- * `response.error.retryDelay` to the millisecond delay for the next attempt.
- * In the case of a redirect, `response.error.redirect` should be set to
- * `true` with `retryDelay` set to an optional delay on the next request.
- *
- * If a listener decides that a request should not be retried,
- * it should set both `retryable` and `redirect` to false.
- *
- * Note that a retryable error will be retried at most
- * {AWS.Config.maxRetries} times (based on the service object's config).
- * Similarly, a request that is redirected will only redirect at most
- * {AWS.Config.maxRedirects} times.
- *
- * @param (see AWS.Request~send)
- * @context (see AWS.Request~send)
- * @example Adding a custom retry for a 404 response
- * request.on('retry', function(response) {
- * // this resource is not yet available, wait 10 seconds to get it again
- * if (response.httpResponse.statusCode === 404 && response.error) {
- * response.error.retryable = true; // retry this error
- * response.error.retryDelay = 10000; // wait 10 seconds
- * }
- * });
- *
- * @!group Data Parsing Events
- *
- * @!event extractError(response)
- * Triggered on all non-2xx requests so that listeners can extract
- * error details from the response body. Listeners to this event
- * should set the `response.error` property.
- * @param (see AWS.Request~send)
- * @context (see AWS.Request~send)
- *
- * @!event extractData(response)
- * Triggered in successful requests to allow listeners to
- * de-serialize the response body into `response.data`.
- * @param (see AWS.Request~send)
- * @context (see AWS.Request~send)
- *
- * @!group Completion Events
- *
- * @!event success(response)
- * Triggered when the request completed successfully.
- * `response.data` will contain the response data and
- * `response.error` will be null.
- * @param (see AWS.Request~send)
- * @context (see AWS.Request~send)
- *
- * @!event error(error, response)
- * Triggered when an error occurs at any point during the
- * request. `response.error` will contain details about the error
- * that occurred. `response.data` will be null.
- * @param error [Error] the error object containing details about
- * the error that occurred.
- * @param (see AWS.Request~send)
- * @context (see AWS.Request~send)
- *
- * @!event complete(response)
- * Triggered whenever a request cycle completes. `response.error`
- * should be checked, since the request may have failed.
- * @param (see AWS.Request~send)
- * @context (see AWS.Request~send)
- *
- * @!group HTTP Events
- *
- * @!event httpHeaders(statusCode, headers, response, statusMessage)
- * Triggered when headers are sent by the remote server
- * @param statusCode [Integer] the HTTP response code
- * @param headers [map] the response headers
- * @param (see AWS.Request~send)
- * @param statusMessage [String] A status message corresponding to the HTTP
- * response code
- * @context (see AWS.Request~send)
- *
- * @!event httpData(chunk, response)
- * Triggered when data is sent by the remote server
- * @param chunk [Buffer] the buffer data containing the next data chunk
- * from the server
- * @param (see AWS.Request~send)
- * @context (see AWS.Request~send)
- * @see AWS.EventListeners.Core.HTTP_DATA
- *
- * @!event httpUploadProgress(progress, response)
- * Triggered when the HTTP request has uploaded more data
- * @param progress [map] An object containing the `loaded` and `total` bytes
- * of the request.
- * @param (see AWS.Request~send)
- * @context (see AWS.Request~send)
- * @note This event will not be emitted in Node.js 0.8.x.
- *
- * @!event httpDownloadProgress(progress, response)
- * Triggered when the HTTP request has downloaded more data
- * @param progress [map] An object containing the `loaded` and `total` bytes
- * of the request.
- * @param (see AWS.Request~send)
- * @context (see AWS.Request~send)
- * @note This event will not be emitted in Node.js 0.8.x.
- *
- * @!event httpError(error, response)
- * Triggered when the HTTP request failed
- * @param error [Error] the error object that was thrown
- * @param (see AWS.Request~send)
- * @context (see AWS.Request~send)
- *
- * @!event httpDone(response)
- * Triggered when the server is finished sending data
- * @param (see AWS.Request~send)
- * @context (see AWS.Request~send)
- *
- * @see AWS.Response
- */
-AWS.Request = inherit({
-
- /**
- * Creates a request for an operation on a given service with
- * a set of input parameters.
- *
- * @param service [AWS.Service] the service to perform the operation on
- * @param operation [String] the operation to perform on the service
- * @param params [Object] parameters to send to the operation.
- * See the operation's documentation for the format of the
- * parameters.
- */
- constructor: function Request(service, operation, params) {
- var endpoint = service.endpoint;
- var region = service.config.region;
- var customUserAgent = service.config.customUserAgent;
-
- if (service.signingRegion) {
- region = service.signingRegion;
- } else if (service.isGlobalEndpoint) {
- region = 'us-east-1';
- }
-
- this.domain = domain && domain.active;
- this.service = service;
- this.operation = operation;
- this.params = params || {};
- this.httpRequest = new AWS.HttpRequest(endpoint, region);
- this.httpRequest.appendToUserAgent(customUserAgent);
- this.startTime = service.getSkewCorrectedDate();
-
- this.response = new AWS.Response(this);
- this._asm = new AcceptorStateMachine(fsm.states, 'validate');
- this._haltHandlersOnError = false;
-
- AWS.SequentialExecutor.call(this);
- this.emit = this.emitEvent;
- },
-
- /**
- * @!group Sending a Request
- */
-
- /**
- * @overload send(callback = null)
- * Sends the request object.
- *
- * @callback callback function(err, data)
- * If a callback is supplied, it is called when a response is returned
- * from the service.
- * @context [AWS.Request] the request object being sent.
- * @param err [Error] the error object returned from the request.
- * Set to `null` if the request is successful.
- * @param data [Object] the de-serialized data returned from
- * the request. Set to `null` if a request error occurs.
- * @example Sending a request with a callback
- * request = s3.putObject({Bucket: 'bucket', Key: 'key'});
- * request.send(function(err, data) { console.log(err, data); });
- * @example Sending a request with no callback (using event handlers)
- * request = s3.putObject({Bucket: 'bucket', Key: 'key'});
- * request.on('complete', function(response) { ... }); // register a callback
- * request.send();
- */
- send: function send(callback) {
- if (callback) {
- // append to user agent
- this.httpRequest.appendToUserAgent('callback');
- this.on('complete', function (resp) {
- callback.call(resp, resp.error, resp.data);
- });
- }
- this.runTo();
-
- return this.response;
- },
-
- /**
- * @!method promise()
- * Sends the request and returns a 'thenable' promise.
- *
- * Two callbacks can be provided to the `then` method on the returned promise.
- * The first callback will be called if the promise is fulfilled, and the second
- * callback will be called if the promise is rejected.
- * @callback fulfilledCallback function(data)
- * Called if the promise is fulfilled.
- * @param data [Object] the de-serialized data returned from the request.
- * @callback rejectedCallback function(error)
- * Called if the promise is rejected.
- * @param error [Error] the error object returned from the request.
- * @return [Promise] A promise that represents the state of the request.
- * @example Sending a request using promises.
- * var request = s3.putObject({Bucket: 'bucket', Key: 'key'});
- * var result = request.promise();
- * result.then(function(data) { ... }, function(error) { ... });
- */
-
- /**
- * @api private
- */
- build: function build(callback) {
- return this.runTo('send', callback);
- },
-
- /**
- * @api private
- */
- runTo: function runTo(state, done) {
- this._asm.runTo(state, done, this);
- return this;
- },
-
- /**
- * Aborts a request, emitting the error and complete events.
- *
- * @!macro nobrowser
- * @example Aborting a request after sending
- * var params = {
- * Bucket: 'bucket', Key: 'key',
- * Body: Buffer.alloc(1024 * 1024 * 5) // 5MB payload
- * };
- * var request = s3.putObject(params);
- * request.send(function (err, data) {
- * if (err) console.log("Error:", err.code, err.message);
- * else console.log(data);
- * });
- *
- * // abort request in 1 second
- * setTimeout(request.abort.bind(request), 1000);
- *
- * // prints "Error: RequestAbortedError Request aborted by user"
- * @return [AWS.Request] the same request object, for chaining.
- * @since v1.4.0
- */
- abort: function abort() {
- this.removeAllListeners('validateResponse');
- this.removeAllListeners('extractError');
- this.on('validateResponse', function addAbortedError(resp) {
- resp.error = AWS.util.error(new Error('Request aborted by user'), {
- code: 'RequestAbortedError', retryable: false
- });
- });
-
- if (this.httpRequest.stream && !this.httpRequest.stream.didCallback) { // abort HTTP stream
- this.httpRequest.stream.abort();
- if (this.httpRequest._abortCallback) {
- this.httpRequest._abortCallback();
- } else {
- this.removeAllListeners('send'); // haven't sent yet, so let's not
- }
- }
-
- return this;
- },
-
- /**
- * Iterates over each page of results given a pageable request, calling
- * the provided callback with each page of data. After all pages have been
- * retrieved, the callback is called with `null` data.
- *
- * @note This operation can generate multiple requests to a service.
- * @example Iterating over multiple pages of objects in an S3 bucket
- * var pages = 1;
- * s3.listObjects().eachPage(function(err, data) {
- * if (err) return;
- * console.log("Page", pages++);
- * console.log(data);
- * });
- * @example Iterating over multiple pages with an asynchronous callback
- * s3.listObjects(params).eachPage(function(err, data, done) {
- * doSomethingAsyncAndOrExpensive(function() {
- * // The next page of results isn't fetched until done is called
- * done();
- * });
- * });
- * @callback callback function(err, data, [doneCallback])
- * Called with each page of resulting data from the request. If the
- * optional `doneCallback` is provided in the function, it must be called
- * when the callback is complete.
- *
- * @param err [Error] an error object, if an error occurred.
- * @param data [Object] a single page of response data. If there is no
- * more data, this object will be `null`.
- * @param doneCallback [Function] an optional done callback. If this
- * argument is defined in the function declaration, it should be called
- * when the next page is ready to be retrieved. This is useful for
- * controlling serial pagination across asynchronous operations.
- * @return [Boolean] if the callback returns `false`, pagination will
- * stop.
- *
- * @see AWS.Request.eachItem
- * @see AWS.Response.nextPage
- * @since v1.4.0
- */
- eachPage: function eachPage(callback) {
- // Make all callbacks async-ish
- callback = AWS.util.fn.makeAsync(callback, 3);
-
- function wrappedCallback(response) {
- callback.call(response, response.error, response.data, function (result) {
- if (result === false) return;
-
- if (response.hasNextPage()) {
- response.nextPage().on('complete', wrappedCallback).send();
- } else {
- callback.call(response, null, null, AWS.util.fn.noop);
- }
- });
- }
-
- this.on('complete', wrappedCallback).send();
- },
-
- /**
- * Enumerates over individual items of a request, paging the responses if
- * necessary.
- *
- * @api experimental
- * @since v1.4.0
- */
- eachItem: function eachItem(callback) {
- var self = this;
- function wrappedCallback(err, data) {
- if (err) return callback(err, null);
- if (data === null) return callback(null, null);
-
- var config = self.service.paginationConfig(self.operation);
- var resultKey = config.resultKey;
- if (Array.isArray(resultKey)) resultKey = resultKey[0];
- var items = jmespath.search(data, resultKey);
- var continueIteration = true;
- AWS.util.arrayEach(items, function(item) {
- continueIteration = callback(null, item);
- if (continueIteration === false) {
- return AWS.util.abort;
- }
- });
- return continueIteration;
- }
-
- this.eachPage(wrappedCallback);
- },
-
- /**
- * @return [Boolean] whether the operation can return multiple pages of
- * response data.
- * @see AWS.Response.eachPage
- * @since v1.4.0
- */
- isPageable: function isPageable() {
- return this.service.paginationConfig(this.operation) ? true : false;
- },
-
- /**
- * Sends the request and converts the request object into a readable stream
- * that can be read from or piped into a writable stream.
- *
- * @note The data read from a readable stream contains only
- * the raw HTTP body contents.
- * @example Manually reading from a stream
- * request.createReadStream().on('data', function(data) {
- * console.log("Got data:", data.toString());
- * });
- * @example Piping a request body into a file
- * var out = fs.createWriteStream('/path/to/outfile.jpg');
- * s3.service.getObject(params).createReadStream().pipe(out);
- * @return [Stream] the readable stream object that can be piped
- * or read from (by registering 'data' event listeners).
- * @!macro nobrowser
- */
- createReadStream: function createReadStream() {
- var streams = AWS.util.stream;
- var req = this;
- var stream = null;
-
- if (AWS.HttpClient.streamsApiVersion === 2) {
- stream = new streams.PassThrough();
- process.nextTick(function() { req.send(); });
- } else {
- stream = new streams.Stream();
- stream.readable = true;
-
- stream.sent = false;
- stream.on('newListener', function(event) {
- if (!stream.sent && event === 'data') {
- stream.sent = true;
- process.nextTick(function() { req.send(); });
- }
- });
- }
-
- this.on('error', function(err) {
- stream.emit('error', err);
- });
-
- this.on('httpHeaders', function streamHeaders(statusCode, headers, resp) {
- if (statusCode < 300) {
- req.removeListener('httpData', AWS.EventListeners.Core.HTTP_DATA);
- req.removeListener('httpError', AWS.EventListeners.Core.HTTP_ERROR);
- req.on('httpError', function streamHttpError(error) {
- resp.error = error;
- resp.error.retryable = false;
- });
-
- var shouldCheckContentLength = false;
- var expectedLen;
- if (req.httpRequest.method !== 'HEAD') {
- expectedLen = parseInt(headers['content-length'], 10);
- }
- if (expectedLen !== undefined && !isNaN(expectedLen) && expectedLen >= 0) {
- shouldCheckContentLength = true;
- var receivedLen = 0;
- }
-
- var checkContentLengthAndEmit = function checkContentLengthAndEmit() {
- if (shouldCheckContentLength && receivedLen !== expectedLen) {
- stream.emit('error', AWS.util.error(
- new Error('Stream content length mismatch. Received ' +
- receivedLen + ' of ' + expectedLen + ' bytes.'),
- { code: 'StreamContentLengthMismatch' }
- ));
- } else if (AWS.HttpClient.streamsApiVersion === 2) {
- stream.end();
- } else {
- stream.emit('end');
- }
- };
-
- var httpStream = resp.httpResponse.createUnbufferedStream();
-
- if (AWS.HttpClient.streamsApiVersion === 2) {
- if (shouldCheckContentLength) {
- var lengthAccumulator = new streams.PassThrough();
- lengthAccumulator._write = function(chunk) {
- if (chunk && chunk.length) {
- receivedLen += chunk.length;
- }
- return streams.PassThrough.prototype._write.apply(this, arguments);
- };
-
- lengthAccumulator.on('end', checkContentLengthAndEmit);
- stream.on('error', function(err) {
- shouldCheckContentLength = false;
- httpStream.unpipe(lengthAccumulator);
- lengthAccumulator.emit('end');
- lengthAccumulator.end();
- });
- httpStream.pipe(lengthAccumulator).pipe(stream, { end: false });
- } else {
- httpStream.pipe(stream);
- }
- } else {
-
- if (shouldCheckContentLength) {
- httpStream.on('data', function(arg) {
- if (arg && arg.length) {
- receivedLen += arg.length;
- }
- });
- }
-
- httpStream.on('data', function(arg) {
- stream.emit('data', arg);
- });
- httpStream.on('end', checkContentLengthAndEmit);
- }
-
- httpStream.on('error', function(err) {
- shouldCheckContentLength = false;
- stream.emit('error', err);
- });
- }
- });
-
- return stream;
- },
-
- /**
- * @param [Array,Response] args This should be the response object,
- * or an array of args to send to the event.
- * @api private
- */
- emitEvent: function emit(eventName, args, done) {
- if (typeof args === 'function') { done = args; args = null; }
- if (!done) done = function() { };
- if (!args) args = this.eventParameters(eventName, this.response);
-
- var origEmit = AWS.SequentialExecutor.prototype.emit;
- origEmit.call(this, eventName, args, function (err) {
- if (err) this.response.error = err;
- done.call(this, err);
- });
- },
-
- /**
- * @api private
- */
- eventParameters: function eventParameters(eventName) {
- switch (eventName) {
- case 'restart':
- case 'validate':
- case 'sign':
- case 'build':
- case 'afterValidate':
- case 'afterBuild':
- return [this];
- case 'error':
- return [this.response.error, this.response];
- default:
- return [this.response];
- }
- },
-
- /**
- * @api private
- */
- presign: function presign(expires, callback) {
- if (!callback && typeof expires === 'function') {
- callback = expires;
- expires = null;
- }
- return new AWS.Signers.Presign().sign(this.toGet(), expires, callback);
- },
-
- /**
- * @api private
- */
- isPresigned: function isPresigned() {
- return Object.prototype.hasOwnProperty.call(this.httpRequest.headers, 'presigned-expires');
- },
-
- /**
- * @api private
- */
- toUnauthenticated: function toUnauthenticated() {
- this._unAuthenticated = true;
- this.removeListener('validate', AWS.EventListeners.Core.VALIDATE_CREDENTIALS);
- this.removeListener('sign', AWS.EventListeners.Core.SIGN);
- return this;
- },
-
- /**
- * @api private
- */
- toGet: function toGet() {
- if (this.service.api.protocol === 'query' ||
- this.service.api.protocol === 'ec2') {
- this.removeListener('build', this.buildAsGet);
- this.addListener('build', this.buildAsGet);
- }
- return this;
- },
-
- /**
- * @api private
- */
- buildAsGet: function buildAsGet(request) {
- request.httpRequest.method = 'GET';
- request.httpRequest.path = request.service.endpoint.path +
- '?' + request.httpRequest.body;
- request.httpRequest.body = '';
-
- // don't need these headers on a GET request
- delete request.httpRequest.headers['Content-Length'];
- delete request.httpRequest.headers['Content-Type'];
- },
-
- /**
- * @api private
- */
- haltHandlersOnError: function haltHandlersOnError() {
- this._haltHandlersOnError = true;
- }
-});
-
-/**
- * @api private
- */
-AWS.Request.addPromisesToClass = function addPromisesToClass(PromiseDependency) {
- this.prototype.promise = function promise() {
- var self = this;
- // append to user agent
- this.httpRequest.appendToUserAgent('promise');
- return new PromiseDependency(function(resolve, reject) {
- self.on('complete', function(resp) {
- if (resp.error) {
- reject(resp.error);
- } else {
- // define $response property so that it is not enumerable
- // this prevents circular reference errors when stringifying the JSON object
- resolve(Object.defineProperty(
- resp.data || {},
- '$response',
- {value: resp}
- ));
- }
- });
- self.runTo();
- });
- };
-};
-
-/**
- * @api private
- */
-AWS.Request.deletePromisesFromClass = function deletePromisesFromClass() {
- delete this.prototype.promise;
-};
-
-AWS.util.addPromises(AWS.Request);
-
-AWS.util.mixin(AWS.Request, AWS.SequentialExecutor);
-
-
-/***/ }),
-
-/***/ 39925:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-/**
- * Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"). You
- * may not use this file except in compliance with the License. A copy of
- * the License is located at
- *
- * http://aws.amazon.com/apache2.0/
- *
- * or in the "license" file accompanying this file. This file is
- * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
- * ANY KIND, either express or implied. See the License for the specific
- * language governing permissions and limitations under the License.
- */
-
-var AWS = __webpack_require__(28437);
-var inherit = AWS.util.inherit;
-var jmespath = __webpack_require__(87783);
-
-/**
- * @api private
- */
-function CHECK_ACCEPTORS(resp) {
- var waiter = resp.request._waiter;
- var acceptors = waiter.config.acceptors;
- var acceptorMatched = false;
- var state = 'retry';
-
- acceptors.forEach(function(acceptor) {
- if (!acceptorMatched) {
- var matcher = waiter.matchers[acceptor.matcher];
- if (matcher && matcher(resp, acceptor.expected, acceptor.argument)) {
- acceptorMatched = true;
- state = acceptor.state;
- }
- }
- });
-
- if (!acceptorMatched && resp.error) state = 'failure';
-
- if (state === 'success') {
- waiter.setSuccess(resp);
- } else {
- waiter.setError(resp, state === 'retry');
- }
-}
-
-/**
- * @api private
- */
-AWS.ResourceWaiter = inherit({
- /**
- * Waits for a given state on a service object
- * @param service [Service] the service object to wait on
- * @param state [String] the state (defined in waiter configuration) to wait
- * for.
- * @example Create a waiter for running EC2 instances
- * var ec2 = new AWS.EC2;
- * var waiter = new AWS.ResourceWaiter(ec2, 'instanceRunning');
- */
- constructor: function constructor(service, state) {
- this.service = service;
- this.state = state;
- this.loadWaiterConfig(this.state);
- },
-
- service: null,
-
- state: null,
-
- config: null,
-
- matchers: {
- path: function(resp, expected, argument) {
- try {
- var result = jmespath.search(resp.data, argument);
- } catch (err) {
- return false;
- }
-
- return jmespath.strictDeepEqual(result,expected);
- },
-
- pathAll: function(resp, expected, argument) {
- try {
- var results = jmespath.search(resp.data, argument);
- } catch (err) {
- return false;
- }
-
- if (!Array.isArray(results)) results = [results];
- var numResults = results.length;
- if (!numResults) return false;
- for (var ind = 0 ; ind < numResults; ind++) {
- if (!jmespath.strictDeepEqual(results[ind], expected)) {
- return false;
- }
- }
- return true;
- },
-
- pathAny: function(resp, expected, argument) {
- try {
- var results = jmespath.search(resp.data, argument);
- } catch (err) {
- return false;
- }
-
- if (!Array.isArray(results)) results = [results];
- var numResults = results.length;
- for (var ind = 0 ; ind < numResults; ind++) {
- if (jmespath.strictDeepEqual(results[ind], expected)) {
- return true;
- }
- }
- return false;
- },
-
- status: function(resp, expected) {
- var statusCode = resp.httpResponse.statusCode;
- return (typeof statusCode === 'number') && (statusCode === expected);
- },
-
- error: function(resp, expected) {
- if (typeof expected === 'string' && resp.error) {
- return expected === resp.error.code;
- }
- // if expected is not string, can be boolean indicating presence of error
- return expected === !!resp.error;
- }
- },
-
- listeners: new AWS.SequentialExecutor().addNamedListeners(function(add) {
- add('RETRY_CHECK', 'retry', function(resp) {
- var waiter = resp.request._waiter;
- if (resp.error && resp.error.code === 'ResourceNotReady') {
- resp.error.retryDelay = (waiter.config.delay || 0) * 1000;
- }
- });
-
- add('CHECK_OUTPUT', 'extractData', CHECK_ACCEPTORS);
-
- add('CHECK_ERROR', 'extractError', CHECK_ACCEPTORS);
- }),
-
- /**
- * @return [AWS.Request]
- */
- wait: function wait(params, callback) {
- if (typeof params === 'function') {
- callback = params; params = undefined;
- }
-
- if (params && params.$waiter) {
- params = AWS.util.copy(params);
- if (typeof params.$waiter.delay === 'number') {
- this.config.delay = params.$waiter.delay;
- }
- if (typeof params.$waiter.maxAttempts === 'number') {
- this.config.maxAttempts = params.$waiter.maxAttempts;
- }
- delete params.$waiter;
- }
-
- var request = this.service.makeRequest(this.config.operation, params);
- request._waiter = this;
- request.response.maxRetries = this.config.maxAttempts;
- request.addListeners(this.listeners);
-
- if (callback) request.send(callback);
- return request;
- },
-
- setSuccess: function setSuccess(resp) {
- resp.error = null;
- resp.data = resp.data || {};
- resp.request.removeAllListeners('extractData');
- },
-
- setError: function setError(resp, retryable) {
- resp.data = null;
- resp.error = AWS.util.error(resp.error || new Error(), {
- code: 'ResourceNotReady',
- message: 'Resource is not in the state ' + this.state,
- retryable: retryable
- });
- },
-
- /**
- * Loads waiter configuration from API configuration
- *
- * @api private
- */
- loadWaiterConfig: function loadWaiterConfig(state) {
- if (!this.service.api.waiters[state]) {
- throw new AWS.util.error(new Error(), {
- code: 'StateNotFoundError',
- message: 'State ' + state + ' not found.'
- });
- }
-
- this.config = AWS.util.copy(this.service.api.waiters[state]);
- }
-});
-
-
-/***/ }),
-
-/***/ 58743:
-/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var inherit = AWS.util.inherit;
-var jmespath = __webpack_require__(87783);
-
-/**
- * This class encapsulates the response information
- * from a service request operation sent through {AWS.Request}.
- * The response object has two main properties for getting information
- * back from a request:
- *
- * ## The `data` property
- *
- * The `response.data` property contains the serialized object data
- * retrieved from the service request. For instance, for an
- * Amazon DynamoDB `listTables` method call, the response data might
- * look like:
- *
- * ```
- * > resp.data
- * { TableNames:
- * [ 'table1', 'table2', ... ] }
- * ```
- *
- * The `data` property can be null if an error occurs (see below).
- *
- * ## The `error` property
- *
- * In the event of a service error (or transfer error), the
- * `response.error` property will be filled with the given
- * error data in the form:
- *
- * ```
- * { code: 'SHORT_UNIQUE_ERROR_CODE',
- * message: 'Some human readable error message' }
- * ```
- *
- * In the case of an error, the `data` property will be `null`.
- * Note that if you handle events that can be in a failure state,
- * you should always check whether `response.error` is set
- * before attempting to access the `response.data` property.
- *
- * @!attribute data
- * @readonly
- * @!group Data Properties
- * @note Inside of a {AWS.Request~httpData} event, this
- * property contains a single raw packet instead of the
- * full de-serialized service response.
- * @return [Object] the de-serialized response data
- * from the service.
- *
- * @!attribute error
- * An structure containing information about a service
- * or networking error.
- * @readonly
- * @!group Data Properties
- * @note This attribute is only filled if a service or
- * networking error occurs.
- * @return [Error]
- * * code [String] a unique short code representing the
- * error that was emitted.
- * * message [String] a longer human readable error message
- * * retryable [Boolean] whether the error message is
- * retryable.
- * * statusCode [Numeric] in the case of a request that reached the service,
- * this value contains the response status code.
- * * time [Date] the date time object when the error occurred.
- * * hostname [String] set when a networking error occurs to easily
- * identify the endpoint of the request.
- * * region [String] set when a networking error occurs to easily
- * identify the region of the request.
- *
- * @!attribute requestId
- * @readonly
- * @!group Data Properties
- * @return [String] the unique request ID associated with the response.
- * Log this value when debugging requests for AWS support.
- *
- * @!attribute retryCount
- * @readonly
- * @!group Operation Properties
- * @return [Integer] the number of retries that were
- * attempted before the request was completed.
- *
- * @!attribute redirectCount
- * @readonly
- * @!group Operation Properties
- * @return [Integer] the number of redirects that were
- * followed before the request was completed.
- *
- * @!attribute httpResponse
- * @readonly
- * @!group HTTP Properties
- * @return [AWS.HttpResponse] the raw HTTP response object
- * containing the response headers and body information
- * from the server.
- *
- * @see AWS.Request
- */
-AWS.Response = inherit({
-
- /**
- * @api private
- */
- constructor: function Response(request) {
- this.request = request;
- this.data = null;
- this.error = null;
- this.retryCount = 0;
- this.redirectCount = 0;
- this.httpResponse = new AWS.HttpResponse();
- if (request) {
- this.maxRetries = request.service.numRetries();
- this.maxRedirects = request.service.config.maxRedirects;
- }
- },
-
- /**
- * Creates a new request for the next page of response data, calling the
- * callback with the page data if a callback is provided.
- *
- * @callback callback function(err, data)
- * Called when a page of data is returned from the next request.
- *
- * @param err [Error] an error object, if an error occurred in the request
- * @param data [Object] the next page of data, or null, if there are no
- * more pages left.
- * @return [AWS.Request] the request object for the next page of data
- * @return [null] if no callback is provided and there are no pages left
- * to retrieve.
- * @since v1.4.0
- */
- nextPage: function nextPage(callback) {
- var config;
- var service = this.request.service;
- var operation = this.request.operation;
- try {
- config = service.paginationConfig(operation, true);
- } catch (e) { this.error = e; }
-
- if (!this.hasNextPage()) {
- if (callback) callback(this.error, null);
- else if (this.error) throw this.error;
- return null;
- }
-
- var params = AWS.util.copy(this.request.params);
- if (!this.nextPageTokens) {
- return callback ? callback(null, null) : null;
- } else {
- var inputTokens = config.inputToken;
- if (typeof inputTokens === 'string') inputTokens = [inputTokens];
- for (var i = 0; i < inputTokens.length; i++) {
- params[inputTokens[i]] = this.nextPageTokens[i];
- }
- return service.makeRequest(this.request.operation, params, callback);
- }
- },
-
- /**
- * @return [Boolean] whether more pages of data can be returned by further
- * requests
- * @since v1.4.0
- */
- hasNextPage: function hasNextPage() {
- this.cacheNextPageTokens();
- if (this.nextPageTokens) return true;
- if (this.nextPageTokens === undefined) return undefined;
- else return false;
- },
-
- /**
- * @api private
- */
- cacheNextPageTokens: function cacheNextPageTokens() {
- if (Object.prototype.hasOwnProperty.call(this, 'nextPageTokens')) return this.nextPageTokens;
- this.nextPageTokens = undefined;
-
- var config = this.request.service.paginationConfig(this.request.operation);
- if (!config) return this.nextPageTokens;
-
- this.nextPageTokens = null;
- if (config.moreResults) {
- if (!jmespath.search(this.data, config.moreResults)) {
- return this.nextPageTokens;
- }
- }
-
- var exprs = config.outputToken;
- if (typeof exprs === 'string') exprs = [exprs];
- AWS.util.arrayEach.call(this, exprs, function (expr) {
- var output = jmespath.search(this.data, expr);
- if (output) {
- this.nextPageTokens = this.nextPageTokens || [];
- this.nextPageTokens.push(output);
- }
- });
-
- return this.nextPageTokens;
- }
-
-});
-
-
-/***/ }),
-
-/***/ 81600:
-/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
-
-var AWS = __webpack_require__(28437);
-var byteLength = AWS.util.string.byteLength;
-var Buffer = AWS.util.Buffer;
-
-/**
- * The managed uploader allows for easy and efficient uploading of buffers,
- * blobs, or streams, using a configurable amount of concurrency to perform
- * multipart uploads where possible. This abstraction also enables uploading
- * streams of unknown size due to the use of multipart uploads.
- *
- * To construct a managed upload object, see the {constructor} function.
- *
- * ## Tracking upload progress
- *
- * The managed upload object can also track progress by attaching an
- * 'httpUploadProgress' listener to the upload manager. This event is similar
- * to {AWS.Request~httpUploadProgress} but groups all concurrent upload progress
- * into a single event. See {AWS.S3.ManagedUpload~httpUploadProgress} for more
- * information.
- *
- * ## Handling Multipart Cleanup
- *
- * By default, this class will automatically clean up any multipart uploads
- * when an individual part upload fails. This behavior can be disabled in order
- * to manually handle failures by setting the `leavePartsOnError` configuration
- * option to `true` when initializing the upload object.
- *
- * @!event httpUploadProgress(progress)
- * Triggered when the uploader has uploaded more data.
- * @note The `total` property may not be set if the stream being uploaded has
- * not yet finished chunking. In this case the `total` will be undefined
- * until the total stream size is known.
- * @note This event will not be emitted in Node.js 0.8.x.
- * @param progress [map] An object containing the `loaded` and `total` bytes
- * of the request and the `key` of the S3 object. Note that `total` may be undefined until the payload
- * size is known.
- * @context (see AWS.Request~send)
- */
-AWS.S3.ManagedUpload = AWS.util.inherit({
- /**
- * Creates a managed upload object with a set of configuration options.
- *
- * @note A "Body" parameter is required to be set prior to calling {send}.
- * @note In Node.js, sending "Body" as {https://nodejs.org/dist/latest/docs/api/stream.html#stream_object_mode object-mode stream}
- * may result in upload hangs. Using buffer stream is preferable.
- * @option options params [map] a map of parameters to pass to the upload
- * requests. The "Body" parameter is required to be specified either on
- * the service or in the params option.
- * @note ContentMD5 should not be provided when using the managed upload object.
- * Instead, setting "computeChecksums" to true will enable automatic ContentMD5 generation
- * by the managed upload object.
- * @option options queueSize [Number] (4) the size of the concurrent queue
- * manager to upload parts in parallel. Set to 1 for synchronous uploading
- * of parts. Note that the uploader will buffer at most queueSize * partSize
- * bytes into memory at any given time.
- * @option options partSize [Number] (5mb) the size in bytes for each
- * individual part to be uploaded. Adjust the part size to ensure the number
- * of parts does not exceed {maxTotalParts}. See {minPartSize} for the
- * minimum allowed part size.
- * @option options leavePartsOnError [Boolean] (false) whether to abort the
- * multipart upload if an error occurs. Set to true if you want to handle
- * failures manually.
- * @option options service [AWS.S3] an optional S3 service object to use for
- * requests. This object might have bound parameters used by the uploader.
- * @option options tags [Array